diff --git a/.gitignore b/.gitignore index 096f357..fa97304 100644 --- a/.gitignore +++ b/.gitignore @@ -2,12 +2,15 @@ !/src !/src/**/* - /src/assets/js/ts.js +!/doc +!/doc/**/* + !/tests !/tests/**/* + !/.github !/.github/**/* diff --git a/build.js b/build.js index 49d5116..549ebf4 100644 --- a/build.js +++ b/build.js @@ -118,7 +118,7 @@ The following is a minified version of the unmodified Typescript 5.2 } async function compileJava(conf) { try { - await fs.writeFile('Metadata.java', (await fs.readFile('src/me/topchetoeu/jscript/Metadata.java')).toString() + await fs.writeFile('Metadata.java', (await fs.readFile('src/me/topchetoeu/jscript/common/Metadata.java')).toString() .replace('${VERSION}', conf.version) .replace('${NAME}', conf.name) .replace('${AUTHOR}', conf.author) @@ -136,11 +136,22 @@ async function compileJava(conf) { await fs.rm('Metadata.java'); } } +async function jar(conf, project, mainClass) { + const args = [ + 'jar', '-c', + '-f', `dst/${project}-v${conf.version}.jar`, + ]; + if (mainClass) args.push('-e', mainClass); + args.push('-C', 'dst/classes', project.replaceAll('.', '/')); + console.log(args.join(' ')); + + await run(true, ...args); +} (async () => { try { if (argv[2] === 'init-ts') { - await downloadTypescript('src/assets/js/ts.js'); + await downloadTypescript('src/me/topchetoeu/jscript/utils/assets/js/ts.js'); } else { const conf = { @@ -156,12 +167,21 @@ async function compileJava(conf) { try { await fs.rm('dst', { recursive: true }); } catch {} await Promise.all([ - downloadTypescript('dst/classes/assets/js/ts.js'), - copy('src', 'dst/classes', v => !v.endsWith('.java')), + (async () => { + await copy('src', 'dst/classes', v => !v.endsWith('.java')); + // await downloadTypescript('dst/classes/me/topchetoeu/jscript/utils/assets/js/ts.js'); + })(), compileJava(conf), ]); - await run(true, 'jar', '-c', '-f', 'dst/jscript.jar', '-e', 'me.topchetoeu.jscript.Main', '-C', 'dst/classes', '.'); + await Promise.all([ + jar(conf, 'me.topchetoeu.jscript.common'), + jar(conf, 'me.topchetoeu.jscript.core'), + jar(conf, 'me.topchetoeu.jscript.lib'), + jar(conf, 'me.topchetoeu.jscript.utils'), + jar(conf, 'me.topchetoeu.jscript', 'me.topchetoeu.jscript.utils.JScriptRepl'), + ]); + console.log('Done!'); } } diff --git a/src/me/topchetoeu/jscript/Buffer.java b/src/me/topchetoeu/jscript/common/Buffer.java similarity index 93% rename from src/me/topchetoeu/jscript/Buffer.java rename to src/me/topchetoeu/jscript/common/Buffer.java index 9fd6b8b..6ff4057 100644 --- a/src/me/topchetoeu/jscript/Buffer.java +++ b/src/me/topchetoeu/jscript/common/Buffer.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript; +package me.topchetoeu.jscript.common; public class Buffer { private byte[] data; diff --git a/src/me/topchetoeu/jscript/Filename.java b/src/me/topchetoeu/jscript/common/Filename.java similarity index 97% rename from src/me/topchetoeu/jscript/Filename.java rename to src/me/topchetoeu/jscript/common/Filename.java index 36e6a89..d64f763 100644 --- a/src/me/topchetoeu/jscript/Filename.java +++ b/src/me/topchetoeu/jscript/common/Filename.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript; +package me.topchetoeu.jscript.common; import java.io.File; import java.nio.file.Path; diff --git a/src/me/topchetoeu/jscript/Location.java b/src/me/topchetoeu/jscript/common/Location.java similarity index 95% rename from src/me/topchetoeu/jscript/Location.java rename to src/me/topchetoeu/jscript/common/Location.java index 98d0e16..1a65fc2 100644 --- a/src/me/topchetoeu/jscript/Location.java +++ b/src/me/topchetoeu/jscript/common/Location.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript; +package me.topchetoeu.jscript.common; public class Location implements Comparable { public static final Location INTERNAL = new Location(0, 0, new Filename("jscript", "native")); diff --git a/src/me/topchetoeu/jscript/Metadata.java b/src/me/topchetoeu/jscript/common/Metadata.java similarity index 93% rename from src/me/topchetoeu/jscript/Metadata.java rename to src/me/topchetoeu/jscript/common/Metadata.java index 05eefaf..91c6435 100644 --- a/src/me/topchetoeu/jscript/Metadata.java +++ b/src/me/topchetoeu/jscript/common/Metadata.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript; +package me.topchetoeu.jscript.common; public class Metadata { private static final String VERSION = "${VERSION}"; diff --git a/src/me/topchetoeu/jscript/Reading.java b/src/me/topchetoeu/jscript/common/Reading.java similarity index 96% rename from src/me/topchetoeu/jscript/Reading.java rename to src/me/topchetoeu/jscript/common/Reading.java index 7a26cc5..5242e46 100644 --- a/src/me/topchetoeu/jscript/Reading.java +++ b/src/me/topchetoeu/jscript/common/Reading.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript; +package me.topchetoeu.jscript.common; import java.io.BufferedReader; import java.io.IOException; diff --git a/src/me/topchetoeu/jscript/ResultRunnable.java b/src/me/topchetoeu/jscript/common/ResultRunnable.java similarity index 58% rename from src/me/topchetoeu/jscript/ResultRunnable.java rename to src/me/topchetoeu/jscript/common/ResultRunnable.java index 7fa559d..7bfc608 100644 --- a/src/me/topchetoeu/jscript/ResultRunnable.java +++ b/src/me/topchetoeu/jscript/common/ResultRunnable.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript; +package me.topchetoeu.jscript.common; public interface ResultRunnable { T run(); diff --git a/src/me/topchetoeu/jscript/events/Awaitable.java b/src/me/topchetoeu/jscript/common/events/Awaitable.java similarity index 93% rename from src/me/topchetoeu/jscript/events/Awaitable.java rename to src/me/topchetoeu/jscript/common/events/Awaitable.java index f72b020..fa2ea05 100644 --- a/src/me/topchetoeu/jscript/events/Awaitable.java +++ b/src/me/topchetoeu/jscript/common/events/Awaitable.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.events; +package me.topchetoeu.jscript.common.events; public interface Awaitable { public static interface ResultHandler { diff --git a/src/me/topchetoeu/jscript/events/DataNotifier.java b/src/me/topchetoeu/jscript/common/events/DataNotifier.java similarity index 93% rename from src/me/topchetoeu/jscript/events/DataNotifier.java rename to src/me/topchetoeu/jscript/common/events/DataNotifier.java index d671ba5..306caf2 100644 --- a/src/me/topchetoeu/jscript/events/DataNotifier.java +++ b/src/me/topchetoeu/jscript/common/events/DataNotifier.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.events; +package me.topchetoeu.jscript.common.events; public class DataNotifier implements Awaitable { private Notifier notifier = new Notifier(); diff --git a/src/me/topchetoeu/jscript/events/Notifier.java b/src/me/topchetoeu/jscript/common/events/Notifier.java similarity index 75% rename from src/me/topchetoeu/jscript/events/Notifier.java rename to src/me/topchetoeu/jscript/common/events/Notifier.java index 26b2bc9..07cfe63 100644 --- a/src/me/topchetoeu/jscript/events/Notifier.java +++ b/src/me/topchetoeu/jscript/common/events/Notifier.java @@ -1,6 +1,6 @@ -package me.topchetoeu.jscript.events; +package me.topchetoeu.jscript.common.events; -import me.topchetoeu.jscript.exceptions.InterruptException; +import me.topchetoeu.jscript.core.exceptions.InterruptException; public class Notifier { private boolean ok = false; diff --git a/src/me/topchetoeu/jscript/json/JSON.java b/src/me/topchetoeu/jscript/common/json/JSON.java similarity index 91% rename from src/me/topchetoeu/jscript/json/JSON.java rename to src/me/topchetoeu/jscript/common/json/JSON.java index 5f9c685..5b6b083 100644 --- a/src/me/topchetoeu/jscript/json/JSON.java +++ b/src/me/topchetoeu/jscript/common/json/JSON.java @@ -1,20 +1,20 @@ -package me.topchetoeu.jscript.json; +package me.topchetoeu.jscript.common.json; import java.util.HashSet; import java.util.List; import java.util.stream.Collectors; -import me.topchetoeu.jscript.Filename; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.exceptions.SyntaxException; -import me.topchetoeu.jscript.parsing.Operator; -import me.topchetoeu.jscript.parsing.ParseRes; -import me.topchetoeu.jscript.parsing.Parsing; -import me.topchetoeu.jscript.parsing.Token; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.core.exceptions.SyntaxException; +import me.topchetoeu.jscript.core.parsing.Operator; +import me.topchetoeu.jscript.core.parsing.ParseRes; +import me.topchetoeu.jscript.core.parsing.Parsing; +import me.topchetoeu.jscript.core.parsing.Token; public class JSON { public static Object toJs(JSONElement val) { @@ -58,8 +58,8 @@ public class JSON { var res = new JSONMap(); - for (var el : ((ObjectValue)val).keys(false)) { - var jsonEl = fromJs(ctx, ((ObjectValue)val).getMember(ctx, el), prev); + for (var el : Values.getMembers(ctx, val, false, false)) { + var jsonEl = fromJs(ctx, Values.getMember(ctx, val, el), prev); if (jsonEl == null) continue; if (el instanceof String || el instanceof Number) res.put(el.toString(), jsonEl); } diff --git a/src/me/topchetoeu/jscript/json/JSONElement.java b/src/me/topchetoeu/jscript/common/json/JSONElement.java similarity index 98% rename from src/me/topchetoeu/jscript/json/JSONElement.java rename to src/me/topchetoeu/jscript/common/json/JSONElement.java index f2bcc38..0b3af33 100644 --- a/src/me/topchetoeu/jscript/json/JSONElement.java +++ b/src/me/topchetoeu/jscript/common/json/JSONElement.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.json; +package me.topchetoeu.jscript.common.json; public class JSONElement { public static enum Type { diff --git a/src/me/topchetoeu/jscript/json/JSONList.java b/src/me/topchetoeu/jscript/common/json/JSONList.java similarity index 96% rename from src/me/topchetoeu/jscript/json/JSONList.java rename to src/me/topchetoeu/jscript/common/json/JSONList.java index 6acca3d..e2b4e63 100644 --- a/src/me/topchetoeu/jscript/json/JSONList.java +++ b/src/me/topchetoeu/jscript/common/json/JSONList.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.json; +package me.topchetoeu.jscript.common.json; import java.util.ArrayList; import java.util.Collection; diff --git a/src/me/topchetoeu/jscript/json/JSONMap.java b/src/me/topchetoeu/jscript/common/json/JSONMap.java similarity index 99% rename from src/me/topchetoeu/jscript/json/JSONMap.java rename to src/me/topchetoeu/jscript/common/json/JSONMap.java index c5e00f2..ac0cb49 100644 --- a/src/me/topchetoeu/jscript/json/JSONMap.java +++ b/src/me/topchetoeu/jscript/common/json/JSONMap.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.json; +package me.topchetoeu.jscript.common.json; import java.util.Collection; import java.util.HashMap; diff --git a/src/me/topchetoeu/jscript/compilation/AssignableStatement.java b/src/me/topchetoeu/jscript/core/compilation/AssignableStatement.java similarity index 58% rename from src/me/topchetoeu/jscript/compilation/AssignableStatement.java rename to src/me/topchetoeu/jscript/core/compilation/AssignableStatement.java index 4c3dfdb..8e8c7c3 100644 --- a/src/me/topchetoeu/jscript/compilation/AssignableStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/AssignableStatement.java @@ -1,7 +1,7 @@ -package me.topchetoeu.jscript.compilation; +package me.topchetoeu.jscript.core.compilation; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.engine.Operation; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.engine.Operation; public abstract class AssignableStatement extends Statement { public abstract Statement toAssign(Statement val, Operation operation); diff --git a/src/me/topchetoeu/jscript/compilation/CalculateResult.java b/src/me/topchetoeu/jscript/core/compilation/CalculateResult.java similarity index 79% rename from src/me/topchetoeu/jscript/compilation/CalculateResult.java rename to src/me/topchetoeu/jscript/core/compilation/CalculateResult.java index 08b2d47..696dbc9 100644 --- a/src/me/topchetoeu/jscript/compilation/CalculateResult.java +++ b/src/me/topchetoeu/jscript/core/compilation/CalculateResult.java @@ -1,6 +1,6 @@ -package me.topchetoeu.jscript.compilation; +package me.topchetoeu.jscript.core.compilation; -import me.topchetoeu.jscript.engine.values.Values; +import me.topchetoeu.jscript.core.engine.values.Values; public final class CalculateResult { public final boolean exists; diff --git a/src/me/topchetoeu/jscript/compilation/CompileTarget.java b/src/me/topchetoeu/jscript/core/compilation/CompileTarget.java similarity index 84% rename from src/me/topchetoeu/jscript/compilation/CompileTarget.java rename to src/me/topchetoeu/jscript/core/compilation/CompileTarget.java index da3166b..61d40c6 100644 --- a/src/me/topchetoeu/jscript/compilation/CompileTarget.java +++ b/src/me/topchetoeu/jscript/core/compilation/CompileTarget.java @@ -1,14 +1,14 @@ -package me.topchetoeu.jscript.compilation; +package me.topchetoeu.jscript.core.compilation; import java.util.HashMap; import java.util.Map; import java.util.TreeSet; import java.util.Vector; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.engine.Environment; -import me.topchetoeu.jscript.engine.values.CodeFunction; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.engine.Environment; +import me.topchetoeu.jscript.core.engine.values.CodeFunction; public class CompileTarget { public final Vector target = new Vector<>(); diff --git a/src/me/topchetoeu/jscript/compilation/CompoundStatement.java b/src/me/topchetoeu/jscript/core/compilation/CompoundStatement.java similarity index 82% rename from src/me/topchetoeu/jscript/compilation/CompoundStatement.java rename to src/me/topchetoeu/jscript/core/compilation/CompoundStatement.java index 010ece3..f8390c6 100644 --- a/src/me/topchetoeu/jscript/compilation/CompoundStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/CompoundStatement.java @@ -1,12 +1,12 @@ -package me.topchetoeu.jscript.compilation; +package me.topchetoeu.jscript.core.compilation; import java.util.List; import java.util.Vector; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.compilation.values.FunctionStatement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.compilation.values.FunctionStatement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class CompoundStatement extends Statement { public final Statement[] statements; diff --git a/src/me/topchetoeu/jscript/compilation/FunctionBody.java b/src/me/topchetoeu/jscript/core/compilation/FunctionBody.java similarity index 95% rename from src/me/topchetoeu/jscript/compilation/FunctionBody.java rename to src/me/topchetoeu/jscript/core/compilation/FunctionBody.java index 7f78066..8e5aa4c 100644 --- a/src/me/topchetoeu/jscript/compilation/FunctionBody.java +++ b/src/me/topchetoeu/jscript/core/compilation/FunctionBody.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.compilation; +package me.topchetoeu.jscript.core.compilation; public class FunctionBody { public final Instruction[] instructions; diff --git a/src/me/topchetoeu/jscript/compilation/Instruction.java b/src/me/topchetoeu/jscript/core/compilation/Instruction.java similarity index 94% rename from src/me/topchetoeu/jscript/compilation/Instruction.java rename to src/me/topchetoeu/jscript/core/compilation/Instruction.java index e589f4f..7eff032 100644 --- a/src/me/topchetoeu/jscript/compilation/Instruction.java +++ b/src/me/topchetoeu/jscript/core/compilation/Instruction.java @@ -1,8 +1,8 @@ -package me.topchetoeu.jscript.compilation; +package me.topchetoeu.jscript.core.compilation; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.engine.Operation; -import me.topchetoeu.jscript.exceptions.SyntaxException; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.engine.Operation; +import me.topchetoeu.jscript.core.exceptions.SyntaxException; public class Instruction { public static enum Type { diff --git a/src/me/topchetoeu/jscript/compilation/Statement.java b/src/me/topchetoeu/jscript/core/compilation/Statement.java similarity index 75% rename from src/me/topchetoeu/jscript/compilation/Statement.java rename to src/me/topchetoeu/jscript/core/compilation/Statement.java index 3a6de82..7bebffc 100644 --- a/src/me/topchetoeu/jscript/compilation/Statement.java +++ b/src/me/topchetoeu/jscript/core/compilation/Statement.java @@ -1,8 +1,8 @@ -package me.topchetoeu.jscript.compilation; +package me.topchetoeu.jscript.core.compilation; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public abstract class Statement { private Location _loc; diff --git a/src/me/topchetoeu/jscript/compilation/ThrowSyntaxStatement.java b/src/me/topchetoeu/jscript/core/compilation/ThrowSyntaxStatement.java similarity index 65% rename from src/me/topchetoeu/jscript/compilation/ThrowSyntaxStatement.java rename to src/me/topchetoeu/jscript/core/compilation/ThrowSyntaxStatement.java index 400f5de..406b286 100644 --- a/src/me/topchetoeu/jscript/compilation/ThrowSyntaxStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/ThrowSyntaxStatement.java @@ -1,7 +1,7 @@ -package me.topchetoeu.jscript.compilation; +package me.topchetoeu.jscript.core.compilation; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; -import me.topchetoeu.jscript.exceptions.SyntaxException; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.core.exceptions.SyntaxException; public class ThrowSyntaxStatement extends Statement { public final String name; diff --git a/src/me/topchetoeu/jscript/compilation/VariableDeclareStatement.java b/src/me/topchetoeu/jscript/core/compilation/VariableDeclareStatement.java similarity index 82% rename from src/me/topchetoeu/jscript/compilation/VariableDeclareStatement.java rename to src/me/topchetoeu/jscript/core/compilation/VariableDeclareStatement.java index 294d8b1..72742b9 100644 --- a/src/me/topchetoeu/jscript/compilation/VariableDeclareStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/VariableDeclareStatement.java @@ -1,11 +1,11 @@ -package me.topchetoeu.jscript.compilation; +package me.topchetoeu.jscript.core.compilation; import java.util.List; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.compilation.values.FunctionStatement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.compilation.values.FunctionStatement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class VariableDeclareStatement extends Statement { public static class Pair { diff --git a/src/me/topchetoeu/jscript/compilation/control/BreakStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/BreakStatement.java similarity index 55% rename from src/me/topchetoeu/jscript/compilation/control/BreakStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/BreakStatement.java index 4c6c4c2..2d16aa8 100644 --- a/src/me/topchetoeu/jscript/compilation/control/BreakStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/BreakStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class BreakStatement extends Statement { public final String label; diff --git a/src/me/topchetoeu/jscript/compilation/control/ContinueStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/ContinueStatement.java similarity index 56% rename from src/me/topchetoeu/jscript/compilation/control/ContinueStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/ContinueStatement.java index 0269c09..31afc53 100644 --- a/src/me/topchetoeu/jscript/compilation/control/ContinueStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/ContinueStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class ContinueStatement extends Statement { public final String label; diff --git a/src/me/topchetoeu/jscript/compilation/control/DebugStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/DebugStatement.java similarity index 50% rename from src/me/topchetoeu/jscript/compilation/control/DebugStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/DebugStatement.java index 6d908a8..ad4d785 100644 --- a/src/me/topchetoeu/jscript/compilation/control/DebugStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/DebugStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class DebugStatement extends Statement { @Override diff --git a/src/me/topchetoeu/jscript/compilation/control/DeleteStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/DeleteStatement.java similarity index 63% rename from src/me/topchetoeu/jscript/compilation/control/DeleteStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/DeleteStatement.java index cd7e97b..116c167 100644 --- a/src/me/topchetoeu/jscript/compilation/control/DeleteStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/DeleteStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class DeleteStatement extends Statement { public final Statement key; diff --git a/src/me/topchetoeu/jscript/compilation/control/DoWhileStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/DoWhileStatement.java similarity index 69% rename from src/me/topchetoeu/jscript/compilation/control/DoWhileStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/DoWhileStatement.java index e4b1a32..1cd76c6 100644 --- a/src/me/topchetoeu/jscript/compilation/control/DoWhileStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/DoWhileStatement.java @@ -1,11 +1,11 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class DoWhileStatement extends Statement { public final Statement condition, body; diff --git a/src/me/topchetoeu/jscript/compilation/control/ForInStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/ForInStatement.java similarity index 83% rename from src/me/topchetoeu/jscript/compilation/control/ForInStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/ForInStatement.java index 4488bfc..80bdd82 100644 --- a/src/me/topchetoeu/jscript/compilation/control/ForInStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/ForInStatement.java @@ -1,12 +1,12 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.engine.Operation; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.engine.Operation; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class ForInStatement extends Statement { public final String varName; diff --git a/src/me/topchetoeu/jscript/compilation/control/ForStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/ForStatement.java similarity index 78% rename from src/me/topchetoeu/jscript/compilation/control/ForStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/ForStatement.java index 24eca5b..56981c3 100644 --- a/src/me/topchetoeu/jscript/compilation/control/ForStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/ForStatement.java @@ -1,11 +1,11 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class ForStatement extends Statement { public final Statement declaration, assignment, condition, body; diff --git a/src/me/topchetoeu/jscript/compilation/control/IfStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/IfStatement.java similarity index 79% rename from src/me/topchetoeu/jscript/compilation/control/IfStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/IfStatement.java index 6aa3974..b5342c6 100644 --- a/src/me/topchetoeu/jscript/compilation/control/IfStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/IfStatement.java @@ -1,11 +1,11 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class IfStatement extends Statement { public final Statement condition, body, elseBody; diff --git a/src/me/topchetoeu/jscript/compilation/control/ReturnStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/ReturnStatement.java similarity index 58% rename from src/me/topchetoeu/jscript/compilation/control/ReturnStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/ReturnStatement.java index 4b78ae7..d47e544 100644 --- a/src/me/topchetoeu/jscript/compilation/control/ReturnStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/ReturnStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class ReturnStatement extends Statement { public final Statement value; diff --git a/src/me/topchetoeu/jscript/compilation/control/SwitchStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/SwitchStatement.java similarity index 83% rename from src/me/topchetoeu/jscript/compilation/control/SwitchStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/SwitchStatement.java index fb665d3..682132a 100644 --- a/src/me/topchetoeu/jscript/compilation/control/SwitchStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/SwitchStatement.java @@ -1,15 +1,15 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; import java.util.HashMap; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.compilation.Instruction.Type; -import me.topchetoeu.jscript.engine.Operation; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.compilation.Instruction.Type; +import me.topchetoeu.jscript.core.engine.Operation; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class SwitchStatement extends Statement { public static class SwitchCase { diff --git a/src/me/topchetoeu/jscript/compilation/control/ThrowStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/ThrowStatement.java similarity index 54% rename from src/me/topchetoeu/jscript/compilation/control/ThrowStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/ThrowStatement.java index 68ec881..5a70b47 100644 --- a/src/me/topchetoeu/jscript/compilation/control/ThrowStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/ThrowStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class ThrowStatement extends Statement { public final Statement value; diff --git a/src/me/topchetoeu/jscript/compilation/control/TryStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/TryStatement.java similarity index 77% rename from src/me/topchetoeu/jscript/compilation/control/TryStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/TryStatement.java index 32d1350..f6fe1b4 100644 --- a/src/me/topchetoeu/jscript/compilation/control/TryStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/TryStatement.java @@ -1,13 +1,13 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.engine.scope.GlobalScope; -import me.topchetoeu.jscript.engine.scope.LocalScopeRecord; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.engine.scope.GlobalScope; +import me.topchetoeu.jscript.core.engine.scope.LocalScopeRecord; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class TryStatement extends Statement { public final Statement tryBody; diff --git a/src/me/topchetoeu/jscript/compilation/control/WhileStatement.java b/src/me/topchetoeu/jscript/core/compilation/control/WhileStatement.java similarity index 78% rename from src/me/topchetoeu/jscript/compilation/control/WhileStatement.java rename to src/me/topchetoeu/jscript/core/compilation/control/WhileStatement.java index 19c04cc..2d2e37d 100644 --- a/src/me/topchetoeu/jscript/compilation/control/WhileStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/control/WhileStatement.java @@ -1,12 +1,12 @@ -package me.topchetoeu.jscript.compilation.control; +package me.topchetoeu.jscript.core.compilation.control; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.compilation.Instruction.Type; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.compilation.Instruction.Type; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class WhileStatement extends Statement { public final Statement condition, body; diff --git a/src/me/topchetoeu/jscript/compilation/values/ArrayStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/ArrayStatement.java similarity index 74% rename from src/me/topchetoeu/jscript/compilation/values/ArrayStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/ArrayStatement.java index 2654644..9b544bd 100644 --- a/src/me/topchetoeu/jscript/compilation/values/ArrayStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/ArrayStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class ArrayStatement extends Statement { public final Statement[] statements; diff --git a/src/me/topchetoeu/jscript/compilation/values/CallStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/CallStatement.java similarity index 78% rename from src/me/topchetoeu/jscript/compilation/values/CallStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/CallStatement.java index e8066ce..f1927f3 100644 --- a/src/me/topchetoeu/jscript/compilation/values/CallStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/CallStatement.java @@ -1,11 +1,11 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class CallStatement extends Statement { public final Statement func; diff --git a/src/me/topchetoeu/jscript/compilation/values/ChangeStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/ChangeStatement.java similarity index 65% rename from src/me/topchetoeu/jscript/compilation/values/ChangeStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/ChangeStatement.java index 31282a7..81ee374 100644 --- a/src/me/topchetoeu/jscript/compilation/values/ChangeStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/ChangeStatement.java @@ -1,12 +1,12 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.AssignableStatement; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.Operation; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.AssignableStatement; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.Operation; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class ChangeStatement extends Statement { public final AssignableStatement value; diff --git a/src/me/topchetoeu/jscript/compilation/values/ConstantStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/ConstantStatement.java similarity index 55% rename from src/me/topchetoeu/jscript/compilation/values/ConstantStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/ConstantStatement.java index 7d4923b..66fd073 100644 --- a/src/me/topchetoeu/jscript/compilation/values/ConstantStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/ConstantStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class ConstantStatement extends Statement { public final Object value; diff --git a/src/me/topchetoeu/jscript/compilation/values/DiscardStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/DiscardStatement.java similarity index 58% rename from src/me/topchetoeu/jscript/compilation/values/DiscardStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/DiscardStatement.java index cf61cd1..df62a71 100644 --- a/src/me/topchetoeu/jscript/compilation/values/DiscardStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/DiscardStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class DiscardStatement extends Statement { public final Statement value; diff --git a/src/me/topchetoeu/jscript/compilation/values/FunctionStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/FunctionStatement.java similarity index 88% rename from src/me/topchetoeu/jscript/compilation/values/FunctionStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/FunctionStatement.java index aafb3eb..dae7cc6 100644 --- a/src/me/topchetoeu/jscript/compilation/values/FunctionStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/FunctionStatement.java @@ -1,17 +1,17 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; import java.util.Random; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.CompoundStatement; -import me.topchetoeu.jscript.compilation.FunctionBody; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.compilation.Instruction.Type; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; -import me.topchetoeu.jscript.exceptions.SyntaxException; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.CompoundStatement; +import me.topchetoeu.jscript.core.compilation.FunctionBody; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.compilation.Instruction.Type; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.core.exceptions.SyntaxException; public class FunctionStatement extends Statement { public final CompoundStatement body; diff --git a/src/me/topchetoeu/jscript/compilation/values/GlobalThisStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/GlobalThisStatement.java similarity index 50% rename from src/me/topchetoeu/jscript/compilation/values/GlobalThisStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/GlobalThisStatement.java index d7550ad..4241479 100644 --- a/src/me/topchetoeu/jscript/compilation/values/GlobalThisStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/GlobalThisStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class GlobalThisStatement extends Statement { @Override public boolean pure() { return true; } diff --git a/src/me/topchetoeu/jscript/compilation/values/IndexAssignStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/IndexAssignStatement.java similarity index 74% rename from src/me/topchetoeu/jscript/compilation/values/IndexAssignStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/IndexAssignStatement.java index 77ea430..15f6a3d 100644 --- a/src/me/topchetoeu/jscript/compilation/values/IndexAssignStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/IndexAssignStatement.java @@ -1,12 +1,12 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.engine.Operation; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.engine.Operation; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class IndexAssignStatement extends Statement { public final Statement object; diff --git a/src/me/topchetoeu/jscript/compilation/values/IndexStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/IndexStatement.java similarity index 72% rename from src/me/topchetoeu/jscript/compilation/values/IndexStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/IndexStatement.java index ca966ee..8d38f1f 100644 --- a/src/me/topchetoeu/jscript/compilation/values/IndexStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/IndexStatement.java @@ -1,13 +1,13 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.AssignableStatement; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.Instruction.BreakpointType; -import me.topchetoeu.jscript.engine.Operation; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.AssignableStatement; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.compilation.Instruction.BreakpointType; +import me.topchetoeu.jscript.core.engine.Operation; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class IndexStatement extends AssignableStatement { public final Statement object; diff --git a/src/me/topchetoeu/jscript/compilation/values/LazyAndStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/LazyAndStatement.java similarity index 73% rename from src/me/topchetoeu/jscript/compilation/values/LazyAndStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/LazyAndStatement.java index 17fdc07..d5d83a2 100644 --- a/src/me/topchetoeu/jscript/compilation/values/LazyAndStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/LazyAndStatement.java @@ -1,11 +1,11 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; -import me.topchetoeu.jscript.engine.values.Values; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.core.engine.values.Values; public class LazyAndStatement extends Statement { public final Statement first, second; diff --git a/src/me/topchetoeu/jscript/compilation/values/LazyOrStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/LazyOrStatement.java similarity index 73% rename from src/me/topchetoeu/jscript/compilation/values/LazyOrStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/LazyOrStatement.java index ca3b569..42f3aa9 100644 --- a/src/me/topchetoeu/jscript/compilation/values/LazyOrStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/LazyOrStatement.java @@ -1,11 +1,11 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; -import me.topchetoeu.jscript.engine.values.Values; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.core.engine.values.Values; public class LazyOrStatement extends Statement { public final Statement first, second; diff --git a/src/me/topchetoeu/jscript/compilation/values/ObjectStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/ObjectStatement.java similarity index 85% rename from src/me/topchetoeu/jscript/compilation/values/ObjectStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/ObjectStatement.java index 48d4ab7..6400897 100644 --- a/src/me/topchetoeu/jscript/compilation/values/ObjectStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/ObjectStatement.java @@ -1,13 +1,13 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; import java.util.ArrayList; import java.util.Map; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class ObjectStatement extends Statement { public final Map map; diff --git a/src/me/topchetoeu/jscript/compilation/values/OperationStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/OperationStatement.java similarity index 66% rename from src/me/topchetoeu/jscript/compilation/values/OperationStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/OperationStatement.java index 47c1899..4a42755 100644 --- a/src/me/topchetoeu/jscript/compilation/values/OperationStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/OperationStatement.java @@ -1,11 +1,11 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.Operation; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.Operation; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class OperationStatement extends Statement { public final Statement[] args; diff --git a/src/me/topchetoeu/jscript/compilation/values/RegexStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/RegexStatement.java similarity index 64% rename from src/me/topchetoeu/jscript/compilation/values/RegexStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/RegexStatement.java index 00d5c54..b3bd04b 100644 --- a/src/me/topchetoeu/jscript/compilation/values/RegexStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/RegexStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class RegexStatement extends Statement { public final String pattern, flags; diff --git a/src/me/topchetoeu/jscript/compilation/values/TypeofStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/TypeofStatement.java similarity index 72% rename from src/me/topchetoeu/jscript/compilation/values/TypeofStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/TypeofStatement.java index f610c99..4cd33c0 100644 --- a/src/me/topchetoeu/jscript/compilation/values/TypeofStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/TypeofStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class TypeofStatement extends Statement { public final Statement value; diff --git a/src/me/topchetoeu/jscript/compilation/values/VariableAssignStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/VariableAssignStatement.java similarity index 72% rename from src/me/topchetoeu/jscript/compilation/values/VariableAssignStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/VariableAssignStatement.java index b0f39c7..8208b49 100644 --- a/src/me/topchetoeu/jscript/compilation/values/VariableAssignStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/VariableAssignStatement.java @@ -1,11 +1,11 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.engine.Operation; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.Operation; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class VariableAssignStatement extends Statement { public final String name; diff --git a/src/me/topchetoeu/jscript/compilation/values/VariableIndexStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/VariableIndexStatement.java similarity index 55% rename from src/me/topchetoeu/jscript/compilation/values/VariableIndexStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/VariableIndexStatement.java index a1ac426..739df12 100644 --- a/src/me/topchetoeu/jscript/compilation/values/VariableIndexStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/VariableIndexStatement.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class VariableIndexStatement extends Statement { public final int index; diff --git a/src/me/topchetoeu/jscript/compilation/values/VariableStatement.java b/src/me/topchetoeu/jscript/core/compilation/values/VariableStatement.java similarity index 59% rename from src/me/topchetoeu/jscript/compilation/values/VariableStatement.java rename to src/me/topchetoeu/jscript/core/compilation/values/VariableStatement.java index 070797e..7b258d2 100644 --- a/src/me/topchetoeu/jscript/compilation/values/VariableStatement.java +++ b/src/me/topchetoeu/jscript/core/compilation/values/VariableStatement.java @@ -1,12 +1,12 @@ -package me.topchetoeu.jscript.compilation.values; +package me.topchetoeu.jscript.core.compilation.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.AssignableStatement; -import me.topchetoeu.jscript.compilation.CompileTarget; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Statement; -import me.topchetoeu.jscript.engine.Operation; -import me.topchetoeu.jscript.engine.scope.ScopeRecord; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.AssignableStatement; +import me.topchetoeu.jscript.core.compilation.CompileTarget; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Statement; +import me.topchetoeu.jscript.core.engine.Operation; +import me.topchetoeu.jscript.core.engine.scope.ScopeRecord; public class VariableStatement extends AssignableStatement { public final String name; diff --git a/src/me/topchetoeu/jscript/engine/Context.java b/src/me/topchetoeu/jscript/core/engine/Context.java similarity index 88% rename from src/me/topchetoeu/jscript/engine/Context.java rename to src/me/topchetoeu/jscript/core/engine/Context.java index 4e440e4..59604d3 100644 --- a/src/me/topchetoeu/jscript/engine/Context.java +++ b/src/me/topchetoeu/jscript/core/engine/Context.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine; +package me.topchetoeu.jscript.core.engine; import java.util.ArrayList; import java.util.Arrays; @@ -9,19 +9,21 @@ import java.util.stream.Collectors; import java.util.stream.Stream; import java.util.stream.StreamSupport; -import me.topchetoeu.jscript.Filename; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.engine.debug.DebugContext; -import me.topchetoeu.jscript.engine.frame.CodeFrame; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.Symbol; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.engine.debug.DebugContext; +import me.topchetoeu.jscript.core.engine.frame.CodeFrame; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.Symbol; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; import me.topchetoeu.jscript.lib.EnvironmentLib; -import me.topchetoeu.jscript.mapping.SourceMap; +import me.topchetoeu.jscript.utils.mapping.SourceMap; public class Context implements Extensions { + public static final Context NULL = new Context(null); + public final Context parent; public final Environment environment; public final CodeFrame frame; diff --git a/src/me/topchetoeu/jscript/engine/Engine.java b/src/me/topchetoeu/jscript/core/engine/Engine.java similarity index 81% rename from src/me/topchetoeu/jscript/engine/Engine.java rename to src/me/topchetoeu/jscript/core/engine/Engine.java index 847609d..a5250aa 100644 --- a/src/me/topchetoeu/jscript/engine/Engine.java +++ b/src/me/topchetoeu/jscript/core/engine/Engine.java @@ -1,12 +1,12 @@ -package me.topchetoeu.jscript.engine; +package me.topchetoeu.jscript.core.engine; import java.util.HashMap; -import me.topchetoeu.jscript.Filename; -import me.topchetoeu.jscript.compilation.FunctionBody; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.Symbol; -import me.topchetoeu.jscript.events.Awaitable; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.common.events.Awaitable; +import me.topchetoeu.jscript.core.compilation.FunctionBody; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.Symbol; public class Engine extends EventLoop implements Extensions { public static final HashMap functions = new HashMap<>(); diff --git a/src/me/topchetoeu/jscript/engine/Environment.java b/src/me/topchetoeu/jscript/core/engine/Environment.java similarity index 80% rename from src/me/topchetoeu/jscript/engine/Environment.java rename to src/me/topchetoeu/jscript/core/engine/Environment.java index db7252c..894ae12 100644 --- a/src/me/topchetoeu/jscript/engine/Environment.java +++ b/src/me/topchetoeu/jscript/core/engine/Environment.java @@ -1,21 +1,21 @@ -package me.topchetoeu.jscript.engine; +package me.topchetoeu.jscript.core.engine; import java.util.HashMap; import java.util.stream.Collectors; -import me.topchetoeu.jscript.Filename; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.engine.debug.DebugContext; -import me.topchetoeu.jscript.engine.scope.GlobalScope; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.NativeFunction; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Symbol; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.interop.NativeWrapperProvider; -import me.topchetoeu.jscript.parsing.Parsing; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.engine.debug.DebugContext; +import me.topchetoeu.jscript.core.engine.scope.GlobalScope; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.NativeFunction; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Symbol; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.core.parsing.Parsing; +import me.topchetoeu.jscript.utils.interop.NativeWrapperProvider; @SuppressWarnings("unchecked") public class Environment implements Extensions { @@ -45,7 +45,7 @@ public class Environment implements Extensions { private HashMap data = new HashMap<>(); public GlobalScope global; - public WrappersProvider wrappers; + public WrapperProvider wrappers; @Override public void add(Symbol key, T obj) { data.put(key, obj); @@ -71,7 +71,7 @@ public class Environment implements Extensions { return ext.init(COMPILE_FUNC, new NativeFunction("compile", args -> { var source = args.getString(0); var filename = args.getString(1); - var env = Values.wrapper(args.convert(2, ObjectValue.class).getMember(args.ctx, Symbol.get("env")), Environment.class); + var env = Values.wrapper(Values.getMember(args.ctx, args.get(2), Symbol.get("env")), Environment.class); var isDebug = DebugContext.enabled(args.ctx); var res = new ObjectValue(); @@ -115,7 +115,7 @@ public class Environment implements Extensions { return new Context(engine, this); } - public Environment(WrappersProvider nativeConverter, GlobalScope global) { + public Environment(WrapperProvider nativeConverter, GlobalScope global) { if (nativeConverter == null) nativeConverter = new NativeWrapperProvider(this); if (global == null) global = new GlobalScope(); diff --git a/src/me/topchetoeu/jscript/engine/EventLoop.java b/src/me/topchetoeu/jscript/core/engine/EventLoop.java similarity index 89% rename from src/me/topchetoeu/jscript/engine/EventLoop.java rename to src/me/topchetoeu/jscript/core/engine/EventLoop.java index 412e264..dfc5334 100644 --- a/src/me/topchetoeu/jscript/engine/EventLoop.java +++ b/src/me/topchetoeu/jscript/core/engine/EventLoop.java @@ -1,11 +1,11 @@ -package me.topchetoeu.jscript.engine; +package me.topchetoeu.jscript.core.engine; import java.util.concurrent.PriorityBlockingQueue; -import me.topchetoeu.jscript.ResultRunnable; -import me.topchetoeu.jscript.events.Awaitable; -import me.topchetoeu.jscript.events.DataNotifier; -import me.topchetoeu.jscript.exceptions.InterruptException; +import me.topchetoeu.jscript.common.ResultRunnable; +import me.topchetoeu.jscript.common.events.Awaitable; +import me.topchetoeu.jscript.common.events.DataNotifier; +import me.topchetoeu.jscript.core.exceptions.InterruptException; public class EventLoop { private static class Task implements Comparable { diff --git a/src/me/topchetoeu/jscript/engine/Extensions.java b/src/me/topchetoeu/jscript/core/engine/Extensions.java similarity index 87% rename from src/me/topchetoeu/jscript/engine/Extensions.java rename to src/me/topchetoeu/jscript/core/engine/Extensions.java index 05d248a..9dd8b69 100644 --- a/src/me/topchetoeu/jscript/engine/Extensions.java +++ b/src/me/topchetoeu/jscript/core/engine/Extensions.java @@ -1,6 +1,6 @@ -package me.topchetoeu.jscript.engine; +package me.topchetoeu.jscript.core.engine; -import me.topchetoeu.jscript.engine.values.Symbol; +import me.topchetoeu.jscript.core.engine.values.Symbol; public interface Extensions { T get(Symbol key); diff --git a/src/me/topchetoeu/jscript/engine/Operation.java b/src/me/topchetoeu/jscript/core/engine/Operation.java similarity index 94% rename from src/me/topchetoeu/jscript/engine/Operation.java rename to src/me/topchetoeu/jscript/core/engine/Operation.java index 9a1e37a..7ea7c8f 100644 --- a/src/me/topchetoeu/jscript/engine/Operation.java +++ b/src/me/topchetoeu/jscript/core/engine/Operation.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine; +package me.topchetoeu.jscript.core.engine; public enum Operation { INSTANCEOF(2, false), diff --git a/src/me/topchetoeu/jscript/core/engine/WrapperProvider.java b/src/me/topchetoeu/jscript/core/engine/WrapperProvider.java new file mode 100644 index 0000000..ea30e5a --- /dev/null +++ b/src/me/topchetoeu/jscript/core/engine/WrapperProvider.java @@ -0,0 +1,12 @@ +package me.topchetoeu.jscript.core.engine; + +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; + +public interface WrapperProvider { + public ObjectValue getProto(Class obj); + public ObjectValue getNamespace(Class obj); + public FunctionValue getConstr(Class obj); + + public WrapperProvider fork(Environment env); +} diff --git a/src/me/topchetoeu/jscript/engine/debug/DebugContext.java b/src/me/topchetoeu/jscript/core/engine/debug/DebugContext.java similarity index 85% rename from src/me/topchetoeu/jscript/engine/debug/DebugContext.java rename to src/me/topchetoeu/jscript/core/engine/debug/DebugContext.java index 58cac6b..fefcd75 100644 --- a/src/me/topchetoeu/jscript/engine/debug/DebugContext.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/DebugContext.java @@ -1,17 +1,17 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; import java.util.HashMap; import java.util.TreeSet; -import me.topchetoeu.jscript.Filename; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.Extensions; -import me.topchetoeu.jscript.engine.frame.CodeFrame; -import me.topchetoeu.jscript.engine.values.Symbol; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.mapping.SourceMap; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.Extensions; +import me.topchetoeu.jscript.core.engine.frame.CodeFrame; +import me.topchetoeu.jscript.core.engine.values.Symbol; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.utils.mapping.SourceMap; public class DebugContext implements DebugController { public static final Symbol ENV_KEY = Symbol.get("Engine.debug"); diff --git a/src/me/topchetoeu/jscript/engine/debug/DebugController.java b/src/me/topchetoeu/jscript/core/engine/debug/DebugController.java similarity index 85% rename from src/me/topchetoeu/jscript/engine/debug/DebugController.java rename to src/me/topchetoeu/jscript/core/engine/debug/DebugController.java index 2978ec1..93c10c7 100644 --- a/src/me/topchetoeu/jscript/engine/debug/DebugController.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/DebugController.java @@ -1,14 +1,14 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; import java.util.TreeSet; -import me.topchetoeu.jscript.Filename; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.frame.CodeFrame; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.mapping.SourceMap; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.frame.CodeFrame; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.utils.mapping.SourceMap; public interface DebugController { /** diff --git a/src/me/topchetoeu/jscript/engine/debug/DebugHandler.java b/src/me/topchetoeu/jscript/core/engine/debug/DebugHandler.java similarity index 95% rename from src/me/topchetoeu/jscript/engine/debug/DebugHandler.java rename to src/me/topchetoeu/jscript/core/engine/debug/DebugHandler.java index 7ff2b9e..5d90310 100644 --- a/src/me/topchetoeu/jscript/engine/debug/DebugHandler.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/DebugHandler.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; import java.io.IOException; diff --git a/src/me/topchetoeu/jscript/engine/debug/DebugServer.java b/src/me/topchetoeu/jscript/core/engine/debug/DebugServer.java similarity index 91% rename from src/me/topchetoeu/jscript/engine/debug/DebugServer.java rename to src/me/topchetoeu/jscript/core/engine/debug/DebugServer.java index 016c1b0..53e091e 100644 --- a/src/me/topchetoeu/jscript/engine/debug/DebugServer.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/DebugServer.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; import java.io.IOException; import java.io.UncheckedIOException; @@ -9,14 +9,14 @@ import java.security.MessageDigest; import java.util.Base64; import java.util.HashMap; -import me.topchetoeu.jscript.Metadata; -import me.topchetoeu.jscript.Reading; -import me.topchetoeu.jscript.engine.debug.WebSocketMessage.Type; -import me.topchetoeu.jscript.events.Notifier; -import me.topchetoeu.jscript.exceptions.SyntaxException; -import me.topchetoeu.jscript.json.JSON; -import me.topchetoeu.jscript.json.JSONList; -import me.topchetoeu.jscript.json.JSONMap; +import me.topchetoeu.jscript.common.Metadata; +import me.topchetoeu.jscript.common.Reading; +import me.topchetoeu.jscript.common.events.Notifier; +import me.topchetoeu.jscript.common.json.JSON; +import me.topchetoeu.jscript.common.json.JSONList; +import me.topchetoeu.jscript.common.json.JSONMap; +import me.topchetoeu.jscript.core.engine.debug.WebSocketMessage.Type; +import me.topchetoeu.jscript.core.exceptions.SyntaxException; public class DebugServer { public static String browserDisplayName = Metadata.name() + "/" + Metadata.version(); @@ -226,9 +226,9 @@ public class DebugServer { public DebugServer() { try { - this.favicon = Reading.resourceToStream("assets/debugger/favicon.png").readAllBytes(); - this.protocol = Reading.resourceToStream("assets/debugger/protocol.json").readAllBytes(); - this.index = Reading.resourceToString("assets/debugger/index.html") + this.favicon = Reading.resourceToStream("me/topchetoeu/jscript/utils/assets/debugger/favicon.png").readAllBytes(); + this.protocol = Reading.resourceToStream("me/topchetoeu/jscript/utils/assets/debugger/protocol.json").readAllBytes(); + this.index = Reading.resourceToString("me/topchetoeu/jscript/utils/assets/debugger/index.html") .replace("${NAME}", Metadata.name()) .replace("${VERSION}", Metadata.version()) .replace("${AUTHOR}", Metadata.author()) diff --git a/src/me/topchetoeu/jscript/engine/debug/Debugger.java b/src/me/topchetoeu/jscript/core/engine/debug/Debugger.java similarity index 63% rename from src/me/topchetoeu/jscript/engine/debug/Debugger.java rename to src/me/topchetoeu/jscript/core/engine/debug/Debugger.java index dcafc83..c920d0a 100644 --- a/src/me/topchetoeu/jscript/engine/debug/Debugger.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/Debugger.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; public interface Debugger extends DebugHandler, DebugController { void close(); diff --git a/src/me/topchetoeu/jscript/engine/debug/DebuggerProvider.java b/src/me/topchetoeu/jscript/core/engine/debug/DebuggerProvider.java similarity index 67% rename from src/me/topchetoeu/jscript/engine/debug/DebuggerProvider.java rename to src/me/topchetoeu/jscript/core/engine/debug/DebuggerProvider.java index cd15ffc..d92d174 100644 --- a/src/me/topchetoeu/jscript/engine/debug/DebuggerProvider.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/DebuggerProvider.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; public interface DebuggerProvider { Debugger getDebugger(WebSocket socket, HttpRequest req); diff --git a/src/me/topchetoeu/jscript/engine/debug/HttpRequest.java b/src/me/topchetoeu/jscript/core/engine/debug/HttpRequest.java similarity index 98% rename from src/me/topchetoeu/jscript/engine/debug/HttpRequest.java rename to src/me/topchetoeu/jscript/core/engine/debug/HttpRequest.java index bff2bdb..be924dc 100644 --- a/src/me/topchetoeu/jscript/engine/debug/HttpRequest.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/HttpRequest.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; import java.io.BufferedReader; import java.io.IOException; diff --git a/src/me/topchetoeu/jscript/engine/debug/SimpleDebugger.java b/src/me/topchetoeu/jscript/core/engine/debug/SimpleDebugger.java similarity index 96% rename from src/me/topchetoeu/jscript/engine/debug/SimpleDebugger.java rename to src/me/topchetoeu/jscript/core/engine/debug/SimpleDebugger.java index f3e860d..0bc3730 100644 --- a/src/me/topchetoeu/jscript/engine/debug/SimpleDebugger.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/SimpleDebugger.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; import java.io.IOException; import java.util.ArrayList; @@ -10,29 +10,29 @@ import java.util.TreeSet; import java.util.regex.Pattern; import java.util.stream.Collectors; -import me.topchetoeu.jscript.Filename; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.compilation.Instruction.Type; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.Engine; -import me.topchetoeu.jscript.engine.Environment; -import me.topchetoeu.jscript.engine.frame.CodeFrame; -import me.topchetoeu.jscript.engine.scope.GlobalScope; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.CodeFunction; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Symbol; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.events.Notifier; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.json.JSON; -import me.topchetoeu.jscript.json.JSONElement; -import me.topchetoeu.jscript.json.JSONList; -import me.topchetoeu.jscript.json.JSONMap; -import me.topchetoeu.jscript.mapping.SourceMap; -import me.topchetoeu.jscript.parsing.Parsing; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.common.events.Notifier; +import me.topchetoeu.jscript.common.json.JSON; +import me.topchetoeu.jscript.common.json.JSONElement; +import me.topchetoeu.jscript.common.json.JSONList; +import me.topchetoeu.jscript.common.json.JSONMap; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.compilation.Instruction.Type; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.Engine; +import me.topchetoeu.jscript.core.engine.Environment; +import me.topchetoeu.jscript.core.engine.frame.CodeFrame; +import me.topchetoeu.jscript.core.engine.scope.GlobalScope; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.CodeFunction; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Symbol; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.core.parsing.Parsing; +import me.topchetoeu.jscript.utils.mapping.SourceMap; // very simple indeed public class SimpleDebugger implements Debugger { @@ -124,8 +124,7 @@ public class SimpleDebugger implements Debugger { this.global = frame.function.environment.global.obj; this.local = frame.getLocalScope(true); this.capture = frame.getCaptureScope(true); - this.local.setPrototype(frame.ctx, capture); - this.capture.setPrototype(frame.ctx, global); + Values.makePrototypeChain(frame.ctx, global, capture, local); this.valstack = frame.getValStackScope(); this.serialized = new JSONMap() @@ -841,7 +840,7 @@ public class SimpleDebugger implements Debugger { } else { propDesc.set("name", Values.toString(ctx, key)); - propDesc.set("value", serializeObj(ctx, obj.getMember(ctx, key))); + propDesc.set("value", serializeObj(ctx, Values.getMember(ctx, obj, key))); propDesc.set("writable", obj.memberWritable(key)); propDesc.set("enumerable", obj.memberEnumerable(key)); propDesc.set("configurable", obj.memberConfigurable(key)); @@ -850,7 +849,7 @@ public class SimpleDebugger implements Debugger { } } - var proto = obj.getPrototype(ctx); + var proto = Values.getPrototype(ctx, obj); var protoDesc = new JSONMap(); protoDesc.set("name", "__proto__"); diff --git a/src/me/topchetoeu/jscript/engine/debug/V8Error.java b/src/me/topchetoeu/jscript/core/engine/debug/V8Error.java similarity index 67% rename from src/me/topchetoeu/jscript/engine/debug/V8Error.java rename to src/me/topchetoeu/jscript/core/engine/debug/V8Error.java index 854e1cd..410f72d 100644 --- a/src/me/topchetoeu/jscript/engine/debug/V8Error.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/V8Error.java @@ -1,7 +1,7 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; -import me.topchetoeu.jscript.json.JSON; -import me.topchetoeu.jscript.json.JSONMap; +import me.topchetoeu.jscript.common.json.JSON; +import me.topchetoeu.jscript.common.json.JSONMap; public class V8Error { public final String message; diff --git a/src/me/topchetoeu/jscript/engine/debug/V8Event.java b/src/me/topchetoeu/jscript/core/engine/debug/V8Event.java similarity index 72% rename from src/me/topchetoeu/jscript/engine/debug/V8Event.java rename to src/me/topchetoeu/jscript/core/engine/debug/V8Event.java index a83e20b..dc44466 100644 --- a/src/me/topchetoeu/jscript/engine/debug/V8Event.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/V8Event.java @@ -1,7 +1,7 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; -import me.topchetoeu.jscript.json.JSON; -import me.topchetoeu.jscript.json.JSONMap; +import me.topchetoeu.jscript.common.json.JSON; +import me.topchetoeu.jscript.common.json.JSONMap; public class V8Event { public final String name; diff --git a/src/me/topchetoeu/jscript/engine/debug/V8Message.java b/src/me/topchetoeu/jscript/core/engine/debug/V8Message.java similarity index 86% rename from src/me/topchetoeu/jscript/engine/debug/V8Message.java rename to src/me/topchetoeu/jscript/core/engine/debug/V8Message.java index c585233..3eb6c56 100644 --- a/src/me/topchetoeu/jscript/engine/debug/V8Message.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/V8Message.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; import java.util.Map; -import me.topchetoeu.jscript.json.JSON; -import me.topchetoeu.jscript.json.JSONElement; -import me.topchetoeu.jscript.json.JSONMap; +import me.topchetoeu.jscript.common.json.JSON; +import me.topchetoeu.jscript.common.json.JSONElement; +import me.topchetoeu.jscript.common.json.JSONMap; public class V8Message { public final String name; diff --git a/src/me/topchetoeu/jscript/engine/debug/V8Result.java b/src/me/topchetoeu/jscript/core/engine/debug/V8Result.java similarity index 71% rename from src/me/topchetoeu/jscript/engine/debug/V8Result.java rename to src/me/topchetoeu/jscript/core/engine/debug/V8Result.java index f605cef..ab1cab7 100644 --- a/src/me/topchetoeu/jscript/engine/debug/V8Result.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/V8Result.java @@ -1,7 +1,7 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; -import me.topchetoeu.jscript.json.JSON; -import me.topchetoeu.jscript.json.JSONMap; +import me.topchetoeu.jscript.common.json.JSON; +import me.topchetoeu.jscript.common.json.JSONMap; public class V8Result { public final int id; diff --git a/src/me/topchetoeu/jscript/engine/debug/WebSocket.java b/src/me/topchetoeu/jscript/core/engine/debug/WebSocket.java similarity index 97% rename from src/me/topchetoeu/jscript/engine/debug/WebSocket.java rename to src/me/topchetoeu/jscript/core/engine/debug/WebSocket.java index c29e3ae..52eb37a 100644 --- a/src/me/topchetoeu/jscript/engine/debug/WebSocket.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/WebSocket.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; import java.io.ByteArrayOutputStream; import java.io.IOException; @@ -6,7 +6,7 @@ import java.io.InputStream; import java.io.OutputStream; import java.net.Socket; -import me.topchetoeu.jscript.engine.debug.WebSocketMessage.Type; +import me.topchetoeu.jscript.core.engine.debug.WebSocketMessage.Type; public class WebSocket implements AutoCloseable { public long maxLength = 1 << 20; diff --git a/src/me/topchetoeu/jscript/engine/debug/WebSocketMessage.java b/src/me/topchetoeu/jscript/core/engine/debug/WebSocketMessage.java similarity index 93% rename from src/me/topchetoeu/jscript/engine/debug/WebSocketMessage.java rename to src/me/topchetoeu/jscript/core/engine/debug/WebSocketMessage.java index e0b82b5..10242b2 100644 --- a/src/me/topchetoeu/jscript/engine/debug/WebSocketMessage.java +++ b/src/me/topchetoeu/jscript/core/engine/debug/WebSocketMessage.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.debug; +package me.topchetoeu.jscript.core.engine.debug; public class WebSocketMessage { public static enum Type { diff --git a/src/me/topchetoeu/jscript/engine/frame/CodeFrame.java b/src/me/topchetoeu/jscript/core/engine/frame/CodeFrame.java similarity index 93% rename from src/me/topchetoeu/jscript/engine/frame/CodeFrame.java rename to src/me/topchetoeu/jscript/core/engine/frame/CodeFrame.java index 283286a..0f82537 100644 --- a/src/me/topchetoeu/jscript/engine/frame/CodeFrame.java +++ b/src/me/topchetoeu/jscript/core/engine/frame/CodeFrame.java @@ -1,21 +1,21 @@ -package me.topchetoeu.jscript.engine.frame; +package me.topchetoeu.jscript.core.engine.frame; import java.util.List; import java.util.Stack; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.debug.DebugContext; -import me.topchetoeu.jscript.engine.scope.LocalScope; -import me.topchetoeu.jscript.engine.scope.ValueVariable; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.CodeFunction; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.ScopeValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.exceptions.InterruptException; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.debug.DebugContext; +import me.topchetoeu.jscript.core.engine.scope.LocalScope; +import me.topchetoeu.jscript.core.engine.scope.ValueVariable; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.CodeFunction; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.ScopeValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.core.exceptions.InterruptException; public class CodeFrame { public static enum TryState { diff --git a/src/me/topchetoeu/jscript/engine/frame/ConvertHint.java b/src/me/topchetoeu/jscript/core/engine/frame/ConvertHint.java similarity index 52% rename from src/me/topchetoeu/jscript/engine/frame/ConvertHint.java rename to src/me/topchetoeu/jscript/core/engine/frame/ConvertHint.java index a9b425b..5b5fabf 100644 --- a/src/me/topchetoeu/jscript/engine/frame/ConvertHint.java +++ b/src/me/topchetoeu/jscript/core/engine/frame/ConvertHint.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.frame; +package me.topchetoeu.jscript.core.engine.frame; public enum ConvertHint { TOSTRING, diff --git a/src/me/topchetoeu/jscript/engine/frame/Runners.java b/src/me/topchetoeu/jscript/core/engine/frame/Runners.java similarity index 94% rename from src/me/topchetoeu/jscript/engine/frame/Runners.java rename to src/me/topchetoeu/jscript/core/engine/frame/Runners.java index 4607c17..513a3f8 100644 --- a/src/me/topchetoeu/jscript/engine/frame/Runners.java +++ b/src/me/topchetoeu/jscript/core/engine/frame/Runners.java @@ -1,20 +1,20 @@ -package me.topchetoeu.jscript.engine.frame; +package me.topchetoeu.jscript.core.engine.frame; import java.util.Collections; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.Engine; -import me.topchetoeu.jscript.engine.Environment; -import me.topchetoeu.jscript.engine.Operation; -import me.topchetoeu.jscript.engine.scope.ValueVariable; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.CodeFunction; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Symbol; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.Engine; +import me.topchetoeu.jscript.core.engine.Environment; +import me.topchetoeu.jscript.core.engine.Operation; +import me.topchetoeu.jscript.core.engine.scope.ValueVariable; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.CodeFunction; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Symbol; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; public class Runners { public static Object execReturn(Context ctx, Instruction instr, CodeFrame frame) { diff --git a/src/me/topchetoeu/jscript/engine/scope/GlobalScope.java b/src/me/topchetoeu/jscript/core/engine/scope/GlobalScope.java similarity index 59% rename from src/me/topchetoeu/jscript/engine/scope/GlobalScope.java rename to src/me/topchetoeu/jscript/core/engine/scope/GlobalScope.java index 4d78e3a..59070e1 100644 --- a/src/me/topchetoeu/jscript/engine/scope/GlobalScope.java +++ b/src/me/topchetoeu/jscript/core/engine/scope/GlobalScope.java @@ -1,19 +1,20 @@ -package me.topchetoeu.jscript.engine.scope; +package me.topchetoeu.jscript.core.engine.scope; import java.util.HashSet; import java.util.Set; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.NativeFunction; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.exceptions.EngineException; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.NativeFunction; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; public class GlobalScope implements ScopeRecord { public final ObjectValue obj; public boolean has(Context ctx, String name) { - return obj.hasMember(ctx, name, false); + return Values.hasMember(null, obj, name, false); } public Object getKey(String name) { return name; @@ -21,7 +22,7 @@ public class GlobalScope implements ScopeRecord { public GlobalScope globalChild() { var obj = new ObjectValue(); - obj.setPrototype(null, this.obj); + Values.setPrototype(null, obj, this.obj); return new GlobalScope(obj); } public LocalScopeRecord child() { @@ -29,12 +30,12 @@ public class GlobalScope implements ScopeRecord { } public Object define(String name) { - if (obj.hasMember(null, name, true)) return name; - obj.defineProperty(null, name, null); + if (Values.hasMember(Context.NULL, obj, name, false)) return name; + obj.defineProperty(Context.NULL, name, null); return name; } public void define(String name, Variable val) { - obj.defineProperty(null, name, + obj.defineProperty(Context.NULL, name, new NativeFunction("get " + name, args -> val.get(args.ctx)), new NativeFunction("set " + name, args -> { val.set(args.ctx, args.get(0)); return null; }), true, true @@ -51,12 +52,12 @@ public class GlobalScope implements ScopeRecord { } public Object get(Context ctx, String name) { - if (!obj.hasMember(ctx, name, false)) throw EngineException.ofSyntax("The variable '" + name + "' doesn't exist."); - else return obj.getMember(ctx, name); + if (!Values.hasMember(ctx, obj, name, false)) throw EngineException.ofSyntax("The variable '" + name + "' doesn't exist."); + else return Values.getMember(ctx, obj, name); } public void set(Context ctx, String name, Object val) { - if (!obj.hasMember(ctx, name, false)) throw EngineException.ofSyntax("The variable '" + name + "' doesn't exist."); - if (!obj.setMember(ctx, name, val, false)) throw EngineException.ofSyntax("The global '" + name + "' is readonly."); + if (!Values.hasMember(ctx, obj, name, false)) throw EngineException.ofSyntax("The variable '" + name + "' doesn't exist."); + if (!Values.setMember(ctx, obj, name, val)) throw EngineException.ofSyntax("The global '" + name + "' is readonly."); } public Set keys() { diff --git a/src/me/topchetoeu/jscript/engine/scope/LocalScope.java b/src/me/topchetoeu/jscript/core/engine/scope/LocalScope.java similarity index 93% rename from src/me/topchetoeu/jscript/engine/scope/LocalScope.java rename to src/me/topchetoeu/jscript/core/engine/scope/LocalScope.java index 2ed3075..5b5527f 100644 --- a/src/me/topchetoeu/jscript/engine/scope/LocalScope.java +++ b/src/me/topchetoeu/jscript/core/engine/scope/LocalScope.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.scope; +package me.topchetoeu.jscript.core.engine.scope; import java.util.ArrayList; diff --git a/src/me/topchetoeu/jscript/engine/scope/LocalScopeRecord.java b/src/me/topchetoeu/jscript/core/engine/scope/LocalScopeRecord.java similarity index 97% rename from src/me/topchetoeu/jscript/engine/scope/LocalScopeRecord.java rename to src/me/topchetoeu/jscript/core/engine/scope/LocalScopeRecord.java index e1889ee..0fa9d99 100644 --- a/src/me/topchetoeu/jscript/engine/scope/LocalScopeRecord.java +++ b/src/me/topchetoeu/jscript/core/engine/scope/LocalScopeRecord.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.scope; +package me.topchetoeu.jscript.core.engine.scope; import java.util.ArrayList; diff --git a/src/me/topchetoeu/jscript/engine/scope/ScopeRecord.java b/src/me/topchetoeu/jscript/core/engine/scope/ScopeRecord.java similarity index 75% rename from src/me/topchetoeu/jscript/engine/scope/ScopeRecord.java rename to src/me/topchetoeu/jscript/core/engine/scope/ScopeRecord.java index 88c0c93..ec14c33 100644 --- a/src/me/topchetoeu/jscript/engine/scope/ScopeRecord.java +++ b/src/me/topchetoeu/jscript/core/engine/scope/ScopeRecord.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.scope; +package me.topchetoeu.jscript.core.engine.scope; public interface ScopeRecord { public Object getKey(String name); diff --git a/src/me/topchetoeu/jscript/engine/scope/ValueVariable.java b/src/me/topchetoeu/jscript/core/engine/scope/ValueVariable.java similarity index 77% rename from src/me/topchetoeu/jscript/engine/scope/ValueVariable.java rename to src/me/topchetoeu/jscript/core/engine/scope/ValueVariable.java index bf25b0d..461f23e 100644 --- a/src/me/topchetoeu/jscript/engine/scope/ValueVariable.java +++ b/src/me/topchetoeu/jscript/core/engine/scope/ValueVariable.java @@ -1,7 +1,7 @@ -package me.topchetoeu.jscript.engine.scope; +package me.topchetoeu.jscript.core.engine.scope; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.values.Values; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.values.Values; public class ValueVariable implements Variable { public boolean readonly; diff --git a/src/me/topchetoeu/jscript/engine/scope/Variable.java b/src/me/topchetoeu/jscript/core/engine/scope/Variable.java similarity index 61% rename from src/me/topchetoeu/jscript/engine/scope/Variable.java rename to src/me/topchetoeu/jscript/core/engine/scope/Variable.java index f211609..656095f 100644 --- a/src/me/topchetoeu/jscript/engine/scope/Variable.java +++ b/src/me/topchetoeu/jscript/core/engine/scope/Variable.java @@ -1,6 +1,6 @@ -package me.topchetoeu.jscript.engine.scope; +package me.topchetoeu.jscript.core.engine.scope; -import me.topchetoeu.jscript.engine.Context; +import me.topchetoeu.jscript.core.engine.Context; public interface Variable { Object get(Context ctx); diff --git a/src/me/topchetoeu/jscript/engine/values/ArrayValue.java b/src/me/topchetoeu/jscript/core/engine/values/ArrayValue.java similarity index 98% rename from src/me/topchetoeu/jscript/engine/values/ArrayValue.java rename to src/me/topchetoeu/jscript/core/engine/values/ArrayValue.java index fa43bf7..01565cd 100644 --- a/src/me/topchetoeu/jscript/engine/values/ArrayValue.java +++ b/src/me/topchetoeu/jscript/core/engine/values/ArrayValue.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.values; +package me.topchetoeu.jscript.core.engine.values; import java.util.Arrays; import java.util.Collection; @@ -6,7 +6,7 @@ import java.util.Comparator; import java.util.Iterator; import java.util.List; -import me.topchetoeu.jscript.engine.Context; +import me.topchetoeu.jscript.core.engine.Context; // TODO: Make methods generic public class ArrayValue extends ObjectValue implements Iterable { diff --git a/src/me/topchetoeu/jscript/engine/values/CodeFunction.java b/src/me/topchetoeu/jscript/core/engine/values/CodeFunction.java similarity index 76% rename from src/me/topchetoeu/jscript/engine/values/CodeFunction.java rename to src/me/topchetoeu/jscript/core/engine/values/CodeFunction.java index 01fd6a6..1ab8c9d 100644 --- a/src/me/topchetoeu/jscript/engine/values/CodeFunction.java +++ b/src/me/topchetoeu/jscript/core/engine/values/CodeFunction.java @@ -1,12 +1,12 @@ -package me.topchetoeu.jscript.engine.values; +package me.topchetoeu.jscript.core.engine.values; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.FunctionBody; -import me.topchetoeu.jscript.compilation.Instruction; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.Environment; -import me.topchetoeu.jscript.engine.frame.CodeFrame; -import me.topchetoeu.jscript.engine.scope.ValueVariable; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.FunctionBody; +import me.topchetoeu.jscript.core.compilation.Instruction; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.Environment; +import me.topchetoeu.jscript.core.engine.frame.CodeFrame; +import me.topchetoeu.jscript.core.engine.scope.ValueVariable; public class CodeFunction extends FunctionValue { public final int localsN; diff --git a/src/me/topchetoeu/jscript/engine/values/FunctionValue.java b/src/me/topchetoeu/jscript/core/engine/values/FunctionValue.java similarity index 95% rename from src/me/topchetoeu/jscript/engine/values/FunctionValue.java rename to src/me/topchetoeu/jscript/core/engine/values/FunctionValue.java index fcf6aa7..dbc3e53 100644 --- a/src/me/topchetoeu/jscript/engine/values/FunctionValue.java +++ b/src/me/topchetoeu/jscript/core/engine/values/FunctionValue.java @@ -1,8 +1,8 @@ -package me.topchetoeu.jscript.engine.values; +package me.topchetoeu.jscript.core.engine.values; import java.util.List; -import me.topchetoeu.jscript.engine.Context; +import me.topchetoeu.jscript.core.engine.Context; public abstract class FunctionValue extends ObjectValue { public String name = ""; diff --git a/src/me/topchetoeu/jscript/engine/values/NativeFunction.java b/src/me/topchetoeu/jscript/core/engine/values/NativeFunction.java similarity index 79% rename from src/me/topchetoeu/jscript/engine/values/NativeFunction.java rename to src/me/topchetoeu/jscript/core/engine/values/NativeFunction.java index f2cf2a1..0e519f4 100644 --- a/src/me/topchetoeu/jscript/engine/values/NativeFunction.java +++ b/src/me/topchetoeu/jscript/core/engine/values/NativeFunction.java @@ -1,7 +1,7 @@ -package me.topchetoeu.jscript.engine.values; +package me.topchetoeu.jscript.core.engine.values; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.interop.Arguments; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.utils.interop.Arguments; public class NativeFunction extends FunctionValue { public static interface NativeFunctionRunner { diff --git a/src/me/topchetoeu/jscript/engine/values/NativeWrapper.java b/src/me/topchetoeu/jscript/core/engine/values/NativeWrapper.java similarity index 88% rename from src/me/topchetoeu/jscript/engine/values/NativeWrapper.java rename to src/me/topchetoeu/jscript/core/engine/values/NativeWrapper.java index f76c7bc..05a05c6 100644 --- a/src/me/topchetoeu/jscript/engine/values/NativeWrapper.java +++ b/src/me/topchetoeu/jscript/core/engine/values/NativeWrapper.java @@ -1,6 +1,6 @@ -package me.topchetoeu.jscript.engine.values; +package me.topchetoeu.jscript.core.engine.values; -import me.topchetoeu.jscript.engine.Context; +import me.topchetoeu.jscript.core.engine.Context; public class NativeWrapper extends ObjectValue { private static final Object NATIVE_PROTO = new Object(); diff --git a/src/me/topchetoeu/jscript/engine/values/ObjectValue.java b/src/me/topchetoeu/jscript/core/engine/values/ObjectValue.java similarity index 93% rename from src/me/topchetoeu/jscript/engine/values/ObjectValue.java rename to src/me/topchetoeu/jscript/core/engine/values/ObjectValue.java index 176078a..d7e4175 100644 --- a/src/me/topchetoeu/jscript/engine/values/ObjectValue.java +++ b/src/me/topchetoeu/jscript/core/engine/values/ObjectValue.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.values; +package me.topchetoeu.jscript.core.engine.values; import java.util.ArrayList; import java.util.LinkedHashMap; @@ -6,8 +6,8 @@ import java.util.LinkedHashSet; import java.util.List; import java.util.Map; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.Environment; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.Environment; public class ObjectValue { public static enum PlaceholderProto { @@ -54,6 +54,13 @@ public class ObjectValue { public LinkedHashSet nonConfigurableSet = new LinkedHashSet<>(); public LinkedHashSet nonEnumerableSet = new LinkedHashSet<>(); + private Property getProperty(Context ctx, Object key) { + if (properties.containsKey(key)) return properties.get(key); + var proto = getPrototype(ctx); + if (proto != null) return proto.getProperty(ctx, key); + else return null; + } + public final boolean memberWritable(Object key) { if (state == State.FROZEN) return false; return !values.containsKey(key) || !nonWritableSet.contains(key); @@ -159,6 +166,113 @@ public class ObjectValue { return (ObjectValue)prototype; } + public final boolean setPrototype(PlaceholderProto val) { + if (!extensible()) return false; + switch (val) { + case OBJECT: prototype = OBJ_PROTO; break; + case FUNCTION: prototype = FUNC_PROTO; break; + case ARRAY: prototype = ARR_PROTO; break; + case ERROR: prototype = ERR_PROTO; break; + case SYNTAX_ERROR: prototype = SYNTAX_ERR_PROTO; break; + case TYPE_ERROR: prototype = TYPE_ERR_PROTO; break; + case RANGE_ERROR: prototype = RANGE_ERR_PROTO; break; + case NONE: prototype = null; break; + } + return true; + } + + /** + * A method, used to get the value of a field. If a property is bound to + * this key, but not a field, this method should return null. + */ + protected Object getField(Context ctx, Object key) { + if (values.containsKey(key)) return values.get(key); + var proto = getPrototype(ctx); + if (proto != null) return proto.getField(ctx, key); + else return null; + } + /** + * Changes the value of a field, that is bound to the given key. If no field is + * bound to this key, a new field should be created with the given value + * @return Whether or not the operation was successful + */ + protected boolean setField(Context ctx, Object key, Object val) { + if (val instanceof FunctionValue && ((FunctionValue)val).name.equals("")) { + ((FunctionValue)val).name = Values.toString(ctx, key); + } + + values.put(key, val); + return true; + } + /** + * Deletes the field bound to the given key. + */ + protected void deleteField(Context ctx, Object key) { + values.remove(key); + } + /** + * Returns whether or not there is a field bound to the given key. + * This must ignore properties + */ + protected boolean hasField(Context ctx, Object key) { + return values.containsKey(key); + } + + public final Object getMember(Context ctx, Object key, Object thisArg) { + key = Values.normalize(ctx, key); + + if ("__proto__".equals(key)) { + var res = getPrototype(ctx); + return res == null ? Values.NULL : res; + } + + var prop = getProperty(ctx, key); + + if (prop != null) { + if (prop.getter == null) return null; + else return prop.getter.call(ctx, Values.normalize(ctx, thisArg)); + } + else return getField(ctx, key); + } + public final boolean setMember(Context ctx, Object key, Object val, Object thisArg, boolean onlyProps) { + key = Values.normalize(ctx, key); val = Values.normalize(ctx, val); + + var prop = getProperty(ctx, key); + if (prop != null) { + if (prop.setter == null) return false; + prop.setter.call(ctx, Values.normalize(ctx, thisArg), val); + return true; + } + else if (onlyProps) return false; + else if (!extensible() && !values.containsKey(key)) return false; + else if (key == null) { + values.put(key, val); + return true; + } + else if ("__proto__".equals(key)) return setPrototype(ctx, val); + else if (nonWritableSet.contains(key)) return false; + else return setField(ctx, key, val); + } + public final boolean hasMember(Context ctx, Object key, boolean own) { + key = Values.normalize(ctx, key); + + if (key != null && "__proto__".equals(key)) return true; + if (hasField(ctx, key)) return true; + if (properties.containsKey(key)) return true; + if (own) return false; + var proto = getPrototype(ctx); + return proto != null && proto.hasMember(ctx, key, own); + } + public final boolean deleteMember(Context ctx, Object key) { + key = Values.normalize(ctx, key); + + if (!memberConfigurable(key)) return false; + properties.remove(key); + nonWritableSet.remove(key); + nonEnumerableSet.remove(key); + deleteField(ctx, key); + return true; + } public final boolean setPrototype(Context ctx, Object val) { val = Values.normalize(ctx, val); @@ -186,111 +300,6 @@ public class ObjectValue { } return false; } - public final boolean setPrototype(PlaceholderProto val) { - if (!extensible()) return false; - switch (val) { - case OBJECT: prototype = OBJ_PROTO; break; - case FUNCTION: prototype = FUNC_PROTO; break; - case ARRAY: prototype = ARR_PROTO; break; - case ERROR: prototype = ERR_PROTO; break; - case SYNTAX_ERROR: prototype = SYNTAX_ERR_PROTO; break; - case TYPE_ERROR: prototype = TYPE_ERR_PROTO; break; - case RANGE_ERROR: prototype = RANGE_ERR_PROTO; break; - case NONE: prototype = null; break; - } - return true; - } - - protected Property getProperty(Context ctx, Object key) { - if (properties.containsKey(key)) return properties.get(key); - var proto = getPrototype(ctx); - if (proto != null) return proto.getProperty(ctx, key); - else return null; - } - protected Object getField(Context ctx, Object key) { - if (values.containsKey(key)) return values.get(key); - var proto = getPrototype(ctx); - if (proto != null) return proto.getField(ctx, key); - else return null; - } - protected boolean setField(Context ctx, Object key, Object val) { - if (val instanceof FunctionValue && ((FunctionValue)val).name.equals("")) { - ((FunctionValue)val).name = Values.toString(ctx, key); - } - - values.put(key, val); - return true; - } - protected void deleteField(Context ctx, Object key) { - values.remove(key); - } - protected boolean hasField(Context ctx, Object key) { - return values.containsKey(key); - } - - public final Object getMember(Context ctx, Object key, Object thisArg) { - key = Values.normalize(ctx, key); - - if ("__proto__".equals(key)) { - var res = getPrototype(ctx); - return res == null ? Values.NULL : res; - } - - var prop = getProperty(ctx, key); - - if (prop != null) { - if (prop.getter == null) return null; - else return prop.getter.call(ctx, Values.normalize(ctx, thisArg)); - } - else return getField(ctx, key); - } - public final Object getMember(Context ctx, Object key) { - return getMember(ctx, key, this); - } - - public final boolean setMember(Context ctx, Object key, Object val, Object thisArg, boolean onlyProps) { - key = Values.normalize(ctx, key); val = Values.normalize(ctx, val); - - var prop = getProperty(ctx, key); - if (prop != null) { - if (prop.setter == null) return false; - prop.setter.call(ctx, Values.normalize(ctx, thisArg), val); - return true; - } - else if (onlyProps) return false; - else if (!extensible() && !values.containsKey(key)) return false; - else if (key == null) { - values.put(key, val); - return true; - } - else if ("__proto__".equals(key)) return setPrototype(ctx, val); - else if (nonWritableSet.contains(key)) return false; - else return setField(ctx, key, val); - } - public final boolean setMember(Context ctx, Object key, Object val, boolean onlyProps) { - return setMember(ctx, Values.normalize(ctx, key), Values.normalize(ctx, val), this, onlyProps); - } - - public final boolean hasMember(Context ctx, Object key, boolean own) { - key = Values.normalize(ctx, key); - - if (key != null && "__proto__".equals(key)) return true; - if (hasField(ctx, key)) return true; - if (properties.containsKey(key)) return true; - if (own) return false; - var proto = getPrototype(ctx); - return proto != null && proto.hasMember(ctx, key, own); - } - public final boolean deleteMember(Context ctx, Object key) { - key = Values.normalize(ctx, key); - - if (!memberConfigurable(key)) return false; - properties.remove(key); - nonWritableSet.remove(key); - nonEnumerableSet.remove(key); - deleteField(ctx, key); - return true; - } public final ObjectValue getMemberDescriptor(Context ctx, Object key) { key = Values.normalize(ctx, key); diff --git a/src/me/topchetoeu/jscript/engine/values/ScopeValue.java b/src/me/topchetoeu/jscript/core/engine/values/ScopeValue.java similarity index 84% rename from src/me/topchetoeu/jscript/engine/values/ScopeValue.java rename to src/me/topchetoeu/jscript/core/engine/values/ScopeValue.java index fa6b846..2094dd9 100644 --- a/src/me/topchetoeu/jscript/engine/values/ScopeValue.java +++ b/src/me/topchetoeu/jscript/core/engine/values/ScopeValue.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.engine.values; +package me.topchetoeu.jscript.core.engine.values; import java.util.HashMap; import java.util.List; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.scope.ValueVariable; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.scope.ValueVariable; public class ScopeValue extends ObjectValue { public final ValueVariable[] variables; @@ -23,7 +23,7 @@ public class ScopeValue extends ObjectValue { } var proto = getPrototype(ctx); - if (proto != null && proto.hasField(ctx, key) && proto.setField(ctx, key, val)) return true; + if (proto != null && proto.hasMember(ctx, key, false) && proto.setField(ctx, key, val)) return true; return super.setField(ctx, key, val); } diff --git a/src/me/topchetoeu/jscript/engine/values/Symbol.java b/src/me/topchetoeu/jscript/core/engine/values/Symbol.java similarity index 92% rename from src/me/topchetoeu/jscript/engine/values/Symbol.java rename to src/me/topchetoeu/jscript/core/engine/values/Symbol.java index 65aeac9..562265e 100644 --- a/src/me/topchetoeu/jscript/engine/values/Symbol.java +++ b/src/me/topchetoeu/jscript/core/engine/values/Symbol.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.engine.values; +package me.topchetoeu.jscript.core.engine.values; import java.util.HashMap; diff --git a/src/me/topchetoeu/jscript/engine/values/Values.java b/src/me/topchetoeu/jscript/core/engine/values/Values.java similarity index 87% rename from src/me/topchetoeu/jscript/engine/values/Values.java rename to src/me/topchetoeu/jscript/core/engine/values/Values.java index 5b06a04..396b1d4 100644 --- a/src/me/topchetoeu/jscript/engine/values/Values.java +++ b/src/me/topchetoeu/jscript/core/engine/values/Values.java @@ -1,5 +1,7 @@ -package me.topchetoeu.jscript.engine.values; +package me.topchetoeu.jscript.core.engine.values; +import java.io.ByteArrayOutputStream; +import java.io.PrintStream; import java.lang.reflect.Array; import java.math.BigDecimal; import java.util.ArrayList; @@ -10,13 +12,13 @@ import java.util.Iterator; import java.util.List; import java.util.Map; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.Environment; -import me.topchetoeu.jscript.engine.Operation; -import me.topchetoeu.jscript.engine.frame.ConvertHint; -import me.topchetoeu.jscript.exceptions.ConvertException; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.exceptions.SyntaxException; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.Environment; +import me.topchetoeu.jscript.core.engine.Operation; +import me.topchetoeu.jscript.core.engine.frame.ConvertHint; +import me.topchetoeu.jscript.core.exceptions.ConvertException; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.core.exceptions.SyntaxException; import me.topchetoeu.jscript.lib.PromiseLib; public class Values { @@ -281,7 +283,7 @@ public class Values { obj = normalize(ctx, obj); key = normalize(ctx, key); if (obj == null) throw new IllegalArgumentException("Tried to access member of undefined."); if (obj == NULL) throw new IllegalArgumentException("Tried to access member of null."); - if (obj instanceof ObjectValue) return object(obj).getMember(ctx, key); + if (obj instanceof ObjectValue) return ((ObjectValue)obj).getMember(ctx, key, obj); if (obj instanceof String && key instanceof Number) { var i = number(key); @@ -307,7 +309,7 @@ public class Values { if (obj == null) throw EngineException.ofType("Tried to access member of undefined."); if (obj == NULL) throw EngineException.ofType("Tried to access member of null."); if (key != null && "__proto__".equals(key)) return setPrototype(ctx, obj, val); - if (obj instanceof ObjectValue) return object(obj).setMember(ctx, key, val, false); + if (obj instanceof ObjectValue) return ((ObjectValue)obj).setMember(ctx, key, val, obj, false); var proto = getPrototype(ctx, obj); return proto.setMember(ctx, key, val, obj, true); @@ -340,7 +342,7 @@ public class Values { public static ObjectValue getPrototype(Context ctx, Object obj) { if (obj == null || obj == NULL) return null; obj = normalize(ctx, obj); - if (obj instanceof ObjectValue) return object(obj).getPrototype(ctx); + if (obj instanceof ObjectValue) return ((ObjectValue)obj).getPrototype(ctx); if (ctx == null) return null; if (obj instanceof String) return ctx.get(Environment.STRING_PROTO); @@ -352,7 +354,12 @@ public class Values { } public static boolean setPrototype(Context ctx, Object obj, Object proto) { obj = normalize(ctx, obj); - return obj instanceof ObjectValue && object(obj).setPrototype(ctx, proto); + return obj instanceof ObjectValue && ((ObjectValue)obj).setPrototype(ctx, proto); + } + public static void makePrototypeChain(Context ctx, Object... chain) { + for(var i = 1; i < chain.length; i++) { + setPrototype(ctx, chain[i], chain[i - 1]); + } } public static List getMembers(Context ctx, Object obj, boolean own, boolean includeNonEnumerable) { List res = new ArrayList<>(); @@ -367,7 +374,7 @@ public class Values { while (proto != null) { res.addAll(proto.keys(includeNonEnumerable)); - proto = proto.getPrototype(ctx); + proto = getPrototype(ctx, proto); } } @@ -400,10 +407,10 @@ public class Values { var res = new ObjectValue(); try { var proto = Values.getMember(ctx, func, "prototype"); - res.setPrototype(ctx, proto); - + setPrototype(ctx, res, proto); + var ret = call(ctx, func, res, args); - + if (ret != null && func instanceof FunctionValue && ((FunctionValue)func).special) return ret; return res; } @@ -569,11 +576,11 @@ public class Values { private void loadNext() { if (next == null) value = null; else if (consumed) { - var curr = object(next.call(ctx, iterator)); + var curr = next.call(ctx, iterator); if (curr == null) { next = null; value = null; } - if (toBoolean(curr.getMember(ctx, "done"))) { next = null; value = null; } + if (toBoolean(Values.getMember(ctx, curr, "done"))) { next = null; value = null; } else { - this.value = curr.getMember(ctx, "value"); + this.value = Values.getMember(ctx, curr, "value"); consumed = false; } } @@ -658,104 +665,107 @@ public class Values { if (protoObj.values.size() + protoObj.properties.size() != 1) return false; return true; } - private static void printValue(Context ctx, Object val, HashSet passed, int tab) { - if (tab == 0 && val instanceof String) { - System.out.print(val); - return; - } + private static String toReadable(Context ctx, Object val, HashSet passed, int tab) { + if (tab == 0 && val instanceof String) return (String)val; - if (passed.contains(val)) { - System.out.print("[circular]"); - return; - } + if (passed.contains(val)) return "[circular]"; var printed = true; + var res = new StringBuilder(); if (val instanceof FunctionValue) { - System.out.print(val.toString()); + res.append(val.toString()); var loc = val instanceof CodeFunction ? ((CodeFunction)val).loc() : null; - if (loc != null) System.out.print(" @ " + loc); + if (loc != null) res.append(" @ " + loc); } else if (val instanceof ArrayValue) { - System.out.print("["); + res.append("["); var obj = ((ArrayValue)val); for (int i = 0; i < obj.size(); i++) { - if (i != 0) System.out.print(", "); - else System.out.print(" "); - if (obj.has(i)) printValue(ctx, obj.get(i), passed, tab); - else System.out.print(""); + if (i != 0) res.append(", "); + else res.append(" "); + if (obj.has(i)) res.append(toReadable(ctx, obj.get(i), passed, tab)); + else res.append(""); } - System.out.print(" ] "); + res.append(" ] "); } else if (val instanceof NativeWrapper) { var obj = ((NativeWrapper)val).wrapped; - System.out.print("Native " + obj.toString() + " "); + res.append("Native " + obj.toString() + " "); } else printed = false; if (val instanceof ObjectValue) { if (tab > 3) { - System.out.print("{...}"); - return; + return "{...}"; } + passed.add(val); var obj = (ObjectValue)val; if (obj.values.size() + obj.properties.size() == 0 || isEmptyFunc(obj)) { - if (!printed) System.out.println("{}"); + if (!printed) res.append("{}\n"); } else { - System.out.println("{"); + res.append("{\n"); for (var el : obj.values.entrySet()) { for (int i = 0; i < tab + 1; i++) System.out.print(" "); - printValue(ctx, el.getKey(), passed, tab + 1); - System.out.print(": "); - printValue(ctx, el.getValue(), passed, tab + 1); - System.out.println(","); + res.append(toReadable(ctx, el.getKey(), passed, tab + 1)); + res.append(": "); + res.append(toReadable(ctx, el.getValue(), passed, tab + 1)); + res.append(",\n"); } for (var el : obj.properties.entrySet()) { for (int i = 0; i < tab + 1; i++) System.out.print(" "); - printValue(ctx, el.getKey(), passed, tab + 1); - System.out.println(": [prop],"); + res.append(toReadable(ctx, el.getKey(), passed, tab + 1)); + res.append(": [prop],\n"); } - for (int i = 0; i < tab; i++) System.out.print(" "); - System.out.print("}"); - + for (int i = 0; i < tab; i++) res.append(" "); + res.append("}"); } passed.remove(val); } - else if (val == null) System.out.print("undefined"); - else if (val == Values.NULL) System.out.print("null"); - else if (val instanceof String) System.out.print("'" + val + "'"); - else System.out.print(Values.toString(ctx, val)); + else if (val == null) return "undefined"; + else if (val == Values.NULL) return "null"; + else if (val instanceof String) return "'" + val + "'"; + else return Values.toString(ctx, val); + + return res.toString(); + } + + public static String toReadable(Context ctx, Object val) { + return toReadable(ctx, val, new HashSet<>(), 0); + } + public static String errorToReadable(RuntimeException err, String prefix) { + prefix = prefix == null ? "Uncaught" : "Uncaught " + prefix; + if (err instanceof EngineException) { + var ee = ((EngineException)err); + try { + return prefix + " " + ee.toString(new Context(ee.engine, ee.env)); + } + catch (EngineException ex) { + return prefix + " " + toReadable(new Context(ee.engine, ee.env), ee.value); + } + } + else if (err instanceof SyntaxException) { + return prefix + " SyntaxError " + ((SyntaxException)err).msg; + } + else if (err.getCause() instanceof InterruptedException) return ""; + else { + var str = new ByteArrayOutputStream(); + err.printStackTrace(new PrintStream(str)); + + return prefix + " internal error " + str.toString(); + } } public static void printValue(Context ctx, Object val) { - printValue(ctx, val, new HashSet<>(), 0); + System.out.print(toReadable(ctx, val)); } public static void printError(RuntimeException err, String prefix) { - prefix = prefix == null ? "Uncaught" : "Uncaught " + prefix; - try { - if (err instanceof EngineException) { - var ee = ((EngineException)err); - System.out.println(prefix + " " + ee.toString(new Context(ee.engine, ee.env))); - } - else if (err instanceof SyntaxException) { - System.out.println("Syntax error:" + ((SyntaxException)err).msg); - } - else if (err.getCause() instanceof InterruptedException) return; - else { - System.out.println("Internal error ocurred:"); - err.printStackTrace(); - } - } - catch (EngineException ex) { - System.out.println("Uncaught "); - Values.printValue(null, ((EngineException)err).value); - System.out.println(); - } + System.out.println(errorToReadable(err, prefix)); } } diff --git a/src/me/topchetoeu/jscript/exceptions/ConvertException.java b/src/me/topchetoeu/jscript/core/exceptions/ConvertException.java similarity index 86% rename from src/me/topchetoeu/jscript/exceptions/ConvertException.java rename to src/me/topchetoeu/jscript/core/exceptions/ConvertException.java index 967bf7c..c640fe3 100644 --- a/src/me/topchetoeu/jscript/exceptions/ConvertException.java +++ b/src/me/topchetoeu/jscript/core/exceptions/ConvertException.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.exceptions; +package me.topchetoeu.jscript.core.exceptions; public class ConvertException extends RuntimeException { public final String source, target; diff --git a/src/me/topchetoeu/jscript/exceptions/EngineException.java b/src/me/topchetoeu/jscript/core/exceptions/EngineException.java similarity index 89% rename from src/me/topchetoeu/jscript/exceptions/EngineException.java rename to src/me/topchetoeu/jscript/core/exceptions/EngineException.java index 7ecd386..c383f35 100644 --- a/src/me/topchetoeu/jscript/exceptions/EngineException.java +++ b/src/me/topchetoeu/jscript/core/exceptions/EngineException.java @@ -1,16 +1,16 @@ -package me.topchetoeu.jscript.exceptions; +package me.topchetoeu.jscript.core.exceptions; import java.util.ArrayList; import java.util.List; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.Engine; -import me.topchetoeu.jscript.engine.Environment; -import me.topchetoeu.jscript.engine.debug.DebugContext; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.engine.values.ObjectValue.PlaceholderProto; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.Engine; +import me.topchetoeu.jscript.core.engine.Environment; +import me.topchetoeu.jscript.core.engine.debug.DebugContext; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.engine.values.ObjectValue.PlaceholderProto; public class EngineException extends RuntimeException { public static class StackElement { diff --git a/src/me/topchetoeu/jscript/exceptions/InterruptException.java b/src/me/topchetoeu/jscript/core/exceptions/InterruptException.java similarity index 78% rename from src/me/topchetoeu/jscript/exceptions/InterruptException.java rename to src/me/topchetoeu/jscript/core/exceptions/InterruptException.java index f198f49..b1000b5 100644 --- a/src/me/topchetoeu/jscript/exceptions/InterruptException.java +++ b/src/me/topchetoeu/jscript/core/exceptions/InterruptException.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.exceptions; +package me.topchetoeu.jscript.core.exceptions; public class InterruptException extends RuntimeException { public InterruptException() { } diff --git a/src/me/topchetoeu/jscript/exceptions/SyntaxException.java b/src/me/topchetoeu/jscript/core/exceptions/SyntaxException.java similarity index 76% rename from src/me/topchetoeu/jscript/exceptions/SyntaxException.java rename to src/me/topchetoeu/jscript/core/exceptions/SyntaxException.java index 3348cc8..d3e2717 100644 --- a/src/me/topchetoeu/jscript/exceptions/SyntaxException.java +++ b/src/me/topchetoeu/jscript/core/exceptions/SyntaxException.java @@ -1,6 +1,6 @@ -package me.topchetoeu.jscript.exceptions; +package me.topchetoeu.jscript.core.exceptions; -import me.topchetoeu.jscript.Location; +import me.topchetoeu.jscript.common.Location; public class SyntaxException extends RuntimeException { public final Location loc; diff --git a/src/me/topchetoeu/jscript/parsing/Operator.java b/src/me/topchetoeu/jscript/core/parsing/Operator.java similarity index 97% rename from src/me/topchetoeu/jscript/parsing/Operator.java rename to src/me/topchetoeu/jscript/core/parsing/Operator.java index 61187d4..5178ef1 100644 --- a/src/me/topchetoeu/jscript/parsing/Operator.java +++ b/src/me/topchetoeu/jscript/core/parsing/Operator.java @@ -1,9 +1,9 @@ -package me.topchetoeu.jscript.parsing; +package me.topchetoeu.jscript.core.parsing; import java.util.HashMap; import java.util.Map; -import me.topchetoeu.jscript.engine.Operation; +import me.topchetoeu.jscript.core.engine.Operation; public enum Operator { MULTIPLY("*", Operation.MULTIPLY, 13), diff --git a/src/me/topchetoeu/jscript/parsing/ParseRes.java b/src/me/topchetoeu/jscript/core/parsing/ParseRes.java similarity index 95% rename from src/me/topchetoeu/jscript/parsing/ParseRes.java rename to src/me/topchetoeu/jscript/core/parsing/ParseRes.java index e69f04e..8fc9a08 100644 --- a/src/me/topchetoeu/jscript/parsing/ParseRes.java +++ b/src/me/topchetoeu/jscript/core/parsing/ParseRes.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.parsing; +package me.topchetoeu.jscript.core.parsing; import java.util.List; import java.util.Map; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.parsing.Parsing.Parser; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.parsing.Parsing.Parser; public class ParseRes { public static enum State { diff --git a/src/me/topchetoeu/jscript/parsing/Parsing.java b/src/me/topchetoeu/jscript/core/parsing/Parsing.java similarity index 99% rename from src/me/topchetoeu/jscript/parsing/Parsing.java rename to src/me/topchetoeu/jscript/core/parsing/Parsing.java index 1053225..68ad849 100644 --- a/src/me/topchetoeu/jscript/parsing/Parsing.java +++ b/src/me/topchetoeu/jscript/core/parsing/Parsing.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.parsing; +package me.topchetoeu.jscript.core.parsing; import java.util.ArrayList; import java.util.Collection; @@ -8,19 +8,19 @@ import java.util.LinkedHashMap; import java.util.List; import java.util.TreeSet; -import me.topchetoeu.jscript.Filename; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.compilation.*; -import me.topchetoeu.jscript.compilation.VariableDeclareStatement.Pair; -import me.topchetoeu.jscript.compilation.control.*; -import me.topchetoeu.jscript.compilation.control.SwitchStatement.SwitchCase; -import me.topchetoeu.jscript.compilation.values.*; -import me.topchetoeu.jscript.engine.Environment; -import me.topchetoeu.jscript.engine.Operation; -import me.topchetoeu.jscript.engine.scope.LocalScopeRecord; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.SyntaxException; -import me.topchetoeu.jscript.parsing.ParseRes.State; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.compilation.*; +import me.topchetoeu.jscript.core.compilation.VariableDeclareStatement.Pair; +import me.topchetoeu.jscript.core.compilation.control.*; +import me.topchetoeu.jscript.core.compilation.control.SwitchStatement.SwitchCase; +import me.topchetoeu.jscript.core.compilation.values.*; +import me.topchetoeu.jscript.core.engine.Environment; +import me.topchetoeu.jscript.core.engine.Operation; +import me.topchetoeu.jscript.core.engine.scope.LocalScopeRecord; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.SyntaxException; +import me.topchetoeu.jscript.core.parsing.ParseRes.State; // TODO: this has to be rewritten public class Parsing { diff --git a/src/me/topchetoeu/jscript/parsing/RawToken.java b/src/me/topchetoeu/jscript/core/parsing/RawToken.java similarity index 88% rename from src/me/topchetoeu/jscript/parsing/RawToken.java rename to src/me/topchetoeu/jscript/core/parsing/RawToken.java index 22b4791..0724910 100644 --- a/src/me/topchetoeu/jscript/parsing/RawToken.java +++ b/src/me/topchetoeu/jscript/core/parsing/RawToken.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.parsing; +package me.topchetoeu.jscript.core.parsing; public class RawToken { public final String value; diff --git a/src/me/topchetoeu/jscript/parsing/TestRes.java b/src/me/topchetoeu/jscript/core/parsing/TestRes.java similarity index 90% rename from src/me/topchetoeu/jscript/parsing/TestRes.java rename to src/me/topchetoeu/jscript/core/parsing/TestRes.java index 659c581..862e009 100644 --- a/src/me/topchetoeu/jscript/parsing/TestRes.java +++ b/src/me/topchetoeu/jscript/core/parsing/TestRes.java @@ -1,7 +1,7 @@ -package me.topchetoeu.jscript.parsing; +package me.topchetoeu.jscript.core.parsing; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.parsing.ParseRes.State; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.parsing.ParseRes.State; public class TestRes { public final State state; diff --git a/src/me/topchetoeu/jscript/parsing/Token.java b/src/me/topchetoeu/jscript/core/parsing/Token.java similarity index 97% rename from src/me/topchetoeu/jscript/parsing/Token.java rename to src/me/topchetoeu/jscript/core/parsing/Token.java index 9c1a8cf..af099ea 100644 --- a/src/me/topchetoeu/jscript/parsing/Token.java +++ b/src/me/topchetoeu/jscript/core/parsing/Token.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.parsing; +package me.topchetoeu.jscript.core.parsing; public class Token { public final Object value; diff --git a/src/me/topchetoeu/jscript/parsing/TokenType.java b/src/me/topchetoeu/jscript/core/parsing/TokenType.java similarity index 64% rename from src/me/topchetoeu/jscript/parsing/TokenType.java rename to src/me/topchetoeu/jscript/core/parsing/TokenType.java index 78a10a6..db7d067 100644 --- a/src/me/topchetoeu/jscript/parsing/TokenType.java +++ b/src/me/topchetoeu/jscript/core/parsing/TokenType.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.parsing; +package me.topchetoeu.jscript.core.parsing; enum TokenType { REGEX, diff --git a/src/me/topchetoeu/jscript/engine/ExtensionStack.java b/src/me/topchetoeu/jscript/engine/ExtensionStack.java deleted file mode 100644 index 336e903..0000000 --- a/src/me/topchetoeu/jscript/engine/ExtensionStack.java +++ /dev/null @@ -1,39 +0,0 @@ -package me.topchetoeu.jscript.engine; - -import me.topchetoeu.jscript.engine.values.Symbol; - -public abstract class ExtensionStack implements Extensions { - protected abstract Extensions[] extensionStack(); - - @Override public void add(Symbol key, T obj) { - for (var el : extensionStack()) { - if (el != null) { - el.add(key, obj); - return; - } - } - } - @Override public T get(Symbol key) { - for (var el : extensionStack()) { - if (el != null && el.has(key)) return el.get(key); - } - - return null; - } - @Override public boolean has(Symbol key) { - for (var el : extensionStack()) { - if (el != null && el.has(key)) return true; - } - - return false; - } - @Override public boolean remove(Symbol key) { - var anyRemoved = false; - - for (var el : extensionStack()) { - if (el != null) anyRemoved &= el.remove(key); - } - - return anyRemoved; - } -} diff --git a/src/me/topchetoeu/jscript/engine/WrappersProvider.java b/src/me/topchetoeu/jscript/engine/WrappersProvider.java deleted file mode 100644 index d17a9fe..0000000 --- a/src/me/topchetoeu/jscript/engine/WrappersProvider.java +++ /dev/null @@ -1,12 +0,0 @@ -package me.topchetoeu.jscript.engine; - -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.ObjectValue; - -public interface WrappersProvider { - public ObjectValue getProto(Class obj); - public ObjectValue getNamespace(Class obj); - public FunctionValue getConstr(Class obj); - - public WrappersProvider fork(Environment env); -} diff --git a/src/me/topchetoeu/jscript/engine/frame/InstructionResult.java b/src/me/topchetoeu/jscript/engine/frame/InstructionResult.java deleted file mode 100644 index c6d0be5..0000000 --- a/src/me/topchetoeu/jscript/engine/frame/InstructionResult.java +++ /dev/null @@ -1,9 +0,0 @@ -package me.topchetoeu.jscript.engine.frame; - -public class InstructionResult { - public final Object value; - - public InstructionResult(Object value) { - this.value = value; - } -} diff --git a/src/me/topchetoeu/jscript/lib/ArrayLib.java b/src/me/topchetoeu/jscript/lib/ArrayLib.java index ac9ff39..5117d85 100644 --- a/src/me/topchetoeu/jscript/lib/ArrayLib.java +++ b/src/me/topchetoeu/jscript/lib/ArrayLib.java @@ -3,17 +3,17 @@ package me.topchetoeu.jscript.lib; import java.util.Iterator; import java.util.Stack; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.NativeFunction; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.ExposeType; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.NativeFunction; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.ExposeType; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Array") public class ArrayLib { diff --git a/src/me/topchetoeu/jscript/lib/AsyncFunctionLib.java b/src/me/topchetoeu/jscript/lib/AsyncFunctionLib.java index 1814e5d..c12924f 100644 --- a/src/me/topchetoeu/jscript/lib/AsyncFunctionLib.java +++ b/src/me/topchetoeu/jscript/lib/AsyncFunctionLib.java @@ -1,15 +1,15 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.frame.CodeFrame; -import me.topchetoeu.jscript.engine.values.CodeFunction; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.NativeFunction; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.frame.CodeFrame; +import me.topchetoeu.jscript.core.engine.values.CodeFunction; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.NativeFunction; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; import me.topchetoeu.jscript.lib.PromiseLib.Handle; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("AsyncFunction") public class AsyncFunctionLib extends FunctionValue { diff --git a/src/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java b/src/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java index f4bdc46..ea07505 100644 --- a/src/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java +++ b/src/me/topchetoeu/jscript/lib/AsyncGeneratorFunctionLib.java @@ -1,12 +1,12 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.frame.CodeFrame; -import me.topchetoeu.jscript.engine.values.CodeFunction; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.NativeFunction; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.frame.CodeFrame; +import me.topchetoeu.jscript.core.engine.values.CodeFunction; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.NativeFunction; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("AsyncGeneratorFunction") public class AsyncGeneratorFunctionLib extends FunctionValue { diff --git a/src/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java b/src/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java index d53ece1..33e6097 100644 --- a/src/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java +++ b/src/me/topchetoeu/jscript/lib/AsyncGeneratorLib.java @@ -2,15 +2,15 @@ package me.topchetoeu.jscript.lib; import java.util.Map; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.frame.CodeFrame; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.frame.CodeFrame; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; import me.topchetoeu.jscript.lib.PromiseLib.Handle; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("AsyncGenerator") public class AsyncGeneratorLib { diff --git a/src/me/topchetoeu/jscript/lib/BooleanLib.java b/src/me/topchetoeu/jscript/lib/BooleanLib.java index 15b58fd..fc751ba 100644 --- a/src/me/topchetoeu/jscript/lib/BooleanLib.java +++ b/src/me/topchetoeu/jscript/lib/BooleanLib.java @@ -1,11 +1,11 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Boolean") public class BooleanLib { diff --git a/src/me/topchetoeu/jscript/lib/DateLib.java b/src/me/topchetoeu/jscript/lib/DateLib.java index 9acc8a2..b4b5082 100644 --- a/src/me/topchetoeu/jscript/lib/DateLib.java +++ b/src/me/topchetoeu/jscript/lib/DateLib.java @@ -4,11 +4,11 @@ import java.util.Calendar; import java.util.Date; import java.util.TimeZone; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Date") public class DateLib { diff --git a/src/me/topchetoeu/jscript/lib/EncodingLib.java b/src/me/topchetoeu/jscript/lib/EncodingLib.java index 2bbbcb6..4601bf7 100644 --- a/src/me/topchetoeu/jscript/lib/EncodingLib.java +++ b/src/me/topchetoeu/jscript/lib/EncodingLib.java @@ -2,15 +2,15 @@ package me.topchetoeu.jscript.lib; import java.util.ArrayList; -import me.topchetoeu.jscript.Buffer; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.WrapperName; -import me.topchetoeu.jscript.parsing.Parsing; +import me.topchetoeu.jscript.common.Buffer; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.core.parsing.Parsing; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Encoding") public class EncodingLib { diff --git a/src/me/topchetoeu/jscript/lib/EnvironmentLib.java b/src/me/topchetoeu/jscript/lib/EnvironmentLib.java index d524529..229b58c 100644 --- a/src/me/topchetoeu/jscript/lib/EnvironmentLib.java +++ b/src/me/topchetoeu/jscript/lib/EnvironmentLib.java @@ -1,12 +1,12 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.Environment; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeType; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.Environment; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeType; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Environment") public class EnvironmentLib { diff --git a/src/me/topchetoeu/jscript/lib/ErrorLib.java b/src/me/topchetoeu/jscript/lib/ErrorLib.java index c21e8c2..f0514ed 100644 --- a/src/me/topchetoeu/jscript/lib/ErrorLib.java +++ b/src/me/topchetoeu/jscript/lib/ErrorLib.java @@ -1,15 +1,15 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.engine.values.ObjectValue.PlaceholderProto; -import me.topchetoeu.jscript.exceptions.ConvertException; -import me.topchetoeu.jscript.interop.WrapperName; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeField; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.engine.values.ObjectValue.PlaceholderProto; +import me.topchetoeu.jscript.core.exceptions.ConvertException; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeField; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Error") public class ErrorLib { diff --git a/src/me/topchetoeu/jscript/lib/FileLib.java b/src/me/topchetoeu/jscript/lib/FileLib.java index 08d52b2..02b31f5 100644 --- a/src/me/topchetoeu/jscript/lib/FileLib.java +++ b/src/me/topchetoeu/jscript/lib/FileLib.java @@ -1,12 +1,12 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.filesystem.File; -import me.topchetoeu.jscript.filesystem.FilesystemException; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.utils.filesystem.File; +import me.topchetoeu.jscript.utils.filesystem.FilesystemException; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("File") public class FileLib { diff --git a/src/me/topchetoeu/jscript/lib/FilesystemLib.java b/src/me/topchetoeu/jscript/lib/FilesystemLib.java index 59f7b03..e3eddb4 100644 --- a/src/me/topchetoeu/jscript/lib/FilesystemLib.java +++ b/src/me/topchetoeu/jscript/lib/FilesystemLib.java @@ -4,22 +4,22 @@ import java.io.IOException; import java.util.Iterator; import java.util.Stack; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.filesystem.EntryType; -import me.topchetoeu.jscript.filesystem.File; -import me.topchetoeu.jscript.filesystem.FileStat; -import me.topchetoeu.jscript.filesystem.Filesystem; -import me.topchetoeu.jscript.filesystem.FilesystemException; -import me.topchetoeu.jscript.filesystem.Mode; -import me.topchetoeu.jscript.filesystem.FilesystemException.FSCode; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeField; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.utils.filesystem.EntryType; +import me.topchetoeu.jscript.utils.filesystem.File; +import me.topchetoeu.jscript.utils.filesystem.FileStat; +import me.topchetoeu.jscript.utils.filesystem.Filesystem; +import me.topchetoeu.jscript.utils.filesystem.FilesystemException; +import me.topchetoeu.jscript.utils.filesystem.Mode; +import me.topchetoeu.jscript.utils.filesystem.FilesystemException.FSCode; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeField; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Filesystem") public class FilesystemLib { diff --git a/src/me/topchetoeu/jscript/lib/FunctionLib.java b/src/me/topchetoeu/jscript/lib/FunctionLib.java index 7d42754..af52e64 100644 --- a/src/me/topchetoeu/jscript/lib/FunctionLib.java +++ b/src/me/topchetoeu/jscript/lib/FunctionLib.java @@ -1,14 +1,14 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.CodeFunction; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.NativeFunction; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.CodeFunction; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.NativeFunction; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Function") public class FunctionLib { diff --git a/src/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java b/src/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java index e8a07f6..718b536 100644 --- a/src/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java +++ b/src/me/topchetoeu/jscript/lib/GeneratorFunctionLib.java @@ -1,12 +1,12 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.frame.CodeFrame; -import me.topchetoeu.jscript.engine.values.CodeFunction; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.NativeFunction; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.frame.CodeFrame; +import me.topchetoeu.jscript.core.engine.values.CodeFunction; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.NativeFunction; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("GeneratorFunction") public class GeneratorFunctionLib extends FunctionValue { diff --git a/src/me/topchetoeu/jscript/lib/GeneratorLib.java b/src/me/topchetoeu/jscript/lib/GeneratorLib.java index 3e3219b..8dd1c22 100644 --- a/src/me/topchetoeu/jscript/lib/GeneratorLib.java +++ b/src/me/topchetoeu/jscript/lib/GeneratorLib.java @@ -1,13 +1,13 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.frame.CodeFrame; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.frame.CodeFrame; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Generator") public class GeneratorLib { diff --git a/src/me/topchetoeu/jscript/lib/Internals.java b/src/me/topchetoeu/jscript/lib/Internals.java index 88a220b..3e61832 100644 --- a/src/me/topchetoeu/jscript/lib/Internals.java +++ b/src/me/topchetoeu/jscript/lib/Internals.java @@ -3,18 +3,19 @@ package me.topchetoeu.jscript.lib; import java.io.IOException; import java.util.HashMap; -import me.topchetoeu.jscript.Reading; -import me.topchetoeu.jscript.engine.Environment; -import me.topchetoeu.jscript.engine.scope.GlobalScope; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.Symbol; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeField; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.modules.ModuleRepo; +import me.topchetoeu.jscript.common.Reading; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.Environment; +import me.topchetoeu.jscript.core.engine.scope.GlobalScope; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.Symbol; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeField; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.modules.ModuleRepo; public class Internals { private static final Symbol THREADS = new Symbol("Internals.threads"); @@ -208,7 +209,7 @@ public class Internals { env.add(Environment.TYPE_ERR_PROTO, wp.getProto(TypeErrorLib.class)); env.add(Environment.RANGE_ERR_PROTO, wp.getProto(RangeErrorLib.class)); - wp.getProto(ObjectLib.class).setPrototype(null, null); + Values.setPrototype(Context.NULL, wp.getProto(ObjectLib.class), null); env.add(Environment.REGEX_CONSTR, wp.getConstr(RegExpLib.class)); return env; diff --git a/src/me/topchetoeu/jscript/lib/JSONLib.java b/src/me/topchetoeu/jscript/lib/JSONLib.java index 1cd0118..d6abb60 100644 --- a/src/me/topchetoeu/jscript/lib/JSONLib.java +++ b/src/me/topchetoeu/jscript/lib/JSONLib.java @@ -1,12 +1,12 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.exceptions.SyntaxException; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.WrapperName; -import me.topchetoeu.jscript.json.JSON; +import me.topchetoeu.jscript.common.json.JSON; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.core.exceptions.SyntaxException; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("JSON") public class JSONLib { diff --git a/src/me/topchetoeu/jscript/lib/MapLib.java b/src/me/topchetoeu/jscript/lib/MapLib.java index 144ee0a..4be3bcc 100644 --- a/src/me/topchetoeu/jscript/lib/MapLib.java +++ b/src/me/topchetoeu/jscript/lib/MapLib.java @@ -4,15 +4,15 @@ import java.util.ArrayList; import java.util.LinkedHashMap; import java.util.stream.Collectors; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeType; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeType; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Map") public class MapLib { diff --git a/src/me/topchetoeu/jscript/lib/MathLib.java b/src/me/topchetoeu/jscript/lib/MathLib.java index d741127..a0b5d53 100644 --- a/src/me/topchetoeu/jscript/lib/MathLib.java +++ b/src/me/topchetoeu/jscript/lib/MathLib.java @@ -1,10 +1,10 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeField; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeField; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Math") public class MathLib { diff --git a/src/me/topchetoeu/jscript/lib/NumberLib.java b/src/me/topchetoeu/jscript/lib/NumberLib.java index a3d7e21..8725012 100644 --- a/src/me/topchetoeu/jscript/lib/NumberLib.java +++ b/src/me/topchetoeu/jscript/lib/NumberLib.java @@ -1,13 +1,13 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeField; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeField; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Number") public class NumberLib { diff --git a/src/me/topchetoeu/jscript/lib/ObjectLib.java b/src/me/topchetoeu/jscript/lib/ObjectLib.java index 112da5a..9030e4f 100644 --- a/src/me/topchetoeu/jscript/lib/ObjectLib.java +++ b/src/me/topchetoeu/jscript/lib/ObjectLib.java @@ -1,16 +1,16 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Symbol; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Symbol; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Object") public class ObjectLib { @@ -26,7 +26,7 @@ public class ObjectLib { @Expose(target = ExposeTarget.STATIC) public static ObjectValue __create(Arguments args) { var obj = new ObjectValue(); - obj.setPrototype(args.ctx, args.get(0)); + Values.setPrototype(args.ctx, obj, args.get(0)); if (args.n() >= 1) { var newArgs = new Object[args.n()]; @@ -53,7 +53,7 @@ public class ObjectLib { if (hasGet || hasSet) throw EngineException.ofType("Cannot specify a value and accessors for a property."); if (!obj.defineProperty( args.ctx, key, - attrib.getMember(args.ctx, "value"), + Values.getMember(args.ctx, attrib, "value"), Values.toBoolean(Values.getMember(args.ctx, attrib, "writable")), Values.toBoolean(Values.getMember(args.ctx, attrib, "configurable")), Values.toBoolean(Values.getMember(args.ctx, attrib, "enumerable")) diff --git a/src/me/topchetoeu/jscript/lib/PromiseLib.java b/src/me/topchetoeu/jscript/lib/PromiseLib.java index f9055a4..759bdbe 100644 --- a/src/me/topchetoeu/jscript/lib/PromiseLib.java +++ b/src/me/topchetoeu/jscript/lib/PromiseLib.java @@ -3,20 +3,20 @@ package me.topchetoeu.jscript.lib; import java.util.ArrayList; import java.util.List; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.EventLoop; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.NativeFunction; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.WrapperName; -import me.topchetoeu.jscript.ResultRunnable; +import me.topchetoeu.jscript.common.ResultRunnable; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.EventLoop; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.NativeFunction; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Promise") public class PromiseLib { diff --git a/src/me/topchetoeu/jscript/lib/RangeErrorLib.java b/src/me/topchetoeu/jscript/lib/RangeErrorLib.java index 906c826..850849f 100644 --- a/src/me/topchetoeu/jscript/lib/RangeErrorLib.java +++ b/src/me/topchetoeu/jscript/lib/RangeErrorLib.java @@ -1,11 +1,11 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.ObjectValue.PlaceholderProto; -import me.topchetoeu.jscript.interop.WrapperName; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeField; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.ObjectValue.PlaceholderProto; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeField; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("RangeError") public class RangeErrorLib extends ErrorLib { diff --git a/src/me/topchetoeu/jscript/lib/RegExpLib.java b/src/me/topchetoeu/jscript/lib/RegExpLib.java index 64c5b1d..dfd5175 100644 --- a/src/me/topchetoeu/jscript/lib/RegExpLib.java +++ b/src/me/topchetoeu/jscript/lib/RegExpLib.java @@ -4,18 +4,18 @@ import java.util.ArrayList; import java.util.Iterator; import java.util.regex.Pattern; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.NativeWrapper; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.ExposeType; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.NativeWrapper; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.ExposeType; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("RegExp") public class RegExpLib { diff --git a/src/me/topchetoeu/jscript/lib/SetLib.java b/src/me/topchetoeu/jscript/lib/SetLib.java index 5cbc2ea..bd0bed9 100644 --- a/src/me/topchetoeu/jscript/lib/SetLib.java +++ b/src/me/topchetoeu/jscript/lib/SetLib.java @@ -4,15 +4,15 @@ import java.util.ArrayList; import java.util.LinkedHashSet; import java.util.stream.Collectors; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeType; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeType; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Set") public class SetLib { diff --git a/src/me/topchetoeu/jscript/lib/StringLib.java b/src/me/topchetoeu/jscript/lib/StringLib.java index 40d5941..fa51e19 100644 --- a/src/me/topchetoeu/jscript/lib/StringLib.java +++ b/src/me/topchetoeu/jscript/lib/StringLib.java @@ -2,19 +2,19 @@ package me.topchetoeu.jscript.lib; import java.util.regex.Pattern; -import me.topchetoeu.jscript.engine.Environment; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Symbol; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.ExposeType; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.Environment; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Symbol; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.ExposeType; +import me.topchetoeu.jscript.utils.interop.WrapperName; // TODO: implement index wrapping properly @WrapperName("String") diff --git a/src/me/topchetoeu/jscript/lib/SymbolLib.java b/src/me/topchetoeu/jscript/lib/SymbolLib.java index d182108..bd83c3d 100644 --- a/src/me/topchetoeu/jscript/lib/SymbolLib.java +++ b/src/me/topchetoeu/jscript/lib/SymbolLib.java @@ -3,16 +3,16 @@ package me.topchetoeu.jscript.lib; import java.util.HashMap; import java.util.Map; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Symbol; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.Expose; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeField; -import me.topchetoeu.jscript.interop.ExposeTarget; -import me.topchetoeu.jscript.interop.WrapperName; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Symbol; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.Expose; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeField; +import me.topchetoeu.jscript.utils.interop.ExposeTarget; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("Symbol") public class SymbolLib { diff --git a/src/me/topchetoeu/jscript/lib/SyntaxErrorLib.java b/src/me/topchetoeu/jscript/lib/SyntaxErrorLib.java index 2ca77ee..bd2f042 100644 --- a/src/me/topchetoeu/jscript/lib/SyntaxErrorLib.java +++ b/src/me/topchetoeu/jscript/lib/SyntaxErrorLib.java @@ -1,11 +1,11 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.ObjectValue.PlaceholderProto; -import me.topchetoeu.jscript.interop.WrapperName; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeField; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.ObjectValue.PlaceholderProto; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeField; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("SyntaxError") public class SyntaxErrorLib extends ErrorLib { diff --git a/src/me/topchetoeu/jscript/lib/TypeErrorLib.java b/src/me/topchetoeu/jscript/lib/TypeErrorLib.java index d8fd623..02d5039 100644 --- a/src/me/topchetoeu/jscript/lib/TypeErrorLib.java +++ b/src/me/topchetoeu/jscript/lib/TypeErrorLib.java @@ -1,11 +1,11 @@ package me.topchetoeu.jscript.lib; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.ObjectValue.PlaceholderProto; -import me.topchetoeu.jscript.interop.WrapperName; -import me.topchetoeu.jscript.interop.Arguments; -import me.topchetoeu.jscript.interop.ExposeConstructor; -import me.topchetoeu.jscript.interop.ExposeField; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.ObjectValue.PlaceholderProto; +import me.topchetoeu.jscript.utils.interop.Arguments; +import me.topchetoeu.jscript.utils.interop.ExposeConstructor; +import me.topchetoeu.jscript.utils.interop.ExposeField; +import me.topchetoeu.jscript.utils.interop.WrapperName; @WrapperName("TypeError") public class TypeErrorLib extends ErrorLib { diff --git a/src/me/topchetoeu/jscript/Main.java b/src/me/topchetoeu/jscript/utils/JScriptRepl.java similarity index 74% rename from src/me/topchetoeu/jscript/Main.java rename to src/me/topchetoeu/jscript/utils/JScriptRepl.java index 8a7edf4..5e22fbb 100644 --- a/src/me/topchetoeu/jscript/Main.java +++ b/src/me/topchetoeu/jscript/utils/JScriptRepl.java @@ -1,35 +1,38 @@ -package me.topchetoeu.jscript; +package me.topchetoeu.jscript.utils; import java.io.IOException; import java.net.InetSocketAddress; import java.nio.file.Files; import java.nio.file.Path; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.Engine; -import me.topchetoeu.jscript.engine.Environment; -import me.topchetoeu.jscript.engine.debug.DebugContext; -import me.topchetoeu.jscript.engine.debug.DebugServer; -import me.topchetoeu.jscript.engine.debug.SimpleDebugger; -import me.topchetoeu.jscript.engine.values.ArrayValue; -import me.topchetoeu.jscript.engine.values.NativeFunction; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.exceptions.InterruptException; -import me.topchetoeu.jscript.exceptions.SyntaxException; -import me.topchetoeu.jscript.filesystem.Filesystem; -import me.topchetoeu.jscript.filesystem.MemoryFilesystem; -import me.topchetoeu.jscript.filesystem.Mode; -import me.topchetoeu.jscript.filesystem.PhysicalFilesystem; -import me.topchetoeu.jscript.filesystem.RootFilesystem; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.common.Metadata; +import me.topchetoeu.jscript.common.Reading; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.Engine; +import me.topchetoeu.jscript.core.engine.Environment; +import me.topchetoeu.jscript.core.engine.debug.DebugContext; +import me.topchetoeu.jscript.core.engine.debug.DebugServer; +import me.topchetoeu.jscript.core.engine.debug.SimpleDebugger; +import me.topchetoeu.jscript.core.engine.values.ArrayValue; +import me.topchetoeu.jscript.core.engine.values.NativeFunction; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.core.exceptions.InterruptException; +import me.topchetoeu.jscript.core.exceptions.SyntaxException; import me.topchetoeu.jscript.lib.EnvironmentLib; import me.topchetoeu.jscript.lib.Internals; -import me.topchetoeu.jscript.modules.ModuleRepo; -import me.topchetoeu.jscript.permissions.PermissionsManager; -import me.topchetoeu.jscript.permissions.PermissionsProvider; +import me.topchetoeu.jscript.utils.filesystem.Filesystem; +import me.topchetoeu.jscript.utils.filesystem.MemoryFilesystem; +import me.topchetoeu.jscript.utils.filesystem.Mode; +import me.topchetoeu.jscript.utils.filesystem.PhysicalFilesystem; +import me.topchetoeu.jscript.utils.filesystem.RootFilesystem; +import me.topchetoeu.jscript.utils.modules.ModuleRepo; +import me.topchetoeu.jscript.utils.permissions.PermissionsManager; +import me.topchetoeu.jscript.utils.permissions.PermissionsProvider; -public class Main { +public class JScriptRepl { static Thread engineTask, debugTask; static Engine engine = new Engine(); static DebugServer debugServer = new DebugServer(); @@ -135,16 +138,16 @@ public class Main { engine.pushMsg( false, tsEnv, new Filename("jscript", "ts.js"), - Reading.resourceToString("assets/js/ts.js"), null + Reading.resourceToString("me/topchetoeu/jscript/utils/assets/js/ts.js"), null ).await(); System.out.println("Loaded typescript!"); var typescript = tsEnv.global.get(new Context(engine, bsEnv), "ts"); - var libs = new ArrayValue(null, Reading.resourceToString("assets/js/lib.d.ts")); + var libs = new ArrayValue(null, Reading.resourceToString("me/topchetoeu/jscript/utils/assets/js/lib.d.ts")); engine.pushMsg( false, bsEnv, - new Filename("jscript", "bootstrap.js"), Reading.resourceToString("assets/js/bootstrap.js"), null, + new Filename("jscript", "bootstrap.js"), Reading.resourceToString("me/topchetoeu/jscript/utils/assets/js/bootstrap.js"), null, typescript, new EnvironmentLib(environment), libs ).await(); } @@ -159,8 +162,8 @@ public class Main { public static void main(String args[]) { System.out.println(String.format("Running %s v%s by %s", Metadata.name(), Metadata.version(), Metadata.author())); - Main.args = args; - var reader = new Thread(Main::reader); + JScriptRepl.args = args; + var reader = new Thread(JScriptRepl::reader); initEnv(); initEngine(); diff --git a/src/assets/debugger/favicon.png b/src/me/topchetoeu/jscript/utils/assets/debugger/favicon.png similarity index 100% rename from src/assets/debugger/favicon.png rename to src/me/topchetoeu/jscript/utils/assets/debugger/favicon.png diff --git a/src/assets/debugger/index.html b/src/me/topchetoeu/jscript/utils/assets/debugger/index.html similarity index 100% rename from src/assets/debugger/index.html rename to src/me/topchetoeu/jscript/utils/assets/debugger/index.html diff --git a/src/assets/debugger/protocol.json b/src/me/topchetoeu/jscript/utils/assets/debugger/protocol.json similarity index 100% rename from src/assets/debugger/protocol.json rename to src/me/topchetoeu/jscript/utils/assets/debugger/protocol.json diff --git a/src/assets/js/bootstrap.js b/src/me/topchetoeu/jscript/utils/assets/js/bootstrap.js similarity index 100% rename from src/assets/js/bootstrap.js rename to src/me/topchetoeu/jscript/utils/assets/js/bootstrap.js diff --git a/src/assets/js/lib.d.ts b/src/me/topchetoeu/jscript/utils/assets/js/lib.d.ts similarity index 100% rename from src/assets/js/lib.d.ts rename to src/me/topchetoeu/jscript/utils/assets/js/lib.d.ts diff --git a/src/me/topchetoeu/jscript/utils/assets/js/ts.js b/src/me/topchetoeu/jscript/utils/assets/js/ts.js new file mode 100644 index 0000000..a99688e --- /dev/null +++ b/src/me/topchetoeu/jscript/utils/assets/js/ts.js @@ -0,0 +1,18 @@ + +/*! ***************************************************************************** +Copyright (c) Microsoft Corporation. All rights reserved. +Licensed under the Apache License, Version 2.0 (the "License"); you may not use +this file except in compliance with the License. You may obtain a copy of the +License at http://www.apache.org/licenses/LICENSE-2.0 + +THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED +WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, +MERCHANTABLITY OR NON-INFRINGEMENT. + +See the Apache Version 2.0 License for specific language governing permissions +and limitations under the License. + +The following is a minified version of the unmodified Typescript 5.2 +***************************************************************************** */ +"use strict";var __makeTemplateObject=this&&this.__makeTemplateObject||function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__extends=this&&this.__extends||function(){var r=function(e,t){return(r=Object.setPrototypeOf||({__proto__:[]}instanceof Array?function(e,t){e.__proto__=t}:function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}))(e,t)};return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}}(),__assign=this&&this.__assign||function(){return(__assign=Object.assign||function(e){for(var t,n=1,r=arguments.length;ns[0]&&t[1]=e.length?void 0:e)&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")},__read=this&&this.__read||function(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,i,a=n.call(e),o=[];try{for(;(void 0===t||0>1);switch(r(n(e[s],s),t)){case-1:a=s+1;break;case 0:return s;case 1:o=s-1}}return~a}function WT(e,t,n,r,i){if(e&&0n.length>>1&&(e=n.length-r,n.copyWithin(0,r),n.length=e,r=0),t},isEmpty:i}}function ae(s,c){var e,_=new Map,i=0;function o(){var t,n,r,i,a;return __generator(this,function(e){switch(e.label){case 0:e.trys.push([0,7,8,9]),t=__values(_.values()),n=t.next(),e.label=1;case 1:return n.done?[3,6]:$T(r=n.value)?[5,__values(r)]:[3,3];case 2:return e.sent(),[3,5];case 3:return[4,r];case 4:e.sent(),e.label=5;case 5:return n=t.next(),[3,1];case 6:return[3,9];case 7:return i=e.sent(),i={error:i},[3,9];case 8:try{n&&!n.done&&(a=t.return)&&a.call(t)}finally{if(i)throw i.error}return[7];case 9:return[2]}})}(e={has:function(e){var t,n,r=s(e);if(_.has(r)){r=_.get(r);if(!$T(r))return c(r,e);try{for(var i=__values(r),a=i.next();!a.done;a=i.next()){var o=a.value;if(c(o,e))return!0}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}return!1},add:function(e){var t,n=s(e);return _.has(n)?$T(t=_.get(n))?xT(t,e,c)||(t.push(e),i++):c(t=t,e)||(_.set(n,[t,e]),i++):(_.set(n,e),i++),this},delete:function(e){var t=s(e);if(_.has(t)){var n=_.get(t);if($T(n)){for(var r=0;rn+o?n+o:t.length),l=i[0]=o,_=1;_o&&(o=l.prefix.length,a=u)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return a}function u4(e,t){return 0===e.lastIndexOf(t,0)}function l4(e,t){return u4(e,t)?e.substr(t.length):e}function Oe(e,t,n){return u4((n=void 0===n?Cn:n)(e),n(t))?e.substring(t.length):void 0}function Le(e,t){var n=e.prefix,e=e.suffix;return t.length>=n.length+e.length&&u4(t,n)&&a4(t,e)}function _4(t,n){return function(e){return t(e)&&n(e)}}function d4(){for(var s=[],e=0;e=o.level&&(s[a]=o,u[a]=void 0)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},s.shouldAssert=i,s.fail=o,s.failBadSyntaxKind=function e(t,n,r){return o("".concat(n||"Unexpected node.","\r\nNode ").concat(y(t.kind)," was unexpected."),r||e)},s.assert=l,s.assertEqual=function e(t,n,r,i,a){t!==n&&(i=r?i?"".concat(r," ").concat(i):r:"",o("Expected ".concat(t," === ").concat(n,". ").concat(i),a||e))},s.assertLessThan=function e(t,n,r,i){n<=t&&o("Expected ".concat(t," < ").concat(n,". ").concat(r||""),i||e)},s.assertLessThanOrEqual=function e(t,n,r){n= ").concat(n),r||e)},s.assertIsDefined=_,s.checkDefined=function e(t,n,r){return _(t,n,r||e),t},s.assertEachIsDefined=d,s.checkEachDefined=function e(t,n,r){return d(t,n,r||e),t},s.assertNever=f,s.assertEachNode=function e(t,n,r,i){a(1,"assertEachNode")&&l(void 0===n||gT(t,n),r||"Unexpected node.",function(){return"Node array did not pass test '".concat(m(n),"'.")},i||e)},s.assertNode=function e(t,n,r,i){a(1,"assertNode")&&l(void 0!==t&&(void 0===n||n(t)),r||"Unexpected node.",function(){return"Node ".concat(y(null==t?void 0:t.kind)," did not pass test '").concat(m(n),"'.")},i||e)},s.assertNotNode=function e(t,n,r,i){a(1,"assertNotNode")&&l(void 0===t||void 0===n||!n(t),r||"Unexpected node.",function(){return"Node ".concat(y(t.kind)," should not have passed test '").concat(m(n),"'.")},i||e)},s.assertOptionalNode=function e(t,n,r,i){a(1,"assertOptionalNode")&&l(void 0===n||void 0===t||n(t),r||"Unexpected node.",function(){return"Node ".concat(y(null==t?void 0:t.kind)," did not pass test '").concat(m(n),"'.")},i||e)},s.assertOptionalToken=function e(t,n,r,i){a(1,"assertOptionalToken")&&l(void 0===n||void 0===t||t.kind===n,r||"Unexpected node.",function(){return"Node ".concat(y(null==t?void 0:t.kind)," was not a '").concat(y(n),"' token.")},i||e)},s.assertMissingNode=function e(t,n,r){a(1,"assertMissingNode")&&l(void 0===t,n||"Unexpected node.",function(){return"Node ".concat(y(t.kind)," was unexpected'.")},r||e)},s.type=p,s.getFunctionName=m,s.formatSymbol=function(e){return"{ name: ".concat(V4(e.escapedName),"; flags: ").concat(k(e.flags),"; declarations: ").concat(V3(e.declarations,function(e){return y(e.kind)})," }")},s.formatEnum=g;var h=new Map;function y(e){return g(e,Ht,!1)}function v(e){return g(e,Kt,!0)}function x(e){return g(e,Gt,!0)}function b(e){return g(e,ur,!0)}function S(e){return g(e,_r,!0)}function k(e){return g(e,mn,!0)}function T(e){return g(e,In,!0)}function C(e){return g(e,zn,!0)}function w(e){return g(e,On,!0)}function N(e){return g(e,$t,!0)}s.formatSyntaxKind=y,s.formatSnippetKind=function(e){return g(e,lr,!1)},s.formatScriptKind=function(e){return g(e,rr,!1)},s.formatNodeFlags=v,s.formatModifierFlags=x,s.formatTransformFlags=b,s.formatEmitFlags=S,s.formatSymbolFlags=k,s.formatTypeFlags=T,s.formatSignatureFlags=C,s.formatObjectFlags=w,s.formatFlowFlags=N,s.formatRelationComparisonResult=function(e){return g(e,Qt,!0)},s.formatCheckMode=function(e){return g(e,Nk,!0)},s.formatSignatureCheckMode=function(e){return g(e,Fk,!0)};var F,D,P=!(s.formatTypeFacts=function(e){return g(e,wk,!0)});function E(e){"__debugFlowFlags"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(){var e=2&this.flags?"FlowStart":4&this.flags?"FlowBranchLabel":8&this.flags?"FlowLoopLabel":16&this.flags?"FlowAssignment":32&this.flags?"FlowTrueCondition":64&this.flags?"FlowFalseCondition":128&this.flags?"FlowSwitchClause":256&this.flags?"FlowArrayMutation":512&this.flags?"FlowCall":1024&this.flags?"FlowReduceLabel":1&this.flags?"FlowUnreachable":"UnknownFlow",t=-2048&this.flags;return"".concat(e).concat(t?" (".concat(N(t),")"):"")}},__debugFlowFlags:{get:function(){return g(this.flags,$t,!0)}},__debugToString:{value:function(){return L(this)}}})}function A(e){"__tsDebuggerDisplay"in e||Object.defineProperties(e,{__tsDebuggerDisplay:{value:function(e){return e=String(e).replace(/(?:,[\s\w\d_]+:[^,]+)+\]$/,"]"),"NodeArray ".concat(e)}}})}s.attachFlowNodeDebugInfo=function(e){P&&("function"==typeof Object.setPrototypeOf?(F||E(F=Object.create(Object.prototype)),Object.setPrototypeOf(e,F)):E(e))},s.attachNodeArrayDebugInfo=function(e){P&&("function"==typeof Object.setPrototypeOf?(D||A(D=Object.create(Array.prototype)),Object.setPrototypeOf(e,D)):A(e))},s.enableDebugInfo=function(){var t,e;if(!P){var n=new WeakMap,i=new WeakMap,r=(Object.defineProperties(Cw.getSymbolConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var e=33554432&this.flags?"TransientSymbol":"Symbol",t=-33554433&this.flags;return"".concat(e," '").concat(H4(this),"'").concat(t?" (".concat(k(t),")"):"")}},__debugFlags:{get:function(){return k(this.flags)}}}),Object.defineProperties(Cw.getTypeConstructor().prototype,{__tsDebuggerDisplay:{value:function(){var e=67359327&this.flags?"IntrinsicType ".concat(this.intrinsicName).concat(this.debugIntrinsicName?" (".concat(this.debugIntrinsicName,")"):""):98304&this.flags?"NullableType":384&this.flags?"LiteralType ".concat(JSON.stringify(this.value)):2048&this.flags?"LiteralType ".concat(this.value.negative?"-":"").concat(this.value.base10Value,"n"):8192&this.flags?"UniqueESSymbolType":32&this.flags?"EnumType":1048576&this.flags?"UnionType":2097152&this.flags?"IntersectionType":4194304&this.flags?"IndexType":8388608&this.flags?"IndexedAccessType":16777216&this.flags?"ConditionalType":33554432&this.flags?"SubstitutionType":262144&this.flags?"TypeParameter":524288&this.flags?3&this.objectFlags?"InterfaceType":4&this.objectFlags?"TypeReference":8&this.objectFlags?"TupleType":16&this.objectFlags?"AnonymousType":32&this.objectFlags?"MappedType":1024&this.objectFlags?"ReverseMappedType":256&this.objectFlags?"EvolvingArrayType":"ObjectType":"Type",t=524288&this.flags?-1344&this.objectFlags:0;return"".concat(e).concat(this.symbol?" '".concat(H4(this.symbol),"'"):"").concat(t?" (".concat(w(t),")"):"")}},__debugFlags:{get:function(){return T(this.flags)}},__debugObjectFlags:{get:function(){return 524288&this.flags?w(this.objectFlags):""}},__debugTypeToString:{value:function(){var e=n.get(this);return void 0===e&&(e=this.checker.typeToString(this),n.set(this,e)),e}}}),Object.defineProperties(Cw.getSignatureConstructor().prototype,{__debugFlags:{get:function(){return C(this.flags)}},__debugSignatureToString:{value:function(){var e;return null==(e=this.checker)?void 0:e.signatureToString(this)}}}),[Cw.getNodeConstructor(),Cw.getIdentifierConstructor(),Cw.getTokenConstructor(),Cw.getSourceFileConstructor()]);try{for(var a=__values(r),o=a.next();!o.done;o=a.next()){var s=o.value;vi(s.prototype,"__debugKind")||Object.defineProperties(s.prototype,{__tsDebuggerDisplay:{value:function(){var e=TC(this)?"GeneratedIdentifier":cT(this)?"Identifier '".concat($3(this),"'"):CD(this)?"PrivateIdentifier '".concat($3(this),"'"):TD(this)?"StringLiteral ".concat(JSON.stringify(this.text.length<10?this.text:this.text.slice(10)+"...")):kD(this)?"NumericLiteral ".concat(this.text):qh(this)?"BigIntLiteral ".concat(this.text,"n"):DD(this)?"TypeParameterDeclaration":PD(this)?"ParameterDeclaration":MD(this)?"ConstructorDeclaration":RD(this)?"GetAccessorDeclaration":BD(this)?"SetAccessorDeclaration":JD(this)?"CallSignatureDeclaration":zD(this)?"ConstructSignatureDeclaration":hy(this)?"IndexSignatureDeclaration":qD(this)?"TypePredicateNode":UD(this)?"TypeReferenceNode":VD(this)?"FunctionTypeNode":WD(this)?"ConstructorTypeNode":HD(this)?"TypeQueryNode":KD(this)?"TypeLiteralNode":yy(this)?"ArrayTypeNode":GD(this)?"TupleTypeNode":QD(this)?"OptionalTypeNode":YD(this)?"RestTypeNode":vy(this)?"UnionTypeNode":xy(this)?"IntersectionTypeNode":by(this)?"ConditionalTypeNode":Sy(this)?"InferTypeNode":$D(this)?"ParenthesizedTypeNode":ky(this)?"ThisTypeNode":ZD(this)?"TypeOperatorNode":eP(this)?"IndexedAccessTypeNode":Ty(this)?"MappedTypeNode":tP(this)?"LiteralTypeNode":XD(this)?"NamedTupleMember":nP(this)?"ImportTypeNode":y(this.kind);return"".concat(e).concat(this.flags?" (".concat(v(this.flags),")"):"")}},__debugKind:{get:function(){return y(this.kind)}},__debugNodeFlags:{get:function(){return v(this.flags)}},__debugModifierFlags:{get:function(){return x(Zd(this))}},__debugTransformFlags:{get:function(){return b(this.transformFlags)}},__debugIsParseTreeNode:{get:function(){return Mo(this)}},__debugEmitFlags:{get:function(){return S(_l(this))}},__debugGetText:{value:function(e){var t,n,r;return V5(this)?"":(void 0===(r=i.get(this))&&(r=(n=(t=q4(this))&&eT(t))?sl(n,t,e):"",i.set(this,r)),r)}}})}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}P=!0}},s.formatVariance=function(e){var t=0==(t=7&e)?"in out":3==t?"[bivariant]":2==t?"in":1==t?"out":4==t?"[independent]":"";return 8&e?t+=" (unmeasurable)":16&e&&(t+=" (unreliable)"),t},O.prototype.__debugToString=function(){var e;switch(this.kind){case 3:return(null==(e=this.debugInfo)?void 0:e.call(this))||"(function mapper)";case 0:return"".concat(this.source.__debugTypeToString()," -> ").concat(this.target.__debugTypeToString());case 1:return j(this.sources,this.targets||V3(this.sources,function(){return"any"}),function(e,t){return"".concat(e.__debugTypeToString()," -> ").concat("string"==typeof t?t:t.__debugTypeToString())}).join(", ");case 2:return j(this.sources,this.targets,function(e,t){return"".concat(e.__debugTypeToString()," -> ").concat(t().__debugTypeToString())}).join(", ");case 5:case 4:return"m1: ".concat(this.mapper1.__debugToString().split("\n").join("\n "),"\nm2: ").concat(this.mapper2.__debugToString().split("\n").join("\n "));default:return f(this)}};var I=O;function O(){}function L(e){var t,n,r=-1;function c(e){return e.id||(e.id=r,r--),e.id}var j=2032,M=882,u=Object.create(null),l=[],R=[],e=A(e,new Set);try{for(var i=__values(l),a=i.next();!a.done;a=i.next()){var o=a.value;o.text=function(e,t){var n=function(e){if(2&e)return"Start";if(4&e)return"Branch";if(8&e)return"Loop";if(16&e)return"Assignment";if(32&e)return"True";if(64&e)return"False";if(128&e)return"SwitchClause";if(256&e)return"ArrayMutation";if(512&e)return"Call";if(1024&e)return"ReduceLabel";if(1&e)return"Unreachable";throw new Error}(e.flags);t&&(n="".concat(n,"#").concat(c(e)));if(function(e){return e.flags&M}(e))e.node&&(n+=" (".concat(O(e.node),")"));else if(128&e.flags){for(var r=[],i=e.clauseStart;it.endLane&&(n=a.endLane)}t.endLane=n}}(e,0);var _,d,f=s.length,p=l.reduce(function(e,t){return Math.max(e,t.lane)},0)+1,m=L(Array(p),""),g=s.map(function(){return Array(p)}),h=s.map(function(){return L(Array(p),0)});try{for(var y=__values(l),v=y.next();!v.done;v=y.next()){for(var x=v.value,b=P(g[x.level][x.lane]=x),S=0;S=",e.version));ct(t.major)||n.push(ct(t.minor)?ut("<",t.version.increment("major")):ct(t.patch)?ut("<",t.version.increment("minor")):ut("<=",t.version));return 1}(l[1],l[2],c))return}else try{r=void 0;for(var _=__values(u.split($e)),d=_.next();!d.done;d=_.next()){var f=d.value,p=tt.exec(f.trim());if(!p||!function(e,t,n){t=st(t);if(!t)return;var r=t.version,i=t.major,a=t.minor,o=t.patch;if(ct(i))"<"!==e&&">"!==e||n.push(ut("<",Pn.zero));else switch(e){case"~":n.push(ut(">=",r)),n.push(ut("<",r.increment(ct(a)?"major":"minor")));break;case"^":n.push(ut(">=",r)),n.push(ut("<",r.increment(0=":n.push(ct(a)||ct(o)?ut(e,r.with({prerelease:"0"})):ut(e,r));break;case"<=":case">":n.push(ct(a)?ut("<="===e?"<":">=",r.increment("major").with({prerelease:"0"})):ct(o)?ut("<="===e?"<":">=",r.increment("minor").with({prerelease:"0"})):ut(e,r));break;case"=":case void 0:ct(a)||ct(o)?(n.push(ut(">=",r.with({prerelease:"0"}))),n.push(ut("<",r.increment(ct(a)?"major":"minor").with({prerelease:"0"})))):n.push(ut("=",r));break;default:return}return 1}(p[1],p[2],c))return}}catch(e){r={error:e}}finally{try{d&&!d.done&&(i=_.return)&&i.call(_)}finally{if(r)throw r.error}}a.push(c)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return a}function st(e){var t,n,r,i,e=Ze.exec(e);if(e)return t=(e=__read(e,6))[1],n=void 0===(n=e[2])?"*":n,r=void 0===(r=e[3])?"*":r,i=e[4],e=e[5],{version:new Pn(ct(t)?0:parseInt(t,10),ct(t)||ct(n)?0:parseInt(n,10),ct(t)||ct(n)||ct(r)?0:parseInt(r,10),i,e),major:t,minor:n,patch:r}}function ct(e){return"*"===e||"x"===e||"X"===e}function ut(e,t){return{operator:e,operand:t}}function lt(e,t){var n,r;if(0===t.length)return!0;try{for(var i=__values(t),a=i.next();!a.done;a=i.next())if(function(e,t){var n,r;try{for(var i=__values(t),a=i.next();!a.done;a=i.next()){var o=a.value;if(!function(e,t,n){var r=e.compareTo(n);switch(t){case"<":return r<0;case"<=":return r<=0;case">":return 0=":return 0<=r;case"=":return 0===r;default:return G3.assertNever(t)}}(e,o.operator,o.operand))return}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return 1}(e,a.value))return!0}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!1}function _t(e){return V3(e,dt).join(" ")}function dt(e){return"".concat(e.operator).concat(e.operand)}var ft,pt,mt,yt=e({"src/compiler/semver.ts":function(){function a(e,t,n,r,i){void 0===t&&(t=0),void 0===n&&(n=0),void 0===r&&(r=""),void 0===i&&(i=""),"string"==typeof e&&(e=(a=G3.checkDefined(at(e),"Invalid version")).major,t=a.minor,n=a.patch,r=a.prerelease,i=a.build),G3.assert(0<=e,"Invalid argument: major"),G3.assert(0<=t,"Invalid argument: minor"),G3.assert(0<=n,"Invalid argument: patch");var a=r?$T(r)?r:r.split("."):B3,r=i?$T(i)?i:i.split("."):B3;G3.assert(gT(a,function(e){return We.test(e)}),"Invalid argument: prerelease"),G3.assert(gT(r,function(e){return Ke.test(e)}),"Invalid argument: build"),this.major=e,this.minor=t,this.patch=n,this.prerelease=a,this.build=r}function n(e){this._alternatives=e?G3.checkDefined(ot(e),"Invalid range spec."):B3}QM(),Ue=/^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i,Ve=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i,We=/^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)$/i,He=/^[a-z0-9-]+(?:\.[a-z0-9-]+)*$/i,Ke=/^[a-z0-9-]+$/i,Ge=/^(0|[1-9]\d*)$/,a.tryParse=function(e){e=at(e);if(e)return new a(e.major,e.minor,e.patch,e.prerelease,e.build)},a.prototype.compareTo=function(e){return this===e?0:void 0===e?1:r4(this.major,e.major)||r4(this.minor,e.minor)||r4(this.patch,e.patch)||function(e,t){if(e===t)return 0;if(0===e.length)return 0===t.length?0:1;if(0===t.length)return-1;for(var n=Math.min(e.length,t.length),r=0;r|>=|=)?\s*([a-z0-9-+.*]+)$/i}});function vt(e,t){return"object"==typeof e&&"number"==typeof e.timeOrigin&&"function"==typeof e.mark&&"function"==typeof e.measure&&"function"==typeof e.now&&"function"==typeof e.clearMarks&&"function"==typeof e.clearMeasures&&"function"==typeof t}function xt(){return ft}var bt,St,kt,Tt,Ct,wt,Nt,Ft,Dt,Pt,Et=e({"src/compiler/performanceCore.ts":function(){QM(),ft=function(){if("object"==typeof performance&&"function"==typeof PerformanceObserver&&vt(performance,PerformanceObserver))return{shouldWriteNativeEvents:!0,performance:performance,PerformanceObserver:PerformanceObserver}}()||function(){if(ze())try{var e=require("perf_hooks"),t=e.performance,n=e.PerformanceObserver;if(vt(t,n))return{shouldWriteNativeEvents:!1,performance:t,PerformanceObserver:n}}catch(e){}}(),pt=null==ft?void 0:ft.performance,mt=pt?function(){return pt.now()}:Date.now||function(){return+new Date}}}),At=e({"src/compiler/perfLogger.ts":function(){var e;try{var t=null!=(e=process.env.TS_ETW_MODULE_PATH)?e:"./node_modules/@microsoft/typescript-etw";bt=require(t)}catch(e){bt=void 0}St=null!=bt&&bt.logEvent?bt:void 0}});function Tr(e,t,n,r){return e?It(t,n,r):Ct}function It(e,t,n){var r=0;return{enter:function(){1==++r&&g4(t)},exit:function(){0==--r?(g4(n),h4(e,t,n)):r<0&&G3.fail("enter/exit count does not match.")}}}function g4(e){var t;wt&&(t=null!=(t=Dt.get(e))?t:0,Dt.set(e,t+1),Ft.set(e,mt()),null!=Tt&&Tt.mark(e),"function"==typeof onProfilerEvent)&&onProfilerEvent(e)}function h4(e,t,n){var r,i,a;wt&&(r=null!=(r=void 0!==n?Ft.get(n):void 0)?r:mt(),i=null!=(i=void 0!==t?Ft.get(t):void 0)?i:Nt,a=Pt.get(e)||0,Pt.set(e,a+(r-i)),null!=Tt)&&Tt.measure(e,t,n)}function Ot(e){return Dt.get(e)||0}function Lt(e){return Pt.get(e)||0}function jt(n){Pt.forEach(function(e,t){return n(t,e)})}function Mt(n){Ft.forEach(function(e,t){return n(t)})}function Rt(e){void 0!==e?Pt.delete(e):Pt.clear(),null!=Tt&&Tt.clearMeasures(e)}function Bt(e){void 0!==e?(Dt.delete(e),Ft.delete(e)):(Dt.clear(),Ft.clear()),null!=Tt&&Tt.clearMarks(e)}function Jt(){return wt}function zt(e){var t;return void 0===e&&(e=Br),wt||(wt=!0,(kt=kt||ft)&&(Nt=kt.performance.timeOrigin,kt.shouldWriteNativeEvents||null!=(t=null==e?void 0:e.cpuProfilingEnabled)&&t.call(e)||null!=e&&e.debugMode)&&(Tt=kt.performance)),!0}function qt(){wt&&(Ft.clear(),Dt.clear(),Pt.clear(),Tt=void 0,wt=!1)}var X3,Ut,Vt,Wt,Ht,Kt,Gt,Xt,Qt,Cr,Yt,$t,Zt,En,An,en,tn,nn,rn,an,on,sn,cn,un,ln,_n,dn,fn,pn,mn,gn,hn,yn,vn,In,On,Ln,jn,Mn,Rn,Bn,Jn,zn,qn,Un,Vn,Wn,Hn,Kn,Gn,Xn,Qn,Yn,$n,Zn,y4,er,tr,nr,rr,ir,ar,or,sr,cr,ur,lr,_r,dr,fr,pr,mr,gr,hr,yr,vr,xr,br,wr=e({"src/compiler/performance.ts":function(){QM(),wt=!(Ct={enter:ya,exit:ya}),Nt=mt(),Ft=new Map,Dt=new Map,Pt=new Map}}),Nr={},va=(n(Nr,{clearMarks:function(){return Bt},clearMeasures:function(){return Rt},createTimer:function(){return It},createTimerIf:function(){return Tr},disable:function(){return qt},enable:function(){return zt},forEachMark:function(){return Mt},forEachMeasure:function(){return jt},getCount:function(){return Ot},getDuration:function(){return Lt},isEnabled:function(){return Jt},mark:function(){return g4},measure:function(){return h4},nullTimer:function(){return Ct}}),e({"src/compiler/_namespaces/ts.performance.ts":function(){wr()}})),Fr=e({"src/compiler/tracing.ts":function(){function n(e,t,n){var e=c[e],r=e.phase,i=e.name,a=e.args,o=e.time;e.separateBeginAndEnd?(G3.assert(!n,"`results` are not supported for events with `separateBeginAndEnd`"),s("E",r,i,a,void 0,t)):u-o%u<=t-o&&s("X",r,i,__assign(__assign({},a),{results:n}),'"dur":'.concat(t-o),o)}function s(e,t,n,r,i,a){void 0===a&&(a=1e3*mt()),"server"===S&&"checkTypes"===t||(g4("beginTracing"),b.writeSync(k,',\n{"pid":1,"tid":1,"ph":"'.concat(e,'","cat":"').concat(t,'","ts":').concat(a,',"name":"').concat(n,'"')),i&&b.writeSync(k,",".concat(i)),r&&b.writeSync(k,',"args":'.concat(JSON.stringify(r))),b.writeSync(k,"}"),g4("endTracing"),h4("Tracing","beginTracing","endTracing"))}function x(e){var t=eT(e);return t?{path:t.path,start:n(D4(t,e.pos)),end:n(D4(t,e.end))}:void 0;function n(e){return{line:e.line+1,character:e.character+1}}}var i,b,S,a,e,o,k,T,C,c,u;QM(),va(),i=Ut=Ut||{},k=o=0,T=[],C=[],i.startTracing=function(e,t,n){if(G3.assert(!X3,"Tracing already started"),void 0===b)try{b=require("fs")}catch(e){throw new Error("tracing requires having fs\n(original error: ".concat(e.message||e,")"))}S=e,void(T.length=0)===a&&(a=T4(t,"legend.json")),b.existsSync(t)||b.mkdirSync(t,{recursive:!0});var e="build"===S?".".concat(process.pid,"-").concat(++o):"server"===S?".".concat(process.pid):"",r=T4(t,"trace".concat(e,".json")),t=T4(t,"types".concat(e,".json")),e=(C.push({configFilePath:n,tracePath:r,typesPath:t}),k=b.openSync(r,"w"),X3=i,{cat:"__metadata",ph:"M",ts:1e3*mt(),pid:1,tid:1});b.writeSync(k,"[\n"+[__assign({name:"process_name",args:{name:"tsc"}},e),__assign({name:"thread_name",args:{name:"Main"}},e),__assign(__assign({name:"TracingStartedInBrowser"},e),{cat:"disabled-by-default-devtools.timeline"})].map(function(e){return JSON.stringify(e)}).join(",\n"))},i.stopTracing=function(){if(G3.assert(X3,"Tracing is not in progress"),G3.assert(!!T.length==("server"!==S)),b.writeSync(k,"\n]\n"),b.closeSync(k),X3=void 0,T.length){var e=T;g4("beginDumpTypes");for(var t,n=C[C.length-1].typesPath,r=b.openSync(n,"w"),i=new Map,a=(b.writeSync(r,"["),e.length),o=0;ot.length&&a4(e,t)}function S4(e,t){var n,r;try{for(var i=__values(t),a=i.next();!a.done;a=i.next())if(b4(e,a.value))return!0}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!1}function Ci(e){return 0=t.length&&46===e.charCodeAt(e.length-t.length)){e=e.slice(e.length-t.length);if(n(e,t))return e}}function Ei(e,t,n){if(t){var r,i,a=Ji(e),o=n?Nn:Fn;if("string"==typeof t)return Pi(a,t,o)||"";try{for(var s=__values(t),c=s.next();!c.done;c=s.next()){var u=Pi(a,c.value,o);if(u)return u}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return""}n=Di(e),t=n.lastIndexOf(".");return 0<=t?n.substring(t):""}function Ai(e,t){return e=T4(t=void 0===t?"":t,e),e=Fi(t=e),n=t.substring(0,e),(t=t.substring(e).split(oi)).length&&!zT(t)&&t.pop(),__spreadArray([n],__read(t),!1);var n}function Ii(e,t){return 0===e.length?"":(e[0]&&zi(e[0]))+e.slice(1,t).join(oi)}function Oi(e){return e.includes("\\")?e.replace(ui,oi):e}function Li(e){if(!W3(e))return[];for(var t=[e[0]],n=1;n type. Did you mean to write 'Promise<{0}>'?"),The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type:t(1065,1,"The_return_type_of_an_async_function_or_method_must_be_the_global_Promise_T_type_1065","The return type of an async function or method must be the global Promise type."),In_ambient_enum_declarations_member_initializer_must_be_constant_expression:t(1066,1,"In_ambient_enum_declarations_member_initializer_must_be_constant_expression_1066","In ambient enum declarations member initializer must be constant expression."),Unexpected_token_A_constructor_method_accessor_or_property_was_expected:t(1068,1,"Unexpected_token_A_constructor_method_accessor_or_property_was_expected_1068","Unexpected token. A constructor, method, accessor, or property was expected."),Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces:t(1069,1,"Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces_1069","Unexpected token. A type parameter name was expected without curly braces."),_0_modifier_cannot_appear_on_a_type_member:t(1070,1,"_0_modifier_cannot_appear_on_a_type_member_1070","'{0}' modifier cannot appear on a type member."),_0_modifier_cannot_appear_on_an_index_signature:t(1071,1,"_0_modifier_cannot_appear_on_an_index_signature_1071","'{0}' modifier cannot appear on an index signature."),A_0_modifier_cannot_be_used_with_an_import_declaration:t(1079,1,"A_0_modifier_cannot_be_used_with_an_import_declaration_1079","A '{0}' modifier cannot be used with an import declaration."),Invalid_reference_directive_syntax:t(1084,1,"Invalid_reference_directive_syntax_1084","Invalid 'reference' directive syntax."),_0_modifier_cannot_appear_on_a_constructor_declaration:t(1089,1,"_0_modifier_cannot_appear_on_a_constructor_declaration_1089","'{0}' modifier cannot appear on a constructor declaration."),_0_modifier_cannot_appear_on_a_parameter:t(1090,1,"_0_modifier_cannot_appear_on_a_parameter_1090","'{0}' modifier cannot appear on a parameter."),Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement:t(1091,1,"Only_a_single_variable_declaration_is_allowed_in_a_for_in_statement_1091","Only a single variable declaration is allowed in a 'for...in' statement."),Type_parameters_cannot_appear_on_a_constructor_declaration:t(1092,1,"Type_parameters_cannot_appear_on_a_constructor_declaration_1092","Type parameters cannot appear on a constructor declaration."),Type_annotation_cannot_appear_on_a_constructor_declaration:t(1093,1,"Type_annotation_cannot_appear_on_a_constructor_declaration_1093","Type annotation cannot appear on a constructor declaration."),An_accessor_cannot_have_type_parameters:t(1094,1,"An_accessor_cannot_have_type_parameters_1094","An accessor cannot have type parameters."),A_set_accessor_cannot_have_a_return_type_annotation:t(1095,1,"A_set_accessor_cannot_have_a_return_type_annotation_1095","A 'set' accessor cannot have a return type annotation."),An_index_signature_must_have_exactly_one_parameter:t(1096,1,"An_index_signature_must_have_exactly_one_parameter_1096","An index signature must have exactly one parameter."),_0_list_cannot_be_empty:t(1097,1,"_0_list_cannot_be_empty_1097","'{0}' list cannot be empty."),Type_parameter_list_cannot_be_empty:t(1098,1,"Type_parameter_list_cannot_be_empty_1098","Type parameter list cannot be empty."),Type_argument_list_cannot_be_empty:t(1099,1,"Type_argument_list_cannot_be_empty_1099","Type argument list cannot be empty."),Invalid_use_of_0_in_strict_mode:t(1100,1,"Invalid_use_of_0_in_strict_mode_1100","Invalid use of '{0}' in strict mode."),with_statements_are_not_allowed_in_strict_mode:t(1101,1,"with_statements_are_not_allowed_in_strict_mode_1101","'with' statements are not allowed in strict mode."),delete_cannot_be_called_on_an_identifier_in_strict_mode:t(1102,1,"delete_cannot_be_called_on_an_identifier_in_strict_mode_1102","'delete' cannot be called on an identifier in strict mode."),for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:t(1103,1,"for_await_loops_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1103","'for await' loops are only allowed within async functions and at the top levels of modules."),A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement:t(1104,1,"A_continue_statement_can_only_be_used_within_an_enclosing_iteration_statement_1104","A 'continue' statement can only be used within an enclosing iteration statement."),A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement:t(1105,1,"A_break_statement_can_only_be_used_within_an_enclosing_iteration_or_switch_statement_1105","A 'break' statement can only be used within an enclosing iteration or switch statement."),The_left_hand_side_of_a_for_of_statement_may_not_be_async:t(1106,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_async_1106","The left-hand side of a 'for...of' statement may not be 'async'."),Jump_target_cannot_cross_function_boundary:t(1107,1,"Jump_target_cannot_cross_function_boundary_1107","Jump target cannot cross function boundary."),A_return_statement_can_only_be_used_within_a_function_body:t(1108,1,"A_return_statement_can_only_be_used_within_a_function_body_1108","A 'return' statement can only be used within a function body."),Expression_expected:t(1109,1,"Expression_expected_1109","Expression expected."),Type_expected:t(1110,1,"Type_expected_1110","Type expected."),Private_field_0_must_be_declared_in_an_enclosing_class:t(1111,1,"Private_field_0_must_be_declared_in_an_enclosing_class_1111","Private field '{0}' must be declared in an enclosing class."),A_default_clause_cannot_appear_more_than_once_in_a_switch_statement:t(1113,1,"A_default_clause_cannot_appear_more_than_once_in_a_switch_statement_1113","A 'default' clause cannot appear more than once in a 'switch' statement."),Duplicate_label_0:t(1114,1,"Duplicate_label_0_1114","Duplicate label '{0}'."),A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement:t(1115,1,"A_continue_statement_can_only_jump_to_a_label_of_an_enclosing_iteration_statement_1115","A 'continue' statement can only jump to a label of an enclosing iteration statement."),A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement:t(1116,1,"A_break_statement_can_only_jump_to_a_label_of_an_enclosing_statement_1116","A 'break' statement can only jump to a label of an enclosing statement."),An_object_literal_cannot_have_multiple_properties_with_the_same_name:t(1117,1,"An_object_literal_cannot_have_multiple_properties_with_the_same_name_1117","An object literal cannot have multiple properties with the same name."),An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name:t(1118,1,"An_object_literal_cannot_have_multiple_get_Slashset_accessors_with_the_same_name_1118","An object literal cannot have multiple get/set accessors with the same name."),An_object_literal_cannot_have_property_and_accessor_with_the_same_name:t(1119,1,"An_object_literal_cannot_have_property_and_accessor_with_the_same_name_1119","An object literal cannot have property and accessor with the same name."),An_export_assignment_cannot_have_modifiers:t(1120,1,"An_export_assignment_cannot_have_modifiers_1120","An export assignment cannot have modifiers."),Octal_literals_are_not_allowed_Use_the_syntax_0:t(1121,1,"Octal_literals_are_not_allowed_Use_the_syntax_0_1121","Octal literals are not allowed. Use the syntax '{0}'."),Variable_declaration_list_cannot_be_empty:t(1123,1,"Variable_declaration_list_cannot_be_empty_1123","Variable declaration list cannot be empty."),Digit_expected:t(1124,1,"Digit_expected_1124","Digit expected."),Hexadecimal_digit_expected:t(1125,1,"Hexadecimal_digit_expected_1125","Hexadecimal digit expected."),Unexpected_end_of_text:t(1126,1,"Unexpected_end_of_text_1126","Unexpected end of text."),Invalid_character:t(1127,1,"Invalid_character_1127","Invalid character."),Declaration_or_statement_expected:t(1128,1,"Declaration_or_statement_expected_1128","Declaration or statement expected."),Statement_expected:t(1129,1,"Statement_expected_1129","Statement expected."),case_or_default_expected:t(1130,1,"case_or_default_expected_1130","'case' or 'default' expected."),Property_or_signature_expected:t(1131,1,"Property_or_signature_expected_1131","Property or signature expected."),Enum_member_expected:t(1132,1,"Enum_member_expected_1132","Enum member expected."),Variable_declaration_expected:t(1134,1,"Variable_declaration_expected_1134","Variable declaration expected."),Argument_expression_expected:t(1135,1,"Argument_expression_expected_1135","Argument expression expected."),Property_assignment_expected:t(1136,1,"Property_assignment_expected_1136","Property assignment expected."),Expression_or_comma_expected:t(1137,1,"Expression_or_comma_expected_1137","Expression or comma expected."),Parameter_declaration_expected:t(1138,1,"Parameter_declaration_expected_1138","Parameter declaration expected."),Type_parameter_declaration_expected:t(1139,1,"Type_parameter_declaration_expected_1139","Type parameter declaration expected."),Type_argument_expected:t(1140,1,"Type_argument_expected_1140","Type argument expected."),String_literal_expected:t(1141,1,"String_literal_expected_1141","String literal expected."),Line_break_not_permitted_here:t(1142,1,"Line_break_not_permitted_here_1142","Line break not permitted here."),or_expected:t(1144,1,"or_expected_1144","'{' or ';' expected."),or_JSX_element_expected:t(1145,1,"or_JSX_element_expected_1145","'{' or JSX element expected."),Declaration_expected:t(1146,1,"Declaration_expected_1146","Declaration expected."),Import_declarations_in_a_namespace_cannot_reference_a_module:t(1147,1,"Import_declarations_in_a_namespace_cannot_reference_a_module_1147","Import declarations in a namespace cannot reference a module."),Cannot_use_imports_exports_or_module_augmentations_when_module_is_none:t(1148,1,"Cannot_use_imports_exports_or_module_augmentations_when_module_is_none_1148","Cannot use imports, exports, or module augmentations when '--module' is 'none'."),File_name_0_differs_from_already_included_file_name_1_only_in_casing:t(1149,1,"File_name_0_differs_from_already_included_file_name_1_only_in_casing_1149","File name '{0}' differs from already included file name '{1}' only in casing."),_0_declarations_must_be_initialized:t(1155,1,"_0_declarations_must_be_initialized_1155","'{0}' declarations must be initialized."),_0_declarations_can_only_be_declared_inside_a_block:t(1156,1,"_0_declarations_can_only_be_declared_inside_a_block_1156","'{0}' declarations can only be declared inside a block."),Unterminated_template_literal:t(1160,1,"Unterminated_template_literal_1160","Unterminated template literal."),Unterminated_regular_expression_literal:t(1161,1,"Unterminated_regular_expression_literal_1161","Unterminated regular expression literal."),An_object_member_cannot_be_declared_optional:t(1162,1,"An_object_member_cannot_be_declared_optional_1162","An object member cannot be declared optional."),A_yield_expression_is_only_allowed_in_a_generator_body:t(1163,1,"A_yield_expression_is_only_allowed_in_a_generator_body_1163","A 'yield' expression is only allowed in a generator body."),Computed_property_names_are_not_allowed_in_enums:t(1164,1,"Computed_property_names_are_not_allowed_in_enums_1164","Computed property names are not allowed in enums."),A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:t(1165,1,"A_computed_property_name_in_an_ambient_context_must_refer_to_an_expression_whose_type_is_a_literal_t_1165","A computed property name in an ambient context must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_symbol_type:t(1166,1,"A_computed_property_name_in_a_class_property_declaration_must_have_a_simple_literal_type_or_a_unique_1166","A computed property name in a class property declaration must have a simple literal type or a 'unique symbol' type."),A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:t(1168,1,"A_computed_property_name_in_a_method_overload_must_refer_to_an_expression_whose_type_is_a_literal_ty_1168","A computed property name in a method overload must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:t(1169,1,"A_computed_property_name_in_an_interface_must_refer_to_an_expression_whose_type_is_a_literal_type_or_1169","A computed property name in an interface must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type_or_a_unique_symbol_type:t(1170,1,"A_computed_property_name_in_a_type_literal_must_refer_to_an_expression_whose_type_is_a_literal_type__1170","A computed property name in a type literal must refer to an expression whose type is a literal type or a 'unique symbol' type."),A_comma_expression_is_not_allowed_in_a_computed_property_name:t(1171,1,"A_comma_expression_is_not_allowed_in_a_computed_property_name_1171","A comma expression is not allowed in a computed property name."),extends_clause_already_seen:t(1172,1,"extends_clause_already_seen_1172","'extends' clause already seen."),extends_clause_must_precede_implements_clause:t(1173,1,"extends_clause_must_precede_implements_clause_1173","'extends' clause must precede 'implements' clause."),Classes_can_only_extend_a_single_class:t(1174,1,"Classes_can_only_extend_a_single_class_1174","Classes can only extend a single class."),implements_clause_already_seen:t(1175,1,"implements_clause_already_seen_1175","'implements' clause already seen."),Interface_declaration_cannot_have_implements_clause:t(1176,1,"Interface_declaration_cannot_have_implements_clause_1176","Interface declaration cannot have 'implements' clause."),Binary_digit_expected:t(1177,1,"Binary_digit_expected_1177","Binary digit expected."),Octal_digit_expected:t(1178,1,"Octal_digit_expected_1178","Octal digit expected."),Unexpected_token_expected:t(1179,1,"Unexpected_token_expected_1179","Unexpected token. '{' expected."),Property_destructuring_pattern_expected:t(1180,1,"Property_destructuring_pattern_expected_1180","Property destructuring pattern expected."),Array_element_destructuring_pattern_expected:t(1181,1,"Array_element_destructuring_pattern_expected_1181","Array element destructuring pattern expected."),A_destructuring_declaration_must_have_an_initializer:t(1182,1,"A_destructuring_declaration_must_have_an_initializer_1182","A destructuring declaration must have an initializer."),An_implementation_cannot_be_declared_in_ambient_contexts:t(1183,1,"An_implementation_cannot_be_declared_in_ambient_contexts_1183","An implementation cannot be declared in ambient contexts."),Modifiers_cannot_appear_here:t(1184,1,"Modifiers_cannot_appear_here_1184","Modifiers cannot appear here."),Merge_conflict_marker_encountered:t(1185,1,"Merge_conflict_marker_encountered_1185","Merge conflict marker encountered."),A_rest_element_cannot_have_an_initializer:t(1186,1,"A_rest_element_cannot_have_an_initializer_1186","A rest element cannot have an initializer."),A_parameter_property_may_not_be_declared_using_a_binding_pattern:t(1187,1,"A_parameter_property_may_not_be_declared_using_a_binding_pattern_1187","A parameter property may not be declared using a binding pattern."),Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement:t(1188,1,"Only_a_single_variable_declaration_is_allowed_in_a_for_of_statement_1188","Only a single variable declaration is allowed in a 'for...of' statement."),The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer:t(1189,1,"The_variable_declaration_of_a_for_in_statement_cannot_have_an_initializer_1189","The variable declaration of a 'for...in' statement cannot have an initializer."),The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer:t(1190,1,"The_variable_declaration_of_a_for_of_statement_cannot_have_an_initializer_1190","The variable declaration of a 'for...of' statement cannot have an initializer."),An_import_declaration_cannot_have_modifiers:t(1191,1,"An_import_declaration_cannot_have_modifiers_1191","An import declaration cannot have modifiers."),Module_0_has_no_default_export:t(1192,1,"Module_0_has_no_default_export_1192","Module '{0}' has no default export."),An_export_declaration_cannot_have_modifiers:t(1193,1,"An_export_declaration_cannot_have_modifiers_1193","An export declaration cannot have modifiers."),Export_declarations_are_not_permitted_in_a_namespace:t(1194,1,"Export_declarations_are_not_permitted_in_a_namespace_1194","Export declarations are not permitted in a namespace."),export_Asterisk_does_not_re_export_a_default:t(1195,1,"export_Asterisk_does_not_re_export_a_default_1195","'export *' does not re-export a default."),Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified:t(1196,1,"Catch_clause_variable_type_annotation_must_be_any_or_unknown_if_specified_1196","Catch clause variable type annotation must be 'any' or 'unknown' if specified."),Catch_clause_variable_cannot_have_an_initializer:t(1197,1,"Catch_clause_variable_cannot_have_an_initializer_1197","Catch clause variable cannot have an initializer."),An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive:t(1198,1,"An_extended_Unicode_escape_value_must_be_between_0x0_and_0x10FFFF_inclusive_1198","An extended Unicode escape value must be between 0x0 and 0x10FFFF inclusive."),Unterminated_Unicode_escape_sequence:t(1199,1,"Unterminated_Unicode_escape_sequence_1199","Unterminated Unicode escape sequence."),Line_terminator_not_permitted_before_arrow:t(1200,1,"Line_terminator_not_permitted_before_arrow_1200","Line terminator not permitted before arrow."),Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_ns_from_mod_import_a_from_mod_import_d_from_mod_or_another_module_format_instead:t(1202,1,"Import_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_import_Asterisk_as_1202","Import assignment cannot be used when targeting ECMAScript modules. Consider using 'import * as ns from \"mod\"', 'import {a} from \"mod\"', 'import d from \"mod\"', or another module format instead."),Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or_another_module_format_instead:t(1203,1,"Export_assignment_cannot_be_used_when_targeting_ECMAScript_modules_Consider_using_export_default_or__1203","Export assignment cannot be used when targeting ECMAScript modules. Consider using 'export default' or another module format instead."),Re_exporting_a_type_when_0_is_enabled_requires_using_export_type:t(1205,1,"Re_exporting_a_type_when_0_is_enabled_requires_using_export_type_1205","Re-exporting a type when '{0}' is enabled requires using 'export type'."),Decorators_are_not_valid_here:t(1206,1,"Decorators_are_not_valid_here_1206","Decorators are not valid here."),Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name:t(1207,1,"Decorators_cannot_be_applied_to_multiple_get_Slashset_accessors_of_the_same_name_1207","Decorators cannot be applied to multiple get/set accessors of the same name."),Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0:t(1209,1,"Invalid_optional_chain_from_new_expression_Did_you_mean_to_call_0_1209","Invalid optional chain from new expression. Did you mean to call '{0}()'?"),Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of_0_For_more_information_see_https_Colon_Slash_Slashdeveloper_mozilla_org_Slashen_US_Slashdocs_SlashWeb_SlashJavaScript_SlashReference_SlashStrict_mode:t(1210,1,"Code_contained_in_a_class_is_evaluated_in_JavaScript_s_strict_mode_which_does_not_allow_this_use_of__1210","Code contained in a class is evaluated in JavaScript's strict mode which does not allow this use of '{0}'. For more information, see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Strict_mode."),A_class_declaration_without_the_default_modifier_must_have_a_name:t(1211,1,"A_class_declaration_without_the_default_modifier_must_have_a_name_1211","A class declaration without the 'default' modifier must have a name."),Identifier_expected_0_is_a_reserved_word_in_strict_mode:t(1212,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_1212","Identifier expected. '{0}' is a reserved word in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_strict_mode:t(1213,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Class_definitions_are_automatically_in_stric_1213","Identifier expected. '{0}' is a reserved word in strict mode. Class definitions are automatically in strict mode."),Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode:t(1214,1,"Identifier_expected_0_is_a_reserved_word_in_strict_mode_Modules_are_automatically_in_strict_mode_1214","Identifier expected. '{0}' is a reserved word in strict mode. Modules are automatically in strict mode."),Invalid_use_of_0_Modules_are_automatically_in_strict_mode:t(1215,1,"Invalid_use_of_0_Modules_are_automatically_in_strict_mode_1215","Invalid use of '{0}'. Modules are automatically in strict mode."),Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules:t(1216,1,"Identifier_expected_esModule_is_reserved_as_an_exported_marker_when_transforming_ECMAScript_modules_1216","Identifier expected. '__esModule' is reserved as an exported marker when transforming ECMAScript modules."),Export_assignment_is_not_supported_when_module_flag_is_system:t(1218,1,"Export_assignment_is_not_supported_when_module_flag_is_system_1218","Export assignment is not supported when '--module' flag is 'system'."),Generators_are_not_allowed_in_an_ambient_context:t(1221,1,"Generators_are_not_allowed_in_an_ambient_context_1221","Generators are not allowed in an ambient context."),An_overload_signature_cannot_be_declared_as_a_generator:t(1222,1,"An_overload_signature_cannot_be_declared_as_a_generator_1222","An overload signature cannot be declared as a generator."),_0_tag_already_specified:t(1223,1,"_0_tag_already_specified_1223","'{0}' tag already specified."),Signature_0_must_be_a_type_predicate:t(1224,1,"Signature_0_must_be_a_type_predicate_1224","Signature '{0}' must be a type predicate."),Cannot_find_parameter_0:t(1225,1,"Cannot_find_parameter_0_1225","Cannot find parameter '{0}'."),Type_predicate_0_is_not_assignable_to_1:t(1226,1,"Type_predicate_0_is_not_assignable_to_1_1226","Type predicate '{0}' is not assignable to '{1}'."),Parameter_0_is_not_in_the_same_position_as_parameter_1:t(1227,1,"Parameter_0_is_not_in_the_same_position_as_parameter_1_1227","Parameter '{0}' is not in the same position as parameter '{1}'."),A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods:t(1228,1,"A_type_predicate_is_only_allowed_in_return_type_position_for_functions_and_methods_1228","A type predicate is only allowed in return type position for functions and methods."),A_type_predicate_cannot_reference_a_rest_parameter:t(1229,1,"A_type_predicate_cannot_reference_a_rest_parameter_1229","A type predicate cannot reference a rest parameter."),A_type_predicate_cannot_reference_element_0_in_a_binding_pattern:t(1230,1,"A_type_predicate_cannot_reference_element_0_in_a_binding_pattern_1230","A type predicate cannot reference element '{0}' in a binding pattern."),An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration:t(1231,1,"An_export_assignment_must_be_at_the_top_level_of_a_file_or_module_declaration_1231","An export assignment must be at the top level of a file or module declaration."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:t(1232,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1232","An import declaration can only be used at the top level of a namespace or module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module:t(1233,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_namespace_or_module_1233","An export declaration can only be used at the top level of a namespace or module."),An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file:t(1234,1,"An_ambient_module_declaration_is_only_allowed_at_the_top_level_in_a_file_1234","An ambient module declaration is only allowed at the top level in a file."),A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module:t(1235,1,"A_namespace_declaration_is_only_allowed_at_the_top_level_of_a_namespace_or_module_1235","A namespace declaration is only allowed at the top level of a namespace or module."),The_return_type_of_a_property_decorator_function_must_be_either_void_or_any:t(1236,1,"The_return_type_of_a_property_decorator_function_must_be_either_void_or_any_1236","The return type of a property decorator function must be either 'void' or 'any'."),The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any:t(1237,1,"The_return_type_of_a_parameter_decorator_function_must_be_either_void_or_any_1237","The return type of a parameter decorator function must be either 'void' or 'any'."),Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression:t(1238,1,"Unable_to_resolve_signature_of_class_decorator_when_called_as_an_expression_1238","Unable to resolve signature of class decorator when called as an expression."),Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression:t(1239,1,"Unable_to_resolve_signature_of_parameter_decorator_when_called_as_an_expression_1239","Unable to resolve signature of parameter decorator when called as an expression."),Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression:t(1240,1,"Unable_to_resolve_signature_of_property_decorator_when_called_as_an_expression_1240","Unable to resolve signature of property decorator when called as an expression."),Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression:t(1241,1,"Unable_to_resolve_signature_of_method_decorator_when_called_as_an_expression_1241","Unable to resolve signature of method decorator when called as an expression."),abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration:t(1242,1,"abstract_modifier_can_only_appear_on_a_class_method_or_property_declaration_1242","'abstract' modifier can only appear on a class, method, or property declaration."),_0_modifier_cannot_be_used_with_1_modifier:t(1243,1,"_0_modifier_cannot_be_used_with_1_modifier_1243","'{0}' modifier cannot be used with '{1}' modifier."),Abstract_methods_can_only_appear_within_an_abstract_class:t(1244,1,"Abstract_methods_can_only_appear_within_an_abstract_class_1244","Abstract methods can only appear within an abstract class."),Method_0_cannot_have_an_implementation_because_it_is_marked_abstract:t(1245,1,"Method_0_cannot_have_an_implementation_because_it_is_marked_abstract_1245","Method '{0}' cannot have an implementation because it is marked abstract."),An_interface_property_cannot_have_an_initializer:t(1246,1,"An_interface_property_cannot_have_an_initializer_1246","An interface property cannot have an initializer."),A_type_literal_property_cannot_have_an_initializer:t(1247,1,"A_type_literal_property_cannot_have_an_initializer_1247","A type literal property cannot have an initializer."),A_class_member_cannot_have_the_0_keyword:t(1248,1,"A_class_member_cannot_have_the_0_keyword_1248","A class member cannot have the '{0}' keyword."),A_decorator_can_only_decorate_a_method_implementation_not_an_overload:t(1249,1,"A_decorator_can_only_decorate_a_method_implementation_not_an_overload_1249","A decorator can only decorate a method implementation, not an overload."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5:t(1250,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_1250","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_definitions_are_automatically_in_strict_mode:t(1251,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Class_d_1251","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Class definitions are automatically in strict mode."),Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_are_automatically_in_strict_mode:t(1252,1,"Function_declarations_are_not_allowed_inside_blocks_in_strict_mode_when_targeting_ES3_or_ES5_Modules_1252","Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode."),Abstract_properties_can_only_appear_within_an_abstract_class:t(1253,1,"Abstract_properties_can_only_appear_within_an_abstract_class_1253","Abstract properties can only appear within an abstract class."),A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_reference:t(1254,1,"A_const_initializer_in_an_ambient_context_must_be_a_string_or_numeric_literal_or_literal_enum_refere_1254","A 'const' initializer in an ambient context must be a string or numeric literal or literal enum reference."),A_definite_assignment_assertion_is_not_permitted_in_this_context:t(1255,1,"A_definite_assignment_assertion_is_not_permitted_in_this_context_1255","A definite assignment assertion '!' is not permitted in this context."),A_required_element_cannot_follow_an_optional_element:t(1257,1,"A_required_element_cannot_follow_an_optional_element_1257","A required element cannot follow an optional element."),A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration:t(1258,1,"A_default_export_must_be_at_the_top_level_of_a_file_or_module_declaration_1258","A default export must be at the top level of a file or module declaration."),Module_0_can_only_be_default_imported_using_the_1_flag:t(1259,1,"Module_0_can_only_be_default_imported_using_the_1_flag_1259","Module '{0}' can only be default-imported using the '{1}' flag"),Keywords_cannot_contain_escape_characters:t(1260,1,"Keywords_cannot_contain_escape_characters_1260","Keywords cannot contain escape characters."),Already_included_file_name_0_differs_from_file_name_1_only_in_casing:t(1261,1,"Already_included_file_name_0_differs_from_file_name_1_only_in_casing_1261","Already included file name '{0}' differs from file name '{1}' only in casing."),Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module:t(1262,1,"Identifier_expected_0_is_a_reserved_word_at_the_top_level_of_a_module_1262","Identifier expected. '{0}' is a reserved word at the top-level of a module."),Declarations_with_initializers_cannot_also_have_definite_assignment_assertions:t(1263,1,"Declarations_with_initializers_cannot_also_have_definite_assignment_assertions_1263","Declarations with initializers cannot also have definite assignment assertions."),Declarations_with_definite_assignment_assertions_must_also_have_type_annotations:t(1264,1,"Declarations_with_definite_assignment_assertions_must_also_have_type_annotations_1264","Declarations with definite assignment assertions must also have type annotations."),A_rest_element_cannot_follow_another_rest_element:t(1265,1,"A_rest_element_cannot_follow_another_rest_element_1265","A rest element cannot follow another rest element."),An_optional_element_cannot_follow_a_rest_element:t(1266,1,"An_optional_element_cannot_follow_a_rest_element_1266","An optional element cannot follow a rest element."),Property_0_cannot_have_an_initializer_because_it_is_marked_abstract:t(1267,1,"Property_0_cannot_have_an_initializer_because_it_is_marked_abstract_1267","Property '{0}' cannot have an initializer because it is marked abstract."),An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type:t(1268,1,"An_index_signature_parameter_type_must_be_string_number_symbol_or_a_template_literal_type_1268","An index signature parameter type must be 'string', 'number', 'symbol', or a template literal type."),Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled:t(1269,1,"Cannot_use_export_import_on_a_type_or_type_only_namespace_when_0_is_enabled_1269","Cannot use 'export import' on a type or type-only namespace when '{0}' is enabled."),Decorator_function_return_type_0_is_not_assignable_to_type_1:t(1270,1,"Decorator_function_return_type_0_is_not_assignable_to_type_1_1270","Decorator function return type '{0}' is not assignable to type '{1}'."),Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any:t(1271,1,"Decorator_function_return_type_is_0_but_is_expected_to_be_void_or_any_1271","Decorator function return type is '{0}' but is expected to be 'void' or 'any'."),A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled:t(1272,1,"A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_w_1272","A type referenced in a decorated signature must be imported with 'import type' or a namespace import when 'isolatedModules' and 'emitDecoratorMetadata' are enabled."),_0_modifier_cannot_appear_on_a_type_parameter:t(1273,1,"_0_modifier_cannot_appear_on_a_type_parameter_1273","'{0}' modifier cannot appear on a type parameter"),_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias:t(1274,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_class_interface_or_type_alias_1274","'{0}' modifier can only appear on a type parameter of a class, interface or type alias"),accessor_modifier_can_only_appear_on_a_property_declaration:t(1275,1,"accessor_modifier_can_only_appear_on_a_property_declaration_1275","'accessor' modifier can only appear on a property declaration."),An_accessor_property_cannot_be_declared_optional:t(1276,1,"An_accessor_property_cannot_be_declared_optional_1276","An 'accessor' property cannot be declared optional."),_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class:t(1277,1,"_0_modifier_can_only_appear_on_a_type_parameter_of_a_function_method_or_class_1277","'{0}' modifier can only appear on a type parameter of a function, method or class"),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0:t(1278,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_0_1278","The runtime will invoke the decorator with {1} arguments, but the decorator expects {0}."),The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0:t(1279,1,"The_runtime_will_invoke_the_decorator_with_1_arguments_but_the_decorator_expects_at_least_0_1279","The runtime will invoke the decorator with {1} arguments, but the decorator expects at least {0}."),Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to_be_a_global_script_set_moduleDetection_to_force_or_add_an_empty_export_statement:t(1280,1,"Namespaces_are_not_allowed_in_global_script_files_when_0_is_enabled_If_this_file_is_not_intended_to__1280","Namespaces are not allowed in global script files when '{0}' is enabled. If this file is not intended to be a global script, set 'moduleDetection' to 'force' or add an empty 'export {}' statement."),Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead:t(1281,1,"Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead_1281","Cannot access '{0}' from another file without qualification when '{1}' is enabled. Use '{2}' instead."),An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:t(1282,1,"An_export_declaration_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers__1282","An 'export =' declaration must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:t(1283,1,"An_export_declaration_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolve_1283","An 'export =' declaration must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_type:t(1284,1,"An_export_default_must_reference_a_value_when_verbatimModuleSyntax_is_enabled_but_0_only_refers_to_a_1284","An 'export default' must reference a value when 'verbatimModuleSyntax' is enabled, but '{0}' only refers to a type."),An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_a_type_only_declaration:t(1285,1,"An_export_default_must_reference_a_real_value_when_verbatimModuleSyntax_is_enabled_but_0_resolves_to_1285","An 'export default' must reference a real value when 'verbatimModuleSyntax' is enabled, but '{0}' resolves to a type-only declaration."),ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:t(1286,1,"ESM_syntax_is_not_allowed_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled_1286","ESM syntax is not allowed in a CommonJS module when 'verbatimModuleSyntax' is enabled."),A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimModuleSyntax_is_enabled:t(1287,1,"A_top_level_export_modifier_cannot_be_used_on_value_declarations_in_a_CommonJS_module_when_verbatimM_1287","A top-level 'export' modifier cannot be used on value declarations in a CommonJS module when 'verbatimModuleSyntax' is enabled."),An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabled:t(1288,1,"An_import_alias_cannot_resolve_to_a_type_or_type_only_declaration_when_verbatimModuleSyntax_is_enabl_1288","An import alias cannot resolve to a type or type-only declaration when 'verbatimModuleSyntax' is enabled."),with_statements_are_not_allowed_in_an_async_function_block:t(1300,1,"with_statements_are_not_allowed_in_an_async_function_block_1300","'with' statements are not allowed in an async function block."),await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:t(1308,1,"await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_1308","'await' expressions are only allowed within async functions and at the top levels of modules."),The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level:t(1309,1,"The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level_1309","The current file is a CommonJS module and cannot use 'await' at the top level."),Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_part_of_a_destructuring_pattern:t(1312,1,"Did_you_mean_to_use_a_Colon_An_can_only_follow_a_property_name_when_the_containing_object_literal_is_1312","Did you mean to use a ':'? An '=' can only follow a property name when the containing object literal is part of a destructuring pattern."),The_body_of_an_if_statement_cannot_be_the_empty_statement:t(1313,1,"The_body_of_an_if_statement_cannot_be_the_empty_statement_1313","The body of an 'if' statement cannot be the empty statement."),Global_module_exports_may_only_appear_in_module_files:t(1314,1,"Global_module_exports_may_only_appear_in_module_files_1314","Global module exports may only appear in module files."),Global_module_exports_may_only_appear_in_declaration_files:t(1315,1,"Global_module_exports_may_only_appear_in_declaration_files_1315","Global module exports may only appear in declaration files."),Global_module_exports_may_only_appear_at_top_level:t(1316,1,"Global_module_exports_may_only_appear_at_top_level_1316","Global module exports may only appear at top level."),A_parameter_property_cannot_be_declared_using_a_rest_parameter:t(1317,1,"A_parameter_property_cannot_be_declared_using_a_rest_parameter_1317","A parameter property cannot be declared using a rest parameter."),An_abstract_accessor_cannot_have_an_implementation:t(1318,1,"An_abstract_accessor_cannot_have_an_implementation_1318","An abstract accessor cannot have an implementation."),A_default_export_can_only_be_used_in_an_ECMAScript_style_module:t(1319,1,"A_default_export_can_only_be_used_in_an_ECMAScript_style_module_1319","A default export can only be used in an ECMAScript-style module."),Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:t(1320,1,"Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member_1320","Type of 'await' operand must either be a valid promise or must not contain a callable 'then' member."),Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:t(1321,1,"Type_of_yield_operand_in_an_async_generator_must_either_be_a_valid_promise_or_must_not_contain_a_cal_1321","Type of 'yield' operand in an async generator must either be a valid promise or must not contain a callable 'then' member."),Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member:t(1322,1,"Type_of_iterated_elements_of_a_yield_Asterisk_operand_must_either_be_a_valid_promise_or_must_not_con_1322","Type of iterated elements of a 'yield*' operand must either be a valid promise or must not contain a callable 'then' member."),Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd_system_umd_node16_or_nodenext:t(1323,1,"Dynamic_imports_are_only_supported_when_the_module_flag_is_set_to_es2020_es2022_esnext_commonjs_amd__1323","Dynamic imports are only supported when the '--module' flag is set to 'es2020', 'es2022', 'esnext', 'commonjs', 'amd', 'system', 'umd', 'node16', or 'nodenext'."),Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nodenext:t(1324,1,"Dynamic_imports_only_support_a_second_argument_when_the_module_option_is_set_to_esnext_node16_or_nod_1324","Dynamic imports only support a second argument when the '--module' option is set to 'esnext', 'node16', or 'nodenext'."),Argument_of_dynamic_import_cannot_be_spread_element:t(1325,1,"Argument_of_dynamic_import_cannot_be_spread_element_1325","Argument of dynamic import cannot be spread element."),This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments:t(1326,1,"This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot__1326","This use of 'import' is invalid. 'import()' calls can be written, but they must have parentheses and cannot have type arguments."),String_literal_with_double_quotes_expected:t(1327,1,"String_literal_with_double_quotes_expected_1327","String literal with double quotes expected."),Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_literal:t(1328,1,"Property_value_can_only_be_string_literal_numeric_literal_true_false_null_object_literal_or_array_li_1328","Property value can only be string literal, numeric literal, 'true', 'false', 'null', object literal or array literal."),_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write_0:t(1329,1,"_0_accepts_too_few_arguments_to_be_used_as_a_decorator_here_Did_you_mean_to_call_it_first_and_write__1329","'{0}' accepts too few arguments to be used as a decorator here. Did you mean to call it first and write '@{0}()'?"),A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly:t(1330,1,"A_property_of_an_interface_or_type_literal_whose_type_is_a_unique_symbol_type_must_be_readonly_1330","A property of an interface or type literal whose type is a 'unique symbol' type must be 'readonly'."),A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly:t(1331,1,"A_property_of_a_class_whose_type_is_a_unique_symbol_type_must_be_both_static_and_readonly_1331","A property of a class whose type is a 'unique symbol' type must be both 'static' and 'readonly'."),A_variable_whose_type_is_a_unique_symbol_type_must_be_const:t(1332,1,"A_variable_whose_type_is_a_unique_symbol_type_must_be_const_1332","A variable whose type is a 'unique symbol' type must be 'const'."),unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name:t(1333,1,"unique_symbol_types_may_not_be_used_on_a_variable_declaration_with_a_binding_name_1333","'unique symbol' types may not be used on a variable declaration with a binding name."),unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement:t(1334,1,"unique_symbol_types_are_only_allowed_on_variables_in_a_variable_statement_1334","'unique symbol' types are only allowed on variables in a variable statement."),unique_symbol_types_are_not_allowed_here:t(1335,1,"unique_symbol_types_are_not_allowed_here_1335","'unique symbol' types are not allowed here."),An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_object_type_instead:t(1337,1,"An_index_signature_parameter_type_cannot_be_a_literal_type_or_generic_type_Consider_using_a_mapped_o_1337","An index signature parameter type cannot be a literal type or generic type. Consider using a mapped object type instead."),infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type:t(1338,1,"infer_declarations_are_only_permitted_in_the_extends_clause_of_a_conditional_type_1338","'infer' declarations are only permitted in the 'extends' clause of a conditional type."),Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here:t(1339,1,"Module_0_does_not_refer_to_a_value_but_is_used_as_a_value_here_1339","Module '{0}' does not refer to a value, but is used as a value here."),Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0:t(1340,1,"Module_0_does_not_refer_to_a_type_but_is_used_as_a_type_here_Did_you_mean_typeof_import_0_1340","Module '{0}' does not refer to a type, but is used as a type here. Did you mean 'typeof import('{0}')'?"),Class_constructor_may_not_be_an_accessor:t(1341,1,"Class_constructor_may_not_be_an_accessor_1341","Class constructor may not be an accessor."),The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system_node16_or_nodenext:t(1343,1,"The_import_meta_meta_property_is_only_allowed_when_the_module_option_is_es2020_es2022_esnext_system__1343","The 'import.meta' meta-property is only allowed when the '--module' option is 'es2020', 'es2022', 'esnext', 'system', 'node16', or 'nodenext'."),A_label_is_not_allowed_here:t(1344,1,"A_label_is_not_allowed_here_1344","'A label is not allowed here."),An_expression_of_type_void_cannot_be_tested_for_truthiness:t(1345,1,"An_expression_of_type_void_cannot_be_tested_for_truthiness_1345","An expression of type 'void' cannot be tested for truthiness."),This_parameter_is_not_allowed_with_use_strict_directive:t(1346,1,"This_parameter_is_not_allowed_with_use_strict_directive_1346","This parameter is not allowed with 'use strict' directive."),use_strict_directive_cannot_be_used_with_non_simple_parameter_list:t(1347,1,"use_strict_directive_cannot_be_used_with_non_simple_parameter_list_1347","'use strict' directive cannot be used with non-simple parameter list."),Non_simple_parameter_declared_here:t(1348,1,"Non_simple_parameter_declared_here_1348","Non-simple parameter declared here."),use_strict_directive_used_here:t(1349,1,"use_strict_directive_used_here_1349","'use strict' directive used here."),Print_the_final_configuration_instead_of_building:t(1350,3,"Print_the_final_configuration_instead_of_building_1350","Print the final configuration instead of building."),An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal:t(1351,1,"An_identifier_or_keyword_cannot_immediately_follow_a_numeric_literal_1351","An identifier or keyword cannot immediately follow a numeric literal."),A_bigint_literal_cannot_use_exponential_notation:t(1352,1,"A_bigint_literal_cannot_use_exponential_notation_1352","A bigint literal cannot use exponential notation."),A_bigint_literal_must_be_an_integer:t(1353,1,"A_bigint_literal_must_be_an_integer_1353","A bigint literal must be an integer."),readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types:t(1354,1,"readonly_type_modifier_is_only_permitted_on_array_and_tuple_literal_types_1354","'readonly' type modifier is only permitted on array and tuple literal types."),A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array_or_object_literals:t(1355,1,"A_const_assertions_can_only_be_applied_to_references_to_enum_members_or_string_number_boolean_array__1355","A 'const' assertions can only be applied to references to enum members, or string, number, boolean, array, or object literals."),Did_you_mean_to_mark_this_function_as_async:t(1356,1,"Did_you_mean_to_mark_this_function_as_async_1356","Did you mean to mark this function as 'async'?"),An_enum_member_name_must_be_followed_by_a_or:t(1357,1,"An_enum_member_name_must_be_followed_by_a_or_1357","An enum member name must be followed by a ',', '=', or '}'."),Tagged_template_expressions_are_not_permitted_in_an_optional_chain:t(1358,1,"Tagged_template_expressions_are_not_permitted_in_an_optional_chain_1358","Tagged template expressions are not permitted in an optional chain."),Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here:t(1359,1,"Identifier_expected_0_is_a_reserved_word_that_cannot_be_used_here_1359","Identifier expected. '{0}' is a reserved word that cannot be used here."),Type_0_does_not_satisfy_the_expected_type_1:t(1360,1,"Type_0_does_not_satisfy_the_expected_type_1_1360","Type '{0}' does not satisfy the expected type '{1}'."),_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type:t(1361,1,"_0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type_1361","'{0}' cannot be used as a value because it was imported using 'import type'."),_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:t(1362,1,"_0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type_1362","'{0}' cannot be used as a value because it was exported using 'export type'."),A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both:t(1363,1,"A_type_only_import_can_specify_a_default_import_or_named_bindings_but_not_both_1363","A type-only import can specify a default import or named bindings, but not both."),Convert_to_type_only_export:t(1364,3,"Convert_to_type_only_export_1364","Convert to type-only export"),Convert_all_re_exported_types_to_type_only_exports:t(1365,3,"Convert_all_re_exported_types_to_type_only_exports_1365","Convert all re-exported types to type-only exports"),Split_into_two_separate_import_declarations:t(1366,3,"Split_into_two_separate_import_declarations_1366","Split into two separate import declarations"),Split_all_invalid_type_only_imports:t(1367,3,"Split_all_invalid_type_only_imports_1367","Split all invalid type-only imports"),Class_constructor_may_not_be_a_generator:t(1368,1,"Class_constructor_may_not_be_a_generator_1368","Class constructor may not be a generator."),Did_you_mean_0:t(1369,3,"Did_you_mean_0_1369","Did you mean '{0}'?"),This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set_to_error:t(1371,1,"This_import_is_never_used_as_a_value_and_must_use_import_type_because_importsNotUsedAsValues_is_set__1371","This import is never used as a value and must use 'import type' because 'importsNotUsedAsValues' is set to 'error'."),await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:t(1375,1,"await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_fi_1375","'await' expressions are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),_0_was_imported_here:t(1376,3,"_0_was_imported_here_1376","'{0}' was imported here."),_0_was_exported_here:t(1377,3,"_0_was_exported_here_1377","'{0}' was exported here."),Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:t(1378,1,"Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_n_1378","Top-level 'await' expressions are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type:t(1379,1,"An_import_alias_cannot_reference_a_declaration_that_was_exported_using_export_type_1379","An import alias cannot reference a declaration that was exported using 'export type'."),An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type:t(1380,1,"An_import_alias_cannot_reference_a_declaration_that_was_imported_using_import_type_1380","An import alias cannot reference a declaration that was imported using 'import type'."),Unexpected_token_Did_you_mean_or_rbrace:t(1381,1,"Unexpected_token_Did_you_mean_or_rbrace_1381","Unexpected token. Did you mean `{'}'}` or `}`?"),Unexpected_token_Did_you_mean_or_gt:t(1382,1,"Unexpected_token_Did_you_mean_or_gt_1382","Unexpected token. Did you mean `{'>'}` or `>`?"),Function_type_notation_must_be_parenthesized_when_used_in_a_union_type:t(1385,1,"Function_type_notation_must_be_parenthesized_when_used_in_a_union_type_1385","Function type notation must be parenthesized when used in a union type."),Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type:t(1386,1,"Constructor_type_notation_must_be_parenthesized_when_used_in_a_union_type_1386","Constructor type notation must be parenthesized when used in a union type."),Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:t(1387,1,"Function_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1387","Function type notation must be parenthesized when used in an intersection type."),Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type:t(1388,1,"Constructor_type_notation_must_be_parenthesized_when_used_in_an_intersection_type_1388","Constructor type notation must be parenthesized when used in an intersection type."),_0_is_not_allowed_as_a_variable_declaration_name:t(1389,1,"_0_is_not_allowed_as_a_variable_declaration_name_1389","'{0}' is not allowed as a variable declaration name."),_0_is_not_allowed_as_a_parameter_name:t(1390,1,"_0_is_not_allowed_as_a_parameter_name_1390","'{0}' is not allowed as a parameter name."),An_import_alias_cannot_use_import_type:t(1392,1,"An_import_alias_cannot_use_import_type_1392","An import alias cannot use 'import type'"),Imported_via_0_from_file_1:t(1393,3,"Imported_via_0_from_file_1_1393","Imported via {0} from file '{1}'"),Imported_via_0_from_file_1_with_packageId_2:t(1394,3,"Imported_via_0_from_file_1_with_packageId_2_1394","Imported via {0} from file '{1}' with packageId '{2}'"),Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions:t(1395,3,"Imported_via_0_from_file_1_to_import_importHelpers_as_specified_in_compilerOptions_1395","Imported via {0} from file '{1}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions:t(1396,3,"Imported_via_0_from_file_1_with_packageId_2_to_import_importHelpers_as_specified_in_compilerOptions_1396","Imported via {0} from file '{1}' with packageId '{2}' to import 'importHelpers' as specified in compilerOptions"),Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions:t(1397,3,"Imported_via_0_from_file_1_to_import_jsx_and_jsxs_factory_functions_1397","Imported via {0} from file '{1}' to import 'jsx' and 'jsxs' factory functions"),Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions:t(1398,3,"Imported_via_0_from_file_1_with_packageId_2_to_import_jsx_and_jsxs_factory_functions_1398","Imported via {0} from file '{1}' with packageId '{2}' to import 'jsx' and 'jsxs' factory functions"),File_is_included_via_import_here:t(1399,3,"File_is_included_via_import_here_1399","File is included via import here."),Referenced_via_0_from_file_1:t(1400,3,"Referenced_via_0_from_file_1_1400","Referenced via '{0}' from file '{1}'"),File_is_included_via_reference_here:t(1401,3,"File_is_included_via_reference_here_1401","File is included via reference here."),Type_library_referenced_via_0_from_file_1:t(1402,3,"Type_library_referenced_via_0_from_file_1_1402","Type library referenced via '{0}' from file '{1}'"),Type_library_referenced_via_0_from_file_1_with_packageId_2:t(1403,3,"Type_library_referenced_via_0_from_file_1_with_packageId_2_1403","Type library referenced via '{0}' from file '{1}' with packageId '{2}'"),File_is_included_via_type_library_reference_here:t(1404,3,"File_is_included_via_type_library_reference_here_1404","File is included via type library reference here."),Library_referenced_via_0_from_file_1:t(1405,3,"Library_referenced_via_0_from_file_1_1405","Library referenced via '{0}' from file '{1}'"),File_is_included_via_library_reference_here:t(1406,3,"File_is_included_via_library_reference_here_1406","File is included via library reference here."),Matched_by_include_pattern_0_in_1:t(1407,3,"Matched_by_include_pattern_0_in_1_1407","Matched by include pattern '{0}' in '{1}'"),File_is_matched_by_include_pattern_specified_here:t(1408,3,"File_is_matched_by_include_pattern_specified_here_1408","File is matched by include pattern specified here."),Part_of_files_list_in_tsconfig_json:t(1409,3,"Part_of_files_list_in_tsconfig_json_1409","Part of 'files' list in tsconfig.json"),File_is_matched_by_files_list_specified_here:t(1410,3,"File_is_matched_by_files_list_specified_here_1410","File is matched by 'files' list specified here."),Output_from_referenced_project_0_included_because_1_specified:t(1411,3,"Output_from_referenced_project_0_included_because_1_specified_1411","Output from referenced project '{0}' included because '{1}' specified"),Output_from_referenced_project_0_included_because_module_is_specified_as_none:t(1412,3,"Output_from_referenced_project_0_included_because_module_is_specified_as_none_1412","Output from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_output_from_referenced_project_specified_here:t(1413,3,"File_is_output_from_referenced_project_specified_here_1413","File is output from referenced project specified here."),Source_from_referenced_project_0_included_because_1_specified:t(1414,3,"Source_from_referenced_project_0_included_because_1_specified_1414","Source from referenced project '{0}' included because '{1}' specified"),Source_from_referenced_project_0_included_because_module_is_specified_as_none:t(1415,3,"Source_from_referenced_project_0_included_because_module_is_specified_as_none_1415","Source from referenced project '{0}' included because '--module' is specified as 'none'"),File_is_source_from_referenced_project_specified_here:t(1416,3,"File_is_source_from_referenced_project_specified_here_1416","File is source from referenced project specified here."),Entry_point_of_type_library_0_specified_in_compilerOptions:t(1417,3,"Entry_point_of_type_library_0_specified_in_compilerOptions_1417","Entry point of type library '{0}' specified in compilerOptions"),Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1:t(1418,3,"Entry_point_of_type_library_0_specified_in_compilerOptions_with_packageId_1_1418","Entry point of type library '{0}' specified in compilerOptions with packageId '{1}'"),File_is_entry_point_of_type_library_specified_here:t(1419,3,"File_is_entry_point_of_type_library_specified_here_1419","File is entry point of type library specified here."),Entry_point_for_implicit_type_library_0:t(1420,3,"Entry_point_for_implicit_type_library_0_1420","Entry point for implicit type library '{0}'"),Entry_point_for_implicit_type_library_0_with_packageId_1:t(1421,3,"Entry_point_for_implicit_type_library_0_with_packageId_1_1421","Entry point for implicit type library '{0}' with packageId '{1}'"),Library_0_specified_in_compilerOptions:t(1422,3,"Library_0_specified_in_compilerOptions_1422","Library '{0}' specified in compilerOptions"),File_is_library_specified_here:t(1423,3,"File_is_library_specified_here_1423","File is library specified here."),Default_library:t(1424,3,"Default_library_1424","Default library"),Default_library_for_target_0:t(1425,3,"Default_library_for_target_0_1425","Default library for target '{0}'"),File_is_default_library_for_target_specified_here:t(1426,3,"File_is_default_library_for_target_specified_here_1426","File is default library for target specified here."),Root_file_specified_for_compilation:t(1427,3,"Root_file_specified_for_compilation_1427","Root file specified for compilation"),File_is_output_of_project_reference_source_0:t(1428,3,"File_is_output_of_project_reference_source_0_1428","File is output of project reference source '{0}'"),File_redirects_to_file_0:t(1429,3,"File_redirects_to_file_0_1429","File redirects to file '{0}'"),The_file_is_in_the_program_because_Colon:t(1430,3,"The_file_is_in_the_program_because_Colon_1430","The file is in the program because:"),for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:t(1431,1,"for_await_loops_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_1431","'for await' loops are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:t(1432,1,"Top_level_for_await_loops_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_nod_1432","Top-level 'for await' loops are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters:t(1433,1,"Neither_decorators_nor_modifiers_may_be_applied_to_this_parameters_1433","Neither decorators nor modifiers may be applied to 'this' parameters."),Unexpected_keyword_or_identifier:t(1434,1,"Unexpected_keyword_or_identifier_1434","Unexpected keyword or identifier."),Unknown_keyword_or_identifier_Did_you_mean_0:t(1435,1,"Unknown_keyword_or_identifier_Did_you_mean_0_1435","Unknown keyword or identifier. Did you mean '{0}'?"),Decorators_must_precede_the_name_and_all_keywords_of_property_declarations:t(1436,1,"Decorators_must_precede_the_name_and_all_keywords_of_property_declarations_1436","Decorators must precede the name and all keywords of property declarations."),Namespace_must_be_given_a_name:t(1437,1,"Namespace_must_be_given_a_name_1437","Namespace must be given a name."),Interface_must_be_given_a_name:t(1438,1,"Interface_must_be_given_a_name_1438","Interface must be given a name."),Type_alias_must_be_given_a_name:t(1439,1,"Type_alias_must_be_given_a_name_1439","Type alias must be given a name."),Variable_declaration_not_allowed_at_this_location:t(1440,1,"Variable_declaration_not_allowed_at_this_location_1440","Variable declaration not allowed at this location."),Cannot_start_a_function_call_in_a_type_annotation:t(1441,1,"Cannot_start_a_function_call_in_a_type_annotation_1441","Cannot start a function call in a type annotation."),Expected_for_property_initializer:t(1442,1,"Expected_for_property_initializer_1442","Expected '=' for property initializer."),Module_declaration_names_may_only_use_or_quoted_strings:t(1443,1,"Module_declaration_names_may_only_use_or_quoted_strings_1443","Module declaration names may only use ' or \" quoted strings."),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:t(1444,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedMod_1444","'{0}' is a type and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveValueImports_and_isolatedModules_are_both_enabled:t(1446,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_preserveVa_1446","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'preserveValueImports' and 'isolatedModules' are both enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_enabled:t(1448,1,"_0_resolves_to_a_type_only_declaration_and_must_be_re_exported_using_a_type_only_re_export_when_1_is_1448","'{0}' resolves to a type-only declaration and must be re-exported using a type-only re-export when '{1}' is enabled."),Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed:t(1449,3,"Preserve_unused_imported_values_in_the_JavaScript_output_that_would_otherwise_be_removed_1449","Preserve unused imported values in the JavaScript output that would otherwise be removed."),Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments:t(1450,3,"Dynamic_imports_can_only_accept_a_module_specifier_and_an_optional_set_of_attributes_as_arguments_1450","Dynamic imports can only accept a module specifier and an optional set of attributes as arguments"),Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression:t(1451,1,"Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member__1451","Private identifiers are only allowed in class bodies and may only be used as part of a class member declaration, property access, or on the left-hand-side of an 'in' expression"),resolution_mode_should_be_either_require_or_import:t(1453,1,"resolution_mode_should_be_either_require_or_import_1453","`resolution-mode` should be either `require` or `import`."),resolution_mode_can_only_be_set_for_type_only_imports:t(1454,1,"resolution_mode_can_only_be_set_for_type_only_imports_1454","`resolution-mode` can only be set for type-only imports."),resolution_mode_is_the_only_valid_key_for_type_import_assertions:t(1455,1,"resolution_mode_is_the_only_valid_key_for_type_import_assertions_1455","`resolution-mode` is the only valid key for type import assertions."),Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:t(1456,1,"Type_import_assertions_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1456","Type import assertions should have exactly one key - `resolution-mode` - with value `import` or `require`."),Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk:t(1457,3,"Matched_by_default_include_pattern_Asterisk_Asterisk_Slash_Asterisk_1457","Matched by default include pattern '**/*'"),File_is_ECMAScript_module_because_0_has_field_type_with_value_module:t(1458,3,"File_is_ECMAScript_module_because_0_has_field_type_with_value_module_1458",'File is ECMAScript module because \'{0}\' has field "type" with value "module"'),File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module:t(1459,3,"File_is_CommonJS_module_because_0_has_field_type_whose_value_is_not_module_1459",'File is CommonJS module because \'{0}\' has field "type" whose value is not "module"'),File_is_CommonJS_module_because_0_does_not_have_field_type:t(1460,3,"File_is_CommonJS_module_because_0_does_not_have_field_type_1460","File is CommonJS module because '{0}' does not have field \"type\""),File_is_CommonJS_module_because_package_json_was_not_found:t(1461,3,"File_is_CommonJS_module_because_package_json_was_not_found_1461","File is CommonJS module because 'package.json' was not found"),resolution_mode_is_the_only_valid_key_for_type_import_attributes:t(1463,1,"resolution_mode_is_the_only_valid_key_for_type_import_attributes_1463","'resolution-mode' is the only valid key for type import attributes."),Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require:t(1464,1,"Type_import_attributes_should_have_exactly_one_key_resolution_mode_with_value_import_or_require_1464","Type import attributes should have exactly one key - 'resolution-mode' - with value 'import' or 'require'."),The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output:t(1470,1,"The_import_meta_meta_property_is_not_allowed_in_files_which_will_build_into_CommonJS_output_1470","The 'import.meta' meta-property is not allowed in files which will build into CommonJS output."),Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_cannot_be_imported_with_require_Use_an_ECMAScript_import_instead:t(1471,1,"Module_0_cannot_be_imported_using_this_construct_The_specifier_only_resolves_to_an_ES_module_which_c_1471","Module '{0}' cannot be imported using this construct. The specifier only resolves to an ES module, which cannot be imported with 'require'. Use an ECMAScript import instead."),catch_or_finally_expected:t(1472,1,"catch_or_finally_expected_1472","'catch' or 'finally' expected."),An_import_declaration_can_only_be_used_at_the_top_level_of_a_module:t(1473,1,"An_import_declaration_can_only_be_used_at_the_top_level_of_a_module_1473","An import declaration can only be used at the top level of a module."),An_export_declaration_can_only_be_used_at_the_top_level_of_a_module:t(1474,1,"An_export_declaration_can_only_be_used_at_the_top_level_of_a_module_1474","An export declaration can only be used at the top level of a module."),Control_what_method_is_used_to_detect_module_format_JS_files:t(1475,3,"Control_what_method_is_used_to_detect_module_format_JS_files_1475","Control what method is used to detect module-format JS files."),auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_with_module_Colon_node16_as_modules:t(1476,3,"auto_Colon_Treat_files_with_imports_exports_import_meta_jsx_with_jsx_Colon_react_jsx_or_esm_format_w_1476",'"auto": Treat files with imports, exports, import.meta, jsx (with jsx: react-jsx), or esm format (with module: node16+) as modules.'),An_instantiation_expression_cannot_be_followed_by_a_property_access:t(1477,1,"An_instantiation_expression_cannot_be_followed_by_a_property_access_1477","An instantiation expression cannot be followed by a property access."),Identifier_or_string_literal_expected:t(1478,1,"Identifier_or_string_literal_expected_1478","Identifier or string literal expected."),The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_referenced_file_is_an_ECMAScript_module_and_cannot_be_imported_with_require_Consider_writing_a_dynamic_import_0_call_instead:t(1479,1,"The_current_file_is_a_CommonJS_module_whose_imports_will_produce_require_calls_however_the_reference_1479","The current file is a CommonJS module whose imports will produce 'require' calls; however, the referenced file is an ECMAScript module and cannot be imported with 'require'. Consider writing a dynamic 'import(\"{0}\")' call instead."),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_package_json_file_with_type_Colon_module:t(1480,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_create_a_local_packag_1480",'To convert this file to an ECMAScript module, change its file extension to \'{0}\' or create a local package.json file with `{ "type": "module" }`.'),To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Colon_module_to_1:t(1481,3,"To_convert_this_file_to_an_ECMAScript_module_change_its_file_extension_to_0_or_add_the_field_type_Co_1481","To convert this file to an ECMAScript module, change its file extension to '{0}', or add the field `\"type\": \"module\"` to '{1}'."),To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0:t(1482,3,"To_convert_this_file_to_an_ECMAScript_module_add_the_field_type_Colon_module_to_0_1482",'To convert this file to an ECMAScript module, add the field `"type": "module"` to \'{0}\'.'),To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module:t(1483,3,"To_convert_this_file_to_an_ECMAScript_module_create_a_local_package_json_file_with_type_Colon_module_1483",'To convert this file to an ECMAScript module, create a local package.json file with `{ "type": "module" }`.'),_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:t(1484,1,"_0_is_a_type_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled_1484","'{0}' is a type and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimModuleSyntax_is_enabled:t(1485,1,"_0_resolves_to_a_type_only_declaration_and_must_be_imported_using_a_type_only_import_when_verbatimMo_1485","'{0}' resolves to a type-only declaration and must be imported using a type-only import when 'verbatimModuleSyntax' is enabled."),Decorator_used_before_export_here:t(1486,1,"Decorator_used_before_export_here_1486","Decorator used before 'export' here."),Octal_escape_sequences_are_not_allowed_Use_the_syntax_0:t(1487,1,"Octal_escape_sequences_are_not_allowed_Use_the_syntax_0_1487","Octal escape sequences are not allowed. Use the syntax '{0}'."),Escape_sequence_0_is_not_allowed:t(1488,1,"Escape_sequence_0_is_not_allowed_1488","Escape sequence '{0}' is not allowed."),Decimals_with_leading_zeros_are_not_allowed:t(1489,1,"Decimals_with_leading_zeros_are_not_allowed_1489","Decimals with leading zeros are not allowed."),File_appears_to_be_binary:t(1490,1,"File_appears_to_be_binary_1490","File appears to be binary."),_0_modifier_cannot_appear_on_a_using_declaration:t(1491,1,"_0_modifier_cannot_appear_on_a_using_declaration_1491","'{0}' modifier cannot appear on a 'using' declaration."),_0_declarations_may_not_have_binding_patterns:t(1492,1,"_0_declarations_may_not_have_binding_patterns_1492","'{0}' declarations may not have binding patterns."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration:t(1493,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_using_declaration_1493","The left-hand side of a 'for...in' statement cannot be a 'using' declaration."),The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration:t(1494,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_an_await_using_declaration_1494","The left-hand side of a 'for...in' statement cannot be an 'await using' declaration."),_0_modifier_cannot_appear_on_an_await_using_declaration:t(1495,1,"_0_modifier_cannot_appear_on_an_await_using_declaration_1495","'{0}' modifier cannot appear on an 'await using' declaration."),Identifier_string_literal_or_number_literal_expected:t(1496,1,"Identifier_string_literal_or_number_literal_expected_1496","Identifier, string literal, or number literal expected."),The_types_of_0_are_incompatible_between_these_types:t(2200,1,"The_types_of_0_are_incompatible_between_these_types_2200","The types of '{0}' are incompatible between these types."),The_types_returned_by_0_are_incompatible_between_these_types:t(2201,1,"The_types_returned_by_0_are_incompatible_between_these_types_2201","The types returned by '{0}' are incompatible between these types."),Call_signature_return_types_0_and_1_are_incompatible:t(2202,1,"Call_signature_return_types_0_and_1_are_incompatible_2202","Call signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Construct_signature_return_types_0_and_1_are_incompatible:t(2203,1,"Construct_signature_return_types_0_and_1_are_incompatible_2203","Construct signature return types '{0}' and '{1}' are incompatible.",void 0,!0),Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:t(2204,1,"Call_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2204","Call signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1:t(2205,1,"Construct_signatures_with_no_arguments_have_incompatible_return_types_0_and_1_2205","Construct signatures with no arguments have incompatible return types '{0}' and '{1}'.",void 0,!0),The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement:t(2206,1,"The_type_modifier_cannot_be_used_on_a_named_import_when_import_type_is_used_on_its_import_statement_2206","The 'type' modifier cannot be used on a named import when 'import type' is used on its import statement."),The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement:t(2207,1,"The_type_modifier_cannot_be_used_on_a_named_export_when_export_type_is_used_on_its_export_statement_2207","The 'type' modifier cannot be used on a named export when 'export type' is used on its export statement."),This_type_parameter_might_need_an_extends_0_constraint:t(2208,1,"This_type_parameter_might_need_an_extends_0_constraint_2208","This type parameter might need an `extends {0}` constraint."),The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:t(2209,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_export_map_entry_0_in_file_1_Supply_the_roo_2209","The project root is ambiguous, but is required to resolve export map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_rootDir_compiler_option_to_disambiguate:t(2210,1,"The_project_root_is_ambiguous_but_is_required_to_resolve_import_map_entry_0_in_file_1_Supply_the_roo_2210","The project root is ambiguous, but is required to resolve import map entry '{0}' in file '{1}'. Supply the `rootDir` compiler option to disambiguate."),Add_extends_constraint:t(2211,3,"Add_extends_constraint_2211","Add `extends` constraint."),Add_extends_constraint_to_all_type_parameters:t(2212,3,"Add_extends_constraint_to_all_type_parameters_2212","Add `extends` constraint to all type parameters"),Duplicate_identifier_0:t(2300,1,"Duplicate_identifier_0_2300","Duplicate identifier '{0}'."),Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:t(2301,1,"Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2301","Initializer of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),Static_members_cannot_reference_class_type_parameters:t(2302,1,"Static_members_cannot_reference_class_type_parameters_2302","Static members cannot reference class type parameters."),Circular_definition_of_import_alias_0:t(2303,1,"Circular_definition_of_import_alias_0_2303","Circular definition of import alias '{0}'."),Cannot_find_name_0:t(2304,1,"Cannot_find_name_0_2304","Cannot find name '{0}'."),Module_0_has_no_exported_member_1:t(2305,1,"Module_0_has_no_exported_member_1_2305","Module '{0}' has no exported member '{1}'."),File_0_is_not_a_module:t(2306,1,"File_0_is_not_a_module_2306","File '{0}' is not a module."),Cannot_find_module_0_or_its_corresponding_type_declarations:t(2307,1,"Cannot_find_module_0_or_its_corresponding_type_declarations_2307","Cannot find module '{0}' or its corresponding type declarations."),Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambiguity:t(2308,1,"Module_0_has_already_exported_a_member_named_1_Consider_explicitly_re_exporting_to_resolve_the_ambig_2308","Module {0} has already exported a member named '{1}'. Consider explicitly re-exporting to resolve the ambiguity."),An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements:t(2309,1,"An_export_assignment_cannot_be_used_in_a_module_with_other_exported_elements_2309","An export assignment cannot be used in a module with other exported elements."),Type_0_recursively_references_itself_as_a_base_type:t(2310,1,"Type_0_recursively_references_itself_as_a_base_type_2310","Type '{0}' recursively references itself as a base type."),Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function:t(2311,1,"Cannot_find_name_0_Did_you_mean_to_write_this_in_an_async_function_2311","Cannot find name '{0}'. Did you mean to write this in an async function?"),An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members:t(2312,1,"An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_me_2312","An interface can only extend an object type or intersection of object types with statically known members."),Type_parameter_0_has_a_circular_constraint:t(2313,1,"Type_parameter_0_has_a_circular_constraint_2313","Type parameter '{0}' has a circular constraint."),Generic_type_0_requires_1_type_argument_s:t(2314,1,"Generic_type_0_requires_1_type_argument_s_2314","Generic type '{0}' requires {1} type argument(s)."),Type_0_is_not_generic:t(2315,1,"Type_0_is_not_generic_2315","Type '{0}' is not generic."),Global_type_0_must_be_a_class_or_interface_type:t(2316,1,"Global_type_0_must_be_a_class_or_interface_type_2316","Global type '{0}' must be a class or interface type."),Global_type_0_must_have_1_type_parameter_s:t(2317,1,"Global_type_0_must_have_1_type_parameter_s_2317","Global type '{0}' must have {1} type parameter(s)."),Cannot_find_global_type_0:t(2318,1,"Cannot_find_global_type_0_2318","Cannot find global type '{0}'."),Named_property_0_of_types_1_and_2_are_not_identical:t(2319,1,"Named_property_0_of_types_1_and_2_are_not_identical_2319","Named property '{0}' of types '{1}' and '{2}' are not identical."),Interface_0_cannot_simultaneously_extend_types_1_and_2:t(2320,1,"Interface_0_cannot_simultaneously_extend_types_1_and_2_2320","Interface '{0}' cannot simultaneously extend types '{1}' and '{2}'."),Excessive_stack_depth_comparing_types_0_and_1:t(2321,1,"Excessive_stack_depth_comparing_types_0_and_1_2321","Excessive stack depth comparing types '{0}' and '{1}'."),Type_0_is_not_assignable_to_type_1:t(2322,1,"Type_0_is_not_assignable_to_type_1_2322","Type '{0}' is not assignable to type '{1}'."),Cannot_redeclare_exported_variable_0:t(2323,1,"Cannot_redeclare_exported_variable_0_2323","Cannot redeclare exported variable '{0}'."),Property_0_is_missing_in_type_1:t(2324,1,"Property_0_is_missing_in_type_1_2324","Property '{0}' is missing in type '{1}'."),Property_0_is_private_in_type_1_but_not_in_type_2:t(2325,1,"Property_0_is_private_in_type_1_but_not_in_type_2_2325","Property '{0}' is private in type '{1}' but not in type '{2}'."),Types_of_property_0_are_incompatible:t(2326,1,"Types_of_property_0_are_incompatible_2326","Types of property '{0}' are incompatible."),Property_0_is_optional_in_type_1_but_required_in_type_2:t(2327,1,"Property_0_is_optional_in_type_1_but_required_in_type_2_2327","Property '{0}' is optional in type '{1}' but required in type '{2}'."),Types_of_parameters_0_and_1_are_incompatible:t(2328,1,"Types_of_parameters_0_and_1_are_incompatible_2328","Types of parameters '{0}' and '{1}' are incompatible."),Index_signature_for_type_0_is_missing_in_type_1:t(2329,1,"Index_signature_for_type_0_is_missing_in_type_1_2329","Index signature for type '{0}' is missing in type '{1}'."),_0_and_1_index_signatures_are_incompatible:t(2330,1,"_0_and_1_index_signatures_are_incompatible_2330","'{0}' and '{1}' index signatures are incompatible."),this_cannot_be_referenced_in_a_module_or_namespace_body:t(2331,1,"this_cannot_be_referenced_in_a_module_or_namespace_body_2331","'this' cannot be referenced in a module or namespace body."),this_cannot_be_referenced_in_current_location:t(2332,1,"this_cannot_be_referenced_in_current_location_2332","'this' cannot be referenced in current location."),this_cannot_be_referenced_in_constructor_arguments:t(2333,1,"this_cannot_be_referenced_in_constructor_arguments_2333","'this' cannot be referenced in constructor arguments."),this_cannot_be_referenced_in_a_static_property_initializer:t(2334,1,"this_cannot_be_referenced_in_a_static_property_initializer_2334","'this' cannot be referenced in a static property initializer."),super_can_only_be_referenced_in_a_derived_class:t(2335,1,"super_can_only_be_referenced_in_a_derived_class_2335","'super' can only be referenced in a derived class."),super_cannot_be_referenced_in_constructor_arguments:t(2336,1,"super_cannot_be_referenced_in_constructor_arguments_2336","'super' cannot be referenced in constructor arguments."),Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors:t(2337,1,"Super_calls_are_not_permitted_outside_constructors_or_in_nested_functions_inside_constructors_2337","Super calls are not permitted outside constructors or in nested functions inside constructors."),super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_derived_class:t(2338,1,"super_property_access_is_permitted_only_in_a_constructor_member_function_or_member_accessor_of_a_der_2338","'super' property access is permitted only in a constructor, member function, or member accessor of a derived class."),Property_0_does_not_exist_on_type_1:t(2339,1,"Property_0_does_not_exist_on_type_1_2339","Property '{0}' does not exist on type '{1}'."),Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword:t(2340,1,"Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword_2340","Only public and protected methods of the base class are accessible via the 'super' keyword."),Property_0_is_private_and_only_accessible_within_class_1:t(2341,1,"Property_0_is_private_and_only_accessible_within_class_1_2341","Property '{0}' is private and only accessible within class '{1}'."),This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_version_of_0:t(2343,1,"This_syntax_requires_an_imported_helper_named_1_which_does_not_exist_in_0_Consider_upgrading_your_ve_2343","This syntax requires an imported helper named '{1}' which does not exist in '{0}'. Consider upgrading your version of '{0}'."),Type_0_does_not_satisfy_the_constraint_1:t(2344,1,"Type_0_does_not_satisfy_the_constraint_1_2344","Type '{0}' does not satisfy the constraint '{1}'."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1:t(2345,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_2345","Argument of type '{0}' is not assignable to parameter of type '{1}'."),Untyped_function_calls_may_not_accept_type_arguments:t(2347,1,"Untyped_function_calls_may_not_accept_type_arguments_2347","Untyped function calls may not accept type arguments."),Value_of_type_0_is_not_callable_Did_you_mean_to_include_new:t(2348,1,"Value_of_type_0_is_not_callable_Did_you_mean_to_include_new_2348","Value of type '{0}' is not callable. Did you mean to include 'new'?"),This_expression_is_not_callable:t(2349,1,"This_expression_is_not_callable_2349","This expression is not callable."),Only_a_void_function_can_be_called_with_the_new_keyword:t(2350,1,"Only_a_void_function_can_be_called_with_the_new_keyword_2350","Only a void function can be called with the 'new' keyword."),This_expression_is_not_constructable:t(2351,1,"This_expression_is_not_constructable_2351","This expression is not constructable."),Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the_other_If_this_was_intentional_convert_the_expression_to_unknown_first:t(2352,1,"Conversion_of_type_0_to_type_1_may_be_a_mistake_because_neither_type_sufficiently_overlaps_with_the__2352","Conversion of type '{0}' to type '{1}' may be a mistake because neither type sufficiently overlaps with the other. If this was intentional, convert the expression to 'unknown' first."),Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1:t(2353,1,"Object_literal_may_only_specify_known_properties_and_0_does_not_exist_in_type_1_2353","Object literal may only specify known properties, and '{0}' does not exist in type '{1}'."),This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found:t(2354,1,"This_syntax_requires_an_imported_helper_but_module_0_cannot_be_found_2354","This syntax requires an imported helper but module '{0}' cannot be found."),A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value:t(2355,1,"A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value_2355","A function whose declared type is neither 'undefined', 'void', nor 'any' must return a value."),An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type:t(2356,1,"An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type_2356","An arithmetic operand must be of type 'any', 'number', 'bigint' or an enum type."),The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access:t(2357,1,"The_operand_of_an_increment_or_decrement_operator_must_be_a_variable_or_a_property_access_2357","The operand of an increment or decrement operator must be a variable or a property access."),The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_parameter:t(2358,1,"The_left_hand_side_of_an_instanceof_expression_must_be_of_type_any_an_object_type_or_a_type_paramete_2358","The left-hand side of an 'instanceof' expression must be of type 'any', an object type or a type parameter."),The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_type_assignable_to_the_Function_interface_type_or_an_object_type_with_a_Symbol_hasInstance_method:t(2359,1,"The_right_hand_side_of_an_instanceof_expression_must_be_either_of_type_any_a_class_function_or_other_2359","The right-hand side of an 'instanceof' expression must be either of type 'any', a class, function, or other type assignable to the 'Function' interface type, or an object type with a 'Symbol.hasInstance' method."),The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:t(2362,1,"The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2362","The left-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type:t(2363,1,"The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type_2363","The right-hand side of an arithmetic operation must be of type 'any', 'number', 'bigint' or an enum type."),The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access:t(2364,1,"The_left_hand_side_of_an_assignment_expression_must_be_a_variable_or_a_property_access_2364","The left-hand side of an assignment expression must be a variable or a property access."),Operator_0_cannot_be_applied_to_types_1_and_2:t(2365,1,"Operator_0_cannot_be_applied_to_types_1_and_2_2365","Operator '{0}' cannot be applied to types '{1}' and '{2}'."),Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined:t(2366,1,"Function_lacks_ending_return_statement_and_return_type_does_not_include_undefined_2366","Function lacks ending return statement and return type does not include 'undefined'."),This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap:t(2367,1,"This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap_2367","This comparison appears to be unintentional because the types '{0}' and '{1}' have no overlap."),Type_parameter_name_cannot_be_0:t(2368,1,"Type_parameter_name_cannot_be_0_2368","Type parameter name cannot be '{0}'."),A_parameter_property_is_only_allowed_in_a_constructor_implementation:t(2369,1,"A_parameter_property_is_only_allowed_in_a_constructor_implementation_2369","A parameter property is only allowed in a constructor implementation."),A_rest_parameter_must_be_of_an_array_type:t(2370,1,"A_rest_parameter_must_be_of_an_array_type_2370","A rest parameter must be of an array type."),A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation:t(2371,1,"A_parameter_initializer_is_only_allowed_in_a_function_or_constructor_implementation_2371","A parameter initializer is only allowed in a function or constructor implementation."),Parameter_0_cannot_reference_itself:t(2372,1,"Parameter_0_cannot_reference_itself_2372","Parameter '{0}' cannot reference itself."),Parameter_0_cannot_reference_identifier_1_declared_after_it:t(2373,1,"Parameter_0_cannot_reference_identifier_1_declared_after_it_2373","Parameter '{0}' cannot reference identifier '{1}' declared after it."),Duplicate_index_signature_for_type_0:t(2374,1,"Duplicate_index_signature_for_type_0_2374","Duplicate index signature for type '{0}'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:t(2375,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2375","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_class_contains_initialized_properties_parameter_properties_or_private_identifiers:t(2376,1,"A_super_call_must_be_the_first_statement_in_the_constructor_to_refer_to_super_or_this_when_a_derived_2376","A 'super' call must be the first statement in the constructor to refer to 'super' or 'this' when a derived class contains initialized properties, parameter properties, or private identifiers."),Constructors_for_derived_classes_must_contain_a_super_call:t(2377,1,"Constructors_for_derived_classes_must_contain_a_super_call_2377","Constructors for derived classes must contain a 'super' call."),A_get_accessor_must_return_a_value:t(2378,1,"A_get_accessor_must_return_a_value_2378","A 'get' accessor must return a value."),Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_types_of_the_target_s_properties:t(2379,1,"Argument_of_type_0_is_not_assignable_to_parameter_of_type_1_with_exactOptionalPropertyTypes_Colon_tr_2379","Argument of type '{0}' is not assignable to parameter of type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the types of the target's properties."),Overload_signatures_must_all_be_exported_or_non_exported:t(2383,1,"Overload_signatures_must_all_be_exported_or_non_exported_2383","Overload signatures must all be exported or non-exported."),Overload_signatures_must_all_be_ambient_or_non_ambient:t(2384,1,"Overload_signatures_must_all_be_ambient_or_non_ambient_2384","Overload signatures must all be ambient or non-ambient."),Overload_signatures_must_all_be_public_private_or_protected:t(2385,1,"Overload_signatures_must_all_be_public_private_or_protected_2385","Overload signatures must all be public, private or protected."),Overload_signatures_must_all_be_optional_or_required:t(2386,1,"Overload_signatures_must_all_be_optional_or_required_2386","Overload signatures must all be optional or required."),Function_overload_must_be_static:t(2387,1,"Function_overload_must_be_static_2387","Function overload must be static."),Function_overload_must_not_be_static:t(2388,1,"Function_overload_must_not_be_static_2388","Function overload must not be static."),Function_implementation_name_must_be_0:t(2389,1,"Function_implementation_name_must_be_0_2389","Function implementation name must be '{0}'."),Constructor_implementation_is_missing:t(2390,1,"Constructor_implementation_is_missing_2390","Constructor implementation is missing."),Function_implementation_is_missing_or_not_immediately_following_the_declaration:t(2391,1,"Function_implementation_is_missing_or_not_immediately_following_the_declaration_2391","Function implementation is missing or not immediately following the declaration."),Multiple_constructor_implementations_are_not_allowed:t(2392,1,"Multiple_constructor_implementations_are_not_allowed_2392","Multiple constructor implementations are not allowed."),Duplicate_function_implementation:t(2393,1,"Duplicate_function_implementation_2393","Duplicate function implementation."),This_overload_signature_is_not_compatible_with_its_implementation_signature:t(2394,1,"This_overload_signature_is_not_compatible_with_its_implementation_signature_2394","This overload signature is not compatible with its implementation signature."),Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local:t(2395,1,"Individual_declarations_in_merged_declaration_0_must_be_all_exported_or_all_local_2395","Individual declarations in merged declaration '{0}' must be all exported or all local."),Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters:t(2396,1,"Duplicate_identifier_arguments_Compiler_uses_arguments_to_initialize_rest_parameters_2396","Duplicate identifier 'arguments'. Compiler uses 'arguments' to initialize rest parameters."),Declaration_name_conflicts_with_built_in_global_identifier_0:t(2397,1,"Declaration_name_conflicts_with_built_in_global_identifier_0_2397","Declaration name conflicts with built-in global identifier '{0}'."),constructor_cannot_be_used_as_a_parameter_property_name:t(2398,1,"constructor_cannot_be_used_as_a_parameter_property_name_2398","'constructor' cannot be used as a parameter property name."),Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference:t(2399,1,"Duplicate_identifier_this_Compiler_uses_variable_declaration_this_to_capture_this_reference_2399","Duplicate identifier '_this'. Compiler uses variable declaration '_this' to capture 'this' reference."),Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference:t(2400,1,"Expression_resolves_to_variable_declaration_this_that_compiler_uses_to_capture_this_reference_2400","Expression resolves to variable declaration '_this' that compiler uses to capture 'this' reference."),A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_initialized_properties_parameter_properties_or_private_identifiers:t(2401,1,"A_super_call_must_be_a_root_level_statement_within_a_constructor_of_a_derived_class_that_contains_in_2401","A 'super' call must be a root-level statement within a constructor of a derived class that contains initialized properties, parameter properties, or private identifiers."),Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference:t(2402,1,"Expression_resolves_to_super_that_compiler_uses_to_capture_base_class_reference_2402","Expression resolves to '_super' that compiler uses to capture base class reference."),Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_type_2:t(2403,1,"Subsequent_variable_declarations_must_have_the_same_type_Variable_0_must_be_of_type_1_but_here_has_t_2403","Subsequent variable declarations must have the same type. Variable '{0}' must be of type '{1}', but here has type '{2}'."),The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation:t(2404,1,"The_left_hand_side_of_a_for_in_statement_cannot_use_a_type_annotation_2404","The left-hand side of a 'for...in' statement cannot use a type annotation."),The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any:t(2405,1,"The_left_hand_side_of_a_for_in_statement_must_be_of_type_string_or_any_2405","The left-hand side of a 'for...in' statement must be of type 'string' or 'any'."),The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access:t(2406,1,"The_left_hand_side_of_a_for_in_statement_must_be_a_variable_or_a_property_access_2406","The left-hand side of a 'for...in' statement must be a variable or a property access."),The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_here_has_type_0:t(2407,1,"The_right_hand_side_of_a_for_in_statement_must_be_of_type_any_an_object_type_or_a_type_parameter_but_2407","The right-hand side of a 'for...in' statement must be of type 'any', an object type or a type parameter, but here has type '{0}'."),Setters_cannot_return_a_value:t(2408,1,"Setters_cannot_return_a_value_2408","Setters cannot return a value."),Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class:t(2409,1,"Return_type_of_constructor_signature_must_be_assignable_to_the_instance_type_of_the_class_2409","Return type of constructor signature must be assignable to the instance type of the class."),The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any:t(2410,1,"The_with_statement_is_not_supported_All_symbols_in_a_with_block_will_have_type_any_2410","The 'with' statement is not supported. All symbols in a 'with' block will have type 'any'."),Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefined_to_the_type_of_the_target:t(2412,1,"Type_0_is_not_assignable_to_type_1_with_exactOptionalPropertyTypes_Colon_true_Consider_adding_undefi_2412","Type '{0}' is not assignable to type '{1}' with 'exactOptionalPropertyTypes: true'. Consider adding 'undefined' to the type of the target."),Property_0_of_type_1_is_not_assignable_to_2_index_type_3:t(2411,1,"Property_0_of_type_1_is_not_assignable_to_2_index_type_3_2411","Property '{0}' of type '{1}' is not assignable to '{2}' index type '{3}'."),_0_index_type_1_is_not_assignable_to_2_index_type_3:t(2413,1,"_0_index_type_1_is_not_assignable_to_2_index_type_3_2413","'{0}' index type '{1}' is not assignable to '{2}' index type '{3}'."),Class_name_cannot_be_0:t(2414,1,"Class_name_cannot_be_0_2414","Class name cannot be '{0}'."),Class_0_incorrectly_extends_base_class_1:t(2415,1,"Class_0_incorrectly_extends_base_class_1_2415","Class '{0}' incorrectly extends base class '{1}'."),Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2:t(2416,1,"Property_0_in_type_1_is_not_assignable_to_the_same_property_in_base_type_2_2416","Property '{0}' in type '{1}' is not assignable to the same property in base type '{2}'."),Class_static_side_0_incorrectly_extends_base_class_static_side_1:t(2417,1,"Class_static_side_0_incorrectly_extends_base_class_static_side_1_2417","Class static side '{0}' incorrectly extends base class static side '{1}'."),Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1:t(2418,1,"Type_of_computed_property_s_value_is_0_which_is_not_assignable_to_type_1_2418","Type of computed property's value is '{0}', which is not assignable to type '{1}'."),Types_of_construct_signatures_are_incompatible:t(2419,1,"Types_of_construct_signatures_are_incompatible_2419","Types of construct signatures are incompatible."),Class_0_incorrectly_implements_interface_1:t(2420,1,"Class_0_incorrectly_implements_interface_1_2420","Class '{0}' incorrectly implements interface '{1}'."),A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_members:t(2422,1,"A_class_can_only_implement_an_object_type_or_intersection_of_object_types_with_statically_known_memb_2422","A class can only implement an object type or intersection of object types with statically known members."),Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_accessor:t(2423,1,"Class_0_defines_instance_member_function_1_but_extended_class_2_defines_it_as_instance_member_access_2423","Class '{0}' defines instance member function '{1}', but extended class '{2}' defines it as instance member accessor."),Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_function:t(2425,1,"Class_0_defines_instance_member_property_1_but_extended_class_2_defines_it_as_instance_member_functi_2425","Class '{0}' defines instance member property '{1}', but extended class '{2}' defines it as instance member function."),Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_function:t(2426,1,"Class_0_defines_instance_member_accessor_1_but_extended_class_2_defines_it_as_instance_member_functi_2426","Class '{0}' defines instance member accessor '{1}', but extended class '{2}' defines it as instance member function."),Interface_name_cannot_be_0:t(2427,1,"Interface_name_cannot_be_0_2427","Interface name cannot be '{0}'."),All_declarations_of_0_must_have_identical_type_parameters:t(2428,1,"All_declarations_of_0_must_have_identical_type_parameters_2428","All declarations of '{0}' must have identical type parameters."),Interface_0_incorrectly_extends_interface_1:t(2430,1,"Interface_0_incorrectly_extends_interface_1_2430","Interface '{0}' incorrectly extends interface '{1}'."),Enum_name_cannot_be_0:t(2431,1,"Enum_name_cannot_be_0_2431","Enum name cannot be '{0}'."),In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enum_element:t(2432,1,"In_an_enum_with_multiple_declarations_only_one_declaration_can_omit_an_initializer_for_its_first_enu_2432","In an enum with multiple declarations, only one declaration can omit an initializer for its first enum element."),A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merged:t(2433,1,"A_namespace_declaration_cannot_be_in_a_different_file_from_a_class_or_function_with_which_it_is_merg_2433","A namespace declaration cannot be in a different file from a class or function with which it is merged."),A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged:t(2434,1,"A_namespace_declaration_cannot_be_located_prior_to_a_class_or_function_with_which_it_is_merged_2434","A namespace declaration cannot be located prior to a class or function with which it is merged."),Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces:t(2435,1,"Ambient_modules_cannot_be_nested_in_other_modules_or_namespaces_2435","Ambient modules cannot be nested in other modules or namespaces."),Ambient_module_declaration_cannot_specify_relative_module_name:t(2436,1,"Ambient_module_declaration_cannot_specify_relative_module_name_2436","Ambient module declaration cannot specify relative module name."),Module_0_is_hidden_by_a_local_declaration_with_the_same_name:t(2437,1,"Module_0_is_hidden_by_a_local_declaration_with_the_same_name_2437","Module '{0}' is hidden by a local declaration with the same name."),Import_name_cannot_be_0:t(2438,1,"Import_name_cannot_be_0_2438","Import name cannot be '{0}'."),Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relative_module_name:t(2439,1,"Import_or_export_declaration_in_an_ambient_module_declaration_cannot_reference_module_through_relati_2439","Import or export declaration in an ambient module declaration cannot reference module through relative module name."),Import_declaration_conflicts_with_local_declaration_of_0:t(2440,1,"Import_declaration_conflicts_with_local_declaration_of_0_2440","Import declaration conflicts with local declaration of '{0}'."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module:t(2441,1,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_2441","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module."),Types_have_separate_declarations_of_a_private_property_0:t(2442,1,"Types_have_separate_declarations_of_a_private_property_0_2442","Types have separate declarations of a private property '{0}'."),Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2:t(2443,1,"Property_0_is_protected_but_type_1_is_not_a_class_derived_from_2_2443","Property '{0}' is protected but type '{1}' is not a class derived from '{2}'."),Property_0_is_protected_in_type_1_but_public_in_type_2:t(2444,1,"Property_0_is_protected_in_type_1_but_public_in_type_2_2444","Property '{0}' is protected in type '{1}' but public in type '{2}'."),Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses:t(2445,1,"Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses_2445","Property '{0}' is protected and only accessible within class '{1}' and its subclasses."),Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2:t(2446,1,"Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_cl_2446","Property '{0}' is protected and only accessible through an instance of class '{1}'. This is an instance of class '{2}'."),The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead:t(2447,1,"The_0_operator_is_not_allowed_for_boolean_types_Consider_using_1_instead_2447","The '{0}' operator is not allowed for boolean types. Consider using '{1}' instead."),Block_scoped_variable_0_used_before_its_declaration:t(2448,1,"Block_scoped_variable_0_used_before_its_declaration_2448","Block-scoped variable '{0}' used before its declaration."),Class_0_used_before_its_declaration:t(2449,1,"Class_0_used_before_its_declaration_2449","Class '{0}' used before its declaration."),Enum_0_used_before_its_declaration:t(2450,1,"Enum_0_used_before_its_declaration_2450","Enum '{0}' used before its declaration."),Cannot_redeclare_block_scoped_variable_0:t(2451,1,"Cannot_redeclare_block_scoped_variable_0_2451","Cannot redeclare block-scoped variable '{0}'."),An_enum_member_cannot_have_a_numeric_name:t(2452,1,"An_enum_member_cannot_have_a_numeric_name_2452","An enum member cannot have a numeric name."),Variable_0_is_used_before_being_assigned:t(2454,1,"Variable_0_is_used_before_being_assigned_2454","Variable '{0}' is used before being assigned."),Type_alias_0_circularly_references_itself:t(2456,1,"Type_alias_0_circularly_references_itself_2456","Type alias '{0}' circularly references itself."),Type_alias_name_cannot_be_0:t(2457,1,"Type_alias_name_cannot_be_0_2457","Type alias name cannot be '{0}'."),An_AMD_module_cannot_have_multiple_name_assignments:t(2458,1,"An_AMD_module_cannot_have_multiple_name_assignments_2458","An AMD module cannot have multiple name assignments."),Module_0_declares_1_locally_but_it_is_not_exported:t(2459,1,"Module_0_declares_1_locally_but_it_is_not_exported_2459","Module '{0}' declares '{1}' locally, but it is not exported."),Module_0_declares_1_locally_but_it_is_exported_as_2:t(2460,1,"Module_0_declares_1_locally_but_it_is_exported_as_2_2460","Module '{0}' declares '{1}' locally, but it is exported as '{2}'."),Type_0_is_not_an_array_type:t(2461,1,"Type_0_is_not_an_array_type_2461","Type '{0}' is not an array type."),A_rest_element_must_be_last_in_a_destructuring_pattern:t(2462,1,"A_rest_element_must_be_last_in_a_destructuring_pattern_2462","A rest element must be last in a destructuring pattern."),A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature:t(2463,1,"A_binding_pattern_parameter_cannot_be_optional_in_an_implementation_signature_2463","A binding pattern parameter cannot be optional in an implementation signature."),A_computed_property_name_must_be_of_type_string_number_symbol_or_any:t(2464,1,"A_computed_property_name_must_be_of_type_string_number_symbol_or_any_2464","A computed property name must be of type 'string', 'number', 'symbol', or 'any'."),this_cannot_be_referenced_in_a_computed_property_name:t(2465,1,"this_cannot_be_referenced_in_a_computed_property_name_2465","'this' cannot be referenced in a computed property name."),super_cannot_be_referenced_in_a_computed_property_name:t(2466,1,"super_cannot_be_referenced_in_a_computed_property_name_2466","'super' cannot be referenced in a computed property name."),A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type:t(2467,1,"A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type_2467","A computed property name cannot reference a type parameter from its containing type."),Cannot_find_global_value_0:t(2468,1,"Cannot_find_global_value_0_2468","Cannot find global value '{0}'."),The_0_operator_cannot_be_applied_to_type_symbol:t(2469,1,"The_0_operator_cannot_be_applied_to_type_symbol_2469","The '{0}' operator cannot be applied to type 'symbol'."),Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher:t(2472,1,"Spread_operator_in_new_expressions_is_only_available_when_targeting_ECMAScript_5_and_higher_2472","Spread operator in 'new' expressions is only available when targeting ECMAScript 5 and higher."),Enum_declarations_must_all_be_const_or_non_const:t(2473,1,"Enum_declarations_must_all_be_const_or_non_const_2473","Enum declarations must all be const or non-const."),const_enum_member_initializers_must_be_constant_expressions:t(2474,1,"const_enum_member_initializers_must_be_constant_expressions_2474","const enum member initializers must be constant expressions."),const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_import_declaration_or_export_assignment_or_type_query:t(2475,1,"const_enums_can_only_be_used_in_property_or_index_access_expressions_or_the_right_hand_side_of_an_im_2475","'const' enums can only be used in property or index access expressions or the right hand side of an import declaration or export assignment or type query."),A_const_enum_member_can_only_be_accessed_using_a_string_literal:t(2476,1,"A_const_enum_member_can_only_be_accessed_using_a_string_literal_2476","A const enum member can only be accessed using a string literal."),const_enum_member_initializer_was_evaluated_to_a_non_finite_value:t(2477,1,"const_enum_member_initializer_was_evaluated_to_a_non_finite_value_2477","'const' enum member initializer was evaluated to a non-finite value."),const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN:t(2478,1,"const_enum_member_initializer_was_evaluated_to_disallowed_value_NaN_2478","'const' enum member initializer was evaluated to disallowed value 'NaN'."),let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations:t(2480,1,"let_is_not_allowed_to_be_used_as_a_name_in_let_or_const_declarations_2480","'let' is not allowed to be used as a name in 'let' or 'const' declarations."),Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1:t(2481,1,"Cannot_initialize_outer_scoped_variable_0_in_the_same_scope_as_block_scoped_declaration_1_2481","Cannot initialize outer scoped variable '{0}' in the same scope as block scoped declaration '{1}'."),The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation:t(2483,1,"The_left_hand_side_of_a_for_of_statement_cannot_use_a_type_annotation_2483","The left-hand side of a 'for...of' statement cannot use a type annotation."),Export_declaration_conflicts_with_exported_declaration_of_0:t(2484,1,"Export_declaration_conflicts_with_exported_declaration_of_0_2484","Export declaration conflicts with exported declaration of '{0}'."),The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access:t(2487,1,"The_left_hand_side_of_a_for_of_statement_must_be_a_variable_or_a_property_access_2487","The left-hand side of a 'for...of' statement must be a variable or a property access."),Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator:t(2488,1,"Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator_2488","Type '{0}' must have a '[Symbol.iterator]()' method that returns an iterator."),An_iterator_must_have_a_next_method:t(2489,1,"An_iterator_must_have_a_next_method_2489","An iterator must have a 'next()' method."),The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property:t(2490,1,"The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property_2490","The type returned by the '{0}()' method of an iterator must have a 'value' property."),The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern:t(2491,1,"The_left_hand_side_of_a_for_in_statement_cannot_be_a_destructuring_pattern_2491","The left-hand side of a 'for...in' statement cannot be a destructuring pattern."),Cannot_redeclare_identifier_0_in_catch_clause:t(2492,1,"Cannot_redeclare_identifier_0_in_catch_clause_2492","Cannot redeclare identifier '{0}' in catch clause."),Tuple_type_0_of_length_1_has_no_element_at_index_2:t(2493,1,"Tuple_type_0_of_length_1_has_no_element_at_index_2_2493","Tuple type '{0}' of length '{1}' has no element at index '{2}'."),Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher:t(2494,1,"Using_a_string_in_a_for_of_statement_is_only_supported_in_ECMAScript_5_and_higher_2494","Using a string in a 'for...of' statement is only supported in ECMAScript 5 and higher."),Type_0_is_not_an_array_type_or_a_string_type:t(2495,1,"Type_0_is_not_an_array_type_or_a_string_type_2495","Type '{0}' is not an array type or a string type."),The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_standard_function_expression:t(2496,1,"The_arguments_object_cannot_be_referenced_in_an_arrow_function_in_ES3_and_ES5_Consider_using_a_stand_2496","The 'arguments' object cannot be referenced in an arrow function in ES3 and ES5. Consider using a standard function expression."),This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_referencing_its_default_export:t(2497,1,"This_module_can_only_be_referenced_with_ECMAScript_imports_Slashexports_by_turning_on_the_0_flag_and_2497","This module can only be referenced with ECMAScript imports/exports by turning on the '{0}' flag and referencing its default export."),Module_0_uses_export_and_cannot_be_used_with_export_Asterisk:t(2498,1,"Module_0_uses_export_and_cannot_be_used_with_export_Asterisk_2498","Module '{0}' uses 'export =' and cannot be used with 'export *'."),An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments:t(2499,1,"An_interface_can_only_extend_an_identifier_Slashqualified_name_with_optional_type_arguments_2499","An interface can only extend an identifier/qualified-name with optional type arguments."),A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments:t(2500,1,"A_class_can_only_implement_an_identifier_Slashqualified_name_with_optional_type_arguments_2500","A class can only implement an identifier/qualified-name with optional type arguments."),A_rest_element_cannot_contain_a_binding_pattern:t(2501,1,"A_rest_element_cannot_contain_a_binding_pattern_2501","A rest element cannot contain a binding pattern."),_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation:t(2502,1,"_0_is_referenced_directly_or_indirectly_in_its_own_type_annotation_2502","'{0}' is referenced directly or indirectly in its own type annotation."),Cannot_find_namespace_0:t(2503,1,"Cannot_find_namespace_0_2503","Cannot find namespace '{0}'."),Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator:t(2504,1,"Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator_2504","Type '{0}' must have a '[Symbol.asyncIterator]()' method that returns an async iterator."),A_generator_cannot_have_a_void_type_annotation:t(2505,1,"A_generator_cannot_have_a_void_type_annotation_2505","A generator cannot have a 'void' type annotation."),_0_is_referenced_directly_or_indirectly_in_its_own_base_expression:t(2506,1,"_0_is_referenced_directly_or_indirectly_in_its_own_base_expression_2506","'{0}' is referenced directly or indirectly in its own base expression."),Type_0_is_not_a_constructor_function_type:t(2507,1,"Type_0_is_not_a_constructor_function_type_2507","Type '{0}' is not a constructor function type."),No_base_constructor_has_the_specified_number_of_type_arguments:t(2508,1,"No_base_constructor_has_the_specified_number_of_type_arguments_2508","No base constructor has the specified number of type arguments."),Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members:t(2509,1,"Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_2509","Base constructor return type '{0}' is not an object type or intersection of object types with statically known members."),Base_constructors_must_all_have_the_same_return_type:t(2510,1,"Base_constructors_must_all_have_the_same_return_type_2510","Base constructors must all have the same return type."),Cannot_create_an_instance_of_an_abstract_class:t(2511,1,"Cannot_create_an_instance_of_an_abstract_class_2511","Cannot create an instance of an abstract class."),Overload_signatures_must_all_be_abstract_or_non_abstract:t(2512,1,"Overload_signatures_must_all_be_abstract_or_non_abstract_2512","Overload signatures must all be abstract or non-abstract."),Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression:t(2513,1,"Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression_2513","Abstract method '{0}' in class '{1}' cannot be accessed via super expression."),A_tuple_type_cannot_be_indexed_with_a_negative_value:t(2514,1,"A_tuple_type_cannot_be_indexed_with_a_negative_value_2514","A tuple type cannot be indexed with a negative value."),Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2:t(2515,1,"Non_abstract_class_0_does_not_implement_inherited_abstract_member_1_from_class_2_2515","Non-abstract class '{0}' does not implement inherited abstract member '{1}' from class '{2}'."),All_declarations_of_an_abstract_method_must_be_consecutive:t(2516,1,"All_declarations_of_an_abstract_method_must_be_consecutive_2516","All declarations of an abstract method must be consecutive."),Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type:t(2517,1,"Cannot_assign_an_abstract_constructor_type_to_a_non_abstract_constructor_type_2517","Cannot assign an abstract constructor type to a non-abstract constructor type."),A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard:t(2518,1,"A_this_based_type_guard_is_not_compatible_with_a_parameter_based_type_guard_2518","A 'this'-based type guard is not compatible with a parameter-based type guard."),An_async_iterator_must_have_a_next_method:t(2519,1,"An_async_iterator_must_have_a_next_method_2519","An async iterator must have a 'next()' method."),Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions:t(2520,1,"Duplicate_identifier_0_Compiler_uses_declaration_1_to_support_async_functions_2520","Duplicate identifier '{0}'. Compiler uses declaration '{1}' to support async functions."),The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_using_a_standard_function_or_method:t(2522,1,"The_arguments_object_cannot_be_referenced_in_an_async_function_or_method_in_ES3_and_ES5_Consider_usi_2522","The 'arguments' object cannot be referenced in an async function or method in ES3 and ES5. Consider using a standard function or method."),yield_expressions_cannot_be_used_in_a_parameter_initializer:t(2523,1,"yield_expressions_cannot_be_used_in_a_parameter_initializer_2523","'yield' expressions cannot be used in a parameter initializer."),await_expressions_cannot_be_used_in_a_parameter_initializer:t(2524,1,"await_expressions_cannot_be_used_in_a_parameter_initializer_2524","'await' expressions cannot be used in a parameter initializer."),Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value:t(2525,1,"Initializer_provides_no_value_for_this_binding_element_and_the_binding_element_has_no_default_value_2525","Initializer provides no value for this binding element and the binding element has no default value."),A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface:t(2526,1,"A_this_type_is_available_only_in_a_non_static_member_of_a_class_or_interface_2526","A 'this' type is available only in a non-static member of a class or interface."),The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary:t(2527,1,"The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary_2527","The inferred type of '{0}' references an inaccessible '{1}' type. A type annotation is necessary."),A_module_cannot_have_multiple_default_exports:t(2528,1,"A_module_cannot_have_multiple_default_exports_2528","A module cannot have multiple default exports."),Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_functions:t(2529,1,"Duplicate_identifier_0_Compiler_reserves_name_1_in_top_level_scope_of_a_module_containing_async_func_2529","Duplicate identifier '{0}'. Compiler reserves name '{1}' in top level scope of a module containing async functions."),Property_0_is_incompatible_with_index_signature:t(2530,1,"Property_0_is_incompatible_with_index_signature_2530","Property '{0}' is incompatible with index signature."),Object_is_possibly_null:t(2531,1,"Object_is_possibly_null_2531","Object is possibly 'null'."),Object_is_possibly_undefined:t(2532,1,"Object_is_possibly_undefined_2532","Object is possibly 'undefined'."),Object_is_possibly_null_or_undefined:t(2533,1,"Object_is_possibly_null_or_undefined_2533","Object is possibly 'null' or 'undefined'."),A_function_returning_never_cannot_have_a_reachable_end_point:t(2534,1,"A_function_returning_never_cannot_have_a_reachable_end_point_2534","A function returning 'never' cannot have a reachable end point."),Type_0_cannot_be_used_to_index_type_1:t(2536,1,"Type_0_cannot_be_used_to_index_type_1_2536","Type '{0}' cannot be used to index type '{1}'."),Type_0_has_no_matching_index_signature_for_type_1:t(2537,1,"Type_0_has_no_matching_index_signature_for_type_1_2537","Type '{0}' has no matching index signature for type '{1}'."),Type_0_cannot_be_used_as_an_index_type:t(2538,1,"Type_0_cannot_be_used_as_an_index_type_2538","Type '{0}' cannot be used as an index type."),Cannot_assign_to_0_because_it_is_not_a_variable:t(2539,1,"Cannot_assign_to_0_because_it_is_not_a_variable_2539","Cannot assign to '{0}' because it is not a variable."),Cannot_assign_to_0_because_it_is_a_read_only_property:t(2540,1,"Cannot_assign_to_0_because_it_is_a_read_only_property_2540","Cannot assign to '{0}' because it is a read-only property."),Index_signature_in_type_0_only_permits_reading:t(2542,1,"Index_signature_in_type_0_only_permits_reading_2542","Index signature in type '{0}' only permits reading."),Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_meta_property_reference:t(2543,1,"Duplicate_identifier_newTarget_Compiler_uses_variable_declaration_newTarget_to_capture_new_target_me_2543","Duplicate identifier '_newTarget'. Compiler uses variable declaration '_newTarget' to capture 'new.target' meta-property reference."),Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta_property_reference:t(2544,1,"Expression_resolves_to_variable_declaration_newTarget_that_compiler_uses_to_capture_new_target_meta__2544","Expression resolves to variable declaration '_newTarget' that compiler uses to capture 'new.target' meta-property reference."),A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any:t(2545,1,"A_mixin_class_must_have_a_constructor_with_a_single_rest_parameter_of_type_any_2545","A mixin class must have a constructor with a single rest parameter of type 'any[]'."),The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property:t(2547,1,"The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_pro_2547","The type returned by the '{0}()' method of an async iterator must be a promise for a type with a 'value' property."),Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:t(2548,1,"Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator_2548","Type '{0}' is not an array type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator:t(2549,1,"Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns__2549","Type '{0}' is not an array type or a string type or does not have a '[Symbol.iterator]()' method that returns an iterator."),Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later:t(2550,1,"Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_c_2550","Property '{0}' does not exist on type '{1}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{2}' or later."),Property_0_does_not_exist_on_type_1_Did_you_mean_2:t(2551,1,"Property_0_does_not_exist_on_type_1_Did_you_mean_2_2551","Property '{0}' does not exist on type '{1}'. Did you mean '{2}'?"),Cannot_find_name_0_Did_you_mean_1:t(2552,1,"Cannot_find_name_0_Did_you_mean_1_2552","Cannot find name '{0}'. Did you mean '{1}'?"),Computed_values_are_not_permitted_in_an_enum_with_string_valued_members:t(2553,1,"Computed_values_are_not_permitted_in_an_enum_with_string_valued_members_2553","Computed values are not permitted in an enum with string valued members."),Expected_0_arguments_but_got_1:t(2554,1,"Expected_0_arguments_but_got_1_2554","Expected {0} arguments, but got {1}."),Expected_at_least_0_arguments_but_got_1:t(2555,1,"Expected_at_least_0_arguments_but_got_1_2555","Expected at least {0} arguments, but got {1}."),A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter:t(2556,1,"A_spread_argument_must_either_have_a_tuple_type_or_be_passed_to_a_rest_parameter_2556","A spread argument must either have a tuple type or be passed to a rest parameter."),Expected_0_type_arguments_but_got_1:t(2558,1,"Expected_0_type_arguments_but_got_1_2558","Expected {0} type arguments, but got {1}."),Type_0_has_no_properties_in_common_with_type_1:t(2559,1,"Type_0_has_no_properties_in_common_with_type_1_2559","Type '{0}' has no properties in common with type '{1}'."),Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it:t(2560,1,"Value_of_type_0_has_no_properties_in_common_with_type_1_Did_you_mean_to_call_it_2560","Value of type '{0}' has no properties in common with type '{1}'. Did you mean to call it?"),Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_write_2:t(2561,1,"Object_literal_may_only_specify_known_properties_but_0_does_not_exist_in_type_1_Did_you_mean_to_writ_2561","Object literal may only specify known properties, but '{0}' does not exist in type '{1}'. Did you mean to write '{2}'?"),Base_class_expressions_cannot_reference_class_type_parameters:t(2562,1,"Base_class_expressions_cannot_reference_class_type_parameters_2562","Base class expressions cannot reference class type parameters."),The_containing_function_or_module_body_is_too_large_for_control_flow_analysis:t(2563,1,"The_containing_function_or_module_body_is_too_large_for_control_flow_analysis_2563","The containing function or module body is too large for control flow analysis."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor:t(2564,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_the_constructor_2564","Property '{0}' has no initializer and is not definitely assigned in the constructor."),Property_0_is_used_before_being_assigned:t(2565,1,"Property_0_is_used_before_being_assigned_2565","Property '{0}' is used before being assigned."),A_rest_element_cannot_have_a_property_name:t(2566,1,"A_rest_element_cannot_have_a_property_name_2566","A rest element cannot have a property name."),Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations:t(2567,1,"Enum_declarations_can_only_merge_with_namespace_or_other_enum_declarations_2567","Enum declarations can only merge with namespace or other enum declarations."),Property_0_may_not_exist_on_type_1_Did_you_mean_2:t(2568,1,"Property_0_may_not_exist_on_type_1_Did_you_mean_2_2568","Property '{0}' may not exist on type '{1}'. Did you mean '{2}'?"),Could_not_find_name_0_Did_you_mean_1:t(2570,1,"Could_not_find_name_0_Did_you_mean_1_2570","Could not find name '{0}'. Did you mean '{1}'?"),Object_is_of_type_unknown:t(2571,1,"Object_is_of_type_unknown_2571","Object is of type 'unknown'."),A_rest_element_type_must_be_an_array_type:t(2574,1,"A_rest_element_type_must_be_an_array_type_2574","A rest element type must be an array type."),No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments:t(2575,1,"No_overload_expects_0_arguments_but_overloads_do_exist_that_expect_either_1_or_2_arguments_2575","No overload expects {0} arguments, but overloads do exist that expect either {1} or {2} arguments."),Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead:t(2576,1,"Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead_2576","Property '{0}' does not exist on type '{1}'. Did you mean to access the static member '{2}' instead?"),Return_type_annotation_circularly_references_itself:t(2577,1,"Return_type_annotation_circularly_references_itself_2577","Return type annotation circularly references itself."),Unused_ts_expect_error_directive:t(2578,1,"Unused_ts_expect_error_directive_2578","Unused '@ts-expect-error' directive."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode:t(2580,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2580","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery:t(2581,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2581","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery`."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha:t(2582,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2582","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha`."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_1_or_later:t(2583,1,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2583","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to '{1}' or later."),Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_include_dom:t(2584,1,"Cannot_find_name_0_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2584","Cannot find name '{0}'. Do you need to change your target library? Try changing the 'lib' compiler option to include 'dom'."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later:t(2585,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_2585","'{0}' only refers to a type, but is being used as a value here. Do you need to change your target library? Try changing the 'lib' compiler option to es2015 or later."),Cannot_assign_to_0_because_it_is_a_constant:t(2588,1,"Cannot_assign_to_0_because_it_is_a_constant_2588","Cannot assign to '{0}' because it is a constant."),Type_instantiation_is_excessively_deep_and_possibly_infinite:t(2589,1,"Type_instantiation_is_excessively_deep_and_possibly_infinite_2589","Type instantiation is excessively deep and possibly infinite."),Expression_produces_a_union_type_that_is_too_complex_to_represent:t(2590,1,"Expression_produces_a_union_type_that_is_too_complex_to_represent_2590","Expression produces a union type that is too complex to represent."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashnode_and_then_add_node_to_the_types_field_in_your_tsconfig:t(2591,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_node_Try_npm_i_save_dev_types_Slashno_2591","Cannot find name '{0}'. Do you need to install type definitions for node? Try `npm i --save-dev @types/node` and then add 'node' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slashjquery_and_then_add_jquery_to_the_types_field_in_your_tsconfig:t(2592,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_jQuery_Try_npm_i_save_dev_types_Slash_2592","Cannot find name '{0}'. Do you need to install type definitions for jQuery? Try `npm i --save-dev @types/jquery` and then add 'jquery' to the types field in your tsconfig."),Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_types_Slashjest_or_npm_i_save_dev_types_Slashmocha_and_then_add_jest_or_mocha_to_the_types_field_in_your_tsconfig:t(2593,1,"Cannot_find_name_0_Do_you_need_to_install_type_definitions_for_a_test_runner_Try_npm_i_save_dev_type_2593","Cannot find name '{0}'. Do you need to install type definitions for a test runner? Try `npm i --save-dev @types/jest` or `npm i --save-dev @types/mocha` and then add 'jest' or 'mocha' to the types field in your tsconfig."),This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag:t(2594,1,"This_module_is_declared_with_export_and_can_only_be_used_with_a_default_import_when_using_the_0_flag_2594","This module is declared with 'export =', and can only be used with a default import when using the '{0}' flag."),_0_can_only_be_imported_by_using_a_default_import:t(2595,1,"_0_can_only_be_imported_by_using_a_default_import_2595","'{0}' can only be imported by using a default import."),_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:t(2596,1,"_0_can_only_be_imported_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import_2596","'{0}' can only be imported by turning on the 'esModuleInterop' flag and using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import:t(2597,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_using_a_default_import_2597","'{0}' can only be imported by using a 'require' call or by using a default import."),_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:t(2598,1,"_0_can_only_be_imported_by_using_a_require_call_or_by_turning_on_the_esModuleInterop_flag_and_using__2598","'{0}' can only be imported by using a 'require' call or by turning on the 'esModuleInterop' flag and using a default import."),JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist:t(2602,1,"JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist_2602","JSX element implicitly has type 'any' because the global type 'JSX.Element' does not exist."),Property_0_in_type_1_is_not_assignable_to_type_2:t(2603,1,"Property_0_in_type_1_is_not_assignable_to_type_2_2603","Property '{0}' in type '{1}' is not assignable to type '{2}'."),JSX_element_type_0_does_not_have_any_construct_or_call_signatures:t(2604,1,"JSX_element_type_0_does_not_have_any_construct_or_call_signatures_2604","JSX element type '{0}' does not have any construct or call signatures."),Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property:t(2606,1,"Property_0_of_JSX_spread_attribute_is_not_assignable_to_target_property_2606","Property '{0}' of JSX spread attribute is not assignable to target property."),JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property:t(2607,1,"JSX_element_class_does_not_support_attributes_because_it_does_not_have_a_0_property_2607","JSX element class does not support attributes because it does not have a '{0}' property."),The_global_type_JSX_0_may_not_have_more_than_one_property:t(2608,1,"The_global_type_JSX_0_may_not_have_more_than_one_property_2608","The global type 'JSX.{0}' may not have more than one property."),JSX_spread_child_must_be_an_array_type:t(2609,1,"JSX_spread_child_must_be_an_array_type_2609","JSX spread child must be an array type."),_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property:t(2610,1,"_0_is_defined_as_an_accessor_in_class_1_but_is_overridden_here_in_2_as_an_instance_property_2610","'{0}' is defined as an accessor in class '{1}', but is overridden here in '{2}' as an instance property."),_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor:t(2611,1,"_0_is_defined_as_a_property_in_class_1_but_is_overridden_here_in_2_as_an_accessor_2611","'{0}' is defined as a property in class '{1}', but is overridden here in '{2}' as an accessor."),Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_add_a_declare_modifier_or_remove_the_redundant_declaration:t(2612,1,"Property_0_will_overwrite_the_base_property_in_1_If_this_is_intentional_add_an_initializer_Otherwise_2612","Property '{0}' will overwrite the base property in '{1}'. If this is intentional, add an initializer. Otherwise, add a 'declare' modifier or remove the redundant declaration."),Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead:t(2613,1,"Module_0_has_no_default_export_Did_you_mean_to_use_import_1_from_0_instead_2613","Module '{0}' has no default export. Did you mean to use 'import { {1} } from {0}' instead?"),Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead:t(2614,1,"Module_0_has_no_exported_member_1_Did_you_mean_to_use_import_1_from_0_instead_2614","Module '{0}' has no exported member '{1}'. Did you mean to use 'import {1} from {0}' instead?"),Type_of_property_0_circularly_references_itself_in_mapped_type_1:t(2615,1,"Type_of_property_0_circularly_references_itself_in_mapped_type_1_2615","Type of property '{0}' circularly references itself in mapped type '{1}'."),_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import:t(2616,1,"_0_can_only_be_imported_by_using_import_1_require_2_or_a_default_import_2616","'{0}' can only be imported by using 'import {1} = require({2})' or a default import."),_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_using_a_default_import:t(2617,1,"_0_can_only_be_imported_by_using_import_1_require_2_or_by_turning_on_the_esModuleInterop_flag_and_us_2617","'{0}' can only be imported by using 'import {1} = require({2})' or by turning on the 'esModuleInterop' flag and using a default import."),Source_has_0_element_s_but_target_requires_1:t(2618,1,"Source_has_0_element_s_but_target_requires_1_2618","Source has {0} element(s) but target requires {1}."),Source_has_0_element_s_but_target_allows_only_1:t(2619,1,"Source_has_0_element_s_but_target_allows_only_1_2619","Source has {0} element(s) but target allows only {1}."),Target_requires_0_element_s_but_source_may_have_fewer:t(2620,1,"Target_requires_0_element_s_but_source_may_have_fewer_2620","Target requires {0} element(s) but source may have fewer."),Target_allows_only_0_element_s_but_source_may_have_more:t(2621,1,"Target_allows_only_0_element_s_but_source_may_have_more_2621","Target allows only {0} element(s) but source may have more."),Source_provides_no_match_for_required_element_at_position_0_in_target:t(2623,1,"Source_provides_no_match_for_required_element_at_position_0_in_target_2623","Source provides no match for required element at position {0} in target."),Source_provides_no_match_for_variadic_element_at_position_0_in_target:t(2624,1,"Source_provides_no_match_for_variadic_element_at_position_0_in_target_2624","Source provides no match for variadic element at position {0} in target."),Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target:t(2625,1,"Variadic_element_at_position_0_in_source_does_not_match_element_at_position_1_in_target_2625","Variadic element at position {0} in source does not match element at position {1} in target."),Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target:t(2626,1,"Type_at_position_0_in_source_is_not_compatible_with_type_at_position_1_in_target_2626","Type at position {0} in source is not compatible with type at position {1} in target."),Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target:t(2627,1,"Type_at_positions_0_through_1_in_source_is_not_compatible_with_type_at_position_2_in_target_2627","Type at positions {0} through {1} in source is not compatible with type at position {2} in target."),Cannot_assign_to_0_because_it_is_an_enum:t(2628,1,"Cannot_assign_to_0_because_it_is_an_enum_2628","Cannot assign to '{0}' because it is an enum."),Cannot_assign_to_0_because_it_is_a_class:t(2629,1,"Cannot_assign_to_0_because_it_is_a_class_2629","Cannot assign to '{0}' because it is a class."),Cannot_assign_to_0_because_it_is_a_function:t(2630,1,"Cannot_assign_to_0_because_it_is_a_function_2630","Cannot assign to '{0}' because it is a function."),Cannot_assign_to_0_because_it_is_a_namespace:t(2631,1,"Cannot_assign_to_0_because_it_is_a_namespace_2631","Cannot assign to '{0}' because it is a namespace."),Cannot_assign_to_0_because_it_is_an_import:t(2632,1,"Cannot_assign_to_0_because_it_is_an_import_2632","Cannot assign to '{0}' because it is an import."),JSX_property_access_expressions_cannot_include_JSX_namespace_names:t(2633,1,"JSX_property_access_expressions_cannot_include_JSX_namespace_names_2633","JSX property access expressions cannot include JSX namespace names"),_0_index_signatures_are_incompatible:t(2634,1,"_0_index_signatures_are_incompatible_2634","'{0}' index signatures are incompatible."),Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable:t(2635,1,"Type_0_has_no_signatures_for_which_the_type_argument_list_is_applicable_2635","Type '{0}' has no signatures for which the type argument list is applicable."),Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation:t(2636,1,"Type_0_is_not_assignable_to_type_1_as_implied_by_variance_annotation_2636","Type '{0}' is not assignable to type '{1}' as implied by variance annotation."),Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_types:t(2637,1,"Variance_annotations_are_only_supported_in_type_aliases_for_object_function_constructor_and_mapped_t_2637","Variance annotations are only supported in type aliases for object, function, constructor, and mapped types."),Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator:t(2638,1,"Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operato_2638","Type '{0}' may represent a primitive value, which is not permitted as the right operand of the 'in' operator."),React_components_cannot_include_JSX_namespace_names:t(2639,1,"React_components_cannot_include_JSX_namespace_names_2639","React components cannot include JSX namespace names"),Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity:t(2649,1,"Cannot_augment_module_0_with_value_exports_because_it_resolves_to_a_non_module_entity_2649","Cannot augment module '{0}' with value exports because it resolves to a non-module entity."),A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_members_defined_in_other_enums:t(2651,1,"A_member_initializer_in_a_enum_declaration_cannot_reference_members_declared_after_it_including_memb_2651","A member initializer in a enum declaration cannot reference members declared after it, including members defined in other enums."),Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_default_0_declaration_instead:t(2652,1,"Merged_declaration_0_cannot_include_a_default_export_declaration_Consider_adding_a_separate_export_d_2652","Merged declaration '{0}' cannot include a default export declaration. Consider adding a separate 'export default {0}' declaration instead."),Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1:t(2653,1,"Non_abstract_class_expression_does_not_implement_inherited_abstract_member_0_from_class_1_2653","Non-abstract class expression does not implement inherited abstract member '{0}' from class '{1}'."),JSX_expressions_must_have_one_parent_element:t(2657,1,"JSX_expressions_must_have_one_parent_element_2657","JSX expressions must have one parent element."),Type_0_provides_no_match_for_the_signature_1:t(2658,1,"Type_0_provides_no_match_for_the_signature_1_2658","Type '{0}' provides no match for the signature '{1}'."),super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_higher:t(2659,1,"super_is_only_allowed_in_members_of_object_literal_expressions_when_option_target_is_ES2015_or_highe_2659","'super' is only allowed in members of object literal expressions when option 'target' is 'ES2015' or higher."),super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions:t(2660,1,"super_can_only_be_referenced_in_members_of_derived_classes_or_object_literal_expressions_2660","'super' can only be referenced in members of derived classes or object literal expressions."),Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module:t(2661,1,"Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module_2661","Cannot export '{0}'. Only local declarations can be exported from a module."),Cannot_find_name_0_Did_you_mean_the_static_member_1_0:t(2662,1,"Cannot_find_name_0_Did_you_mean_the_static_member_1_0_2662","Cannot find name '{0}'. Did you mean the static member '{1}.{0}'?"),Cannot_find_name_0_Did_you_mean_the_instance_member_this_0:t(2663,1,"Cannot_find_name_0_Did_you_mean_the_instance_member_this_0_2663","Cannot find name '{0}'. Did you mean the instance member 'this.{0}'?"),Invalid_module_name_in_augmentation_module_0_cannot_be_found:t(2664,1,"Invalid_module_name_in_augmentation_module_0_cannot_be_found_2664","Invalid module name in augmentation, module '{0}' cannot be found."),Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augmented:t(2665,1,"Invalid_module_name_in_augmentation_Module_0_resolves_to_an_untyped_module_at_1_which_cannot_be_augm_2665","Invalid module name in augmentation. Module '{0}' resolves to an untyped module at '{1}', which cannot be augmented."),Exports_and_export_assignments_are_not_permitted_in_module_augmentations:t(2666,1,"Exports_and_export_assignments_are_not_permitted_in_module_augmentations_2666","Exports and export assignments are not permitted in module augmentations."),Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_module:t(2667,1,"Imports_are_not_permitted_in_module_augmentations_Consider_moving_them_to_the_enclosing_external_mod_2667","Imports are not permitted in module augmentations. Consider moving them to the enclosing external module."),export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always_visible:t(2668,1,"export_modifier_cannot_be_applied_to_ambient_modules_and_module_augmentations_since_they_are_always__2668","'export' modifier cannot be applied to ambient modules and module augmentations since they are always visible."),Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_declarations:t(2669,1,"Augmentations_for_the_global_scope_can_only_be_directly_nested_in_external_modules_or_ambient_module_2669","Augmentations for the global scope can only be directly nested in external modules or ambient module declarations."),Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambient_context:t(2670,1,"Augmentations_for_the_global_scope_should_have_declare_modifier_unless_they_appear_in_already_ambien_2670","Augmentations for the global scope should have 'declare' modifier unless they appear in already ambient context."),Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity:t(2671,1,"Cannot_augment_module_0_because_it_resolves_to_a_non_module_entity_2671","Cannot augment module '{0}' because it resolves to a non-module entity."),Cannot_assign_a_0_constructor_type_to_a_1_constructor_type:t(2672,1,"Cannot_assign_a_0_constructor_type_to_a_1_constructor_type_2672","Cannot assign a '{0}' constructor type to a '{1}' constructor type."),Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration:t(2673,1,"Constructor_of_class_0_is_private_and_only_accessible_within_the_class_declaration_2673","Constructor of class '{0}' is private and only accessible within the class declaration."),Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration:t(2674,1,"Constructor_of_class_0_is_protected_and_only_accessible_within_the_class_declaration_2674","Constructor of class '{0}' is protected and only accessible within the class declaration."),Cannot_extend_a_class_0_Class_constructor_is_marked_as_private:t(2675,1,"Cannot_extend_a_class_0_Class_constructor_is_marked_as_private_2675","Cannot extend a class '{0}'. Class constructor is marked as private."),Accessors_must_both_be_abstract_or_non_abstract:t(2676,1,"Accessors_must_both_be_abstract_or_non_abstract_2676","Accessors must both be abstract or non-abstract."),A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type:t(2677,1,"A_type_predicate_s_type_must_be_assignable_to_its_parameter_s_type_2677","A type predicate's type must be assignable to its parameter's type."),Type_0_is_not_comparable_to_type_1:t(2678,1,"Type_0_is_not_comparable_to_type_1_2678","Type '{0}' is not comparable to type '{1}'."),A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void:t(2679,1,"A_function_that_is_called_with_the_new_keyword_cannot_have_a_this_type_that_is_void_2679","A function that is called with the 'new' keyword cannot have a 'this' type that is 'void'."),A_0_parameter_must_be_the_first_parameter:t(2680,1,"A_0_parameter_must_be_the_first_parameter_2680","A '{0}' parameter must be the first parameter."),A_constructor_cannot_have_a_this_parameter:t(2681,1,"A_constructor_cannot_have_a_this_parameter_2681","A constructor cannot have a 'this' parameter."),this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation:t(2683,1,"this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_2683","'this' implicitly has type 'any' because it does not have a type annotation."),The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1:t(2684,1,"The_this_context_of_type_0_is_not_assignable_to_method_s_this_of_type_1_2684","The 'this' context of type '{0}' is not assignable to method's 'this' of type '{1}'."),The_this_types_of_each_signature_are_incompatible:t(2685,1,"The_this_types_of_each_signature_are_incompatible_2685","The 'this' types of each signature are incompatible."),_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead:t(2686,1,"_0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead_2686","'{0}' refers to a UMD global, but the current file is a module. Consider adding an import instead."),All_declarations_of_0_must_have_identical_modifiers:t(2687,1,"All_declarations_of_0_must_have_identical_modifiers_2687","All declarations of '{0}' must have identical modifiers."),Cannot_find_type_definition_file_for_0:t(2688,1,"Cannot_find_type_definition_file_for_0_2688","Cannot find type definition file for '{0}'."),Cannot_extend_an_interface_0_Did_you_mean_implements:t(2689,1,"Cannot_extend_an_interface_0_Did_you_mean_implements_2689","Cannot extend an interface '{0}'. Did you mean 'implements'?"),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0:t(2690,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0_2690","'{0}' only refers to a type, but is being used as a value here. Did you mean to use '{1} in {0}'?"),_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible:t(2692,1,"_0_is_a_primitive_but_1_is_a_wrapper_object_Prefer_using_0_when_possible_2692","'{0}' is a primitive, but '{1}' is a wrapper object. Prefer using '{0}' when possible."),_0_only_refers_to_a_type_but_is_being_used_as_a_value_here:t(2693,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_value_here_2693","'{0}' only refers to a type, but is being used as a value here."),Namespace_0_has_no_exported_member_1:t(2694,1,"Namespace_0_has_no_exported_member_1_2694","Namespace '{0}' has no exported member '{1}'."),Left_side_of_comma_operator_is_unused_and_has_no_side_effects:t(2695,1,"Left_side_of_comma_operator_is_unused_and_has_no_side_effects_2695","Left side of comma operator is unused and has no side effects.",!0),The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead:t(2696,1,"The_Object_type_is_assignable_to_very_few_other_types_Did_you_mean_to_use_the_any_type_instead_2696","The 'Object' type is assignable to very few other types. Did you mean to use the 'any' type instead?"),An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:t(2697,1,"An_async_function_or_method_must_return_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_in_2697","An async function or method must return a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),Spread_types_may_only_be_created_from_object_types:t(2698,1,"Spread_types_may_only_be_created_from_object_types_2698","Spread types may only be created from object types."),Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1:t(2699,1,"Static_property_0_conflicts_with_built_in_property_Function_0_of_constructor_function_1_2699","Static property '{0}' conflicts with built-in property 'Function.{0}' of constructor function '{1}'."),Rest_types_may_only_be_created_from_object_types:t(2700,1,"Rest_types_may_only_be_created_from_object_types_2700","Rest types may only be created from object types."),The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access:t(2701,1,"The_target_of_an_object_rest_assignment_must_be_a_variable_or_a_property_access_2701","The target of an object rest assignment must be a variable or a property access."),_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here:t(2702,1,"_0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here_2702","'{0}' only refers to a type, but is being used as a namespace here."),The_operand_of_a_delete_operator_must_be_a_property_reference:t(2703,1,"The_operand_of_a_delete_operator_must_be_a_property_reference_2703","The operand of a 'delete' operator must be a property reference."),The_operand_of_a_delete_operator_cannot_be_a_read_only_property:t(2704,1,"The_operand_of_a_delete_operator_cannot_be_a_read_only_property_2704","The operand of a 'delete' operator cannot be a read-only property."),An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:t(2705,1,"An_async_function_or_method_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_de_2705","An async function or method in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Required_type_parameters_may_not_follow_optional_type_parameters:t(2706,1,"Required_type_parameters_may_not_follow_optional_type_parameters_2706","Required type parameters may not follow optional type parameters."),Generic_type_0_requires_between_1_and_2_type_arguments:t(2707,1,"Generic_type_0_requires_between_1_and_2_type_arguments_2707","Generic type '{0}' requires between {1} and {2} type arguments."),Cannot_use_namespace_0_as_a_value:t(2708,1,"Cannot_use_namespace_0_as_a_value_2708","Cannot use namespace '{0}' as a value."),Cannot_use_namespace_0_as_a_type:t(2709,1,"Cannot_use_namespace_0_as_a_type_2709","Cannot use namespace '{0}' as a type."),_0_are_specified_twice_The_attribute_named_0_will_be_overwritten:t(2710,1,"_0_are_specified_twice_The_attribute_named_0_will_be_overwritten_2710","'{0}' are specified twice. The attribute named '{0}' will be overwritten."),A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES2015_in_your_lib_option:t(2711,1,"A_dynamic_import_call_returns_a_Promise_Make_sure_you_have_a_declaration_for_Promise_or_include_ES20_2711","A dynamic import call returns a 'Promise'. Make sure you have a declaration for 'Promise' or include 'ES2015' in your '--lib' option."),A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declaration_for_the_Promise_constructor_or_include_ES2015_in_your_lib_option:t(2712,1,"A_dynamic_import_call_in_ES5_SlashES3_requires_the_Promise_constructor_Make_sure_you_have_a_declarat_2712","A dynamic import call in ES5/ES3 requires the 'Promise' constructor. Make sure you have a declaration for the 'Promise' constructor or include 'ES2015' in your '--lib' option."),Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1:t(2713,1,"Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_p_2713","Cannot access '{0}.{1}' because '{0}' is a type, but not a namespace. Did you mean to retrieve the type of the property '{1}' in '{0}' with '{0}[\"{1}\"]'?"),The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context:t(2714,1,"The_expression_of_an_export_assignment_must_be_an_identifier_or_qualified_name_in_an_ambient_context_2714","The expression of an export assignment must be an identifier or qualified name in an ambient context."),Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor:t(2715,1,"Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor_2715","Abstract property '{0}' in class '{1}' cannot be accessed in the constructor."),Type_parameter_0_has_a_circular_default:t(2716,1,"Type_parameter_0_has_a_circular_default_2716","Type parameter '{0}' has a circular default."),Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_type_2:t(2717,1,"Subsequent_property_declarations_must_have_the_same_type_Property_0_must_be_of_type_1_but_here_has_t_2717","Subsequent property declarations must have the same type. Property '{0}' must be of type '{1}', but here has type '{2}'."),Duplicate_property_0:t(2718,1,"Duplicate_property_0_2718","Duplicate property '{0}'."),Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated:t(2719,1,"Type_0_is_not_assignable_to_type_1_Two_different_types_with_this_name_exist_but_they_are_unrelated_2719","Type '{0}' is not assignable to type '{1}'. Two different types with this name exist, but they are unrelated."),Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclass:t(2720,1,"Class_0_incorrectly_implements_class_1_Did_you_mean_to_extend_1_and_inherit_its_members_as_a_subclas_2720","Class '{0}' incorrectly implements class '{1}'. Did you mean to extend '{1}' and inherit its members as a subclass?"),Cannot_invoke_an_object_which_is_possibly_null:t(2721,1,"Cannot_invoke_an_object_which_is_possibly_null_2721","Cannot invoke an object which is possibly 'null'."),Cannot_invoke_an_object_which_is_possibly_undefined:t(2722,1,"Cannot_invoke_an_object_which_is_possibly_undefined_2722","Cannot invoke an object which is possibly 'undefined'."),Cannot_invoke_an_object_which_is_possibly_null_or_undefined:t(2723,1,"Cannot_invoke_an_object_which_is_possibly_null_or_undefined_2723","Cannot invoke an object which is possibly 'null' or 'undefined'."),_0_has_no_exported_member_named_1_Did_you_mean_2:t(2724,1,"_0_has_no_exported_member_named_1_Did_you_mean_2_2724","'{0}' has no exported member named '{1}'. Did you mean '{2}'?"),Class_name_cannot_be_Object_when_targeting_ES5_with_module_0:t(2725,1,"Class_name_cannot_be_Object_when_targeting_ES5_with_module_0_2725","Class name cannot be 'Object' when targeting ES5 with module {0}."),Cannot_find_lib_definition_for_0:t(2726,1,"Cannot_find_lib_definition_for_0_2726","Cannot find lib definition for '{0}'."),Cannot_find_lib_definition_for_0_Did_you_mean_1:t(2727,1,"Cannot_find_lib_definition_for_0_Did_you_mean_1_2727","Cannot find lib definition for '{0}'. Did you mean '{1}'?"),_0_is_declared_here:t(2728,3,"_0_is_declared_here_2728","'{0}' is declared here."),Property_0_is_used_before_its_initialization:t(2729,1,"Property_0_is_used_before_its_initialization_2729","Property '{0}' is used before its initialization."),An_arrow_function_cannot_have_a_this_parameter:t(2730,1,"An_arrow_function_cannot_have_a_this_parameter_2730","An arrow function cannot have a 'this' parameter."),Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_in_String:t(2731,1,"Implicit_conversion_of_a_symbol_to_a_string_will_fail_at_runtime_Consider_wrapping_this_expression_i_2731","Implicit conversion of a 'symbol' to a 'string' will fail at runtime. Consider wrapping this expression in 'String(...)'."),Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension:t(2732,1,"Cannot_find_module_0_Consider_using_resolveJsonModule_to_import_module_with_json_extension_2732","Cannot find module '{0}'. Consider using '--resolveJsonModule' to import module with '.json' extension."),Property_0_was_also_declared_here:t(2733,1,"Property_0_was_also_declared_here_2733","Property '{0}' was also declared here."),Are_you_missing_a_semicolon:t(2734,1,"Are_you_missing_a_semicolon_2734","Are you missing a semicolon?"),Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1:t(2735,1,"Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1_2735","Did you mean for '{0}' to be constrained to type 'new (...args: any[]) => {1}'?"),Operator_0_cannot_be_applied_to_type_1:t(2736,1,"Operator_0_cannot_be_applied_to_type_1_2736","Operator '{0}' cannot be applied to type '{1}'."),BigInt_literals_are_not_available_when_targeting_lower_than_ES2020:t(2737,1,"BigInt_literals_are_not_available_when_targeting_lower_than_ES2020_2737","BigInt literals are not available when targeting lower than ES2020."),An_outer_value_of_this_is_shadowed_by_this_container:t(2738,3,"An_outer_value_of_this_is_shadowed_by_this_container_2738","An outer value of 'this' is shadowed by this container."),Type_0_is_missing_the_following_properties_from_type_1_Colon_2:t(2739,1,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_2739","Type '{0}' is missing the following properties from type '{1}': {2}"),Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more:t(2740,1,"Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more_2740","Type '{0}' is missing the following properties from type '{1}': {2}, and {3} more."),Property_0_is_missing_in_type_1_but_required_in_type_2:t(2741,1,"Property_0_is_missing_in_type_1_but_required_in_type_2_2741","Property '{0}' is missing in type '{1}' but required in type '{2}'."),The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary:t(2742,1,"The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_a_2742","The inferred type of '{0}' cannot be named without a reference to '{1}'. This is likely not portable. A type annotation is necessary."),No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments:t(2743,1,"No_overload_expects_0_type_arguments_but_overloads_do_exist_that_expect_either_1_or_2_type_arguments_2743","No overload expects {0} type arguments, but overloads do exist that expect either {1} or {2} type arguments."),Type_parameter_defaults_can_only_reference_previously_declared_type_parameters:t(2744,1,"Type_parameter_defaults_can_only_reference_previously_declared_type_parameters_2744","Type parameter defaults can only reference previously declared type parameters."),This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_provided:t(2745,1,"This_JSX_tag_s_0_prop_expects_type_1_which_requires_multiple_children_but_only_a_single_child_was_pr_2745","This JSX tag's '{0}' prop expects type '{1}' which requires multiple children, but only a single child was provided."),This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided:t(2746,1,"This_JSX_tag_s_0_prop_expects_a_single_child_of_type_1_but_multiple_children_were_provided_2746","This JSX tag's '{0}' prop expects a single child of type '{1}', but multiple children were provided."),_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_type_of_1_is_2:t(2747,1,"_0_components_don_t_accept_text_as_child_elements_Text_in_JSX_has_the_type_string_but_the_expected_t_2747","'{0}' components don't accept text as child elements. Text in JSX has the type 'string', but the expected type of '{1}' is '{2}'."),Cannot_access_ambient_const_enums_when_0_is_enabled:t(2748,1,"Cannot_access_ambient_const_enums_when_0_is_enabled_2748","Cannot access ambient const enums when '{0}' is enabled."),_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0:t(2749,1,"_0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0_2749","'{0}' refers to a value, but is being used as a type here. Did you mean 'typeof {0}'?"),The_implementation_signature_is_declared_here:t(2750,1,"The_implementation_signature_is_declared_here_2750","The implementation signature is declared here."),Circularity_originates_in_type_at_this_location:t(2751,1,"Circularity_originates_in_type_at_this_location_2751","Circularity originates in type at this location."),The_first_export_default_is_here:t(2752,1,"The_first_export_default_is_here_2752","The first export default is here."),Another_export_default_is_here:t(2753,1,"Another_export_default_is_here_2753","Another export default is here."),super_may_not_use_type_arguments:t(2754,1,"super_may_not_use_type_arguments_2754","'super' may not use type arguments."),No_constituent_of_type_0_is_callable:t(2755,1,"No_constituent_of_type_0_is_callable_2755","No constituent of type '{0}' is callable."),Not_all_constituents_of_type_0_are_callable:t(2756,1,"Not_all_constituents_of_type_0_are_callable_2756","Not all constituents of type '{0}' are callable."),Type_0_has_no_call_signatures:t(2757,1,"Type_0_has_no_call_signatures_2757","Type '{0}' has no call signatures."),Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_other:t(2758,1,"Each_member_of_the_union_type_0_has_signatures_but_none_of_those_signatures_are_compatible_with_each_2758","Each member of the union type '{0}' has signatures, but none of those signatures are compatible with each other."),No_constituent_of_type_0_is_constructable:t(2759,1,"No_constituent_of_type_0_is_constructable_2759","No constituent of type '{0}' is constructable."),Not_all_constituents_of_type_0_are_constructable:t(2760,1,"Not_all_constituents_of_type_0_are_constructable_2760","Not all constituents of type '{0}' are constructable."),Type_0_has_no_construct_signatures:t(2761,1,"Type_0_has_no_construct_signatures_2761","Type '{0}' has no construct signatures."),Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_with_each_other:t(2762,1,"Each_member_of_the_union_type_0_has_construct_signatures_but_none_of_those_signatures_are_compatible_2762","Each member of the union type '{0}' has construct signatures, but none of those signatures are compatible with each other."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_send_0:t(2763,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_for_of_will_always_s_2763","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but for-of will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_always_send_0:t(2764,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_spread_will_al_2764","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array spread will always send '{0}'."),Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring_will_always_send_0:t(2765,1,"Cannot_iterate_value_because_the_next_method_of_its_iterator_expects_type_1_but_array_destructuring__2765","Cannot iterate value because the 'next' method of its iterator expects type '{1}', but array destructuring will always send '{0}'."),Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_containing_generator_will_always_send_0:t(2766,1,"Cannot_delegate_iteration_to_value_because_the_next_method_of_its_iterator_expects_type_1_but_the_co_2766","Cannot delegate iteration to value because the 'next' method of its iterator expects type '{1}', but the containing generator will always send '{0}'."),The_0_property_of_an_iterator_must_be_a_method:t(2767,1,"The_0_property_of_an_iterator_must_be_a_method_2767","The '{0}' property of an iterator must be a method."),The_0_property_of_an_async_iterator_must_be_a_method:t(2768,1,"The_0_property_of_an_async_iterator_must_be_a_method_2768","The '{0}' property of an async iterator must be a method."),No_overload_matches_this_call:t(2769,1,"No_overload_matches_this_call_2769","No overload matches this call."),The_last_overload_gave_the_following_error:t(2770,1,"The_last_overload_gave_the_following_error_2770","The last overload gave the following error."),The_last_overload_is_declared_here:t(2771,1,"The_last_overload_is_declared_here_2771","The last overload is declared here."),Overload_0_of_1_2_gave_the_following_error:t(2772,1,"Overload_0_of_1_2_gave_the_following_error_2772","Overload {0} of {1}, '{2}', gave the following error."),Did_you_forget_to_use_await:t(2773,1,"Did_you_forget_to_use_await_2773","Did you forget to use 'await'?"),This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_instead:t(2774,1,"This_condition_will_always_return_true_since_this_function_is_always_defined_Did_you_mean_to_call_it_2774","This condition will always return true since this function is always defined. Did you mean to call it instead?"),Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation:t(2775,1,"Assertions_require_every_name_in_the_call_target_to_be_declared_with_an_explicit_type_annotation_2775","Assertions require every name in the call target to be declared with an explicit type annotation."),Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name:t(2776,1,"Assertions_require_the_call_target_to_be_an_identifier_or_qualified_name_2776","Assertions require the call target to be an identifier or qualified name."),The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access:t(2777,1,"The_operand_of_an_increment_or_decrement_operator_may_not_be_an_optional_property_access_2777","The operand of an increment or decrement operator may not be an optional property access."),The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access:t(2778,1,"The_target_of_an_object_rest_assignment_may_not_be_an_optional_property_access_2778","The target of an object rest assignment may not be an optional property access."),The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access:t(2779,1,"The_left_hand_side_of_an_assignment_expression_may_not_be_an_optional_property_access_2779","The left-hand side of an assignment expression may not be an optional property access."),The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access:t(2780,1,"The_left_hand_side_of_a_for_in_statement_may_not_be_an_optional_property_access_2780","The left-hand side of a 'for...in' statement may not be an optional property access."),The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access:t(2781,1,"The_left_hand_side_of_a_for_of_statement_may_not_be_an_optional_property_access_2781","The left-hand side of a 'for...of' statement may not be an optional property access."),_0_needs_an_explicit_type_annotation:t(2782,3,"_0_needs_an_explicit_type_annotation_2782","'{0}' needs an explicit type annotation."),_0_is_specified_more_than_once_so_this_usage_will_be_overwritten:t(2783,1,"_0_is_specified_more_than_once_so_this_usage_will_be_overwritten_2783","'{0}' is specified more than once, so this usage will be overwritten."),get_and_set_accessors_cannot_declare_this_parameters:t(2784,1,"get_and_set_accessors_cannot_declare_this_parameters_2784","'get' and 'set' accessors cannot declare 'this' parameters."),This_spread_always_overwrites_this_property:t(2785,1,"This_spread_always_overwrites_this_property_2785","This spread always overwrites this property."),_0_cannot_be_used_as_a_JSX_component:t(2786,1,"_0_cannot_be_used_as_a_JSX_component_2786","'{0}' cannot be used as a JSX component."),Its_return_type_0_is_not_a_valid_JSX_element:t(2787,1,"Its_return_type_0_is_not_a_valid_JSX_element_2787","Its return type '{0}' is not a valid JSX element."),Its_instance_type_0_is_not_a_valid_JSX_element:t(2788,1,"Its_instance_type_0_is_not_a_valid_JSX_element_2788","Its instance type '{0}' is not a valid JSX element."),Its_element_type_0_is_not_a_valid_JSX_element:t(2789,1,"Its_element_type_0_is_not_a_valid_JSX_element_2789","Its element type '{0}' is not a valid JSX element."),The_operand_of_a_delete_operator_must_be_optional:t(2790,1,"The_operand_of_a_delete_operator_must_be_optional_2790","The operand of a 'delete' operator must be optional."),Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_later:t(2791,1,"Exponentiation_cannot_be_performed_on_bigint_values_unless_the_target_option_is_set_to_es2016_or_lat_2791","Exponentiation cannot be performed on 'bigint' values unless the 'target' option is set to 'es2016' or later."),Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_to_the_paths_option:t(2792,1,"Cannot_find_module_0_Did_you_mean_to_set_the_moduleResolution_option_to_nodenext_or_to_add_aliases_t_2792","Cannot find module '{0}'. Did you mean to set the 'moduleResolution' option to 'nodenext', or to add aliases to the 'paths' option?"),The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_are_not_externally_visible:t(2793,1,"The_call_would_have_succeeded_against_this_implementation_but_implementation_signatures_of_overloads_2793","The call would have succeeded against this implementation, but implementation signatures of overloads are not externally visible."),Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise:t(2794,1,"Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise_2794","Expected {0} arguments, but got {1}. Did you forget to include 'void' in your type argument to 'Promise'?"),The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types:t(2795,1,"The_intrinsic_keyword_can_only_be_used_to_declare_compiler_provided_intrinsic_types_2795","The 'intrinsic' keyword can only be used to declare compiler provided intrinsic types."),It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tagged_template_expression_which_cannot_be_invoked:t(2796,1,"It_is_likely_that_you_are_missing_a_comma_to_separate_these_two_template_expressions_They_form_a_tag_2796","It is likely that you are missing a comma to separate these two template expressions. They form a tagged template expression which cannot be invoked."),A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_be_declared_abstract:t(2797,1,"A_mixin_class_that_extends_from_a_type_variable_containing_an_abstract_construct_signature_must_also_2797","A mixin class that extends from a type variable containing an abstract construct signature must also be declared 'abstract'."),The_declaration_was_marked_as_deprecated_here:t(2798,1,"The_declaration_was_marked_as_deprecated_here_2798","The declaration was marked as deprecated here."),Type_produces_a_tuple_type_that_is_too_large_to_represent:t(2799,1,"Type_produces_a_tuple_type_that_is_too_large_to_represent_2799","Type produces a tuple type that is too large to represent."),Expression_produces_a_tuple_type_that_is_too_large_to_represent:t(2800,1,"Expression_produces_a_tuple_type_that_is_too_large_to_represent_2800","Expression produces a tuple type that is too large to represent."),This_condition_will_always_return_true_since_this_0_is_always_defined:t(2801,1,"This_condition_will_always_return_true_since_this_0_is_always_defined_2801","This condition will always return true since this '{0}' is always defined."),Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher:t(2802,1,"Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es201_2802","Type '{0}' can only be iterated through when using the '--downlevelIteration' flag or with a '--target' of 'es2015' or higher."),Cannot_assign_to_private_method_0_Private_methods_are_not_writable:t(2803,1,"Cannot_assign_to_private_method_0_Private_methods_are_not_writable_2803","Cannot assign to private method '{0}'. Private methods are not writable."),Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name:t(2804,1,"Duplicate_identifier_0_Static_and_instance_elements_cannot_share_the_same_private_name_2804","Duplicate identifier '{0}'. Static and instance elements cannot share the same private name."),Private_accessor_was_defined_without_a_getter:t(2806,1,"Private_accessor_was_defined_without_a_getter_2806","Private accessor was defined without a getter."),This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_one_in_0_Consider_upgrading_your_version_of_0:t(2807,1,"This_syntax_requires_an_imported_helper_named_1_with_2_parameters_which_is_not_compatible_with_the_o_2807","This syntax requires an imported helper named '{1}' with {2} parameters, which is not compatible with the one in '{0}'. Consider upgrading your version of '{0}'."),A_get_accessor_must_be_at_least_as_accessible_as_the_setter:t(2808,1,"A_get_accessor_must_be_at_least_as_accessible_as_the_setter_2808","A get accessor must be at least as accessible as the setter"),Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_destructuring_assignment_you_might_need_to_wrap_the_whole_assignment_in_parentheses:t(2809,1,"Declaration_or_statement_expected_This_follows_a_block_of_statements_so_if_you_intended_to_write_a_d_2809","Declaration or statement expected. This '=' follows a block of statements, so if you intended to write a destructuring assignment, you might need to wrap the whole assignment in parentheses."),Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments:t(2810,1,"Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_2810","Expected 1 argument, but got 0. 'new Promise()' needs a JSDoc hint to produce a 'resolve' that can be called without arguments."),Initializer_for_property_0:t(2811,1,"Initializer_for_property_0_2811","Initializer for property '{0}'"),Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:t(2812,1,"Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom_2812","Property '{0}' does not exist on type '{1}'. Try changing the 'lib' compiler option to include 'dom'."),Class_declaration_cannot_implement_overload_list_for_0:t(2813,1,"Class_declaration_cannot_implement_overload_list_for_0_2813","Class declaration cannot implement overload list for '{0}'."),Function_with_bodies_can_only_merge_with_classes_that_are_ambient:t(2814,1,"Function_with_bodies_can_only_merge_with_classes_that_are_ambient_2814","Function with bodies can only merge with classes that are ambient."),arguments_cannot_be_referenced_in_property_initializers:t(2815,1,"arguments_cannot_be_referenced_in_property_initializers_2815","'arguments' cannot be referenced in property initializers."),Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class:t(2816,1,"Cannot_use_this_in_a_static_property_initializer_of_a_decorated_class_2816","Cannot use 'this' in a static property initializer of a decorated class."),Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block:t(2817,1,"Property_0_has_no_initializer_and_is_not_definitely_assigned_in_a_class_static_block_2817","Property '{0}' has no initializer and is not definitely assigned in a class static block."),Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializers:t(2818,1,"Duplicate_identifier_0_Compiler_reserves_name_1_when_emitting_super_references_in_static_initializer_2818","Duplicate identifier '{0}'. Compiler reserves name '{1}' when emitting 'super' references in static initializers."),Namespace_name_cannot_be_0:t(2819,1,"Namespace_name_cannot_be_0_2819","Namespace name cannot be '{0}'."),Type_0_is_not_assignable_to_type_1_Did_you_mean_2:t(2820,1,"Type_0_is_not_assignable_to_type_1_Did_you_mean_2_2820","Type '{0}' is not assignable to type '{1}'. Did you mean '{2}'?"),Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:t(2821,1,"Import_assertions_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2821","Import assertions are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Import_assertions_cannot_be_used_with_type_only_imports_or_exports:t(2822,1,"Import_assertions_cannot_be_used_with_type_only_imports_or_exports_2822","Import assertions cannot be used with type-only imports or exports."),Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext:t(2823,1,"Import_attributes_are_only_supported_when_the_module_option_is_set_to_esnext_or_nodenext_2823","Import attributes are only supported when the '--module' option is set to 'esnext' or 'nodenext'."),Cannot_find_namespace_0_Did_you_mean_1:t(2833,1,"Cannot_find_namespace_0_Did_you_mean_1_2833","Cannot find namespace '{0}'. Did you mean '{1}'?"),Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Consider_adding_an_extension_to_the_import_path:t(2834,1,"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2834","Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Consider adding an extension to the import path."),Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_node16_or_nodenext_Did_you_mean_0:t(2835,1,"Relative_import_paths_need_explicit_file_extensions_in_ECMAScript_imports_when_moduleResolution_is_n_2835","Relative import paths need explicit file extensions in ECMAScript imports when '--moduleResolution' is 'node16' or 'nodenext'. Did you mean '{0}'?"),Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:t(2836,1,"Import_assertions_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2836","Import assertions are not allowed on statements that compile to CommonJS 'require' calls."),Import_assertion_values_must_be_string_literal_expressions:t(2837,1,"Import_assertion_values_must_be_string_literal_expressions_2837","Import assertion values must be string literal expressions."),All_declarations_of_0_must_have_identical_constraints:t(2838,1,"All_declarations_of_0_must_have_identical_constraints_2838","All declarations of '{0}' must have identical constraints."),This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value:t(2839,1,"This_condition_will_always_return_0_since_JavaScript_compares_objects_by_reference_not_value_2839","This condition will always return '{0}' since JavaScript compares objects by reference, not value."),An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types:t(2840,1,"An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types_2840","An interface cannot extend a primitive type like '{0}'. It can only extend other named object types."),_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation:t(2842,1,"_0_is_an_unused_renaming_of_1_Did_you_intend_to_use_it_as_a_type_annotation_2842","'{0}' is an unused renaming of '{1}'. Did you intend to use it as a type annotation?"),We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here:t(2843,1,"We_can_only_write_a_type_for_0_by_adding_a_type_for_the_entire_parameter_here_2843","We can only write a type for '{0}' by adding a type for the entire parameter here."),Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:t(2844,1,"Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor_2844","Type of instance member variable '{0}' cannot reference identifier '{1}' declared in the constructor."),This_condition_will_always_return_0:t(2845,1,"This_condition_will_always_return_0_2845","This condition will always return '{0}'."),A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_file_0_instead:t(2846,1,"A_declaration_file_cannot_be_imported_without_import_type_Did_you_mean_to_import_an_implementation_f_2846","A declaration file cannot be imported without 'import type'. Did you mean to import an implementation file '{0}' instead?"),The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression:t(2848,1,"The_right_hand_side_of_an_instanceof_expression_must_not_be_an_instantiation_expression_2848","The right-hand side of an 'instanceof' expression must not be an instantiation expression."),Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1:t(2849,1,"Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1_2849","Target signature provides too few arguments. Expected {0} or more, but got {1}."),The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_null_or_undefined:t(2850,1,"The_initializer_of_a_using_declaration_must_be_either_an_object_with_a_Symbol_dispose_method_or_be_n_2850","The initializer of a 'using' declaration must be either an object with a '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_Symbol_dispose_method_or_be_null_or_undefined:t(2851,1,"The_initializer_of_an_await_using_declaration_must_be_either_an_object_with_a_Symbol_asyncDispose_or_2851","The initializer of an 'await using' declaration must be either an object with a '[Symbol.asyncDispose]()' or '[Symbol.dispose]()' method, or be 'null' or 'undefined'."),await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:t(2852,1,"await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules_2852","'await using' statements are only allowed within async functions and at the top levels of modules."),await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:t(2853,1,"await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_th_2853","'await using' statements are only allowed at the top level of a file when that file is a module, but this file has no imports or exports. Consider adding an empty 'export {}' to make this file a module."),Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:t(2854,1,"Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_sys_2854","Top-level 'await using' statements are only allowed when the 'module' option is set to 'es2022', 'esnext', 'system', 'node16', or 'nodenext', and the 'target' option is set to 'es2017' or higher."),Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super:t(2855,1,"Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super_2855","Class field '{0}' defined by the parent class is not accessible in the child class via super."),Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls:t(2856,1,"Import_attributes_are_not_allowed_on_statements_that_compile_to_CommonJS_require_calls_2856","Import attributes are not allowed on statements that compile to CommonJS 'require' calls."),Import_attributes_cannot_be_used_with_type_only_imports_or_exports:t(2857,1,"Import_attributes_cannot_be_used_with_type_only_imports_or_exports_2857","Import attributes cannot be used with type-only imports or exports."),Import_attribute_values_must_be_string_literal_expressions:t(2858,1,"Import_attribute_values_must_be_string_literal_expressions_2858","Import attribute values must be string literal expressions."),Excessive_complexity_comparing_types_0_and_1:t(2859,1,"Excessive_complexity_comparing_types_0_and_1_2859","Excessive complexity comparing types '{0}' and '{1}'."),The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_hand_side_s_Symbol_hasInstance_method:t(2860,1,"The_left_hand_side_of_an_instanceof_expression_must_be_assignable_to_the_first_argument_of_the_right_2860","The left-hand side of an 'instanceof' expression must be assignable to the first argument of the right-hand side's '[Symbol.hasInstance]' method."),An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_hand_side_of_an_instanceof_expression:t(2861,1,"An_object_s_Symbol_hasInstance_method_must_return_a_boolean_value_for_it_to_be_used_on_the_right_han_2861","An object's '[Symbol.hasInstance]' method must return a boolean value for it to be used on the right-hand side of an 'instanceof' expression."),Type_0_is_generic_and_can_only_be_indexed_for_reading:t(2862,1,"Type_0_is_generic_and_can_only_be_indexed_for_reading_2862","Type '{0}' is generic and can only be indexed for reading."),A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values:t(2863,1,"A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values_2863","A class cannot extend a primitive type like '{0}'. Classes can only extend constructable values."),A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types:t(2864,1,"A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types_2864","A class cannot implement a primitive type like '{0}'. It can only implement other named object types."),Import_declaration_0_is_using_private_name_1:t(4e3,1,"Import_declaration_0_is_using_private_name_1_4000","Import declaration '{0}' is using private name '{1}'."),Type_parameter_0_of_exported_class_has_or_is_using_private_name_1:t(4002,1,"Type_parameter_0_of_exported_class_has_or_is_using_private_name_1_4002","Type parameter '{0}' of exported class has or is using private name '{1}'."),Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1:t(4004,1,"Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1_4004","Type parameter '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:t(4006,1,"Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4006","Type parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:t(4008,1,"Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4008","Type parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:t(4010,1,"Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4010","Type parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:t(4012,1,"Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4012","Type parameter '{0}' of public method from exported class has or is using private name '{1}'."),Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:t(4014,1,"Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4014","Type parameter '{0}' of method from exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_function_has_or_is_using_private_name_1:t(4016,1,"Type_parameter_0_of_exported_function_has_or_is_using_private_name_1_4016","Type parameter '{0}' of exported function has or is using private name '{1}'."),Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:t(4019,1,"Implements_clause_of_exported_class_0_has_or_is_using_private_name_1_4019","Implements clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_0_has_or_is_using_private_name_1:t(4020,1,"extends_clause_of_exported_class_0_has_or_is_using_private_name_1_4020","'extends' clause of exported class '{0}' has or is using private name '{1}'."),extends_clause_of_exported_class_has_or_is_using_private_name_0:t(4021,1,"extends_clause_of_exported_class_has_or_is_using_private_name_0_4021","'extends' clause of exported class has or is using private name '{0}'."),extends_clause_of_exported_interface_0_has_or_is_using_private_name_1:t(4022,1,"extends_clause_of_exported_interface_0_has_or_is_using_private_name_1_4022","'extends' clause of exported interface '{0}' has or is using private name '{1}'."),Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4023,1,"Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4023","Exported variable '{0}' has or is using name '{1}' from external module {2} but cannot be named."),Exported_variable_0_has_or_is_using_name_1_from_private_module_2:t(4024,1,"Exported_variable_0_has_or_is_using_name_1_from_private_module_2_4024","Exported variable '{0}' has or is using name '{1}' from private module '{2}'."),Exported_variable_0_has_or_is_using_private_name_1:t(4025,1,"Exported_variable_0_has_or_is_using_private_name_1_4025","Exported variable '{0}' has or is using private name '{1}'."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4026,1,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot__4026","Public static property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:t(4027,1,"Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4027","Public static property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:t(4028,1,"Public_static_property_0_of_exported_class_has_or_is_using_private_name_1_4028","Public static property '{0}' of exported class has or is using private name '{1}'."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4029,1,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_name_4029","Public property '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:t(4030,1,"Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4030","Public property '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_property_0_of_exported_class_has_or_is_using_private_name_1:t(4031,1,"Public_property_0_of_exported_class_has_or_is_using_private_name_1_4031","Public property '{0}' of exported class has or is using private name '{1}'."),Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:t(4032,1,"Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4032","Property '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Property_0_of_exported_interface_has_or_is_using_private_name_1:t(4033,1,"Property_0_of_exported_interface_has_or_is_using_private_name_1_4033","Property '{0}' of exported interface has or is using private name '{1}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4034,1,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_mod_4034","Parameter type of public static setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:t(4035,1,"Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1_4035","Parameter type of public static setter '{0}' from exported class has or is using private name '{1}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4036,1,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4036","Parameter type of public setter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:t(4037,1,"Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1_4037","Parameter type of public setter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4038,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_modul_4038","Return type of public static getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4039,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_4039","Return type of public static getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:t(4040,1,"Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1_4040","Return type of public static getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4041,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_4041","Return type of public getter '{0}' from exported class has or is using name '{1}' from external module {2} but cannot be named."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4042,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2_4042","Return type of public getter '{0}' from exported class has or is using name '{1}' from private module '{2}'."),Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1:t(4043,1,"Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1_4043","Return type of public getter '{0}' from exported class has or is using private name '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:t(4044,1,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_mod_4044","Return type of constructor signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0:t(4045,1,"Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0_4045","Return type of constructor signature from exported interface has or is using private name '{0}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:t(4046,1,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4046","Return type of call signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0:t(4047,1,"Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0_4047","Return type of call signature from exported interface has or is using private name '{0}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:t(4048,1,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4048","Return type of index signature from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0:t(4049,1,"Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0_4049","Return type of index signature from exported interface has or is using private name '{0}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:t(4050,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module__4050","Return type of public static method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:t(4051,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4051","Return type of public static method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:t(4052,1,"Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0_4052","Return type of public static method from exported class has or is using private name '{0}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:t(4053,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_c_4053","Return type of public method from exported class has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:t(4054,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1_4054","Return type of public method from exported class has or is using name '{0}' from private module '{1}'."),Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:t(4055,1,"Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0_4055","Return type of public method from exported class has or is using private name '{0}'."),Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:t(4056,1,"Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1_4056","Return type of method from exported interface has or is using name '{0}' from private module '{1}'."),Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0:t(4057,1,"Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0_4057","Return type of method from exported interface has or is using private name '{0}'."),Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:t(4058,1,"Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named_4058","Return type of exported function has or is using name '{0}' from external module {1} but cannot be named."),Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:t(4059,1,"Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1_4059","Return type of exported function has or is using name '{0}' from private module '{1}'."),Return_type_of_exported_function_has_or_is_using_private_name_0:t(4060,1,"Return_type_of_exported_function_has_or_is_using_private_name_0_4060","Return type of exported function has or is using private name '{0}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4061,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_can_4061","Parameter '{0}' of constructor from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4062,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2_4062","Parameter '{0}' of constructor from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1:t(4063,1,"Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1_4063","Parameter '{0}' of constructor from exported class has or is using private name '{1}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:t(4064,1,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_mod_4064","Parameter '{0}' of constructor signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1:t(4065,1,"Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1_4065","Parameter '{0}' of constructor signature from exported interface has or is using private name '{1}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:t(4066,1,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4066","Parameter '{0}' of call signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1:t(4067,1,"Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1_4067","Parameter '{0}' of call signature from exported interface has or is using private name '{1}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4068,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module__4068","Parameter '{0}' of public static method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4069,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4069","Parameter '{0}' of public static method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:t(4070,1,"Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1_4070","Parameter '{0}' of public static method from exported class has or is using private name '{1}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4071,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_c_4071","Parameter '{0}' of public method from exported class has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:t(4072,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2_4072","Parameter '{0}' of public method from exported class has or is using name '{1}' from private module '{2}'."),Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:t(4073,1,"Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1_4073","Parameter '{0}' of public method from exported class has or is using private name '{1}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:t(4074,1,"Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4074","Parameter '{0}' of method from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1:t(4075,1,"Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1_4075","Parameter '{0}' of method from exported interface has or is using private name '{1}'."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4076,1,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4076","Parameter '{0}' of exported function has or is using name '{1}' from external module {2} but cannot be named."),Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:t(4077,1,"Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2_4077","Parameter '{0}' of exported function has or is using name '{1}' from private module '{2}'."),Parameter_0_of_exported_function_has_or_is_using_private_name_1:t(4078,1,"Parameter_0_of_exported_function_has_or_is_using_private_name_1_4078","Parameter '{0}' of exported function has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1:t(4081,1,"Exported_type_alias_0_has_or_is_using_private_name_1_4081","Exported type alias '{0}' has or is using private name '{1}'."),Default_export_of_the_module_has_or_is_using_private_name_0:t(4082,1,"Default_export_of_the_module_has_or_is_using_private_name_0_4082","Default export of the module has or is using private name '{0}'."),Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1:t(4083,1,"Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1_4083","Type parameter '{0}' of exported type alias has or is using private name '{1}'."),Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:t(4084,1,"Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2_4084","Exported type alias '{0}' has or is using private name '{1}' from module {2}."),Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1:t(4085,1,"Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1_4085","Extends clause for inferred type '{0}' has or is using private name '{1}'."),Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_library_to_resolve_the_conflict:t(4090,1,"Conflicting_definitions_for_0_found_at_1_and_2_Consider_installing_a_specific_version_of_this_librar_4090","Conflicting definitions for '{0}' found at '{1}' and '{2}'. Consider installing a specific version of this library to resolve the conflict."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:t(4091,1,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2_4091","Parameter '{0}' of index signature from exported interface has or is using name '{1}' from private module '{2}'."),Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1:t(4092,1,"Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1_4092","Parameter '{0}' of index signature from exported interface has or is using private name '{1}'."),Property_0_of_exported_class_expression_may_not_be_private_or_protected:t(4094,1,"Property_0_of_exported_class_expression_may_not_be_private_or_protected_4094","Property '{0}' of exported class expression may not be private or protected."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4095,1,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_4095","Public static method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:t(4096,1,"Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4096","Public static method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:t(4097,1,"Public_static_method_0_of_exported_class_has_or_is_using_private_name_1_4097","Public static method '{0}' of exported class has or is using private name '{1}'."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4098,1,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4098","Public method '{0}' of exported class has or is using name '{1}' from external module {2} but cannot be named."),Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:t(4099,1,"Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2_4099","Public method '{0}' of exported class has or is using name '{1}' from private module '{2}'."),Public_method_0_of_exported_class_has_or_is_using_private_name_1:t(4100,1,"Public_method_0_of_exported_class_has_or_is_using_private_name_1_4100","Public method '{0}' of exported class has or is using private name '{1}'."),Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:t(4101,1,"Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2_4101","Method '{0}' of exported interface has or is using name '{1}' from private module '{2}'."),Method_0_of_exported_interface_has_or_is_using_private_name_1:t(4102,1,"Method_0_of_exported_interface_has_or_is_using_private_name_1_4102","Method '{0}' of exported interface has or is using private name '{1}'."),Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1:t(4103,1,"Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1_4103","Type parameter '{0}' of exported mapped object type is using private name '{1}'."),The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1:t(4104,1,"The_type_0_is_readonly_and_cannot_be_assigned_to_the_mutable_type_1_4104","The type '{0}' is 'readonly' and cannot be assigned to the mutable type '{1}'."),Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter:t(4105,1,"Private_or_protected_member_0_cannot_be_accessed_on_a_type_parameter_4105","Private or protected member '{0}' cannot be accessed on a type parameter."),Parameter_0_of_accessor_has_or_is_using_private_name_1:t(4106,1,"Parameter_0_of_accessor_has_or_is_using_private_name_1_4106","Parameter '{0}' of accessor has or is using private name '{1}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:t(4107,1,"Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2_4107","Parameter '{0}' of accessor has or is using name '{1}' from private module '{2}'."),Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:t(4108,1,"Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named_4108","Parameter '{0}' of accessor has or is using name '{1}' from external module '{2}' but cannot be named."),Type_arguments_for_0_circularly_reference_themselves:t(4109,1,"Type_arguments_for_0_circularly_reference_themselves_4109","Type arguments for '{0}' circularly reference themselves."),Tuple_type_arguments_circularly_reference_themselves:t(4110,1,"Tuple_type_arguments_circularly_reference_themselves_4110","Tuple type arguments circularly reference themselves."),Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0:t(4111,1,"Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0_4111","Property '{0}' comes from an index signature, so it must be accessed with ['{0}']."),This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another_class:t(4112,1,"This_member_cannot_have_an_override_modifier_because_its_containing_class_0_does_not_extend_another__4112","This member cannot have an 'override' modifier because its containing class '{0}' does not extend another class."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0:t(4113,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_4113","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0:t(4114,1,"This_member_must_have_an_override_modifier_because_it_overrides_a_member_in_the_base_class_0_4114","This member must have an 'override' modifier because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0:t(4115,1,"This_parameter_property_must_have_an_override_modifier_because_it_overrides_a_member_in_base_class_0_4115","This parameter property must have an 'override' modifier because it overrides a member in base class '{0}'."),This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared_in_the_base_class_0:t(4116,1,"This_member_must_have_an_override_modifier_because_it_overrides_an_abstract_method_that_is_declared__4116","This member must have an 'override' modifier because it overrides an abstract method that is declared in the base class '{0}'."),This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:t(4117,1,"This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you__4117","This member cannot have an 'override' modifier because it is not declared in the base class '{0}'. Did you mean '{1}'?"),The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized:t(4118,1,"The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized_4118","The type of this node cannot be serialized because its property '{0}' cannot be serialized."),This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:t(4119,1,"This_member_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_4119","This member must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_in_the_base_class_0:t(4120,1,"This_parameter_property_must_have_a_JSDoc_comment_with_an_override_tag_because_it_overrides_a_member_4120","This parameter property must have a JSDoc comment with an '@override' tag because it overrides a member in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_extend_another_class:t(4121,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_its_containing_class_0_does_not_4121","This member cannot have a JSDoc comment with an '@override' tag because its containing class '{0}' does not extend another class."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0:t(4122,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4122","This member cannot have a JSDoc comment with an '@override' tag because it is not declared in the base class '{0}'."),This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1:t(4123,1,"This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base__4123","This member cannot have a JSDoc comment with an 'override' tag because it is not declared in the base class '{0}'. Did you mean '{1}'?"),Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_with_npm_install_D_typescript_next:t(4124,1,"Compiler_option_0_of_value_1_is_unstable_Use_nightly_TypeScript_to_silence_this_error_Try_updating_w_4124","Compiler option '{0}' of value '{1}' is unstable. Use nightly TypeScript to silence this error. Try updating with 'npm install -D typescript@next'."),The_current_host_does_not_support_the_0_option:t(5001,1,"The_current_host_does_not_support_the_0_option_5001","The current host does not support the '{0}' option."),Cannot_find_the_common_subdirectory_path_for_the_input_files:t(5009,1,"Cannot_find_the_common_subdirectory_path_for_the_input_files_5009","Cannot find the common subdirectory path for the input files."),File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:t(5010,1,"File_specification_cannot_end_in_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0_5010","File specification cannot end in a recursive directory wildcard ('**'): '{0}'."),Cannot_read_file_0_Colon_1:t(5012,1,"Cannot_read_file_0_Colon_1_5012","Cannot read file '{0}': {1}."),Failed_to_parse_file_0_Colon_1:t(5014,1,"Failed_to_parse_file_0_Colon_1_5014","Failed to parse file '{0}': {1}."),Unknown_compiler_option_0:t(5023,1,"Unknown_compiler_option_0_5023","Unknown compiler option '{0}'."),Compiler_option_0_requires_a_value_of_type_1:t(5024,1,"Compiler_option_0_requires_a_value_of_type_1_5024","Compiler option '{0}' requires a value of type {1}."),Unknown_compiler_option_0_Did_you_mean_1:t(5025,1,"Unknown_compiler_option_0_Did_you_mean_1_5025","Unknown compiler option '{0}'. Did you mean '{1}'?"),Could_not_write_file_0_Colon_1:t(5033,1,"Could_not_write_file_0_Colon_1_5033","Could not write file '{0}': {1}."),Option_project_cannot_be_mixed_with_source_files_on_a_command_line:t(5042,1,"Option_project_cannot_be_mixed_with_source_files_on_a_command_line_5042","Option 'project' cannot be mixed with source files on a command line."),Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES2015_or_higher:t(5047,1,"Option_isolatedModules_can_only_be_used_when_either_option_module_is_provided_or_option_target_is_ES_5047","Option 'isolatedModules' can only be used when either option '--module' is provided or option 'target' is 'ES2015' or higher."),Option_0_cannot_be_specified_when_option_target_is_ES3:t(5048,1,"Option_0_cannot_be_specified_when_option_target_is_ES3_5048","Option '{0}' cannot be specified when option 'target' is 'ES3'."),Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided:t(5051,1,"Option_0_can_only_be_used_when_either_option_inlineSourceMap_or_option_sourceMap_is_provided_5051","Option '{0} can only be used when either option '--inlineSourceMap' or option '--sourceMap' is provided."),Option_0_cannot_be_specified_without_specifying_option_1:t(5052,1,"Option_0_cannot_be_specified_without_specifying_option_1_5052","Option '{0}' cannot be specified without specifying option '{1}'."),Option_0_cannot_be_specified_with_option_1:t(5053,1,"Option_0_cannot_be_specified_with_option_1_5053","Option '{0}' cannot be specified with option '{1}'."),A_tsconfig_json_file_is_already_defined_at_Colon_0:t(5054,1,"A_tsconfig_json_file_is_already_defined_at_Colon_0_5054","A 'tsconfig.json' file is already defined at: '{0}'."),Cannot_write_file_0_because_it_would_overwrite_input_file:t(5055,1,"Cannot_write_file_0_because_it_would_overwrite_input_file_5055","Cannot write file '{0}' because it would overwrite input file."),Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files:t(5056,1,"Cannot_write_file_0_because_it_would_be_overwritten_by_multiple_input_files_5056","Cannot write file '{0}' because it would be overwritten by multiple input files."),Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0:t(5057,1,"Cannot_find_a_tsconfig_json_file_at_the_specified_directory_Colon_0_5057","Cannot find a tsconfig.json file at the specified directory: '{0}'."),The_specified_path_does_not_exist_Colon_0:t(5058,1,"The_specified_path_does_not_exist_Colon_0_5058","The specified path does not exist: '{0}'."),Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier:t(5059,1,"Invalid_value_for_reactNamespace_0_is_not_a_valid_identifier_5059","Invalid value for '--reactNamespace'. '{0}' is not a valid identifier."),Pattern_0_can_have_at_most_one_Asterisk_character:t(5061,1,"Pattern_0_can_have_at_most_one_Asterisk_character_5061","Pattern '{0}' can have at most one '*' character."),Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character:t(5062,1,"Substitution_0_in_pattern_1_can_have_at_most_one_Asterisk_character_5062","Substitution '{0}' in pattern '{1}' can have at most one '*' character."),Substitutions_for_pattern_0_should_be_an_array:t(5063,1,"Substitutions_for_pattern_0_should_be_an_array_5063","Substitutions for pattern '{0}' should be an array."),Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2:t(5064,1,"Substitution_0_for_pattern_1_has_incorrect_type_expected_string_got_2_5064","Substitution '{0}' for pattern '{1}' has incorrect type, expected 'string', got '{2}'."),File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildcard_Asterisk_Asterisk_Colon_0:t(5065,1,"File_specification_cannot_contain_a_parent_directory_that_appears_after_a_recursive_directory_wildca_5065","File specification cannot contain a parent directory ('..') that appears after a recursive directory wildcard ('**'): '{0}'."),Substitutions_for_pattern_0_shouldn_t_be_an_empty_array:t(5066,1,"Substitutions_for_pattern_0_shouldn_t_be_an_empty_array_5066","Substitutions for pattern '{0}' shouldn't be an empty array."),Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name:t(5067,1,"Invalid_value_for_jsxFactory_0_is_not_a_valid_identifier_or_qualified_name_5067","Invalid value for 'jsxFactory'. '{0}' is not a valid identifier or qualified-name."),Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript_files_Learn_more_at_https_Colon_Slash_Slashaka_ms_Slashtsconfig:t(5068,1,"Adding_a_tsconfig_json_file_will_help_organize_projects_that_contain_both_TypeScript_and_JavaScript__5068","Adding a tsconfig.json file will help organize projects that contain both TypeScript and JavaScript files. Learn more at https://aka.ms/tsconfig."),Option_0_cannot_be_specified_without_specifying_option_1_or_option_2:t(5069,1,"Option_0_cannot_be_specified_without_specifying_option_1_or_option_2_5069","Option '{0}' cannot be specified without specifying option '{1}' or option '{2}'."),Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic:t(5070,1,"Option_resolveJsonModule_cannot_be_specified_when_moduleResolution_is_set_to_classic_5070","Option '--resolveJsonModule' cannot be specified when 'moduleResolution' is set to 'classic'."),Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_esNext:t(5071,1,"Option_resolveJsonModule_can_only_be_specified_when_module_code_generation_is_commonjs_amd_es2015_or_5071","Option '--resolveJsonModule' can only be specified when module code generation is 'commonjs', 'amd', 'es2015' or 'esNext'."),Unknown_build_option_0:t(5072,1,"Unknown_build_option_0_5072","Unknown build option '{0}'."),Build_option_0_requires_a_value_of_type_1:t(5073,1,"Build_option_0_requires_a_value_of_type_1_5073","Build option '{0}' requires a value of type {1}."),Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBuildInfoFile_is_specified:t(5074,1,"Option_incremental_can_only_be_specified_using_tsconfig_emitting_to_single_file_or_when_option_tsBui_5074","Option '--incremental' can only be specified using tsconfig, emitting to single file or when option '--tsBuildInfoFile' is specified."),_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_constraint_2:t(5075,1,"_0_is_assignable_to_the_constraint_of_type_1_but_1_could_be_instantiated_with_a_different_subtype_of_5075","'{0}' is assignable to the constraint of type '{1}', but '{1}' could be instantiated with a different subtype of constraint '{2}'."),_0_and_1_operations_cannot_be_mixed_without_parentheses:t(5076,1,"_0_and_1_operations_cannot_be_mixed_without_parentheses_5076","'{0}' and '{1}' operations cannot be mixed without parentheses."),Unknown_build_option_0_Did_you_mean_1:t(5077,1,"Unknown_build_option_0_Did_you_mean_1_5077","Unknown build option '{0}'. Did you mean '{1}'?"),Unknown_watch_option_0:t(5078,1,"Unknown_watch_option_0_5078","Unknown watch option '{0}'."),Unknown_watch_option_0_Did_you_mean_1:t(5079,1,"Unknown_watch_option_0_Did_you_mean_1_5079","Unknown watch option '{0}'. Did you mean '{1}'?"),Watch_option_0_requires_a_value_of_type_1:t(5080,1,"Watch_option_0_requires_a_value_of_type_1_5080","Watch option '{0}' requires a value of type {1}."),Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0:t(5081,1,"Cannot_find_a_tsconfig_json_file_at_the_current_directory_Colon_0_5081","Cannot find a tsconfig.json file at the current directory: {0}."),_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1:t(5082,1,"_0_could_be_instantiated_with_an_arbitrary_type_which_could_be_unrelated_to_1_5082","'{0}' could be instantiated with an arbitrary type which could be unrelated to '{1}'."),Cannot_read_file_0:t(5083,1,"Cannot_read_file_0_5083","Cannot read file '{0}'."),A_tuple_member_cannot_be_both_optional_and_rest:t(5085,1,"A_tuple_member_cannot_be_both_optional_and_rest_5085","A tuple member cannot be both optional and rest."),A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type:t(5086,1,"A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_c_5086","A labeled tuple element is declared as optional with a question mark after the name and before the colon, rather than after the type."),A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type:t(5087,1,"A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type_5087","A labeled tuple element is declared as rest with a '...' before the name, rather than before the type."),The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary:t(5088,1,"The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialize_5088","The inferred type of '{0}' references a type with a cyclic structure which cannot be trivially serialized. A type annotation is necessary."),Option_0_cannot_be_specified_when_option_jsx_is_1:t(5089,1,"Option_0_cannot_be_specified_when_option_jsx_is_1_5089","Option '{0}' cannot be specified when option 'jsx' is '{1}'."),Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash:t(5090,1,"Non_relative_paths_are_not_allowed_when_baseUrl_is_not_set_Did_you_forget_a_leading_Slash_5090","Non-relative paths are not allowed when 'baseUrl' is not set. Did you forget a leading './'?"),Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled:t(5091,1,"Option_preserveConstEnums_cannot_be_disabled_when_0_is_enabled_5091","Option 'preserveConstEnums' cannot be disabled when '{0}' is enabled."),The_root_value_of_a_0_file_must_be_an_object:t(5092,1,"The_root_value_of_a_0_file_must_be_an_object_5092","The root value of a '{0}' file must be an object."),Compiler_option_0_may_only_be_used_with_build:t(5093,1,"Compiler_option_0_may_only_be_used_with_build_5093","Compiler option '--{0}' may only be used with '--build'."),Compiler_option_0_may_not_be_used_with_build:t(5094,1,"Compiler_option_0_may_not_be_used_with_build_5094","Compiler option '--{0}' may not be used with '--build'."),Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later:t(5095,1,"Option_0_can_only_be_used_when_module_is_set_to_es2015_or_later_5095","Option '{0}' can only be used when 'module' is set to 'es2015' or later."),Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set:t(5096,1,"Option_allowImportingTsExtensions_can_only_be_used_when_either_noEmit_or_emitDeclarationOnly_is_set_5096","Option 'allowImportingTsExtensions' can only be used when either 'noEmit' or 'emitDeclarationOnly' is set."),An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled:t(5097,1,"An_import_path_can_only_end_with_a_0_extension_when_allowImportingTsExtensions_is_enabled_5097","An import path can only end with a '{0}' extension when 'allowImportingTsExtensions' is enabled."),Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler:t(5098,1,"Option_0_can_only_be_used_when_moduleResolution_is_set_to_node16_nodenext_or_bundler_5098","Option '{0}' can only be used when 'moduleResolution' is set to 'node16', 'nodenext', or 'bundler'."),Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprecations_Colon_2_to_silence_this_error:t(5101,1,"Option_0_is_deprecated_and_will_stop_functioning_in_TypeScript_1_Specify_compilerOption_ignoreDeprec_5101","Option '{0}' is deprecated and will stop functioning in TypeScript {1}. Specify compilerOption '\"ignoreDeprecations\": \"{2}\"' to silence this error."),Option_0_has_been_removed_Please_remove_it_from_your_configuration:t(5102,1,"Option_0_has_been_removed_Please_remove_it_from_your_configuration_5102","Option '{0}' has been removed. Please remove it from your configuration."),Invalid_value_for_ignoreDeprecations:t(5103,1,"Invalid_value_for_ignoreDeprecations_5103","Invalid value for '--ignoreDeprecations'."),Option_0_is_redundant_and_cannot_be_specified_with_option_1:t(5104,1,"Option_0_is_redundant_and_cannot_be_specified_with_option_1_5104","Option '{0}' is redundant and cannot be specified with option '{1}'."),Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System:t(5105,1,"Option_verbatimModuleSyntax_cannot_be_used_when_module_is_set_to_UMD_AMD_or_System_5105","Option 'verbatimModuleSyntax' cannot be used when 'module' is set to 'UMD', 'AMD', or 'System'."),Use_0_instead:t(5106,3,"Use_0_instead_5106","Use '{0}' instead."),Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDeprecations_Colon_3_to_silence_this_error:t(5107,1,"Option_0_1_is_deprecated_and_will_stop_functioning_in_TypeScript_2_Specify_compilerOption_ignoreDepr_5107","Option '{0}={1}' is deprecated and will stop functioning in TypeScript {2}. Specify compilerOption '\"ignoreDeprecations\": \"{3}\"' to silence this error."),Option_0_1_has_been_removed_Please_remove_it_from_your_configuration:t(5108,1,"Option_0_1_has_been_removed_Please_remove_it_from_your_configuration_5108","Option '{0}={1}' has been removed. Please remove it from your configuration."),Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1:t(5109,1,"Option_moduleResolution_must_be_set_to_0_or_left_unspecified_when_option_module_is_set_to_1_5109","Option 'moduleResolution' must be set to '{0}' (or left unspecified) when option 'module' is set to '{1}'."),Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1:t(5110,1,"Option_module_must_be_set_to_0_when_option_moduleResolution_is_set_to_1_5110","Option 'module' must be set to '{0}' when option 'moduleResolution' is set to '{1}'."),Generates_a_sourcemap_for_each_corresponding_d_ts_file:t(6e3,3,"Generates_a_sourcemap_for_each_corresponding_d_ts_file_6000","Generates a sourcemap for each corresponding '.d.ts' file."),Concatenate_and_emit_output_to_single_file:t(6001,3,"Concatenate_and_emit_output_to_single_file_6001","Concatenate and emit output to single file."),Generates_corresponding_d_ts_file:t(6002,3,"Generates_corresponding_d_ts_file_6002","Generates corresponding '.d.ts' file."),Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations:t(6004,3,"Specify_the_location_where_debugger_should_locate_TypeScript_files_instead_of_source_locations_6004","Specify the location where debugger should locate TypeScript files instead of source locations."),Watch_input_files:t(6005,3,"Watch_input_files_6005","Watch input files."),Redirect_output_structure_to_the_directory:t(6006,3,"Redirect_output_structure_to_the_directory_6006","Redirect output structure to the directory."),Do_not_erase_const_enum_declarations_in_generated_code:t(6007,3,"Do_not_erase_const_enum_declarations_in_generated_code_6007","Do not erase const enum declarations in generated code."),Do_not_emit_outputs_if_any_errors_were_reported:t(6008,3,"Do_not_emit_outputs_if_any_errors_were_reported_6008","Do not emit outputs if any errors were reported."),Do_not_emit_comments_to_output:t(6009,3,"Do_not_emit_comments_to_output_6009","Do not emit comments to output."),Do_not_emit_outputs:t(6010,3,"Do_not_emit_outputs_6010","Do not emit outputs."),Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typechecking:t(6011,3,"Allow_default_imports_from_modules_with_no_default_export_This_does_not_affect_code_emit_just_typech_6011","Allow default imports from modules with no default export. This does not affect code emit, just typechecking."),Skip_type_checking_of_declaration_files:t(6012,3,"Skip_type_checking_of_declaration_files_6012","Skip type checking of declaration files."),Do_not_resolve_the_real_path_of_symlinks:t(6013,3,"Do_not_resolve_the_real_path_of_symlinks_6013","Do not resolve the real path of symlinks."),Only_emit_d_ts_declaration_files:t(6014,3,"Only_emit_d_ts_declaration_files_6014","Only emit '.d.ts' declaration files."),Specify_ECMAScript_target_version:t(6015,3,"Specify_ECMAScript_target_version_6015","Specify ECMAScript target version."),Specify_module_code_generation:t(6016,3,"Specify_module_code_generation_6016","Specify module code generation."),Print_this_message:t(6017,3,"Print_this_message_6017","Print this message."),Print_the_compiler_s_version:t(6019,3,"Print_the_compiler_s_version_6019","Print the compiler's version."),Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json:t(6020,3,"Compile_the_project_given_the_path_to_its_configuration_file_or_to_a_folder_with_a_tsconfig_json_6020","Compile the project given the path to its configuration file, or to a folder with a 'tsconfig.json'."),Syntax_Colon_0:t(6023,3,"Syntax_Colon_0_6023","Syntax: {0}"),options:t(6024,3,"options_6024","options"),file:t(6025,3,"file_6025","file"),Examples_Colon_0:t(6026,3,"Examples_Colon_0_6026","Examples: {0}"),Options_Colon:t(6027,3,"Options_Colon_6027","Options:"),Version_0:t(6029,3,"Version_0_6029","Version {0}"),Insert_command_line_options_and_files_from_a_file:t(6030,3,"Insert_command_line_options_and_files_from_a_file_6030","Insert command line options and files from a file."),Starting_compilation_in_watch_mode:t(6031,3,"Starting_compilation_in_watch_mode_6031","Starting compilation in watch mode..."),File_change_detected_Starting_incremental_compilation:t(6032,3,"File_change_detected_Starting_incremental_compilation_6032","File change detected. Starting incremental compilation..."),KIND:t(6034,3,"KIND_6034","KIND"),FILE:t(6035,3,"FILE_6035","FILE"),VERSION:t(6036,3,"VERSION_6036","VERSION"),LOCATION:t(6037,3,"LOCATION_6037","LOCATION"),DIRECTORY:t(6038,3,"DIRECTORY_6038","DIRECTORY"),STRATEGY:t(6039,3,"STRATEGY_6039","STRATEGY"),FILE_OR_DIRECTORY:t(6040,3,"FILE_OR_DIRECTORY_6040","FILE OR DIRECTORY"),Errors_Files:t(6041,3,"Errors_Files_6041","Errors Files"),Generates_corresponding_map_file:t(6043,3,"Generates_corresponding_map_file_6043","Generates corresponding '.map' file."),Compiler_option_0_expects_an_argument:t(6044,1,"Compiler_option_0_expects_an_argument_6044","Compiler option '{0}' expects an argument."),Unterminated_quoted_string_in_response_file_0:t(6045,1,"Unterminated_quoted_string_in_response_file_0_6045","Unterminated quoted string in response file '{0}'."),Argument_for_0_option_must_be_Colon_1:t(6046,1,"Argument_for_0_option_must_be_Colon_1_6046","Argument for '{0}' option must be: {1}."),Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1:t(6048,1,"Locale_must_be_of_the_form_language_or_language_territory_For_example_0_or_1_6048","Locale must be of the form or -. For example '{0}' or '{1}'."),Unable_to_open_file_0:t(6050,1,"Unable_to_open_file_0_6050","Unable to open file '{0}'."),Corrupted_locale_file_0:t(6051,1,"Corrupted_locale_file_0_6051","Corrupted locale file {0}."),Raise_error_on_expressions_and_declarations_with_an_implied_any_type:t(6052,3,"Raise_error_on_expressions_and_declarations_with_an_implied_any_type_6052","Raise error on expressions and declarations with an implied 'any' type."),File_0_not_found:t(6053,1,"File_0_not_found_6053","File '{0}' not found."),File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1:t(6054,1,"File_0_has_an_unsupported_extension_The_only_supported_extensions_are_1_6054","File '{0}' has an unsupported extension. The only supported extensions are {1}."),Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures:t(6055,3,"Suppress_noImplicitAny_errors_for_indexing_objects_lacking_index_signatures_6055","Suppress noImplicitAny errors for indexing objects lacking index signatures."),Do_not_emit_declarations_for_code_that_has_an_internal_annotation:t(6056,3,"Do_not_emit_declarations_for_code_that_has_an_internal_annotation_6056","Do not emit declarations for code that has an '@internal' annotation."),Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir:t(6058,3,"Specify_the_root_directory_of_input_files_Use_to_control_the_output_directory_structure_with_outDir_6058","Specify the root directory of input files. Use to control the output directory structure with --outDir."),File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files:t(6059,1,"File_0_is_not_under_rootDir_1_rootDir_is_expected_to_contain_all_source_files_6059","File '{0}' is not under 'rootDir' '{1}'. 'rootDir' is expected to contain all source files."),Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix:t(6060,3,"Specify_the_end_of_line_sequence_to_be_used_when_emitting_files_Colon_CRLF_dos_or_LF_unix_6060","Specify the end of line sequence to be used when emitting files: 'CRLF' (dos) or 'LF' (unix)."),NEWLINE:t(6061,3,"NEWLINE_6061","NEWLINE"),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line:t(6064,1,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_null_on_command_line_6064","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'null' on command line."),Enables_experimental_support_for_ES7_decorators:t(6065,3,"Enables_experimental_support_for_ES7_decorators_6065","Enables experimental support for ES7 decorators."),Enables_experimental_support_for_emitting_type_metadata_for_decorators:t(6066,3,"Enables_experimental_support_for_emitting_type_metadata_for_decorators_6066","Enables experimental support for emitting type metadata for decorators."),Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file:t(6070,3,"Initializes_a_TypeScript_project_and_creates_a_tsconfig_json_file_6070","Initializes a TypeScript project and creates a tsconfig.json file."),Successfully_created_a_tsconfig_json_file:t(6071,3,"Successfully_created_a_tsconfig_json_file_6071","Successfully created a tsconfig.json file."),Suppress_excess_property_checks_for_object_literals:t(6072,3,"Suppress_excess_property_checks_for_object_literals_6072","Suppress excess property checks for object literals."),Stylize_errors_and_messages_using_color_and_context_experimental:t(6073,3,"Stylize_errors_and_messages_using_color_and_context_experimental_6073","Stylize errors and messages using color and context (experimental)."),Do_not_report_errors_on_unused_labels:t(6074,3,"Do_not_report_errors_on_unused_labels_6074","Do not report errors on unused labels."),Report_error_when_not_all_code_paths_in_function_return_a_value:t(6075,3,"Report_error_when_not_all_code_paths_in_function_return_a_value_6075","Report error when not all code paths in function return a value."),Report_errors_for_fallthrough_cases_in_switch_statement:t(6076,3,"Report_errors_for_fallthrough_cases_in_switch_statement_6076","Report errors for fallthrough cases in switch statement."),Do_not_report_errors_on_unreachable_code:t(6077,3,"Do_not_report_errors_on_unreachable_code_6077","Do not report errors on unreachable code."),Disallow_inconsistently_cased_references_to_the_same_file:t(6078,3,"Disallow_inconsistently_cased_references_to_the_same_file_6078","Disallow inconsistently-cased references to the same file."),Specify_library_files_to_be_included_in_the_compilation:t(6079,3,"Specify_library_files_to_be_included_in_the_compilation_6079","Specify library files to be included in the compilation."),Specify_JSX_code_generation:t(6080,3,"Specify_JSX_code_generation_6080","Specify JSX code generation."),File_0_has_an_unsupported_extension_so_skipping_it:t(6081,3,"File_0_has_an_unsupported_extension_so_skipping_it_6081","File '{0}' has an unsupported extension, so skipping it."),Only_amd_and_system_modules_are_supported_alongside_0:t(6082,1,"Only_amd_and_system_modules_are_supported_alongside_0_6082","Only 'amd' and 'system' modules are supported alongside --{0}."),Base_directory_to_resolve_non_absolute_module_names:t(6083,3,"Base_directory_to_resolve_non_absolute_module_names_6083","Base directory to resolve non-absolute module names."),Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react_JSX_emit:t(6084,3,"Deprecated_Use_jsxFactory_instead_Specify_the_object_invoked_for_createElement_when_targeting_react__6084","[Deprecated] Use '--jsxFactory' instead. Specify the object invoked for createElement when targeting 'react' JSX emit"),Enable_tracing_of_the_name_resolution_process:t(6085,3,"Enable_tracing_of_the_name_resolution_process_6085","Enable tracing of the name resolution process."),Resolving_module_0_from_1:t(6086,3,"Resolving_module_0_from_1_6086","======== Resolving module '{0}' from '{1}'. ========"),Explicitly_specified_module_resolution_kind_Colon_0:t(6087,3,"Explicitly_specified_module_resolution_kind_Colon_0_6087","Explicitly specified module resolution kind: '{0}'."),Module_resolution_kind_is_not_specified_using_0:t(6088,3,"Module_resolution_kind_is_not_specified_using_0_6088","Module resolution kind is not specified, using '{0}'."),Module_name_0_was_successfully_resolved_to_1:t(6089,3,"Module_name_0_was_successfully_resolved_to_1_6089","======== Module name '{0}' was successfully resolved to '{1}'. ========"),Module_name_0_was_not_resolved:t(6090,3,"Module_name_0_was_not_resolved_6090","======== Module name '{0}' was not resolved. ========"),paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0:t(6091,3,"paths_option_is_specified_looking_for_a_pattern_to_match_module_name_0_6091","'paths' option is specified, looking for a pattern to match module name '{0}'."),Module_name_0_matched_pattern_1:t(6092,3,"Module_name_0_matched_pattern_1_6092","Module name '{0}', matched pattern '{1}'."),Trying_substitution_0_candidate_module_location_Colon_1:t(6093,3,"Trying_substitution_0_candidate_module_location_Colon_1_6093","Trying substitution '{0}', candidate module location: '{1}'."),Resolving_module_name_0_relative_to_base_url_1_2:t(6094,3,"Resolving_module_name_0_relative_to_base_url_1_2_6094","Resolving module name '{0}' relative to base url '{1}' - '{2}'."),Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1:t(6095,3,"Loading_module_as_file_Slash_folder_candidate_module_location_0_target_file_types_Colon_1_6095","Loading module as file / folder, candidate module location '{0}', target file types: {1}."),File_0_does_not_exist:t(6096,3,"File_0_does_not_exist_6096","File '{0}' does not exist."),File_0_exists_use_it_as_a_name_resolution_result:t(6097,3,"File_0_exists_use_it_as_a_name_resolution_result_6097","File '{0}' exists - use it as a name resolution result."),Loading_module_0_from_node_modules_folder_target_file_types_Colon_1:t(6098,3,"Loading_module_0_from_node_modules_folder_target_file_types_Colon_1_6098","Loading module '{0}' from 'node_modules' folder, target file types: {1}."),Found_package_json_at_0:t(6099,3,"Found_package_json_at_0_6099","Found 'package.json' at '{0}'."),package_json_does_not_have_a_0_field:t(6100,3,"package_json_does_not_have_a_0_field_6100","'package.json' does not have a '{0}' field."),package_json_has_0_field_1_that_references_2:t(6101,3,"package_json_has_0_field_1_that_references_2_6101","'package.json' has '{0}' field '{1}' that references '{2}'."),Allow_javascript_files_to_be_compiled:t(6102,3,"Allow_javascript_files_to_be_compiled_6102","Allow javascript files to be compiled."),Checking_if_0_is_the_longest_matching_prefix_for_1_2:t(6104,3,"Checking_if_0_is_the_longest_matching_prefix_for_1_2_6104","Checking if '{0}' is the longest matching prefix for '{1}' - '{2}'."),Expected_type_of_0_field_in_package_json_to_be_1_got_2:t(6105,3,"Expected_type_of_0_field_in_package_json_to_be_1_got_2_6105","Expected type of '{0}' field in 'package.json' to be '{1}', got '{2}'."),baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1:t(6106,3,"baseUrl_option_is_set_to_0_using_this_value_to_resolve_non_relative_module_name_1_6106","'baseUrl' option is set to '{0}', using this value to resolve non-relative module name '{1}'."),rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0:t(6107,3,"rootDirs_option_is_set_using_it_to_resolve_relative_module_name_0_6107","'rootDirs' option is set, using it to resolve relative module name '{0}'."),Longest_matching_prefix_for_0_is_1:t(6108,3,"Longest_matching_prefix_for_0_is_1_6108","Longest matching prefix for '{0}' is '{1}'."),Loading_0_from_the_root_dir_1_candidate_location_2:t(6109,3,"Loading_0_from_the_root_dir_1_candidate_location_2_6109","Loading '{0}' from the root dir '{1}', candidate location '{2}'."),Trying_other_entries_in_rootDirs:t(6110,3,"Trying_other_entries_in_rootDirs_6110","Trying other entries in 'rootDirs'."),Module_resolution_using_rootDirs_has_failed:t(6111,3,"Module_resolution_using_rootDirs_has_failed_6111","Module resolution using 'rootDirs' has failed."),Do_not_emit_use_strict_directives_in_module_output:t(6112,3,"Do_not_emit_use_strict_directives_in_module_output_6112","Do not emit 'use strict' directives in module output."),Enable_strict_null_checks:t(6113,3,"Enable_strict_null_checks_6113","Enable strict null checks."),Unknown_option_excludes_Did_you_mean_exclude:t(6114,1,"Unknown_option_excludes_Did_you_mean_exclude_6114","Unknown option 'excludes'. Did you mean 'exclude'?"),Raise_error_on_this_expressions_with_an_implied_any_type:t(6115,3,"Raise_error_on_this_expressions_with_an_implied_any_type_6115","Raise error on 'this' expressions with an implied 'any' type."),Resolving_type_reference_directive_0_containing_file_1_root_directory_2:t(6116,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_2_6116","======== Resolving type reference directive '{0}', containing file '{1}', root directory '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2:t(6119,3,"Type_reference_directive_0_was_successfully_resolved_to_1_primary_Colon_2_6119","======== Type reference directive '{0}' was successfully resolved to '{1}', primary: {2}. ========"),Type_reference_directive_0_was_not_resolved:t(6120,3,"Type_reference_directive_0_was_not_resolved_6120","======== Type reference directive '{0}' was not resolved. ========"),Resolving_with_primary_search_path_0:t(6121,3,"Resolving_with_primary_search_path_0_6121","Resolving with primary search path '{0}'."),Root_directory_cannot_be_determined_skipping_primary_search_paths:t(6122,3,"Root_directory_cannot_be_determined_skipping_primary_search_paths_6122","Root directory cannot be determined, skipping primary search paths."),Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set:t(6123,3,"Resolving_type_reference_directive_0_containing_file_1_root_directory_not_set_6123","======== Resolving type reference directive '{0}', containing file '{1}', root directory not set. ========"),Type_declaration_files_to_be_included_in_compilation:t(6124,3,"Type_declaration_files_to_be_included_in_compilation_6124","Type declaration files to be included in compilation."),Looking_up_in_node_modules_folder_initial_location_0:t(6125,3,"Looking_up_in_node_modules_folder_initial_location_0_6125","Looking up in 'node_modules' folder, initial location '{0}'."),Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_modules_folder:t(6126,3,"Containing_file_is_not_specified_and_root_directory_cannot_be_determined_skipping_lookup_in_node_mod_6126","Containing file is not specified and root directory cannot be determined, skipping lookup in 'node_modules' folder."),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1:t(6127,3,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_1_6127","======== Resolving type reference directive '{0}', containing file not set, root directory '{1}'. ========"),Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set:t(6128,3,"Resolving_type_reference_directive_0_containing_file_not_set_root_directory_not_set_6128","======== Resolving type reference directive '{0}', containing file not set, root directory not set. ========"),Resolving_real_path_for_0_result_1:t(6130,3,"Resolving_real_path_for_0_result_1_6130","Resolving real path for '{0}', result '{1}'."),Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system:t(6131,1,"Cannot_compile_modules_using_option_0_unless_the_module_flag_is_amd_or_system_6131","Cannot compile modules using option '{0}' unless the '--module' flag is 'amd' or 'system'."),File_name_0_has_a_1_extension_stripping_it:t(6132,3,"File_name_0_has_a_1_extension_stripping_it_6132","File name '{0}' has a '{1}' extension - stripping it."),_0_is_declared_but_its_value_is_never_read:t(6133,1,"_0_is_declared_but_its_value_is_never_read_6133","'{0}' is declared but its value is never read.",!0),Report_errors_on_unused_locals:t(6134,3,"Report_errors_on_unused_locals_6134","Report errors on unused locals."),Report_errors_on_unused_parameters:t(6135,3,"Report_errors_on_unused_parameters_6135","Report errors on unused parameters."),The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files:t(6136,3,"The_maximum_dependency_depth_to_search_under_node_modules_and_load_JavaScript_files_6136","The maximum dependency depth to search under node_modules and load JavaScript files."),Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1:t(6137,1,"Cannot_import_type_declaration_files_Consider_importing_0_instead_of_1_6137","Cannot import type declaration files. Consider importing '{0}' instead of '{1}'."),Property_0_is_declared_but_its_value_is_never_read:t(6138,1,"Property_0_is_declared_but_its_value_is_never_read_6138","Property '{0}' is declared but its value is never read.",!0),Import_emit_helpers_from_tslib:t(6139,3,"Import_emit_helpers_from_tslib_6139","Import emit helpers from 'tslib'."),Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using_cache_location_2:t(6140,1,"Auto_discovery_for_typings_is_enabled_in_project_0_Running_extra_resolution_pass_for_module_1_using__6140","Auto discovery for typings is enabled in project '{0}'. Running extra resolution pass for module '{1}' using cache location '{2}'."),Parse_in_strict_mode_and_emit_use_strict_for_each_source_file:t(6141,3,"Parse_in_strict_mode_and_emit_use_strict_for_each_source_file_6141",'Parse in strict mode and emit "use strict" for each source file.'),Module_0_was_resolved_to_1_but_jsx_is_not_set:t(6142,1,"Module_0_was_resolved_to_1_but_jsx_is_not_set_6142","Module '{0}' was resolved to '{1}', but '--jsx' is not set."),Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1:t(6144,3,"Module_0_was_resolved_as_locally_declared_ambient_module_in_file_1_6144","Module '{0}' was resolved as locally declared ambient module in file '{1}'."),Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified:t(6145,3,"Module_0_was_resolved_as_ambient_module_declared_in_1_since_this_file_was_not_modified_6145","Module '{0}' was resolved as ambient module declared in '{1}' since this file was not modified."),Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h:t(6146,3,"Specify_the_JSX_factory_function_to_use_when_targeting_react_JSX_emit_e_g_React_createElement_or_h_6146","Specify the JSX factory function to use when targeting 'react' JSX emit, e.g. 'React.createElement' or 'h'."),Resolution_for_module_0_was_found_in_cache_from_location_1:t(6147,3,"Resolution_for_module_0_was_found_in_cache_from_location_1_6147","Resolution for module '{0}' was found in cache from location '{1}'."),Directory_0_does_not_exist_skipping_all_lookups_in_it:t(6148,3,"Directory_0_does_not_exist_skipping_all_lookups_in_it_6148","Directory '{0}' does not exist, skipping all lookups in it."),Show_diagnostic_information:t(6149,3,"Show_diagnostic_information_6149","Show diagnostic information."),Show_verbose_diagnostic_information:t(6150,3,"Show_verbose_diagnostic_information_6150","Show verbose diagnostic information."),Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file:t(6151,3,"Emit_a_single_file_with_source_maps_instead_of_having_a_separate_file_6151","Emit a single file with source maps instead of having a separate file."),Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap_to_be_set:t(6152,3,"Emit_the_source_alongside_the_sourcemaps_within_a_single_file_requires_inlineSourceMap_or_sourceMap__6152","Emit the source alongside the sourcemaps within a single file; requires '--inlineSourceMap' or '--sourceMap' to be set."),Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule:t(6153,3,"Transpile_each_file_as_a_separate_module_similar_to_ts_transpileModule_6153","Transpile each file as a separate module (similar to 'ts.transpileModule')."),Print_names_of_generated_files_part_of_the_compilation:t(6154,3,"Print_names_of_generated_files_part_of_the_compilation_6154","Print names of generated files part of the compilation."),Print_names_of_files_part_of_the_compilation:t(6155,3,"Print_names_of_files_part_of_the_compilation_6155","Print names of files part of the compilation."),The_locale_used_when_displaying_messages_to_the_user_e_g_en_us:t(6156,3,"The_locale_used_when_displaying_messages_to_the_user_e_g_en_us_6156","The locale used when displaying messages to the user (e.g. 'en-us')"),Do_not_generate_custom_helper_functions_like_extends_in_compiled_output:t(6157,3,"Do_not_generate_custom_helper_functions_like_extends_in_compiled_output_6157","Do not generate custom helper functions like '__extends' in compiled output."),Do_not_include_the_default_library_file_lib_d_ts:t(6158,3,"Do_not_include_the_default_library_file_lib_d_ts_6158","Do not include the default library file (lib.d.ts)."),Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files:t(6159,3,"Do_not_add_triple_slash_references_or_imported_modules_to_the_list_of_compiled_files_6159","Do not add triple-slash references or imported modules to the list of compiled files."),Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files:t(6160,3,"Deprecated_Use_skipLibCheck_instead_Skip_type_checking_of_default_library_declaration_files_6160","[Deprecated] Use '--skipLibCheck' instead. Skip type checking of default library declaration files."),List_of_folders_to_include_type_definitions_from:t(6161,3,"List_of_folders_to_include_type_definitions_from_6161","List of folders to include type definitions from."),Disable_size_limitations_on_JavaScript_projects:t(6162,3,"Disable_size_limitations_on_JavaScript_projects_6162","Disable size limitations on JavaScript projects."),The_character_set_of_the_input_files:t(6163,3,"The_character_set_of_the_input_files_6163","The character set of the input files."),Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1:t(6164,3,"Skipping_module_0_that_looks_like_an_absolute_URI_target_file_types_Colon_1_6164","Skipping module '{0}' that looks like an absolute URI, target file types: {1}."),Do_not_truncate_error_messages:t(6165,3,"Do_not_truncate_error_messages_6165","Do not truncate error messages."),Output_directory_for_generated_declaration_files:t(6166,3,"Output_directory_for_generated_declaration_files_6166","Output directory for generated declaration files."),A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl:t(6167,3,"A_series_of_entries_which_re_map_imports_to_lookup_locations_relative_to_the_baseUrl_6167","A series of entries which re-map imports to lookup locations relative to the 'baseUrl'."),List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime:t(6168,3,"List_of_root_folders_whose_combined_content_represents_the_structure_of_the_project_at_runtime_6168","List of root folders whose combined content represents the structure of the project at runtime."),Show_all_compiler_options:t(6169,3,"Show_all_compiler_options_6169","Show all compiler options."),Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file:t(6170,3,"Deprecated_Use_outFile_instead_Concatenate_and_emit_output_to_single_file_6170","[Deprecated] Use '--outFile' instead. Concatenate and emit output to single file"),Command_line_Options:t(6171,3,"Command_line_Options_6171","Command-line Options"),Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3:t(6179,3,"Provide_full_support_for_iterables_in_for_of_spread_and_destructuring_when_targeting_ES5_or_ES3_6179","Provide full support for iterables in 'for-of', spread, and destructuring when targeting 'ES5' or 'ES3'."),Enable_all_strict_type_checking_options:t(6180,3,"Enable_all_strict_type_checking_options_6180","Enable all strict type-checking options."),Scoped_package_detected_looking_in_0:t(6182,3,"Scoped_package_detected_looking_in_0_6182","Scoped package detected, looking in '{0}'"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2:t(6183,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_6183","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:t(6184,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package__6184","Reusing resolution of module '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Enable_strict_checking_of_function_types:t(6186,3,"Enable_strict_checking_of_function_types_6186","Enable strict checking of function types."),Enable_strict_checking_of_property_initialization_in_classes:t(6187,3,"Enable_strict_checking_of_property_initialization_in_classes_6187","Enable strict checking of property initialization in classes."),Numeric_separators_are_not_allowed_here:t(6188,1,"Numeric_separators_are_not_allowed_here_6188","Numeric separators are not allowed here."),Multiple_consecutive_numeric_separators_are_not_permitted:t(6189,1,"Multiple_consecutive_numeric_separators_are_not_permitted_6189","Multiple consecutive numeric separators are not permitted."),Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen:t(6191,3,"Whether_to_keep_outdated_console_output_in_watch_mode_instead_of_clearing_the_screen_6191","Whether to keep outdated console output in watch mode instead of clearing the screen."),All_imports_in_import_declaration_are_unused:t(6192,1,"All_imports_in_import_declaration_are_unused_6192","All imports in import declaration are unused.",!0),Found_1_error_Watching_for_file_changes:t(6193,3,"Found_1_error_Watching_for_file_changes_6193","Found 1 error. Watching for file changes."),Found_0_errors_Watching_for_file_changes:t(6194,3,"Found_0_errors_Watching_for_file_changes_6194","Found {0} errors. Watching for file changes."),Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols:t(6195,3,"Resolve_keyof_to_string_valued_property_names_only_no_numbers_or_symbols_6195","Resolve 'keyof' to string valued property names only (no numbers or symbols)."),_0_is_declared_but_never_used:t(6196,1,"_0_is_declared_but_never_used_6196","'{0}' is declared but never used.",!0),Include_modules_imported_with_json_extension:t(6197,3,"Include_modules_imported_with_json_extension_6197","Include modules imported with '.json' extension"),All_destructured_elements_are_unused:t(6198,1,"All_destructured_elements_are_unused_6198","All destructured elements are unused.",!0),All_variables_are_unused:t(6199,1,"All_variables_are_unused_6199","All variables are unused.",!0),Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0:t(6200,1,"Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0_6200","Definitions of the following identifiers conflict with those in another file: {0}"),Conflicts_are_in_this_file:t(6201,3,"Conflicts_are_in_this_file_6201","Conflicts are in this file."),Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0:t(6202,1,"Project_references_may_not_form_a_circular_graph_Cycle_detected_Colon_0_6202","Project references may not form a circular graph. Cycle detected: {0}"),_0_was_also_declared_here:t(6203,3,"_0_was_also_declared_here_6203","'{0}' was also declared here."),and_here:t(6204,3,"and_here_6204","and here."),All_type_parameters_are_unused:t(6205,1,"All_type_parameters_are_unused_6205","All type parameters are unused."),package_json_has_a_typesVersions_field_with_version_specific_path_mappings:t(6206,3,"package_json_has_a_typesVersions_field_with_version_specific_path_mappings_6206","'package.json' has a 'typesVersions' field with version-specific path mappings."),package_json_does_not_have_a_typesVersions_entry_that_matches_version_0:t(6207,3,"package_json_does_not_have_a_typesVersions_entry_that_matches_version_0_6207","'package.json' does not have a 'typesVersions' entry that matches version '{0}'."),package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_match_module_name_2:t(6208,3,"package_json_has_a_typesVersions_entry_0_that_matches_compiler_version_1_looking_for_a_pattern_to_ma_6208","'package.json' has a 'typesVersions' entry '{0}' that matches compiler version '{1}', looking for a pattern to match module name '{2}'."),package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range:t(6209,3,"package_json_has_a_typesVersions_entry_0_that_is_not_a_valid_semver_range_6209","'package.json' has a 'typesVersions' entry '{0}' that is not a valid semver range."),An_argument_for_0_was_not_provided:t(6210,3,"An_argument_for_0_was_not_provided_6210","An argument for '{0}' was not provided."),An_argument_matching_this_binding_pattern_was_not_provided:t(6211,3,"An_argument_matching_this_binding_pattern_was_not_provided_6211","An argument matching this binding pattern was not provided."),Did_you_mean_to_call_this_expression:t(6212,3,"Did_you_mean_to_call_this_expression_6212","Did you mean to call this expression?"),Did_you_mean_to_use_new_with_this_expression:t(6213,3,"Did_you_mean_to_use_new_with_this_expression_6213","Did you mean to use 'new' with this expression?"),Enable_strict_bind_call_and_apply_methods_on_functions:t(6214,3,"Enable_strict_bind_call_and_apply_methods_on_functions_6214","Enable strict 'bind', 'call', and 'apply' methods on functions."),Using_compiler_options_of_project_reference_redirect_0:t(6215,3,"Using_compiler_options_of_project_reference_redirect_0_6215","Using compiler options of project reference redirect '{0}'."),Found_1_error:t(6216,3,"Found_1_error_6216","Found 1 error."),Found_0_errors:t(6217,3,"Found_0_errors_6217","Found {0} errors."),Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2:t(6218,3,"Module_name_0_was_successfully_resolved_to_1_with_Package_ID_2_6218","======== Module name '{0}' was successfully resolved to '{1}' with Package ID '{2}'. ========"),Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3:t(6219,3,"Type_reference_directive_0_was_successfully_resolved_to_1_with_Package_ID_2_primary_Colon_3_6219","======== Type reference directive '{0}' was successfully resolved to '{1}' with Package ID '{2}', primary: {3}. ========"),package_json_had_a_falsy_0_field:t(6220,3,"package_json_had_a_falsy_0_field_6220","'package.json' had a falsy '{0}' field."),Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects:t(6221,3,"Disable_use_of_source_files_instead_of_declaration_files_from_referenced_projects_6221","Disable use of source files instead of declaration files from referenced projects."),Emit_class_fields_with_Define_instead_of_Set:t(6222,3,"Emit_class_fields_with_Define_instead_of_Set_6222","Emit class fields with Define instead of Set."),Generates_a_CPU_profile:t(6223,3,"Generates_a_CPU_profile_6223","Generates a CPU profile."),Disable_solution_searching_for_this_project:t(6224,3,"Disable_solution_searching_for_this_project_6224","Disable solution searching for this project."),Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling_UseFsEvents_UseFsEventsOnParentDirectory:t(6225,3,"Specify_strategy_for_watching_file_Colon_FixedPollingInterval_default_PriorityPollingInterval_Dynami_6225","Specify strategy for watching file: 'FixedPollingInterval' (default), 'PriorityPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling', 'UseFsEvents', 'UseFsEventsOnParentDirectory'."),Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively_Colon_UseFsEvents_default_FixedPollingInterval_DynamicPriorityPolling_FixedChunkSizePolling:t(6226,3,"Specify_strategy_for_watching_directory_on_platforms_that_don_t_support_recursive_watching_natively__6226","Specify strategy for watching directory on platforms that don't support recursive watching natively: 'UseFsEvents' (default), 'FixedPollingInterval', 'DynamicPriorityPolling', 'FixedChunkSizePolling'."),Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_FixedInterval_default_PriorityInterval_DynamicPriority_FixedChunkSize:t(6227,3,"Specify_strategy_for_creating_a_polling_watch_when_it_fails_to_create_using_file_system_events_Colon_6227","Specify strategy for creating a polling watch when it fails to create using file system events: 'FixedInterval' (default), 'PriorityInterval', 'DynamicPriority', 'FixedChunkSize'."),Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3:t(6229,1,"Tag_0_expects_at_least_1_arguments_but_the_JSX_factory_2_provides_at_most_3_6229","Tag '{0}' expects at least '{1}' arguments, but the JSX factory '{2}' provides at most '{3}'."),Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line:t(6230,1,"Option_0_can_only_be_specified_in_tsconfig_json_file_or_set_to_false_or_null_on_command_line_6230","Option '{0}' can only be specified in 'tsconfig.json' file or set to 'false' or 'null' on command line."),Could_not_resolve_the_path_0_with_the_extensions_Colon_1:t(6231,1,"Could_not_resolve_the_path_0_with_the_extensions_Colon_1_6231","Could not resolve the path '{0}' with the extensions: {1}."),Declaration_augments_declaration_in_another_file_This_cannot_be_serialized:t(6232,1,"Declaration_augments_declaration_in_another_file_This_cannot_be_serialized_6232","Declaration augments declaration in another file. This cannot be serialized."),This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file:t(6233,1,"This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_fil_6233","This is the declaration being augmented. Consider moving the augmenting declaration into the same file."),This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without:t(6234,1,"This_expression_is_not_callable_because_it_is_a_get_accessor_Did_you_mean_to_use_it_without_6234","This expression is not callable because it is a 'get' accessor. Did you mean to use it without '()'?"),Disable_loading_referenced_projects:t(6235,3,"Disable_loading_referenced_projects_6235","Disable loading referenced projects."),Arguments_for_the_rest_parameter_0_were_not_provided:t(6236,1,"Arguments_for_the_rest_parameter_0_were_not_provided_6236","Arguments for the rest parameter '{0}' were not provided."),Generates_an_event_trace_and_a_list_of_types:t(6237,3,"Generates_an_event_trace_and_a_list_of_types_6237","Generates an event trace and a list of types."),Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react:t(6238,1,"Specify_the_module_specifier_to_be_used_to_import_the_jsx_and_jsxs_factory_functions_from_eg_react_6238","Specify the module specifier to be used to import the 'jsx' and 'jsxs' factory functions from. eg, react"),File_0_exists_according_to_earlier_cached_lookups:t(6239,3,"File_0_exists_according_to_earlier_cached_lookups_6239","File '{0}' exists according to earlier cached lookups."),File_0_does_not_exist_according_to_earlier_cached_lookups:t(6240,3,"File_0_does_not_exist_according_to_earlier_cached_lookups_6240","File '{0}' does not exist according to earlier cached lookups."),Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1:t(6241,3,"Resolution_for_type_reference_directive_0_was_found_in_cache_from_location_1_6241","Resolution for type reference directive '{0}' was found in cache from location '{1}'."),Resolving_type_reference_directive_0_containing_file_1:t(6242,3,"Resolving_type_reference_directive_0_containing_file_1_6242","======== Resolving type reference directive '{0}', containing file '{1}'. ========"),Interpret_optional_property_types_as_written_rather_than_adding_undefined:t(6243,3,"Interpret_optional_property_types_as_written_rather_than_adding_undefined_6243","Interpret optional property types as written, rather than adding 'undefined'."),Modules:t(6244,3,"Modules_6244","Modules"),File_Management:t(6245,3,"File_Management_6245","File Management"),Emit:t(6246,3,"Emit_6246","Emit"),JavaScript_Support:t(6247,3,"JavaScript_Support_6247","JavaScript Support"),Type_Checking:t(6248,3,"Type_Checking_6248","Type Checking"),Editor_Support:t(6249,3,"Editor_Support_6249","Editor Support"),Watch_and_Build_Modes:t(6250,3,"Watch_and_Build_Modes_6250","Watch and Build Modes"),Compiler_Diagnostics:t(6251,3,"Compiler_Diagnostics_6251","Compiler Diagnostics"),Interop_Constraints:t(6252,3,"Interop_Constraints_6252","Interop Constraints"),Backwards_Compatibility:t(6253,3,"Backwards_Compatibility_6253","Backwards Compatibility"),Language_and_Environment:t(6254,3,"Language_and_Environment_6254","Language and Environment"),Projects:t(6255,3,"Projects_6255","Projects"),Output_Formatting:t(6256,3,"Output_Formatting_6256","Output Formatting"),Completeness:t(6257,3,"Completeness_6257","Completeness"),_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file:t(6258,1,"_0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file_6258","'{0}' should be set inside the 'compilerOptions' object of the config json file"),Found_1_error_in_0:t(6259,3,"Found_1_error_in_0_6259","Found 1 error in {0}"),Found_0_errors_in_the_same_file_starting_at_Colon_1:t(6260,3,"Found_0_errors_in_the_same_file_starting_at_Colon_1_6260","Found {0} errors in the same file, starting at: {1}"),Found_0_errors_in_1_files:t(6261,3,"Found_0_errors_in_1_files_6261","Found {0} errors in {1} files."),File_name_0_has_a_1_extension_looking_up_2_instead:t(6262,3,"File_name_0_has_a_1_extension_looking_up_2_instead_6262","File name '{0}' has a '{1}' extension - looking up '{2}' instead."),Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set:t(6263,1,"Module_0_was_resolved_to_1_but_allowArbitraryExtensions_is_not_set_6263","Module '{0}' was resolved to '{1}', but '--allowArbitraryExtensions' is not set."),Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present:t(6264,3,"Enable_importing_files_with_any_extension_provided_a_declaration_file_is_present_6264","Enable importing files with any extension, provided a declaration file is present."),Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_node_modules_folder:t(6265,3,"Resolving_type_reference_directive_for_program_that_specifies_custom_typeRoots_skipping_lookup_in_no_6265","Resolving type reference directive for program that specifies custom typeRoots, skipping lookup in 'node_modules' folder."),Option_0_can_only_be_specified_on_command_line:t(6266,1,"Option_0_can_only_be_specified_on_command_line_6266","Option '{0}' can only be specified on command line."),Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve:t(6270,3,"Directory_0_has_no_containing_package_json_scope_Imports_will_not_resolve_6270","Directory '{0}' has no containing package.json scope. Imports will not resolve."),Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1:t(6271,3,"Import_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6271","Import specifier '{0}' does not exist in package.json scope at path '{1}'."),Invalid_import_specifier_0_has_no_possible_resolutions:t(6272,3,"Invalid_import_specifier_0_has_no_possible_resolutions_6272","Invalid import specifier '{0}' has no possible resolutions."),package_json_scope_0_has_no_imports_defined:t(6273,3,"package_json_scope_0_has_no_imports_defined_6273","package.json scope '{0}' has no imports defined."),package_json_scope_0_explicitly_maps_specifier_1_to_null:t(6274,3,"package_json_scope_0_explicitly_maps_specifier_1_to_null_6274","package.json scope '{0}' explicitly maps specifier '{1}' to null."),package_json_scope_0_has_invalid_type_for_target_of_specifier_1:t(6275,3,"package_json_scope_0_has_invalid_type_for_target_of_specifier_1_6275","package.json scope '{0}' has invalid type for target of specifier '{1}'"),Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1:t(6276,3,"Export_specifier_0_does_not_exist_in_package_json_scope_at_path_1_6276","Export specifier '{0}' does not exist in package.json scope at path '{1}'."),Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_if_npm_library_needs_configuration_update:t(6277,3,"Resolution_of_non_relative_name_failed_trying_with_modern_Node_resolution_features_disabled_to_see_i_6277","Resolution of non-relative name failed; trying with modern Node resolution features disabled to see if npm library needs configuration update."),There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The_1_library_may_need_to_update_its_package_json_or_typings:t(6278,3,"There_are_types_at_0_but_this_result_could_not_be_resolved_when_respecting_package_json_exports_The__6278","There are types at '{0}', but this result could not be resolved when respecting package.json \"exports\". The '{1}' library may need to update its package.json or typings."),Enable_project_compilation:t(6302,3,"Enable_project_compilation_6302","Enable project compilation"),Composite_projects_may_not_disable_declaration_emit:t(6304,1,"Composite_projects_may_not_disable_declaration_emit_6304","Composite projects may not disable declaration emit."),Output_file_0_has_not_been_built_from_source_file_1:t(6305,1,"Output_file_0_has_not_been_built_from_source_file_1_6305","Output file '{0}' has not been built from source file '{1}'."),Referenced_project_0_must_have_setting_composite_Colon_true:t(6306,1,"Referenced_project_0_must_have_setting_composite_Colon_true_6306","Referenced project '{0}' must have setting \"composite\": true."),File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_include_pattern:t(6307,1,"File_0_is_not_listed_within_the_file_list_of_project_1_Projects_must_list_all_files_or_use_an_includ_6307","File '{0}' is not listed within the file list of project '{1}'. Projects must list all files or use an 'include' pattern."),Cannot_prepend_project_0_because_it_does_not_have_outFile_set:t(6308,1,"Cannot_prepend_project_0_because_it_does_not_have_outFile_set_6308","Cannot prepend project '{0}' because it does not have 'outFile' set"),Output_file_0_from_project_1_does_not_exist:t(6309,1,"Output_file_0_from_project_1_does_not_exist_6309","Output file '{0}' from project '{1}' does not exist"),Referenced_project_0_may_not_disable_emit:t(6310,1,"Referenced_project_0_may_not_disable_emit_6310","Referenced project '{0}' may not disable emit."),Project_0_is_out_of_date_because_output_1_is_older_than_input_2:t(6350,3,"Project_0_is_out_of_date_because_output_1_is_older_than_input_2_6350","Project '{0}' is out of date because output '{1}' is older than input '{2}'"),Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2:t(6351,3,"Project_0_is_up_to_date_because_newest_input_1_is_older_than_output_2_6351","Project '{0}' is up to date because newest input '{1}' is older than output '{2}'"),Project_0_is_out_of_date_because_output_file_1_does_not_exist:t(6352,3,"Project_0_is_out_of_date_because_output_file_1_does_not_exist_6352","Project '{0}' is out of date because output file '{1}' does not exist"),Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date:t(6353,3,"Project_0_is_out_of_date_because_its_dependency_1_is_out_of_date_6353","Project '{0}' is out of date because its dependency '{1}' is out of date"),Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies:t(6354,3,"Project_0_is_up_to_date_with_d_ts_files_from_its_dependencies_6354","Project '{0}' is up to date with .d.ts files from its dependencies"),Projects_in_this_build_Colon_0:t(6355,3,"Projects_in_this_build_Colon_0_6355","Projects in this build: {0}"),A_non_dry_build_would_delete_the_following_files_Colon_0:t(6356,3,"A_non_dry_build_would_delete_the_following_files_Colon_0_6356","A non-dry build would delete the following files: {0}"),A_non_dry_build_would_build_project_0:t(6357,3,"A_non_dry_build_would_build_project_0_6357","A non-dry build would build project '{0}'"),Building_project_0:t(6358,3,"Building_project_0_6358","Building project '{0}'..."),Updating_output_timestamps_of_project_0:t(6359,3,"Updating_output_timestamps_of_project_0_6359","Updating output timestamps of project '{0}'..."),Project_0_is_up_to_date:t(6361,3,"Project_0_is_up_to_date_6361","Project '{0}' is up to date"),Skipping_build_of_project_0_because_its_dependency_1_has_errors:t(6362,3,"Skipping_build_of_project_0_because_its_dependency_1_has_errors_6362","Skipping build of project '{0}' because its dependency '{1}' has errors"),Project_0_can_t_be_built_because_its_dependency_1_has_errors:t(6363,3,"Project_0_can_t_be_built_because_its_dependency_1_has_errors_6363","Project '{0}' can't be built because its dependency '{1}' has errors"),Build_one_or_more_projects_and_their_dependencies_if_out_of_date:t(6364,3,"Build_one_or_more_projects_and_their_dependencies_if_out_of_date_6364","Build one or more projects and their dependencies, if out of date"),Delete_the_outputs_of_all_projects:t(6365,3,"Delete_the_outputs_of_all_projects_6365","Delete the outputs of all projects."),Show_what_would_be_built_or_deleted_if_specified_with_clean:t(6367,3,"Show_what_would_be_built_or_deleted_if_specified_with_clean_6367","Show what would be built (or deleted, if specified with '--clean')"),Option_build_must_be_the_first_command_line_argument:t(6369,1,"Option_build_must_be_the_first_command_line_argument_6369","Option '--build' must be the first command line argument."),Options_0_and_1_cannot_be_combined:t(6370,1,"Options_0_and_1_cannot_be_combined_6370","Options '{0}' and '{1}' cannot be combined."),Updating_unchanged_output_timestamps_of_project_0:t(6371,3,"Updating_unchanged_output_timestamps_of_project_0_6371","Updating unchanged output timestamps of project '{0}'..."),Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed:t(6372,3,"Project_0_is_out_of_date_because_output_of_its_dependency_1_has_changed_6372","Project '{0}' is out of date because output of its dependency '{1}' has changed"),Updating_output_of_project_0:t(6373,3,"Updating_output_of_project_0_6373","Updating output of project '{0}'..."),A_non_dry_build_would_update_timestamps_for_output_of_project_0:t(6374,3,"A_non_dry_build_would_update_timestamps_for_output_of_project_0_6374","A non-dry build would update timestamps for output of project '{0}'"),A_non_dry_build_would_update_output_of_project_0:t(6375,3,"A_non_dry_build_would_update_output_of_project_0_6375","A non-dry build would update output of project '{0}'"),Cannot_update_output_of_project_0_because_there_was_error_reading_file_1:t(6376,3,"Cannot_update_output_of_project_0_because_there_was_error_reading_file_1_6376","Cannot update output of project '{0}' because there was error reading file '{1}'"),Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1:t(6377,1,"Cannot_write_file_0_because_it_will_overwrite_tsbuildinfo_file_generated_by_referenced_project_1_6377","Cannot write file '{0}' because it will overwrite '.tsbuildinfo' file generated by referenced project '{1}'"),Composite_projects_may_not_disable_incremental_compilation:t(6379,1,"Composite_projects_may_not_disable_incremental_compilation_6379","Composite projects may not disable incremental compilation."),Specify_file_to_store_incremental_compilation_information:t(6380,3,"Specify_file_to_store_incremental_compilation_information_6380","Specify file to store incremental compilation information"),Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_current_version_2:t(6381,3,"Project_0_is_out_of_date_because_output_for_it_was_generated_with_version_1_that_differs_with_curren_6381","Project '{0}' is out of date because output for it was generated with version '{1}' that differs with current version '{2}'"),Skipping_build_of_project_0_because_its_dependency_1_was_not_built:t(6382,3,"Skipping_build_of_project_0_because_its_dependency_1_was_not_built_6382","Skipping build of project '{0}' because its dependency '{1}' was not built"),Project_0_can_t_be_built_because_its_dependency_1_was_not_built:t(6383,3,"Project_0_can_t_be_built_because_its_dependency_1_was_not_built_6383","Project '{0}' can't be built because its dependency '{1}' was not built"),Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:t(6384,3,"Have_recompiles_in_incremental_and_watch_assume_that_changes_within_a_file_will_only_affect_files_di_6384","Have recompiles in '--incremental' and '--watch' assume that changes within a file will only affect files directly depending on it."),_0_is_deprecated:t(6385,2,"_0_is_deprecated_6385","'{0}' is deprecated.",void 0,void 0,!0),Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_native_implementation_of_the_Web_Performance_API_could_not_be_found:t(6386,3,"Performance_timings_for_diagnostics_or_extendedDiagnostics_are_not_available_in_this_session_A_nativ_6386","Performance timings for '--diagnostics' or '--extendedDiagnostics' are not available in this session. A native implementation of the Web Performance API could not be found."),The_signature_0_of_1_is_deprecated:t(6387,2,"The_signature_0_of_1_is_deprecated_6387","The signature '{0}' of '{1}' is deprecated.",void 0,void 0,!0),Project_0_is_being_forcibly_rebuilt:t(6388,3,"Project_0_is_being_forcibly_rebuilt_6388","Project '{0}' is being forcibly rebuilt"),Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved:t(6389,3,"Reusing_resolution_of_module_0_from_1_of_old_program_it_was_not_resolved_6389","Reusing resolution of module '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2:t(6390,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6390","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved_to_2_with_Package_ID_3:t(6391,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_successfully_resolved__6391","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was successfully resolved to '{2}' with Package ID '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved:t(6392,3,"Reusing_resolution_of_type_reference_directive_0_from_1_of_old_program_it_was_not_resolved_6392","Reusing resolution of type reference directive '{0}' from '{1}' of old program, it was not resolved."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:t(6393,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6393","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:t(6394,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_6394","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:t(6395,3,"Reusing_resolution_of_module_0_from_1_found_in_cache_from_location_2_it_was_not_resolved_6395","Reusing resolution of module '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3:t(6396,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6396","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_successfully_resolved_to_3_with_Package_ID_4:t(6397,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_succes_6397","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was successfully resolved to '{3}' with Package ID '{4}'."),Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_resolved:t(6398,3,"Reusing_resolution_of_type_reference_directive_0_from_1_found_in_cache_from_location_2_it_was_not_re_6398","Reusing resolution of type reference directive '{0}' from '{1}' found in cache from location '{2}', it was not resolved."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitted:t(6399,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_some_of_the_changes_were_not_emitte_6399","Project '{0}' is out of date because buildinfo file '{1}' indicates that some of the changes were not emitted"),Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_files:t(6400,3,"Project_0_is_up_to_date_but_needs_to_update_timestamps_of_output_files_that_are_older_than_input_fil_6400","Project '{0}' is up to date but needs to update timestamps of output files that are older than input files"),Project_0_is_out_of_date_because_there_was_error_reading_file_1:t(6401,3,"Project_0_is_out_of_date_because_there_was_error_reading_file_1_6401","Project '{0}' is out of date because there was error reading file '{1}'"),Resolving_in_0_mode_with_conditions_1:t(6402,3,"Resolving_in_0_mode_with_conditions_1_6402","Resolving in {0} mode with conditions {1}."),Matched_0_condition_1:t(6403,3,"Matched_0_condition_1_6403","Matched '{0}' condition '{1}'."),Using_0_subpath_1_with_target_2:t(6404,3,"Using_0_subpath_1_with_target_2_6404","Using '{0}' subpath '{1}' with target '{2}'."),Saw_non_matching_condition_0:t(6405,3,"Saw_non_matching_condition_0_6405","Saw non-matching condition '{0}'."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions:t(6406,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_there_is_change_in_compilerOptions_6406","Project '{0}' is out of date because buildinfo file '{1}' indicates there is change in compilerOptions"),Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noEmit_or_emitDeclarationOnly_to_be_set:t(6407,3,"Allow_imports_to_include_TypeScript_file_extensions_Requires_moduleResolution_bundler_and_either_noE_6407","Allow imports to include TypeScript file extensions. Requires '--moduleResolution bundler' and either '--noEmit' or '--emitDeclarationOnly' to be set."),Use_the_package_json_exports_field_when_resolving_package_imports:t(6408,3,"Use_the_package_json_exports_field_when_resolving_package_imports_6408","Use the package.json 'exports' field when resolving package imports."),Use_the_package_json_imports_field_when_resolving_imports:t(6409,3,"Use_the_package_json_imports_field_when_resolving_imports_6409","Use the package.json 'imports' field when resolving imports."),Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports:t(6410,3,"Conditions_to_set_in_addition_to_the_resolver_specific_defaults_when_resolving_imports_6410","Conditions to set in addition to the resolver-specific defaults when resolving imports."),true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false:t(6411,3,"true_when_moduleResolution_is_node16_nodenext_or_bundler_otherwise_false_6411","`true` when 'moduleResolution' is 'node16', 'nodenext', or 'bundler'; otherwise `false`."),Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_but_not_any_more:t(6412,3,"Project_0_is_out_of_date_because_buildinfo_file_1_indicates_that_file_2_was_root_file_of_compilation_6412","Project '{0}' is out of date because buildinfo file '{1}' indicates that file '{2}' was root file of compilation but not any more."),Entering_conditional_exports:t(6413,3,"Entering_conditional_exports_6413","Entering conditional exports."),Resolved_under_condition_0:t(6414,3,"Resolved_under_condition_0_6414","Resolved under condition '{0}'."),Failed_to_resolve_under_condition_0:t(6415,3,"Failed_to_resolve_under_condition_0_6415","Failed to resolve under condition '{0}'."),Exiting_conditional_exports:t(6416,3,"Exiting_conditional_exports_6416","Exiting conditional exports."),Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0:t(6417,3,"Searching_all_ancestor_node_modules_directories_for_preferred_extensions_Colon_0_6417","Searching all ancestor node_modules directories for preferred extensions: {0}."),Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0:t(6418,3,"Searching_all_ancestor_node_modules_directories_for_fallback_extensions_Colon_0_6418","Searching all ancestor node_modules directories for fallback extensions: {0}."),The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1:t(6500,3,"The_expected_type_comes_from_property_0_which_is_declared_here_on_type_1_6500","The expected type comes from property '{0}' which is declared here on type '{1}'"),The_expected_type_comes_from_this_index_signature:t(6501,3,"The_expected_type_comes_from_this_index_signature_6501","The expected type comes from this index signature."),The_expected_type_comes_from_the_return_type_of_this_signature:t(6502,3,"The_expected_type_comes_from_the_return_type_of_this_signature_6502","The expected type comes from the return type of this signature."),Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing:t(6503,3,"Print_names_of_files_that_are_part_of_the_compilation_and_then_stop_processing_6503","Print names of files that are part of the compilation and then stop processing."),File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option:t(6504,1,"File_0_is_a_JavaScript_file_Did_you_mean_to_enable_the_allowJs_option_6504","File '{0}' is a JavaScript file. Did you mean to enable the 'allowJs' option?"),Print_names_of_files_and_the_reason_they_are_part_of_the_compilation:t(6505,3,"Print_names_of_files_and_the_reason_they_are_part_of_the_compilation_6505","Print names of files and the reason they are part of the compilation."),Consider_adding_a_declare_modifier_to_this_class:t(6506,3,"Consider_adding_a_declare_modifier_to_this_class_6506","Consider adding a 'declare' modifier to this class."),Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these_files:t(6600,3,"Allow_JavaScript_files_to_be_a_part_of_your_program_Use_the_checkJS_option_to_get_errors_from_these__6600","Allow JavaScript files to be a part of your program. Use the 'checkJS' option to get errors from these files."),Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export:t(6601,3,"Allow_import_x_from_y_when_a_module_doesn_t_have_a_default_export_6601","Allow 'import x from y' when a module doesn't have a default export."),Allow_accessing_UMD_globals_from_modules:t(6602,3,"Allow_accessing_UMD_globals_from_modules_6602","Allow accessing UMD globals from modules."),Disable_error_reporting_for_unreachable_code:t(6603,3,"Disable_error_reporting_for_unreachable_code_6603","Disable error reporting for unreachable code."),Disable_error_reporting_for_unused_labels:t(6604,3,"Disable_error_reporting_for_unused_labels_6604","Disable error reporting for unused labels."),Ensure_use_strict_is_always_emitted:t(6605,3,"Ensure_use_strict_is_always_emitted_6605","Ensure 'use strict' is always emitted."),Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_will_only_affect_files_directly_depending_on_it:t(6606,3,"Have_recompiles_in_projects_that_use_incremental_and_watch_mode_assume_that_changes_within_a_file_wi_6606","Have recompiles in projects that use 'incremental' and 'watch' mode assume that changes within a file will only affect files directly depending on it."),Specify_the_base_directory_to_resolve_non_relative_module_names:t(6607,3,"Specify_the_base_directory_to_resolve_non_relative_module_names_6607","Specify the base directory to resolve non-relative module names."),No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files:t(6608,3,"No_longer_supported_In_early_versions_manually_set_the_text_encoding_for_reading_files_6608","No longer supported. In early versions, manually set the text encoding for reading files."),Enable_error_reporting_in_type_checked_JavaScript_files:t(6609,3,"Enable_error_reporting_in_type_checked_JavaScript_files_6609","Enable error reporting in type-checked JavaScript files."),Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references:t(6611,3,"Enable_constraints_that_allow_a_TypeScript_project_to_be_used_with_project_references_6611","Enable constraints that allow a TypeScript project to be used with project references."),Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project:t(6612,3,"Generate_d_ts_files_from_TypeScript_and_JavaScript_files_in_your_project_6612","Generate .d.ts files from TypeScript and JavaScript files in your project."),Specify_the_output_directory_for_generated_declaration_files:t(6613,3,"Specify_the_output_directory_for_generated_declaration_files_6613","Specify the output directory for generated declaration files."),Create_sourcemaps_for_d_ts_files:t(6614,3,"Create_sourcemaps_for_d_ts_files_6614","Create sourcemaps for d.ts files."),Output_compiler_performance_information_after_building:t(6615,3,"Output_compiler_performance_information_after_building_6615","Output compiler performance information after building."),Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project:t(6616,3,"Disables_inference_for_type_acquisition_by_looking_at_filenames_in_a_project_6616","Disables inference for type acquisition by looking at filenames in a project."),Reduce_the_number_of_projects_loaded_automatically_by_TypeScript:t(6617,3,"Reduce_the_number_of_projects_loaded_automatically_by_TypeScript_6617","Reduce the number of projects loaded automatically by TypeScript."),Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server:t(6618,3,"Remove_the_20mb_cap_on_total_source_code_size_for_JavaScript_files_in_the_TypeScript_language_server_6618","Remove the 20mb cap on total source code size for JavaScript files in the TypeScript language server."),Opt_a_project_out_of_multi_project_reference_checking_when_editing:t(6619,3,"Opt_a_project_out_of_multi_project_reference_checking_when_editing_6619","Opt a project out of multi-project reference checking when editing."),Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects:t(6620,3,"Disable_preferring_source_files_instead_of_declaration_files_when_referencing_composite_projects_6620","Disable preferring source files instead of declaration files when referencing composite projects."),Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration:t(6621,3,"Emit_more_compliant_but_verbose_and_less_performant_JavaScript_for_iteration_6621","Emit more compliant, but verbose and less performant JavaScript for iteration."),Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files:t(6622,3,"Emit_a_UTF_8_Byte_Order_Mark_BOM_in_the_beginning_of_output_files_6622","Emit a UTF-8 Byte Order Mark (BOM) in the beginning of output files."),Only_output_d_ts_files_and_not_JavaScript_files:t(6623,3,"Only_output_d_ts_files_and_not_JavaScript_files_6623","Only output d.ts files and not JavaScript files."),Emit_design_type_metadata_for_decorated_declarations_in_source_files:t(6624,3,"Emit_design_type_metadata_for_decorated_declarations_in_source_files_6624","Emit design-type metadata for decorated declarations in source files."),Disable_the_type_acquisition_for_JavaScript_projects:t(6625,3,"Disable_the_type_acquisition_for_JavaScript_projects_6625","Disable the type acquisition for JavaScript projects"),Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheticDefaultImports_for_type_compatibility:t(6626,3,"Emit_additional_JavaScript_to_ease_support_for_importing_CommonJS_modules_This_enables_allowSyntheti_6626","Emit additional JavaScript to ease support for importing CommonJS modules. This enables 'allowSyntheticDefaultImports' for type compatibility."),Filters_results_from_the_include_option:t(6627,3,"Filters_results_from_the_include_option_6627","Filters results from the `include` option."),Remove_a_list_of_directories_from_the_watch_process:t(6628,3,"Remove_a_list_of_directories_from_the_watch_process_6628","Remove a list of directories from the watch process."),Remove_a_list_of_files_from_the_watch_mode_s_processing:t(6629,3,"Remove_a_list_of_files_from_the_watch_mode_s_processing_6629","Remove a list of files from the watch mode's processing."),Enable_experimental_support_for_legacy_experimental_decorators:t(6630,3,"Enable_experimental_support_for_legacy_experimental_decorators_6630","Enable experimental support for legacy experimental decorators."),Print_files_read_during_the_compilation_including_why_it_was_included:t(6631,3,"Print_files_read_during_the_compilation_including_why_it_was_included_6631","Print files read during the compilation including why it was included."),Output_more_detailed_compiler_performance_information_after_building:t(6632,3,"Output_more_detailed_compiler_performance_information_after_building_6632","Output more detailed compiler performance information after building."),Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_are_inherited:t(6633,3,"Specify_one_or_more_path_or_node_module_references_to_base_configuration_files_from_which_settings_a_6633","Specify one or more path or node module references to base configuration files from which settings are inherited."),Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers:t(6634,3,"Specify_what_approach_the_watcher_should_use_if_the_system_runs_out_of_native_file_watchers_6634","Specify what approach the watcher should use if the system runs out of native file watchers."),Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include:t(6635,3,"Include_a_list_of_files_This_does_not_support_glob_patterns_as_opposed_to_include_6635","Include a list of files. This does not support glob patterns, as opposed to `include`."),Build_all_projects_including_those_that_appear_to_be_up_to_date:t(6636,3,"Build_all_projects_including_those_that_appear_to_be_up_to_date_6636","Build all projects, including those that appear to be up to date."),Ensure_that_casing_is_correct_in_imports:t(6637,3,"Ensure_that_casing_is_correct_in_imports_6637","Ensure that casing is correct in imports."),Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging:t(6638,3,"Emit_a_v8_CPU_profile_of_the_compiler_run_for_debugging_6638","Emit a v8 CPU profile of the compiler run for debugging."),Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file:t(6639,3,"Allow_importing_helper_functions_from_tslib_once_per_project_instead_of_including_them_per_file_6639","Allow importing helper functions from tslib once per project, instead of including them per-file."),Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation:t(6641,3,"Specify_a_list_of_glob_patterns_that_match_files_to_be_included_in_compilation_6641","Specify a list of glob patterns that match files to be included in compilation."),Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects:t(6642,3,"Save_tsbuildinfo_files_to_allow_for_incremental_compilation_of_projects_6642","Save .tsbuildinfo files to allow for incremental compilation of projects."),Include_sourcemap_files_inside_the_emitted_JavaScript:t(6643,3,"Include_sourcemap_files_inside_the_emitted_JavaScript_6643","Include sourcemap files inside the emitted JavaScript."),Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript:t(6644,3,"Include_source_code_in_the_sourcemaps_inside_the_emitted_JavaScript_6644","Include source code in the sourcemaps inside the emitted JavaScript."),Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports:t(6645,3,"Ensure_that_each_file_can_be_safely_transpiled_without_relying_on_other_imports_6645","Ensure that each file can be safely transpiled without relying on other imports."),Specify_what_JSX_code_is_generated:t(6646,3,"Specify_what_JSX_code_is_generated_6646","Specify what JSX code is generated."),Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h:t(6647,3,"Specify_the_JSX_factory_function_used_when_targeting_React_JSX_emit_e_g_React_createElement_or_h_6647","Specify the JSX factory function used when targeting React JSX emit, e.g. 'React.createElement' or 'h'."),Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragment_or_Fragment:t(6648,3,"Specify_the_JSX_Fragment_reference_used_for_fragments_when_targeting_React_JSX_emit_e_g_React_Fragme_6648","Specify the JSX Fragment reference used for fragments when targeting React JSX emit e.g. 'React.Fragment' or 'Fragment'."),Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Asterisk:t(6649,3,"Specify_module_specifier_used_to_import_the_JSX_factory_functions_when_using_jsx_Colon_react_jsx_Ast_6649","Specify module specifier used to import the JSX factory functions when using 'jsx: react-jsx*'."),Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option:t(6650,3,"Make_keyof_only_return_strings_instead_of_string_numbers_or_symbols_Legacy_option_6650","Make keyof only return strings instead of string, numbers or symbols. Legacy option."),Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment:t(6651,3,"Specify_a_set_of_bundled_library_declaration_files_that_describe_the_target_runtime_environment_6651","Specify a set of bundled library declaration files that describe the target runtime environment."),Print_the_names_of_emitted_files_after_a_compilation:t(6652,3,"Print_the_names_of_emitted_files_after_a_compilation_6652","Print the names of emitted files after a compilation."),Print_all_of_the_files_read_during_the_compilation:t(6653,3,"Print_all_of_the_files_read_during_the_compilation_6653","Print all of the files read during the compilation."),Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit:t(6654,3,"Set_the_language_of_the_messaging_from_TypeScript_This_does_not_affect_emit_6654","Set the language of the messaging from TypeScript. This does not affect emit."),Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations:t(6655,3,"Specify_the_location_where_debugger_should_locate_map_files_instead_of_generated_locations_6655","Specify the location where debugger should locate map files instead of generated locations."),Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicable_with_allowJs:t(6656,3,"Specify_the_maximum_folder_depth_used_for_checking_JavaScript_files_from_node_modules_Only_applicabl_6656","Specify the maximum folder depth used for checking JavaScript files from 'node_modules'. Only applicable with 'allowJs'."),Specify_what_module_code_is_generated:t(6657,3,"Specify_what_module_code_is_generated_6657","Specify what module code is generated."),Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier:t(6658,3,"Specify_how_TypeScript_looks_up_a_file_from_a_given_module_specifier_6658","Specify how TypeScript looks up a file from a given module specifier."),Set_the_newline_character_for_emitting_files:t(6659,3,"Set_the_newline_character_for_emitting_files_6659","Set the newline character for emitting files."),Disable_emitting_files_from_a_compilation:t(6660,3,"Disable_emitting_files_from_a_compilation_6660","Disable emitting files from a compilation."),Disable_generating_custom_helper_functions_like_extends_in_compiled_output:t(6661,3,"Disable_generating_custom_helper_functions_like_extends_in_compiled_output_6661","Disable generating custom helper functions like '__extends' in compiled output."),Disable_emitting_files_if_any_type_checking_errors_are_reported:t(6662,3,"Disable_emitting_files_if_any_type_checking_errors_are_reported_6662","Disable emitting files if any type checking errors are reported."),Disable_truncating_types_in_error_messages:t(6663,3,"Disable_truncating_types_in_error_messages_6663","Disable truncating types in error messages."),Enable_error_reporting_for_fallthrough_cases_in_switch_statements:t(6664,3,"Enable_error_reporting_for_fallthrough_cases_in_switch_statements_6664","Enable error reporting for fallthrough cases in switch statements."),Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type:t(6665,3,"Enable_error_reporting_for_expressions_and_declarations_with_an_implied_any_type_6665","Enable error reporting for expressions and declarations with an implied 'any' type."),Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier:t(6666,3,"Ensure_overriding_members_in_derived_classes_are_marked_with_an_override_modifier_6666","Ensure overriding members in derived classes are marked with an override modifier."),Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function:t(6667,3,"Enable_error_reporting_for_codepaths_that_do_not_explicitly_return_in_a_function_6667","Enable error reporting for codepaths that do not explicitly return in a function."),Enable_error_reporting_when_this_is_given_the_type_any:t(6668,3,"Enable_error_reporting_when_this_is_given_the_type_any_6668","Enable error reporting when 'this' is given the type 'any'."),Disable_adding_use_strict_directives_in_emitted_JavaScript_files:t(6669,3,"Disable_adding_use_strict_directives_in_emitted_JavaScript_files_6669","Disable adding 'use strict' directives in emitted JavaScript files."),Disable_including_any_library_files_including_the_default_lib_d_ts:t(6670,3,"Disable_including_any_library_files_including_the_default_lib_d_ts_6670","Disable including any library files, including the default lib.d.ts."),Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type:t(6671,3,"Enforces_using_indexed_accessors_for_keys_declared_using_an_indexed_type_6671","Enforces using indexed accessors for keys declared using an indexed type."),Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add_to_a_project:t(6672,3,"Disallow_import_s_require_s_or_reference_s_from_expanding_the_number_of_files_TypeScript_should_add__6672","Disallow 'import's, 'require's or ''s from expanding the number of files TypeScript should add to a project."),Disable_strict_checking_of_generic_signatures_in_function_types:t(6673,3,"Disable_strict_checking_of_generic_signatures_in_function_types_6673","Disable strict checking of generic signatures in function types."),Add_undefined_to_a_type_when_accessed_using_an_index:t(6674,3,"Add_undefined_to_a_type_when_accessed_using_an_index_6674","Add 'undefined' to a type when accessed using an index."),Enable_error_reporting_when_local_variables_aren_t_read:t(6675,3,"Enable_error_reporting_when_local_variables_aren_t_read_6675","Enable error reporting when local variables aren't read."),Raise_an_error_when_a_function_parameter_isn_t_read:t(6676,3,"Raise_an_error_when_a_function_parameter_isn_t_read_6676","Raise an error when a function parameter isn't read."),Deprecated_setting_Use_outFile_instead:t(6677,3,"Deprecated_setting_Use_outFile_instead_6677","Deprecated setting. Use 'outFile' instead."),Specify_an_output_folder_for_all_emitted_files:t(6678,3,"Specify_an_output_folder_for_all_emitted_files_6678","Specify an output folder for all emitted files."),Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designates_a_file_that_bundles_all_d_ts_output:t(6679,3,"Specify_a_file_that_bundles_all_outputs_into_one_JavaScript_file_If_declaration_is_true_also_designa_6679","Specify a file that bundles all outputs into one JavaScript file. If 'declaration' is true, also designates a file that bundles all .d.ts output."),Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations:t(6680,3,"Specify_a_set_of_entries_that_re_map_imports_to_additional_lookup_locations_6680","Specify a set of entries that re-map imports to additional lookup locations."),Specify_a_list_of_language_service_plugins_to_include:t(6681,3,"Specify_a_list_of_language_service_plugins_to_include_6681","Specify a list of language service plugins to include."),Disable_erasing_const_enum_declarations_in_generated_code:t(6682,3,"Disable_erasing_const_enum_declarations_in_generated_code_6682","Disable erasing 'const enum' declarations in generated code."),Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node:t(6683,3,"Disable_resolving_symlinks_to_their_realpath_This_correlates_to_the_same_flag_in_node_6683","Disable resolving symlinks to their realpath. This correlates to the same flag in node."),Disable_wiping_the_console_in_watch_mode:t(6684,3,"Disable_wiping_the_console_in_watch_mode_6684","Disable wiping the console in watch mode."),Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read:t(6685,3,"Enable_color_and_formatting_in_TypeScript_s_output_to_make_compiler_errors_easier_to_read_6685","Enable color and formatting in TypeScript's output to make compiler errors easier to read."),Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit:t(6686,3,"Specify_the_object_invoked_for_createElement_This_only_applies_when_targeting_react_JSX_emit_6686","Specify the object invoked for 'createElement'. This only applies when targeting 'react' JSX emit."),Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references:t(6687,3,"Specify_an_array_of_objects_that_specify_paths_for_projects_Used_in_project_references_6687","Specify an array of objects that specify paths for projects. Used in project references."),Disable_emitting_comments:t(6688,3,"Disable_emitting_comments_6688","Disable emitting comments."),Enable_importing_json_files:t(6689,3,"Enable_importing_json_files_6689","Enable importing .json files."),Specify_the_root_folder_within_your_source_files:t(6690,3,"Specify_the_root_folder_within_your_source_files_6690","Specify the root folder within your source files."),Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules:t(6691,3,"Allow_multiple_folders_to_be_treated_as_one_when_resolving_modules_6691","Allow multiple folders to be treated as one when resolving modules."),Skip_type_checking_d_ts_files_that_are_included_with_TypeScript:t(6692,3,"Skip_type_checking_d_ts_files_that_are_included_with_TypeScript_6692","Skip type checking .d.ts files that are included with TypeScript."),Skip_type_checking_all_d_ts_files:t(6693,3,"Skip_type_checking_all_d_ts_files_6693","Skip type checking all .d.ts files."),Create_source_map_files_for_emitted_JavaScript_files:t(6694,3,"Create_source_map_files_for_emitted_JavaScript_files_6694","Create source map files for emitted JavaScript files."),Specify_the_root_path_for_debuggers_to_find_the_reference_source_code:t(6695,3,"Specify_the_root_path_for_debuggers_to_find_the_reference_source_code_6695","Specify the root path for debuggers to find the reference source code."),Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function:t(6697,3,"Check_that_the_arguments_for_bind_call_and_apply_methods_match_the_original_function_6697","Check that the arguments for 'bind', 'call', and 'apply' methods match the original function."),When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible:t(6698,3,"When_assigning_functions_check_to_ensure_parameters_and_the_return_values_are_subtype_compatible_6698","When assigning functions, check to ensure parameters and the return values are subtype-compatible."),When_type_checking_take_into_account_null_and_undefined:t(6699,3,"When_type_checking_take_into_account_null_and_undefined_6699","When type checking, take into account 'null' and 'undefined'."),Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor:t(6700,3,"Check_for_class_properties_that_are_declared_but_not_set_in_the_constructor_6700","Check for class properties that are declared but not set in the constructor."),Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments:t(6701,3,"Disable_emitting_declarations_that_have_internal_in_their_JSDoc_comments_6701","Disable emitting declarations that have '@internal' in their JSDoc comments."),Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals:t(6702,3,"Disable_reporting_of_excess_property_errors_during_the_creation_of_object_literals_6702","Disable reporting of excess property errors during the creation of object literals."),Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures:t(6703,3,"Suppress_noImplicitAny_errors_when_indexing_objects_that_lack_index_signatures_6703","Suppress 'noImplicitAny' errors when indexing objects that lack index signatures."),Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_support_recursive_watching_natively:t(6704,3,"Synchronously_call_callbacks_and_update_the_state_of_directory_watchers_on_platforms_that_don_t_supp_6704","Synchronously call callbacks and update the state of directory watchers on platforms that don`t support recursive watching natively."),Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declarations:t(6705,3,"Set_the_JavaScript_language_version_for_emitted_JavaScript_and_include_compatible_library_declaratio_6705","Set the JavaScript language version for emitted JavaScript and include compatible library declarations."),Log_paths_used_during_the_moduleResolution_process:t(6706,3,"Log_paths_used_during_the_moduleResolution_process_6706","Log paths used during the 'moduleResolution' process."),Specify_the_path_to_tsbuildinfo_incremental_compilation_file:t(6707,3,"Specify_the_path_to_tsbuildinfo_incremental_compilation_file_6707","Specify the path to .tsbuildinfo incremental compilation file."),Specify_options_for_automatic_acquisition_of_declaration_files:t(6709,3,"Specify_options_for_automatic_acquisition_of_declaration_files_6709","Specify options for automatic acquisition of declaration files."),Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types:t(6710,3,"Specify_multiple_folders_that_act_like_Slashnode_modules_Slash_types_6710","Specify multiple folders that act like './node_modules/@types'."),Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file:t(6711,3,"Specify_type_package_names_to_be_included_without_being_referenced_in_a_source_file_6711","Specify type package names to be included without being referenced in a source file."),Emit_ECMAScript_standard_compliant_class_fields:t(6712,3,"Emit_ECMAScript_standard_compliant_class_fields_6712","Emit ECMAScript-standard-compliant class fields."),Enable_verbose_logging:t(6713,3,"Enable_verbose_logging_6713","Enable verbose logging."),Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality:t(6714,3,"Specify_how_directories_are_watched_on_systems_that_lack_recursive_file_watching_functionality_6714","Specify how directories are watched on systems that lack recursive file-watching functionality."),Specify_how_the_TypeScript_watch_mode_works:t(6715,3,"Specify_how_the_TypeScript_watch_mode_works_6715","Specify how the TypeScript watch mode works."),Require_undeclared_properties_from_index_signatures_to_use_element_accesses:t(6717,3,"Require_undeclared_properties_from_index_signatures_to_use_element_accesses_6717","Require undeclared properties from index signatures to use element accesses."),Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types:t(6718,3,"Specify_emit_Slashchecking_behavior_for_imports_that_are_only_used_for_types_6718","Specify emit/checking behavior for imports that are only used for types."),Default_catch_clause_variables_as_unknown_instead_of_any:t(6803,3,"Default_catch_clause_variables_as_unknown_instead_of_any_6803","Default catch clause variables as 'unknown' instead of 'any'."),Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_in_the_output_file_s_format_based_on_the_module_setting:t(6804,3,"Do_not_transform_or_elide_any_imports_or_exports_not_marked_as_type_only_ensuring_they_are_written_i_6804","Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting."),one_of_Colon:t(6900,3,"one_of_Colon_6900","one of:"),one_or_more_Colon:t(6901,3,"one_or_more_Colon_6901","one or more:"),type_Colon:t(6902,3,"type_Colon_6902","type:"),default_Colon:t(6903,3,"default_Colon_6903","default:"),module_system_or_esModuleInterop:t(6904,3,"module_system_or_esModuleInterop_6904",'module === "system" or esModuleInterop'),false_unless_strict_is_set:t(6905,3,"false_unless_strict_is_set_6905","`false`, unless `strict` is set"),false_unless_composite_is_set:t(6906,3,"false_unless_composite_is_set_6906","`false`, unless `composite` is set"),node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified:t(6907,3,"node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified_6907",'`["node_modules", "bower_components", "jspm_packages"]`, plus the value of `outDir` if one is specified.'),if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk:t(6908,3,"if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk_6908",'`[]` if `files` is specified, otherwise `["**/*"]`'),true_if_composite_false_otherwise:t(6909,3,"true_if_composite_false_otherwise_6909","`true` if `composite`, `false` otherwise"),module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node:t(69010,3,"module_AMD_or_UMD_or_System_or_ES6_then_Classic_Otherwise_Node_69010","module === `AMD` or `UMD` or `System` or `ES6`, then `Classic`, Otherwise `Node`"),Computed_from_the_list_of_input_files:t(6911,3,"Computed_from_the_list_of_input_files_6911","Computed from the list of input files"),Platform_specific:t(6912,3,"Platform_specific_6912","Platform specific"),You_can_learn_about_all_of_the_compiler_options_at_0:t(6913,3,"You_can_learn_about_all_of_the_compiler_options_at_0_6913","You can learn about all of the compiler options at {0}"),Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_config_watch_mode_with_Colon:t(6914,3,"Including_watch_w_will_start_watching_the_current_project_for_the_file_changes_Once_set_you_can_conf_6914","Including --watch, -w will start watching the current project for the file changes. Once set, you can config watch mode with:"),Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_trigger_building_composite_projects_which_you_can_learn_more_about_at_0:t(6915,3,"Using_build_b_will_make_tsc_behave_more_like_a_build_orchestrator_than_a_compiler_This_is_used_to_tr_6915","Using --build, -b will make tsc behave more like a build orchestrator than a compiler. This is used to trigger building composite projects which you can learn more about at {0}"),COMMON_COMMANDS:t(6916,3,"COMMON_COMMANDS_6916","COMMON COMMANDS"),ALL_COMPILER_OPTIONS:t(6917,3,"ALL_COMPILER_OPTIONS_6917","ALL COMPILER OPTIONS"),WATCH_OPTIONS:t(6918,3,"WATCH_OPTIONS_6918","WATCH OPTIONS"),BUILD_OPTIONS:t(6919,3,"BUILD_OPTIONS_6919","BUILD OPTIONS"),COMMON_COMPILER_OPTIONS:t(6920,3,"COMMON_COMPILER_OPTIONS_6920","COMMON COMPILER OPTIONS"),COMMAND_LINE_FLAGS:t(6921,3,"COMMAND_LINE_FLAGS_6921","COMMAND LINE FLAGS"),tsc_Colon_The_TypeScript_Compiler:t(6922,3,"tsc_Colon_The_TypeScript_Compiler_6922","tsc: The TypeScript Compiler"),Compiles_the_current_project_tsconfig_json_in_the_working_directory:t(6923,3,"Compiles_the_current_project_tsconfig_json_in_the_working_directory_6923","Compiles the current project (tsconfig.json in the working directory.)"),Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options:t(6924,3,"Ignoring_tsconfig_json_compiles_the_specified_files_with_default_compiler_options_6924","Ignoring tsconfig.json, compiles the specified files with default compiler options."),Build_a_composite_project_in_the_working_directory:t(6925,3,"Build_a_composite_project_in_the_working_directory_6925","Build a composite project in the working directory."),Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory:t(6926,3,"Creates_a_tsconfig_json_with_the_recommended_settings_in_the_working_directory_6926","Creates a tsconfig.json with the recommended settings in the working directory."),Compiles_the_TypeScript_project_located_at_the_specified_path:t(6927,3,"Compiles_the_TypeScript_project_located_at_the_specified_path_6927","Compiles the TypeScript project located at the specified path."),An_expanded_version_of_this_information_showing_all_possible_compiler_options:t(6928,3,"An_expanded_version_of_this_information_showing_all_possible_compiler_options_6928","An expanded version of this information, showing all possible compiler options"),Compiles_the_current_project_with_additional_settings:t(6929,3,"Compiles_the_current_project_with_additional_settings_6929","Compiles the current project, with additional settings."),true_for_ES2022_and_above_including_ESNext:t(6930,3,"true_for_ES2022_and_above_including_ESNext_6930","`true` for ES2022 and above, including ESNext."),List_of_file_name_suffixes_to_search_when_resolving_a_module:t(6931,1,"List_of_file_name_suffixes_to_search_when_resolving_a_module_6931","List of file name suffixes to search when resolving a module."),Variable_0_implicitly_has_an_1_type:t(7005,1,"Variable_0_implicitly_has_an_1_type_7005","Variable '{0}' implicitly has an '{1}' type."),Parameter_0_implicitly_has_an_1_type:t(7006,1,"Parameter_0_implicitly_has_an_1_type_7006","Parameter '{0}' implicitly has an '{1}' type."),Member_0_implicitly_has_an_1_type:t(7008,1,"Member_0_implicitly_has_an_1_type_7008","Member '{0}' implicitly has an '{1}' type."),new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type:t(7009,1,"new_expression_whose_target_lacks_a_construct_signature_implicitly_has_an_any_type_7009","'new' expression, whose target lacks a construct signature, implicitly has an 'any' type."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type:t(7010,1,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_return_type_7010","'{0}', which lacks return-type annotation, implicitly has an '{1}' return type."),Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:t(7011,1,"Function_expression_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7011","Function expression, which lacks return-type annotation, implicitly has an '{0}' return type."),This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation:t(7012,1,"This_overload_implicitly_returns_the_type_0_because_it_lacks_a_return_type_annotation_7012","This overload implicitly returns the type '{0}' because it lacks a return type annotation."),Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:t(7013,1,"Construct_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7013","Construct signature, which lacks return-type annotation, implicitly has an 'any' return type."),Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type:t(7014,1,"Function_type_which_lacks_return_type_annotation_implicitly_has_an_0_return_type_7014","Function type, which lacks return-type annotation, implicitly has an '{0}' return type."),Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number:t(7015,1,"Element_implicitly_has_an_any_type_because_index_expression_is_not_of_type_number_7015","Element implicitly has an 'any' type because index expression is not of type 'number'."),Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type:t(7016,1,"Could_not_find_a_declaration_file_for_module_0_1_implicitly_has_an_any_type_7016","Could not find a declaration file for module '{0}'. '{1}' implicitly has an 'any' type."),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature:t(7017,1,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_7017","Element implicitly has an 'any' type because type '{0}' has no index signature."),Object_literal_s_property_0_implicitly_has_an_1_type:t(7018,1,"Object_literal_s_property_0_implicitly_has_an_1_type_7018","Object literal's property '{0}' implicitly has an '{1}' type."),Rest_parameter_0_implicitly_has_an_any_type:t(7019,1,"Rest_parameter_0_implicitly_has_an_any_type_7019","Rest parameter '{0}' implicitly has an 'any[]' type."),Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type:t(7020,1,"Call_signature_which_lacks_return_type_annotation_implicitly_has_an_any_return_type_7020","Call signature, which lacks return-type annotation, implicitly has an 'any' return type."),_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or_indirectly_in_its_own_initializer:t(7022,1,"_0_implicitly_has_type_any_because_it_does_not_have_a_type_annotation_and_is_referenced_directly_or__7022","'{0}' implicitly has type 'any' because it does not have a type annotation and is referenced directly or indirectly in its own initializer."),_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:t(7023,1,"_0_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_reference_7023","'{0}' implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_referenced_directly_or_indirectly_in_one_of_its_return_expressions:t(7024,1,"Function_implicitly_has_return_type_any_because_it_does_not_have_a_return_type_annotation_and_is_ref_7024","Function implicitly has return type 'any' because it does not have a return type annotation and is referenced directly or indirectly in one of its return expressions."),Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_return_type_annotation:t(7025,1,"Generator_implicitly_has_yield_type_0_because_it_does_not_yield_any_values_Consider_supplying_a_retu_7025","Generator implicitly has yield type '{0}' because it does not yield any values. Consider supplying a return type annotation."),JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists:t(7026,1,"JSX_element_implicitly_has_type_any_because_no_interface_JSX_0_exists_7026","JSX element implicitly has type 'any' because no interface 'JSX.{0}' exists."),Unreachable_code_detected:t(7027,1,"Unreachable_code_detected_7027","Unreachable code detected.",!0),Unused_label:t(7028,1,"Unused_label_7028","Unused label.",!0),Fallthrough_case_in_switch:t(7029,1,"Fallthrough_case_in_switch_7029","Fallthrough case in switch."),Not_all_code_paths_return_a_value:t(7030,1,"Not_all_code_paths_return_a_value_7030","Not all code paths return a value."),Binding_element_0_implicitly_has_an_1_type:t(7031,1,"Binding_element_0_implicitly_has_an_1_type_7031","Binding element '{0}' implicitly has an '{1}' type."),Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation:t(7032,1,"Property_0_implicitly_has_type_any_because_its_set_accessor_lacks_a_parameter_type_annotation_7032","Property '{0}' implicitly has type 'any', because its set accessor lacks a parameter type annotation."),Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation:t(7033,1,"Property_0_implicitly_has_type_any_because_its_get_accessor_lacks_a_return_type_annotation_7033","Property '{0}' implicitly has type 'any', because its get accessor lacks a return type annotation."),Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined:t(7034,1,"Variable_0_implicitly_has_type_1_in_some_locations_where_its_type_cannot_be_determined_7034","Variable '{0}' implicitly has type '{1}' in some locations where its type cannot be determined."),Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare_module_0:t(7035,1,"Try_npm_i_save_dev_types_Slash_1_if_it_exists_or_add_a_new_declaration_d_ts_file_containing_declare__7035","Try `npm i --save-dev @types/{1}` if it exists or add a new declaration (.d.ts) file containing `declare module '{0}';`"),Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0:t(7036,1,"Dynamic_import_s_specifier_must_be_of_type_string_but_here_has_type_0_7036","Dynamic import's specifier must be of type 'string', but here has type '{0}'."),Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for_all_imports_Implies_allowSyntheticDefaultImports:t(7037,3,"Enables_emit_interoperability_between_CommonJS_and_ES_Modules_via_creation_of_namespace_objects_for__7037","Enables emit interoperability between CommonJS and ES Modules via creation of namespace objects for all imports. Implies 'allowSyntheticDefaultImports'."),Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead:t(7038,3,"Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cau_7038","Type originates at this import. A namespace-style import cannot be called or constructed, and will cause a failure at runtime. Consider using a default import or import require here instead."),Mapped_object_type_implicitly_has_an_any_template_type:t(7039,1,"Mapped_object_type_implicitly_has_an_any_template_type_7039","Mapped object type implicitly has an 'any' template type."),If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_Slash_Slashgithub_com_SlashDefinitelyTyped_SlashDefinitelyTyped_Slashtree_Slashmaster_Slashtypes_Slash_1:t(7040,1,"If_the_0_package_actually_exposes_this_module_consider_sending_a_pull_request_to_amend_https_Colon_S_7040","If the '{0}' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/{1}'"),The_containing_arrow_function_captures_the_global_value_of_this:t(7041,1,"The_containing_arrow_function_captures_the_global_value_of_this_7041","The containing arrow function captures the global value of 'this'."),Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used:t(7042,1,"Module_0_was_resolved_to_1_but_resolveJsonModule_is_not_used_7042","Module '{0}' was resolved to '{1}', but '--resolveJsonModule' is not used."),Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:t(7043,2,"Variable_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7043","Variable '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:t(7044,2,"Parameter_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7044","Parameter '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage:t(7045,2,"Member_0_implicitly_has_an_1_type_but_a_better_type_may_be_inferred_from_usage_7045","Member '{0}' implicitly has an '{1}' type, but a better type may be inferred from usage."),Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage:t(7046,2,"Variable_0_implicitly_has_type_1_in_some_locations_but_a_better_type_may_be_inferred_from_usage_7046","Variable '{0}' implicitly has type '{1}' in some locations, but a better type may be inferred from usage."),Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage:t(7047,2,"Rest_parameter_0_implicitly_has_an_any_type_but_a_better_type_may_be_inferred_from_usage_7047","Rest parameter '{0}' implicitly has an 'any[]' type, but a better type may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage:t(7048,2,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_get_accessor_may_be_inferred_from_usage_7048","Property '{0}' implicitly has type 'any', but a better type for its get accessor may be inferred from usage."),Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage:t(7049,2,"Property_0_implicitly_has_type_any_but_a_better_type_for_its_set_accessor_may_be_inferred_from_usage_7049","Property '{0}' implicitly has type 'any', but a better type for its set accessor may be inferred from usage."),_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage:t(7050,2,"_0_implicitly_has_an_1_return_type_but_a_better_type_may_be_inferred_from_usage_7050","'{0}' implicitly has an '{1}' return type, but a better type may be inferred from usage."),Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1:t(7051,1,"Parameter_has_a_name_but_no_type_Did_you_mean_0_Colon_1_7051","Parameter has a name but no type. Did you mean '{0}: {1}'?"),Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1:t(7052,1,"Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature_Did_you_mean_to_call_1_7052","Element implicitly has an 'any' type because type '{0}' has no index signature. Did you mean to call '{1}'?"),Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1:t(7053,1,"Element_implicitly_has_an_any_type_because_expression_of_type_0_can_t_be_used_to_index_type_1_7053","Element implicitly has an 'any' type because expression of type '{0}' can't be used to index type '{1}'."),No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1:t(7054,1,"No_index_signature_with_a_parameter_of_type_0_was_found_on_type_1_7054","No index signature with a parameter of type '{0}' was found on type '{1}'."),_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type:t(7055,1,"_0_which_lacks_return_type_annotation_implicitly_has_an_1_yield_type_7055","'{0}', which lacks return-type annotation, implicitly has an '{1}' yield type."),The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed:t(7056,1,"The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_ty_7056","The inferred type of this node exceeds the maximum length the compiler will serialize. An explicit type annotation is needed."),yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_type_annotation:t(7057,1,"yield_expression_implicitly_results_in_an_any_type_because_its_containing_generator_lacks_a_return_t_7057","'yield' expression implicitly results in an 'any' type because its containing generator lacks a return-type annotation."),If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_declare_module_1:t(7058,1,"If_the_0_package_actually_exposes_this_module_try_adding_a_new_declaration_d_ts_file_containing_decl_7058","If the '{0}' package actually exposes this module, try adding a new declaration (.d.ts) file containing `declare module '{1}';`"),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead:t(7059,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Use_an_as_expression_instead_7059","This syntax is reserved in files with the .mts or .cts extension. Use an `as` expression instead."),This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_constraint:t(7060,1,"This_syntax_is_reserved_in_files_with_the_mts_or_cts_extension_Add_a_trailing_comma_or_explicit_cons_7060","This syntax is reserved in files with the .mts or .cts extension. Add a trailing comma or explicit constraint."),A_mapped_type_may_not_declare_properties_or_methods:t(7061,1,"A_mapped_type_may_not_declare_properties_or_methods_7061","A mapped type may not declare properties or methods."),You_cannot_rename_this_element:t(8e3,1,"You_cannot_rename_this_element_8000","You cannot rename this element."),You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library:t(8001,1,"You_cannot_rename_elements_that_are_defined_in_the_standard_TypeScript_library_8001","You cannot rename elements that are defined in the standard TypeScript library."),import_can_only_be_used_in_TypeScript_files:t(8002,1,"import_can_only_be_used_in_TypeScript_files_8002","'import ... =' can only be used in TypeScript files."),export_can_only_be_used_in_TypeScript_files:t(8003,1,"export_can_only_be_used_in_TypeScript_files_8003","'export =' can only be used in TypeScript files."),Type_parameter_declarations_can_only_be_used_in_TypeScript_files:t(8004,1,"Type_parameter_declarations_can_only_be_used_in_TypeScript_files_8004","Type parameter declarations can only be used in TypeScript files."),implements_clauses_can_only_be_used_in_TypeScript_files:t(8005,1,"implements_clauses_can_only_be_used_in_TypeScript_files_8005","'implements' clauses can only be used in TypeScript files."),_0_declarations_can_only_be_used_in_TypeScript_files:t(8006,1,"_0_declarations_can_only_be_used_in_TypeScript_files_8006","'{0}' declarations can only be used in TypeScript files."),Type_aliases_can_only_be_used_in_TypeScript_files:t(8008,1,"Type_aliases_can_only_be_used_in_TypeScript_files_8008","Type aliases can only be used in TypeScript files."),The_0_modifier_can_only_be_used_in_TypeScript_files:t(8009,1,"The_0_modifier_can_only_be_used_in_TypeScript_files_8009","The '{0}' modifier can only be used in TypeScript files."),Type_annotations_can_only_be_used_in_TypeScript_files:t(8010,1,"Type_annotations_can_only_be_used_in_TypeScript_files_8010","Type annotations can only be used in TypeScript files."),Type_arguments_can_only_be_used_in_TypeScript_files:t(8011,1,"Type_arguments_can_only_be_used_in_TypeScript_files_8011","Type arguments can only be used in TypeScript files."),Parameter_modifiers_can_only_be_used_in_TypeScript_files:t(8012,1,"Parameter_modifiers_can_only_be_used_in_TypeScript_files_8012","Parameter modifiers can only be used in TypeScript files."),Non_null_assertions_can_only_be_used_in_TypeScript_files:t(8013,1,"Non_null_assertions_can_only_be_used_in_TypeScript_files_8013","Non-null assertions can only be used in TypeScript files."),Type_assertion_expressions_can_only_be_used_in_TypeScript_files:t(8016,1,"Type_assertion_expressions_can_only_be_used_in_TypeScript_files_8016","Type assertion expressions can only be used in TypeScript files."),Signature_declarations_can_only_be_used_in_TypeScript_files:t(8017,1,"Signature_declarations_can_only_be_used_in_TypeScript_files_8017","Signature declarations can only be used in TypeScript files."),Report_errors_in_js_files:t(8019,3,"Report_errors_in_js_files_8019","Report errors in .js files."),JSDoc_types_can_only_be_used_inside_documentation_comments:t(8020,1,"JSDoc_types_can_only_be_used_inside_documentation_comments_8020","JSDoc types can only be used inside documentation comments."),JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags:t(8021,1,"JSDoc_typedef_tag_should_either_have_a_type_annotation_or_be_followed_by_property_or_member_tags_8021","JSDoc '@typedef' tag should either have a type annotation or be followed by '@property' or '@member' tags."),JSDoc_0_is_not_attached_to_a_class:t(8022,1,"JSDoc_0_is_not_attached_to_a_class_8022","JSDoc '@{0}' is not attached to a class."),JSDoc_0_1_does_not_match_the_extends_2_clause:t(8023,1,"JSDoc_0_1_does_not_match_the_extends_2_clause_8023","JSDoc '@{0} {1}' does not match the 'extends {2}' clause."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name:t(8024,1,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_8024","JSDoc '@param' tag has name '{0}', but there is no parameter with that name."),Class_declarations_cannot_have_more_than_one_augments_or_extends_tag:t(8025,1,"Class_declarations_cannot_have_more_than_one_augments_or_extends_tag_8025","Class declarations cannot have more than one '@augments' or '@extends' tag."),Expected_0_type_arguments_provide_these_with_an_extends_tag:t(8026,1,"Expected_0_type_arguments_provide_these_with_an_extends_tag_8026","Expected {0} type arguments; provide these with an '@extends' tag."),Expected_0_1_type_arguments_provide_these_with_an_extends_tag:t(8027,1,"Expected_0_1_type_arguments_provide_these_with_an_extends_tag_8027","Expected {0}-{1} type arguments; provide these with an '@extends' tag."),JSDoc_may_only_appear_in_the_last_parameter_of_a_signature:t(8028,1,"JSDoc_may_only_appear_in_the_last_parameter_of_a_signature_8028","JSDoc '...' may only appear in the last parameter of a signature."),JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_had_an_array_type:t(8029,1,"JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name_It_would_match_arguments_if_it_h_8029","JSDoc '@param' tag has name '{0}', but there is no parameter with that name. It would match 'arguments' if it had an array type."),The_type_of_a_function_declaration_must_match_the_function_s_signature:t(8030,1,"The_type_of_a_function_declaration_must_match_the_function_s_signature_8030","The type of a function declaration must match the function's signature."),You_cannot_rename_a_module_via_a_global_import:t(8031,1,"You_cannot_rename_a_module_via_a_global_import_8031","You cannot rename a module via a global import."),Qualified_name_0_is_not_allowed_without_a_leading_param_object_1:t(8032,1,"Qualified_name_0_is_not_allowed_without_a_leading_param_object_1_8032","Qualified name '{0}' is not allowed without a leading '@param {object} {1}'."),A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags:t(8033,1,"A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags_8033","A JSDoc '@typedef' comment may not contain multiple '@type' tags."),The_tag_was_first_specified_here:t(8034,1,"The_tag_was_first_specified_here_8034","The tag was first specified here."),You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder:t(8035,1,"You_cannot_rename_elements_that_are_defined_in_a_node_modules_folder_8035","You cannot rename elements that are defined in a 'node_modules' folder."),You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder:t(8036,1,"You_cannot_rename_elements_that_are_defined_in_another_node_modules_folder_8036","You cannot rename elements that are defined in another 'node_modules' folder."),Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files:t(8037,1,"Type_satisfaction_expressions_can_only_be_used_in_TypeScript_files_8037","Type satisfaction expressions can only be used in TypeScript files."),Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export:t(8038,1,"Decorators_may_not_appear_after_export_or_export_default_if_they_also_appear_before_export_8038","Decorators may not appear after 'export' or 'export default' if they also appear before 'export'."),A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag:t(8039,1,"A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag_8039","A JSDoc '@template' tag may not follow a '@typedef', '@callback', or '@overload' tag"),Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit:t(9005,1,"Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_9005","Declaration emit for this file requires using private name '{0}'. An explicit type annotation may unblock declaration emit."),Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:t(9006,1,"Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotati_9006","Declaration emit for this file requires using private name '{0}' from module '{1}'. An explicit type annotation may unblock declaration emit."),JSX_attributes_must_only_be_assigned_a_non_empty_expression:t(17e3,1,"JSX_attributes_must_only_be_assigned_a_non_empty_expression_17000","JSX attributes must only be assigned a non-empty 'expression'."),JSX_elements_cannot_have_multiple_attributes_with_the_same_name:t(17001,1,"JSX_elements_cannot_have_multiple_attributes_with_the_same_name_17001","JSX elements cannot have multiple attributes with the same name."),Expected_corresponding_JSX_closing_tag_for_0:t(17002,1,"Expected_corresponding_JSX_closing_tag_for_0_17002","Expected corresponding JSX closing tag for '{0}'."),Cannot_use_JSX_unless_the_jsx_flag_is_provided:t(17004,1,"Cannot_use_JSX_unless_the_jsx_flag_is_provided_17004","Cannot use JSX unless the '--jsx' flag is provided."),A_constructor_cannot_contain_a_super_call_when_its_class_extends_null:t(17005,1,"A_constructor_cannot_contain_a_super_call_when_its_class_extends_null_17005","A constructor cannot contain a 'super' call when its class extends 'null'."),An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:t(17006,1,"An_unary_expression_with_the_0_operator_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_ex_17006","An unary expression with the '{0}' operator is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Consider_enclosing_the_expression_in_parentheses:t(17007,1,"A_type_assertion_expression_is_not_allowed_in_the_left_hand_side_of_an_exponentiation_expression_Con_17007","A type assertion expression is not allowed in the left-hand side of an exponentiation expression. Consider enclosing the expression in parentheses."),JSX_element_0_has_no_corresponding_closing_tag:t(17008,1,"JSX_element_0_has_no_corresponding_closing_tag_17008","JSX element '{0}' has no corresponding closing tag."),super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class:t(17009,1,"super_must_be_called_before_accessing_this_in_the_constructor_of_a_derived_class_17009","'super' must be called before accessing 'this' in the constructor of a derived class."),Unknown_type_acquisition_option_0:t(17010,1,"Unknown_type_acquisition_option_0_17010","Unknown type acquisition option '{0}'."),super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class:t(17011,1,"super_must_be_called_before_accessing_a_property_of_super_in_the_constructor_of_a_derived_class_17011","'super' must be called before accessing a property of 'super' in the constructor of a derived class."),_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2:t(17012,1,"_0_is_not_a_valid_meta_property_for_keyword_1_Did_you_mean_2_17012","'{0}' is not a valid meta-property for keyword '{1}'. Did you mean '{2}'?"),Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constructor:t(17013,1,"Meta_property_0_is_only_allowed_in_the_body_of_a_function_declaration_function_expression_or_constru_17013","Meta-property '{0}' is only allowed in the body of a function declaration, function expression, or constructor."),JSX_fragment_has_no_corresponding_closing_tag:t(17014,1,"JSX_fragment_has_no_corresponding_closing_tag_17014","JSX fragment has no corresponding closing tag."),Expected_corresponding_closing_tag_for_JSX_fragment:t(17015,1,"Expected_corresponding_closing_tag_for_JSX_fragment_17015","Expected corresponding closing tag for JSX fragment."),The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_compiler_option:t(17016,1,"The_jsxFragmentFactory_compiler_option_must_be_provided_to_use_JSX_fragments_with_the_jsxFactory_com_17016","The 'jsxFragmentFactory' compiler option must be provided to use JSX fragments with the 'jsxFactory' compiler option."),An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments:t(17017,1,"An_jsxFrag_pragma_is_required_when_using_an_jsx_pragma_with_JSX_fragments_17017","An @jsxFrag pragma is required when using an @jsx pragma with JSX fragments."),Unknown_type_acquisition_option_0_Did_you_mean_1:t(17018,1,"Unknown_type_acquisition_option_0_Did_you_mean_1_17018","Unknown type acquisition option '{0}'. Did you mean '{1}'?"),_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:t(17019,1,"_0_at_the_end_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17019","'{0}' at the end of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1:t(17020,1,"_0_at_the_start_of_a_type_is_not_valid_TypeScript_syntax_Did_you_mean_to_write_1_17020","'{0}' at the start of a type is not valid TypeScript syntax. Did you mean to write '{1}'?"),Unicode_escape_sequence_cannot_appear_here:t(17021,1,"Unicode_escape_sequence_cannot_appear_here_17021","Unicode escape sequence cannot appear here."),Circularity_detected_while_resolving_configuration_Colon_0:t(18e3,1,"Circularity_detected_while_resolving_configuration_Colon_0_18000","Circularity detected while resolving configuration: {0}"),The_files_list_in_config_file_0_is_empty:t(18002,1,"The_files_list_in_config_file_0_is_empty_18002","The 'files' list in config file '{0}' is empty."),No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2:t(18003,1,"No_inputs_were_found_in_config_file_0_Specified_include_paths_were_1_and_exclude_paths_were_2_18003","No inputs were found in config file '{0}'. Specified 'include' paths were '{1}' and 'exclude' paths were '{2}'."),File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module:t(80001,2,"File_is_a_CommonJS_module_it_may_be_converted_to_an_ES_module_80001","File is a CommonJS module; it may be converted to an ES module."),This_constructor_function_may_be_converted_to_a_class_declaration:t(80002,2,"This_constructor_function_may_be_converted_to_a_class_declaration_80002","This constructor function may be converted to a class declaration."),Import_may_be_converted_to_a_default_import:t(80003,2,"Import_may_be_converted_to_a_default_import_80003","Import may be converted to a default import."),JSDoc_types_may_be_moved_to_TypeScript_types:t(80004,2,"JSDoc_types_may_be_moved_to_TypeScript_types_80004","JSDoc types may be moved to TypeScript types."),require_call_may_be_converted_to_an_import:t(80005,2,"require_call_may_be_converted_to_an_import_80005","'require' call may be converted to an import."),This_may_be_converted_to_an_async_function:t(80006,2,"This_may_be_converted_to_an_async_function_80006","This may be converted to an async function."),await_has_no_effect_on_the_type_of_this_expression:t(80007,2,"await_has_no_effect_on_the_type_of_this_expression_80007","'await' has no effect on the type of this expression."),Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accurately_as_integers:t(80008,2,"Numeric_literals_with_absolute_values_equal_to_2_53_or_greater_are_too_large_to_be_represented_accur_80008","Numeric literals with absolute values equal to 2^53 or greater are too large to be represented accurately as integers."),JSDoc_typedef_may_be_converted_to_TypeScript_type:t(80009,2,"JSDoc_typedef_may_be_converted_to_TypeScript_type_80009","JSDoc typedef may be converted to TypeScript type."),JSDoc_typedefs_may_be_converted_to_TypeScript_types:t(80010,2,"JSDoc_typedefs_may_be_converted_to_TypeScript_types_80010","JSDoc typedefs may be converted to TypeScript types."),Add_missing_super_call:t(90001,3,"Add_missing_super_call_90001","Add missing 'super()' call"),Make_super_call_the_first_statement_in_the_constructor:t(90002,3,"Make_super_call_the_first_statement_in_the_constructor_90002","Make 'super()' call the first statement in the constructor"),Change_extends_to_implements:t(90003,3,"Change_extends_to_implements_90003","Change 'extends' to 'implements'"),Remove_unused_declaration_for_Colon_0:t(90004,3,"Remove_unused_declaration_for_Colon_0_90004","Remove unused declaration for: '{0}'"),Remove_import_from_0:t(90005,3,"Remove_import_from_0_90005","Remove import from '{0}'"),Implement_interface_0:t(90006,3,"Implement_interface_0_90006","Implement interface '{0}'"),Implement_inherited_abstract_class:t(90007,3,"Implement_inherited_abstract_class_90007","Implement inherited abstract class"),Add_0_to_unresolved_variable:t(90008,3,"Add_0_to_unresolved_variable_90008","Add '{0}.' to unresolved variable"),Remove_variable_statement:t(90010,3,"Remove_variable_statement_90010","Remove variable statement"),Remove_template_tag:t(90011,3,"Remove_template_tag_90011","Remove template tag"),Remove_type_parameters:t(90012,3,"Remove_type_parameters_90012","Remove type parameters"),Import_0_from_1:t(90013,3,"Import_0_from_1_90013","Import '{0}' from \"{1}\""),Change_0_to_1:t(90014,3,"Change_0_to_1_90014","Change '{0}' to '{1}'"),Declare_property_0:t(90016,3,"Declare_property_0_90016","Declare property '{0}'"),Add_index_signature_for_property_0:t(90017,3,"Add_index_signature_for_property_0_90017","Add index signature for property '{0}'"),Disable_checking_for_this_file:t(90018,3,"Disable_checking_for_this_file_90018","Disable checking for this file"),Ignore_this_error_message:t(90019,3,"Ignore_this_error_message_90019","Ignore this error message"),Initialize_property_0_in_the_constructor:t(90020,3,"Initialize_property_0_in_the_constructor_90020","Initialize property '{0}' in the constructor"),Initialize_static_property_0:t(90021,3,"Initialize_static_property_0_90021","Initialize static property '{0}'"),Change_spelling_to_0:t(90022,3,"Change_spelling_to_0_90022","Change spelling to '{0}'"),Declare_method_0:t(90023,3,"Declare_method_0_90023","Declare method '{0}'"),Declare_static_method_0:t(90024,3,"Declare_static_method_0_90024","Declare static method '{0}'"),Prefix_0_with_an_underscore:t(90025,3,"Prefix_0_with_an_underscore_90025","Prefix '{0}' with an underscore"),Rewrite_as_the_indexed_access_type_0:t(90026,3,"Rewrite_as_the_indexed_access_type_0_90026","Rewrite as the indexed access type '{0}'"),Declare_static_property_0:t(90027,3,"Declare_static_property_0_90027","Declare static property '{0}'"),Call_decorator_expression:t(90028,3,"Call_decorator_expression_90028","Call decorator expression"),Add_async_modifier_to_containing_function:t(90029,3,"Add_async_modifier_to_containing_function_90029","Add async modifier to containing function"),Replace_infer_0_with_unknown:t(90030,3,"Replace_infer_0_with_unknown_90030","Replace 'infer {0}' with 'unknown'"),Replace_all_unused_infer_with_unknown:t(90031,3,"Replace_all_unused_infer_with_unknown_90031","Replace all unused 'infer' with 'unknown'"),Add_parameter_name:t(90034,3,"Add_parameter_name_90034","Add parameter name"),Declare_private_property_0:t(90035,3,"Declare_private_property_0_90035","Declare private property '{0}'"),Replace_0_with_Promise_1:t(90036,3,"Replace_0_with_Promise_1_90036","Replace '{0}' with 'Promise<{1}>'"),Fix_all_incorrect_return_type_of_an_async_functions:t(90037,3,"Fix_all_incorrect_return_type_of_an_async_functions_90037","Fix all incorrect return type of an async functions"),Declare_private_method_0:t(90038,3,"Declare_private_method_0_90038","Declare private method '{0}'"),Remove_unused_destructuring_declaration:t(90039,3,"Remove_unused_destructuring_declaration_90039","Remove unused destructuring declaration"),Remove_unused_declarations_for_Colon_0:t(90041,3,"Remove_unused_declarations_for_Colon_0_90041","Remove unused declarations for: '{0}'"),Declare_a_private_field_named_0:t(90053,3,"Declare_a_private_field_named_0_90053","Declare a private field named '{0}'."),Includes_imports_of_types_referenced_by_0:t(90054,3,"Includes_imports_of_types_referenced_by_0_90054","Includes imports of types referenced by '{0}'"),Remove_type_from_import_declaration_from_0:t(90055,3,"Remove_type_from_import_declaration_from_0_90055","Remove 'type' from import declaration from \"{0}\""),Remove_type_from_import_of_0_from_1:t(90056,3,"Remove_type_from_import_of_0_from_1_90056","Remove 'type' from import of '{0}' from \"{1}\""),Add_import_from_0:t(90057,3,"Add_import_from_0_90057",'Add import from "{0}"'),Update_import_from_0:t(90058,3,"Update_import_from_0_90058",'Update import from "{0}"'),Export_0_from_module_1:t(90059,3,"Export_0_from_module_1_90059","Export '{0}' from module '{1}'"),Export_all_referenced_locals:t(90060,3,"Export_all_referenced_locals_90060","Export all referenced locals"),Convert_function_to_an_ES2015_class:t(95001,3,"Convert_function_to_an_ES2015_class_95001","Convert function to an ES2015 class"),Convert_0_to_1_in_0:t(95003,3,"Convert_0_to_1_in_0_95003","Convert '{0}' to '{1} in {0}'"),Extract_to_0_in_1:t(95004,3,"Extract_to_0_in_1_95004","Extract to {0} in {1}"),Extract_function:t(95005,3,"Extract_function_95005","Extract function"),Extract_constant:t(95006,3,"Extract_constant_95006","Extract constant"),Extract_to_0_in_enclosing_scope:t(95007,3,"Extract_to_0_in_enclosing_scope_95007","Extract to {0} in enclosing scope"),Extract_to_0_in_1_scope:t(95008,3,"Extract_to_0_in_1_scope_95008","Extract to {0} in {1} scope"),Annotate_with_type_from_JSDoc:t(95009,3,"Annotate_with_type_from_JSDoc_95009","Annotate with type from JSDoc"),Infer_type_of_0_from_usage:t(95011,3,"Infer_type_of_0_from_usage_95011","Infer type of '{0}' from usage"),Infer_parameter_types_from_usage:t(95012,3,"Infer_parameter_types_from_usage_95012","Infer parameter types from usage"),Convert_to_default_import:t(95013,3,"Convert_to_default_import_95013","Convert to default import"),Install_0:t(95014,3,"Install_0_95014","Install '{0}'"),Replace_import_with_0:t(95015,3,"Replace_import_with_0_95015","Replace import with '{0}'."),Use_synthetic_default_member:t(95016,3,"Use_synthetic_default_member_95016","Use synthetic 'default' member."),Convert_to_ES_module:t(95017,3,"Convert_to_ES_module_95017","Convert to ES module"),Add_undefined_type_to_property_0:t(95018,3,"Add_undefined_type_to_property_0_95018","Add 'undefined' type to property '{0}'"),Add_initializer_to_property_0:t(95019,3,"Add_initializer_to_property_0_95019","Add initializer to property '{0}'"),Add_definite_assignment_assertion_to_property_0:t(95020,3,"Add_definite_assignment_assertion_to_property_0_95020","Add definite assignment assertion to property '{0}'"),Convert_all_type_literals_to_mapped_type:t(95021,3,"Convert_all_type_literals_to_mapped_type_95021","Convert all type literals to mapped type"),Add_all_missing_members:t(95022,3,"Add_all_missing_members_95022","Add all missing members"),Infer_all_types_from_usage:t(95023,3,"Infer_all_types_from_usage_95023","Infer all types from usage"),Delete_all_unused_declarations:t(95024,3,"Delete_all_unused_declarations_95024","Delete all unused declarations"),Prefix_all_unused_declarations_with_where_possible:t(95025,3,"Prefix_all_unused_declarations_with_where_possible_95025","Prefix all unused declarations with '_' where possible"),Fix_all_detected_spelling_errors:t(95026,3,"Fix_all_detected_spelling_errors_95026","Fix all detected spelling errors"),Add_initializers_to_all_uninitialized_properties:t(95027,3,"Add_initializers_to_all_uninitialized_properties_95027","Add initializers to all uninitialized properties"),Add_definite_assignment_assertions_to_all_uninitialized_properties:t(95028,3,"Add_definite_assignment_assertions_to_all_uninitialized_properties_95028","Add definite assignment assertions to all uninitialized properties"),Add_undefined_type_to_all_uninitialized_properties:t(95029,3,"Add_undefined_type_to_all_uninitialized_properties_95029","Add undefined type to all uninitialized properties"),Change_all_jsdoc_style_types_to_TypeScript:t(95030,3,"Change_all_jsdoc_style_types_to_TypeScript_95030","Change all jsdoc-style types to TypeScript"),Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types:t(95031,3,"Change_all_jsdoc_style_types_to_TypeScript_and_add_undefined_to_nullable_types_95031","Change all jsdoc-style types to TypeScript (and add '| undefined' to nullable types)"),Implement_all_unimplemented_interfaces:t(95032,3,"Implement_all_unimplemented_interfaces_95032","Implement all unimplemented interfaces"),Install_all_missing_types_packages:t(95033,3,"Install_all_missing_types_packages_95033","Install all missing types packages"),Rewrite_all_as_indexed_access_types:t(95034,3,"Rewrite_all_as_indexed_access_types_95034","Rewrite all as indexed access types"),Convert_all_to_default_imports:t(95035,3,"Convert_all_to_default_imports_95035","Convert all to default imports"),Make_all_super_calls_the_first_statement_in_their_constructor:t(95036,3,"Make_all_super_calls_the_first_statement_in_their_constructor_95036","Make all 'super()' calls the first statement in their constructor"),Add_qualifier_to_all_unresolved_variables_matching_a_member_name:t(95037,3,"Add_qualifier_to_all_unresolved_variables_matching_a_member_name_95037","Add qualifier to all unresolved variables matching a member name"),Change_all_extended_interfaces_to_implements:t(95038,3,"Change_all_extended_interfaces_to_implements_95038","Change all extended interfaces to 'implements'"),Add_all_missing_super_calls:t(95039,3,"Add_all_missing_super_calls_95039","Add all missing super calls"),Implement_all_inherited_abstract_classes:t(95040,3,"Implement_all_inherited_abstract_classes_95040","Implement all inherited abstract classes"),Add_all_missing_async_modifiers:t(95041,3,"Add_all_missing_async_modifiers_95041","Add all missing 'async' modifiers"),Add_ts_ignore_to_all_error_messages:t(95042,3,"Add_ts_ignore_to_all_error_messages_95042","Add '@ts-ignore' to all error messages"),Annotate_everything_with_types_from_JSDoc:t(95043,3,"Annotate_everything_with_types_from_JSDoc_95043","Annotate everything with types from JSDoc"),Add_to_all_uncalled_decorators:t(95044,3,"Add_to_all_uncalled_decorators_95044","Add '()' to all uncalled decorators"),Convert_all_constructor_functions_to_classes:t(95045,3,"Convert_all_constructor_functions_to_classes_95045","Convert all constructor functions to classes"),Generate_get_and_set_accessors:t(95046,3,"Generate_get_and_set_accessors_95046","Generate 'get' and 'set' accessors"),Convert_require_to_import:t(95047,3,"Convert_require_to_import_95047","Convert 'require' to 'import'"),Convert_all_require_to_import:t(95048,3,"Convert_all_require_to_import_95048","Convert all 'require' to 'import'"),Move_to_a_new_file:t(95049,3,"Move_to_a_new_file_95049","Move to a new file"),Remove_unreachable_code:t(95050,3,"Remove_unreachable_code_95050","Remove unreachable code"),Remove_all_unreachable_code:t(95051,3,"Remove_all_unreachable_code_95051","Remove all unreachable code"),Add_missing_typeof:t(95052,3,"Add_missing_typeof_95052","Add missing 'typeof'"),Remove_unused_label:t(95053,3,"Remove_unused_label_95053","Remove unused label"),Remove_all_unused_labels:t(95054,3,"Remove_all_unused_labels_95054","Remove all unused labels"),Convert_0_to_mapped_object_type:t(95055,3,"Convert_0_to_mapped_object_type_95055","Convert '{0}' to mapped object type"),Convert_namespace_import_to_named_imports:t(95056,3,"Convert_namespace_import_to_named_imports_95056","Convert namespace import to named imports"),Convert_named_imports_to_namespace_import:t(95057,3,"Convert_named_imports_to_namespace_import_95057","Convert named imports to namespace import"),Add_or_remove_braces_in_an_arrow_function:t(95058,3,"Add_or_remove_braces_in_an_arrow_function_95058","Add or remove braces in an arrow function"),Add_braces_to_arrow_function:t(95059,3,"Add_braces_to_arrow_function_95059","Add braces to arrow function"),Remove_braces_from_arrow_function:t(95060,3,"Remove_braces_from_arrow_function_95060","Remove braces from arrow function"),Convert_default_export_to_named_export:t(95061,3,"Convert_default_export_to_named_export_95061","Convert default export to named export"),Convert_named_export_to_default_export:t(95062,3,"Convert_named_export_to_default_export_95062","Convert named export to default export"),Add_missing_enum_member_0:t(95063,3,"Add_missing_enum_member_0_95063","Add missing enum member '{0}'"),Add_all_missing_imports:t(95064,3,"Add_all_missing_imports_95064","Add all missing imports"),Convert_to_async_function:t(95065,3,"Convert_to_async_function_95065","Convert to async function"),Convert_all_to_async_functions:t(95066,3,"Convert_all_to_async_functions_95066","Convert all to async functions"),Add_missing_call_parentheses:t(95067,3,"Add_missing_call_parentheses_95067","Add missing call parentheses"),Add_all_missing_call_parentheses:t(95068,3,"Add_all_missing_call_parentheses_95068","Add all missing call parentheses"),Add_unknown_conversion_for_non_overlapping_types:t(95069,3,"Add_unknown_conversion_for_non_overlapping_types_95069","Add 'unknown' conversion for non-overlapping types"),Add_unknown_to_all_conversions_of_non_overlapping_types:t(95070,3,"Add_unknown_to_all_conversions_of_non_overlapping_types_95070","Add 'unknown' to all conversions of non-overlapping types"),Add_missing_new_operator_to_call:t(95071,3,"Add_missing_new_operator_to_call_95071","Add missing 'new' operator to call"),Add_missing_new_operator_to_all_calls:t(95072,3,"Add_missing_new_operator_to_all_calls_95072","Add missing 'new' operator to all calls"),Add_names_to_all_parameters_without_names:t(95073,3,"Add_names_to_all_parameters_without_names_95073","Add names to all parameters without names"),Enable_the_experimentalDecorators_option_in_your_configuration_file:t(95074,3,"Enable_the_experimentalDecorators_option_in_your_configuration_file_95074","Enable the 'experimentalDecorators' option in your configuration file"),Convert_parameters_to_destructured_object:t(95075,3,"Convert_parameters_to_destructured_object_95075","Convert parameters to destructured object"),Extract_type:t(95077,3,"Extract_type_95077","Extract type"),Extract_to_type_alias:t(95078,3,"Extract_to_type_alias_95078","Extract to type alias"),Extract_to_typedef:t(95079,3,"Extract_to_typedef_95079","Extract to typedef"),Infer_this_type_of_0_from_usage:t(95080,3,"Infer_this_type_of_0_from_usage_95080","Infer 'this' type of '{0}' from usage"),Add_const_to_unresolved_variable:t(95081,3,"Add_const_to_unresolved_variable_95081","Add 'const' to unresolved variable"),Add_const_to_all_unresolved_variables:t(95082,3,"Add_const_to_all_unresolved_variables_95082","Add 'const' to all unresolved variables"),Add_await:t(95083,3,"Add_await_95083","Add 'await'"),Add_await_to_initializer_for_0:t(95084,3,"Add_await_to_initializer_for_0_95084","Add 'await' to initializer for '{0}'"),Fix_all_expressions_possibly_missing_await:t(95085,3,"Fix_all_expressions_possibly_missing_await_95085","Fix all expressions possibly missing 'await'"),Remove_unnecessary_await:t(95086,3,"Remove_unnecessary_await_95086","Remove unnecessary 'await'"),Remove_all_unnecessary_uses_of_await:t(95087,3,"Remove_all_unnecessary_uses_of_await_95087","Remove all unnecessary uses of 'await'"),Enable_the_jsx_flag_in_your_configuration_file:t(95088,3,"Enable_the_jsx_flag_in_your_configuration_file_95088","Enable the '--jsx' flag in your configuration file"),Add_await_to_initializers:t(95089,3,"Add_await_to_initializers_95089","Add 'await' to initializers"),Extract_to_interface:t(95090,3,"Extract_to_interface_95090","Extract to interface"),Convert_to_a_bigint_numeric_literal:t(95091,3,"Convert_to_a_bigint_numeric_literal_95091","Convert to a bigint numeric literal"),Convert_all_to_bigint_numeric_literals:t(95092,3,"Convert_all_to_bigint_numeric_literals_95092","Convert all to bigint numeric literals"),Convert_const_to_let:t(95093,3,"Convert_const_to_let_95093","Convert 'const' to 'let'"),Prefix_with_declare:t(95094,3,"Prefix_with_declare_95094","Prefix with 'declare'"),Prefix_all_incorrect_property_declarations_with_declare:t(95095,3,"Prefix_all_incorrect_property_declarations_with_declare_95095","Prefix all incorrect property declarations with 'declare'"),Convert_to_template_string:t(95096,3,"Convert_to_template_string_95096","Convert to template string"),Add_export_to_make_this_file_into_a_module:t(95097,3,"Add_export_to_make_this_file_into_a_module_95097","Add 'export {}' to make this file into a module"),Set_the_target_option_in_your_configuration_file_to_0:t(95098,3,"Set_the_target_option_in_your_configuration_file_to_0_95098","Set the 'target' option in your configuration file to '{0}'"),Set_the_module_option_in_your_configuration_file_to_0:t(95099,3,"Set_the_module_option_in_your_configuration_file_to_0_95099","Set the 'module' option in your configuration file to '{0}'"),Convert_invalid_character_to_its_html_entity_code:t(95100,3,"Convert_invalid_character_to_its_html_entity_code_95100","Convert invalid character to its html entity code"),Convert_all_invalid_characters_to_HTML_entity_code:t(95101,3,"Convert_all_invalid_characters_to_HTML_entity_code_95101","Convert all invalid characters to HTML entity code"),Convert_all_const_to_let:t(95102,3,"Convert_all_const_to_let_95102","Convert all 'const' to 'let'"),Convert_function_expression_0_to_arrow_function:t(95105,3,"Convert_function_expression_0_to_arrow_function_95105","Convert function expression '{0}' to arrow function"),Convert_function_declaration_0_to_arrow_function:t(95106,3,"Convert_function_declaration_0_to_arrow_function_95106","Convert function declaration '{0}' to arrow function"),Fix_all_implicit_this_errors:t(95107,3,"Fix_all_implicit_this_errors_95107","Fix all implicit-'this' errors"),Wrap_invalid_character_in_an_expression_container:t(95108,3,"Wrap_invalid_character_in_an_expression_container_95108","Wrap invalid character in an expression container"),Wrap_all_invalid_characters_in_an_expression_container:t(95109,3,"Wrap_all_invalid_characters_in_an_expression_container_95109","Wrap all invalid characters in an expression container"),Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file:t(95110,3,"Visit_https_Colon_Slash_Slashaka_ms_Slashtsconfig_to_read_more_about_this_file_95110","Visit https://aka.ms/tsconfig to read more about this file"),Add_a_return_statement:t(95111,3,"Add_a_return_statement_95111","Add a return statement"),Remove_braces_from_arrow_function_body:t(95112,3,"Remove_braces_from_arrow_function_body_95112","Remove braces from arrow function body"),Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal:t(95113,3,"Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal_95113","Wrap the following body with parentheses which should be an object literal"),Add_all_missing_return_statement:t(95114,3,"Add_all_missing_return_statement_95114","Add all missing return statement"),Remove_braces_from_all_arrow_function_bodies_with_relevant_issues:t(95115,3,"Remove_braces_from_all_arrow_function_bodies_with_relevant_issues_95115","Remove braces from all arrow function bodies with relevant issues"),Wrap_all_object_literal_with_parentheses:t(95116,3,"Wrap_all_object_literal_with_parentheses_95116","Wrap all object literal with parentheses"),Move_labeled_tuple_element_modifiers_to_labels:t(95117,3,"Move_labeled_tuple_element_modifiers_to_labels_95117","Move labeled tuple element modifiers to labels"),Convert_overload_list_to_single_signature:t(95118,3,"Convert_overload_list_to_single_signature_95118","Convert overload list to single signature"),Generate_get_and_set_accessors_for_all_overriding_properties:t(95119,3,"Generate_get_and_set_accessors_for_all_overriding_properties_95119","Generate 'get' and 'set' accessors for all overriding properties"),Wrap_in_JSX_fragment:t(95120,3,"Wrap_in_JSX_fragment_95120","Wrap in JSX fragment"),Wrap_all_unparented_JSX_in_JSX_fragment:t(95121,3,"Wrap_all_unparented_JSX_in_JSX_fragment_95121","Wrap all unparented JSX in JSX fragment"),Convert_arrow_function_or_function_expression:t(95122,3,"Convert_arrow_function_or_function_expression_95122","Convert arrow function or function expression"),Convert_to_anonymous_function:t(95123,3,"Convert_to_anonymous_function_95123","Convert to anonymous function"),Convert_to_named_function:t(95124,3,"Convert_to_named_function_95124","Convert to named function"),Convert_to_arrow_function:t(95125,3,"Convert_to_arrow_function_95125","Convert to arrow function"),Remove_parentheses:t(95126,3,"Remove_parentheses_95126","Remove parentheses"),Could_not_find_a_containing_arrow_function:t(95127,3,"Could_not_find_a_containing_arrow_function_95127","Could not find a containing arrow function"),Containing_function_is_not_an_arrow_function:t(95128,3,"Containing_function_is_not_an_arrow_function_95128","Containing function is not an arrow function"),Could_not_find_export_statement:t(95129,3,"Could_not_find_export_statement_95129","Could not find export statement"),This_file_already_has_a_default_export:t(95130,3,"This_file_already_has_a_default_export_95130","This file already has a default export"),Could_not_find_import_clause:t(95131,3,"Could_not_find_import_clause_95131","Could not find import clause"),Could_not_find_namespace_import_or_named_imports:t(95132,3,"Could_not_find_namespace_import_or_named_imports_95132","Could not find namespace import or named imports"),Selection_is_not_a_valid_type_node:t(95133,3,"Selection_is_not_a_valid_type_node_95133","Selection is not a valid type node"),No_type_could_be_extracted_from_this_type_node:t(95134,3,"No_type_could_be_extracted_from_this_type_node_95134","No type could be extracted from this type node"),Could_not_find_property_for_which_to_generate_accessor:t(95135,3,"Could_not_find_property_for_which_to_generate_accessor_95135","Could not find property for which to generate accessor"),Name_is_not_valid:t(95136,3,"Name_is_not_valid_95136","Name is not valid"),Can_only_convert_property_with_modifier:t(95137,3,"Can_only_convert_property_with_modifier_95137","Can only convert property with modifier"),Switch_each_misused_0_to_1:t(95138,3,"Switch_each_misused_0_to_1_95138","Switch each misused '{0}' to '{1}'"),Convert_to_optional_chain_expression:t(95139,3,"Convert_to_optional_chain_expression_95139","Convert to optional chain expression"),Could_not_find_convertible_access_expression:t(95140,3,"Could_not_find_convertible_access_expression_95140","Could not find convertible access expression"),Could_not_find_matching_access_expressions:t(95141,3,"Could_not_find_matching_access_expressions_95141","Could not find matching access expressions"),Can_only_convert_logical_AND_access_chains:t(95142,3,"Can_only_convert_logical_AND_access_chains_95142","Can only convert logical AND access chains"),Add_void_to_Promise_resolved_without_a_value:t(95143,3,"Add_void_to_Promise_resolved_without_a_value_95143","Add 'void' to Promise resolved without a value"),Add_void_to_all_Promises_resolved_without_a_value:t(95144,3,"Add_void_to_all_Promises_resolved_without_a_value_95144","Add 'void' to all Promises resolved without a value"),Use_element_access_for_0:t(95145,3,"Use_element_access_for_0_95145","Use element access for '{0}'"),Use_element_access_for_all_undeclared_properties:t(95146,3,"Use_element_access_for_all_undeclared_properties_95146","Use element access for all undeclared properties."),Delete_all_unused_imports:t(95147,3,"Delete_all_unused_imports_95147","Delete all unused imports"),Infer_function_return_type:t(95148,3,"Infer_function_return_type_95148","Infer function return type"),Return_type_must_be_inferred_from_a_function:t(95149,3,"Return_type_must_be_inferred_from_a_function_95149","Return type must be inferred from a function"),Could_not_determine_function_return_type:t(95150,3,"Could_not_determine_function_return_type_95150","Could not determine function return type"),Could_not_convert_to_arrow_function:t(95151,3,"Could_not_convert_to_arrow_function_95151","Could not convert to arrow function"),Could_not_convert_to_named_function:t(95152,3,"Could_not_convert_to_named_function_95152","Could not convert to named function"),Could_not_convert_to_anonymous_function:t(95153,3,"Could_not_convert_to_anonymous_function_95153","Could not convert to anonymous function"),Can_only_convert_string_concatenations_and_string_literals:t(95154,3,"Can_only_convert_string_concatenations_and_string_literals_95154","Can only convert string concatenations and string literals"),Selection_is_not_a_valid_statement_or_statements:t(95155,3,"Selection_is_not_a_valid_statement_or_statements_95155","Selection is not a valid statement or statements"),Add_missing_function_declaration_0:t(95156,3,"Add_missing_function_declaration_0_95156","Add missing function declaration '{0}'"),Add_all_missing_function_declarations:t(95157,3,"Add_all_missing_function_declarations_95157","Add all missing function declarations"),Method_not_implemented:t(95158,3,"Method_not_implemented_95158","Method not implemented."),Function_not_implemented:t(95159,3,"Function_not_implemented_95159","Function not implemented."),Add_override_modifier:t(95160,3,"Add_override_modifier_95160","Add 'override' modifier"),Remove_override_modifier:t(95161,3,"Remove_override_modifier_95161","Remove 'override' modifier"),Add_all_missing_override_modifiers:t(95162,3,"Add_all_missing_override_modifiers_95162","Add all missing 'override' modifiers"),Remove_all_unnecessary_override_modifiers:t(95163,3,"Remove_all_unnecessary_override_modifiers_95163","Remove all unnecessary 'override' modifiers"),Can_only_convert_named_export:t(95164,3,"Can_only_convert_named_export_95164","Can only convert named export"),Add_missing_properties:t(95165,3,"Add_missing_properties_95165","Add missing properties"),Add_all_missing_properties:t(95166,3,"Add_all_missing_properties_95166","Add all missing properties"),Add_missing_attributes:t(95167,3,"Add_missing_attributes_95167","Add missing attributes"),Add_all_missing_attributes:t(95168,3,"Add_all_missing_attributes_95168","Add all missing attributes"),Add_undefined_to_optional_property_type:t(95169,3,"Add_undefined_to_optional_property_type_95169","Add 'undefined' to optional property type"),Convert_named_imports_to_default_import:t(95170,3,"Convert_named_imports_to_default_import_95170","Convert named imports to default import"),Delete_unused_param_tag_0:t(95171,3,"Delete_unused_param_tag_0_95171","Delete unused '@param' tag '{0}'"),Delete_all_unused_param_tags:t(95172,3,"Delete_all_unused_param_tags_95172","Delete all unused '@param' tags"),Rename_param_tag_name_0_to_1:t(95173,3,"Rename_param_tag_name_0_to_1_95173","Rename '@param' tag name '{0}' to '{1}'"),Use_0:t(95174,3,"Use_0_95174","Use `{0}`."),Use_Number_isNaN_in_all_conditions:t(95175,3,"Use_Number_isNaN_in_all_conditions_95175","Use `Number.isNaN` in all conditions."),Convert_typedef_to_TypeScript_type:t(95176,3,"Convert_typedef_to_TypeScript_type_95176","Convert typedef to TypeScript type."),Convert_all_typedef_to_TypeScript_types:t(95177,3,"Convert_all_typedef_to_TypeScript_types_95177","Convert all typedef to TypeScript types."),Move_to_file:t(95178,3,"Move_to_file_95178","Move to file"),Cannot_move_to_file_selected_file_is_invalid:t(95179,3,"Cannot_move_to_file_selected_file_is_invalid_95179","Cannot move to file, selected file is invalid"),Use_import_type:t(95180,3,"Use_import_type_95180","Use 'import type'"),Use_type_0:t(95181,3,"Use_type_0_95181","Use 'type {0}'"),Fix_all_with_type_only_imports:t(95182,3,"Fix_all_with_type_only_imports_95182","Fix all with type-only imports"),Cannot_move_statements_to_the_selected_file:t(95183,3,"Cannot_move_statements_to_the_selected_file_95183","Cannot move statements to the selected file"),Inline_variable:t(95184,3,"Inline_variable_95184","Inline variable"),Could_not_find_variable_to_inline:t(95185,3,"Could_not_find_variable_to_inline_95185","Could not find variable to inline."),Variables_with_multiple_declarations_cannot_be_inlined:t(95186,3,"Variables_with_multiple_declarations_cannot_be_inlined_95186","Variables with multiple declarations cannot be inlined."),Add_missing_comma_for_object_member_completion_0:t(95187,3,"Add_missing_comma_for_object_member_completion_0_95187","Add missing comma for object member completion '{0}'."),No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer:t(18004,1,"No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer_18004","No value exists in scope for the shorthand property '{0}'. Either declare one or provide an initializer."),Classes_may_not_have_a_field_named_constructor:t(18006,1,"Classes_may_not_have_a_field_named_constructor_18006","Classes may not have a field named 'constructor'."),JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array:t(18007,1,"JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array_18007","JSX expressions may not use the comma operator. Did you mean to write an array?"),Private_identifiers_cannot_be_used_as_parameters:t(18009,1,"Private_identifiers_cannot_be_used_as_parameters_18009","Private identifiers cannot be used as parameters."),An_accessibility_modifier_cannot_be_used_with_a_private_identifier:t(18010,1,"An_accessibility_modifier_cannot_be_used_with_a_private_identifier_18010","An accessibility modifier cannot be used with a private identifier."),The_operand_of_a_delete_operator_cannot_be_a_private_identifier:t(18011,1,"The_operand_of_a_delete_operator_cannot_be_a_private_identifier_18011","The operand of a 'delete' operator cannot be a private identifier."),constructor_is_a_reserved_word:t(18012,1,"constructor_is_a_reserved_word_18012","'#constructor' is a reserved word."),Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier:t(18013,1,"Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier_18013","Property '{0}' is not accessible outside class '{1}' because it has a private identifier."),The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling:t(18014,1,"The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_priv_18014","The property '{0}' cannot be accessed on type '{1}' within this class because it is shadowed by another private identifier with the same spelling."),Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2:t(18015,1,"Property_0_in_type_1_refers_to_a_different_member_that_cannot_be_accessed_from_within_type_2_18015","Property '{0}' in type '{1}' refers to a different member that cannot be accessed from within type '{2}'."),Private_identifiers_are_not_allowed_outside_class_bodies:t(18016,1,"Private_identifiers_are_not_allowed_outside_class_bodies_18016","Private identifiers are not allowed outside class bodies."),The_shadowing_declaration_of_0_is_defined_here:t(18017,1,"The_shadowing_declaration_of_0_is_defined_here_18017","The shadowing declaration of '{0}' is defined here"),The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here:t(18018,1,"The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here_18018","The declaration of '{0}' that you probably intended to use is defined here"),_0_modifier_cannot_be_used_with_a_private_identifier:t(18019,1,"_0_modifier_cannot_be_used_with_a_private_identifier_18019","'{0}' modifier cannot be used with a private identifier."),An_enum_member_cannot_be_named_with_a_private_identifier:t(18024,1,"An_enum_member_cannot_be_named_with_a_private_identifier_18024","An enum member cannot be named with a private identifier."),can_only_be_used_at_the_start_of_a_file:t(18026,1,"can_only_be_used_at_the_start_of_a_file_18026","'#!' can only be used at the start of a file."),Compiler_reserves_name_0_when_emitting_private_identifier_downlevel:t(18027,1,"Compiler_reserves_name_0_when_emitting_private_identifier_downlevel_18027","Compiler reserves name '{0}' when emitting private identifier downlevel."),Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher:t(18028,1,"Private_identifiers_are_only_available_when_targeting_ECMAScript_2015_and_higher_18028","Private identifiers are only available when targeting ECMAScript 2015 and higher."),Private_identifiers_are_not_allowed_in_variable_declarations:t(18029,1,"Private_identifiers_are_not_allowed_in_variable_declarations_18029","Private identifiers are not allowed in variable declarations."),An_optional_chain_cannot_contain_private_identifiers:t(18030,1,"An_optional_chain_cannot_contain_private_identifiers_18030","An optional chain cannot contain private identifiers."),The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituents:t(18031,1,"The_intersection_0_was_reduced_to_never_because_property_1_has_conflicting_types_in_some_constituent_18031","The intersection '{0}' was reduced to 'never' because property '{1}' has conflicting types in some constituents."),The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_private_in_some:t(18032,1,"The_intersection_0_was_reduced_to_never_because_property_1_exists_in_multiple_constituents_and_is_pr_18032","The intersection '{0}' was reduced to 'never' because property '{1}' exists in multiple constituents and is private in some."),Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values:t(18033,1,"Type_0_is_not_assignable_to_type_1_as_required_for_computed_enum_member_values_18033","Type '{0}' is not assignable to type '{1}' as required for computed enum member values."),Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compiler_option_is_specified_e_g_Fragment:t(18034,3,"Specify_the_JSX_fragment_factory_function_to_use_when_targeting_react_JSX_emit_with_jsxFactory_compi_18034","Specify the JSX fragment factory function to use when targeting 'react' JSX emit with 'jsxFactory' compiler option is specified, e.g. 'Fragment'."),Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name:t(18035,1,"Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035","Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name."),Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_decorator:t(18036,1,"Class_decorators_can_t_be_used_with_static_private_identifier_Consider_removing_the_experimental_dec_18036","Class decorators can't be used with static private identifier. Consider removing the experimental decorator."),await_expression_cannot_be_used_inside_a_class_static_block:t(18037,1,"await_expression_cannot_be_used_inside_a_class_static_block_18037","'await' expression cannot be used inside a class static block."),for_await_loops_cannot_be_used_inside_a_class_static_block:t(18038,1,"for_await_loops_cannot_be_used_inside_a_class_static_block_18038","'for await' loops cannot be used inside a class static block."),Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block:t(18039,1,"Invalid_use_of_0_It_cannot_be_used_inside_a_class_static_block_18039","Invalid use of '{0}'. It cannot be used inside a class static block."),A_return_statement_cannot_be_used_inside_a_class_static_block:t(18041,1,"A_return_statement_cannot_be_used_inside_a_class_static_block_18041","A 'return' statement cannot be used inside a class static block."),_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation:t(18042,1,"_0_is_a_type_and_cannot_be_imported_in_JavaScript_files_Use_1_in_a_JSDoc_type_annotation_18042","'{0}' is a type and cannot be imported in JavaScript files. Use '{1}' in a JSDoc type annotation."),Types_cannot_appear_in_export_declarations_in_JavaScript_files:t(18043,1,"Types_cannot_appear_in_export_declarations_in_JavaScript_files_18043","Types cannot appear in export declarations in JavaScript files."),_0_is_automatically_exported_here:t(18044,3,"_0_is_automatically_exported_here_18044","'{0}' is automatically exported here."),Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher:t(18045,1,"Properties_with_the_accessor_modifier_are_only_available_when_targeting_ECMAScript_2015_and_higher_18045","Properties with the 'accessor' modifier are only available when targeting ECMAScript 2015 and higher."),_0_is_of_type_unknown:t(18046,1,"_0_is_of_type_unknown_18046","'{0}' is of type 'unknown'."),_0_is_possibly_null:t(18047,1,"_0_is_possibly_null_18047","'{0}' is possibly 'null'."),_0_is_possibly_undefined:t(18048,1,"_0_is_possibly_undefined_18048","'{0}' is possibly 'undefined'."),_0_is_possibly_null_or_undefined:t(18049,1,"_0_is_possibly_null_or_undefined_18049","'{0}' is possibly 'null' or 'undefined'."),The_value_0_cannot_be_used_here:t(18050,1,"The_value_0_cannot_be_used_here_18050","The value '{0}' cannot be used here."),Compiler_option_0_cannot_be_given_an_empty_string:t(18051,1,"Compiler_option_0_cannot_be_given_an_empty_string_18051","Compiler option '{0}' cannot be given an empty string."),Non_abstract_class_0_does_not_implement_all_abstract_members_of_1:t(18052,1,"Non_abstract_class_0_does_not_implement_all_abstract_members_of_1_18052","Non-abstract class '{0}' does not implement all abstract members of '{1}'"),Its_type_0_is_not_a_valid_JSX_element_type:t(18053,1,"Its_type_0_is_not_a_valid_JSX_element_type_18053","Its type '{0}' is not a valid JSX element type."),await_using_statements_cannot_be_used_inside_a_class_static_block:t(18054,1,"await_using_statements_cannot_be_used_inside_a_class_static_block_18054","'await using' statements cannot be used inside a class static block.")}}});function Ta(e){return 80<=e}function Ca(e){return 32===e||80<=e}function wa(e,t){if(!(e=e.length)&&(i?t=t<0?0:t>=e.length?e.length-1:t:G3.fail("Bad line number. Line: ".concat(t,", lineStarts.length: ").concat(e.length," , line map is correct? ").concat(void 0!==r?bT(e,Da(r)):"unknown")));n=e[t]+n;return i?n>e[t+1]?e[t+1]:"string"==typeof r&&n>r.length?r.length:n:(t":32,"<=":33,">=":34,"==":35,"!=":36,"===":37,"!==":38,"=>":39,"+":40,"-":41,"**":43,"*":42,"/":44,"%":45,"++":46,"--":47,"<<":48,">":49,">>>":50,"&":51,"|":52,"^":53,"!":54,"~":55,"&&":56,"||":57,"?":58,"??":61,"?.":29,":":59,"=":64,"+=":65,"-=":66,"*=":67,"**=":68,"/=":69,"%=":70,"<<=":71,">>=":72,">>>=":73,"&=":74,"|=":75,"^=":79,"||=":76,"&&=":77,"??=":78,"@":60,"#":63,"`":62}))),aa=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1569,1594,1600,1610,1649,1747,1749,1749,1765,1766,1786,1788,1808,1808,1810,1836,1920,1957,2309,2361,2365,2365,2384,2384,2392,2401,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2784,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2877,2877,2908,2909,2911,2913,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3294,3294,3296,3297,3333,3340,3342,3344,3346,3368,3370,3385,3424,3425,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3805,3840,3840,3904,3911,3913,3946,3976,3979,4096,4129,4131,4135,4137,4138,4176,4181,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6067,6176,6263,6272,6312,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8319,8319,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12329,12337,12341,12344,12346,12353,12436,12445,12446,12449,12538,12540,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65138,65140,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],oa=[170,170,181,181,186,186,192,214,216,246,248,543,546,563,592,685,688,696,699,705,720,721,736,740,750,750,768,846,864,866,890,890,902,902,904,906,908,908,910,929,931,974,976,983,986,1011,1024,1153,1155,1158,1164,1220,1223,1224,1227,1228,1232,1269,1272,1273,1329,1366,1369,1369,1377,1415,1425,1441,1443,1465,1467,1469,1471,1471,1473,1474,1476,1476,1488,1514,1520,1522,1569,1594,1600,1621,1632,1641,1648,1747,1749,1756,1759,1768,1770,1773,1776,1788,1808,1836,1840,1866,1920,1968,2305,2307,2309,2361,2364,2381,2384,2388,2392,2403,2406,2415,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2492,2494,2500,2503,2504,2507,2509,2519,2519,2524,2525,2527,2531,2534,2545,2562,2562,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2649,2652,2654,2654,2662,2676,2689,2691,2693,2699,2701,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2784,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2870,2873,2876,2883,2887,2888,2891,2893,2902,2903,2908,2909,2911,2913,2918,2927,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,2997,2999,3001,3006,3010,3014,3016,3018,3021,3031,3031,3047,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3134,3140,3142,3144,3146,3149,3157,3158,3168,3169,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3262,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3297,3302,3311,3330,3331,3333,3340,3342,3344,3346,3368,3370,3385,3390,3395,3398,3400,3402,3405,3415,3415,3424,3425,3430,3439,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3805,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3946,3953,3972,3974,3979,3984,3991,3993,4028,4038,4038,4096,4129,4131,4135,4137,4138,4140,4146,4150,4153,4160,4169,4176,4185,4256,4293,4304,4342,4352,4441,4447,4514,4520,4601,4608,4614,4616,4678,4680,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4742,4744,4744,4746,4749,4752,4782,4784,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4814,4816,4822,4824,4846,4848,4878,4880,4880,4882,4885,4888,4894,4896,4934,4936,4954,4969,4977,5024,5108,5121,5740,5743,5750,5761,5786,5792,5866,6016,6099,6112,6121,6160,6169,6176,6263,6272,6313,7680,7835,7840,7929,7936,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8319,8319,8400,8412,8417,8417,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8497,8499,8505,8544,8579,12293,12295,12321,12335,12337,12341,12344,12346,12353,12436,12441,12442,12445,12446,12449,12542,12549,12588,12593,12686,12704,12727,13312,19893,19968,40869,40960,42124,44032,55203,63744,64045,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65056,65059,65075,65076,65101,65103,65136,65138,65140,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65381,65470,65474,65479,65482,65487,65490,65495,65498,65500],sa=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1319,1329,1366,1369,1369,1377,1415,1488,1514,1520,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2208,2208,2210,2220,2308,2361,2365,2365,2384,2384,2392,2401,2417,2423,2425,2431,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3133,3160,3161,3168,3169,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3424,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6263,6272,6312,6314,6314,6320,6389,6400,6428,6480,6509,6512,6516,6528,6571,6593,6599,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7401,7404,7406,7409,7413,7414,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11823,11823,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42647,42656,42735,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43648,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],ca=[170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,902,902,904,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1319,1329,1366,1369,1369,1377,1415,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1520,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2048,2093,2112,2139,2208,2208,2210,2220,2276,2302,2304,2403,2406,2415,2417,2423,2425,2431,2433,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3073,3075,3077,3084,3086,3088,3090,3112,3114,3123,3125,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3161,3168,3171,3174,3183,3202,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3330,3331,3333,3340,3342,3344,3346,3386,3389,3396,3398,3400,3402,3406,3415,3415,3424,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3719,3720,3722,3722,3725,3725,3732,3735,3737,3743,3745,3747,3749,3749,3751,3751,3754,3755,3757,3769,3771,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4992,5007,5024,5108,5121,5740,5743,5759,5761,5786,5792,5866,5870,5872,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6263,6272,6314,6320,6389,6400,6428,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6617,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7376,7378,7380,7414,7424,7654,7676,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8204,8205,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8473,8477,8484,8484,8486,8486,8488,8488,8490,8493,8495,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,11823,11823,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12442,12445,12447,12449,12538,12540,12543,12549,12589,12593,12686,12704,12730,12784,12799,13312,19893,19968,40908,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42647,42655,42737,42775,42783,42786,42888,42891,42894,42896,42899,42912,42922,43e3,43047,43072,43123,43136,43204,43216,43225,43232,43255,43259,43259,43264,43309,43312,43347,43360,43388,43392,43456,43471,43481,43520,43574,43584,43597,43600,43609,43616,43638,43642,43643,43648,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43968,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65062,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500],ua=[65,90,97,122,170,170,181,181,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,880,884,886,887,890,893,895,895,902,902,904,906,908,908,910,929,931,1013,1015,1153,1162,1327,1329,1366,1369,1369,1376,1416,1488,1514,1519,1522,1568,1610,1646,1647,1649,1747,1749,1749,1765,1766,1774,1775,1786,1788,1791,1791,1808,1808,1810,1839,1869,1957,1969,1969,1994,2026,2036,2037,2042,2042,2048,2069,2074,2074,2084,2084,2088,2088,2112,2136,2144,2154,2208,2228,2230,2237,2308,2361,2365,2365,2384,2384,2392,2401,2417,2432,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2493,2493,2510,2510,2524,2525,2527,2529,2544,2545,2556,2556,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2649,2652,2654,2654,2674,2676,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2749,2749,2768,2768,2784,2785,2809,2809,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2877,2877,2908,2909,2911,2913,2929,2929,2947,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3024,3024,3077,3084,3086,3088,3090,3112,3114,3129,3133,3133,3160,3162,3168,3169,3200,3200,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3261,3261,3294,3294,3296,3297,3313,3314,3333,3340,3342,3344,3346,3386,3389,3389,3406,3406,3412,3414,3423,3425,3450,3455,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3585,3632,3634,3635,3648,3654,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3760,3762,3763,3773,3773,3776,3780,3782,3782,3804,3807,3840,3840,3904,3911,3913,3948,3976,3980,4096,4138,4159,4159,4176,4181,4186,4189,4193,4193,4197,4198,4206,4208,4213,4225,4238,4238,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5905,5920,5937,5952,5969,5984,5996,5998,6e3,6016,6067,6103,6103,6108,6108,6176,6264,6272,6312,6314,6314,6320,6389,6400,6430,6480,6509,6512,6516,6528,6571,6576,6601,6656,6678,6688,6740,6823,6823,6917,6963,6981,6987,7043,7072,7086,7087,7098,7141,7168,7203,7245,7247,7258,7293,7296,7304,7312,7354,7357,7359,7401,7404,7406,7411,7413,7414,7418,7418,7424,7615,7680,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8305,8305,8319,8319,8336,8348,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11502,11506,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11648,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,12293,12295,12321,12329,12337,12341,12344,12348,12353,12438,12443,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42527,42538,42539,42560,42606,42623,42653,42656,42735,42775,42783,42786,42888,42891,42943,42946,42950,42999,43009,43011,43013,43015,43018,43020,43042,43072,43123,43138,43187,43250,43255,43259,43259,43261,43262,43274,43301,43312,43334,43360,43388,43396,43442,43471,43471,43488,43492,43494,43503,43514,43518,43520,43560,43584,43586,43588,43595,43616,43638,43642,43642,43646,43695,43697,43697,43701,43702,43705,43709,43712,43712,43714,43714,43739,43741,43744,43754,43762,43764,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44002,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64285,64287,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65136,65140,65142,65276,65313,65338,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66176,66204,66208,66256,66304,66335,66349,66378,66384,66421,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68096,68112,68115,68117,68119,68121,68149,68192,68220,68224,68252,68288,68295,68297,68324,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68899,69376,69404,69415,69415,69424,69445,69600,69622,69635,69687,69763,69807,69840,69864,69891,69926,69956,69956,69968,70002,70006,70006,70019,70066,70081,70084,70106,70106,70108,70108,70144,70161,70163,70187,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70366,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70461,70461,70480,70480,70493,70497,70656,70708,70727,70730,70751,70751,70784,70831,70852,70853,70855,70855,71040,71086,71128,71131,71168,71215,71236,71236,71296,71338,71352,71352,71424,71450,71680,71723,71840,71903,71935,71935,72096,72103,72106,72144,72161,72161,72163,72163,72192,72192,72203,72242,72250,72250,72272,72272,72284,72329,72349,72349,72384,72440,72704,72712,72714,72750,72768,72768,72818,72847,72960,72966,72968,72969,72971,73008,73030,73030,73056,73061,73063,73064,73066,73097,73112,73112,73440,73458,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92880,92909,92928,92975,92992,92995,93027,93047,93053,93071,93760,93823,93952,94026,94032,94032,94099,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,123136,123180,123191,123197,123214,123214,123584,123627,124928,125124,125184,125251,125259,125259,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101],la=[48,57,65,90,95,95,97,122,170,170,181,181,183,183,186,186,192,214,216,246,248,705,710,721,736,740,748,748,750,750,768,884,886,887,890,893,895,895,902,906,908,908,910,929,931,1013,1015,1153,1155,1159,1162,1327,1329,1366,1369,1369,1376,1416,1425,1469,1471,1471,1473,1474,1476,1477,1479,1479,1488,1514,1519,1522,1552,1562,1568,1641,1646,1747,1749,1756,1759,1768,1770,1788,1791,1791,1808,1866,1869,1969,1984,2037,2042,2042,2045,2045,2048,2093,2112,2139,2144,2154,2208,2228,2230,2237,2259,2273,2275,2403,2406,2415,2417,2435,2437,2444,2447,2448,2451,2472,2474,2480,2482,2482,2486,2489,2492,2500,2503,2504,2507,2510,2519,2519,2524,2525,2527,2531,2534,2545,2556,2556,2558,2558,2561,2563,2565,2570,2575,2576,2579,2600,2602,2608,2610,2611,2613,2614,2616,2617,2620,2620,2622,2626,2631,2632,2635,2637,2641,2641,2649,2652,2654,2654,2662,2677,2689,2691,2693,2701,2703,2705,2707,2728,2730,2736,2738,2739,2741,2745,2748,2757,2759,2761,2763,2765,2768,2768,2784,2787,2790,2799,2809,2815,2817,2819,2821,2828,2831,2832,2835,2856,2858,2864,2866,2867,2869,2873,2876,2884,2887,2888,2891,2893,2902,2903,2908,2909,2911,2915,2918,2927,2929,2929,2946,2947,2949,2954,2958,2960,2962,2965,2969,2970,2972,2972,2974,2975,2979,2980,2984,2986,2990,3001,3006,3010,3014,3016,3018,3021,3024,3024,3031,3031,3046,3055,3072,3084,3086,3088,3090,3112,3114,3129,3133,3140,3142,3144,3146,3149,3157,3158,3160,3162,3168,3171,3174,3183,3200,3203,3205,3212,3214,3216,3218,3240,3242,3251,3253,3257,3260,3268,3270,3272,3274,3277,3285,3286,3294,3294,3296,3299,3302,3311,3313,3314,3328,3331,3333,3340,3342,3344,3346,3396,3398,3400,3402,3406,3412,3415,3423,3427,3430,3439,3450,3455,3458,3459,3461,3478,3482,3505,3507,3515,3517,3517,3520,3526,3530,3530,3535,3540,3542,3542,3544,3551,3558,3567,3570,3571,3585,3642,3648,3662,3664,3673,3713,3714,3716,3716,3718,3722,3724,3747,3749,3749,3751,3773,3776,3780,3782,3782,3784,3789,3792,3801,3804,3807,3840,3840,3864,3865,3872,3881,3893,3893,3895,3895,3897,3897,3902,3911,3913,3948,3953,3972,3974,3991,3993,4028,4038,4038,4096,4169,4176,4253,4256,4293,4295,4295,4301,4301,4304,4346,4348,4680,4682,4685,4688,4694,4696,4696,4698,4701,4704,4744,4746,4749,4752,4784,4786,4789,4792,4798,4800,4800,4802,4805,4808,4822,4824,4880,4882,4885,4888,4954,4957,4959,4969,4977,4992,5007,5024,5109,5112,5117,5121,5740,5743,5759,5761,5786,5792,5866,5870,5880,5888,5900,5902,5908,5920,5940,5952,5971,5984,5996,5998,6e3,6002,6003,6016,6099,6103,6103,6108,6109,6112,6121,6155,6157,6160,6169,6176,6264,6272,6314,6320,6389,6400,6430,6432,6443,6448,6459,6470,6509,6512,6516,6528,6571,6576,6601,6608,6618,6656,6683,6688,6750,6752,6780,6783,6793,6800,6809,6823,6823,6832,6845,6912,6987,6992,7001,7019,7027,7040,7155,7168,7223,7232,7241,7245,7293,7296,7304,7312,7354,7357,7359,7376,7378,7380,7418,7424,7673,7675,7957,7960,7965,7968,8005,8008,8013,8016,8023,8025,8025,8027,8027,8029,8029,8031,8061,8064,8116,8118,8124,8126,8126,8130,8132,8134,8140,8144,8147,8150,8155,8160,8172,8178,8180,8182,8188,8255,8256,8276,8276,8305,8305,8319,8319,8336,8348,8400,8412,8417,8417,8421,8432,8450,8450,8455,8455,8458,8467,8469,8469,8472,8477,8484,8484,8486,8486,8488,8488,8490,8505,8508,8511,8517,8521,8526,8526,8544,8584,11264,11310,11312,11358,11360,11492,11499,11507,11520,11557,11559,11559,11565,11565,11568,11623,11631,11631,11647,11670,11680,11686,11688,11694,11696,11702,11704,11710,11712,11718,11720,11726,11728,11734,11736,11742,11744,11775,12293,12295,12321,12335,12337,12341,12344,12348,12353,12438,12441,12447,12449,12538,12540,12543,12549,12591,12593,12686,12704,12730,12784,12799,13312,19893,19968,40943,40960,42124,42192,42237,42240,42508,42512,42539,42560,42607,42612,42621,42623,42737,42775,42783,42786,42888,42891,42943,42946,42950,42999,43047,43072,43123,43136,43205,43216,43225,43232,43255,43259,43259,43261,43309,43312,43347,43360,43388,43392,43456,43471,43481,43488,43518,43520,43574,43584,43597,43600,43609,43616,43638,43642,43714,43739,43741,43744,43759,43762,43766,43777,43782,43785,43790,43793,43798,43808,43814,43816,43822,43824,43866,43868,43879,43888,44010,44012,44013,44016,44025,44032,55203,55216,55238,55243,55291,63744,64109,64112,64217,64256,64262,64275,64279,64285,64296,64298,64310,64312,64316,64318,64318,64320,64321,64323,64324,64326,64433,64467,64829,64848,64911,64914,64967,65008,65019,65024,65039,65056,65071,65075,65076,65101,65103,65136,65140,65142,65276,65296,65305,65313,65338,65343,65343,65345,65370,65382,65470,65474,65479,65482,65487,65490,65495,65498,65500,65536,65547,65549,65574,65576,65594,65596,65597,65599,65613,65616,65629,65664,65786,65856,65908,66045,66045,66176,66204,66208,66256,66272,66272,66304,66335,66349,66378,66384,66426,66432,66461,66464,66499,66504,66511,66513,66517,66560,66717,66720,66729,66736,66771,66776,66811,66816,66855,66864,66915,67072,67382,67392,67413,67424,67431,67584,67589,67592,67592,67594,67637,67639,67640,67644,67644,67647,67669,67680,67702,67712,67742,67808,67826,67828,67829,67840,67861,67872,67897,67968,68023,68030,68031,68096,68099,68101,68102,68108,68115,68117,68119,68121,68149,68152,68154,68159,68159,68192,68220,68224,68252,68288,68295,68297,68326,68352,68405,68416,68437,68448,68466,68480,68497,68608,68680,68736,68786,68800,68850,68864,68903,68912,68921,69376,69404,69415,69415,69424,69456,69600,69622,69632,69702,69734,69743,69759,69818,69840,69864,69872,69881,69888,69940,69942,69951,69956,69958,69968,70003,70006,70006,70016,70084,70089,70092,70096,70106,70108,70108,70144,70161,70163,70199,70206,70206,70272,70278,70280,70280,70282,70285,70287,70301,70303,70312,70320,70378,70384,70393,70400,70403,70405,70412,70415,70416,70419,70440,70442,70448,70450,70451,70453,70457,70459,70468,70471,70472,70475,70477,70480,70480,70487,70487,70493,70499,70502,70508,70512,70516,70656,70730,70736,70745,70750,70751,70784,70853,70855,70855,70864,70873,71040,71093,71096,71104,71128,71133,71168,71232,71236,71236,71248,71257,71296,71352,71360,71369,71424,71450,71453,71467,71472,71481,71680,71738,71840,71913,71935,71935,72096,72103,72106,72151,72154,72161,72163,72164,72192,72254,72263,72263,72272,72345,72349,72349,72384,72440,72704,72712,72714,72758,72760,72768,72784,72793,72818,72847,72850,72871,72873,72886,72960,72966,72968,72969,72971,73014,73018,73018,73020,73021,73023,73031,73040,73049,73056,73061,73063,73064,73066,73102,73104,73105,73107,73112,73120,73129,73440,73462,73728,74649,74752,74862,74880,75075,77824,78894,82944,83526,92160,92728,92736,92766,92768,92777,92880,92909,92912,92916,92928,92982,92992,92995,93008,93017,93027,93047,93053,93071,93760,93823,93952,94026,94031,94087,94095,94111,94176,94177,94179,94179,94208,100343,100352,101106,110592,110878,110928,110930,110948,110951,110960,111355,113664,113770,113776,113788,113792,113800,113808,113817,113821,113822,119141,119145,119149,119154,119163,119170,119173,119179,119210,119213,119362,119364,119808,119892,119894,119964,119966,119967,119970,119970,119973,119974,119977,119980,119982,119993,119995,119995,119997,120003,120005,120069,120071,120074,120077,120084,120086,120092,120094,120121,120123,120126,120128,120132,120134,120134,120138,120144,120146,120485,120488,120512,120514,120538,120540,120570,120572,120596,120598,120628,120630,120654,120656,120686,120688,120712,120714,120744,120746,120770,120772,120779,120782,120831,121344,121398,121403,121452,121461,121461,121476,121476,121499,121503,121505,121519,122880,122886,122888,122904,122907,122913,122915,122916,122918,122922,123136,123180,123184,123197,123200,123209,123214,123214,123584,123641,124928,125124,125136,125142,125184,125259,125264,125273,126464,126467,126469,126495,126497,126498,126500,126500,126503,126503,126505,126514,126516,126519,126521,126521,126523,126523,126530,126530,126535,126535,126537,126537,126539,126539,126541,126543,126545,126546,126548,126548,126551,126551,126553,126553,126555,126555,126557,126557,126559,126559,126561,126562,126564,126564,126567,126570,126572,126578,126580,126583,126585,126588,126590,126590,126592,126601,126603,126619,126625,126627,126629,126633,126635,126651,131072,173782,173824,177972,177984,178205,178208,183969,183984,191456,194560,195101,917760,917999],_a=/^\/\/\/?\s*@(ts-expect-error|ts-ignore)/,da=/^(?:\/|\*)*\s*@(ts-expect-error|ts-ignore)/,fa=/@(?:see|link)/i,n=[],ia.forEach(function(e,t){n[e]=t}),N4=n,pa="<<<<<<<".length,ma=/^#!.*/,Sa=String.fromCodePoint?function(e){return String.fromCodePoint(e)}:oo}});function I4(e){return v4(e)||pi(e)}function fo(e){return P(e,sF)}function po(e){switch(cF(e)){case 99:return"lib.esnext.full.d.ts";case 9:return"lib.es2022.full.d.ts";case 8:return"lib.es2021.full.d.ts";case 7:return"lib.es2020.full.d.ts";case 6:return"lib.es2019.full.d.ts";case 5:return"lib.es2018.full.d.ts";case 4:return"lib.es2017.full.d.ts";case 3:return"lib.es2016.full.d.ts";case 2:return"lib.es6.d.ts";default:return"lib.d.ts"}}function O4(e){return e.start+e.length}function mo(e){return 0===e.length}function L4(e,t){return t>=e.start&&t=e.pos&&t<=e.end}function go(e,t){return t.start>=e.start&&O4(t)<=O4(e)}function ho(e,t){return void 0!==yo(e,t)}function yo(e,t){e=ko(e,t);return e&&0===e.length?void 0:e}function vo(e,t){return bo(e.start,e.length,t.start,t.length)}function xo(e,t,n){return bo(e.start,e.length,t,n)}function bo(e,t,n,r){return n<=e+t&&e<=n+r}function So(e,t){return t<=O4(e)&&t>=e.start}function ko(e,t){var n=Math.max(e.start,t.start),e=Math.min(O4(e),O4(t));return n<=e?Co(n,e):void 0}function To(e,t){if(e<0)throw new Error("start < 0");if(t<0)throw new Error("length < 0");return{start:e,length:t}}function Co(e,t){return To(e,t-e)}function wo(e){return To(e.span.start,e.newLength)}function No(e){return mo(e.span)&&0===e.newLength}function Fo(e,t){if(t<0)throw new Error("newLength < 0");return{span:e,newLength:t}}function Do(e){if(0===e.length)return co;if(1===e.length)return e[0];for(var t=e[0],n=t.span.start,r=O4(t.span),i=n+t.newLength,a=1;a=r.pos,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809"),G3.assert(u<=r.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809")),Co(u,r.end)}function h8(e){return void 0!==(e.externalModuleIndicator||e.commonJsModuleIndicator)}function y8(e){return 6===e.scriptKind}function v8(e){return!!(4096&B4(e))}function x8(e){return!(!(8&B4(e))||M4(e,e.parent))}function Al(e){return 6==(7&J4(e))}function Il(e){return 4==(7&J4(e))}function Ol(e){return 2==(7&J4(e))}function Ll(e){return 1==(7&J4(e))}function b8(e){return 213===e.kind&&108===e.expression.kind}function S8(e){return 213===e.kind&&102===e.expression.kind}function jl(e){return SP(e)&&102===e.keywordToken&&"meta"===e.name.escapedText}function k8(e){return nP(e)&&tP(e.argument)&&TD(e.argument.literal)}function Ml(e){return 244===e.kind&&11===e.expression.kind}function Rl(e){return!!(2097152&_l(e))}function Bl(e){return Rl(e)&&IP(e)}function Jl(e){return cT(e.name)&&!e.initializer}function zl(e){return Rl(e)&&CP(e)&&gT(e.declarationList.declarations,Jl)}function ql(e,t){return 12!==e.kind?$a(t.text,e.pos):void 0}function Ul(e,t){return U3(169===e.kind||168===e.kind||218===e.kind||219===e.kind||217===e.kind||260===e.kind||281===e.kind?PT(Za(t,e.pos),$a(t,e.pos)):$a(t,e.pos),function(e){return 42===t.charCodeAt(e.pos+1)&&42===t.charCodeAt(e.pos+2)&&47!==t.charCodeAt(e.pos+3)})}function T8(e){if(182<=e.kind&&e.kind<=205)return!0;switch(e.kind){case 133:case 159:case 150:case 163:case 154:case 136:case 155:case 151:case 157:case 106:case 146:return!0;case 116:return 222!==e.parent.kind;case 233:return aE(e.parent)&&!AN(e);case 168:return 200===e.parent.kind||195===e.parent.kind;case 80:(166===e.parent.kind&&e.parent.right===e||211===e.parent.kind&&e.parent.name===e)&&(e=e.parent),G3.assert(80===e.kind||166===e.kind||211===e.kind,"'node' was expected to be a qualified name, identifier or property access in 'isPartOfTypeNode'.");case 166:case 211:case 110:var t=e.parent;if(186===t.kind)return!1;if(205===t.kind)return!t.isTypeOf;if(182<=t.kind&&t.kind<=205)return!0;switch(t.kind){case 233:return aE(t.parent)&&!AN(t);case 168:case 352:return e===t.constraint;case 172:case 171:case 169:case 260:return e===t.type;case 262:case 218:case 219:case 176:case 174:case 173:case 177:case 178:return e===t.type;case 179:case 180:case 181:case 216:return e===t.type;case 213:case 214:case 215:return xT(t.typeArguments,e)}}return!1}function Vl(e,t){for(;e;){if(e.kind===t)return!0;e=e.parent}return!1}function C8(e,n){return function e(t){switch(t.kind){case 253:return n(t);case 269:case 241:case 245:case 246:case 247:case 248:case 249:case 250:case 254:case 255:case 296:case 297:case 256:case 258:case 299:return KE(t,e)}}(e)}function w8(e,r){return function e(t){switch(t.kind){case 229:r(t);var n=t.expression;return void(n&&e(n));case 266:case 264:case 267:case 265:return;default:PC(t)?t.name&&167===t.name.kind&&e(t.name.expression):T8(t)||KE(t,e)}}(e)}function N8(e){return e&&188===e.kind?e.elementType:e&&183===e.kind?yi(e.typeArguments):void 0}function F8(e){switch(e.kind){case 264:case 263:case 231:case 187:return e.members;case 210:return e.properties}}function D8(e){if(e)switch(e.kind){case 208:case 306:case 169:case 303:case 172:case 171:case 304:case 260:return!0}return!1}function P8(e){return D8(e)||MC(e)}function E8(e){return 261===e.parent.kind&&243===e.parent.parent.kind}function A8(e){return!!nT(e)&&(sP(e.parent)&&lT(e.parent.parent)&&2===I7(e.parent.parent)||I8(e.parent))}function I8(e){return!!nT(e)&&lT(e)&&1===I7(e)}function O8(e){return(EP(e)?Ol(e)&&cT(e.name)&&E8(e):ID(e)?bN(e)&&gN(e):AD(e)&&bN(e))||I8(e)}function L8(e){switch(e.kind){case 174:case 173:case 176:case 177:case 178:case 262:case 218:return!0}return!1}function Wl(e,t){for(;;){if(t&&t(e),256!==e.statement.kind)return e.statement;e=e.statement}}function Hl(e){return e&&241===e.kind&&PC(e.parent)}function j8(e){return e&&174===e.kind&&210===e.parent.kind}function M8(e){return!(174!==e.kind&&177!==e.kind&&178!==e.kind||210!==e.parent.kind&&231!==e.parent.kind)}function R8(e){return e&&1===e.kind}function Kl(e){return e&&0===e.kind}function Gl(e,n,r,i){return z3(null==e?void 0:e.properties,function(e){var t;if(sE(e))return t=Nl(e.name),n===t||i&&i===t?r(e):void 0})}function Xl(e,t,n){return Gl(e,t,function(e){return oP(e.initializer)?q3(e.initializer.elements,function(e){return TD(e)&&e.text===n}):void 0})}function Ql(e){if(e&&e.statements.length)return e4(e.statements[0].expression,sP)}function Yl(e,t,n){return $l(e,t,function(e){return oP(e.initializer)?q3(e.initializer.elements,function(e){return TD(e)&&e.text===n}):void 0})}function $l(e,t,n){return Gl(Ql(e),t,n)}function B8(e){return Y3(e.parent,PC)}function Zl(e){return Y3(e.parent,AC)}function J8(e){return Y3(e.parent,jC)}function z8(e){return Y3(e.parent,function(e){return jC(e)||PC(e)?"quit":jD(e)})}function q8(e){return Y3(e.parent,EC)}function U8(e){var t=Y3(e.parent,function(e){return jC(e)?"quit":ED(e)});return t&&jC(t.parent)?J8(t.parent):J8(null!=t?t:e)}function V8(e,t,n){for(G3.assert(312!==e.kind);;){if(!(e=e.parent))return G3.fail();switch(e.kind){case 167:if(n&&jC(e.parent.parent))return e;e=e.parent.parent;break;case 170:169===e.parent.kind&&LC(e.parent.parent)?e=e.parent.parent:LC(e.parent)&&(e=e.parent);break;case 219:if(!t)continue;case 262:case 218:case 267:case 175:case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 179:case 180:case 181:case 266:case 312:return e}}}function W8(e){switch(e.kind){case 219:case 262:case 218:case 172:return!0;case 241:switch(e.parent.kind){case 176:case 174:case 177:case 178:return!0;default:return!1}default:return!1}}function H8(e){return _E(V8(e=cT(e)&&(OP(e.parent)||IP(e.parent))&&e.parent.name===e?e.parent:e,!0,!1))}function K8(e){var t=V8(e,!1,!1);if(t)switch(t.kind){case 176:case 262:case 218:return t}}function G8(e,t){for(;;){if(!(e=e.parent))return;switch(e.kind){case 167:e=e.parent;break;case 262:case 218:case 219:if(!t)continue;case 172:case 171:case 174:case 173:case 176:case 177:case 178:case 175:return e;case 170:169===e.parent.kind&&LC(e.parent.parent)?e=e.parent.parent:LC(e.parent)&&(e=e.parent)}}}function X8(e){if(218===e.kind||219===e.kind){for(var t=e,n=e.parent;217===n.kind;)n=(t=n).parent;if(213===n.kind&&n.expression===t)return n}}function e_(e){return 108===e.kind||Q8(e)}function Q8(e){var t=e.kind;return(211===t||212===t)&&108===e.expression.kind}function Y8(e){var t=e.kind;return(211===t||212===t)&&110===e.expression.kind}function $8(e){return!!e&&EP(e)&&110===(null==(e=e.initializer)?void 0:e.kind)}function Z8(e){return!!e&&(cE(e)||sE(e))&&lT(e.parent.parent)&&64===e.parent.parent.operatorToken.kind&&110===e.parent.parent.right.kind}function e7(e){switch(e.kind){case 183:return e.typeName;case 233:return IN(e.expression)?e.expression:void 0;case 80:case 166:return e}}function t7(e){switch(e.kind){case 215:return e.tag;case 286:case 285:return e.tagName;case 226:return e.right;default:return e.expression}}function n7(e,t,n,r){if(!(e&&G4(t)&&CD(t.name)))switch(t.kind){case 263:return!0;case 231:return!e;case 172:return void 0!==n&&(e?OP(n):jC(n)&&!yN(t)&&!vN(t));case 177:case 178:case 174:return void 0!==t.body&&void 0!==n&&(e?OP:jC)(n);case 169:return e?void 0!==n&&void 0!==n.body&&(176===n.kind||174===n.kind||178===n.kind)&&nN(n)!==t&&void 0!==r&&263===r.kind:!1}return!1}function t_(e,t,n,r){return SN(t)&&n7(e,t,n,r)}function n_(e,t,n,r){return t_(e,t,n,r)||r_(e,t,n)}function r_(t,n,r){switch(n.kind){case 263:return W3(n.members,function(e){return n_(t,e,n,r)});case 231:return!t&&W3(n.members,function(e){return n_(t,e,n,r)});case 174:case 178:case 176:return W3(n.parameters,function(e){return t_(t,e,n,r)});default:return!1}}function r7(e,t){var n;return!!t_(e,t)||!!(n=eN(t))&&r_(e,n,t)}function i7(e,t,n){var r,i;if(MC(t)){var a=sN(n.members,t),o=a.firstAccessor,s=a.secondAccessor,a=a.setAccessor,o=SN(o)?o:s&&SN(s)?s:void 0;if(!o||t!==o)return!1;s=null==a?void 0:a.parameters}else LD(t)&&(s=t.parameters);if(t_(e,t,n))return!0;if(s)try{for(var c=__values(s),u=c.next();!u.done;u=c.next()){var l=u.value;if(!rN(l)&&t_(e,l,t,n))return!0}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return!1}function i_(e){if(e.textSourceNode){switch(e.textSourceNode.kind){case 11:return i_(e.textSourceNode);case 15:return""===e.text}return!1}return""===e.text}function a7(e){var t=e.parent;return(286===t.kind||285===t.kind||287===t.kind)&&t.tagName===e}function o7(e){switch(e.kind){case 108:case 106:case 112:case 97:case 14:case 209:case 210:case 211:case 212:case 213:case 214:case 215:case 234:case 216:case 238:case 235:case 217:case 218:case 231:case 219:case 222:case 220:case 221:case 224:case 225:case 226:case 227:case 230:case 228:case 232:case 284:case 285:case 288:case 229:case 223:case 236:return!0;case 233:return!aE(e.parent)&&!TE(e.parent);case 166:for(;166===e.parent.kind;)e=e.parent;return 186===e.parent.kind||hw(e.parent)||fE(e.parent)||pE(e.parent)||a7(e);case 318:for(;pE(e.parent);)e=e.parent;return 186===e.parent.kind||hw(e.parent)||fE(e.parent)||pE(e.parent)||a7(e);case 81:return lT(e.parent)&&e.parent.left===e&&103===e.parent.operatorToken.kind;case 80:if(186===e.parent.kind||hw(e.parent)||fE(e.parent)||pE(e.parent)||a7(e))return!0;case 9:case 10:case 11:case 15:case 110:return s7(e);default:return!1}}function s7(e){var t=e.parent;switch(t.kind){case 260:case 169:case 172:case 171:case 306:case 303:case 208:return t.initializer===e;case 244:case 245:case 246:case 247:case 253:case 254:case 255:case 296:case 257:return t.expression===e;case 248:return t.initializer===e&&261!==t.initializer.kind||t.condition===e||t.incrementor===e;case 249:case 250:return t.initializer===e&&261!==t.initializer.kind||t.expression===e;case 216:case 234:case 239:case 167:return e===t.expression;case 170:case 294:case 293:case 305:return!0;case 233:return t.expression===e&&!T8(t);case 304:return t.objectAssignmentInitializer===e;case 238:return e===t.expression;default:return o7(t)}}function c7(e){for(;166===e.kind||80===e.kind;)e=e.parent;return 186===e.kind}function u7(e){return VP(e)&&!!e.parent.moduleSpecifier}function l7(e){return 271===e.kind&&283===e.moduleReference.kind}function _7(e){return G3.assert(l7(e)),e.moduleReference.expression}function d7(e){return v7(e)&&tF(e.initializer).arguments[0]}function f7(e){return 271===e.kind&&283!==e.moduleReference.kind}function p7(e){return nT(e)}function a_(e){return!nT(e)}function nT(e){return!!e&&!!(524288&e.flags)}function m7(e){return!!e&&!!(134217728&e.flags)}function o_(e){return!y8(e)}function g7(e){return!!e&&!!(16777216&e.flags)}function h7(e){return UD(e)&&cT(e.typeName)&&"Object"===e.typeName.escapedText&&e.typeArguments&&2===e.typeArguments.length&&(154===e.typeArguments[0].kind||150===e.typeArguments[0].kind)}function y7(e,t){var n;return 213===e.kind&&(n=e.expression,e=e.arguments,80===n.kind)&&"require"===n.escapedText&&1===e.length&&(n=e[0],!t||gw(n))}function s_(e){return c_(e,!1)}function v7(e){return c_(e,!0)}function x7(e){return aP(e)&&v7(e.parent.parent)}function c_(e,t){return EP(e)&&!!e.initializer&&y7(t?tF(e.initializer):e.initializer,!0)}function u_(e){return CP(e)&&0Fi(t)&&!r(t)&&(e(k4(t),n,r),n(t))}(k4(xa(t)),a,o),i(t,n,r)}}function Ld(e,t){return Oa(Aa(e),t)}function jd(e,t){return Oa(e,t)}function eN(e){return q3(e.members,function(e){return MD(e)&&Jw(e.body)})}function tN(e){var t;if(e&&0>>23}function Zd(e){return ef(e)|$d(Yd(e))}function ef(e){var t=VE(e)?CN(e.modifiers):0;return(8&e.flags||80===e.kind&&4096&e.flags)&&(t|=32),t}function CN(e){var t,n,r=0;if(e)try{for(var i=__values(e),a=i.next();!a.done;a=i.next())r|=wN(a.value.kind)}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function wN(e){switch(e){case 126:return 256;case 125:return 1;case 124:return 4;case 123:return 2;case 128:return 64;case 129:return 512;case 95:return 32;case 138:return 128;case 87:return 4096;case 90:return 2048;case 134:return 1024;case 148:return 8;case 164:return 16;case 103:return 8192;case 147:return 16384;case 170:return 32768}return 0}function tf(e){return 57===e||56===e}function nf(e){return tf(e)||54===e}function rf(e){return 76===e||77===e||78===e}function af(e){return lT(e)&&rf(e.operatorToken.kind)}function NN(e){return tf(e)||61===e}function FN(e){return lT(e)&&NN(e.operatorToken.kind)}function DN(e){return 64<=e&&e<=79}function of(e){e=PN(e);return e&&!e.isImplements?e.class:void 0}function PN(e){if(bP(e)){if(aE(e.parent)&&jC(e.parent.parent))return{class:e.parent.parent,isImplements:119===e.parent.token};if(TE(e.parent)){e=n5(e.parent);if(e&&jC(e))return{class:e,isImplements:!1}}}}function EN(e,t){return lT(e)&&(t?64===e.operatorToken.kind:DN(e.operatorToken.kind))&&GC(e.left)}function sf(e){return EN(e.parent)&&e.parent.left===e}function cf(e){return!!EN(e,!0)&&(210===(e=e.left.kind)||209===e)}function AN(e){return void 0!==of(e)}function IN(e){return 80===e.kind||jN(e)}function ON(e){switch(e.kind){case 80:return e;case 166:for(;80!==(e=e.left).kind;);return e;case 211:for(;80!==(e=e.expression).kind;);return e}}function LN(e){return 80===e.kind||110===e.kind||108===e.kind||236===e.kind||211===e.kind&&LN(e.expression)||217===e.kind&&LN(e.expression)}function jN(e){return uT(e)&&cT(e.name)&&IN(e.expression)}function MN(e){var t;if(uT(e)){if(void 0!==(t=MN(e.expression)))return t+"."+c8(e.name)}else if(cP(e)){if(void 0!==(t=MN(e.expression))&&DC(e.argumentExpression))return t+"."+I5(e.argumentExpression)}else{if(cT(e))return V4(e.escapedText);if(iE(e))return qm(e)}}function RN(e){return p_(e)&&"prototype"===M7(e)}function BN(e){return 166===e.parent.kind&&e.parent.right===e||211===e.parent.kind&&e.parent.name===e||236===e.parent.kind&&e.parent.name===e}function JN(e){return!!e.parent&&(uT(e.parent)&&e.parent.name===e||cP(e.parent)&&e.parent.argumentExpression===e)}function zN(e){return ND(e.parent)&&e.parent.right===e||uT(e.parent)&&e.parent.name===e||pE(e.parent)&&e.parent.right===e}function qN(e){return lT(e)&&104===e.operatorToken.kind}function UN(e){return qN(e.parent)&&e===e.parent.right}function uf(e){return 210===e.kind&&0===e.properties.length}function lf(e){return 209===e.kind&&0===e.elements.length}function VN(e){var t,n,r;if((r=e)&&0>6|192),t.push(63&i|128)):i<65536?(t.push(i>>12|224),t.push(i>>6&63|128),t.push(63&i|128)):i<131072?(t.push(i>>18|240),t.push(i>>12&63|128),t.push(i>>6&63|128),t.push(63&i|128)):G3.assert(!1,"Unexpected code point")}return t}(e),s=0,c=o.length;s>2,n=(3&o[s])<<4|o[s+1]>>4,r=(15&o[s+1])<<2|o[s+2]>>6,i=63&o[s+2],c<=s+1?r=i=64:c<=s+2&&(i=64),a+=nu.charAt(t)+nu.charAt(n)+nu.charAt(r)+nu.charAt(i),s+=3;return a}function df(e,t){return e&&e.base64encode?e.base64encode(t):_f(t)}function ff(e,t){if(e&&e.base64decode)return e.base64decode(t);for(var n=t.length,r=[],i=0;i>4&3,o=(15&o)<<4|s>>2&15,u=(3&s)<<6|63&c;0==o&&0!==s?r.push(a):0==u&&0!==c?r.push(a,o):r.push(a,o,u),i+=4}for(var l=r,_="",d=0,f=l.length;dt;)if(!ja(n.text.charCodeAt(e)))return e}(e,t,n);return La(n,null!=r?r:t,e)}function jf(e,t,n,r){r=E4(n.text,e,!1,r);return La(n,e,Math.min(t,r))}function Mf(e){var t=q4(e);if(t)switch(t.parent.kind){case 266:case 267:return t===t.parent.name}return!1}function Rf(e){return U3(e.declarations,Bf)}function Bf(e){return EP(e)&&void 0!==e.initializer}function Jf(e){return e.watch&&vi(e,"watch")}function zf(e){e.close()}function HN(e){return 33554432&e.flags?e.links.checkFlags:0}function KN(e,t){return void 0===t&&(t=!1),e.valueDeclaration?(t=B4(t&&e.declarations&&q3(e.declarations,BD)||32768&e.flags&&q3(e.declarations,RD)||e.valueDeclaration),e.parent&&32&e.parent.flags?t:-8&t):6&HN(e)?(1024&(t=e.links.checkFlags)?2:256&t?1:4)|(2048&t?256:0):4194304&e.flags?257:0}function qf(e,t){return 2097152&e.flags?t.getAliasedSymbol(e):e}function GN(e){return e.exportSymbol?e.exportSymbol.flags|e.flags:e.flags}function XN(e){return 1===Uf(e)}function QN(e){return 0!==Uf(e)}function Uf(e){var t=e.parent;switch(null==t?void 0:t.kind){case 217:return Uf(t);case 225:case 224:var n=t.operator;return 46===n||47===n?2:0;case 226:var n=t.left,r=t.operatorToken;return n===e&&DN(r.kind)?64===r.kind?1:2:0;case 211:return t.name!==e?0:Uf(t);case 303:n=Uf(t.parent);if(e===t.name){var i=n;switch(i){case 0:return 1;case 1:return 0;case 2:return 2;default:return G3.assertNever(i)}return}else return n;case 304:return e===t.objectAssignmentInitializer?0:Uf(t.parent);case 209:return Uf(t);default:return 0}}function Vf(e,t){if(!e||!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(var n in e)if("object"==typeof e[n]){if(!Vf(e[n],t[n]))return!1}else if("function"!=typeof e[n]&&e[n]!==t[n])return!1;return!0}function Wf(e,t){e.forEach(t),e.clear()}function Hf(r,i,e){var a=e.onDeleteValue,o=e.onExistingValue;r.forEach(function(e,t){var n=i.get(t);void 0===n?(r.delete(t),a(e,t)):o&&o(e,n,t)})}function Kf(n,e,t){Hf(n,e,t);var r=t.createNewValue;e.forEach(function(e,t){n.has(t)||n.set(t,r(t,e))})}function Gf(e){return!!(32&e.flags)&&!!(e=YN(e))&&rT(e,64)}function YN(e){return null==(e=e.declarations)?void 0:e.find(jC)}function iT(e){return 3899393&e.flags?e.objectFlags:0}function Xf(e,t){return!!ea(e,function(e){return!!t(e)||void 0})}function $N(e){return!!e&&!!e.declarations&&!!e.declarations[0]&&JP(e.declarations[0])}function Qf(e){e=e.moduleSpecifier;return TD(e)?e.text:zw(e)}function Yf(e){var n;return KE(e,function(e){Jw(e)&&(n=e)},function(e){for(var t=e.length-1;0<=t;t--)if(Jw(e[t])){n=e[t];break}}),n}function $f(e,t,n){return void 0===n&&(n=!0),!e.has(t)&&(e.set(t,n),!0)}function Zf(e){return jC(e)||LP(e)||KD(e)}function ZN(e){return 182<=e&&e<=205||133===e||159===e||150===e||163===e||151===e||136===e||154===e||155===e||116===e||157===e||146===e||141===e||233===e||319===e||320===e||321===e||322===e||323===e||324===e||325===e}function eF(e){return 211===e.kind||212===e.kind}function ep(e){return 211===e.kind?e.name:(G3.assert(212===e.kind),e.argumentExpression)}function tp(e){switch(e.kind){case"text":case"internal":return!0;default:return!1}}function np(e){return 275===e.kind||279===e.kind}function tF(e){for(;eF(e);)e=e.expression;return e}function rp(e,r){if(eF(e.parent)&&JN(e))return function e(t){if(211===t.kind){if(void 0!==(n=r(t.name)))return n}else if(212===t.kind){if(!cT(t.argumentExpression)&&!gw(t.argumentExpression))return;var n;if(void 0!==(n=r(t.argumentExpression)))return n}if(eF(t.expression))return e(t.expression);if(cT(t.expression))return r(t.expression);return}(e.parent)}function ip(e,t){for(;;){switch(e.kind){case 225:e=e.operand;continue;case 226:e=e.left;continue;case 227:e=e.condition;continue;case 215:e=e.tag;continue;case 213:if(t)return e;case 234:case 212:case 211:case 235:case 360:case 238:e=e.expression;continue}return e}}function ap(e,t){this.flags=e,this.escapedName=t,this.declarations=void 0,this.valueDeclaration=void 0,this.id=0,this.mergeId=0,this.parent=void 0,this.members=void 0,this.exports=void 0,this.exportSymbol=void 0,this.constEnumOnlyModule=void 0,this.isReferenced=void 0,this.isAssigned=void 0,this.links=void 0}function op(e,t){this.flags=t,(G3.isDebugging||X3)&&(this.checker=e)}function sp(e,t){this.flags=t,G3.isDebugging&&(this.checker=e)}function cp(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function up(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.emitNode=void 0}function lp(e,t,n){this.pos=t,this.end=n,this.kind=e,this.id=0,this.flags=0,this.transformFlags=0,this.parent=void 0,this.original=void 0,this.emitNode=void 0}function _p(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n||function(e){return e}}function dp(e){au.push(e),e(Cw)}function fp(e){Object.assign(Cw,e),z3(au,function(e){return e(Cw)})}function pp(e,n){return e.replace(/{(\d+)}/g,function(e,t){return""+G3.checkDefined(n[+t])})}function mp(e){ou=e}function gp(e){!ou&&e&&(ou=e())}function hp(e){return ou&&ou[e.key]||e.message}function yp(e,t,n,r,i){for(var a=[],o=5;ot.length?t.length-n:r);t=hp(i);return{file:void 0,start:n,length:r,messageText:t=W3(a)?pp(t,a):t,category:i.category,code:i.code,reportsUnnecessary:i.reportsUnnecessary,fileName:e}}function vp(e,t){var n,r,i=[];try{for(var a=__values(e),o=a.next();!o.done;o=a.next()){var s=o.value;i.push(function e(t,n){var r,i,a,o=n.fileName||"",s=n.text.length,c=(G3.assertEqual(t.fileName,o),G3.assertLessThanOrEqual(t.start,s),G3.assertLessThanOrEqual(t.start+t.length,s),{file:n,start:t.start,length:t.length,messageText:t.messageText,category:t.category,code:t.code,reportsUnnecessary:t.reportsUnnecessary});if(t.relatedInformation){c.relatedInformation=[];try{for(var u=__values(t.relatedInformation),l=u.next();!l.done;l=u.next()){var _=l.value;void 0===(a=_).file&&void 0!==a.start&&void 0!==a.length&&"string"==typeof a.fileName&&_.fileName===o?(G3.assertLessThanOrEqual(_.start,s),G3.assertLessThanOrEqual(_.start+_.length,s),c.relatedInformation.push(e(_,n))):c.relatedInformation.push(_)}}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}}return c}(s,t))}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}function nF(e,t,n,r){for(var i=[],a=4;an.next.length)return 1}return 0}(e.messageText,t.messageText)||0}function kp(e){return 4===e||2===e||1===e||6===e?1:0}function Tp(e){if(2&e.transformFlags)return sw(e)||_v(e)?e:KE(e,Tp)}function Cp(e){return e.isDeclarationFile?void 0:Tp(e)}function wp(e){return!(99!==e.impliedNodeFormat&&!S4(e.fileName,[".cjs",".cts",".mjs",".mts"])||e.isDeclarationFile)||void 0}function Np(e){switch(Fp(e)){case 3:return function(e){e.externalModuleIndicator=p1(e)||!e.isDeclarationFile||void 0};case 1:return function(e){e.externalModuleIndicator=p1(e)};case 2:var t=[p1],n=(4!==e.jsx&&5!==e.jsx||t.push(Cp),t.push(wp),d4.apply(void 0,__spreadArray([],__read(t),!1)));return function(e){e.externalModuleIndicator=n(e)}}}function cF(e){var t;return null!=(t=e.target)?t:(100===e.module?9:199===e.module&&99)||1}function uF(e){return"number"==typeof e.module?e.module:2<=cF(e)?5:1}function lF(e){return 5<=e&&e<=99}function _F(e){var t=e.moduleResolution;if(void 0===t)switch(uF(e)){case 1:t=2;break;case 100:t=3;break;case 199:t=99;break;default:t=1}return t}function Fp(e){return e.moduleDetection||(100===uF(e)||199===uF(e)?3:2)}function dF(e){switch(uF(e)){case 1:case 2:case 5:case 6:case 7:case 99:case 100:case 199:return!0;default:return!1}}function fF(e){return!(!e.isolatedModules&&!e.verbatimModuleSyntax)}function Dp(e){return e.verbatimModuleSyntax||e.isolatedModules&&e.preserveValueImports}function Pp(e){return!1===e.allowUnreachableCode}function Ep(e){return!1===e.allowUnusedLabels}function Ap(e){return!(!yF(e)||!e.declarationMap)}function pF(e){if(void 0!==e.esModuleInterop)return e.esModuleInterop;switch(uF(e)){case 100:case 199:return!0}}function mF(e){return void 0!==e.allowSyntheticDefaultImports?e.allowSyntheticDefaultImports:pF(e)||4===uF(e)||100===_F(e)}function Ip(e){return 3<=e&&e<=99||100===e}function gF(e){return!!e.noDtsResolution||100!==_F(e)}function Op(e){var t=_F(e);if(Ip(t)){if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}}return!1}function Lp(e){var t=_F(e);if(Ip(t)){if(void 0!==e.resolvePackageJsonExports)return e.resolvePackageJsonExports;switch(t){case 3:case 99:case 100:return!0}}return!1}function hF(e){return void 0!==e.resolveJsonModule?e.resolveJsonModule:100===_F(e)}function yF(e){return!(!e.declaration&&!e.composite)}function vF(e){return!(!e.preserveConstEnums&&!fF(e))}function jp(e){return!(!e.incremental&&!e.composite)}function xF(e,t){return void 0===e[t]?!!e.strict:!!e[t]}function Mp(e){return void 0===e.allowJs?!!e.checkJs:e.allowJs}function bF(e){return void 0===e.useDefineForClassFields?9<=cF(e):e.useDefineForClassFields}function SF(e){return!1!==e.useDefineForClassFields&&9<=cF(e)}function Rp(e,t){return Ou(t,e,t2)}function Bp(e,t){return Ou(t,e,n2)}function Jp(e,t){return Ou(t,e,r2)}function zp(e,t){return t.strictFlag?xF(e,t.name):t.allowJsFlag?Mp(e):e[t.name]}function kF(e){e=e.jsx;return 2===e||4===e||5===e}function TF(e,t){t=null==t?void 0:t.pragmas.get("jsximportsource"),t=$T(t)?t[t.length-1]:t;return 4===e.jsx||5===e.jsx||e.jsxImportSource||t?(null==t?void 0:t.arguments.factory)||e.jsxImportSource||"react":void 0}function CF(e,t){return e?"".concat(e,"/").concat(5===t.jsx?"jsx-dev-runtime":"jsx-runtime"):void 0}function qp(e){for(var t=!1,n=0;n>>4)+(15&a?1:0)),s=i-1,c=0;2<=s;s--,c+=t){var u=c>>>4,l=e.charCodeAt(s),l=(l<=57?l-48:10+l-(l<=70?65:97))<<(15&c),l=(o[u]|=l,l>>>16);l&&(o[u+1]|=l)}for(var _="",d=o.length-1,f=!0;f;){for(var p=0,f=!1,u=d;0<=u;u--){var m=p<<16|o[u],g=m/10|0,p=m-10*(o[u]=g);g&&!f&&(d=u,f=!0)}_=p+_}return _}function jF(e){var t=e.negative,e=e.base10Value;return(t&&"0"!==e?"-":"")+e}function wm(e){if(RF(e,!1))return MF(e)}function MF(e){var t=e.startsWith("-");return{negative:t,base10Value:LF("".concat(t?e.slice(1):e,"n"))}}function RF(e,t){var n,r,i,a,o;return""!==e&&(n=ro(99,!1),r=!0,n.setOnError(function(){return r=!1}),n.setText(e+"n"),(a=41===(i=n.scan()))&&(i=n.scan()),o=n.getTokenFlags(),r)&&10===i&&n.getTokenEnd()===e.length+1&&!(512&o)&&(!t||e===jF({negative:a,base10Value:LF(n.getTokenValue())}))}function BF(e){return!!(33554432&e.flags)||c7(e)||80===(t=e).kind&&(119===(null==(t=Y3(t.parent,function(e){switch(e.kind){case 298:return!0;case 211:case 233:return!1;default:return"quit"}}))?void 0:t.token)||264===(null==t?void 0:t.parent.kind))||function(e){for(;80===e.kind||211===e.kind;)e=e.parent;if(167!==e.kind)return!1;if(rT(e.parent,64))return!0;var t=e.parent.parent.kind;return 264===t||187===t}(e)||!(o7(e)||cT(t=e)&&cE(t.parent)&&t.parent.name===t);var t}function JF(e){return UD(e)&&cT(e.typeName)}function zF(e,t){if(void 0===t&&(t=n4),!(e.length<2))for(var n=e[0],r=1,i=e.length;r/,Mc=/^(\/\/\/\s*/,Rc=/^(\/\/\/\s*/,Bc=/^(\/\/\/\s*/,Jc=/^\/\/\/\s*/,zc=/^(\/\/\/\s*/,qc=function(e){return e[e.None=0]="None",e[e.Definite=1]="Definite",e[e.Compound=2]="Compound",e}(qc||{}),Uc=function(e){return e[e.Normal=0]="Normal",e[e.Generator=1]="Generator",e[e.Async=2]="Async",e[e.Invalid=4]="Invalid",e[e.AsyncGenerator=3]="AsyncGenerator",e}(Uc||{}),Vc=function(e){return e[e.Left=0]="Left",e[e.Right=1]="Right",e}(Vc||{}),Wc=function(e){return e[e.Comma=0]="Comma",e[e.Spread=1]="Spread",e[e.Yield=2]="Yield",e[e.Assignment=3]="Assignment",e[e.Conditional=4]="Conditional",e[e.Coalesce=4]="Coalesce",e[e.LogicalOR=5]="LogicalOR",e[e.LogicalAND=6]="LogicalAND",e[e.BitwiseOR=7]="BitwiseOR",e[e.BitwiseXOR=8]="BitwiseXOR",e[e.BitwiseAND=9]="BitwiseAND",e[e.Equality=10]="Equality",e[e.Relational=11]="Relational",e[e.Shift=12]="Shift",e[e.Additive=13]="Additive",e[e.Multiplicative=14]="Multiplicative",e[e.Exponentiation=15]="Exponentiation",e[e.Unary=16]="Unary",e[e.Update=17]="Update",e[e.LeftHandSide=18]="LeftHandSide",e[e.Member=19]="Member",e[e.Primary=20]="Primary",e[e.Highest=20]="Highest",e[e.Lowest=0]="Lowest",e[e.Invalid=-1]="Invalid",e}(Wc||{}),Hc=/\$\{/g,Kc=/[\\"\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Gc=/[\\'\u0000-\u001f\t\v\f\b\r\n\u2028\u2029\u0085]/g,Xc=/\r\n|[\\`\u0000-\u001f\t\v\f\b\r\u2028\u2029\u0085]/g,Qc=new Map(Object.entries({"\t":"\\t","\v":"\\v","\f":"\\f","\b":"\\b","\r":"\\r","\n":"\\n","\\":"\\\\",'"':'\\"',"'":"\\'","`":"\\`","\u2028":"\\u2028","\u2029":"\\u2029","…":"\\u0085","\r\n":"\\r\\n"})),Yc=/[^\u0000-\u007F]/g,$c=/["\u0000-\u001f\u2028\u2029\u0085]/g,Zc=/['\u0000-\u001f\u2028\u2029\u0085]/g,eu=new Map(Object.entries({'"':""","'":"'"})),tu=[""," "],nu="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",ru="\r\n",iu="\n",Cw={getNodeConstructor:function(){return cp},getTokenConstructor:function(){return up},getIdentifierConstructor:function(){return lp},getPrivateIdentifierConstructor:function(){return cp},getSourceFileConstructor:function(){return cp},getSymbolConstructor:function(){return ap},getTypeConstructor:function(){return op},getSignatureConstructor:function(){return sp},getSourceMapSourceConstructor:function(){return _p}},au=[],su=/[^\w\s/]/g,cu=[42,63],uu=["node_modules","bower_components","jspm_packages"],lu="(?!(".concat(uu.join("|"),")(/|$))"),_u={singleAsteriskRegexFragment:"([^./]|(\\.(?!min\\.js$))?)*",doubleAsteriskRegexFragment:"(/".concat(lu,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(e){return Zp(e,_u.singleAsteriskRegexFragment)}},du={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/".concat(lu,"[^/.][^/]*)*?"),replaceWildcardCharacter:function(e){return Zp(e,du.singleAsteriskRegexFragment)}},pu={files:_u,directories:du,exclude:fu={singleAsteriskRegexFragment:"[^/]*",doubleAsteriskRegexFragment:"(/.+?)?",replaceWildcardCharacter:function(e){return Zp(e,fu.singleAsteriskRegexFragment)}}},gu=CT(mu=[[".ts",".tsx",".d.ts"],[".cts",".d.cts"],[".mts",".d.mts"]]),hu=__spreadArray(__spreadArray([],__read(mu),!1),[[".json"]],!1),yu=[".d.ts",".d.cts",".d.mts",".cts",".mts",".ts",".tsx"],xu=CT(vu=[[".js",".jsx"],[".mjs"],[".cjs"]]),Su=__spreadArray(__spreadArray([],__read(bu=[[".ts",".tsx",".d.ts",".js",".jsx"],[".cts",".d.cts",".cjs"],[".mts",".d.mts",".mjs"]]),!1),[[".json"]],!1),ku=[".d.ts",".d.cts",".d.mts"],Tu=[".ts",".cts",".mts",".tsx"],Cu=[".mts",".d.mts",".mjs",".cts",".d.cts",".cjs"],wu=function(e){return e[e.Minimal=0]="Minimal",e[e.Index=1]="Index",e[e.JsExtension=2]="JsExtension",e[e.TsExtension=3]="TsExtension",e}(wu||{}),Nu=[".d.ts",".d.mts",".d.cts",".mjs",".mts",".cjs",".cts",".ts",".js",".tsx",".jsx",".json"],Fu={files:B3,directories:B3}}});function Vm(){var t,n,r,i,a;return{createBaseSourceFileNode:function(e){return new(a=a||Cw.getSourceFileConstructor())(e,-1,-1)},createBaseIdentifierNode:function(e){return new(r=r||Cw.getIdentifierConstructor())(e,-1,-1)},createBasePrivateIdentifierNode:function(e){return new(i=i||Cw.getPrivateIdentifierConstructor())(e,-1,-1)},createBaseTokenNode:function(e){return new(n=n||Cw.getTokenConstructor())(e,-1,-1)},createBaseNode:function(e){return new(t=t||Cw.getNodeConstructor())(e,-1,-1)}}}var Wm,Hm=e({"src/compiler/factory/baseNodeFactory.ts":function(){QM()}});function Km(i){var n,r;return{getParenthesizeLeftSideOfBinaryForOperator:function(t){var e=(n=n||new Map).get(t);e||(e=function(e){return o(t,e)},n.set(t,e));return e},getParenthesizeRightSideOfBinaryForOperator:function(t){var e=(r=r||new Map).get(t);e||(e=function(e){return s(t,void 0,e)},r.set(t,e));return e},parenthesizeLeftSideOfBinary:o,parenthesizeRightSideOfBinary:s,parenthesizeExpressionOfComputedPropertyName:function(e){return jE(e)?i.createParenthesizedExpression(e):e},parenthesizeConditionOfConditionalExpression:function(e){var t=sd(227,58);return 1===r4(ad(hs(e)),t)?e:i.createParenthesizedExpression(e)},parenthesizeBranchOfConditionalExpression:function(e){return jE(hs(e))?i.createParenthesizedExpression(e):e},parenthesizeExpressionOfExportDefault:function(e){var t=hs(e),n=jE(t);if(!n)switch(ip(t,!1).kind){case 231:case 218:n=!0}return n?i.createParenthesizedExpression(e):e},parenthesizeExpressionOfNew:function(e){var t=ip(e,!0);switch(t.kind){case 213:return i.createParenthesizedExpression(e);case 214:return t.arguments?e:i.createParenthesizedExpression(e)}return u(e)},parenthesizeLeftSideOfAccess:u,parenthesizeOperandOfPostfixUnary:function(e){return GC(e)?e:_T(i.createParenthesizedExpression(e),e)},parenthesizeOperandOfPrefixUnary:function(e){return sc(e)?e:_T(i.createParenthesizedExpression(e),e)},parenthesizeExpressionsOfCommaDelimitedList:function(e){var t=TT(e,l);return _T(i.createNodeArray(t,e.hasTrailingComma),e)},parenthesizeExpressionForDisallowedComma:l,parenthesizeExpressionOfExpressionStatement:function(e){var t=hs(e);if(uP(t)){var n=t.expression,r=hs(n).kind;if(218===r||219===r)return r=i.updateCallExpression(t,_T(i.createParenthesizedExpression(n),n),t.typeArguments,t.arguments),i.restoreOuterExpressions(e,r,8)}n=ip(t,!1).kind;return 210!==n&&218!==n?e:_T(i.createParenthesizedExpression(e),e)},parenthesizeConciseBodyOfArrowFunction:function(e){return TP(e)||!jE(e)&&210!==ip(e,!1).kind?e:_T(i.createParenthesizedExpression(e),e)},parenthesizeCheckTypeOfConditionalType:t,parenthesizeExtendsTypeOfConditionalType:function(e){if(194===e.kind)return i.createParenthesizedType(e);return e},parenthesizeConstituentTypesOfUnionType:function(e){return i.createNodeArray(TT(e,_))},parenthesizeConstituentTypeOfUnionType:_,parenthesizeConstituentTypesOfIntersectionType:function(e){return i.createNodeArray(TT(e,d))},parenthesizeConstituentTypeOfIntersectionType:d,parenthesizeOperandOfTypeOperator:f,parenthesizeOperandOfReadonlyTypeOperator:function(e){if(198===e.kind)return i.createParenthesizedType(e);return f(e)},parenthesizeNonArrayTypeOfPostfixType:p,parenthesizeElementTypesOfTupleType:function(e){return i.createNodeArray(TT(e,m))},parenthesizeElementTypeOfTupleType:m,parenthesizeTypeOfOptionalType:function(e){return g(e)?i.createParenthesizedType(e):p(e)},parenthesizeTypeArguments:function(e){if(W3(e))return i.createNodeArray(TT(e,y))},parenthesizeLeadingTypeArgument:h};function c(e){var t;return Fs((e=hs(e)).kind)?e.kind:226===e.kind&&40===e.operatorToken.kind?void 0!==e.cachedLiteralKind?e.cachedLiteralKind:(t=Fs(t=c(e.left))&&t===c(e.right)?t:0,e.cachedLiteralKind=t):0}function a(e,t,n,r){return 217!==hs(t).kind&&function(e,t,n,r){var i=sd(226,e),a=id(226,e),o=hs(t);if(!n&&219===t.kind&&3= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n };'}),priority:3,text:'\n var __metadata = (this && this.__metadata) || function (k, v) {\n if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);\n };'}),priority:4,text:"\n var __param = (this && this.__param) || function (paramIndex, decorator) {\n return function (target, key) { decorator(target, key, paramIndex); }\n };"}),priority:2,text:'\n var __esDecorate = (this && this.__esDecorate) || function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) { if (f !== void 0 && typeof f !== "function") throw new TypeError("Function expected"); return f; }\n var kind = contextIn.kind, key = kind === "getter" ? "get" : kind === "setter" ? "set" : "value";\n var target = !descriptorIn && ctor ? contextIn["static"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _, done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === "access" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) { if (done) throw new TypeError("Cannot add initializers after decoration has completed"); extraInitializers.push(accept(f || null)); };\n var result = (0, decorators[i])(kind === "accessor" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\n if (kind === "accessor") {\n if (result === void 0) continue;\n if (result === null || typeof result !== "object") throw new TypeError("Object expected");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.unshift(_);\n }\n else if (_ = accept(result)) {\n if (kind === "field") initializers.unshift(_);\n else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n };'}),priority:2,text:"\n var __runInitializers = (this && this.__runInitializers) || function (thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n };"}),priority:1,text:"\n var __assign = (this && this.__assign) || function () {\n __assign = Object.assign || function(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))\n t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n };"}),text:"\n var __await = (this && this.__await) || function (v) { return this instanceof __await ? (this.v = v, this) : new __await(v); }"}),dependencies:[ch],text:'\n var __asyncGenerator = (this && this.__asyncGenerator) || function (thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\n return i = {}, verb("next"), verb("throw"), verb("return", awaitReturn), i[Symbol.asyncIterator] = function () { return this; }, i;\n function awaitReturn(f) { return function (v) { return Promise.resolve(v).then(f, reject); }; }\n function verb(n, f) { if (g[n]) { i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; if (f) i[n] = f(i[n]); } }\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\n function fulfill(value) { resume("next", value); }\n function reject(value) { resume("throw", value); }\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\n };'}),dependencies:[ch],text:'\n var __asyncDelegator = (this && this.__asyncDelegator) || function (o) {\n var i, p;\n return i = {}, verb("next"), verb("throw", function (e) { throw e; }), verb("return"), i[Symbol.iterator] = function () { return this; }, i;\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\n };'}),text:'\n var __asyncValues = (this && this.__asyncValues) || function (o) {\n if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");\n var m = o[Symbol.asyncIterator], i;\n return m ? m.call(o) : (o = typeof __values === "function" ? __values(o) : o[Symbol.iterator](), i = {}, verb("next"), verb("throw"), verb("return"), i[Symbol.asyncIterator] = function () { return this; }, i);\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\n };'}),text:'\n var __rest = (this && this.__rest) || function (s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\n t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === "function")\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\n t[p[i]] = s[p[i]];\n }\n return t;\n };'}),priority:5,text:'\n var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\n function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n };'}),priority:0,text:'\n var __extends = (this && this.__extends) || (function () {\n var extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf ||\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\n return extendStatics(d, b);\n };\n\n return function (d, b) {\n if (typeof b !== "function" && b !== null)\n throw new TypeError("Class extends value " + String(b) + " is not a constructor or null");\n extendStatics(d, b);\n function __() { this.constructor = d; }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n };\n })();'}),priority:0,text:'\n var __makeTemplateObject = (this && this.__makeTemplateObject) || function (cooked, raw) {\n if (Object.defineProperty) { Object.defineProperty(cooked, "raw", { value: raw }); } else { cooked.raw = raw; }\n return cooked;\n };'}),text:'\n var __read = (this && this.__read) || function (o, n) {\n var m = typeof Symbol === "function" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o), r, ar = [], e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n }\n catch (error) { e = { error: error }; }\n finally {\n try {\n if (r && !r.done && (m = i["return"])) m.call(i);\n }\n finally { if (e) throw e.error; }\n }\n return ar;\n };'}),text:"\n var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n };"}),text:'\n var __propKey = (this && this.__propKey) || function (x) {\n return typeof x === "symbol" ? x : "".concat(x);\n };'}),text:'\n var __setFunctionName = (this && this.__setFunctionName) || function (f, name, prefix) {\n if (typeof name === "symbol") name = name.description ? "[".concat(name.description, "]") : "";\n return Object.defineProperty(f, "name", { configurable: true, value: prefix ? "".concat(prefix, " ", name) : name });\n };'}),text:'\n var __values = (this && this.__values) || function(o) {\n var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === "number") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return { value: o && o[i++], done: !o };\n }\n };\n throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");\n };'}),priority:6,text:'\n var __generator = (this && this.__generator) || function (thisArg, body) {\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\n return g = { next: verb(0), "throw": verb(1), "return": verb(2) }, typeof Symbol === "function" && (g[Symbol.iterator] = function() { return this; }), g;\n function verb(n) { return function (v) { return step([n, v]); }; }\n function step(op) {\n if (f) throw new TypeError("Generator is already executing.");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y["return"] : op[0] ? y["throw"] || ((t = y["return"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0: case 1: t = op; break;\n case 4: _.label++; return { value: op[1], done: false };\n case 5: _.label++; y = op[1]; op = [0]; continue;\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\n if (t[2]) _.ops.pop();\n _.trys.pop(); continue;\n }\n op = body.call(thisArg, _);\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\n }\n };'}),priority:1,text:'\n var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = { enumerable: true, get: function() { return m[k]; } };\n }\n Object.defineProperty(o, k2, desc);\n }) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n }));'}),priority:1,text:'\n var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {\n Object.defineProperty(o, "default", { enumerable: true, value: v });\n }) : function(o, v) {\n o["default"] = v;\n });'}),dependencies:[Sh,kh],priority:2,text:'\n var __importStar = (this && this.__importStar) || function (mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n };'}),text:'\n var __importDefault = (this && this.__importDefault) || function (mod) {\n return (mod && mod.__esModule) ? mod : { "default": mod };\n };'}),dependencies:[Sh],priority:2,text:'\n var __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n };'}),text:'\n var __classPrivateFieldGet = (this && this.__classPrivateFieldGet) || function (receiver, state, kind, f) {\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a getter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot read private member from an object whose class did not declare it");\n return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);\n };'}),text:'\n var __classPrivateFieldSet = (this && this.__classPrivateFieldSet) || function (receiver, state, value, kind, f) {\n if (kind === "m") throw new TypeError("Private method is not writable");\n if (kind === "a" && !f) throw new TypeError("Private accessor was defined without a setter");\n if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError("Cannot write private member to an object whose class did not declare it");\n return (kind === "a" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\n };'}),text:'\n var __classPrivateFieldIn = (this && this.__classPrivateFieldIn) || function(state, receiver) {\n if (receiver === null || (typeof receiver !== "object" && typeof receiver !== "function")) throw new TypeError("Cannot use \'in\' operator on non-object");\n return typeof state === "function" ? receiver === state : state.has(receiver);\n };'}),text:'\n var __addDisposableResource = (this && this.__addDisposableResource) || function (env, value, async) {\n if (value !== null && value !== void 0) {\n if (typeof value !== "object" && typeof value !== "function") throw new TypeError("Object expected.");\n var dispose;\n if (async) {\n if (!Symbol.asyncDispose) throw new TypeError("Symbol.asyncDispose is not defined.");\n dispose = value[Symbol.asyncDispose];\n }\n if (dispose === void 0) {\n if (!Symbol.dispose) throw new TypeError("Symbol.dispose is not defined.");\n dispose = value[Symbol.dispose];\n }\n if (typeof dispose !== "function") throw new TypeError("Object not disposable.");\n env.stack.push({ value: value, dispose: dispose, async: async });\n }\n else if (async) {\n env.stack.push({ async: true });\n }\n return value;\n };'}),text:'\n var __disposeResources = (this && this.__disposeResources) || (function (SuppressedError) {\n return function (env) {\n function fail(e) {\n env.error = env.hasError ? new SuppressedError(e, env.error, "An error was suppressed during disposal.") : e;\n env.hasError = true;\n }\n function next() {\n while (env.stack.length) {\n var rec = env.stack.pop();\n try {\n var result = rec.dispose && rec.dispose.call(rec.value);\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\n }\n catch (e) {\n fail(e);\n }\n }\n if (env.hasError) throw env.error;\n }\n return next();\n };\n })(typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {\n var e = new Error(message);\n return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;\n });'},Ih={name:"typescript:async-super",scoped:!0,text:Rh(__makeTemplateObject(["\n const "," = name => super[name];"],["\n const "," = name => super[name];"]),"_superIndex")},Oh={name:"typescript:advanced-async-super",scoped:!0,text:Rh(__makeTemplateObject(["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"],["\n const "," = (function (geti, seti) {\n const cache = Object.create(null);\n return name => cache[name] || (cache[name] = { get value() { return geti(name); }, set value(v) { seti(name, v); } });\n })(name => super[name], (name, value) => super[name] = value);"]),"_superIndex")}}});function kD(e){return 9===e.kind}function qh(e){return 10===e.kind}function TD(e){return 11===e.kind}function Uh(e){return 12===e.kind}function Vh(e){return 14===e.kind}function Wh(e){return 15===e.kind}function Hh(e){return 16===e.kind}function Kh(e){return 17===e.kind}function Gh(e){return 18===e.kind}function Xh(e){return 26===e.kind}function Qh(e){return 28===e.kind}function Yh(e){return 40===e.kind}function $h(e){return 41===e.kind}function Zh(e){return 42===e.kind}function ey(e){return 54===e.kind}function ty(e){return 58===e.kind}function ny(e){return 59===e.kind}function ry(e){return 29===e.kind}function iy(e){return 39===e.kind}function cT(e){return 80===e.kind}function CD(e){return 81===e.kind}function ay(e){return 95===e.kind}function oy(e){return 90===e.kind}function sy(e){return 134===e.kind}function cy(e){return 131===e.kind}function uy(e){return 135===e.kind}function ly(e){return 148===e.kind}function _y(e){return 126===e.kind}function dy(e){return 128===e.kind}function fy(e){return 164===e.kind}function py(e){return 129===e.kind}function my(e){return 108===e.kind}function wD(e){return 102===e.kind}function gy(e){return 84===e.kind}function ND(e){return 166===e.kind}function FD(e){return 167===e.kind}function DD(e){return 168===e.kind}function PD(e){return 169===e.kind}function ED(e){return 170===e.kind}function AD(e){return 171===e.kind}function ID(e){return 172===e.kind}function OD(e){return 173===e.kind}function LD(e){return 174===e.kind}function jD(e){return 175===e.kind}function MD(e){return 176===e.kind}function RD(e){return 177===e.kind}function BD(e){return 178===e.kind}function JD(e){return 179===e.kind}function zD(e){return 180===e.kind}function hy(e){return 181===e.kind}function qD(e){return 182===e.kind}function UD(e){return 183===e.kind}function VD(e){return 184===e.kind}function WD(e){return 185===e.kind}function HD(e){return 186===e.kind}function KD(e){return 187===e.kind}function yy(e){return 188===e.kind}function GD(e){return 189===e.kind}function XD(e){return 202===e.kind}function QD(e){return 190===e.kind}function YD(e){return 191===e.kind}function vy(e){return 192===e.kind}function xy(e){return 193===e.kind}function by(e){return 194===e.kind}function Sy(e){return 195===e.kind}function $D(e){return 196===e.kind}function ky(e){return 197===e.kind}function ZD(e){return 198===e.kind}function eP(e){return 199===e.kind}function Ty(e){return 200===e.kind}function tP(e){return 201===e.kind}function nP(e){return 205===e.kind}function Cy(e){return 204===e.kind}function wy(e){return 203===e.kind}function rP(e){return 206===e.kind}function iP(e){return 207===e.kind}function aP(e){return 208===e.kind}function oP(e){return 209===e.kind}function sP(e){return 210===e.kind}function uT(e){return 211===e.kind}function cP(e){return 212===e.kind}function uP(e){return 213===e.kind}function lP(e){return 214===e.kind}function _P(e){return 215===e.kind}function Ny(e){return 216===e.kind}function dP(e){return 217===e.kind}function fP(e){return 218===e.kind}function pP(e){return 219===e.kind}function Fy(e){return 220===e.kind}function mP(e){return 221===e.kind}function Dy(e){return 222===e.kind}function gP(e){return 223===e.kind}function hP(e){return 224===e.kind}function Py(e){return 225===e.kind}function lT(e){return 226===e.kind}function Ey(e){return 227===e.kind}function Ay(e){return 228===e.kind}function Iy(e){return 229===e.kind}function yP(e){return 230===e.kind}function vP(e){return 231===e.kind}function xP(e){return 232===e.kind}function bP(e){return 233===e.kind}function Oy(e){return 234===e.kind}function Ly(e){return 238===e.kind}function jy(e){return 235===e.kind}function SP(e){return 236===e.kind}function My(e){return 237===e.kind}function Ry(e){return 360===e.kind}function By(e){return 361===e.kind}function kP(e){return 239===e.kind}function Jy(e){return 240===e.kind}function TP(e){return 241===e.kind}function CP(e){return 243===e.kind}function zy(e){return 242===e.kind}function wP(e){return 244===e.kind}function NP(e){return 245===e.kind}function qy(e){return 246===e.kind}function Uy(e){return 247===e.kind}function FP(e){return 248===e.kind}function DP(e){return 249===e.kind}function PP(e){return 250===e.kind}function Vy(e){return 251===e.kind}function Wy(e){return 252===e.kind}function Hy(e){return 253===e.kind}function Ky(e){return 254===e.kind}function Gy(e){return 255===e.kind}function Xy(e){return 256===e.kind}function Qy(e){return 257===e.kind}function Yy(e){return 258===e.kind}function $y(e){return 259===e.kind}function EP(e){return 260===e.kind}function AP(e){return 261===e.kind}function IP(e){return 262===e.kind}function OP(e){return 263===e.kind}function LP(e){return 264===e.kind}function jP(e){return 265===e.kind}function MP(e){return 266===e.kind}function RP(e){return 267===e.kind}function BP(e){return 268===e.kind}function Zy(e){return 269===e.kind}function JP(e){return 270===e.kind}function zP(e){return 271===e.kind}function qP(e){return 272===e.kind}function UP(e){return 273===e.kind}function ev(e){return 302===e.kind}function tv(e){return 300===e.kind}function nv(e){return 301===e.kind}function rv(e){return 300===e.kind}function iv(e){return 301===e.kind}function av(e){return 274===e.kind}function VP(e){return 280===e.kind}function ov(e){return 275===e.kind}function WP(e){return 276===e.kind}function HP(e){return 277===e.kind}function KP(e){return 278===e.kind}function GP(e){return 279===e.kind}function XP(e){return 281===e.kind}function sv(e){return 282===e.kind}function cv(e){return 359===e.kind}function uv(e){return 362===e.kind}function QP(e){return 283===e.kind}function YP(e){return 284===e.kind}function $P(e){return 285===e.kind}function ZP(e){return 286===e.kind}function lv(e){return 287===e.kind}function _v(e){return 288===e.kind}function eE(e){return 289===e.kind}function dv(e){return 290===e.kind}function tE(e){return 291===e.kind}function nE(e){return 292===e.kind}function rE(e){return 293===e.kind}function fv(e){return 294===e.kind}function iE(e){return 295===e.kind}function pv(e){return 296===e.kind}function mv(e){return 297===e.kind}function aE(e){return 298===e.kind}function oE(e){return 299===e.kind}function sE(e){return 303===e.kind}function cE(e){return 304===e.kind}function uE(e){return 305===e.kind}function lE(e){return 306===e.kind}function gv(e){return 308===e.kind}function _E(e){return 312===e.kind}function hv(e){return 313===e.kind}function yv(e){return 314===e.kind}function dE(e){return 316===e.kind}function fE(e){return 317===e.kind}function pE(e){return 318===e.kind}function vv(e){return 331===e.kind}function xv(e){return 332===e.kind}function bv(e){return 333===e.kind}function mE(e){return 319===e.kind}function gE(e){return 320===e.kind}function hE(e){return 321===e.kind}function yE(e){return 322===e.kind}function vE(e){return 323===e.kind}function xE(e){return 324===e.kind}function bE(e){return 325===e.kind}function Sv(e){return 326===e.kind}function kv(e){return 327===e.kind}function SE(e){return 329===e.kind}function kE(e){return 330===e.kind}function TE(e){return 335===e.kind}function Tv(e){return 337===e.kind}function Cv(e){return 339===e.kind}function CE(e){return 345===e.kind}function wv(e){return 340===e.kind}function Nv(e){return 341===e.kind}function Fv(e){return 342===e.kind}function Dv(e){return 343===e.kind}function Pv(e){return 344===e.kind}function wE(e){return 346===e.kind}function Ev(e){return 338===e.kind}function Av(e){return 354===e.kind}function Iv(e){return 347===e.kind}function NE(e){return 348===e.kind}function FE(e){return 349===e.kind}function Ov(e){return 350===e.kind}function DE(e){return 351===e.kind}function PE(e){return 352===e.kind}function EE(e){return 353===e.kind}function Lv(e){return 334===e.kind}function AE(e){return 355===e.kind}function jv(e){return 336===e.kind}function IE(e){return 357===e.kind}function Mv(e){return 356===e.kind}function Rv(e){return 358===e.kind}var Bv,Jv,zv=e({"src/compiler/factory/nodeTests.ts":function(){QM()}});function OE(e){return e.createExportDeclaration(void 0,!1,e.createNamedExports([]),void 0)}function qv(e,t,n,r){return FD(n)?_T(e.createElementAccessExpression(t,n.expression),r):(Cg(r=_T(ps(n)?e.createPropertyAccessExpression(t,n):e.createElementAccessExpression(t,n),n),128),r)}function Uv(e,t){e=HE.createIdentifier(e||"React");return VF(e,q4(t)),e}function Vv(e,t,n){var r,i;return ND(t)?(r=Vv(e,t.left,n),(i=e.createIdentifier($3(t.right))).escapedText=t.right.escapedText,e.createPropertyAccessExpression(r,i)):Uv($3(t),n)}function Wv(e,t,n,r){return t?Vv(e,t,r):e.createPropertyAccessExpression(Uv(n,r),"createElement")}function Hv(e,t,n,r,i,a){var o,s,c=[n];if(r&&c.push(r),i&&0l.checkJsDirective.pos)&&(l.checkJsDirective={enabled:"ts-check"===t,end:e.range.end,pos:e.range.pos})});break;case"jsx":case"jsxfrag":case"jsximportsource":case"jsxruntime":return;default:G3.fail("Unhandled pragma kind")}})}function U1(e,t,n,r){var i,a;r&&(i=r[1].toLowerCase(),a=xr[i])&&a.kind&n&&"fail"!==(n=function(e,t){if(!t)return{};if(!e.args)return{};for(var n=t.trim().split(/\s+/),r={},i=0;i=t.pos})),n=0<=e?yT(o,function(e){return e.start>=r.pos},e):-1;0<=e&&K3(d,o,e,0<=n?n:void 0),ut(function(){var e=f;for(f|=65536,W.resetTokenState(r.pos),U();1!==K;){var t=W.getTokenFullStart(),n=Vt(0,k);if(a.push(n),t===W.getTokenFullStart()&&U(),0<=s){t=i.statements[s];if(n.end===t.pos)break;n.end>t.pos&&(s=_(i.statements,s+1))}}f=e},2),c=0<=s?l(i.statements,s):-1}();return 0<=s&&(t=i.statements[s],K3(a,i.statements,s),0<=(e=yT(o,function(e){return e.start>=t.pos})))&&K3(d,o,e),x=n,G.updateSourceFile(i,_T(E(a),i.statements));function u(e){return!(65536&e.flags)&&67108864&e.transformFlags}function l(e,t){for(var n=t;na.length+2&&u4(e,a))return"".concat(a," ").concat(e.slice(a.length))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}}(t);r?Q(n,e.end,Q3.Unknown_keyword_or_identifier_Did_you_mean_0,r):0!==K&&Q(n,e.end,Q3.Unexpected_keyword_or_identifier)}else X(Q3._0_expected,N4[27])}}function dt(e,t,n){K===n?X(t):X(e,W.getTokenValue())}function ft(e){K===e?$():(G3.assert(z_(e)),X(Q3._0_expected,F4(e)))}function pt(e,t,n,r){var i;K===t?U():(i=X(Q3._0_expected,F4(t)),n&&i&&PF(i,yp(_e,H,r,1,Q3.The_parser_expected_to_find_a_1_to_match_the_0_token_here,F4(e),F4(t))))}function ne(e){return K===e&&(U(),!0)}function w(e){if(K===e)return _()}function mt(e){if(K===e)return e=Y(),t=K,$(),ae(O(t),e);var t}function gt(e,t,n){return w(e)||oe(e,!1,t||Q3._0_expected,n||F4(e))}function _(){var e=Y(),t=K;return U(),ae(O(t),e)}function ht(){return 27===K||20===K||1===K||W.hasPrecedingLineBreak()}function yt(){return!!ht()&&(27===K&&U(),!0)}function re(){yt()||te(27)}function ie(e,t,n,r){e=E(e,r);return qF(e,t,null!=n?n:W.getTokenFullStart()),e}function ae(e,t,n){return qF(e,t,null!=n?n:W.getTokenFullStart()),f&&(e.flags|=f),Ne&&(Ne=!1,e.flags|=262144),e}function oe(e,t,n){for(var r=[],i=3;i");var a=G.createParameterDeclaration(void 0,void 0,t,void 0,void 0,void 0),t=(ae(a,t.pos),ie([a],a.pos,a.end)),a=gt(39),n=fr(!!i,n);return z(ae(G.createArrowFunction(i,void 0,t,void 0,a,n),e),r)}function lr(){if(134===K){if(U(),W.hasPrecedingLineBreak())return 0;if(21!==K&&30!==K)return 0}var e=K,t=U();if(21!==e)return G3.assert(30===e),V()||87===K?1===y?Z(function(){ne(87);var e=U();if(96===e)switch(U()){case 64:case 32:case 44:return!1;default:return!0}else if(28===e||64===e)return!0;return!1})?1:0:2:0;if(22===t)switch(U()){case 39:case 59:case 19:return 1;default:return 0}if(23===t||19===t)return 2;if(26===t)return 1;if(Rs(t)&&134!==t&&Z(jt))return 130===U()?0:1;if(V()||110===t)switch(U()){case 59:return 1;case 58:return U(),59===K||28===K||64===K||22===K?1:0;case 28:case 64:case 22:return 2}return 0}function _r(){if(134===K){if(U(),W.hasPrecedingLineBreak()||39===K)return 0;var e=pr(0);if(!W.hasPrecedingLineBreak()&&80===e.kind&&39===K)return 1}return 0}function dr(e,t){var n,r=Y(),i=S(),a=Bi(),o=W3(a,sy)?2:0,s=pn();if(te(21)){if(e)n=vn(o,e);else{o=vn(o,e);if(!o)return;n=o}if(!te(22)&&!e)return}else{if(!e)return;n=Xt()}var o=59===K,c=yn(59,!1);if(!c||e||!function e(t){switch(t.kind){case 183:return Bw(t.typeName);case 184:case 185:var n=t.parameters,r=t.type;return!!n.isMissingList||e(r);case 196:return e(t.type);default:return!1}}(c)){for(var u=c;196===(null==u?void 0:u.kind);)u=u.type;var l=u&&xE(u);if(e||39===K||!l&&19===K){e=K,l=gt(39),e=39===e||19===e?fr(W3(a,sy),t):se();if(t||!o||59===K)return z(ae(G.createArrowFunction(a,s,n,c,l,e),r),i)}}}function fr(e,t){var n,r;return 19===K?Gr(e?2:0):27===K||100===K||86===K||!oi()||19!==K&&100!==K&&86!==K&&60!==K&&sr()?(n=p,p=!1,r=(e?Ue:Ve)(function(){return le(t)}),p=n,r):Gr(16|(e?2:0))}function pr(e){var t=Y();return gr(e,xr(),t)}function mr(e){return 103===e||165===e}function gr(e,t,n){for(;;){rt();var r=cd(K);if(!(43===K?e<=r:et&&p.push(i.slice(t-n)),n+=i.length;break;case 1:break e;case 82:e=2,r(W.getTokenValue());break;case 19:e=2;var a=W.getTokenFullStart(),o=x(W.getTokenEnd()-1);if(o){d||y(p),m.push(ae(G.createJSDocText(p.join("")),null!=d?d:u,a)),m.push(o),p=[],d=W.getTokenEnd();break}default:e=2,r(W.getTokenText())}2===e?nt(!1):$()}var s=p.join("").trimEnd();m.length&&s.length&&m.push(ae(G.createJSDocText(s),null!=d?d:u,f));m.length&&F&&G3.assertIsDefined(f,"having parsed tags implies that the end of the comment span should be set");var c=F&&ie(F,l,_);return ae(G.createJSDocComment(m.length?ie(m,u,f):s.length?s:void 0,c),u,h)}),T=t,e;function y(e){for(;e.length&&("\n"===e[0]||"\r"===e[0]);)e.shift()}function r(){for(;;){if($(),1===K)return!0;if(5!==K&&4!==K)return!1}}function D(){if(5!==K&&4!==K||!Z(r))for(;5===K||4===K;)$()}function P(){if((5===K||4===K)&&Z(r))return"";for(var e=W.hasPrecedingLineBreak(),t=!1,n="";e&&42===K||5===K||4===K;)n+=W.getTokenText(),4===K?(t=e=!0,n=""):42===K&&(e=!1),$();return t?n:""}function v(e){G3.assert(60===K);var t,n,r,i,a,o,s,c,u,l,_,d,f,p,m,g,h,y,v,x,b,S,k,T,C=W.getTokenStart(),w=($(),V(void 0)),N=P();switch(w.escapedText){case"author":t=function(e,t,n,r){var i=Y(),a=function(){var e=[],t=!1,n=W.getToken();for(;1!==n&&4!==n;){if(30===n)t=!0;else{if(60===n&&!t)break;if(32===n&&t){e.push(W.getTokenText()),W.resetTokenState(W.getTokenEnd());break}}e.push(W.getTokenText()),n=$()}return G.createJSDocText(e.join(""))}(),o=W.getTokenFullStart(),n=E(e,o,n,r);n||(o=W.getTokenFullStart());r="string"!=typeof n?ie(PT([ae(a,i,o)],n),i):a.text+n;return ae(G.createJSDocAuthorTag(t,r),e)}(C,w,e,N);break;case"implements":x=C,b=w,S=e,k=N,T=R(),t=ae(G.createJSDocImplementsTag(b,T,E(x,Y(),S,k)),x);break;case"augments":case"extends":b=C,T=w,S=e,k=N,x=R(),t=ae(G.createJSDocAugmentsTag(T,x,E(b,Y(),S,k)),b);break;case"class":case"constructor":t=B(C,G.createJSDocClassTag,w,e,N);break;case"public":t=B(C,G.createJSDocPublicTag,w,e,N);break;case"private":t=B(C,G.createJSDocPrivateTag,w,e,N);break;case"protected":t=B(C,G.createJSDocProtectedTag,w,e,N);break;case"readonly":t=B(C,G.createJSDocReadonlyTag,w,e,N);break;case"override":t=B(C,G.createJSDocOverrideTag,w,e,N);break;case"deprecated":Fe=!0,t=B(C,G.createJSDocDeprecatedTag,w,e,N);break;case"this":m=C,g=w,h=e,y=N,v=sa(!0),D(),t=ae(G.createJSDocThisTag(g,v,E(m,Y(),h,y)),m);break;case"enum":g=C,v=w,h=e,y=N,m=sa(!0),D(),t=ae(G.createJSDocEnumTag(v,m,E(g,Y(),h,y)),g);break;case"arg":case"argument":case"param":return j(C,w,2,e);case"return":case"returns":l=C,_=w,d=e,f=N,W3(F,FE)&&Q(_.pos,W.getTokenStart(),Q3._0_tag_already_specified,V4(_.escapedText)),p=O(),t=ae(G.createJSDocReturnTag(_,p,E(l,Y(),d,f)),l);break;case"template":t=U(C,w,e,N);break;case"type":t=M(C,w,e,N);break;case"typedef":t=function(e,t,n,r){var i,a=O(),o=(P(),J()),s=(D(),A(n));if(!a||L(a.type)){for(var c,u=void 0,l=void 0,_=void 0,d=!1;(u=ee(function(){return q(1,n)}))&&352!==u.kind;)if(d=!0,351===u.kind){if(l){var f=X(Q3.A_JSDoc_typedef_comment_may_not_contain_multiple_type_tags);f&&PF(f,yp(_e,H,0,0,Q3.The_tag_was_first_specified_here));break}l=u}else _=H3(_,u);d&&(c=a&&188===a.type.kind,c=G.createJSDocTypeLiteral(_,c),a=l&&l.typeExpression&&!L(l.typeExpression.type)?l.typeExpression:ae(c,e),c=a.end)}c=c||void 0!==s?Y():(null!=(i=null!=o?o:a)?i:t).end,s=s||E(e,c,n,r);return ae(G.createJSDocTypedefTag(t,a,o,s),e,c)}(C,w,e,N);break;case"callback":t=function(e,t,n,r){var i=J(),a=(D(),A(n)),o=z(e,n);a=a||E(e,Y(),n,r);n=void 0!==a?Y():o.end;return ae(G.createJSDocCallbackTag(t,o,i,a),e,n)}(C,w,e,N);break;case"overload":t=function(e,t,n,r){D();var i=A(n),a=z(e,n);i=i||E(e,Y(),n,r);n=void 0!==i?Y():a.end;return ae(G.createJSDocOverloadTag(t,a,i),e,n)}(C,w,e,N);break;case"satisfies":_=C,p=w,d=e,f=N,l=sa(!1),d=void 0!==d&&void 0!==f?E(_,Y(),d,f):void 0,t=ae(G.createJSDocSatisfiesTag(p,l,d),_);break;case"see":a=C,o=w,s=e,c=N,u=23===K||Z(function(){return 60===$()&&80<=$()&&I(W.getTokenValue())})?void 0:ca(),s=void 0!==s&&void 0!==c?E(a,Y(),s,c):void 0,t=ae(G.createJSDocSeeTag(o,u,s),a);break;case"exception":case"throws":c=C,o=w,u=e,s=N,a=O(),u=E(c,Y(),u,s),t=ae(G.createJSDocThrowsTag(o,a,u),c);break;default:n=C,r=e,i=N,t=ae(G.createJSDocUnknownTag(w,E(n,Y(),r,i)),n)}return t}function E(e,t,n,r){return r||(n+=t-e),A(n,r.slice(n))}function A(t,e){var n,r,i=Y(),a=[],o=[],s=0;function c(e){r=r||t,a.push(e),t+=e.length}void 0!==e&&(""!==e&&c(e),s=1);var u=K;e:for(;;){switch(u){case 4:s=0,a.push(W.getTokenText()),t=0;break;case 60:W.resetTokenState(W.getTokenEnd()-1);break e;case 1:break e;case 5:G3.assert(2!==s&&3!==s,"whitespace shouldn't come from the scanner while saving comment text");var l=W.getTokenText();void 0!==r&&t+l.length>r&&(a.push(l.slice(r-t)),s=2),t+=l.length;break;case 19:var s=2,l=W.getTokenFullStart(),_=x(W.getTokenEnd()-1);_?(o.push(ae(G.createJSDocText(a.join("")),null!=n?n:i,l)),o.push(_),a=[],n=W.getTokenEnd()):c(W.getTokenText());break;case 62:s=3===s?2:3,c(W.getTokenText());break;case 82:3!==s&&(s=2),c(W.getTokenValue());break;case 42:if(0===s){t+=s=1;break}default:3!==s&&(s=2),c(W.getTokenText())}u=2===s||3===s?nt(3===s):$()}y(a);e=a.join("").trimEnd();return o.length?(e.length&&o.push(ae(G.createJSDocText(e),null!=n?n:i)),ie(o,i,W.getTokenEnd())):e.length?e:void 0}function x(e){var t=ee(b);if(t){$(),D();var n=Y(),r=80<=K?Yt(!0):void 0;if(r)for(;81===K;)ot(),$(),r=ae(G.createJSDocMemberName(r,se()),n);for(var i=[];20!==K&&4!==K&&1!==K;)i.push(W.getTokenText()),$();return ae(("link"===t?G.createJSDocLink:"linkcode"===t?G.createJSDocLinkCode:G.createJSDocLinkPlain)(r,i.join("")),e,W.getTokenEnd())}}function b(){if(P(),19===K&&60===$()&&80<=$()){var e=W.getTokenValue();if(I(e))return e}}function I(e){return"link"===e||"linkcode"===e||"linkplain"===e}function O(){return P(),19===K?sa():void 0}function S(){var e=k(23),t=(e&&D(),k(62)),n=function(){var e=V();ne(23)&&te(24);for(;ne(25);){var t=V();ne(23)&&te(24),e=function(e,t){return ae(G.createQualifiedName(e,t),e.pos)}(e,t)}return e}();return t&&!mt(t=62)&&(G3.assert(z_(t)),oe(t,!1,Q3._0_expected,F4(t))),e&&(D(),w(64)&&N(),te(24)),{name:n,isBracketed:e}}function L(e){switch(e.kind){case 151:return!0;case 188:return L(e.elementType);default:return UD(e)&&cT(e.typeName)&&"Object"===e.typeName.escapedText&&!e.typeArguments}}function j(e,t,n,r){var i=O(),a=!i,o=(P(),S()),s=o.name,o=o.isBracketed,c=P(),c=(a&&!Z(b)&&(i=O()),E(e,Y(),r,c)),r=function(e,t,n,r){if(e&&L(e.type)){for(var i=Y(),a=void 0,o=void 0;a=ee(function(){return q(n,r,t)});)348===a.kind||355===a.kind?o=H3(o,a):352===a.kind&&$e(a.tagName,Q3.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);if(o)return e=ae(G.createJSDocTypeLiteral(o,188===e.type.kind),i),ae(G.createJSDocTypeExpression(e),i)}}(i,s,n,r);return r&&(i=r,a=!0),ae(1===n?G.createJSDocPropertyTag(t,s,o,i,a,c):G.createJSDocParameterTag(t,s,o,i,a,c),e)}function M(e,t,n,r){W3(F,DE)&&Q(t.pos,W.getTokenStart(),Q3._0_tag_already_specified,V4(t.escapedText));var i=sa(!0),n=void 0!==n&&void 0!==r?E(e,Y(),n,r):void 0;return ae(G.createJSDocTypeTag(t,i,n),e)}function R(){var e=ne(19),t=Y(),n=function(){var e=Y(),t=V();for(;ne(25);){var n=V();t=ae(pe(t,n),e)}return t}(),r=(W.setInJSDocType(!0),Hi());W.setInJSDocType(!1);n=ae(G.createExpressionWithTypeArguments(n,r),t);return e&&te(20),n}function B(e,t,n,r,i){return ae(t(n,E(e,Y(),r,i)),e)}function J(e){var t,n,r=W.getTokenStart();if(80<=K)return t=V(),ne(25)?(n=J(!0),ae(G.createModuleDeclaration(void 0,t,n,e?8:void 0),r)):(e&&(t.flags|=4096),t)}function z(e,t){var n=function(e){for(var t,n,r=Y();t=ee(function(){return q(4,e)});){if(352===t.kind){$e(t.tagName,Q3.A_JSDoc_template_tag_may_not_follow_a_typedef_callback_or_overload_tag);break}n=H3(n,t)}return ie(n||[],r)}(t),r=ee(function(){if(k(60)){var e=v(t);if(e&&349===e.kind)return e}});return ae(G.createJSDocSignature(void 0,n,r),e)}function q(e,t,n){for(var r,i=!0,a=!1;;)switch($()){case 60:if(i)return!((r=function(e,t){G3.assert(60===K);var n,r=W.getTokenFullStart(),i=($(),V()),a=P();switch(i.escapedText){case"type":return 1===e&&M(r,i);case"prop":case"property":n=1;break;case"arg":case"argument":case"param":n=6;break;case"template":return U(r,i,t,a);default:return!1}return!!(e&n)&&j(r,i,e,t)}(e,t))&&(348===r.kind||355===r.kind)&&n&&(cT(r.name)||!function(e,t){for(;!cT(e)||!cT(t);){if(cT(e)||cT(t)||e.right.escapedText!==t.right.escapedText)return;e=e.left,t=t.left}return e.escapedText===t.escapedText}(n,r.name.left)))&&r;a=!1;break;case 4:a=!(i=!0);break;case 42:a&&(i=!1),a=!0;break;case 80:i=!1;break;case 1:return!1}}function o(){var e=Y(),t=[];do{D();var n=function(){var e,t=Y(),n=k(23),r=(n&&D(),V(Q3.Unexpected_token_A_type_parameter_name_was_expected_without_curly_braces));if(n&&(D(),te(64),e=C(16777216,dn),te(24)),!Bw(r))return ae(G.createTypeParameterDeclaration(void 0,r,void 0,e),t)}()}while(void 0!==n&&t.push(n),P(),k(28));return ie(t,e)}function U(e,t,n,r){var i=19===K?sa():void 0,a=o();return ae(G.createJSDocTemplateTag(t,i,a,E(e,Y(),n,r)),e)}function k(e){return K===e&&($(),!0)}function V(e){if(!(80<=K))return oe(80,!e,e||Q3.Identifier_expected);de++;var e=W.getTokenStart(),t=W.getTokenEnd(),n=K,r=vt(W.getTokenValue()),r=ae(fe(r,n),e,t);return $(),r}}function la(e,t,o,s,c,u){function l(e){var t,n,r="";if(u&&_a(e)&&(r=s.substring(e.pos,e.end)),e._children&&(e._children=void 0),qF(e,e.pos+o,e.end+o),u&&_a(e)&&G3.assert(r===c.substring(e.pos,e.end)),KE(e,l,_),_w(e))try{for(var i=__values(e.jsDoc),a=i.next();!a.done;a=i.next())l(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}fa(e,u)}function _(e){var t,n;e._children=void 0,qF(e,e.pos+o,e.end+o);try{for(var r=__values(e),i=r.next();!i.done;i=r.next())l(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}}(t?_:l)(e)}function _a(e){switch(e.kind){case 11:case 9:case 80:return 1}}function da(e,t,n,r,i){G3.assert(e.end>=t,"Adjusting an element that was entirely before the change range"),G3.assert(e.pos<=n,"Adjusting an element that was entirely after the change range"),G3.assert(e.pos<=e.end);t=Math.min(e.pos,r),n=e.end>=n?e.end+i:Math.min(e.end,r);G3.assert(t<=n),e.parent&&(G3.assertGreaterThanOrEqual(t,e.parent.pos),G3.assertLessThanOrEqual(n,e.parent.end)),qF(e,t,n)}function fa(e,t){var n,r;if(t){var i=e.pos,a=function(e){G3.assert(e.pos>=i),i=e.end};if(_w(e))try{for(var o=__values(e.jsDoc),s=o.next();!s.done;s=o.next())a(s.value)}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}KE(e,a),G3.assert(i<=e.end)}}function pa(e,t,n,r){var i,e=e.text;n&&(G3.assert(e.length-n.span.length+n.newLength===t.length),r||G3.shouldAssert(3))&&(r=e.substr(0,n.span.start),i=t.substr(0,n.span.start),G3.assert(r===i),r=e.substring(O4(n.span),e.length),i=t.substring(O4(wo(n)),t.length),G3.assert(r===i))}function ma(t){var o=t.statements,s=0,c=(G3.assert(s=e.pos&&a=e.pos&&an),!0;{if(t.pos>=i.pos&&(i=t),ni.pos&&(i=e);return i}(e,n),i=(G3.assert(i.pos<=n),i.pos);n=Math.max(0,i-1)}var a=Co(n,O4(t.span)),t=t.newLength+(t.span.start-n);return Fo(a,t)}(e,n),pa(e,t,p,r),G3.assert(p.span.start<=n.span.start),G3.assert(O4(p.span)===O4(n.span)),G3.assert(O4(wo(p))===O4(wo(n))),n=wo(p).length-p.span.length,i=i,o=p.span.start,s=O4(p.span),c=O4(wo(p)),u=n,l=a,_=t,d=r,m(i),(i=o1.parseSourceFile(e.fileName,t,e.languageVersion,f,!0,e.scriptKind,e.setExternalModuleIndicator,e.jsDocParsingMode)).commentDirectives=function(e,t,n,r,i,a,o,s){var c,u,l;if(!e)return t;var _=!1;try{for(var d=__values(e),f=d.next();!f.done;f=d.next()){var p,m=f.value,g=m.range,h=m.type;g.endr&&(y(),p={range:{pos:g.pos+i,end:g.end+i},type:h},l=H3(l,p),s)&&G3.assert(a.substring(g.pos,g.end)===o.substring(p.range.pos,p.range.end))}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=d.return)&&u.call(d)}finally{if(c)throw c.error}}return y(),l;function y(){_||(_=!0,l?t&&l.push.apply(l,__spreadArray([],__read(t),!1)):l=t)}}(e.commentDirectives,i.commentDirectives,p.span.start,O4(p.span),n,a,t,r),i.impliedNodeFormat=e.impliedNodeFormat,i);function m(e){var t,n;if(G3.assert(e.pos<=e.end),e.pos>s)la(e,!1,u,l,_,d);else{var r=e.end;if(o<=r){if(e.intersectsChange=!0,e._children=void 0,da(e,o,s,c,u),KE(e,m,g),_w(e))try{for(var i=__values(e.jsDoc),a=i.next();!a.done;a=i.next())m(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}fa(e,d)}else G3.assert(rs)la(e,!0,u,l,_,d);else{var r=e.end;if(o<=r){e.intersectsChange=!0,e._children=void 0,da(e,o,s,c,u);try{for(var i=__values(e),a=i.next();!a.done;a=i.next())m(a.value)}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}else G3.assert(r/im,l1=/^\/\/\/?\s*@([^\s:]+)(.*)\s*$/im}});function I2(e){var t=new Map,n=new Map;return z3(e,function(e){t.set(e.name.toLowerCase(),e),e.shortName&&n.set(e.shortName,e.name)}),{optionsNameMap:t,shortOptionNames:n}}function O2(){return _2=_2||I2(e2)}function L2(e){return j2(e,iF)}function j2(t,e){var n=KT(t.type.keys()),n=(t.deprecatedKeys?n.filter(function(e){return!t.deprecatedKeys.has(e)}):n).map(function(e){return"'".concat(e,"'")}).join(", ");return e(Q3.Argument_for_0_option_must_be_Colon_1,"--".concat(t.name),n)}function M2(e,t,n){return zx(e,(null!=t?t:"").trim(),n)}function R2(t,e,n){if(!u4(e=(e=void 0===e?"":e).trim(),"-")){if("listOrElement"===t.type&&!e.includes(","))return Jx(t,e,n);if(""===e)return[];var r=e.split(",");switch(t.element.type){case"number":return NT(r,function(e){return Jx(t.element,parseInt(e),n)});case"string":return NT(r,function(e){return Jx(t.element,e||"",n)});case"boolean":case"object":return G3.fail("List of ".concat(t.element.type," is not yet supported."));default:return NT(r,function(e){return M2(t.element,e,n)})}}}function B2(e){return e.name}function J2(e,t,n,r,i){var a;return null!=(a=t.alternateMode)&&a.getOptionsNameMap().optionsNameMap.has(e.toLowerCase())?Rx(i,r,t.alternateMode.diagnostic,e):(a=i4(e,t.optionDeclarations,B2))?Rx(i,r,t.unknownDidYouMeanDiagnostic,n||e,a.name):Rx(i,r,t.unknownOptionDiagnostic,n||e)}function z2(l,e,_){var d,f={},p=[],m=[];return g(e),{options:f,watchOptions:d,fileNames:p,errors:m};function g(e){for(var t=0;t=o.length)break;var u=c;if(34===o.charCodeAt(u)){for(c++;c "))),{raw:e||ox(o,l)}):(null!=(i=(r=e?(n=s,r=c,i=t,a=l,vi(e=e,"excludes")&&a.push(iF(Q3.Unknown_option_excludes_Did_you_mean_exclude)),d=Ox(e.compilerOptions,r,a,i),f=jx(e.typeAcquisition,r,a,i),p=function(e,t,n){return Mx(rx(),e,t,void 0,x2,n)}(e.watchOptions,r,a),e.compileOnSave=function(e,t,n){return!!vi(e,W1.name)&&"boolean"==typeof(e=Bx(W1,e.compileOnSave,t,n))&&e}(e,r,a),n=e.extends||""===e.extends?Dx(e.extends,n,r,i,a):void 0,{raw:e,options:d,watchOptions:p,typeAcquisition:f,extendedConfigPath:n}):function(o,s,c,u,l){var _,d,f,p,m=Ix(u),g=F2=void 0===F2?{name:void 0,type:"object",elementOptions:ex([C2,w2,N2,T2,{name:"references",type:"list",element:{name:"references",type:"object"},category:Q3.Projects},{name:"files",type:"list",element:{name:"files",type:"string"},category:Q3.File_Management},{name:"include",type:"list",element:{name:"include",type:"string"},category:Q3.File_Management,defaultValueDescription:Q3.if_files_is_specified_otherwise_Asterisk_Asterisk_Slash_Asterisk},{name:"exclude",type:"list",element:{name:"exclude",type:"string"},category:Q3.File_Management,defaultValueDescription:Q3.node_modules_bower_components_jspm_packages_plus_the_value_of_outDir_if_one_is_specified},W1])}:F2,e=ax(o,l,{rootOptions:g,onPropertySet:function(t,e,n,r,i){i&&i!==T2&&(e=Bx(i,e,c,l,n,n.initializer,o));{var a;null!=r&&r.name?i?(a=void 0,r===C2?a=m:r===w2?a=null!=d?d:d={}:r===N2?a=null!=_?_:_=Lx(u):G3.fail("Unknown option"),a[i.name]=e):t&&null!=r&&r.extraKeyDiagnostics&&(r.elementOptions?l.push(J2(t,r.extraKeyDiagnostics,void 0,n.name,o)):l.push(Fl(o,n.name,r.extraKeyDiagnostics.unknownOptionDiagnostic,t))):r===g&&(i===T2?f=Dx(e,s,c,u,l,n,n.initializer,o):i||("excludes"===t&&l.push(Fl(o,n.name,Q3.Unknown_option_excludes_Did_you_mean_exclude)),q3(Z1,function(e){return e.name===t})&&(p=H3(p,n.name))))}}});_=_||Lx(u);p&&e&&void 0===e.compilerOptions&&l.push(Fl(o,p[0],Q3._0_should_be_set_inside_the_compilerOptions_object_of_the_config_json_file,s8(p[0])));return{raw:e,options:m,watchOptions:d,typeAcquisition:_,extendedConfigPath:f}}(o,s,c,t,l)).options)&&i.paths&&(r.options.pathsBasePath=c),r.extendedConfigPath&&(u=u.concat([g]),m={options:{}},ZT(r.extendedConfigPath)?h(m,r.extendedConfigPath):r.extendedConfigPath.forEach(function(e){return h(m,e)}),!r.raw.include&&m.include&&(r.raw.include=m.include),!r.raw.exclude&&m.exclude&&(r.raw.exclude=m.exclude),!r.raw.files&&m.files&&(r.raw.files=m.files),void 0===r.raw.compileOnSave&&m.compileOnSave&&(r.raw.compileOnSave=m.compileOnSave),o&&m.extendedSourceFiles&&(o.extendedSourceFiles=KT(m.extendedSourceFiles.keys())),r.options=W(m.options,r.options),r.watchOptions=r.watchOptions&&m.watchOptions?W(m.watchOptions,r.watchOptions):r.watchOptions||m.watchOptions),r);function h(t,n){var r,i,e,a=function(e,t,n,r,i,a,o){var s,c,u,l,_,d=n.useCaseSensitiveFileNames?t:wn(t);a&&(u=a.get(d))?(l=u.extendedResult,_=u.extendedConfig):((l=$2(t,function(e){return n.readFile(e)})).parseDiagnostics.length||(_=Fx(void 0,l,n,k4(t),Di(t),r,i,a)),a&&a.set(d,{extendedResult:l,extendedConfig:_}));if(e&&((null!=(u=o.extendedSourceFiles)?u:o.extendedSourceFiles=new Set).add(l.fileName),l.extendedSourceFiles))try{for(var f=__values(l.extendedSourceFiles),p=f.next();!p.done;p=f.next()){var m=p.value;o.extendedSourceFiles.add(m)}}catch(e){s={error:e}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}if(!l.parseDiagnostics.length)return _;i.push.apply(i,__spreadArray([],__read(l.parseDiagnostics),!1))}(o,n,s,u,l,_,t);a&&a.options&&(r=a.raw,(e=function(e){r[e]&&(t[e]=V3(r[e],function(e){return pi(e)?e:T4(i=i||Yi(k4(n),c,s4(s.useCaseSensitiveFileNames)),e)}))})("include"),e("exclude"),e("files"),void 0!==r.compileOnSave&&(t.compileOnSave=r.compileOnSave),W(t.options,a.options),t.watchOptions=t.watchOptions&&a.watchOptions?W({},t.watchOptions,a.watchOptions):t.watchOptions||a.watchOptions)}}function Dx(e,t,n,r,i,a,o,s){var c=r?Sx(r,n):n;if(ZT(e))u=Px(e,t,c,i,o,s);else if($T(e))for(var u=[],l=0;lt.length?-1:t.length>e.length?1:0}function bS(e,t,n,r,i,a,o,s){var c,u,l=SS(e,t,n,r,i,o,s);if(!a4(i,oi)&&!i.includes("*")&&vi(a,i))return l(h=a[i],"",!1,i);var _,d,f,e=L(U3(K(a),function(e){return e.includes("*")||a4(e,"/")}),xS);try{for(var p=__values(e),m=p.next();!m.done;m=p.next()){var g,h,y=m.value;if(16&t.features&&(d=i,f=void 0,!a4(_=y,"*"))&&-1!==(f=_.indexOf("*"))&&u4(d,_.substring(0,f))&&a4(d,_.substring(f+1)))return h=a[y],g=y.indexOf("*"),l(h,i.substring(y.substring(0,g).length,i.length-(y.length-1-g)),!0,y);if(a4(y,"*")&&u4(i,y.substring(0,y.length-1)))return l(h=a[y],i.substring(y.length-1),!0,y);if(u4(i,y))return l(h=a[y],i.substring(y.length),!1,y)}}catch(e){c={error:e}}finally{try{m&&!m.done&&(u=p.return)&&u.call(p)}finally{if(c)throw c.error}}}function SS(z,q,x,b,S,U,k){return function e(t,n,r,i){var a,o,s,c;{if("string"==typeof t){if(!r&&0=a.length+o.length&&u4(_,a)&&a4(_,o)&&h({ending:l,value:_})){var d=_.substring(a.length,_.length-o.length);if(!v4(d))return{value:g.replace("*",d)}}}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}}else if(W3(i,function(e){return 0!==e.ending&&r===e.value})||W3(i,function(e){return 0===e.ending&&r===e.value&&h(e)}))return{value:g}}(a.value);if("object"==typeof o)return o.value}}catch(e){t={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(t)throw t.error}}function h(e){var t=e.ending,e=e.value;return 0!==t||e===yk(f,[t],m,n)}}function gk(e,t,o,s,c,n,r,u){var l=e.path,e=e.isRedirect,_=t.getCanonicalFileName,t=t.sourceDirectory;if(s.fileExists&&s.readFile){var d=Rm(l);if(d){var f=ek(n,c,o).getAllowedEndingsInPreferredOrder(),i=l,a=!1;if(!r)for(var p=d.packageRootIndex,m=void 0;;){var g=function(e){var e=l.substring(0,e),t=T4(e,"package.json"),n=l,r=!1,i=null==(i=null==(i=s.getPackageJsonInfoCache)?void 0:i.call(s))?void 0:i.getPackageJsonInfo(t);if("object"==typeof i||void 0===i&&s.fileExists(t)){i=(null==i?void 0:i.contents.packageJsonContent)||JSON.parse(s.readFile(t)),t=u||o.impliedNodeFormat;if(Op(c)){var a=AS(e.substring(d.topLevelPackageNameIndex+1)),t=Cb(c,t),a=i.exports?function r(i,a,o,s,c,u,e){var t,n;if(void 0===e&&(e=0),"string"==typeof c){var l=C4(T4(o,c),void 0),_=cm(a)?pm(a)+bk(a,i):void 0;switch(e){case 0:if(0===w4(a,l)||_&&0===w4(_,l))return{moduleFileToTry:s};break;case 1:if(Ki(l,a))return f=Qi(l,a,!1),{moduleFileToTry:C4(T4(T4(s,c),f),void 0)};break;case 2:var d,f=l.indexOf("*"),p=l.slice(0,f),f=l.slice(f+1);return u4(a,p)&&a4(a,f)?(d=a.slice(p.length,a.length-f.length),{moduleFileToTry:s.replace("*",d)}):_&&u4(_,p)&&a4(_,f)?(d=_.slice(p.length,_.length-f.length),{moduleFileToTry:s.replace("*",d)}):void 0}}else{if(Array.isArray(c))return z3(c,function(e){return r(i,a,o,s,e,u)});if("object"==typeof c&&null!==c){if(yS(c))return z3(K(c),function(e){var t=C4(T4(s,e),void 0),n=a4(e,"/")?1:e.includes("*")?2:0;return r(i,a,o,t,c[e],u,n)});try{for(var m=__values(K(c)),g=m.next();!g.done;g=m.next()){var h=g.value;if("default"===h||u.includes(h)||kS(u,h)){var y=c[h],v=r(i,a,o,s,y,u,e);if(v)return v}}}catch(e){t={error:e}}finally{try{g&&!g.done&&(n=m.return)&&n.call(m)}finally{if(t)throw t.error}}}}}(c,l,e,a,i.exports,t):void 0;if(a)return t=cm(a.moduleFileToTry)?{moduleFileToTry:pm(a.moduleFileToTry)+bk(a.moduleFileToTry,c)}:a,__assign(__assign({},t),{verbatimFromExports:!0});if(i.exports)return{moduleFileToTry:l,blockedByExports:!0}}a=i.typesVersions?vb(i.typesVersions):void 0,t=(a&&(void 0===(t=mk(l.slice(e.length+1),a.paths,f,s,c))?r=!0:n=T4(e,t)),i.typings||i.types||i.main||"index.js");if(ZT(t)&&(!r||!km(ym(a.paths),t))){r=Bi(t,e,_),a=_(n);if(pm(r)===pm(a))return{packageRootPath:e,moduleFileToTry:n};if("module"!==i.type&&!S4(a,Cu)&&u4(a,r)&&k4(a)===Ji(r)&&"index"===pm(Di(a)))return{packageRootPath:e,moduleFileToTry:n}}}else{t=_(n.substring(d.packageRootIndex+1));if("index.d.ts"===t||"index.js"===t||"index.ts"===t||"index.tsx"===t)return{moduleFileToTry:n,packageRootPath:e}}return{moduleFileToTry:n}}(p),h=g.moduleFileToTry,y=g.packageRootPath,v=g.blockedByExports,g=g.verbatimFromExports;if(1!==_F(c)){if(v)return;if(g)return h}if(y){i=y,a=!0;break}if(m=m||h,-1===(p=l.indexOf(oi,p+1))){i=yk(m,f,c,s);break}}if(!e||a){n=s.getGlobalTypingsCacheLocation&&s.getGlobalTypingsCacheLocation(),r=_(i.substring(0,d.topLevelNodeModulesIndex));if(u4(t,r)||n&&u4(_(n),r))return t=AS(e=i.substring(d.topLevelPackageNameIndex+1)),1===_F(c)&&t===e?void 0:t}}}}function hk(t,e,n){return NT(e,function(e){e=Sk(t,e,n);return void 0!==e&&kk(e)?void 0:e})}function yk(e,t,n,r){if(S4(e,[".json",".mjs",".cjs"]))return e;var i=pm(e);if(e===i)return e;var a=t.indexOf(2),o=t.indexOf(3);if(S4(e,[".mts",".cts"])&&-1!==o&&o"+e.moduleSpecifier.text:">"});if(r.length!==i.length)try{for(var a=__values(r),o=a.next();!o.done;o=a.next())!function(t){1(1&e.flags?kw:Sw))}function Ee(e,t){var n=t.flags,e=function(e,k){p&&p.throwIfCancellationRequested&&p.throwIfCancellationRequested();var t=8388608&k.flags;if(k.flags&=-8388609,!e)return 262144&k.flags?(k.approximateLength+=3,aT.createKeywordTypeNode(133)):void(k.encounteredError=!0);536870912&k.flags||(e=t_(e));if(1&e.flags)return e.aliasSymbol?aT.createTypeReferenceNode(function e(t){var n=aT.createIdentifier(V4(t.escapedName));return t.parent?aT.createQualifiedName(e(t.parent),n):n}(e.aliasSymbol),Ae(e.aliasTypeArguments,k)):e===gr?vD(aT.createKeywordTypeNode(133),3,"unresolved"):(k.approximateLength+=3,aT.createKeywordTypeNode(e===yr?141:133));if(2&e.flags)return aT.createKeywordTypeNode(159);if(4&e.flags)return k.approximateLength+=6,aT.createKeywordTypeNode(154);if(8&e.flags)return k.approximateLength+=6,aT.createKeywordTypeNode(150);if(64&e.flags)return k.approximateLength+=6,aT.createKeywordTypeNode(163);if(16&e.flags&&!e.aliasSymbol)return k.approximateLength+=7,aT.createKeywordTypeNode(136);if(1056&e.flags)return 8&e.symbol.flags?(n=bs(e.symbol),o=He(n,k,788968),Eu(n)===e?o:A4(n=H4(e.symbol),0)?h(o,aT.createTypeReferenceNode(n,void 0)):nP(o)?(o.isTypeOf=!0,aT.createIndexedAccessTypeNode(o,aT.createLiteralTypeNode(aT.createStringLiteral(n)))):UD(o)?aT.createIndexedAccessTypeNode(aT.createTypeQueryNode(o.typeName),aT.createLiteralTypeNode(aT.createStringLiteral(n))):G3.fail("Unhandled type node kind returned from `symbolToTypeNode`.")):He(e.symbol,k,788968);if(128&e.flags)return k.approximateLength+=e.value.length+2,aT.createLiteralTypeNode(sT(aT.createStringLiteral(e.value,!!(268435456&k.flags)),16777216));if(256&e.flags)return o=e.value,k.approximateLength+=(""+o).length,aT.createLiteralTypeNode(o<0?aT.createPrefixUnaryExpression(41,aT.createNumericLiteral(-o)):aT.createNumericLiteral(o));if(2048&e.flags)return k.approximateLength+=jF(e.value).length+1,aT.createLiteralTypeNode(aT.createBigIntLiteral(e.value));if(512&e.flags)return k.approximateLength+=e.intrinsicName.length,aT.createLiteralTypeNode("true"===e.intrinsicName?aT.createTrue():aT.createFalse());if(8192&e.flags){if(!(1048576&k.flags)){if(Ws(e.symbol,k.enclosingDeclaration))return k.approximateLength+=6,He(e.symbol,k,111551);k.tracker.reportInaccessibleUniqueSymbolError&&k.tracker.reportInaccessibleUniqueSymbolError()}return k.approximateLength+=13,aT.createTypeOperatorNode(158,aT.createKeywordTypeNode(155))}if(16384&e.flags)return k.approximateLength+=4,aT.createKeywordTypeNode(116);if(32768&e.flags)return k.approximateLength+=9,aT.createKeywordTypeNode(157);if(65536&e.flags)return k.approximateLength+=4,aT.createLiteralTypeNode(aT.createNull());if(131072&e.flags)return k.approximateLength+=5,aT.createKeywordTypeNode(146);if(4096&e.flags)return k.approximateLength+=6,aT.createKeywordTypeNode(155);if(67108864&e.flags)return k.approximateLength+=6,aT.createKeywordTypeNode(151);if($F(e))return 4194304&k.flags&&(k.encounteredError||32768&k.flags||(k.encounteredError=!0),null!=(o=(n=k.tracker).reportInaccessibleThisError))&&o.call(n),k.approximateLength+=4,aT.createThisTypeNode();if(!t&&e.aliasSymbol&&(16384&k.flags||Vs(e.aliasSymbol,k.enclosingDeclaration)))return o=Ae(e.aliasTypeArguments,k),!Ls(e.aliasSymbol.escapedName)||32&e.aliasSymbol.flags?1===J3(o)&&e.aliasSymbol===Pt.symbol?aT.createArrayTypeNode(o[0]):He(e.aliasSymbol,k,788968,o):aT.createTypeReferenceNode(aT.createIdentifier(""),o);var n=iT(e);if(4&n)return G3.assert(!!(524288&e.flags)),e.node?_(e,f):f(e);if(262144&e.flags||3&n)return 262144&e.flags&&xT(k.inferTypeParameters,e)?(k.approximateLength+=H4(e.symbol).length+6,t=void 0,!(o=Ol(e))||(a=Q_(e,!0))&&pm(o,a)||(k.approximateLength+=9,t=o&&Ee(o,k)),aT.createInferTypeNode(Le(e,k,t))):4&k.flags&&262144&e.flags&&!Vs(e.symbol,k.enclosingDeclaration)?(a=Ke(e,k),k.approximateLength+=$3(a).length,aT.createTypeReferenceNode(aT.createIdentifier($3(a)),void 0)):e.symbol?He(e.symbol,k,788968):(o=(e===li||e===_i)&&v&&v.symbol?(e===_i?"sub-":"super-")+H4(v.symbol):"?",aT.createTypeReferenceNode(aT.createIdentifier(o),void 0));1048576&e.flags&&e.origin&&(e=e.origin);if(3145728&e.flags)return 1===J3(t=1048576&e.flags?function(e){for(var t=[],n=0,r=0;r=T_(t.target.typeParameters)}function tt(e){return Z(e).fakeScopeForSignatureDeclaration?e.parent:e}function nt(t,e,n,r,i,a){if(!pe(e)&&r){r=Ze(n,tt(r));if(r&&!AC(r)&&!RD(r)){var o=cN(r);if(function(e,t,n){e=te(e);if(e===n)return 1;if(PD(t)&&t.questionToken)return vy(n,524288)===e;return}(o,r,e)&&et(o,e)){r=it(t,o,i,a);if(r)return r}}}o=t.flags,8192&e.flags&&e.symbol===n&&(!t.enclosingDeclaration||W3(n.declarations,function(e){return eT(e)===eT(t.enclosingDeclaration)}))&&(t.flags|=1048576),i=Ee(e,t);return t.flags=o,i}function rt(e,t,n){var r=!1,i=ON(e);if(nT(e)&&(P7(i)||A7(i.parent)||ND(i.parent)&&E7(i.parent.left)&&P7(i.parent.right)))return{introducesError:r=!0,node:e};i=rs(i,67108863,!0,!0);if(i&&(0!==Ks(i,t.enclosingDeclaration,67108863,!1).accessibility?r=!0:(t.tracker.trackSymbol(i,t.enclosingDeclaration,67108863),null!=n&&n(i)),cT(e)))return n=Eu(i),(n=262144&i.flags&&!Vs(n.symbol,t.enclosingDeclaration)?Ke(n,t):aT.cloneNode(e)).symbol=i,{introducesError:r,node:sT(oT(n,e),16777216)};return{introducesError:r,node:e}}function it(c,e,u,l){p&&p.throwIfCancellationRequested&&p.throwIfCancellationRequested();var _=!1,d=eT(e),t=dT(e,function r(i){if(mE(i)||326===i.kind)return aT.createKeywordTypeNode(133);if(gE(i))return aT.createKeywordTypeNode(159);if(hE(i))return aT.createUnionTypeNode([dT(i.type,r,zC),aT.createLiteralTypeNode(aT.createNull())]);if(vE(i))return aT.createUnionTypeNode([dT(i.type,r,zC),aT.createKeywordTypeNode(157)]);if(yE(i))return dT(i.type,r);if(bE(i))return aT.createArrayTypeNode(dT(i.type,r,zC));if(SE(i))return aT.createTypeLiteralNode(V3(i.jsDocPropertyTags,function(e){var t=cT(e.name)?e.name:e.name.right,n=yc(te(i),t.escapedText),n=n&&e.typeExpression&&te(e.typeExpression.type)!==n?Ee(n,c):void 0;return aT.createPropertySignature(void 0,t,e.isBracketed||e.typeExpression&&vE(e.typeExpression.type)?aT.createToken(58):void 0,n||e.typeExpression&&dT(e.typeExpression.type,r,zC)||aT.createKeywordTypeNode(133))}));if(UD(i)&&cT(i.typeName)&&""===i.typeName.escapedText)return oT(aT.createKeywordTypeNode(133),i);if((bP(i)||UD(i))&&h7(i))return aT.createTypeLiteralNode([aT.createIndexSignature(void 0,[aT.createParameterDeclaration(void 0,void 0,"x",void 0,dT(i.typeArguments[0],r,zC))],dT(i.typeArguments[1],r,zC))]);{var n;if(xE(i))return K7(i)?aT.createConstructorTypeNode(void 0,fT(i.typeParameters,r,DD),NT(i.parameters,function(e,t){return e.name&&cT(e.name)&&"new"===e.name.escapedText?void(n=e.type):aT.createParameterDeclaration(void 0,a(e),o(e,t),e.questionToken,dT(e.type,r,zC),void 0)}),dT(n||i.type,r,zC)||aT.createKeywordTypeNode(133)):aT.createFunctionTypeNode(fT(i.typeParameters,r,DD),V3(i.parameters,function(e,t){return aT.createParameterDeclaration(void 0,a(e),o(e,t),e.questionToken,dT(e.type,r,zC),void 0)}),dT(i.type,r,zC)||aT.createKeywordTypeNode(133))}if(UD(i)&&g7(i)&&(!et(i,te(i))||xd(i)||R===dd(i,788968,!0)))return oT(Ee(te(i),c),i);if(k8(i))return e=Z(i).resolvedSymbol,!g7(i)||!e||(i.isTypeOf||788968&e.flags)&&J3(i.typeArguments)>=T_(pu(e))?aT.updateImportTypeNode(i,aT.updateLiteralTypeNode(i.argument,s(i,i.argument.literal)),i.attributes,i.qualifier,fT(i.typeArguments,r,zC),i.isTypeOf):oT(Ee(te(i),c),i);if(FC(i)||IN(i)){var e=rt(i,c,u),t=e.introducesError,e=e.node;if(_=_||t,e!==i)return e}d&&GD(i)&&D4(d,i.pos).line===D4(d,i.end).line&&sT(i,1);return pT(i,r,f9);function a(e){return e.dotDotDotToken||(e.type&&bE(e.type)?aT.createToken(26):void 0)}function o(e,t){return e.name&&cT(e.name)&&"this"===e.name.escapedText?"this":a(e)?"args":"arg".concat(t)}function s(e,t){if(l){if(c.tracker&&c.tracker.moduleResolverHost){var n,e=a3(e);if(e)return n=s4(!!y.useCaseSensitiveFileNames),n=$5({getCanonicalFileName:n,getCurrentDirectory:function(){return c.tracker.moduleResolverHost.getCurrentDirectory()},getCommonSourceDirectory:function(){return c.tracker.moduleResolverHost.getCommonSourceDirectory()}},e),aT.createStringLiteral(n)}}else c.tracker&&c.tracker.trackExternalModuleSymbolOfImportTypeNode&&(e=os(t,t,void 0))&&c.tracker.trackExternalModuleSymbolOfImportTypeNode(e);return t}},zC);if(!_)return t===e?_T(aT.cloneNode(e),e):t}var at,ot,st,ct=Fw(),ut=X(4,"undefined"),lt=(ut.declarations=[],X(1536,"globalThis",8)),_t=(lt.exports=ct,lt.declarations=[],ct.set(lt.escapedName,lt),X(4,"arguments")),dt=X(4,"require"),ft=H.verbatimModuleSyntax?"verbatimModuleSyntax":"isolatedModules",pt=!H.verbatimModuleSyntax||!!H.importsNotUsedAsValues,mt=0,gt=0,ht={getNodeCount:function(){return WT(y.getSourceFiles(),function(e,t){return e+t.nodeCount},0)},getIdentifierCount:function(){return WT(y.getSourceFiles(),function(e,t){return e+t.identifierCount},0)},getSymbolCount:function(){return WT(y.getSourceFiles(),function(e,t){return e+t.symbolCount},o)},getTypeCount:function(){return a},getInstantiationCount:function(){return s},getRelationCacheSizes:function(){return{assignable:ha.size,identity:va.size,subtype:ma.size,strictSubtype:ga.size}},isUndefinedSymbol:function(e){return e===ut},isArgumentsSymbol:function(e){return e===_t},isUnknownSymbol:function(e){return e===R},getMergedSymbol:q,getDiagnostics:o6,getGlobalDiagnostics:function(){return s6(),ue.getGlobalDiagnostics()},getRecursionIdentity:mg,getUnmatchedProperties:Ph,getTypeOfSymbolAtLocation:function(e,t){t=q4(t);if(t){if(e=ws(e),(80===t.kind||81===t.kind)&&o7(t=BN(t)?t.parent:t)&&(!s5(t)||QN(t))){var n=Zg(QN(t)&&211===t.kind?n1(t,void 0,!0):pb(t));if(ws(Z(t).resolvedSymbol)===e)return n}return g5(t)&&uw(t.parent)&&Qc(t.parent)?Zc(t.parent.symbol):(JN(t)&&QN(t.parent)?ou:su)(e)}return K},getTypeOfSymbol:me,getSymbolsOfParameterPropertyDeclaration:function(e,t){e=q4(e,PD);if(void 0===e)return G3.fail("Cannot get symbols of a synthetic parameter that cannot be resolved to a parse-tree node.");G3.assert(M4(e,e.parent));var t=U4(t),n=e.parent,e=e.parent.parent,n=go(n.locals,t,111551),e=go(Ku(e.symbol),t,111551);return n&&e?[n,e]:G3.fail("There should exist two symbols, one as property declaration and one as parameter declaration")},getDeclaredTypeOfSymbol:Eu,getPropertiesOfType:ge,getPropertyOfType:function(e,t){return he(e,U4(t))},getPrivateIdentifierPropertyOfType:function(e,t,n){n=q4(n);return n&&(t=a1(U4(t),n))?c1(e,t):void 0},getTypeOfPropertyOfType:function(e,t){return yc(e,U4(t))},getIndexInfoOfType:function(e,t){return p_(e,0===t?se:ce)},getIndexInfosOfType:f_,getIndexInfosOfIndexSymbol:K_,getSignaturesOfType:ye,getIndexTypeOfType:function(e,t){return m_(e,0===t?se:ce)},getIndexType:function(e){return Af(e)},getBaseTypes:Su,getBaseTypeOfLiteralType:Lg,getWidenedType:_h,getTypeFromTypeNode:function(e){e=q4(e,zC);return e?te(e):K},getParameterType:K2,getParameterIdentifierInfoAtPosition:function(e,t){if(324!==(null==(n=e.declaration)?void 0:n.kind)){var n=e.parameters.length-(SA(e)?1:0);if(t>",0,V)),fi=Yu(void 0,void 0,void 0,B3,V,void 0,0,0),pi=Yu(void 0,void 0,void 0,B3,K,void 0,0,0),mi=Yu(void 0,void 0,void 0,B3,V,void 0,0,0),gi=Yu(void 0,void 0,void 0,B3,Or,void 0,0,0),hi=W_(ce,se,!0),yi=new Map,vi={get yieldType(){return G3.fail("Not supported")},get returnType(){return G3.fail("Not supported")},get nextType(){return G3.fail("Not supported")}},xi=VS(V,V,V),bi=VS(V,V,W),Si=VS(J,V,G),ki={iterableCacheKey:"iterationTypesOfAsyncIterable",iteratorCacheKey:"iterationTypesOfAsyncIterator",iteratorSymbolName:"asyncIterator",getGlobalIteratorType:function(e){return(nn=nn||Dd("AsyncIterator",3,e))||ni},getGlobalIterableType:Rd,getGlobalIterableIteratorType:function(e){return(rn=rn||Dd("AsyncIterableIterator",1,e))||ni},getGlobalGeneratorType:function(e){return(an=an||Dd("AsyncGenerator",3,e))||ni},resolveIterationType:function(e,t){return Qb(e,t,Q3.Type_of_await_operand_must_either_be_a_valid_promise_or_must_not_contain_a_callable_then_member)},mustHaveANextMethodDiagnostic:Q3.An_async_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:Q3.The_0_property_of_an_async_iterator_must_be_a_method,mustHaveAValueDiagnostic:Q3.The_type_returned_by_the_0_method_of_an_async_iterator_must_be_a_promise_for_a_type_with_a_value_property},Ti={iterableCacheKey:"iterationTypesOfIterable",iteratorCacheKey:"iterationTypesOfIterator",iteratorSymbolName:"iterator",getGlobalIteratorType:function(e){return(Qt=Qt||Dd("Iterator",3,e))||ni},getGlobalIterableType:Bd,getGlobalIterableIteratorType:function(e){return(Yt=Yt||Dd("IterableIterator",1,e))||ni},getGlobalGeneratorType:function(e){return($t=$t||Dd("Generator",3,e))||ni},resolveIterationType:function(e,t){return e},mustHaveANextMethodDiagnostic:Q3.An_iterator_must_have_a_next_method,mustBeAMethodDiagnostic:Q3.The_0_property_of_an_iterator_must_be_a_method,mustHaveAValueDiagnostic:Q3.The_type_returned_by_the_0_method_of_an_iterator_must_have_a_value_property},Ci=new Map,wi=[],Ni=new Map,Fi=0,Di=0,Pi=0,Ei=!1,Ai=0,Ii=[],Oi=[],Li=[],ji=0,Mi=[],Ri=[],Bi=0,Ji=Fp(""),zi=Dp(0),qi=Pp({negative:!1,base10Value:"0"}),Ui=[],Vi=[],Wi=[],Hi=0,Ki=!1,Gi=0,Xi=10,Qi=[],Yi=[],$i=[],Zi=[],ea=[],ta=[],na=[],ra=[],ia=[],aa=[],oa=[],sa=[],ca=[],ua=[],la=[],_a=[],da=[],ue=H5(),fa=H5(),pa=xe(KT(uA.keys(),Fp)),ma=new Map,ga=new Map,ha=new Map,ya=new Map,va=new Map,xa=new Map,$r=Fw(),ba=($r.set(ut.escapedName,ut),[[".mts",".mjs"],[".ts",".js"],[".cts",".cjs"],[".mjs",".mjs"],[".js",".js"],[".cjs",".cjs"],[".tsx",1===H.jsx?".jsx":".js"],[".jsx",".jsx"],[".json",".json"]]);try{for(var Sa=__values(y.getSourceFiles()),ka=Sa.next();!ka.done;ka=Sa.next())tA(wa=ka.value,H)}catch(e){En={error:e}}finally{try{ka&&!ka.done&&(Ma=Sa.return)&&Ma.call(Sa)}finally{if(En)throw En.error}}St=new Map;try{for(var Ta=__values(y.getSourceFiles()),Ca=Ta.next();!Ca.done;Ca=Ta.next()){var wa=Ca.value;if(!wa.redirectInfo){if(!h8(wa)){var Na=wa.locals.get("globalThis");if(null!=Na&&Na.declarations)try{On=void 0;for(var Fa=__values(Na.declarations),Da=Fa.next();!Da.done;Da=Fa.next()){var Pa=Da.value;ue.add(tT(Pa,Q3.Declaration_name_conflicts_with_built_in_global_identifier_0,"globalThis"))}}catch(e){On={error:e}}finally{try{Da&&!Da.done&&(Ln=Fa.return)&&Ln.call(Fa)}finally{if(On)throw On.error}}fo(ct,wa.locals)}wa.jsGlobalAugmentations&&fo(ct,wa.jsGlobalAugmentations),wa.patternAmbientModules&&wa.patternAmbientModules.length&&(Tt=PT(Tt,wa.patternAmbientModules)),wa.moduleAugmentations.length&&(Vn=Vn||[]).push(wa.moduleAugmentations),wa.symbol&&wa.symbol.globalExports&&wa.symbol.globalExports.forEach(function(e,t){ct.has(t)||ct.set(t,e)})}}}catch(e){An={error:e}}finally{try{Ca&&!Ca.done&&(In=Ta.return)&&In.call(Ta)}finally{if(An)throw An.error}}if(Vn)try{for(var Ea=__values(Vn),Aa=Ea.next();!Aa.done;Aa=Ea.next()){var Ia=Aa.value;try{Rn=void 0;for(var Oa=__values(Ia),La=Oa.next();!La.done;La=Oa.next())Xw((za=La.value).parent)&&po(za)}catch(e){Rn={error:e}}finally{try{La&&!La.done&&(Bn=Oa.return)&&Bn.call(Oa)}finally{if(Rn)throw Rn.error}}}}catch(e){jn={error:e}}finally{try{Aa&&!Aa.done&&(Mn=Ea.return)&&Mn.call(Ea)}finally{if(jn)throw jn.error}}var ja=ct,Ma=$r,Ra=Q3.Declaration_name_conflicts_with_built_in_global_identifier_0;if(Ma.forEach(function(e,t){var n,r,i=ja.get(t);i?z3(i.declarations,(n=V4(t),r=Ra,function(e){return ue.add(tT(e,r,n))})):ja.set(t,e)}),_e(ut).type=xr,_e(_t).type=Dd("IArguments",0,!0),_e(R).type=K,_e(lt).type=Is(16,lt),Pt=Dd("Array",1,!0),wt=Dd("Object",0,!0),Nt=Dd("Function",0,!0),Ft=e&&Dd("CallableFunction",0,!0)||Nt,Dt=e&&Dd("NewableFunction",0,!0)||Nt,At=Dd("String",0,!0),It=Dd("Number",0,!0),Ot=Dd("Boolean",0,!0),Lt=Dd("RegExp",0,!0),Mt=Hd(V),(Rt=Hd(fr))===Qr&&(Rt=Bs(void 0,N,B3,B3,B3)),Et=zd("ReadonlyArray",1)||Pt,Bt=Et?Ud(Et,[V]):Mt,jt=zd("ThisType",1),Vn)try{for(var Ba=__values(Vn),Ja=Ba.next();!Ja.done;Ja=Ba.next()){Ia=Ja.value;try{qn=void 0;for(var za,qa=__values(Ia),Ua=qa.next();!Ua.done;Ua=qa.next())Xw((za=Ua.value).parent)||po(za)}catch(e){qn={error:e}}finally{try{Ua&&!Ua.done&&(Un=qa.return)&&Un.call(qa)}finally{if(qn)throw qn.error}}}}catch(e){Jn={error:e}}finally{try{Ja&&!Ja.done&&(zn=Ba.return)&&zn.call(Ba)}finally{if(Jn)throw Jn.error}}return St.forEach(function(e){var t=e.firstFile,n=e.secondFile,e=e.conflictingSymbols;e.size<8?e.forEach(function(e,t){var n,r,i,a,o=e.isBlockScoped,s=e.firstFileLocations,c=e.secondFileLocations,u=o?Q3.Cannot_redeclare_block_scoped_variable_0:Q3.Duplicate_identifier_0;try{for(var l=__values(s),_=l.next();!_.done;_=l.next())_o(_.value,u,t,c)}catch(e){n={error:e}}finally{try{_&&!_.done&&(r=l.return)&&r.call(l)}finally{if(n)throw n.error}}try{for(var d=__values(c),f=d.next();!f.done;f=d.next())_o(f.value,u,t,s)}catch(e){i={error:e}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}}):(e=KT(e.keys()).join(", "),ue.add(PF(tT(t,Q3.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,e),tT(n,Q3.Conflicts_are_in_this_file))),ue.add(PF(tT(n,Q3.Definitions_of_the_following_identifiers_conflict_with_those_in_another_file_Colon_0,e),tT(t,Q3.Conflicts_are_in_this_file))))}),St=void 0,ht;function Va(e){return e?ar.get(e):void 0}function Wa(e,t){return e&&ar.set(e,t),t}function Ha(e){if(e){var t=eT(e);if(t)if(eE(e)){if(t.localJsxFragmentNamespace)return t.localJsxFragmentNamespace;var n=t.pragmas.get("jsxfrag");if(n){n=$T(n)?n[0]:n;if(t.localJsxFragmentFactory=XE(n.arguments.factory,$),dT(t.localJsxFragmentFactory,Ga,FC),t.localJsxFragmentFactory)return t.localJsxFragmentNamespace=ON(t.localJsxFragmentFactory).escapedText}n=i3(e);if(n)return t.localJsxFragmentFactory=n,t.localJsxFragmentNamespace=ON(n).escapedText}else{e=Ka(t);if(e)return t.localJsxNamespace=e}}return Dn||(Dn="React",H.jsxFactory?(dT(Pn=XE(H.jsxFactory,$),Ga),Pn&&(Dn=ON(Pn).escapedText)):H.reactNamespace&&(Dn=U4(H.reactNamespace))),Pn=Pn||aT.createQualifiedName(aT.createIdentifier(V4(Dn)),"createElement"),Dn}function Ka(e){if(e.localJsxNamespace)return e.localJsxNamespace;var t=e.pragmas.get("jsx");if(t){t=$T(t)?t[0]:t;if(e.localJsxFactory=XE(t.arguments.factory,$),dT(e.localJsxFactory,Ga,FC),e.localJsxFactory)return e.localJsxNamespace=ON(e.localJsxFactory).escapedText}}function Ga(e){return qF(e,-1,-1),pT(e,Ga,f9)}function Xa(e,t,n){for(var r=[],i=3;i=r&&u.pos<=i){var l=aT.createPropertyAccessExpression(aT.createThis(),e);if(VF(l.expression,l),VF(l,u),l.flowNode=u.returnFlowNode,!Jm(ov(l,t,Qg(t))))return 1}}}catch(e){a={error:e}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(a)throw a.error}}return}(t,me(ee(r)),U3(r.parent.members,jD),r.parent.pos,e.pos))return!0}}else if(!(172===r.kind&&!mN(r))||J8(n)!==J8(r))return!0;return!1})}function u(t,e,n){return!(e.end>t.end)&&void 0===Y3(e,function(e){if(e===t)return"quit";switch(e.kind){case 219:return!0;case 172:return!n||!(ID(t)&&e.parent===t.parent||M4(t,t.parent)&&e.parent===t.parent.parent)||"quit";case 241:switch(e.parent.kind){case 177:case 174:case 178:return!0;default:return!1}default:return!1}})}}function yo(e,t,n){var r=cF(H);if(PD(n)&&t.body&&e.valueDeclaration&&e.valueDeclaration.pos>=t.body.pos&&e.valueDeclaration.end<=t.body.end&&2<=r)return void 0===(n=Z(t)).declarationRequiresScopeChange&&(n.declarationRequiresScopeChange=z3(t.parameters,function(e){return i(e.name)||!!e.initializer&&i(e.initializer)})||!1),!n.declarationRequiresScopeChange;function i(e){switch(e.kind){case 219:case 218:case 262:case 176:return!1;case 174:case 177:case 178:case 303:return i(e.name);case 172:return gN(e)?!w:i(e.name);default:return hC(e)||fC(e)?r<7:aP(e)&&e.dotDotDotToken&&rP(e.parent)?r<4:!zC(e)&&KE(e,i)||!1}}}function vo(e){return XC(e)&&yC(e.type)||DE(e)&&yC(e.typeExpression)}function xo(e,t,n,r,i,a,o,s){return bo(e,t,n,r,i,a,o=void 0===o?!1:o,s=void 0===s?!0:s,go)}function bo(e,a,o,s,c,t,n,u,r){var i,l,_,d,f,p=e,m=!1,g=e,h=!1;e:for(;e;){if("const"===a&&vo(e))return;if(rw(e=tw(e)&&l&&e.name===l?(l=e).parent:e)&&e.locals&&!mo(e)&&(i=r(e.locals,a,o))){var y=!0;if(PC(e)&&l&&l!==e.body?(o&i.flags&788968&&327!==l.kind&&(y=!!(262144&i.flags)&&(l===e.type||169===l.kind||348===l.kind||349===l.kind||168===l.kind)),o&i.flags&3&&(yo(i,e,l)?y=!1:1&i.flags&&(y=169===l.kind||l===e.type&&!!Y3(i.valueDeclaration,PD)))):194===e.kind&&(y=l===e.trueType),y)break;i=void 0}switch(m=m||function(e,t){if(219!==e.kind&&218!==e.kind)return HD(e)||(AC(e)||172===e.kind&&!mN(e))&&(!t||t!==e.name);if(t&&t===e.name)return!1;if(e.asteriskToken||rT(e,1024))return!0;return!X8(e)}(e,l),e.kind){case 312:if(!h8(e))break;h=!0;case 267:var v=(null==(v=ee(e))?void 0:v.exports)||N;if(312===e.kind||RP(e)&&33554432&e.flags&&!Xw(e)){if(i=v.get("default")){var x=VN(i);if(x&&i.flags&o&&x.escapedName===a)break e;i=void 0}x=v.get(a);if(x&&2097152===x.flags&&(ww(x,281)||ww(x,280)))break}if("default"!==a&&(i=r(v,a,2623475&o))){if(!_E(e)||!e.commonJsModuleIndicator||null!=(v=i.declarations)&&v.some(G7))break e;i=void 0}break;case 266:if(i=r((null==(v=ee(e))?void 0:v.exports)||N,a,8&o)){!s||!fF(H)||33554432&e.flags||eT(e)===eT(i.valueDeclaration)||le(g,Q3.Cannot_access_0_from_another_file_without_qualification_when_1_is_enabled_Use_2_instead,V4(a),ft,"".concat(V4(xs(e).escapedName),".").concat(V4(a)));break e}break;case 172:mN(e)||(b=Fs(e.parent))&&b.locals&&r(b.locals,a,111551&o)&&(G3.assertNode(e,ID),d=e);break;case 263:case 231:case 264:if(i=r(ee(e).members||N,a,788968&o)){if(!function(e,t){var n,r;if(e.declarations)try{for(var i=__values(e.declarations),a=i.next();!a.done;a=i.next()){var o=a.value;if(168===o.kind)if((PE(o.parent)?r5(o.parent):o.parent)===t)return!PE(o.parent)||!q3(o.parent.parent.tags,G7)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return}(i,e)){i=void 0;break}if(l&&mN(l))return void(s&&le(g,Q3.Static_members_cannot_reference_class_type_parameters));break e}if(vP(e)&&32&o){var b=e.name;if(b&&a===b.escapedText){i=e.symbol;break e}}break;case 233:if(l===e.expression&&96===e.parent.token){var S=e.parent.parent;if(jC(S)&&(i=r(ee(S).members,a,788968&o)))return void(s&&le(g,Q3.Base_class_expressions_cannot_reference_class_type_parameters))}break;case 167:if((jC(S=e.parent.parent)||264===S.kind)&&(i=r(ee(S).members,a,788968&o)))return void(s&&le(g,Q3.A_computed_property_name_cannot_reference_a_type_parameter_from_its_containing_type));break;case 219:if(2<=cF(H))break;case 174:case 176:case 177:case 178:case 262:if(3&o&&"arguments"===a){i=_t;break e}break;case 218:if(3&o&&"arguments"===a){i=_t;break e}if(16&o){var k=e.name;if(k&&a===k.escapedText){i=e.symbol;break e}}break;case 170:(e=e.parent&&169===e.parent.kind?e.parent:e).parent&&(LC(e.parent)||263===e.parent.kind)&&(e=e.parent);break;case 353:case 345:case 347:k=i5(e);k&&(e=k.parent);break;case 169:l&&(l===e.initializer||l===e.name&&qC(l))&&(f=f||e);break;case 208:l&&(l===e.initializer||l===e.name&&qC(l))&&z5(e)&&!f&&(f=e);break;case 195:if(262144&o){var T=e.typeParameter.name;if(T&&a===T.escapedText){i=e.typeParameter.symbol;break e}}break;case 281:l&&l===e.propertyName&&e.parent.parent.moduleSpecifier&&(e=e.parent.parent.parent)}!function(e){switch(e.kind){case 262:case 263:case 264:case 266:case 265:case 267:return 1;default:return}}(e)||(_=e),e=PE(l=e)?e5(e)||e.parent:(NE(e)||FE(e))&&t5(e)||e.parent}if(!t||!i||_&&i===_.symbol||(i.isReferenced|=o),!i){if(l&&(G3.assertNode(l,_E),l.commonJsModuleIndicator)&&"exports"===a&&o&l.symbol.flags)return l.symbol;n||(i=r(ct,a,o))}if(!i&&p&&nT(p)&&p.parent&&y7(p.parent,!1))return dt;function C(){return d&&!w&&(le(g,g&&d.type&&j4(d.type,g.pos)?Q3.Type_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor:Q3.Initializer_of_instance_member_variable_0_cannot_reference_identifier_1_declared_in_the_constructor,i8(d.name),ko(c)),1)}if(i){if(!s||!C())return s&&ie(function(){var e,t,n;g&&(2&o||(32&o||384&o)&&111551==(111551&o))&&(2&(t=ws(i)).flags||32&t.flags||384&t.flags)&&!function(e,t){if(G3.assert(!!(2&e.flags||32&e.flags||384&e.flags)),!(67108881&e.flags&&32&e.flags)){var n,r,i=null==(i=e.declarations)?void 0:i.find(function(e){return Uw(e)||jC(e)||266===e.kind});if(void 0===i)return G3.fail("checkResolvedBlockScopedVariable could not find block-scoped declaration");33554432&i.flags||ho(i,t)||(n=void 0,r=i8(X4(i)),2&e.flags?n=le(t,Q3.Block_scoped_variable_0_used_before_its_declaration,r):32&e.flags?n=le(t,Q3.Class_0_used_before_its_declaration,r):256&e.flags&&(n=le(t,Q3.Enum_0_used_before_its_declaration,r)),n&&PF(n,tT(i,Q3._0_is_declared_here,r)))}}(t,g),!i||!h||111551!=(111551&o)||16777216&p.flags||J3((t=q(i)).declarations)&&gT(t.declarations,function(e){return JP(e)||_E(e)&&e.symbol.globalExports})&&$a(!H.allowUmdGlobalAccess,g,Q3._0_refers_to_a_UMD_global_but_the_current_file_is_a_module_Consider_adding_an_import_instead,V4(a)),i&&f&&!m&&111551==(111551&o)&&(t=q(Gu(i)),e=q5(f),t===ee(f)?le(g,Q3.Parameter_0_cannot_reference_itself,i8(f.name)):t.valueDeclaration&&t.valueDeclaration.pos>f.pos&&e.parent.locals&&r(e.parent.locals,t.escapedName,o)===t&&le(g,Q3.Parameter_0_cannot_reference_identifier_1_declared_after_it,i8(f.name),i8(g))),!(i&&g&&111551&o&&2097152&i.flags)||111551&i.flags||BF(g)||(e=$o(i,111551))&&(t=281===e.kind||278===e.kind||280===e.kind?Q3._0_cannot_be_used_as_a_value_because_it_was_exported_using_export_type:Q3._0_cannot_be_used_as_a_value_because_it_was_imported_using_import_type,n=V4(a),So(le(g,t,n),e,n))}),i}else s&&ie(function(){var e,t,n,r,i;g&&(331===g.parent.kind||function(e,t,n){if(cT(e)&&e.escapedText===t&&!u6(e)&&!aN(e))for(var r=V8(e,!1,!1),i=r;i;){if(jC(i.parent)){var a=ee(i.parent);if(!a)break;if(he(me(a),t))return le(e,Q3.Cannot_find_name_0_Did_you_mean_the_static_member_1_0,ko(n),de(a)),1;if(i===r&&!mN(i))if(he(Eu(a).thisType,t))return le(e,Q3.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0,ko(n)),1}i=i.parent}return}(g,a,c)||C()||To(g)||function(e,t,n){var r=1920|(nT(e)?111551:0);if(n===r){n=Ko(xo(e,t,788968&~r,void 0,void 0,!1)),r=e.parent;if(n){if(ND(r)){G3.assert(r.left===e,"Should only be resolving left side of qualified name as a namespace");var i=r.right.escapedText;if(he(Eu(n),i))return le(r,Q3.Cannot_access_0_1_because_0_is_a_type_but_not_a_namespace_Did_you_mean_to_retrieve_the_type_of_the_property_1_in_0_with_0_1,V4(t),V4(i)),1}return le(e,Q3._0_only_refers_to_a_type_but_is_being_used_as_a_namespace_here,V4(t)),1}}return}(g,a,o)||function(e,t){if(Co(t)&&281===e.parent.kind)return le(e,Q3.Cannot_export_0_Only_local_declarations_can_be_exported_from_a_module,t),1;return}(g,a)||function(e,t,n){if(111127&n){if(Ko(xo(e,t,1024,void 0,void 0,!1)))return le(e,Q3.Cannot_use_namespace_0_as_a_value,V4(t)),1}else if(788544&n)if(Ko(xo(e,t,1536,void 0,void 0,!1)))return le(e,Q3.Cannot_use_namespace_0_as_a_type,V4(t)),1;return}(g,a,o)||function(e,t,n){if(111551&n){if(Co(t))return(n=e.parent.parent)&&n.parent&&aE(n)?(r=n.token,264===(n=n.parent.kind)&&96===r?le(e,Q3.An_interface_cannot_extend_a_primitive_type_like_0_It_can_only_extend_other_named_object_types,V4(t)):263===n&&96===r?le(e,Q3.A_class_cannot_extend_a_primitive_type_like_0_Classes_can_only_extend_constructable_values,V4(t)):263===n&&119===r&&le(e,Q3.A_class_cannot_implement_a_primitive_type_like_0_It_can_only_implement_other_named_object_types,V4(t))):le(e,Q3._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,V4(t)),1;var n=Ko(xo(e,t,788544,void 0,void 0,!1)),r=n&&Xo(n);if(n&&void 0!==r&&!(111551&r))return r=V4(t),!function(e){switch(e){case"Promise":case"Symbol":case"Map":case"WeakMap":case"Set":case"WeakSet":return 1}return}(t)?!function(e,t){e=Y3(e.parent,function(e){return!FD(e)&&!AD(e)&&(KD(e)||"quit")});if(e&&1===e.members.length)return 1048576&(e=Eu(t)).flags&&Jx(e,384,!0);return}(e,n)?le(e,Q3._0_only_refers_to_a_type_but_is_being_used_as_a_value_here,r):le(e,Q3._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Did_you_mean_to_use_1_in_0,r,"K"===r?"P":"K"):le(e,Q3._0_only_refers_to_a_type_but_is_being_used_as_a_value_here_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_es2015_or_later,r),1}return}(g,a,o)||function(e,t,n){if(788584&n){n=Ko(xo(e,t,111127,void 0,void 0,!1));if(n&&!(1920&n.flags))return le(e,Q3._0_refers_to_a_value_but_is_being_used_as_a_type_here_Did_you_mean_typeof_0,V4(t)),1}return}(g,a,o))||(e=t=void 0,c&&(e=function(e){e=ko(e),e=Tw().get(e);return e&&JT(e.keys())}(c))&&le(g,s,ko(c),e),!e&&u&&Gi=n?e.substr(0,n-"...".length)+"...":e)}function tc(e,t){var n=rc(e.symbol)?fe(e,e.symbol.valueDeclaration):fe(e),r=rc(t.symbol)?fe(t,t.symbol.valueDeclaration):fe(t);return n===r&&(n=nc(e),r=nc(t)),[n,r]}function nc(e){return fe(e,void 0,64)}function rc(e){return e&&e.valueDeclaration&&Z3(e.valueDeclaration)&&!lm(e.valueDeclaration)}function ic(e){return 848330091&(e=void 0===e?0:e)}function ac(e){return e.symbol&&32&e.symbol.flags&&(e===Tu(e.symbol)||524288&e.flags&&16777216&iT(e))}function oc(i,a,o,e){return void 0===o&&(o=16384),e?t(e).getText():Iw(t);function t(e){var t=aT.createTypePredicateNode(2===i.kind||3===i.kind?aT.createToken(131):void 0,1===i.kind||3===i.kind?aT.createIdentifier(i.parameterName):aT.createThisTypeNode(),i.type&&A.typeToTypeNode(i.type,a,70222336|ic(o))),n=C9(),r=a&&eT(a);return n.writeNode(4,t,r,e),e}}function sc(e){return 2===e?"private":4===e?"protected":"public"}function cc(e){return e&&e.parent&&268===e.parent.kind&&Qw(e.parent.parent)}function uc(e){return 312===e.kind||Ww(e)}function lc(e,t){var n,e=_e(e).nameType;if(e)return 384&e.flags?A4(n=""+e.value,cF(H))||QF(n)?QF(n)&&u4(n,"-")?"[".concat(n,"]"):n:'"'.concat(K5(n,34),'"'):8192&e.flags?"[".concat(_c(e.symbol,t),"]"):void 0}function _c(e,t){if(null!=(r=null==t?void 0:t.remappedSymbolReferences)&&r.has(hA(e))&&(e=t.remappedSymbolReferences.get(hA(e))),t&&"default"===e.escapedName&&!(16384&t.flags)&&(!(16777216&t.flags)||!e.declarations||t.enclosingDeclaration&&Y3(e.declarations[0],uc)!==Y3(t.enclosingDeclaration,uc)))return"default";if(e.declarations&&e.declarations.length){var n=mT(e.declarations,function(e){return X4(e)?e:void 0}),r=n&&X4(n);if(n&&r){if(uP(n)&&O7(n))return H4(e);if(FD(r)&&!(4096&HN(e))){var i=_e(e).nameType;if(i&&384&i.flags){i=lc(e,t);if(void 0!==i)return i}}return i8(r)}if((n=n||e.declarations[0]).parent&&260===n.parent.kind)return i8(n.parent.name);switch(n.kind){case 231:case 218:case 219:return!t||t.encounteredError||131072&t.flags||(t.encounteredError=!0),231===n.kind?"(Anonymous class)":"(Anonymous function)"}}i=lc(e,t);return void 0!==i?i:H4(e)}function dc(t){var e;return!!t&&(void 0===(e=Z(t)).isVisible&&(e.isVisible=!!function(){switch(t.kind){case 345:case 353:case 347:return t.parent&&t.parent.parent&&t.parent.parent.parent&&_E(t.parent.parent.parent);case 208:return dc(t.parent.parent);case 260:if(qC(t.name)&&!t.name.elements.length)return;case 267:case 263:case 264:case 265:case 262:case 266:case 271:var e;return Qw(t)?1:(e=hc(t),(32&j3(t)||271!==t.kind&&312!==e.kind&&33554432&e.flags?dc:mo)(e));case 172:case 171:case 177:case 178:case 174:case 173:if(pN(t,6))return;case 176:case 180:case 179:case 181:case 169:case 268:case 184:case 185:case 187:case 183:case 188:case 189:case 192:case 193:case 196:case 202:return dc(t.parent);case 273:case 274:case 276:return;case 168:case 312:case 270:return 1;default:return}}()),e.isVisible)}function fc(e,r){var t,i,a;return e.parent&&277===e.parent.kind?t=xo(e,e.escapedText,2998271,void 0,e,!1):281===e.parent.kind&&(t=Uo(e.parent,2998271)),t&&((a=new Set).add(hA(t)),function n(e){z3(e,function(e){var t=No(e)||e;r?Z(e).isVisible=!0:OT(i=i||[],t),f7(e)&&(t=e.moduleReference,t=ON(t),e=xo(e,t.escapedText,901119,void 0,void 0,!1))&&a&&DT(a,hA(e))&&n(e.declarations)})}(t.declarations)),i}function pc(e,t){var n=mc(e,t);if(!(0<=n))return Ui.push(e),Vi.push(!0),Wi.push(t),1;for(var r=Ui.length,i=n;i=T_(e.typeParameters))&&r<=J3(e.typeParameters)})}function vu(e,t,n){var e=yu(e,t,n),r=V3(t,te);return TT(e,function(e){return W3(e.typeParameters)?M_(e,r,nT(n)):e})}function xu(e){if(!e.resolvedBaseConstructorType){var t=YN(e.symbol),t=t&&k5(t),n=hu(e);if(!n)return e.resolvedBaseConstructorType=G;if(!pc(e,1))return K;var r,i=ne(n.expression);if(t&&n!==t&&(G3.assert(!t.typeArguments),ne(t.expression)),2621440&i.flags&&Dl(i),!gc())return le(e.symbol.valueDeclaration,Q3._0_is_referenced_directly_or_indirectly_in_its_own_base_expression,de(e.symbol)),e.resolvedBaseConstructorType=K;if(!(1&i.flags||i===Cr||gu(i)))return t=le(n.expression,Q3.Type_0_is_not_a_constructor_function_type,fe(i)),262144&i.flags&&(n=Y_(i),r=W,n&&(n=ye(n,1))[0]&&(r=ve(n[0])),i.symbol.declarations)&&PF(t,tT(i.symbol.declarations[0],Q3.Did_you_mean_for_0_to_be_constrained_to_type_new_args_Colon_any_1,de(i.symbol),fe(r))),e.resolvedBaseConstructorType=K;e.resolvedBaseConstructorType=i}return e.resolvedBaseConstructorType}function bu(e,t){le(e,Q3.Type_0_recursively_references_itself_as_a_base_type,fe(t,void 0,2))}function Su(e){var t,n,r;if(!e.baseTypesResolved){if(pc(e,7)){if(8&e.objectFlags)e.resolvedBaseTypes=[Hd(xe(TT((r=e).typeParameters,function(e,t){return 8&r.elementFlags[t]?ep(e,ce):e})||B3),r.readonly)];else if(96&e.symbol.flags){if(32&e.symbol.flags&&!function(e){e.resolvedBaseTypes=xw;var t=Ql(xu(e));if(!(2621441&t.flags))return e.resolvedBaseTypes=B3;var n,r=hu(e),i=t.symbol?Eu(t.symbol):void 0;if(t.symbol&&32&t.symbol.flags&&function(e){var t=e.outerTypeParameters;{var n;if(t)return n=t.length-1,e=od(e),t[n].symbol!==e[n].symbol}return 1}(i))n=cd(r,t.symbol);else if(1&t.flags)n=t;else{i=vu(t,r.typeArguments,r);if(!i.length)return le(r.expression,Q3.No_base_constructor_has_the_specified_number_of_type_arguments),e.resolvedBaseTypes=B3;n=ve(i[0])}if(pe(n))return e.resolvedBaseTypes=B3;t=t_(n);if(!ku(t))return i=aF(o_(void 0,n),Q3.Base_constructor_return_type_0_is_not_an_object_type_or_intersection_of_object_types_with_statically_known_members,fe(t)),ue.add(l8(eT(r.expression),r.expression,i)),e.resolvedBaseTypes=B3;if(e===t||lu(t,e))return le(e.symbol.valueDeclaration,Q3.Type_0_recursively_references_itself_as_a_base_type,fe(e,void 0,2)),e.resolvedBaseTypes=B3;e.resolvedBaseTypes===xw&&(e.members=void 0);e.resolvedBaseTypes=[t]}(e),64&e.symbol.flags){var i,a,o,s,c=e;if(c.resolvedBaseTypes=c.resolvedBaseTypes||B3,c.symbol.declarations)try{for(var u=__values(c.symbol.declarations),l=u.next();!l.done;l=u.next()){var _=l.value;if(264===_.kind&&w5(_))try{o=void 0;for(var d=__values(w5(_)),f=d.next();!f.done;f=d.next()){var p=f.value,m=t_(te(p));pe(m)||(ku(m)?c===m||lu(m,c)?bu(_,c):c.resolvedBaseTypes===B3?c.resolvedBaseTypes=[m]:c.resolvedBaseTypes.push(m):le(p,Q3.An_interface_can_only_extend_an_object_type_or_intersection_of_object_types_with_statically_known_members))}}catch(e){o={error:e}}finally{try{f&&!f.done&&(s=d.return)&&s.call(d)}finally{if(o)throw o.error}}}}catch(e){i={error:e}}finally{try{l&&!l.done&&(a=u.return)&&a.call(u)}finally{if(i)throw i.error}}}}else G3.fail("type must be class or interface");if(!gc()&&e.symbol.declarations)try{for(var g=__values(e.symbol.declarations),h=g.next();!h.done;h=g.next()){var y=h.value;263!==y.kind&&264!==y.kind||bu(y,e)}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=g.return)&&n.call(g)}finally{if(t)throw t.error}}}e.baseTypesResolved=!0}return e.resolvedBaseTypes}function ku(e){if(262144&e.flags){var t=zl(e);if(t)return ku(t)}return!!(67633153&e.flags&&!Nl(e)||2097152&e.flags&&gT(e.types,ku))}function Tu(e){var t,n,r,i,a=_e(e),o=a;return!a.declaredType&&(t=32&e.flags?1:2,(i=b2(e,e.valueDeclaration&&((i=(null==(i=null==(i=null==(i=(i=e.valueDeclaration)&&S2(i,!0))?void 0:i.exports)?void 0:i.get("prototype"))?void 0:i.valueDeclaration)&&function(e){if(!e.parent)return!1;var t=e.parent;for(;t&&211===t.kind;)t=t.parent;if(t&&lT(t)&&RN(t.left)&&64===t.operatorToken.kind)return sP(e=B7(t))&&e}(i.valueDeclaration))?ee(i):void 0)))&&(a=(e=i).links),o=o.declaredType=a.declaredType=Is(t,e),n=fu(e),r=pu(e),n||r||1==t||!function(e){var t,n,r,i;if(e.declarations)try{for(var a=__values(e.declarations),o=a.next();!o.done;o=a.next()){var s=o.value;if(264===s.kind){if(256&s.flags)return;var c=w5(s);if(c)try{r=void 0;for(var u=__values(c),l=u.next();!l.done;l=u.next()){var _=l.value;if(IN(_.expression)){var d=rs(_.expression,788968,!0);if(!d||!(64&d.flags)||Tu(d).thisType)return}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return 1}(e))&&(o.objectFlags|=4,o.typeParameters=PT(n,r),o.outerTypeParameters=n,o.localTypeParameters=r,o.instantiations=new Map,o.instantiations.set(Z_(o.typeParameters),o),(o.target=o).resolvedTypeArguments=o.typeParameters,o.thisType=Os(e),o.thisType.isThisType=!0,o.thisType.constraint=o),a.declaredType}function Cu(e){var t=_e(e);if(!t.declaredType){if(!pc(e,2))return K;var n,r=G3.checkDefined(null==(r=e.declarations)?void 0:r.find(X7),"Type alias symbol with no valid declaration found"),i=G7(r)?r.typeExpression:r.type,i=i?te(i):K;gc()?(n=pu(e))&&(t.typeParameters=n,t.instantiations=new Map,t.instantiations.set(Z_(n),i)):(i=K,347===r.kind?le(r.typeExpression.type,Q3.Type_alias_0_circularly_references_itself,de(e)):le(G4(r)&&r.name||r,Q3.Type_alias_0_circularly_references_itself,de(e))),t.declaredType=i}return t.declaredType}function wu(e){return 1056&e.flags&&8&e.symbol.flags?Eu(bs(e.symbol)):e}function Nu(e){var t,n,r,i,a,o,s,c=_e(e);if(!c.declaredType){var u=[];if(e.declarations)try{for(var l=__values(e.declarations),_=l.next();!_.done;_=l.next()){var d=_.value;if(266===d.kind)try{n=void 0;for(var f=__values(d.members),p=f.next();!p.done;p=f.next()){var m,g,h,y=p.value;Vu(y)&&(m=ee(y),h=Cp(void 0!==(g=U6(y))?(i=g,a=hA(e),o=m,s=void 0,a="".concat(a).concat("string"==typeof i?"@":"#").concat(i),s=1024|("string"==typeof i?128:256),$n.get(a)||($n.set(a,a=Tp(s,i,o)),a)):Fu(m)),_e(m).declaredType=h,u.push(wp(h)))}}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{_&&!_.done&&(v=l.return)&&v.call(l)}finally{if(t)throw t.error}}var v=u.length?xe(u,1,e,void 0):Fu(e);1048576&v.flags&&(v.flags|=1024,v.symbol=e),c.declaredType=v}return c.declaredType}function Fu(e){var t=Ps(32,e),e=Ps(32,e);return((t.regularType=t).freshType=e).regularType=t,e.freshType=e,t}function Du(e){var t=_e(e);return t.declaredType||(e=Nu(bs(e)),t.declaredType)||(t.declaredType=e),t.declaredType}function Pu(e){var t=_e(e);return t.declaredType||(t.declaredType=Os(e))}function Eu(e){return Au(e)||K}function Au(e){return 96&e.flags?Tu(e):524288&e.flags?Cu(e):262144&e.flags?Pu(e):384&e.flags?Nu(e):8&e.flags?Du(e):2097152&e.flags?(t=_e(e=e)).declaredType||(t.declaredType=Eu(Go(e))):void 0;var t}function Iu(e){switch(e.kind){case 133:case 159:case 154:case 150:case 163:case 136:case 155:case 151:case 116:case 157:case 146:case 201:return!0;case 188:return Iu(e.elementType);case 183:return!e.typeArguments||e.typeArguments.every(Iu)}return!1}function Ou(e){e=lC(e);return!e||Iu(e)}function Lu(e){var t=cN(e);return t?Iu(t):!fw(e)}function ju(e){if(e.declarations&&1===e.declarations.length){var t=e.declarations[0];if(t)switch(t.kind){case 172:case 171:return Lu(t);case 174:case 173:case 176:case 177:case 178:return r=uN(n=t),i=uC(n),(176===n.kind||!!r&&Iu(r))&&n.parameters.every(Lu)&&i.every(Ou)}}var n,r,i}function Mu(e,t,n){var r,i,a=Fw();try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;a.set(c.escapedName,n&&ju(c)?c:$p(c,t))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return a}function Ru(e,t){var n,r;try{for(var i=__values(t),a=i.next();!a.done;a=i.next()){var o,s=a.value;!Bu(s)&&(!(o=e.get(s.escapedName))||o.valueDeclaration&&lT(o.valueDeclaration)&&!Ic(o)&&!z8(o.valueDeclaration))&&(e.set(s.escapedName,s),e.set(s.escapedName,s))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function Bu(e){return e.valueDeclaration&&CC(e.valueDeclaration)&&mN(e.valueDeclaration)}function Ju(e){var t,n;return e.declaredProperties||(n=Ku(t=e.symbol),e.declaredProperties=js(n),e.declaredCallSignatures=B3,e.declaredConstructSignatures=B3,e.declaredIndexInfos=B3,e.declaredCallSignatures=D_(n.get("__call")),e.declaredConstructSignatures=D_(n.get("__new")),e.declaredIndexInfos=H_(t)),e}function zu(e){var t;return!(!FD(e)&&!cP(e))&&IN(t=FD(e)?e.expression:e.argumentExpression)&&fD(FD(e)?p0(e):Zx(t))}function qu(e){return 95===e.charCodeAt(0)&&95===e.charCodeAt(1)&&64===e.charCodeAt(2)}function Uu(e){e=X4(e);return!!e&&zu(e)}function Vu(e){return!E5(e)||Uu(e)}function Wu(e,t,n,r){G3.assert(!!r.symbol,"The member is expected to have a symbol.");var i=Z(r);if(!i.resolvedSymbol){i.resolvedSymbol=r.symbol;var a,o,s,c,u=lT(r)?r.left:r.name,l=cP(u)?Zx(u.argumentExpression):p0(u);if(fD(l))return a=pD(l),o=r.symbol.flags,(s=n.get(a))||n.set(a,s=X(0,a,4096)),n=t&&t.get(a),32&e.flags||!(s.flags&oo(o)||n)||(t=n?PT(n.declarations,s.declarations):s.declarations,c=!(8192&l.flags)&&V4(a)||i8(u),z3(t,function(e){return le(X4(e)||e,Q3.Property_0_was_also_declared_here,c)}),le(u||r,Q3.Duplicate_property_0,c),s=X(0,a,4096)),s.links.nameType=l,n=s,t=r,u=o,G3.assert(!!(4096&HN(n)),"Expected a late-bound symbol."),n.flags|=u,(_e(t.symbol).lateSymbol=n).declarations?t.symbol.isReplaceableByMethod||n.declarations.push(t):n.declarations=[t],111551&u&&(n.valueDeclaration&&n.valueDeclaration.kind===t.kind||(n.valueDeclaration=t)),s.parent?G3.assert(s.parent===e,"Existing symbol parent should match new one"):s.parent=e,i.resolvedSymbol=s}i.resolvedSymbol}function Hu(e,t){var n,r,i,a,o,s,c=_e(e);if(!c[t]){var u="resolvedExports"===t,l=u?(1536&e.flags?vs(e):e).exports:e.members,_=(c[t]=l||N,Fw());try{for(var d=__values(e.declarations||B3),f=d.next();!f.done;f=d.next()){var p=F8(f.value);if(p)try{n=void 0;for(var m=__values(p),g=m.next();!g.done;g=m.next())u===gN(b=g.value)&&Uu(b)&&Wu(e,l,_,b)}catch(e){n={error:e}}finally{try{g&&!g.done&&(r=m.return)&&r.call(m)}finally{if(n)throw n.error}}}}catch(e){h={error:e}}finally{try{f&&!f.done&&(y=d.return)&&y.call(d)}finally{if(h)throw h.error}}var h=(219===(null==(y=e.valueDeclaration)?void 0:y.kind)||218===(null==(h=e.valueDeclaration)?void 0:h.kind))&&(null==(y=xs(e.valueDeclaration.parent))?void 0:y.assignmentDeclarationMembers)||e.assignmentDeclarationMembers;if(h){var y=KT(h.values());try{for(var v=__values(y),x=v.next();!x.done;x=v.next()){var b,S=I7(b=x.value);u==!(3===S||lT(b)&&Bv(b,S)||9===S||6===S)&&Uu(b)&&Wu(e,l,_,b)}}catch(e){i={error:e}}finally{try{x&&!x.done&&(s=v.return)&&s.call(v)}finally{if(i)throw i.error}}}h=_;var k=null!=(y=l)&&y.size?null!=h&&h.size?(fo(s=Fw(),y),fo(s,h),s):y:h;if(33554432&e.flags&&c.cjsExportMerged&&e.declarations)try{for(var T=__values(e.declarations),C=T.next();!C.done;C=T.next()){var w=_e(C.value.symbol)[t];k?w&&w.forEach(function(e,t){var n=k.get(t);n?n!==e&&k.set(t,uo(n,e)):k.set(t,e)}):k=w}}catch(e){a={error:e}}finally{try{C&&!C.done&&(o=T.return)&&o.call(T)}finally{if(a)throw a.error}}c[t]=k||N}return c[t]}function Ku(e){return 6256&e.flags?Hu(e,"resolvedMembers"):e.members||N}function Gu(e){var t,n;return 106500&e.flags&&"__computed"===e.escapedName?(!(t=_e(e)).lateSymbol&&W3(e.declarations,Uu)&&(n=q(e.parent),(W3(e.declarations,gN)?gs:Ku)(n)),t.lateSymbol||(t.lateSymbol=e)):e}function Xu(e,t,n){var r,i;return 4&iT(e)?(r=e.target,i=od(e),J3(r.typeParameters)===J3(i)?rd(r,PT(i,[t||r.thisType])):e):2097152&e.flags?(i=TT(e.types,function(e){return Xu(e,t,n)}))!==e.types?be(i):e:n?Ql(e):e}function Qu(e,t,n,r){S=jT(n,r,0,n.length)?(u=t.symbol?Ku(t.symbol):Fw(t.declaredProperties),l=t.declaredCallSignatures,_=t.declaredConstructSignatures,t.declaredIndexInfos):(c=Jp(n,r),u=Mu(t.declaredProperties,c,1===n.length),l=Rp(t.declaredCallSignatures,c),_=Rp(t.declaredConstructSignatures,c),Bp(t.declaredIndexInfos,c));var i,a,o,s,c,u,l,_,n=Su(t);if(n.length){if(t.symbol&&u===Ku(t.symbol)){var d=Fw();try{for(var f=__values(u.values()),p=f.next();!p.done;p=f.next()){var m=p.value;262144&m.flags||d.set(m.escapedName,m)}}catch(e){i={error:e}}finally{try{p&&!p.done&&(a=f.return)&&a.call(f)}finally{if(i)throw i.error}}u=d}Rs(e,u,l,_,S);var g=zT(r);try{for(var h=__values(n),y=h.next();!y.done;y=h.next())var v=y.value,x=g?Xu(Se(v,c),g):v,b=(Ru(u,ge(x)),l=PT(l,ye(x,0)),_=PT(_,ye(x,1)),x!==V?f_(x):[W_(se,V,!1)]),S=PT(S,U3(b,function(e){return!u_(S,e.keyType)}))}catch(e){o={error:e}}finally{try{y&&!y.done&&(s=h.return)&&s.call(h)}finally{if(o)throw o.error}}}Rs(e,u,l,_,S)}function Yu(e,t,n,r,i,a,o,s){s=new c(ht,s);return s.declaration=e,s.typeParameters=t,s.parameters=r,s.thisParameter=n,s.resolvedReturnType=i,s.resolvedTypePredicate=a,s.minArgumentCount=o,s.resolvedMinArgumentCount=void 0,s.target=void 0,s.mapper=void 0,s.compositeSignatures=void 0,s.compositeKind=void 0,s}function $u(e){var t=Yu(e.declaration,e.typeParameters,e.thisParameter,e.parameters,void 0,void 0,e.minArgumentCount,167&e.flags);return t.target=e.target,t.mapper=e.mapper,t.compositeSignatures=e.compositeSignatures,t.compositeKind=e.compositeKind,t}function Zu(e,t){e=$u(e);return e.compositeSignatures=t,e.compositeKind=1048576,e.target=void 0,e.mapper=void 0,e}function el(e,t){if((24&e.flags)===t)return e;e.optionalCallSignatureCache||(e.optionalCallSignatureCache={});var n=8===t?"inner":"outer";return e.optionalCallSignatureCache[n]||(e.optionalCallSignatureCache[n]=function(e,t){G3.assert(8===t||16===t,"An optional call signature can either be for an inner call chain or an outer call chain, but not both.");e=$u(e);return e.flags|=t,e}(e,t))}function tl(s,e){if(SA(s)){var t=s.parameters.length-1,n=s.parameters[t].escapedName,r=me(s.parameters[t]);if(Te(r))return[i(r,t,n)];if(!e&&1048576&r.flags&&gT(r.types,Te))return V3(r.types,function(e){return i(e,t,n)})}return[s.parameters];function i(r,i,e){var n,a,t=od(r),o=(n=e,a=new Map,V3(r.target.labeledElementDeclarations,function(e,t){e=U2(e,t,n),t=a.get(e);return void 0===t?(a.set(e,1),e):(a.set(e,t+1),"".concat(e,"_").concat(t))})),e=V3(t,function(e,t){var n=o&&o[t]?o[t]:V2(s,i+t,r),t=r.target.elementFlags[t],n=X(1,n,12&t?32768:2&t?16384:0);return n.links.type=4&t?Hd(e):e,n});return PT(s.parameters.slice(0,i),e)}}function nl(e,t,n,r,i){var a,o;try{for(var s=__values(e),c=s.next();!c.done;c=s.next()){var u=c.value;if(hg(u,t,n,r,i,n?hm:mm))return u}}catch(e){a={error:e}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(a)throw a.error}}}function rl(e){for(var t,n,r,i,a,o,s=0;s=Y2(a)&&_>=Y2(o),m=r<=_?void 0:V2(e,_),g=i<=_?void 0:V2(t,_),m=X(1|(p&&!f?16777216:0),(m===g?m:m?g?void 0:m:g)||"arg".concat(_),f?32768:p?16384:0);m.links.type=f?Hd(d):d,l[_]=m}{var h;u&&((h=X(1,"args",32768)).links.type=Hd(K2(o,s)),o===t&&(h.links.type=Se(h.links.type,n)),l[s]=h)}return l}(e,n,t),o=function(e,t,n){return e&&t?(n=be([me(e),Se(me(t),n)]),oh(e,n)):e||t}(e.thisParameter,n.thisParameter,t),s=Math.max(e.minArgumentCount,n.minArgumentCount);return(i=Yu(i,r,o,a,void 0,void 0,s,167&(e.flags|n.flags))).compositeKind=1048576,i.compositeSignatures=PT(2097152!==e.compositeKind&&e.compositeSignatures||[e],[n]),t&&(i.mapper=2097152!==e.compositeKind&&e.mapper&&e.compositeSignatures?Kp(e.mapper,t):t),i})))return"break"}};try{for(var y=__values(e),v=y.next();!v.done;v=y.next())if("break"===h(v.value))break}catch(e){r={error:e}}finally{try{v&&!v.done&&(i=y.return)&&i.call(y)}finally{if(r)throw r.error}}a=g}return a||B3}function il(e,t){if(J3(e)===J3(t)){if(e&&t)for(var n=Jp(t,e),r=0;r=Y2(t,3)):!!(n=X8(e.parent))&&!e.type&&!e.dotDotDotToken&&e.parent.parameters.indexOf(e)>=e2(n).length)}function k_(e,t,n,r){return{kind:e,parameterName:t,parameterIndex:n,type:r}}function T_(e){var t=0;if(e)for(var n=0;ns.arguments.length&&!d||rD(l)||(i=n.length)}177!==e.kind&&178!==e.kind||!Vu(e)||o&&a||(c=177===e.kind?178:177,(c=ww(ee(e),c))&&(a=(c=b3(c=c))&&c.symbol)),nT(e)&&(c=rC(e))&&c.typeExpression&&(a=oh(X(1,"this"),te(c.typeExpression)));c=kE(e)?n5(e):e,c=c&&MD(c)?Tu(q(c.parent.symbol)):void 0,c=c?c.localTypeParameters:v_(e);(yw(e)||nT(e)&&function(e,t){if(kE(e)||!F_(e))return;var n=zT(e.parameters),n=mT(n?$4(n):oC(e).filter(NE),function(e){return e.typeExpression&&bE(e.typeExpression.type)?e.typeExpression.type:void 0}),e=X(3,"args",32768);n?e.links.type=Hd(te(n.type)):(e.links.checkFlags|=65536,e.links.deferralParent=J,e.links.deferralConstituents=[Mt],e.links.deferralWriteConstituents=[Mt]);n&&t.pop();return t.push(e),1}(e,n))&&(r|=1),(WD(e)&&rT(e,64)||MD(e)&&rT(e.parent,64))&&(r|=4),t.resolvedSignature=Yu(e,c,a,n,void 0,void 0,i,r)}return t.resolvedSignature}function N_(e){if(nT(e)&&AC(e))return(null==(e=iC(e))?void 0:e.typeExpression)&&J1(te(e.typeExpression))}function F_(e){var t=Z(e);return void 0===t.containsArgumentsReference&&(512&t.flags?t.containsArgumentsReference=!0:t.containsArgumentsReference=function e(t){if(!t)return!1;switch(t.kind){case 80:return t.escapedText===_t.escapedName&&$6(t)===_t;case 172:case 174:case 177:case 178:return 167===t.name.kind&&e(t.name);case 211:case 212:return e(t.expression);case 303:return e(t.initializer);default:return!U5(t)&&!T8(t)&&!!KE(t,e)}}(e.body)),t.containsArgumentsReference}function D_(e){var t,n,r,i;if(!e||!e.declarations)return B3;for(var a=[],o=0;or.length)){i=o&&bP(e)&&!TE(e.parent);if(le(e,a===r.length?i?Q3.Expected_0_type_arguments_provide_these_with_an_extends_tag:Q3.Generic_type_0_requires_1_type_argument_s:i?Q3.Expected_0_1_type_arguments_provide_these_with_an_extends_tag:Q3.Generic_type_0_requires_between_1_and_2_type_arguments,fe(n,void 0,2),a,r.length),!o)return K}return 183===e.kind&&Yd(e,J3(e.typeArguments)!==r.length)?ad(n,e,void 0):rd(n,PT(n.outerTypeParameters,C_(Sd(e),r,a,o)))}return vd(e,t)?n:K}function ud(e,t,n,r){var i,a,o,s,c=Eu(e);return c===yr&&_A.has(e.escapedName)&&t&&1===t.length?jf(e,t[0]):(a=(i=_e(e)).typeParameters,o=Z_(t)+ed(n,r),(s=i.instantiations.get(o))||i.instantiations.set(o,s=om(c,Jp(a,C_(t,a,T_(a),nT(e.valueDeclaration))),n,r)),s)}function ld(e){e=null==(e=e.declarations)?void 0:e.find(X7);return e&&B8(e)}function _d(e){var t,n,r=(166===e.kind?e.right:211===e.kind?e.name:e).escapedText;return r?(t=(e=166===e.kind?_d(e.left):211===e.kind?_d(e.expression):void 0)?"".concat(function e(t){return t.parent?"".concat(e(t.parent),".").concat(t.escapedName):t.escapedName}(e),".").concat(r):r,(n=lr.get(t))||(lr.set(t,n=X(524288,r,1048576)),n.parent=e,n.links.declaredType=gr),n):R}function dd(e,t,n){e=function(e){switch(e.kind){case 183:return e.typeName;case 233:var t=e.expression;if(IN(t))return t}}(e);return e?(t=rs(e,t,n))&&t!==R?t:n?R:_d(e):R}function fd(e,t){var n,r,i,a,o,s,c;return t===R?K:96&(t=function(e){var t=e.valueDeclaration;if(t&&nT(t)&&!(524288&e.flags)&&!w7(t,!1)){t=(EP(t)?T7:C7)(t);if(t){t=xs(t);if(t)return b2(t,e)}}}(t)||t).flags?cd(e,t):524288&t.flags?(n=e,1048576&HN(r=t)?(a=ed(r,i=Sd(n)),(s=_r.get(a))||((s=As(1,"error",void 0,"alias ".concat(a))).aliasSymbol=r,s.aliasTypeArguments=i,_r.set(a,s)),s):(i=Eu(r),(a=_e(r).typeParameters)?(s=J3(n.typeArguments))<(o=T_(a))||s>a.length?(le(n,o===a.length?Q3.Generic_type_0_requires_1_type_argument_s:Q3.Generic_type_0_requires_between_1_and_2_type_arguments,de(r),o,a.length),K):(s=void 0,(o=!(o=gp(n))||!ld(r)&&ld(o)?void 0:o)?s=hp(o):mw(n)&&(c=dd(n,2097152,!0))&&c!==R&&(c=Go(c))&&524288&c.flags&&(o=c,s=Sd(n)||(a?[]:void 0)),ud(r,Sd(n),o,s)):vd(n,r)?i:K)):(c=Au(t))?vd(e,t)?wp(c):K:111551&t.flags&&yd(e)?function(e,t){var n=Z(e);{var r,i,a;n.resolvedJSDocType||(r=me(t),i=r,t.valueDeclaration&&(a=205===e.kind&&e.qualifier,r.symbol)&&r.symbol!==t&&a&&(i=fd(e,r.symbol)),n.resolvedJSDocType=i)}return n.resolvedJSDocType}(e,t)||(dd(e,788968),me(t)):K}function pd(e,t){var n,r;return 3&t.flags||t===e||1&e.flags?e:(n="".concat(e.id,">").concat(t.id),nr.get(n)||((r=Ds(33554432)).baseType=e,r.constraint=t,nr.set(n,r),r))}function md(e){return be([e.constraint,e.baseType])}function gd(e){return 189===e.kind&&1===e.elements.length}function hd(e,t){for(var n,r=!0;t&&!aw(t)&&327!==t.kind;){var i,a,o=t.parent;((r=169===o.kind?!r:r)||8650752&e.flags)&&194===o.kind&&t===o.trueType?(a=function e(t,n,r){return gd(n)&&gd(r)?e(t,n.elements[0],r.elements[0]):ap(te(n))===ap(t)?te(r):void 0}(e,o.checkType,o.extendsType))&&(n=H3(n,a)):262144&e.flags&&200===o.kind&&t===o.type&&hl(i=te(o))===ap(e)&&(i=em(i))&&(a=Ol(i))&&Ry(a,bg)&&(n=H3(n,xe([ce,Ur]))),t=o}return n?pd(e,be(n)):e}function yd(e){return!!(16777216&e.flags)&&(183===e.kind||205===e.kind)}function vd(e,t){if(!e.typeArguments)return 1;le(e,Q3.Type_0_is_not_generic,t?de(t):e.typeName?i8(e.typeName):oA)}function xd(e){if(cT(e.typeName)){var t,n,r=e.typeArguments;switch(e.typeName.escapedText){case"String":return vd(e),se;case"Number":return vd(e),ce;case"Boolean":return vd(e),Er;case"Void":return vd(e),Ir;case"Undefined":return vd(e),G;case"Null":return vd(e),Tr;case"Function":case"function":return vd(e),Nt;case"array":return r&&r.length||Fe?void 0:Mt;case"promise":return r&&r.length||Fe?void 0:hx(V);case"Object":return r&&2===r.length?h7(e)?(n=te(r[0]),t=te(r[1]),n=n===se||n===ce?[W_(n,t,!1)]:B3,Bs(void 0,N,B3,B3,n)):V:(vd(e),Fe?void 0:V)}}}function bd(e){var t=Z(e);if(!t.resolvedType){if(yC(e)&&XC(e.parent))return t.resolvedSymbol=R,t.resolvedType=Zx(e.parent.expression);var n=void 0,r=void 0,i=788968;!yd(e)||(r=xd(e))||((n=dd(e,i,!0))===R?n=dd(e,900095):dd(e,i),r=fd(e,n)),r=r||fd(e,n=dd(e,i)),t.resolvedSymbol=n,t.resolvedType=r}return t.resolvedType}function Sd(e){return V3(e.typeArguments,te)}function kd(e){var t=Z(e);return t.resolvedType||(e=j2(e),t.resolvedType=wp(_h(e))),t.resolvedType}function Td(e,t){function n(e){var t,n,e=e.declarations;if(e)try{for(var r=__values(e),i=r.next();!i.done;i=r.next()){var a=i.value;switch(a.kind){case 263:case 264:case 266:return a}}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}}var r;return e?524288&(r=Eu(e)).flags?J3(r.typeParameters)!==t?(le(n(e),Q3.Global_type_0_must_have_1_type_parameter_s,H4(e),t),t?ni:Qr):r:(le(n(e),Q3.Global_type_0_must_be_a_class_or_interface_type,H4(e)),t?ni:Qr):t?ni:Qr}function Cd(e,t){return Fd(e,111551,t?Q3.Cannot_find_global_value_0:void 0)}function wd(e,t){return Fd(e,788968,t?Q3.Cannot_find_global_type_0:void 0)}function Nd(e,t,n){e=Fd(e,788968,n?Q3.Cannot_find_global_type_0:void 0);if(e&&(Eu(e),J3(_e(e).typeParameters)!==t))return void le(e.declarations&&q3(e.declarations,jP),Q3.Global_type_0_must_have_1_type_parameter_s,H4(e),t);return e}function Fd(e,t,n){return xo(void 0,e,t,n,e,!1,!1,!1)}function Dd(e,t,n){e=wd(e,n);return e||n?Td(e,t):void 0}function Pd(){return sn=sn||Dd("ImportMeta",0,!0)||Qr}function Ed(){var e,t,n;return cn||(e=X(0,"ImportMetaExpression"),n=Pd(),(t=X(4,"meta",8)).parent=e,t.links.type=n,n=Fw([t]),e.members=n,cn=Bs(e,n,B3,B3,B3)),cn}function Ad(e){return(un=un||Dd("ImportCallOptions",0,e))||Qr}function Id(e){return zt=zt||Cd("Symbol",e)}function Od(){return(Ut=Ut||Dd("Symbol",0,!1))||Qr}function Ld(e){return(Wt=Wt||Dd("Promise",1,e))||ni}function jd(e){return(Ht=Ht||Dd("PromiseLike",1,e))||ni}function Md(e){return Kt=Kt||Cd("Promise",e)}function Rd(e){return(tn=tn||Dd("AsyncIterable",1,e))||ni}function Bd(e){return(Xt=Xt||Dd("Iterable",1,e))||ni}function Jd(e){return(ln=ln||Dd("Disposable",0,e))||Qr}function zd(e,t){void 0===t&&(t=0);e=Fd(e,788968,void 0);return e&&Td(e,t)}function qd(e){return(pn=pn||Nd("Awaited",1,e)||(e?R:void 0))===R?void 0:pn}function Ud(e,t){return e!==ni?rd(e,t):Qr}function Vd(e){return Ud(Vt=Vt||Dd("TypedPropertyDescriptor",1,!0)||ni,[e])}function Wd(e){return Ud(Bd(!0),[e])}function Hd(e,t){return Ud(t?Et:Pt,[e])}function Kd(e){switch(e.kind){case 190:return 2;case 191:return Gd(e);case 202:return e.questionToken?2:e.dotDotDotToken?Gd(e):1;default:return 1}}function Gd(e){return Op(e.type)?4:8}function Xd(e){var t=ZD(t=e.parent)&&148===t.operator;return Op(e)?t?Et:Pt:ef(V3(e.elements,Kd),t,V3(e.elements,Qd))}function Qd(e){return XD(e)||PD(e)?e:void 0}function Yd(e,t){return gp(e)||function e(t){var n=t.parent;switch(n.kind){case 196:case 202:case 183:case 192:case 193:case 199:case 194:case 198:case 188:case 189:return e(n);case 265:return!0}return!1}(e)&&(188===e.kind?$d(e.elementType):189===e.kind?W3(e.elements,$d):t||W3(e.typeArguments,$d))}function $d(e){switch(e.kind){case 183:return yd(e)||!!(524288&dd(e,788968).flags);case 186:return!0;case 198:return 158!==e.operator&&$d(e.type);case 196:case 190:case 202:case 323:case 321:case 322:case 316:return $d(e.type);case 191:return 188!==e.type.kind||$d(e.type.elementType);case 192:case 193:return W3(e.types,$d);case 199:return $d(e.objectType)||$d(e.indexType);case 194:return $d(e.checkType)||$d(e.extendsType)||$d(e.trueType)||$d(e.falseType)}return!1}function Zd(e,t,n,r){void 0===n&&(n=!1),void 0===r&&(r=[]);t=ef(t||V3(e,function(e){return 1}),n,r);return t===ni?Qr:e.length?tf(t,e):t}function ef(e,t,n){var r,i;return 1===e.length&&4&e[0]?t?Et:Pt:(r=V3(e,function(e){return 1&e?"#":2&e?"?":4&e?".":"*"}).join()+(t?"R":"")+(W3(n,function(e){return!!e})?","+V3(n,function(e){return e?gA(e):"_"}).join(","):""),(i=Wn.get(r))||Wn.set(r,i=function(e,t,n){var r,i=e.length,a=ST(e,function(e){return 9&e}),o=[],s=0;if(i){r=new Array(i);for(var c=0;cr.fixedLength?function(e){e=Ug(e);return e&&Hd(e)}(e)||Zd(B3):Zd(od(e).slice(t,n),r.elementFlags.slice(t,n),!1,r.labeledElementDeclarations&&r.labeledElementDeclarations.slice(t,n))}function af(e){return xe(H3(HT(e.target.fixedLength,function(e){return Fp(""+e)}),Af(e.target.readonly?Et:Pt)))}function of(e,t){return e.elementFlags.length-vT(e.elementFlags,function(e){return!(e&t)})-1}function sf(e){return e.fixedLength+of(e,3)}function cf(e){var t=od(e),e=sd(e);return t.length===e?t:t.slice(0,e)}function uf(e){return e.id}function lf(e,t){return 0<=VT(e,t,uf,r4)}function _f(e,t){var n=VT(e,t,uf,r4);return n<0&&(e.splice(~n,0,t),1)}function df(e,t,n){var r,i,a,o,s,c,u,l;try{for(var _=__values(n),d=_.next();!d.done;d=_.next()){var f=d.value;f!==a&&(t=1048576&f.flags?df(e,t|(1048576&(l=f).flags&&(l.aliasSymbol||l.origin)?1048576:0),f.types):(o=e,s=t,u=void 0,131072&(u=(c=f).flags)||(s|=473694207&u,465829888&u&&(s|=33554432),c===pr&&(s|=8388608),!oe&&98304&u?65536&iT(c)||(s|=4194304):(u=(u=o.length)&&c.id>o[u-1].id?~u:VT(o,c,uf,r4))<0&&o.splice(~u,0,c)),s),a=f)}}catch(e){r={error:e}}finally{try{d&&!d.done&&(i=_.return)&&i.call(_)}finally{if(r)throw r.error}}return t}function ff(u,e){var l;if(!(u.length<2)){var t=Z_(u),n=rr.get(t);if(n)return n;for(var _=e&&W3(u,function(e){return!!(524288&e.flags)&&!Nl(e)&&Mm(Dl(e))}),d=u.length,f=d,p=0;0Tf(i)?mf(2097152,i):void 0)}else e=i,i=t,t=n,(n=Ds(2097152)).objectFlags=td(e,98304),n.types=e,n.aliasSymbol=i,n.aliasTypeArguments=t,u=n;Gn.set(r,u)}return u}function Sf(e){return WT(e,function(e,t){return 1048576&t.flags?e*t.types.length:131072&t.flags?0:e},1)}function kf(e){var t=Sf(e);if(!(1e5<=t))return 1;null!=X3&&X3.instant(X3.Phase.CheckTypes,"checkCrossProductUnion_DepthLimit",{typeIds:e.map(function(e){return e.id}),size:t}),le(Ce,Q3.Expression_produces_a_union_type_that_is_too_complex_to_represent)}function Tf(e){return WT(e,function(e,t){return e+function e(t){return 3145728&t.flags&&!t.aliasSymbol?1048576&t.flags&&t.origin?e(t.origin):Tf(t.types):1}(t)},0)}function Cf(e,t){var n=Ds(4194304);return n.type=e,n.indexFlags=t,n}function wf(e,t){return 1&t?e.resolvedStringIndexType||(e.resolvedStringIndexType=Cf(e,1)):e.resolvedIndexType||(e.resolvedIndexType=Cf(e,0))}function Nf(e){var n=hl(e);return function e(t){return!!(470810623&t.flags)||(16777216&t.flags?t.root.isDistributive&&t.checkType===n:137363456&t.flags?gT(t.types,e):8388608&t.flags?e(t.objectType)&&e(t.indexType):33554432&t.flags?e(t.baseType)&&e(t.constraint):!!(268435456&t.flags)&&e(t.type))}(vl(e)||n)}function Ff(e){var t;return CD(e)?J:kD(e)?wp(ne(e)):FD(e)?wp(p0(e)):void 0!==(t=I5(e))?Fp(V4(t)):Z3(e)?wp(ne(e)):J}function Df(e,t,n){if(n||!(6&KN(e))){var r,n=_e(Gu(e)).nameType;if(n||(r=X4(e.valueDeclaration),n="default"===e.escapedName?Fp("default"):r&&Ff(r)||(R5(e)?void 0:Fp(H4(e)))),n&&n.flags&t)return n}return J}function Pf(e,t,n){var r,n=n&&(7&iT(e)||e.aliasSymbol)?(n=e,(r=Es(4194304)).type=n,r):void 0;return xe(PT(V3(ge(e),function(e){return Df(e,t)}),V3(f_(e),function(e){return e!==hi&&function t(e,n){return!!(e.flags&n||2097152&e.flags&&W3(e.types,function(e){return t(e,n)}))}(e.keyType,t)?e.keyType===se&&8&t?Rr:e.keyType:J})),1,void 0,void 0,n)}function Ef(e,t){return void 0===t&&(t=0),58982400&e.flags||zg(e)||Nl(e)&&!Nf(e)||1048576&e.flags&&!(4&t)&&a_(e)||2097152&e.flags&&Rx(e,465829888)&&W3(e.types,Bm)}function Af(e,t){{if(void 0===t&&(t=b),Ef(e=t_(e),t))return wf(e,t);if(1048576&e.flags)return be(V3(e.types,function(e){return Af(e,t)}));if(2097152&e.flags)return xe(V3(e.types,function(e){return Af(e,t)}));if(!(32&iT(e)))return e===pr?pr:2&e.flags?J:131073&e.flags?Jr:Pf(e,(2&t?128:402653316)|(1&t?0:12584),t===b);var n=e,r=t,i=hl(n),a=yl(n),o=vl(n.target||n);if(!(o||2&r))return a;var s=[];if(Sl(n)){if(Gf(a))return wf(n,r);ml(Ql(kl(n)),8576,!!(1&r),c)}else jy(fl(a),c);return Gf(a)&&jy(a,c),1048576&(r=2&r?By(xe(s),function(e){return!(5&e.flags)}):xe(s)).flags&&1048576&a.flags&&Z_(r.types)===Z_(a.types)?a:r;function c(e){e=o?Se(o,Xp(n.mapper,i,e)):e;s.push(e===se?Rr:e)}}}function If(e){var t;return x?e:(t=(dn=dn||Nd("Extract",2,!0)||R)===R?void 0:dn)?ud(t,[e,se]):se}function Of(t,n){var r=yT(n,function(e){return 1179648&e.flags});if(0<=r)return kf(n)?zy(n[r],function(e){return Of(t,UT(n,r,e))}):K;if(xT(n,pr))return pr;var a=[],o=[],s=t[0];if(!function e(t,n){for(var r=0;rc:Y2(e)>c))return!r||8&n||i(Q3.Target_signature_provides_too_few_arguments_Expected_0_or_more_but_got_1,Y2(e),c),0;var u=Q2(e=e.typeParameters&&e.typeParameters!==t.typeParameters?U1(e,t=z_(t),void 0,o):e),l=ex(e),_=ex(t),d=((l||_)&&Se(l||_,s),t.declaration?t.declaration.kind:0),f=!(3&n)&&Y&&174!==d&&173!==d&&176!==d,p=-1,d=E_(e);if(d&&d!==Ir){var m=E_(t);if(m){if(!(b=!f&&o(d,m,!1)||o(m,d,r)))return r&&i(Q3.The_this_types_of_each_signature_are_incompatible),0;p&=b}}for(var g=l||_?Math.min(u,c):Math.max(u,c),h=l||_?g-1:-1,y=0;y=Y2(e)&&y>3,s=(G3.assert(X!==va||!p,"no error reporting in identity checking"),te(e,t,3,!!p,Q));return h&&u(),x?(a=cg(e,t,0,X,!1),X.set(a,6),null!=X3&&X3.instant(X3.Phase.CheckTypes,"checkTypeRelatedTo_DepthLimit",{sourceId:e.id,targetId:t.id,depth:F,targetDepth:D}),a=b<=0?Q3.Excessive_complexity_comparing_types_0_and_1:Q3.Excessive_stack_depth_comparing_types_0_and_1,a=le(p||Ce,a,fe(e),fe(t)),r&&(r.errors||(r.errors=[])).push(a)):Y&&(n=void(n&&(n=n())&&(oF(n,Y),Y=n)),Q&&p&&!s&&e.symbol&&(e=_e(e.symbol)).originatingImport&&!S8(e.originatingImport)&&Km(me(e.target),t,X,void 0)&&(n=H3(n,tT(e.originatingImport,Q3.Type_originates_at_this_import_A_namespace_style_import_cannot_be_called_or_constructed_and_will_cause_a_failure_at_runtime_Consider_using_a_default_import_or_import_require_here_instead))),a=l8(eT(p),p,Y,n),i&&PF.apply(void 0,__spreadArray([a],__read(i),!1)),r&&(r.errors||(r.errors=[])).push(a),r&&r.skipLogging||ue.add(a)),p&&r&&r.skipLogging&&0===s&&G3.assert(!!r.errors,"missed opportunity to interact with error."),0!==s;function O(e){Y=e.errorInfo,g=e.lastSkippedInfo,h=e.incompatibleStack,$=e.overrideNextErrorInfo,o=e.skipParentCounter,i=e.relatedInfo}function j(){return{errorInfo:Y,lastSkippedInfo:g,incompatibleStack:null==h?void 0:h.slice(),overrideNextErrorInfo:$,skipParentCounter:o,relatedInfo:null==i?void 0:i.slice()}}function Z(e){for(var t=[],n=1;n=o.types.length&&a.length%o.types.length==0){var u=te(c,o.types[s%o.types.length],3,!1,void 0,r);if(u){i&=u;continue}}u=te(c,t,1,n,void 0,r);if(!u)return 0;i&=u}return i})(e,t,n&&!(402784252&e.flags),r)}if(1048576&t.flags)return C(sh(e),t,n&&!(402784252&e.flags)&&!(402784252&t.flags));if(2097152&t.flags){var a,o,s=e,c=n,u=2,l=-1,i=(i=t).types;try{for(var _=__values(i),d=_.next();!d.done;d=_.next()){var f=d.value,p=te(s,f,2,c,void 0,u);if(!p)return 0;l&=p}}catch(e){a={error:e}}finally{try{d&&!d.done&&(o=_.return)&&o.call(_)}finally{if(a)throw a.error}}return l}if(X===ya&&402784252&t.flags){r=TT(e.types,function(e){return 465829888&e.flags?zl(e)||W:e});if(r!==e.types){if(131072&(e=be(r)).flags)return 0;if(!(2097152&e.flags))return te(e,t,1,!1)||te(t,e,1,!1)}}return B(e,t,!1,1)}function R(e,t){var n,r,i=-1,e=e.types;try{for(var a=__values(e),o=a.next();!o.done;o=a.next()){var s=C(o.value,t,!1);if(!s)return 0;i&=s}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}function C(e,t,n){var r,i,a,o=t.types;if(1048576&t.flags){if(lf(o,e))return-1;if(X!==ya&&32768&iT(t)&&!(1024&e.flags)&&(2688&e.flags||(X===ma||X===ga)&&256&e.flags))return a=e===e.regularType?e.freshType:e.regularType,(s=128&e.flags?se:256&e.flags?ce:2048&e.flags?wr:void 0)&&lf(o,s)||a&&lf(o,a)?-1:0;var s=ly(t,e);if(s)if(c=te(e,s,2,!1))return c}try{for(var c,u=__values(o),l=u.next();!l.done;l=u.next())if(c=te(e,l.value,2,!1))return c}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}return n&&(a=Ym(e,t,te))&&te(e,a,2,!0),0}function B(e,t,n,r){var i=e.types;if(1048576&e.flags&&lf(i,t))return-1;for(var a=i.length,o=0;o";continue}a+="-"+c.id}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return a}}function cg(e,t,n,r,i){r===va&&e.id>t.id&&(r=e,e=t,t=r);r=n?":"+n:"";return og(e)&&og(t)?sg(e,t,r,i):"".concat(e.id,",").concat(t.id).concat(r)}function ug(e,t){var n,r;if(!(6&HN(e)))return t(e);try{for(var i=__values(e.links.containingType.types),a=i.next();!a.done;a=i.next()){var o=he(a.value,e.escapedName),s=o&&ug(o,t);if(s)return s}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function lg(e){return e.parent&&32&e.parent.flags?Eu(bs(e)):void 0}function _g(e){var t=lg(e),t=t&&Su(t)[0];return t&&yc(t,e.escapedName)}function dg(t,e,n){return ug(e,function(e){return!!(4&KN(e,n))&&!lu(t,lg(e))})?void 0:t}function fg(e,t,n,r){if((r=void 0===r?3:r)<=n){if(2097152&(e=96==(96&iT(e))?pg(e):e).flags)return W3(e.types,function(e){return fg(e,t,n,r)});for(var i=mg(e),a=0,o=0,s=0;s=o&&r<=++a)return!0;o=c.id}}}return!1}function pg(e){for(var t;96==(96&iT(e))&&(t=kl(e))&&(t.symbol||2097152&t.flags&&W3(t.types,function(e){return!!e.symbol}));)e=t;return e}function mg(e){if(524288&e.flags&&!Wh(e)){if(4&iT(e)&&e.node)return e.node;if(e.symbol&&!(16&iT(e)&&32&e.symbol.flags))return e.symbol;if(Te(e))return e.target}if(262144&e.flags)return e.symbol;if(8388608&e.flags){for(;8388608&(e=e.objectType).flags;);return e}return 16777216&e.flags?e.root:e}function gg(e,t,n){if(e===t)return-1;var r=6&KN(e);if(r!=(6&KN(t)))return 0;if(r){if(Nk(e)!==Nk(t))return 0}else if((16777216&e.flags)!=(16777216&t.flags))return 0;return Ex(e)!==Ex(t)?0:n(me(e),me(t))}function hg(e,t,n,r,i,a){if(e===t)return-1;if(d=t,n=n,u=Q2(_=e),l=Q2(d),p=Y2(_),f=Y2(d),_=$2(_),d=$2(d),(u!==l||p!==f||_!==d)&&!(n&&p<=f))return 0;if(J3(e.typeParameters)!==J3(t.typeParameters))return 0;if(t.typeParameters){for(var o=Jp(e.typeParameters,t.typeParameters),s=0;sJ3(t.typeParameters)&&(n=Xu(n,qT(od(e)))),e.objectFlags|=67108864,e.cachedEquivalentBaseType=n}}function Ng(e){return oe?e===Lr:e===xr}function Fg(e){e=kg(e);return e&&Ng(e)}function Dg(e){return Te(e)||!!he(e,"0")||Tg(e)&&!!(e=yc(e,"length"))&&Ry(e,function(e){return!!(256&e.flags)})}function Pg(e){return Tg(e)||Dg(e)}function Eg(e){return!(240544&e.flags)}function Ag(e){return!!(109472&e.flags)}function Ig(e){e=ql(e);return 2097152&e.flags?W3(e.types,Ag):Ag(e)}function Og(e){return!!(16&e.flags)||(1048576&e.flags?!!(1024&e.flags)||gT(e.types,Ag):Ag(e))}function Lg(e){return 1056&e.flags?wu(e):402653312&e.flags?se:256&e.flags?ce:2048&e.flags?wr:512&e.flags?Er:1048576&e.flags?(r="B".concat((t=e).id),null!=(n=Va(r))?n:Wa(r,zy(t,Lg))):e;var t,n,r}function jg(e){return 402653312&e.flags?se:288&e.flags?ce:2048&e.flags?wr:512&e.flags?Er:1048576&e.flags?zy(e,jg):e}function Mg(e){return 1056&e.flags&&Np(e)?wu(e):128&e.flags&&Np(e)?se:256&e.flags&&Np(e)?ce:2048&e.flags&&Np(e)?wr:512&e.flags&&Np(e)?Er:1048576&e.flags?zy(e,Mg):e}function Rg(e){return 8192&e.flags?Ar:1048576&e.flags?zy(e,Rg):e}function Bg(e,t){return wp(e=rb(e,t)?e:Rg(Mg(e)))}function Jg(e,t,n,r){return e=e&&Ag(e)?Bg(e,t?uk(n,t,r):void 0):e}function Te(e){return!!(4&iT(e)&&8&e.target.objectFlags)}function zg(e){return Te(e)&&!!(8&e.target.combinedFlags)}function qg(e){return zg(e)&&1===e.target.elementFlags.length}function Ug(e){return Wg(e,e.target.fixedLength)}function Vg(e,n,r){return zy(e,function(e){var t=Ug(e);return t?r&&n>=sf(e.target)?xe([t,r]):t:G})}function Wg(e,t,n,r,i){void 0===r&&(r=!1),void 0===i&&(i=!1);var a=sd(e)-(n=void 0===n?0:n);if(th.target.minLength||!a.target.hasRestElement&&(h.target.hasRestElement||a.target.fixedLength=e.length?i:void 0}function cy(e){var t,n=e.types;if(!(n.length<10||32768&iT(e)||ST(n,function(e){return 59506688&e.flags})<10))return void 0===e.keyPropertyName&&(n=(t=z3(n,function(e){return 59506688&e.flags?z3(ge(e),function(e){return Ag(me(e))?e.escapedName:void 0}):void 0}))&&sy(n,t),e.keyPropertyName=n?t:"",e.constituentMap=n),e.keyPropertyName.length?e.keyPropertyName:void 0}function uy(e,t){e=null==(e=e.constituentMap)?void 0:e.get(wp(t).id);return e!==W?e:void 0}function ly(e,t){var n=cy(e),t=n&&yc(t,n);return t&&uy(e,t)}function _y(e,t){return ey(e,t)||ry(e,t)}function dy(e,t){var n,r;if(e.arguments)try{for(var i=__values(e.arguments),a=i.next();!a.done;a=i.next()){var o=a.value;if(_y(t,o)||iy(o,t))return!0}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return!(211!==e.expression.kind||!_y(t,e.expression.expression))}function fy(e){return(!e.id||e.id<0)&&(e.id=cA,cA++),e.id}function py(e,t){var n,s,r;return e===t?e:131072&t.flags?t:null!=(n=Va(r="A".concat(e.id,",").concat(t.id)))?n:Wa(r,(s=t,r=By(n=e,function(e){var t,n,r=s,i=e;if(!(1048576&r.flags))return ke(r,i);try{for(var a=__values(r.types),o=a.next();!o.done;o=a.next())if(ke(o.value,i))return!0}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return!1}),r=512&s.flags&&Np(s)?zy(r,Cp):r,ke(s,r)?r:n))}function my(e){var t=Dl(e);return!!(t.callSignatures.length||t.constructSignatures.length||t.members.get("bind")&&ym(e,Nt))}function gy(e,t){return yy(e,t)&t}function hy(e,t){return 0!==gy(e,t)}function yy(e,n){var t,r=(e=467927040&e.flags?zl(e)||W:e).flags;if(268435460&r)return oe?16317953:16776705;if(134217856&r)return o=128&r&&""===e.value,oe?o?12123649:7929345:o?12582401:16776705;if(40&r)return oe?16317698:16776450;if(256&r)return t=0===e.value,oe?t?12123394:7929090:t?12582146:16776450;if(64&r)return oe?16317188:16775940;if(2048&r)return t=Hg(e),oe?t?12122884:7928580:t?12581636:16775940;if(16&r)return oe?16316168:16774920;if(528&r)return oe?e===Nr||e===Fr?12121864:7927560:e===Nr||e===Fr?12580616:16774920;if(524288&r)return 0==(n&(oe?83427327:83886079))?0:16&iT(e)&&Rm(e)?oe?83427327:83886079:my(e)?oe?7880640:16728e3:oe?7888800:16736160;if(16384&r)return 9830144;if(32768&r)return 26607360;if(65536&r)return 42917664;if(12288&r)return oe?7925520:16772880;if(67108864&r)return oe?7888800:16736160;if(131072&r)return 0;if(1048576&r)return WT(e.types,function(e,t){return e|yy(t,n)},0);if(2097152&r){var i,a,o=e,s=n,c=Rx(o,402784252),u=0,l=134217727;try{for(var _=__values(o.types),d=_.next();!d.done;d=_.next()){var f,p=d.value;c&&524288&p.flags||(f=yy(p,s),u|=f,l&=f)}}catch(e){i={error:e}}finally{try{d&&!d.done&&(a=_.return)&&a.call(_)}finally{if(i)throw i.error}}return 8256&u|134209471&l}return 83886079}function vy(e,t){return By(e,function(e){return hy(e,t)})}function xy(e,t){var n=by(vy(oe&&2&e.flags?ti:e,t));if(oe)switch(t){case 524288:return zy(n,function(e){return hy(e,65536)?be([e,hy(e,131072)&&!Rx(n,65536)?xe([Qr,Tr]):Qr]):e});case 1048576:return zy(n,function(e){return hy(e,131072)?be([e,hy(e,65536)&&!Rx(n,32768)?xe([Qr,G]):Qr]):e});case 2097152:case 4194304:return zy(n,function(e){return hy(e,262144)?(t=e,(Jt=Jt||Fd("NonNullable",524288,void 0)||R)!==R?ud(Jt,[t]):be([t,Qr])):e;var t})}return n}function by(e){return e===ti?W:e}function Sy(e,t){return t?xe([kc(e),pb(t)]):e}function ky(e,t){var t=Ff(t);return fD(t)&&(yc(e,t=pD(t))||Cy(null==(e=y_(e,t))?void 0:e.type))||K}function Ty(e,t){return Ry(e,Dg)&&(yc(n=e,""+(t=t))||(Ry(n,Te)?Vg(n,t,H.noUncheckedIndexedAccess?G:void 0):void 0))||Cy(zS(65,e,G,void 0))||K;var n}function Cy(e){return e&&(H.noUncheckedIndexedAccess?xe([e,br]):e)}function wy(e){return Hd(zS(65,e,G,void 0)||K)}function Ny(e){return 226===e.parent.kind&&e.parent.left===e||250===e.parent.kind&&e.parent.initializer===e}function Fy(e){return ky(Dy(e.parent),e.name)}function Dy(e){var t,n,r=e.parent;switch(r.kind){case 249:return se;case 250:return JS(r)||K;case 226:return 209===(n=r).parent.kind&&Ny(n.parent)||303===n.parent.kind&&Ny(n.parent.parent)?Sy(Dy(n),n.right):pb(n.right);case 220:return G;case 209:return n=e,Ty(Dy(t=r),t.elements.indexOf(n));case 230:return wy(Dy(r.parent));case 303:return Fy(r);case 304:return Sy(Fy(t=r),t.objectAssignmentInitializer)}return K}function Py(e){return Z(e).resolvedType||pb(e)}function Ey(e){return 260===e.kind?(n=e).initializer?Py(n.initializer):249===n.parent.parent.kind?se:250===n.parent.parent.kind&&JS(n.parent.parent)||K:(e=(n=e).parent,t=Ey(e.parent),Sy(206===e.kind?ky(t,n.propertyName||n.name):n.dotDotDotToken?wy(t):Ty(t,e.elements.indexOf(n)),n.initializer));var t,n}function Ay(e){switch(e.kind){case 217:return Ay(e.expression);case 226:switch(e.operatorToken.kind){case 64:case 76:case 77:case 78:return Ay(e.left);case 28:return Ay(e.right)}}return e}function Iy(e){var t,n,r,i=Z(e);if(!i.switchTypes){i.switchTypes=[];try{for(var a=__values(e.caseBlock.clauses),o=a.next();!o.done;o=a.next()){var s=o.value;i.switchTypes.push(296===(r=s).kind?wp(pb(r.expression)):J)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}}return i.switchTypes}function Oy(e){var t,n;if(!W3(e.caseBlock.clauses,function(e){return 296===e.kind&&!gw(e.expression)})){var r=[];try{for(var i=__values(e.caseBlock.clauses),a=i.next();!a.done;a=i.next()){var o=a.value,s=296===o.kind?o.expression.text:void 0;r.push(s&&!xT(r,s)?s:void 0)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}}function Ly(e,t){return e===t||131072&e.flags||1048576&t.flags&&function(e,t){var n,r;if(1048576&e.flags){try{for(var i=__values(e.types),a=i.next();!a.done;a=i.next()){var o=a.value;if(!lf(t.types,o))return}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return 1}if(1056&e.flags&&wu(e)===t)return 1;return lf(t.types,e)}(e,t)}function jy(e,t){return 1048576&e.flags?z3(e.types,t):t(e)}function My(e,t){return 1048576&e.flags?W3(e.types,t):t(e)}function Ry(e,t){return 1048576&e.flags?gT(e.types,t):t(e)}function By(e,t){if(1048576&e.flags){var n=e.types,r=U3(n,t);if(r===n)return e;var i=e.origin,a=void 0;if(i&&1048576&i.flags){var i=i.types,o=U3(i,function(e){return 1048576&e.flags||t(e)});if(i.length-o.length==n.length-r.length){if(1===o.length)return o[0];a=mf(1048576,o)}}return yf(r,16809984&e.objectFlags,void 0,void 0,a)}return 131072&e.flags||t(e)?e:J}function Jy(e,t){return By(e,function(e){return e!==t})}function zy(e,t,n){var r,i;if(131072&e.flags)return e;if(!(1048576&e.flags))return t(e);var a,o=e.origin,o=(o&&1048576&o.flags?o:e).types,s=!1;try{for(var c=__values(o),u=c.next();!u.done;u=c.next()){var l=u.value,_=1048576&l.flags?zy(l,t,n):t(l),s=s||l!==_;_&&(a?a.push(_):a=[_])}}catch(e){r={error:e}}finally{try{u&&!u.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return s?a&&xe(a,n?0:1):e}function qy(e,t,n,r){return 1048576&e.flags&&n?xe(V3(e.types,t),1,n,r):zy(e,t)}function Uy(e,t){return By(e,function(e){return 0!=(e.flags&t)})}function Vy(e,t){return Rx(e,134217804)&&Rx(t,402655616)?zy(e,function(e){return 4&e.flags?Uy(t,402653316):Wf(e)&&!Rx(t,402653188)?Uy(t,128):8&e.flags?Uy(t,264):64&e.flags?Uy(t,2112):e}):e}function Wy(e){return 0===e.flags}function Hy(e){return 0===e.flags?e.type:e}function Ky(e,t){return t?{flags:0,type:131072&e.flags?Or:e}:e}function Gy(e){return or[e.id]||(or[e.id]=(e=e,(t=Is(256)).elementType=e,t));var t}function Xy(e,t){t=sh(Lg(gb(t)));return Ly(t,e.elementType)?e:Gy(xe([e.elementType,t]))}function Qy(e){return e.finalArrayType||(e.finalArrayType=131072&(e=e.elementType).flags?Rt:Hd(1048576&e.flags?xe(e.types,2):e))}function Yy(e){return 256&iT(e)?Qy(e):e}function $y(e){return 256&iT(e)?e.elementType:J}function Zy(e){var e=function e(t){var n=t.parent;return 217===n.kind||226===n.kind&&64===n.operatorToken.kind&&n.left===t||226===n.kind&&28===n.operatorToken.kind&&n.right===t?e(n):t}(e),t=e.parent,n=uT(t)&&("length"===t.name.escapedText||213===t.parent.kind&&cT(t.name)&&J5(t.name)),e=212===t.kind&&t.expression===e&&226===t.parent.kind&&64===t.parent.operatorToken.kind&&t.parent.left===t&&!s5(t.parent)&&Bx(pb(t.argumentExpression),296);return n||e}function ev(e,t){if(8752&(e=Ko(e)).flags)return me(e);if(7&e.flags){if(262144&HN(e)){var n=e.links.syntheticOrigin;if(n&&ev(n))return me(e)}n=e.valueDeclaration;if(n){if((EP(r=n)||ID(r)||AD(r)||PD(r))&&(cN(r)||nT(r)&&fw(r)&&r.initializer&&XF(r.initializer)&&uN(r.initializer)))return me(e);if(EP(n)&&250===n.parent.parent.kind){var r=n.parent.parent,i=tv(r.expression,void 0);if(i)return zS(r.awaitModifier?15:13,i,G,void 0)}t&&PF(t,tT(n,Q3._0_needs_an_explicit_type_annotation,de(e)))}}var r}function tv(e,t){if(!(67108864&e.flags))switch(e.kind){case 80:return ev(ws($h(e)),t);case 110:var n=e;if(PC(n=V8(n,!1,!1))){var r=w_(n);if(r.thisParameter)return ev(r.thisParameter)}return jC(n.parent)?(r=ee(n.parent),mN(n)?me(r):Eu(r).thisType):void 0;case 108:return wv(e);case 211:n=tv(e.expression,t);if(n){var r=e.name,i=void 0;if(CD(r)){if(!n.symbol)return;i=he(n,M5(n.symbol,r.escapedText))}else i=he(n,r.escapedText);return i&&ev(i,t)}return;case 217:return tv(e.expression,t)}}function nv(e){var t,n=Z(e),r=n.effectsSignature;return void 0===r&&(t=void 0,lT(e)?t=Ux(G0(e.right)):244===e.parent.kind?t=tv(e.expression,void 0):108!==e.expression.kind&&(t=fC(e)?e1(th(ne(e.expression),e.expression),e.expression):G0(e.expression)),e=1!==(t=ye(t&&Ql(t)||W,0)).length||t[0].typeParameters?W3(t,rv)?v2(e):void 0:t[0],r=n.effectsSignature=e&&rv(e)?e:pi),r===pi?void 0:r}function rv(e){return!!(A_(e)||e.declaration&&131072&(O_(e.declaration)||W).flags)}function iv(e){var t=function t(e,n){for(;;){if(e===wn)return Nn;var r,i,a,o=e.flags;if(4096&o){if(!n)return c=fy(e),void 0!==(s=aa[c])?s:aa[c]=t(e,!0);n=!1}if(368&o)e=e.antecedent;else if(512&o){var s=nv(e.node);if(s){var c=A_(s);if(c&&3===c.kind&&!c.type){var u=e.node.arguments[c.parameterIndex];if(u&&av(u))return!1}if(131072&ve(s).flags)return!1}e=e.antecedent}else{if(4&o)return W3(e.antecedents,function(e){return t(e,!1)});if(8&o){u=e.antecedents;if(void 0===u||0===u.length)return!1;e=u[0]}else{if(!(128&o))return 1024&o?(wn=void 0,r=e.target,i=r.antecedents,r.antecedents=e.antecedents,a=t(e.antecedent,!1),r.antecedents=i,a):!(1&o);if(e.clauseStart===e.clauseEnd&&Tx(e.switchStatement))return!1;e=e.antecedent}}}}(e,!1);return wn=e,Nn=t}function av(e){e=f5(e,!0);return 97===e.kind||226===e.kind&&(56===e.operatorToken.kind&&(av(e.left)||av(e.right))||57===e.operatorToken.kind&&av(e.left)&&av(e.right))}function ov(d,h,y,u,e){void 0===y&&(y=h),void 0===e&&(e=null==(r=e4(d,Y7))?void 0:r.flowNode);var t,n=!1,l=0;if(Ei)return K;if(!e)return h;Ai++;var _=Pi,r=Hy(x(e)),e=(Pi=_,256&iT(r)&&Zy(d)?Rt:Yy(r));return e===jr||d.parent&&235===d.parent.kind&&!(131072&e.flags)&&131072&vy(e,2097152).flags?h:e===vr?W:e;function v(){return n?t:(n=!0,t=function e(t,n,r,i){switch(t.kind){case 80:if(!oN(t))return(o=$h(t))!==R?"".concat(i?gA(i):"-1","|").concat(n.id,"|").concat(r.id,"|").concat(hA(o)):void 0;case 110:return"0|".concat(i?gA(i):"-1","|").concat(n.id,"|").concat(r.id);case 235:case 217:return e(t.expression,n,r,i);case 166:return(o=e(t.left,n,r,i))&&o+"."+t.right.escapedText;case 211:case 212:var a,o;if(void 0!==(o=ty(t)))return(a=e(t.expression,n,r,i))&&a+"."+o;break;case 206:case 207:case 262:case 218:case 219:case 174:return"".concat(gA(t),"#").concat(n.id)}}(d,h,y,u))}function x(e){var t,n,r;if(2e3===l)return null!=X3&&X3.instant(X3.Phase.CheckTypes,"getTypeAtFlowNode_DepthLimit",{flowId:e.id}),Ei=!0,n=Y3(t=d,OC),n=p8(t=eT(t),n.statements.pos),ue.add(nF(t,n.start,n.length,Q3.The_containing_function_or_module_body_is_too_large_for_control_flow_analysis)),K;for(l++;;){var i=e.flags;if(4096&i){for(var a=_;a=Y2(a)&&_>=Y2(o),m=r<=_?void 0:V2(e,_),g=i<=_?void 0:V2(t,_),p=X(1|(p&&!f?16777216:0),(m===g?m:m?g?void 0:m:g)||"arg".concat(_));p.links.type=f?Hd(d):d,l[_]=p}{var h;u&&((h=X(1,"args")).links.type=Hd(K2(o,s)),o===t&&(h.links.type=Se(h.links.type,n)),l[s]=h)}return l}(n,t,r),s=function(e,t,n){return e&&t?(n=xe([me(e),Se(me(t),n)]),oh(e,n)):e||t}(n.thisParameter,t.thisParameter,r),c=Math.max(n.minArgumentCount,t.minArgumentCount),(a=Yu(a,i,s,o,void 0,void 0,c,167&(n.flags|t.flags))).compositeKind=2097152,a.compositeSignatures=PT(2097152===n.compositeKind&&n.compositeSignatures||[n],[t]),r&&(a.mapper=2097152===n.compositeKind&&n.mapper&&n.compositeSignatures?Kp(n.mapper,r):r),a):void 0:e}}):void 0}function s0(e,i){e=U3(ye(e,0),function(e){for(var t=i,n=0;n=n.length)return 0===J3(a=C_(n,o,n.length,t))?i:ud(e,a)}if(J3(i.typeParameters)>=n.length)return rd(i,a=C_(n,i.typeParameters,n.length,t))}function B0(e){var t,n,r,i,a,o,s,c,u=sw(e);function l(){var e=zw(o.tagName);return aF(void 0,Q3._0_cannot_be_used_as_a_JSX_component,e)}u&&!function(e){(function(e){if(uT(e)&&iE(e.expression))return Q(e.expression,Q3.JSX_property_access_expressions_cannot_include_JSX_namespace_names);if(iE(e)&&kF(H)&&!X5(e.namespace.escapedText))Q(e,Q3.React_components_cannot_include_JSX_namespace_names)})(e.tagName),f3(e,e.typeArguments);var t,n,r=new Map;try{for(var i=__values(e.attributes.properties),a=i.next();!a.done;a=i.next()){var o=a.value;if(293!==o.kind){var s=o.name,c=o.initializer,u=uD(s);if(r.get(u))return Q(s,Q3.JSX_elements_cannot_have_multiple_attributes_with_the_same_name);if(r.set(u,!0),c&&294===c.kind&&!c.expression)return Q(c,Q3.JSX_attributes_must_only_be_assigned_a_non_empty_expression)}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}(e),r=e,0===(H.jsx||0)&&le(r,Q3.Cannot_use_JSX_unless_the_jsx_flag_is_provided),void 0===L0(r)&&Fe&&le(r,Q3.JSX_element_implicitly_has_type_any_because_the_global_type_JSX_Element_does_not_exist),F0(e)||(r=ue&&2===H.jsx?Q3.Cannot_find_name_0:void 0,a=Ha(e),n=u?e.tagName:e,t=void 0,(t=eE(e)&&"null"===a?t:xo(n,a,111551,r,a,!0))&&(t.isReferenced=67108863,pt)&&2097152&t.flags&&!$o(t)&&es(t),eE(e)&&(a=Ka(eT(e)))&&xo(n,a,111551,r,a,!0)),u&&(k2(n=v2(t=e),e),void 0!==(r=M0(t))?Km(b0(i=t.tagName)?Fp(dD(i)):ne(i),r,ha,i,Q3.Its_type_0_is_not_a_valid_JSX_element_type,function(){var e=zw(i);return aF(void 0,Q3._0_cannot_be_used_as_a_JSX_component,e)}):(a=X1(t),u=ve(n),o=t,1===a?(s=j0(o))&&Km(u,s,ha,o.tagName,Q3.Its_return_type_0_is_not_a_valid_JSX_element,l):0===a?(c=O0(o))&&Km(u,c,ha,o.tagName,Q3.Its_instance_type_0_is_not_a_valid_JSX_element,l):(s=j0(o),c=O0(o),s&&c&&Km(u,xe([s,c]),ha,o.tagName,Q3.Its_element_type_0_is_not_a_valid_JSX_element,l))))}function J0(e,t,n){var r,i;if(524288&e.flags){if(El(e,t)||y_(e,t)||qu(t)&&p_(e,se)||n&&x0(t))return 1}else if(3145728&e.flags&&z0(e))try{for(var a=__values(e.types),o=a.next();!o.done;o=a.next())if(J0(o.value,t,n))return 1}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}}function z0(e){return!!(524288&e.flags&&!(512&iT(e))||67108864&e.flags||1048576&e.flags&&W3(e.types,z0)||2097152&e.flags&&gT(e.types,z0))}function q0(e,t){var n=e;if(n.expression&&jE(n.expression))Q(n.expression,Q3.JSX_expressions_may_not_use_the_comma_operator_Did_you_mean_to_write_an_array);return e.expression?(n=ne(e.expression,t),e.dotDotDotToken&&n!==V&&!vg(n)&&le(e,Q3.JSX_spread_child_must_be_an_array_type),n):K}function U0(e){return e.valueDeclaration?M3(e.valueDeclaration):0}function V0(e){return 8192&e.flags||4&HN(e)||(nT(e.valueDeclaration)?(e=e.valueDeclaration.parent)&&lT(e)&&3===I7(e):void 0)}function W0(e,t,n,r,i,a){H0(e,t,n,r,i,(a=void 0===a?!0:a)?166===e.kind?e.right:205===e.kind?e:208===e.kind&&e.propertyName?e.propertyName:e.name:void 0)}function H0(e,t,n,r,i,a){var o,s,c=KN(i,n);if(t){if($<2&&K0(i))return a&&le(a,Q3.Only_public_and_protected_methods_of_the_base_class_are_accessible_via_the_super_keyword),!1;if(64&c)return a&&le(a,Q3.Abstract_method_0_in_class_1_cannot_be_accessed_via_super_expression,de(i),fe(lg(i))),!1;if(!(256&c)&&null!=(s=i.declarations)&&s.some(BC))return a&&le(a,Q3.Class_field_0_defined_by_the_parent_class_is_not_accessible_in_the_child_class_via_super,de(i)),!1}if(64&c&&K0(i)&&(Y8(e)||Z8(e)||rP(e.parent)&&$8(e.parent.parent))&&((o=YN(bs(i)))&&Y3(e,function(e){return!!(MD(e)&&Jw(e.body)||ID(e))||!(!jC(e)&&!AC(e))&&"quit"})))return a&&le(a,Q3.Abstract_property_0_in_class_1_cannot_be_accessed_in_the_constructor,de(i),L5(o.name)),!1;return!(6&c&&(2&c?(o=YN(bs(i)),!_6(e,o)&&(a&&le(a,Q3.Property_0_is_private_and_only_accessible_within_class_1,de(i),fe(lg(i))),1)):!t&&(!(s=l6(e,function(e){return dg(Eu(ee(e)),i,n)}))&&(s=(s=function(e){e=function(e){e=V8(e,!1,!1);return e&&PC(e)?nN(e):void 0}(e),e=(null==e?void 0:e.type)&&te(e.type);e&&262144&e.flags&&(e=Ol(e));if(e&&7&iT(e))return uu(e)}(e))&&dg(s,i,n),256&c||!s)?(a&&le(a,Q3.Property_0_is_protected_and_only_accessible_within_class_1_and_its_subclasses,de(i),fe(lg(i)||r)),1):!(256&c)&&(!(r=262144&r.flags?(r.isThisType?Ol:zl)(r):r)||!lu(r,s))&&(a&&le(a,Q3.Property_0_is_protected_and_only_accessible_through_an_instance_of_class_1_This_is_an_instance_of_class_2,de(i),fe(s),fe(r)),1))))}function K0(e){return ug(e,function(e){return!(8192&e.flags)})}function G0(e){return e1(ne(e),e)}function X0(e){return hy(e,50331648)}function Q0(e){return X0(e)?Yg(e):e}function Y0(e,t){var n=IN(e)?c8(e):void 0;106===e.kind?le(e,Q3.The_value_0_cannot_be_used_here,"null"):void 0!==n&&n.length<100?cT(e)&&"undefined"===n?le(e,Q3.The_value_0_cannot_be_used_here,"undefined"):le(e,16777216&t?33554432&t?Q3._0_is_possibly_null_or_undefined:Q3._0_is_possibly_undefined:Q3._0_is_possibly_null,n):le(e,16777216&t?33554432&t?Q3.Object_is_possibly_null_or_undefined:Q3.Object_is_possibly_undefined:Q3.Object_is_possibly_null)}function $0(e,t){le(e,16777216&t?33554432&t?Q3.Cannot_invoke_an_object_which_is_possibly_null_or_undefined:Q3.Cannot_invoke_an_object_which_is_possibly_undefined:Q3.Cannot_invoke_an_object_which_is_possibly_null)}function Z0(e,t,n){if(oe&&2&e.flags){if(IN(t)){var r=c8(t);if(r.length<100)return le(t,Q3._0_is_of_type_unknown,r),K}return le(t,Q3.Object_is_of_type_unknown),K}r=gy(e,50331648);return 50331648&r?(n(t,r),229376&(n=Yg(e)).flags?K:n):e}function e1(e,t){return Z0(e,t,Y0)}function t1(e,t){e=e1(e,t);if(16384&e.flags){if(IN(t)){e=c8(t);if(cT(t)&&"undefined"===e)return void le(t,Q3.The_value_0_cannot_be_used_here,e);if(e.length<100)return void le(t,Q3._0_is_possibly_undefined,e)}le(t,Q3.Object_is_possibly_undefined)}}function n1(e,t,n){return 64&e.flags?(i=t,a=ne((r=e).expression),o=th(a,r.expression),eh(l1(r,r.expression,e1(o,r.expression),r.name,i),r,o!==a)):l1(e,e.expression,G0(e.expression),e.name,t,n);var r,i,a,o}function r1(e,t){var n=c7(e)&&iN(e.left)?e1(kv(e.left),e.left):G0(e.left);return l1(e,e.left,n,e.right,t)}function i1(e){for(;217===e.parent.kind;)e=e.parent;return KC(e.parent)&&e.parent.expression===e}function a1(e,t){for(var n=U8(t);n;n=J8(n)){var r=n.symbol,i=M5(r,e),r=r.members&&r.members.get(i)||r.exports&&r.exports.get(i);if(r)return r}}function o1(e){!function(e){if(!J8(e))return Q(e,Q3.Private_identifiers_are_not_allowed_outside_class_bodies);if(!DP(e.parent)){if(!o7(e))return Q(e,Q3.Private_identifiers_are_only_allowed_in_class_bodies_and_may_only_be_used_as_part_of_a_class_member_declaration_property_access_or_on_the_left_hand_side_of_an_in_expression);var t=lT(e.parent)&&103===e.parent.operatorToken.kind;if(!s1(e)&&!t)Q(e,Q3.Cannot_find_name_0,$3(e))}}(e);e=s1(e);return e&&k1(e,void 0,!1),V}function s1(e){var t;if(o7(e))return void 0===(t=Z(e)).resolvedSymbol&&(t.resolvedSymbol=a1(e.escapedText,e)),t.resolvedSymbol}function c1(e,t){return he(e,t.escapedName)}function u1(e,t){return(Ic(t)||Y8(e)&&Oc(t))&&V8(e,!0,!1)===Lc(t)}function l1(e,t,n,r,i,a){var o,s,c,u,l=Z(t).resolvedSymbol,_=o5(e),d=Ql(0!==_||i1(e)?_h(n):n),f=z(d)||d===Or;if(CD(r)){$<99&&(0!==_&&o3(e,1048576),1!==_)&&o3(e,524288);var p=a1(r.escapedText,r);if(_&&p&&p.valueDeclaration&&LD(p.valueDeclaration)&&Q(r,Q3.Cannot_assign_to_private_method_0_Private_methods_are_not_writable,$3(r)),f){if(p)return pe(d)?K:d;if(void 0===U8(r))return Q(r,Q3.Private_identifiers_are_not_allowed_outside_class_bodies),V}if(void 0===(o=p&&c1(n,p))){if(function(e,n,t){(i=ge(e))&&z3(i,function(e){var t=e.valueDeclaration;if(t&&G4(t)&&CD(t.name)&&t.name.escapedText===n.escapedText)return r=e,!0});var r,i=ko(n);if(r){var a=G3.checkDefined(r.valueDeclaration),o=G3.checkDefined(J8(a));if(null!=t&&t.valueDeclaration){var t=t.valueDeclaration,s=J8(t);if(G3.assert(!!s),Y3(s,function(e){return o===e}))return PF(le(n,Q3.The_property_0_cannot_be_accessed_on_type_1_within_this_class_because_it_is_shadowed_by_another_private_identifier_with_the_same_spelling,i,fe(e)),tT(t,Q3.The_shadowing_declaration_of_0_is_defined_here,i),tT(a,Q3.The_declaration_of_0_that_you_probably_intended_to_use_is_defined_here,i)),1}return le(n,Q3.Property_0_is_not_accessible_outside_class_1_because_it_has_a_private_identifier,i,ko(o.name||oA)),1}}(n,r,p))return K;var p=U8(r);p&&Mw(eT(p),H.checkJs)&&Q(r,Q3.Private_field_0_must_be_declared_in_an_enclosing_class,$3(r))}else 65536&o.flags&&!(32768&o.flags)&&1!==_&&le(e,Q3.Private_accessor_was_defined_without_a_getter)}else{if(f)return cT(t)&&l&&gv(l,e),pe(d)?K:d;o=he(d,r.escapedText,zx(d),166===e.kind)}if(cT(t)&&l&&(fF(H)||!o||!(L6(o)||8&o.flags&&306===e.parent.kind)||vF(H)&&mv(e))&&gv(l,e),o){p=qk(o,r);if(to(p)&&zf(e,p)&&p.declarations&&ro(r,p.declarations,r.escapedText),f=e,p=r,(u=(s=o).valueDeclaration)&&!eT(f).isDeclarationFile&&(c=$3(p),!f1(f)||function(e){return ID(e)&&!xN(e)&&e.questionToken}(u)||eF(f)&&eF(f.expression)||ho(u,p)||LD(u)&&256&j3(u)||!we&&function(e){if(!(32&e.parent.flags))return;var t=me(e.parent);for(;;){if(!(t=t.symbol&&function(e){e=Su(e);if(0!==e.length)return be(e)}(t)))return;var n=he(t,e.escapedName);if(n&&n.valueDeclaration)return 1}}(s)?263!==u.kind||183===f.parent.kind||33554432&u.flags||ho(u,p)||(m=le(p,Q3.Class_0_used_before_its_declaration,c)):m=le(p,Q3.Property_0_is_used_before_its_initialization,c),m)&&PF(m,tT(u,Q3._0_is_declared_here,c)),k1(o,e,T1(t,l)),Z(e).resolvedSymbol=o,W0(e,108===t.kind,QN(e),d,o),Ax(e,o,_))return le(r,Q3.Cannot_assign_to_0_because_it_is_a_read_only_property,$3(r)),K;s=u1(e,o)?fr:(a||XN(e)?ou:me)(o)}else{var m,f=CD(r)||0!==_&&Kf(n)&&!$F(n)?void 0:y_(d,r.escapedText);if(!f||!f.type)return!(m=_1(e,n.symbol,!0))&&Bf(n)?V:n.symbol===lt?(lt.exports.has(r.escapedText)&&418<.exports.get(r.escapedText).flags?le(r,Q3.Property_0_does_not_exist_on_type_1,V4(r.escapedText),fe(n)):Fe&&le(r,Q3.Element_implicitly_has_an_any_type_because_type_0_has_no_index_signature,fe(n)),V):(r.escapedText&&!To(e)&&p1(r,$F(n)?d:n,m),K);f.isReadonly&&(s5(e)||p5(e))&&le(e,Q3.Index_signature_in_type_0_only_permits_reading,fe(d)),s=H.noUncheckedIndexedAccess&&!s5(e)?xe([f.type,br]):f.type,H.noPropertyAccessFromIndexSignature&&uT(e)&&le(r,Q3.Property_0_comes_from_an_index_signature_so_it_must_be_accessed_with_0,V4(r.escapedText)),f.declaration&&no(f.declaration)&&ro(r,[f.declaration],r.escapedText)}return d1(e,o,s,r,i)}function _1(e,t,n){var r,i,a=eT(e);if(a&&(void 0===H.checkJs&&void 0===a.checkJsDirective&&(1===a.scriptKind||2===a.scriptKind)))return r=z3(null==t?void 0:t.declarations,eT),i=!(null!=t&&t.valueDeclaration)||!jC(t.valueDeclaration)||(null==(i=t.valueDeclaration.heritageClauses)?void 0:i.length)||r7(!1,t.valueDeclaration),!(a!==r&&r&&mo(r)||n&&t&&32&t.flags&&i||e&&n&&uT(e)&&110===e.expression.kind&&i);return!1}function d1(e,t,n,r,i){var a=o5(e);if(1===a)return nh(n,!!(t&&16777216&t.flags));if(t&&!(98311&t.flags)&&!(8192&t.flags&&1048576&n.flags)&&!$k(t.declarations))return n;if(n===fr)return Mc(e,t);n=pv(n,e,i);var o,i=!1,s=(oe&&Ne&&eF(e)&&110===e.expression.kind?(o=t&&t.valueDeclaration)&&Pk(o)&&(mN(o)||176!==(s=sv(e)).kind||s.parent!==o.parent||33554432&o.flags||(i=!0)):oe&&t&&t.valueDeclaration&&uT(t.valueDeclaration)&&R7(t.valueDeclaration)&&sv(e)===sv(t.valueDeclaration)&&(i=!0),ov(e,n,i?Qg(n):n));return i&&!Jm(n)&&Jm(s)?(le(r,Q3.Property_0_is_used_before_being_assigned,de(t)),n):a?Lg(s):s}function f1(e){return Y3(e,function(e){switch(e.kind){case 172:return!0;case 303:case 174:case 177:case 178:case 305:case 167:case 239:case 294:case 291:case 292:case 293:case 286:case 233:case 298:return!1;case 219:case 244:return!(!TP(e.parent)||!jD(e.parent.parent))||"quit";default:return!o7(e)&&"quit"}})}function p1(e,t,n){var r,i,a,o,s;if(!CD(e)&&1048576&t.flags&&!(402784252&t.flags))try{for(var c=__values(t.types),u=c.next();!u.done;u=c.next()){var l=u.value;if(!he(l,e.escapedText)&&!y_(l,e.escapedText)){i=aF(i,Q3.Property_0_does_not_exist_on_type_1,i8(e),fe(l));break}}}catch(e){o={error:e}}finally{try{u&&!u.done&&(a=c.return)&&a.call(c)}finally{if(o)throw o.error}}m1(e.escapedText,t)?(a=i8(e),o=fe(t),i=aF(i,Q3.Property_0_does_not_exist_on_type_1_Did_you_mean_to_access_the_static_member_2_instead,a,o,o+"."+a)):(o=Ub(t))&&he(o,e.escapedText)?(i=aF(i,Q3.Property_0_does_not_exist_on_type_1,i8(e),fe(t)),r=tT(e,Q3.Did_you_forget_to_use_await)):(a=i8(e),o=fe(t),void 0!==(_=function(e,t){var n,r,t=Ql(t).symbol;if(t){t=H4(t),t=Tw().get(t);if(t)try{for(var i=__values(t),a=i.next();!a.done;a=i.next()){var o=__read(a.value,2),s=o[0];if(xT(o[1],e))return s}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}}(a,t))?i=aF(i,Q3.Property_0_does_not_exist_on_type_1_Do_you_need_to_change_your_target_library_Try_changing_the_lib_compiler_option_to_2_or_later,a,o,_):void 0!==(_=h1(e,t))?(s=H4(_),i=aF(i,n?Q3.Property_0_may_not_exist_on_type_1_Did_you_mean_2:Q3.Property_0_does_not_exist_on_type_1_Did_you_mean_2,a,o,s),r=_.valueDeclaration&&tT(_.valueDeclaration,Q3._0_is_declared_here,s)):(_=t,s=H.lib&&!H.lib.includes("dom")&&function(e,t){return 3145728&e.flags?gT(e.types,t):t(e)}(_,function(e){return e.symbol&&/^(EventTarget|Node|((HTML[a-zA-Z]*)?Element))$/.test(V4(e.symbol.escapedName))})&&Rm(_)?Q3.Property_0_does_not_exist_on_type_1_Try_changing_the_lib_compiler_option_to_include_dom:Q3.Property_0_does_not_exist_on_type_1,i=aF(o_(i,t),s,a,o)));var _=l8(eT(e),e,i);r&&PF(_,r),Ya(!n||i.code!==Q3.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,_)}function m1(e,t){t=t.symbol&&he(me(t.symbol),e);return void 0!==t&&t.valueDeclaration&&mN(t.valueDeclaration)}function g1(e,t){return S1(e,ge(t),106500)}function h1(e,t){var n,r=ge(t);return"string"!=typeof e&&(uT(n=e.parent)&&(r=U3(r,function(e){return C1(n,t,e)})),e=$3(e)),S1(e,r,111551)}function y1(e,t){var e=ZT(e)?e:$3(e),t=ge(t),n="for"===e?q3(t,function(e){return"htmlFor"===H4(e)}):"class"===e?q3(t,function(e){return"className"===H4(e)}):void 0;return null!=n?n:S1(e,t,111551)}function v1(e,t){e=h1(e,t);return e&&H4(e)}function x1(e,i,t){return G3.assert(void 0!==i,"outername should always be defined"),bo(e,i,t,void 0,i,!1,!1,!0,function(t,e,n){G3.assertEqual(i,e,"name should equal outerName");var r=go(t,e,n);return r||(r=t===ct?NT(["string","number","boolean","object","bigint","symbol"],function(e){return t.has(e.charAt(0).toUpperCase()+e.slice(1))?X(524288,e):void 0}).concat(KT(t.values())):KT(t.values()),S1(V4(e),r,n))})}function b1(e,t){return t.exports&&S1($3(e),fs(t),2623475)}function S1(e,t,n){return i4(e,t,function(e){var t=H4(e);if(!u4(t,'"')){if(e.flags&n)return t;if(2097152&e.flags){e=function(e){if(_e(e).aliasTarget!==ur)return Go(e)}(e);if(e&&e.flags&n)return t}}})}function k1(e,t,n){var r=e&&106500&e.flags&&e.valueDeclaration;if(r){var r=pN(r,2),i=e.valueDeclaration&&G4(e.valueDeclaration)&&CD(e.valueDeclaration.name);if((r||i)&&(!t||!XN(t)||65536&e.flags)){if(n){r=Y3(t,AC);if(r&&r.symbol===e)return}(1&HN(e)?_e(e).target:e).isReferenced=67108863}}}function T1(e,t){return 110===e.kind||!!t&&IN(e)&&t===$h(ON(e))}function C1(e,t,n){return N1(e,211===e.kind&&108===e.expression.kind,!1,t,n)}function w1(e,t,n,r){return!!z(r)||!!(n=he(r,n))&&N1(e,t,!1,r,n)}function N1(e,t,n,r,i){var a;return!!z(r)||(i.valueDeclaration&&CC(i.valueDeclaration)?(a=J8(i.valueDeclaration),!fC(e)&&!!Y3(e,function(e){return e===a})):H0(e,t,n,r,i))}function F1(e){var t,n=f5(e);if(80===n.kind){var r=$h(n);if(3&r.flags)for(var i=e,a=e.parent;a;){if(249===a.kind&&i===a.statement&&function(e){if(261===(e=e.initializer).kind){var t=e.declarations[0];if(t&&!qC(t.name))return ee(t)}else if(80===e.kind)return $h(e)}(a)===r&&1===f_(t=pb(a.expression)).length&&p_(t,ce))return 1;a=(i=a).parent}}}function D1(e,t){return 64&e.flags?(r=t,i=ne((n=e).expression),a=th(i,n.expression),eh(P1(n,e1(a,n.expression),r),n,a!==i)):P1(e,G0(e.expression),t);var n,r,i,a}function P1(e,t,n){var t=0!==o5(e)||i1(e)?_h(t):t,r=e.argumentExpression,i=ne(r);return pe(t)||t===Or?t:zx(t)&&!gw(r)?(le(r,Q3.A_const_enum_member_can_only_be_accessed_using_a_string_literal),K):(i=np(t,F1(r)?ce:i,s5(e)?4|(Kf(t)&&!$F(t)?2:0):32,e)||K,Lb(d1(e,Z(e).resolvedSymbol,i,r,n),e))}function E1(e){return KC(e)||_P(e)||sw(e)}function A1(e){return E1(e)&&z3(e.typeArguments,re),215===e.kind?ne(e.template):sw(e)?ne(e.attributes):lT(e)?ne(e.left):KC(e)&&z3(e.arguments,function(e){ne(e)}),fi}function I1(e){return A1(e),pi}function O1(e){return!!e&&(230===e.kind||237===e.kind&&e.isSpread)}function L1(e){return yT(e,O1)}function j1(e){return!!(16384&e.flags)}function M1(e){return!!(49155&e.flags)}function R1(e,t,n,r){void 0===r&&(r=!1);var i=!1,a=Q2(n),o=Y2(n);if(215===e.kind){var s=t.length;i=228===e.template.kind?Bw((c=qT(e.template.templateSpans)).literal)||!!c.literal.isUnterminated:(c=e.template,G3.assert(15===c.kind),!!c.isUnterminated)}else if(170===e.kind)s=t2(e,n);else if(226===e.kind)s=1;else if(sw(e)){if(i=e.attributes.end===e.end)return 1;s=0===o?t.length:1,a=0===t.length?a:1,o=Math.min(o,1)}else{if(!e.arguments)return G3.assert(214===e.kind),0===Y2(n);s=r?t.length+1:t.length,i=e.arguments.end===e.end;var c=L1(t);if(0<=c)return c>=Y2(n)&&($2(n)||c=e&&t.length<=n}function J1(e){return q1(e,0,!1)}function z1(e){return q1(e,0,!1)||q1(e,1,!1)}function q1(e,t,n){if(524288&e.flags){e=Dl(e);if(n||0===e.properties.length&&0===e.indexInfos.length){if(0===t&&1===e.callSignatures.length&&0===e.constructSignatures.length)return e.callSignatures[0];if(1===t&&1===e.constructSignatures.length&&0===e.callSignatures.length)return e.constructSignatures[0]}}}function U1(e,t,n,r){var i=hh(e.typeParameters,e,0,r),r=Z2(t),r=n&&(r&&262144&r.flags?n.nonFixingMapper:n.mapper);return mh(r?Yp(t,r):t,e,function(e,t){zh(i.inferences,e,t)}),n||gh(t,e,function(e,t){zh(i.inferences,e,t,128)}),M_(e,Qh(i),nT(t.declaration))}function V1(e){var t;return e?(t=ne(e),UN(e)?t:pC(e.parent)?Yg(t):fC(e.parent)?Zg(t):t):Ir}function W1(e,t,n,r,i){if(sw(e))return a=r,c=i,s=i0(s=t,o=e),o=$x(o.attributes,s,c,a),zh(c.inferences,o,s),Qh(c);170!==e.kind&&226!==e.kind&&(a=gT(t.typeParameters,Hl),o=$v(e,a?8:0))&&Th(s=ve(t))&&(c=r0(e),!a&&$v(e,8)!==o||(u=(u=J1(l=Se(o,kh((void 0===(l=1)&&(l=0),(u=c)&&yh(V3(u.inferences,Sh),u.signature,u.flags|l,u.compareTypes))))))&&u.typeParameters?q_(R_(u,u.typeParameters)):l,zh(i.inferences,u,s,128)),l=hh(t.typeParameters,t,i.flags),u=Se(o,c&&c.returnMapper),zh(l.inferences,u,s),i.returnMapper=W3(l.inferences,lb)?kh((_=U3((p=l).inferences,lb)).length?yh(V3(_,Sh),p.signature,p.flags,p.compareTypes):void 0):void 0);var a,o,s,c,u,l,_,d=ex(t),f=d?Math.min(Q2(t)-1,n.length):n.length,p=(d&&262144&d.flags&&(_=q3(i.inferences,function(e){return e.typeParameter===d}))&&(_.impliedArity=yT(n,O1,f)<0?n.length-f:void 0),E_(t));p&&Th(p)&&(e=$1(e),zh(i.inferences,V1(e),p));for(var m=0;mt.length;)r.pop();for(;r.lengthn.parameters.length&&(i=r0(n),c)&&2&c&&rx(t,r,i);!r||O_(n)||t.resolvedReturnType||(a=xx(n,c),t.resolvedReturnType)||(t.resolvedReturnType=a),xb(n)}return me(ee(e))}function Dx(e,t,n,r){return void 0===r&&(r=!1),!!ke(t,zr)||(Za(e,!!(e=r&&qb(t))&&ke(e,zr),n),!1)}function Px(e){if(!uP(e))return!1;if(!O7(e))return!1;e=Zx(e.arguments[2]);if(yc(e,"value")){var t=he(e,"writable"),n=t&&me(t);if(!n||n===Nr||n===Fr)return!0;if(t&&t.valueDeclaration&&sE(t.valueDeclaration)){n=ne(t.valueDeclaration.initializer);if(n===Nr||n===Fr)return!0}return!1}return!he(e,"set")}function Ex(e){return!!(8&HN(e)||4&e.flags&&8&KN(e)||3&e.flags&&6&U0(e)||98304&e.flags&&!(65536&e.flags)||8&e.flags||W3(e.declarations,Px))}function Ax(e,t,n){if(0!==n){if(Ex(t)){if(4&t.flags&&eF(e)&&110===e.expression.kind){var r,i,n=B8(e);if(!n||176!==n.kind&&!x2(n))return 1;if(t.valueDeclaration)return a=lT(t.valueDeclaration),o=n.parent===t.valueDeclaration.parent,r=n===t.valueDeclaration.parent,i=a&&(null==(i=t.parent)?void 0:i.valueDeclaration)===n.parent,t=a&&(null==(a=t.parent)?void 0:a.valueDeclaration)===n,!(o||r||i||t)}return 1}if(eF(e)){var a=f5(e.expression);if(80===a.kind){var o,n=Z(a).resolvedSymbol;if(2097152&n.flags)return(o=Fo(n))&&274===o.kind}}}}function Ix(e,t,n){var r=BE(e,7);if(80===r.kind||eF(r)){if(!(64&r.flags))return 1;le(e,n)}else le(e,t)}function Ox(e){ne(e.expression);var t,n,r,e=f5(e.expression);return eF(e)?(uT(e)&&CD(e.name)&&le(e,Q3.The_operand_of_a_delete_operator_cannot_be_a_private_identifier),(n=ws(Z(e).resolvedSymbol))&&(Ex(n)?le(e,Q3.The_operand_of_a_delete_operator_cannot_be_a_read_only_property):(t=e,r=me(n=n),!oe||131075&r.flags||(Pe?16777216&n.flags:hy(r,16777216))||le(t,Q3.The_operand_of_a_delete_operator_must_be_optional)))):le(e,Q3.The_operand_of_a_delete_operator_must_be_a_property_reference),Er}function Lx(e){var t,n=!1,r=q8(e);if(r&&jD(r))le(e,o=gP(e)?Q3.await_expression_cannot_be_used_inside_a_class_static_block:Q3.await_using_statements_cannot_be_used_inside_a_class_static_block),n=!0;else if(!(65536&e.flags))if(H8(e)){if(!N3(t=eT(e))){var i,a=void 0;switch($w(t,H)||(null==a&&(a=p8(t,e.pos)),o=gP(e)?Q3.await_expressions_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module:Q3.await_using_statements_are_only_allowed_at_the_top_level_of_a_file_when_that_file_is_a_module_but_this_file_has_no_imports_or_exports_Consider_adding_an_empty_export_to_make_this_file_a_module,i=nF(t,a.start,a.length,o),ue.add(i),n=!0),S){case 100:case 199:if(1===t.impliedNodeFormat){null!=a||(a=p8(t,e.pos)),ue.add(nF(t,a.start,a.length,Q3.The_current_file_is_a_CommonJS_module_and_cannot_use_await_at_the_top_level)),n=!0;break}case 7:case 99:case 4:if(4<=$)break;default:null!=a||(a=p8(t,e.pos));var o=gP(e)?Q3.Top_level_await_expressions_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher:Q3.Top_level_await_using_statements_are_only_allowed_when_the_module_option_is_set_to_es2022_esnext_system_node16_or_nodenext_and_the_target_option_is_set_to_es2017_or_higher;ue.add(nF(t,a.start,a.length,o)),n=!0}}}else N3(t=eT(e))||(a=p8(t,e.pos),o=gP(e)?Q3.await_expressions_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules:Q3.await_using_statements_are_only_allowed_within_async_functions_and_at_the_top_levels_of_modules,i=nF(t,a.start,a.length,o),r&&176!==r.kind&&0==(2&D5(r))&&PF(i,tT(r,Q3.Did_you_mean_to_mark_this_function_as_async)),ue.add(i),n=!0);return gP(e)&&Iv(e)&&(le(e,Q3.await_expressions_cannot_be_used_in_a_parameter_initializer),n=!0),n}function jx(e){return Rx(e,2112)?Bx(e,3)||Rx(e,296)?zr:wr:ce}function Mx(e,t){return Rx(e,t)||(e=ql(e))&&Rx(e,t)}function Rx(e,t){var n,r;if(e.flags&t)return!0;if(3145728&e.flags){e=e.types;try{for(var i=__values(e),a=i.next();!a.done;a=i.next())if(Rx(a.value,t))return!0}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}return!1}function Bx(e,t,n){return!!(e.flags&t)||!(n&&114691&e.flags)&&(!!(296&t)&&ke(e,ce)||!!(2112&t)&&ke(e,wr)||!!(402653316&t)&&ke(e,se)||!!(528&t)&&ke(e,Er)||!!(16384&t)&&ke(e,Ir)||!!(131072&t)&&ke(e,J)||!!(65536&t)&&ke(e,Tr)||!!(32768&t)&&ke(e,G)||!!(4096&t)&&ke(e,Ar)||!!(67108864&t)&&ke(e,Mr))}function Jx(e,t,n){return 1048576&e.flags?gT(e.types,function(e){return Jx(e,t,n)}):Bx(e,t,n)}function zx(e){return!!(16&iT(e))&&!!e.symbol&&qx(e.symbol)}function qx(e){return 0!=(128&e.flags)}function Ux(e){e=El(e,$S("hasInstance"));if(e){e=me(e);if(e&&0!==ye(e,0).length)return e}}function Vx(e,t,n,r){return n===Or||r===Or?Or:(CD(e)?($<99&&o3(e,2097152),!Z(e).resolvedSymbol&&J8(e)&&p1(e,r,_1(e,r.symbol,!0))):km(e1(n,e),Br,e),km(e1(r,t),Mr,t)&&My(r,function(e){return e===ei||!!(2097152&e.flags)&&Bm(ql(e))})&&le(t,Q3.Type_0_may_represent_a_primitive_value_which_is_not_permitted_as_the_right_operand_of_the_in_operator,fe(r)),Er)}function Wx(e,t,n,r,i){void 0===i&&(i=!1);var a,o,s,c,e=e.properties,u=e[n];if(303===u.kind||304===u.kind)return fD(c=Ff(s=u.name))&&(p=he(t,pD(c)))&&(k1(p,u,i),W0(u,!1,!0,t,p)),p=Tc(u,ep(t,c,32,s)),Kx(304===u.kind?u:u.initializer,p);if(305===u.kind){if(!(n>i;case 50:return r>>>i;case 48:return r<=$i.length)&&(null==(e=$i[e])?void 0:e.flags)||0}function U6(e){return Ik(e.parent),Z(e).enumMemberValue}function V6(e){switch(e.kind){case 306:case 211:case 212:return!0}return!1}function W6(e){if(306===e.kind)return U6(e);e=Z(e).resolvedSymbol;if(e&&8&e.flags){e=e.valueDeclaration;if(v8(e.parent))return U6(e)}}function H6(e){return 524288&e.flags&&0".length-n,Q3.Type_parameter_list_cannot_be_empty)}function _3(e){if(3<=$){var t=e.body&&TP(e.body)&&LE(e.body.statements);if(t){var e=U3(e.parameters,function(e){return e.initializer||qC(e.name)||vw(e)});if(J3(e))return z3(e,function(e){PF(le(e,Q3.This_parameter_is_not_allowed_with_use_strict_directive),tT(t,Q3.use_strict_directive_used_here))}),e=e.map(function(e,t){return tT(e,0===t?Q3.Non_simple_parameter_declared_here:Q3.and_here)}),PF.apply(void 0,__spreadArray([le(t,Q3.use_strict_directive_cannot_be_used_with_non_simple_parameter_list)],__read(e),!1)),!0}}return!1}function d3(e){var t=eT(e);return s3(e)||l3(e.typeParameters,t)||function(e){for(var t=!1,n=e.length,r=0;r".length-n,Q3.Type_argument_list_cannot_be_empty));var n}function p3(e){var t,n=e.types;if(!u3(n))return n&&0===n.length?(t=F4(e.token),D3(e,n.pos,0,Q3._0_list_cannot_be_empty,t)):void W3(n,m3)}function m3(e){return bP(e)&&wD(e.expression)&&e.typeArguments?Q(e,Q3.This_use_of_import_is_invalid_import_calls_can_be_written_but_they_must_have_parentheses_and_cannot_have_type_arguments):f3(e,e.typeArguments)}function g3(e){return 167===e.kind&&226===e.expression.kind&&28===e.expression.operatorToken.kind?Q(e.expression,Q3.A_comma_expression_is_not_allowed_in_a_computed_property_name):void 0}function h3(e){return e.asteriskToken&&(G3.assert(262===e.kind||218===e.kind||174===e.kind),33554432&e.flags?Q(e.asteriskToken,Q3.Generators_are_not_allowed_in_an_ambient_context):!e.body&&Q(e.asteriskToken,Q3.An_overload_signature_cannot_be_declared_as_a_generator))}function y3(e,t){return e&&Q(e,t)}function v3(e,t){return e&&Q(e,t)}function x3(e){if(!E3(e))if(250!==e.kind||!e.awaitModifier||65536&e.flags)if(!PP(e)||65536&e.flags||!cT(e.initializer)||"async"!==e.initializer.escapedText){if(261===e.initializer.kind){var t=e.initializer;if(!w3(t)){var n=t.declarations;if(!n.length)return;if(1a.line||k.generatedLine===a.line&&k.generatedCharacter>a.character))break;i&&(k.generatedLine>=5)&&(t|=32),A(0<=(t=t)&&t<26?65+t:26<=t&&t<52?97+t-26:52<=t&&t<62?48+t-52:62===t?43:63===t?47:G3.fail("".concat(t,": not a base64 value")))}while(0=i.length)return f("Error in decoding base64VLQFormatDecode, past the mapping string"),-1;var r=65<=(r=i.charCodeAt(a))&&r<=90?r-65:97<=r&&r<=122?r-97+26:48<=r&&r<=57?r-48+52:43===r?62:47===r?63:-1;if(-1==r)return f("Invalid character in VLQ"),-1;e=0!=(32&r),n|=(31&r)<>=1:n=-(n>>=1),n}}function n6(e,t){return e===t||e.generatedLine===t.generatedLine&&e.generatedCharacter===t.generatedCharacter&&e.sourceIndex===t.sourceIndex&&e.sourceLine===t.sourceLine&&e.sourceCharacter===t.sourceCharacter&&e.nameIndex===t.nameIndex}function r6(e){return void 0!==e.sourceIndex&&void 0!==e.sourceLine&&void 0!==e.sourceCharacter}function i6(e){return void 0!==e.sourceIndex&&void 0!==e.sourcePosition}function a6(e,t){return e.generatedPosition===t.generatedPosition&&e.sourceIndex===t.sourceIndex&&e.sourcePosition===t.sourcePosition}function o6(e,t){return G3.assert(e.sourceIndex===t.sourceIndex),r4(e.sourcePosition,t.sourcePosition)}function s6(e,t){return r4(e.generatedPosition,t.generatedPosition)}function c6(e){return e.sourcePosition}function u6(e){return e.generatedPosition}function l6(i,a,e){var n,o,c,e=k4(e),t=a.sourceRoot?C4(a.sourceRoot,e):e,s=C4(a.file,e),u=i.getSourceFileLike(s),l=a.sources.map(function(e){return C4(e,t)}),_=new Map(l.map(function(e,t){return[i.getCanonicalFileName(e),t]}));return{getSourcePosition:function(e){var t=function(){var t,e;if(void 0===o){var n=[];try{for(var r=__values(d()),i=r.next();!i.done;i=r.next()){var a=i.value;n.push(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(e=r.return)&&e.call(r)}finally{if(t)throw t.error}}o=P(n,s6,a6)}return o}();if(!W3(t))return e;var n=J(t,e.pos,u6,r4);n<0&&(n=~n);t=t[n];return void 0!==t&&i6(t)?{fileName:l[t.sourceIndex],pos:t.sourcePosition}:e},getGeneratedPosition:function(e){var t=_.get(i.getCanonicalFileName(e.fileName));if(void 0===t)return e;var n=function(e){var t,n;if(void 0===c){var r=[];try{for(var i=__values(d()),a=i.next();!a.done;a=i.next()){var o,s=a.value;i6(s)&&((o=r[s.sourceIndex])||(r[s.sourceIndex]=o=[]),o.push(s))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}c=r.map(function(e){return P(e,o6,a6)})}return c[e]}(t);if(!W3(n))return e;var r=J(n,e.pos,c6,r4);r<0&&(r=~r);n=n[r];return void 0!==n&&n.sourceIndex===t?{fileName:s,pos:n.generatedPosition}:e}};function r(e){var t,n,r=void 0!==u?Pa(u,e.generatedLine,e.generatedCharacter,!0):-1;return r6(e)&&(n=i.getSourceFileLike(l[e.sourceIndex]),t=a.sources[e.sourceIndex],n=void 0!==n?Pa(n,e.sourceLine,e.sourceCharacter,!0):-1),{generatedPosition:r,source:t,sourceIndex:e.sourceIndex,sourcePosition:n,nameIndex:e.nameIndex}}function d(){var e,t;return void 0===n&&(t=KT(e=t6(a.mappings),r),n=void 0!==e.error?(i.log&&i.log("Encountered error while decoding sourcemap: ".concat(e.error)),B3):t),n}}var _6,d6,f6=e({"src/compiler/sourcemap.ts":function(){QM(),va(),Vk=/\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,Wk=/^\/\/[@#] source[M]appingURL=(.+)\r?\n?$/,Hk=/^\s*(\/\/[@#] .*)?$/,Kk={getSourcePosition:Cn,getGeneratedPosition:Cn}}});function p6(e){return(e=z4(e))?gA(e):0}function m6(e){return void 0!==e.propertyName&&"default"===e.propertyName.escapedText}function g6(t,n){return function(e){return(312===e.kind?n:function(e){return t.factory.createBundle(V3(e.sourceFiles,n),e.prepends)})(e)}}function h6(e){return!!V7(e)}function y6(e){var t,n;if(V7(e))return!0;var r=e.importClause&&e.importClause.namedBindings;if(!r)return!1;if(!ov(r))return!1;var i=0;try{for(var a=__values(r.elements),o=a.next();!o.done;o=a.next())m6(o.value)&&i++}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return 0=n.length&&null!=(r=t.body.multiLine)?r:0=e.end))for(var r=n8(e);n;){if(n===r||n===e)return;if(LC(n)&&n.parent===e)return 1;n=n.parent}return}(t,e)))return _T(Re.getGeneratedNameForNode(X4(t)),e)}return e}(e);case 110:return function(e){if(1&i&&16&je)return _T(We(),e);return e}(e)}return e}(t);if(cT(t))return function(e){if(2&i&&!e0(e)){var t=q4(e,cT);if(t&&function(e){switch(e.parent.kind){case 208:case 263:case 266:case 260:return e.parent.name===e&&p.isDeclarationWithCollidingName(e.parent)}return}(t))return _T(Re.getGeneratedNameForNode(t),e)}return e}(t);return t},g6(Oe,function(e){if(e.isDeclarationFile)return e;o=(Le=e).text;e=function(e){var t=Je(8064,64),n=[],r=[],i=(l(),Re.copyPrologue(e.statements,n,!1,qe));K3(r,fT(e.statements,qe,aw,i)),a&&r.push(Re.createVariableStatement(void 0,Re.createVariableDeclarationList(a)));return Re.mergeLexicalEnvironment(n,d()),O(n,e),ze(t,0,0),Re.updateSourceFile(e,_T(Re.createNodeArray(PT(n,r)),e.statements))}(e);return Ug(e,Oe.readEmitHelpers()),a=o=Le=void 0,je=0,e});function Je(e,t){var n=je;return je=32767&(je&~e|t),n}function ze(e,t,n){je=-32768&(je&~t|n)|e}function Ye(e){return 0!=(8192&je)&&253===e.kind&&!e.expression}function r(e){return 0!=(1024&e.transformFlags)||void 0!==Me||8192&je&&4194304&(t=e).transformFlags&&(Hy(t)||NP(t)||Ky(t)||Gy(t)||Zy(t)||pv(t)||mv(t)||Yy(t)||oE(t)||Xy(t)||QC(t,!1)||TP(t))||QC(e,!1)&&V(e)||0!=(1&dl(e));var t}function qe(e){return r(e)?s(e,!1):e}function Ue(e){return r(e)?s(e,!0):e}function $e(e){var t,n;return r(e)?ID(t=z4(e))&&gN(t)?(t=Je(32670,16449),n=s(e,!1),ze(t,229376,0),n):s(e,!1):e}function Ve(e){return 108===e.kind?pt(e,!0):qe(e)}function s(e,j){switch(e.kind){case 126:return;case 263:var t=e,n=Re.createVariableDeclaration(Re.getLocalName(t,!0),void 0,void 0,tt(t)),M=(oT(n,t),[]);return oT(n=Re.createVariableStatement(void 0,Re.createVariableDeclarationList([n])),t),_T(n,t),c0(n),M.push(n),rT(t,32)&&(oT(t=rT(t,2048)?Re.createExportDefault(Re.getLocalName(t)):Re.createExternalModuleExport(Re.getLocalName(t)),n),M.push(t)),ht(M);case 231:return tt(e);case 169:n=e;return n.dotDotDotToken?void 0:qC(n.name)?oT(_T(Re.createParameterDeclaration(void 0,void 0,Re.getGeneratedNameForNode(n),void 0,void 0,void 0),n),n):n.initializer?oT(_T(Re.createParameterDeclaration(void 0,void 0,n.name,void 0,void 0,void 0),n),n):n;case 262:return t=Me,Me=void 0,M=Je(32670,65),Ee=Bk((L=e).parameters,qe,Oe),Ae=Ge(L),Ie=32768&je?Re.getLocalName(L):L.name,ze(M,229376,0),Me=t,Re.updateFunctionDeclaration(L,fT(L.modifiers,qe,NC),L.asteriskToken,Ie,void 0,Ee,void 0,Ae);case 219:return 16384&(L=e).transformFlags&&!(16384&je)&&(je|=131072),Ie=Me,Me=void 0,Ee=Je(15232,66),_T(Ae=Re.createFunctionExpression(void 0,void 0,void 0,void 0,Bk(L.parameters,qe,Oe),void 0,Ge(L)),L),oT(Ae,L),sT(Ae,16),ze(Ee,0,0),Me=Ie,Ae;case 218:return I=524288&_l(A=e)?Je(32662,69):Je(32670,65),Fe=Me,Me=void 0,De=Bk(A.parameters,qe,Oe),Pe=Ge(A),O=32768&je?Re.getLocalName(A):A.name,ze(I,229376,0),Me=Fe,Re.updateFunctionExpression(A,void 0,A.asteriskToken,O,void 0,De,void 0,Pe);case 260:return at(e);case 80:return et(e);case 261:I=e;return 7&I.flags||524288&I.transformFlags?(7&I.flags&&mt(),Fe=fT(I.declarations,1&I.flags?it:at,EP),oT(A=Re.createVariableDeclarationList(Fe),I),_T(A,I),hD(A,I),524288&I.transformFlags&&(qC(I.declarations[0].name)||qC(qT(I.declarations).name))&&Dg(A,function(e){var t,n,r=-1,i=-1;try{for(var a=__values(e),o=a.next();!o.done;o=a.next()){var s=o.value;r=-1===r?s.pos:-1===s.pos?r:Math.min(r,s.pos),i=Math.max(i,s.end)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return yf(r,i)}(Fe)),A):pT(I,qe,Oe);case 255:return O=e,void 0===Me?pT(O,qe,Oe):(De=Me.allowedNonLabeledJumps,Me.allowedNonLabeledJumps|=2,O=pT(O,qe,Oe),Me.allowedNonLabeledJumps=De,O);case 269:return Pe=Je(7104,0),r=pT(r=e,qe,Oe),ze(Pe,0,0),r;case 241:var r=e,i=!1;return i?pT(r,qe,Oe):(i=256&je?Je(7104,512):Je(6976,128),r=pT(r,qe,Oe),ze(i,0,0),r);case 252:case 251:i=e;if(Me){var a=252===i.kind?2:4;if(!(i.label&&Me.labels&&Me.labels.get($3(i.label))||!i.label&&Me.allowedNonLabeledJumps&a)){var a=void 0,o=i.label,o=(o?252===i.kind?(a="break-".concat(o.escapedText),dt(Me,!0,$3(o),a)):(a="continue-".concat(o.escapedText),dt(Me,!1,$3(o),a)):a=252===i.kind?(Me.nonLocalJumps|=2,"break"):(Me.nonLocalJumps|=4,"continue"),Re.createStringLiteral(a));if(Me.loopOutParameters.length){for(var R=Me.loopOutParameters,B=void 0,J=0;J(n0(t)?1:0);return!1}((r=e).left)?q6(r,P,T,0,!i,U):pT(r,P,T);break;case 224:case 225:var s,c,u=e,n=t;if((46===u.operator||47===u.operator)&&cT(u.operand)&&!TC(u.operand)&&!t0(u.operand)&&!Mf(u.operand)){var l=J(u.operand);if(l){var _=void 0,d=dT(u.operand,P,Z3);hP(u)?d=C.updatePrefixUnaryExpression(u,d):(d=C.updatePostfixUnaryExpression(u,d),n||(_=C.createTempVariable(v),_T(d=C.createAssignment(_,d),u)),_T(d=C.createComma(d,C.cloneNode(u.operand)),u));try{for(var f=__values(l),p=f.next();!p.done;p=f.next()){var m=p.value;F[gA(d)]=!0,_T(d=R(m,d),u)}}catch(e){s={error:e}}finally{try{p&&!p.done&&(c=f.return)&&c.call(f)}finally{if(s)throw s.error}}return _&&(F[gA(d)]=!0,_T(d=C.createComma(d,_),u)),d}}return pT(u,P,T)}return pT(e,P,T)}function P(e){return t(e,!1)}function E(e){return t(e,!0)}function q(e,t){if(t&&e.initializer&&AP(e.initializer)&&!(7&e.initializer.flags)){var n,r,i,a=j(void 0,e.initializer,!1);if(a)return n=[],r=dT(e.initializer,E,AP),r=C.createVariableStatement(void 0,r),n.push(r),K3(n,a),r=dT(e.condition,P,Z3),a=dT(e.incrementor,E,Z3),i=zk(e.statement,t?D:P,T),n.push(C.updateForStatement(e,void 0,r,a,i)),n}return C.updateForStatement(e,dT(e.initializer,E,mc),dT(e.condition,P,Z3),dT(e.incrementor,E,Z3),zk(e.statement,t?D:P,T))}function A(e,t){var n,r=C.createUniqueName("resolve"),i=C.createUniqueName("reject"),a=[C.createParameterDeclaration(void 0,void 0,r),C.createParameterDeclaration(void 0,void 0,i)],e=C.createBlock([C.createExpressionStatement(C.createCallExpression(C.createIdentifier("require"),void 0,[C.createArrayLiteralExpression([e||C.createOmittedExpression()]),r,i]))]),r=(2<=w?n=C.createArrowFunction(void 0,void 0,a,void 0,void 0,e):(n=C.createFunctionExpression(void 0,void 0,void 0,void 0,a,void 0,e),t&&sT(n,16)),C.createNewExpression(C.createIdentifier("Promise"),void 0,[n]));return pF(b)?C.createCallExpression(C.createPropertyAccessExpression(r,C.createIdentifier("then")),void 0,[y().createImportStarCallbackHelper()]):r}function I(e,t){var t=e&&!k6(e)&&!t,n=C.createCallExpression(C.createPropertyAccessExpression(C.createIdentifier("Promise"),"resolve"),void 0,t?2<=w?[C.createTemplateExpression(C.createTemplateHead(""),[C.createTemplateSpan(e,C.createTemplateTail(""))])]:[C.createCallExpression(C.createPropertyAccessExpression(C.createStringLiteral(""),"concat"),void 0,[e])]:[]),e=C.createCallExpression(C.createIdentifier("require"),void 0,t?[C.createIdentifier("s")]:e?[e]:[]),t=(pF(b)&&(e=y().createImportStarHelper(e)),t?[C.createParameterDeclaration(void 0,void 0,"s")]:[]),t=2<=w?C.createArrowFunction(void 0,void 0,t,void 0,void 0,e):C.createFunctionExpression(void 0,void 0,void 0,void 0,t,void 0,C.createBlock([C.createReturnStatement(e)]));return C.createCallExpression(C.createPropertyAccessExpression(n,"then"),void 0,[t])}function O(e,t){return!pF(b)||2&dl(e)?t:y6(e)?y().createImportStarHelper(t):v6(e)?y().createImportDefaultHelper(t):t}function L(e){var e=p0(C,e,h,k,S,b),t=[];return e&&t.push(e),C.createCallExpression(C.createIdentifier("require"),void 0,t)}function U(e,t,n){var r,i,a=J(e);if(a){var o=n0(e)?t:C.createAssignment(e,t);try{for(var s=__values(a),c=s.next();!c.done;c=s.next()){var u=c.value;sT(o,8),o=R(u,o,n)}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}return o}return C.createAssignment(e,t)}function j(e,t,n){var r,i;if(!x.exportEquals)try{for(var a=__values(t.declarations),o=a.next();!o.done;o=a.next())e=function e(t,n,r){var i,a;if(x.exportEquals)return t;if(qC(n.name))try{for(var o=__values(n.name.elements),s=o.next();!s.done;s=o.next()){var c=s.value;xP(c)||(t=e(t,c,r))}}catch(e){i={error:e}}finally{try{s&&!s.done&&(a=o.return)&&a.call(o)}finally{if(i)throw i.error}}else TC(n.name)||EP(n)&&!n.initializer&&!r||(t=M(t,new _6,n));return t}(e,o.value,n)}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return e}function V(e,t){var n;return x.exportEquals||(n=new _6,rT(t,32)&&(e=W(e,n,rT(t,2048)?C.createIdentifier("default"):C.getDeclarationName(t),C.getLocalName(t),t)),t.name&&(e=M(e,n,t))),e}function M(e,t,n,r){var i,a,o=C.getDeclarationName(n),n=x.exportSpecifiers.get(o);if(n)try{for(var s=__values(n),c=s.next();!c.done;c=s.next()){var u=c.value;e=W(e,t,u.name,o,u.name,void 0,r)}}catch(e){i={error:e}}finally{try{c&&!c.done&&(a=s.return)&&a.call(s)}finally{if(i)throw i.error}}return e}function W(e,t,n,r,i,a,o){return t.has(n)||(t.set(n,!0),e=H3(e,K(n,r,i,a,o))),e}function H(){var e=0===w?C.createExpressionStatement(R(C.createIdentifier("__esModule"),C.createTrue())):C.createExpressionStatement(C.createCallExpression(C.createPropertyAccessExpression(C.createIdentifier("Object"),"defineProperty"),void 0,[C.createIdentifier("exports"),C.createStringLiteral("__esModule"),C.createObjectLiteralExpression([C.createPropertyAssignment("value",C.createTrue())])]));return sT(e,2097152),e}function K(e,t,n,r,i){e=_T(C.createExpressionStatement(R(e,t,void 0,i)),n);return c0(e),r||sT(e,3072),e}function R(e,t,n,r){return _T(r&&0!==w?C.createCallExpression(C.createPropertyAccessExpression(C.createIdentifier("Object"),"defineProperty"),void 0,[C.createIdentifier("exports"),C.createStringLiteralFromNode(e),C.createObjectLiteralExpression([C.createPropertyAssignment("enumerable",C.createTrue()),C.createPropertyAssignment("get",C.createFunctionExpression(void 0,void 0,void 0,void 0,[],void 0,C.createBlock([C.createReturnStatement(t)])))])]):C.createAssignment(C.createPropertyAccessExpression(C.createIdentifier("exports"),C.cloneNode(e)),t),n)}function B(e){switch(e.kind){case 95:case 90:return}return e}function d(e){var t;if(8192&_l(e))return(n=u0(h))?C.createPropertyAccessExpression(n,e):e;if((!TC(e)||64&e.emitNode.autoGenerate.flags)&&!t0(e)){var n=S.getReferencedExportContainer(e,n0(e));if(n&&312===n.kind)return _T(C.createPropertyAccessExpression(C.createIdentifier("exports"),C.cloneNode(e)),e);var r,n=S.getReferencedImportDeclaration(e);if(n){if(UP(n))return _T(C.createPropertyAccessExpression(C.getGeneratedNameForNode(n.parent),C.createIdentifier("default")),e);if(WP(n))return r=n.propertyName||n.name,_T(C.createPropertyAccessExpression(C.getGeneratedNameForNode((null==(t=null==(t=n.parent)?void 0:t.parent)?void 0:t.parent)||n),C.cloneNode(r)),e)}}return e}function J(e){var t,n,r,i,a;if(TC(e)){if(Ms(e)){var o=null==x?void 0:x.exportSpecifiers.get(e);if(o){var s=[];try{for(var c=__values(o),u=c.next();!u.done;u=c.next()){var l=u.value;s.push(l.name)}}catch(e){a={error:e}}finally{try{u&&!u.done&&(d=c.return)&&d.call(c)}finally{if(a)throw a.error}}return s}}}else{o=S.getReferencedImportDeclaration(e);if(o)return null==x?void 0:x.exportedBindings[p6(o)];var _=new Set,d=S.getReferencedValueDeclarations(e);if(d){try{for(var f=__values(d),p=f.next();!p.done;p=f.next()){var m=p.value,g=null==x?void 0:x.exportedBindings[p6(m)];if(g)try{r=void 0;for(var h=__values(g),y=h.next();!y.done;y=h.next()){var v=y.value;_.add(v)}}catch(e){r={error:e}}finally{try{y&&!y.done&&(i=h.return)&&i.call(h)}finally{if(r)throw r.error}}}}catch(e){t={error:e}}finally{try{p&&!p.done&&(n=f.return)&&n.call(f)}finally{if(t)throw t.error}}if(_.size)return KT(_)}}}}var GA=e({"src/compiler/transformers/module/module.ts":function(){QM(),WA={name:"typescript:dynamicimport-sync-require",scoped:!0,text:'\n var __syncRequire = typeof module === "object" && typeof module.exports === "object";'}}});function XA(p){var k,m,T,g,_,d,o,C=p.factory,B=p.startLexicalEnvironment,J=p.endLexicalEnvironment,h=p.hoistVariableDeclaration,y=p.getCompilerOptions(),v=p.getEmitResolver(),x=p.getEmitHost(),n=p.onSubstituteNode,i=p.onEmitNode,s=(p.onSubstituteNode=function(e,t){if(!function(e){return o&&e.id&&o[e.id]}(t=n(e,t))){if(1===e)return function(e){switch(e.kind){case 80:return function(e){var t;if(8192&_l(e)){var n=u0(k);if(n)return C.createPropertyAccessExpression(n,e)}else if(!TC(e)&&!t0(e)){n=v.getReferencedImportDeclaration(e);if(n){if(UP(n))return _T(C.createPropertyAccessExpression(C.getGeneratedNameForNode(n.parent),C.createIdentifier("default")),e);if(WP(n))return _T(C.createPropertyAccessExpression(C.getGeneratedNameForNode((null==(t=null==(t=n.parent)?void 0:t.parent)?void 0:t.parent)||n),C.cloneNode(n.propertyName||n.name)),e)}}return e}(e);case 226:return function(e){var t,n;if(DN(e.operatorToken.kind)&&cT(e.left)&&(!TC(e.left)||Ms(e.left))&&!t0(e.left)){var r=W(e.left);if(r){var i=e;try{for(var a=__values(r),o=a.next();!o.done;o=a.next()){var s=o.value;i=E(s,R(i))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return i}}return e}(e);case 236:return function(e){if(jl(e))return C.createPropertyAccessExpression(g,C.createIdentifier("meta"));return e}(e)}return e}(t);if(4===e)return function(e){if(304===e.kind){var t=e,n=t.name;if(!TC(n)&&!t0(n)){var r=v.getReferencedImportDeclaration(n);if(r){if(UP(r))return _T(C.createPropertyAssignment(C.cloneNode(n),C.createPropertyAccessExpression(C.getGeneratedNameForNode(r.parent),C.createIdentifier("default"))),t);if(WP(r))return _T(C.createPropertyAssignment(C.cloneNode(n),C.createPropertyAccessExpression(C.getGeneratedNameForNode((null==(n=null==(n=r.parent)?void 0:n.parent)?void 0:n.parent)||r),C.cloneNode(r.propertyName||r.name))),t)}}return t}return e}(t)}return t},p.onEmitNode=function(e,t,n){{var r;312===t.kind?(r=p6(t),k=t,m=s[r],T=c[r],o=u[r],g=l[r],o&&delete u[r],i(e,t,n),o=g=T=m=k=void 0):i(e,t,n)}},p.enableSubstitution(80),p.enableSubstitution(304),p.enableSubstitution(226),p.enableSubstitution(236),p.enableEmitNotification(312),[]),c=[],u=[],l=[];return g6(p,function(e){if(e.isDeclarationFile||!($w(e,y)||8388608&e.transformFlags))return e;var t=p6(e),n=(d=k=e,m=s[t]=x6(p,e),T=C.createUniqueName("exports"),c[t]=T,g=l[t]=C.createUniqueName("context"),function(e){var t,n,r=new Map,i=[];try{for(var a=__values(e),o=a.next();!o.done;o=a.next()){var s,c,u=o.value,l=p0(C,u,k,x,v,y);l&&(s=l.text,void 0!==(c=r.get(s))?i[c].externalImports.push(u):(r.set(s,i.length),i.push({name:l,externalImports:[u]})))}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return i}(m.externalImports)),r=function(e,t){var n=[],r=(B(),xF(y,"alwaysStrict")||!y.noImplicitUseStrict&&QE(k)),r=C.copyPrologue(e.statements,n,r,b),r=(n.push(C.createVariableStatement(void 0,C.createVariableDeclarationList([C.createVariableDeclaration("__moduleName",void 0,void 0,C.createLogicalAnd(g,C.createPropertyAccessExpression(g,"id")))]))),dT(m.externalHelpersImportDeclaration,b,aw),fT(e.statements,b,aw,r)),i=(K3(n,_),$u(n,J()),function(e){var t,n;if(m.hasExportStarsToExportValues){if(!m.exportedNames&&0===m.exportSpecifiers.size){var r=!1;try{for(var i=__values(m.externalImports),a=i.next();!a.done;a=i.next()){var o=a.value;if(278===o.kind&&o.exportClause){r=!0;break}}}catch(e){_={error:e}}finally{try{a&&!a.done&&(d=i.return)&&d.call(i)}finally{if(_)throw _.error}}if(!r)return d=f(void 0),e.push(d),d.name}var s=[];if(m.exportedNames)try{for(var c=__values(m.exportedNames),u=c.next();!u.done;u=c.next()){var l=u.value;"default"!==l.escapedText&&s.push(C.createPropertyAssignment(C.createStringLiteralFromNode(l),C.createTrue()))}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}var _=C.createUniqueName("exportedNames"),d=(e.push(C.createVariableStatement(void 0,C.createVariableDeclarationList([C.createVariableDeclaration(_,void 0,void 0,C.createObjectLiteralExpression(s,!0))]))),f(_));return e.push(d),d.name}}(n)),e=2097152&e.transformFlags?C.createModifiersFromModifierFlags(1024):void 0,i=C.createObjectLiteralExpression([C.createPropertyAssignment("setters",function(e,t){var n,r,i,a,o,s,c=[];try{for(var u=__values(t),l=u.next();!l.done;l=u.next()){var _=l.value,d=z3(_.externalImports,function(e){return f0(C,e,k)}),f=d?C.getGeneratedNameForNode(d):C.createUniqueName(""),p=[];try{i=void 0;for(var m=__values(_.externalImports),g=m.next();!g.done;g=m.next()){var h=g.value,y=f0(C,h,k);switch(h.kind){case 272:if(!h.importClause)break;case 271:G3.assert(void 0!==y),p.push(C.createExpressionStatement(C.createAssignment(y,f))),rT(h,32)&&p.push(C.createExpressionStatement(C.createCallExpression(T,void 0,[C.createStringLiteral($3(y)),f])));break;case 278:if(G3.assert(void 0!==y),h.exportClause)if(GP(h.exportClause)){var v=[];try{o=void 0;for(var x=__values(h.exportClause.elements),b=x.next();!b.done;b=x.next()){var S=b.value;v.push(C.createPropertyAssignment(C.createStringLiteral($3(S.name)),C.createElementAccessExpression(f,C.createStringLiteral($3(S.propertyName||S.name)))))}}catch(e){o={error:e}}finally{try{b&&!b.done&&(s=x.return)&&s.call(x)}finally{if(o)throw o.error}}p.push(C.createExpressionStatement(C.createCallExpression(T,void 0,[C.createObjectLiteralExpression(v,!0)])))}else p.push(C.createExpressionStatement(C.createCallExpression(T,void 0,[C.createStringLiteral($3(h.exportClause.name)),f])));else p.push(C.createExpressionStatement(C.createCallExpression(e,void 0,[f])))}}}catch(e){i={error:e}}finally{try{g&&!g.done&&(a=m.return)&&a.call(m)}finally{if(i)throw i.error}}c.push(C.createFunctionExpression(void 0,void 0,void 0,void 0,[C.createParameterDeclaration(void 0,void 0,f)],void 0,C.createBlock(p,!0)))}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return C.createArrayLiteralExpression(c,!0)}(i,t)),C.createPropertyAssignment("execute",C.createFunctionExpression(e,void 0,void 0,void 0,[],void 0,C.createBlock(r,!0)))],!0);return n.push(C.createReturnStatement(i)),C.createBlock(n,!0)}(e,n),i=C.createFunctionExpression(void 0,void 0,void 0,void 0,[C.createParameterDeclaration(void 0,void 0,T),C.createParameterDeclaration(void 0,void 0,g)],void 0,r),a=m0(C,e,x,y),n=C.createArrayLiteralExpression(V3(n,function(e){return e.name})),a=sT(C.updateSourceFile(e,_T(C.createNodeArray([C.createExpressionStatement(C.createCallExpression(C.createPropertyAccessExpression(C.createIdentifier("System"),"register"),void 0,a?[a,n,i]:[n,i]))]),e.statements)),2048);Z5(y)||Hg(a,r,function(e){return!e.scoped});o&&(u[t]=o,o=void 0);return d=_=g=T=m=k=void 0,a});function f(e){var t=C.createUniqueName("exportStar"),n=C.createIdentifier("m"),r=C.createIdentifier("n"),i=C.createIdentifier("exports"),a=C.createStrictInequality(r,C.createStringLiteral("default"));return e&&(a=C.createLogicalAnd(a,C.createLogicalNot(C.createCallExpression(C.createPropertyAccessExpression(e,"hasOwnProperty"),void 0,[r])))),C.createFunctionDeclaration(void 0,void 0,t,void 0,[C.createParameterDeclaration(void 0,void 0,n)],void 0,C.createBlock([C.createVariableStatement(void 0,C.createVariableDeclarationList([C.createVariableDeclaration(i,void 0,void 0,C.createObjectLiteralExpression([]))])),C.createForInStatement(C.createVariableDeclarationList([C.createVariableDeclaration(r)]),n,C.createBlock([sT(C.createIfStatement(a,C.createExpressionStatement(C.createAssignment(C.createElementAccessExpression(i,r),C.createElementAccessExpression(n,r)))),1)])),C.createExpressionStatement(C.createCallExpression(T,void 0,[i]))],!0))}function b(e){switch(e.kind){case 272:var t=e;return t.importClause&&h(f0(C,t,k)),ht(function(e,t){var n,r;if(!m.exportEquals){t=t.importClause;if(t){t.name&&(e=D(e,t));var i=t.namedBindings;if(i)switch(i.kind){case 274:e=D(e,i);break;case 275:try{for(var a=__values(i.elements),o=a.next();!o.done;o=a.next()){var s=o.value;e=D(e,s)}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}}}}return e}(void 0,t));case 271:return t=e,G3.assert(l7(t),"import= for internal module references should be handled in an earlier transformer."),h(f0(C,t,k)),ht(function(e,t){if(m.exportEquals)return e;return D(e,t)}(void 0,t));case 278:return void G3.assertIsDefined(e);case 277:var n=e;return n.isExportEquals?void 0:(n=dT(n.expression,O,Z3),a(C.createIdentifier("default"),n,!0));default:return A(e)}}function z(e){var t,n,r;if(!w(e.declarationList))return dT(e,O,aw);if(Il(e.declarationList)||Al(e.declarationList)){var i=fT(e.modifiers,M,Hs),a=[];try{for(var o=__values(e.declarationList.declarations),s=o.next();!s.done;s=o.next()){var c=s.value;a.push(C.updateVariableDeclaration(c,C.getGeneratedNameForNode(c.name),void 0,void 0,N(c,!1)))}}catch(e){t={error:e}}finally{try{s&&!s.done&&(u=o.return)&&u.call(o)}finally{if(t)throw t.error}}var u=C.updateVariableDeclarationList(e.declarationList,a),l=H3(l,C.updateVariableStatement(e,i,u))}else{var _=void 0,d=rT(e,32);try{for(var f=__values(e.declarationList.declarations),p=f.next();!p.done;p=f.next())(c=p.value).initializer?_=H3(_,N(c,d)):S(c)}catch(e){n={error:e}}finally{try{p&&!p.done&&(r=f.return)&&r.call(f)}finally{if(n)throw n.error}}_&&(l=H3(l,_T(C.createExpressionStatement(C.inlineExpressions(_)),e)))}return ht(l=function(e,t,n){var r,i;if(!m.exportEquals)try{for(var a=__values(t.declarationList.declarations),o=a.next();!o.done;o=a.next()){var s=o.value;(s.initializer||n)&&(e=function e(t,n,r){var i;if(m.exportEquals)return t;if(qC(n.name))try{for(var a=__values(n.name.elements),o=a.next();!o.done;o=a.next()){var s=o.value;xP(s)||(t=e(t,s,r))}}catch(e){i={error:e}}finally{try{o&&!o.done&&(c=a.return)&&c.call(a)}finally{if(i)throw i.error}}else{var c;TC(n.name)||(c=void 0,r&&(t=P(t,n.name,C.getLocalName(n)),c=$3(n.name)),t=D(t,n,c))}return t}(e,s,n))}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}return e}(l,e,!1))}function S(e){var t,n;if(qC(e.name))try{for(var r=__values(e.name.elements),i=r.next();!i.done;i=r.next()){var a=i.value;xP(a)||S(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}else h(C.cloneNode(e.name))}function w(e){return 0==(4194304&_l(e))&&(312===d.kind||0==(7&z4(e).flags))}function N(e,t){t=t?q:U;return qC(e.name)?q6(e,O,p,0,!1,t):e.initializer?t(e.name,dT(e.initializer,O,Z3)):e.name}function q(e,t,n){return r(e,t,n,!0)}function U(e,t,n){return r(e,t,n,!1)}function r(e,t,n,r){return h(C.cloneNode(e)),r?E(e,R(_T(C.createAssignment(e,t),n))):R(_T(C.createAssignment(e,t),n))}function F(e,t){var n;return m.exportEquals||(rT(t,32)&&(e=P(e,n=rT(t,2048)?C.createStringLiteral("default"):t.name,C.getLocalName(t)),n=L5(n)),t.name&&(e=D(e,t,n))),e}function D(e,t,n){var r,i;if(!m.exportEquals){var a=C.getDeclarationName(t),t=m.exportSpecifiers.get(a);if(t)try{for(var o=__values(t),s=o.next();!s.done;s=o.next()){var c=s.value;c.name.escapedText!==n&&(e=P(e,c.name,a))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}}return e}function P(e,t,n,r){return e=H3(e,a(t,n,r))}function a(e,t,n){e=C.createExpressionStatement(E(e,t));return c0(e),n||sT(e,3072),e}function E(e,t){e=cT(e)?C.createStringLiteralFromNode(e):e;return sT(t,3072|_l(t)),hD(C.createCallExpression(T,void 0,[e,t]),t)}function A(e){switch(e.kind){case 243:return z(e);case 262:return void(_=F(_=rT(l=e,32)?H3(_,C.updateFunctionDeclaration(l,fT(l.modifiers,M,Hs),l.asteriskToken,C.getDeclarationName(l,!0,!0),void 0,fT(l.parameters,O,PD),void 0,dT(l.body,O,TP))):H3(_,pT(l,O,p)),l));case 263:return l=e,u=C.getLocalName(l),h(u),ht(F(H3(void 0,_T(C.createExpressionStatement(C.createAssignment(u,_T(C.createClassExpression(fT(l.modifiers,M,Hs),l.name,void 0,fT(l.heritageClauses,O,aE),fT(l.members,O,LC)),l))),l)),l));case 248:return V(e,!0);case 249:return u=d,d=c=e,c=C.updateForInStatement(c,I(c.initializer),dT(c.expression,O,Z3),zk(c.statement,A,p)),d=u,c;case 250:return c=d,d=s=e,s=C.updateForOfStatement(s,s.awaitModifier,I(s.initializer),dT(s.expression,O,Z3),zk(s.statement,A,p)),d=c,s;case 246:return s=e,C.updateDoStatement(s,zk(s.statement,A,p),dT(s.expression,O,Z3));case 247:return o=e,C.updateWhileStatement(o,dT(o.expression,O,Z3),zk(o.statement,A,p));case 256:return C.updateLabeledStatement(e,e.label,G3.checkDefined(dT(e.statement,A,aw,C.liftToBlock)));case 254:return o=e,C.updateWithStatement(o,dT(o.expression,O,Z3),G3.checkDefined(dT(o.statement,A,aw,C.liftToBlock)));case 245:return a=e,C.updateIfStatement(a,dT(a.expression,O,Z3),G3.checkDefined(dT(a.thenStatement,A,aw,C.liftToBlock)),dT(a.elseStatement,A,aw,C.liftToBlock));case 255:return a=e,C.updateSwitchStatement(a,dT(a.expression,O,Z3),G3.checkDefined(dT(a.caseBlock,A,Zy)));case 269:return i=d,d=r=e,r=C.updateCaseBlock(e,fT(e.clauses,A,Dc)),d=i,r;case 296:return i=e,C.updateCaseClause(i,dT(i.expression,O,Z3),fT(i.statements,A,aw));case 297:case 258:return pT(e,A,p);case 299:return r=d,d=n=e,n=C.updateCatchClause(e,e.variableDeclaration,G3.checkDefined(dT(e.block,A,TP))),d=r,n;case 241:return n=d,t=pT(d=t=e,A,p),d=n,t;default:return O(e)}var t,n,r,i,a,o,s,c,u,l}function V(e,t){var n=d;return d=e,e=C.updateForStatement(e,dT(e.initializer,t?I:L,mc),dT(e.condition,O,Z3),dT(e.incrementor,L,Z3),zk(e.statement,t?A:O,p)),d=n,e}function I(e){var t,n,r;if(AP(r=e)&&w(r)){var i=void 0;try{for(var a=__values(e.declarations),o=a.next();!o.done;o=a.next()){var s=o.value,i=H3(i,N(s,!1));s.initializer||S(s)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return i?C.inlineExpressions(i):C.createOmittedExpression()}return dT(e,L,mc)}function t(e,t){if(!(276828160&e.transformFlags))return e;switch(e.kind){case 248:return V(e,!1);case 244:return C.updateExpressionStatement(e,dT(e.expression,L,Z3));case 217:return C.updateParenthesizedExpression(e,dT(e.expression,t?L:O,Z3));case 360:return C.updatePartiallyEmittedExpression(e,dT(e.expression,t?L:O,Z3));case 226:if(cf(e))return d=t,j((f=e).left)?q6(f,O,p,0,!d):pT(f,O,p);break;case 213:if(S8(e))return f=p0(C,d=e,k,x,v,y),d=dT(MT(d.arguments),O,Z3),d=!f||d&&TD(d)&&d.text===f.text?d:f,C.createCallExpression(C.createPropertyAccessExpression(g,C.createIdentifier("import")),void 0,d?[d]:[]);break;case 224:case 225:var n,r,i=e,a=t;if((46===i.operator||47===i.operator)&&cT(i.operand)&&!TC(i.operand)&&!t0(i.operand)&&!Mf(i.operand)){var o=W(i.operand);if(o){var s=void 0,c=dT(i.operand,O,Z3);hP(i)?c=C.updatePrefixUnaryExpression(i,c):(c=C.updatePostfixUnaryExpression(i,c),a||(s=C.createTempVariable(h),_T(c=C.createAssignment(s,c),i)),_T(c=C.createComma(c,C.cloneNode(i.operand)),i));try{for(var u=__values(o),l=u.next();!l.done;l=u.next()){var _=l.value;c=E(_,R(c))}}catch(e){n={error:e}}finally{try{l&&!l.done&&(r=u.return)&&r.call(u)}finally{if(n)throw n.error}}return s&&_T(c=C.createComma(c,s),i),c}}return pT(i,O,p)}var d,f;return pT(e,O,p)}function O(e){return t(e,!1)}function L(e){return t(e,!0)}function j(e){return EN(e,!0)?j(e.left):yP(e)?j(e.expression):sP(e)?W3(e.properties,j):oP(e)?W3(e.elements,j):cE(e)?j(e.name):sE(e)?j(e.initializer):!!cT(e)&&void 0!==(e=v.getReferencedExportContainer(e))&&312===e.kind}function M(e){switch(e.kind){case 95:case 90:return}return e}function W(e){var t,n,r=function(e){var t,n;if(!TC(e)){var r=v.getReferencedImportDeclaration(e);if(r)return r;var i=v.getReferencedValueDeclaration(e);if(!i||null==m||!m.exportedBindings[p6(i)]){r=v.getReferencedValueDeclarations(e);if(r)try{for(var a=__values(r),o=a.next();!o.done;o=a.next()){var s=o.value;if(s!==i&&null!=m&&m.exportedBindings[p6(s)])return s}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}}return i}}(e);if(r)var i=v.getReferencedExportContainer(e,!1),a=K3(a=i&&312===i.kind?H3(a,C.getDeclarationName(r)):a,null==m?void 0:m.exportedBindings[p6(r)]);else if(TC(e)&&Ms(e)){i=null==m?void 0:m.exportSpecifiers.get(e);if(i){var o=[];try{for(var s=__values(i),c=s.next();!c.done;c=s.next()){var u=c.value;o.push(u.name)}}catch(e){t={error:e}}finally{try{c&&!c.done&&(n=s.return)&&n.call(s)}finally{if(t)throw t.error}}return o}}return a}function R(e){return(o=void 0===o?[]:o)[gA(e)]=!0,e}}var QA=e({"src/compiler/transformers/module/system.ts":function(){QM()}});function YA(i){var r,o,s,c=i.factory,a=i.getEmitHelperFactory,u=i.getEmitHost(),l=i.getEmitResolver(),_=i.getCompilerOptions(),d=cF(_),f=i.onEmitNode,n=i.onSubstituteNode;return i.onEmitNode=function(e,t,n){_E(t)?((QE(t)||fF(_))&&_.importHelpers&&(r=new Map),f(e,t,n),r=void 0):f(e,t,n)},i.onSubstituteNode=function(e,t){if(t=n(e,t),r&&cT(t)&&8192&_l(t))return function(e){var e=$3(e),t=r.get(e);t||r.set(e,t=c.createUniqueName(e,48));return t}(t);return t},i.enableEmitNotification(312),i.enableSubstitution(80),g6(i,function(e){var t;if(!e.isDeclarationFile&&(QE(e)||fF(_)))return s=void 0,t=function(e){var t=_0(c,a(),e,_);{var n,r;return t?(n=[],r=c.copyPrologue(e.statements,n),H3(n,t),K3(n,fT(e.statements,p,aw,r)),c.updateSourceFile(e,_T(c.createNodeArray(n),e.statements))):pT(e,p,i)}}(o=e),o=void 0,s&&(t=c.updateSourceFile(t,_T(c.createNodeArray(Zu(t.statements.slice(),s)),t.statements))),!QE(e)||W3(t.statements,ZC)?t:c.updateSourceFile(t,_T(c.createNodeArray(__spreadArray(__spreadArray([],__read(t.statements),!1),[OE(c)],!1)),t.statements));return e});function p(e){switch(e.kind){case 271:return 100<=uF(_)?(a=e,G3.assert(l7(a),"import= for internal module references should be handled in an earlier transformer."),ht(function(e,t){rT(t,32)&&(e=H3(e,c.createExportDeclaration(void 0,t.isTypeOnly,c.createNamedExports([c.createExportSpecifier(!1,void 0,$3(t.name))]))));return e}(H3(void 0,oT(_T(c.createVariableStatement(void 0,c.createVariableDeclarationList([c.createVariableDeclaration(c.cloneNode(a.name),void 0,void 0,function(e){var e=p0(c,e,G3.checkDefined(o),u,l,_),t=[];e&&t.push(e);{var n,r;s||(e=c.createUniqueName("_createRequire",48),n=c.createImportDeclaration(void 0,c.createImportClause(!1,void 0,c.createNamedImports([c.createImportSpecifier(!1,c.createIdentifier("createRequire"),e)])),c.createStringLiteral("module"),void 0),r=c.createUniqueName("__require",48),r=c.createVariableStatement(void 0,c.createVariableDeclarationList([c.createVariableDeclaration(r,void 0,void 0,c.createCallExpression(c.cloneNode(e),void 0,[c.createPropertyAccessExpression(c.createMetaProperty(102,c.createIdentifier("meta")),c.createIdentifier("url"))]))],2<=d?2:0)),s=[n,r])}e=s[1].declarationList.declarations[0].name;return G3.assertNode(e,cT),c.createCallExpression(c.cloneNode(e),void 0,t)}(a))],2<=d?2:0)),a),a)),a))):void 0;case 277:return(a=e).isExportEquals?void 0:a;case 278:var t,n,r,i=e;return void 0!==_.module&&5<_.module?i:i.exportClause&&VP(i.exportClause)&&i.moduleSpecifier?(t=i.exportClause.name,r=c.getGeneratedNameForNode(t),oT(n=c.createImportDeclaration(void 0,c.createImportClause(!1,void 0,c.createNamespaceImport(r)),i.moduleSpecifier,i.attributes),i.exportClause),oT(r=cl(i)?c.createExportDefault(r):c.createExportDeclaration(void 0,!1,c.createNamedExports([c.createExportSpecifier(!1,r,t)])),i),[n,r]):i}var a;return e}}var $A=e({"src/compiler/transformers/module/esnextAnd2015.ts":function(){QM()}});function ZA(t){var r,n=t.onSubstituteNode,i=t.onEmitNode,a=YA(t),o=t.onSubstituteNode,s=t.onEmitNode,c=(t.onSubstituteNode=n,t.onEmitNode=i,KA(t)),u=t.onSubstituteNode,l=t.onEmitNode;return t.onSubstituteNode=function(e,t){return _E(t)?n(e,r=t):(r?99===r.impliedNodeFormat?o:u:n)(e,t)},t.onEmitNode=function(e,t,n){_E(t)&&(r=t);return(r?99!==r.impliedNodeFormat?l:s:i)(e,t,n)},t.enableSubstitution(312),t.enableEmitNotification(312),function(e){return(312===e.kind?_:function(e){return t.factory.createBundle(V3(e.sourceFiles,_),e.prepends)})(e)};function _(e){return e.isDeclarationFile||(e=(99===(r=e).impliedNodeFormat?a:c)(e),r=void 0,G3.assert(_E(e))),e}}var e9=e({"src/compiler/transformers/module/node.ts":function(){QM()}});function t9(e){return EP(e)||ID(e)||AD(e)||aP(e)||uw(e)||lw(e)||zD(e)||JD(e)||LD(e)||OD(e)||IP(e)||PD(e)||DD(e)||bP(e)||zP(e)||jP(e)||MD(e)||hy(e)||uT(e)||cP(e)||lT(e)||G7(e)}function n9(t){return uw(t)||lw(t)?function(e){e=function(e){return mN(t)?e.errorModuleName?2===e.accessibility?Q3.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:263===t.parent.kind?e.errorModuleName?2===e.accessibility?Q3.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Public_property_0_of_exported_class_has_or_is_using_private_name_1:e.errorModuleName?Q3.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:Q3.Property_0_of_exported_interface_has_or_is_using_private_name_1}(e);return void 0!==e?{diagnosticMessage:e,errorNode:t,typeName:t.name}:void 0}:OD(t)||LD(t)?function(e){e=function(e){return mN(t)?e.errorModuleName?2===e.accessibility?Q3.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Public_static_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Public_static_method_0_of_exported_class_has_or_is_using_private_name_1:263===t.parent.kind?e.errorModuleName?2===e.accessibility?Q3.Public_method_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Public_method_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Public_method_0_of_exported_class_has_or_is_using_private_name_1:e.errorModuleName?Q3.Method_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:Q3.Method_0_of_exported_interface_has_or_is_using_private_name_1}(e);return void 0!==e?{diagnosticMessage:e,errorNode:t,typeName:t.name}:void 0}:r9(t)}function r9(n){return EP(n)||ID(n)||AD(n)||uT(n)||cP(n)||lT(n)||aP(n)||MD(n)?e:uw(n)||lw(n)?function(e){e=178===n.kind?mN(n)?e.errorModuleName?Q3.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Parameter_type_of_public_static_setter_0_from_exported_class_has_or_is_using_private_name_1:e.errorModuleName?Q3.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Parameter_type_of_public_setter_0_from_exported_class_has_or_is_using_private_name_1:mN(n)?e.errorModuleName?2===e.accessibility?Q3.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Return_type_of_public_static_getter_0_from_exported_class_has_or_is_using_private_name_1:e.errorModuleName?2===e.accessibility?Q3.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Return_type_of_public_getter_0_from_exported_class_has_or_is_using_private_name_1;return{diagnosticMessage:e,errorNode:n.name,typeName:n.name}}:zD(n)||JD(n)||LD(n)||OD(n)||IP(n)||hy(n)?function(e){var t;switch(n.kind){case 180:t=e.errorModuleName?Q3.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:Q3.Return_type_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 179:t=e.errorModuleName?Q3.Return_type_of_call_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:Q3.Return_type_of_call_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 181:t=e.errorModuleName?Q3.Return_type_of_index_signature_from_exported_interface_has_or_is_using_name_0_from_private_module_1:Q3.Return_type_of_index_signature_from_exported_interface_has_or_is_using_private_name_0;break;case 174:case 173:t=mN(n)?e.errorModuleName?2===e.accessibility?Q3.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:Q3.Return_type_of_public_static_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:Q3.Return_type_of_public_static_method_from_exported_class_has_or_is_using_private_name_0:263===n.parent.kind?e.errorModuleName?2===e.accessibility?Q3.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:Q3.Return_type_of_public_method_from_exported_class_has_or_is_using_name_0_from_private_module_1:Q3.Return_type_of_public_method_from_exported_class_has_or_is_using_private_name_0:e.errorModuleName?Q3.Return_type_of_method_from_exported_interface_has_or_is_using_name_0_from_private_module_1:Q3.Return_type_of_method_from_exported_interface_has_or_is_using_private_name_0;break;case 262:t=e.errorModuleName?2===e.accessibility?Q3.Return_type_of_exported_function_has_or_is_using_name_0_from_external_module_1_but_cannot_be_named:Q3.Return_type_of_exported_function_has_or_is_using_name_0_from_private_module_1:Q3.Return_type_of_exported_function_has_or_is_using_private_name_0;break;default:return G3.fail("This is unknown kind for signature: "+n.kind)}return{diagnosticMessage:t,errorNode:n.name||n}}:PD(n)?M4(n,n.parent)&&rT(n.parent,2)?e:function(e){e=function(e){switch(n.parent.kind){case 176:return e.errorModuleName?2===e.accessibility?Q3.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Parameter_0_of_constructor_from_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Parameter_0_of_constructor_from_exported_class_has_or_is_using_private_name_1;case 180:case 185:return e.errorModuleName?Q3.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:Q3.Parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;case 179:return e.errorModuleName?Q3.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:Q3.Parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;case 181:return e.errorModuleName?Q3.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_name_1_from_private_module_2:Q3.Parameter_0_of_index_signature_from_exported_interface_has_or_is_using_private_name_1;case 174:case 173:return mN(n.parent)?e.errorModuleName?2===e.accessibility?Q3.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:263===n.parent.parent.kind?e.errorModuleName?2===e.accessibility?Q3.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Parameter_0_of_public_method_from_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:e.errorModuleName?Q3.Parameter_0_of_method_from_exported_interface_has_or_is_using_name_1_from_private_module_2:Q3.Parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;case 262:case 184:return e.errorModuleName?2===e.accessibility?Q3.Parameter_0_of_exported_function_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Parameter_0_of_exported_function_has_or_is_using_name_1_from_private_module_2:Q3.Parameter_0_of_exported_function_has_or_is_using_private_name_1;case 178:case 177:return e.errorModuleName?2===e.accessibility?Q3.Parameter_0_of_accessor_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Parameter_0_of_accessor_has_or_is_using_name_1_from_private_module_2:Q3.Parameter_0_of_accessor_has_or_is_using_private_name_1;default:return G3.fail("Unknown parent for parameter: ".concat(G3.formatSyntaxKind(n.parent.kind)))}}(e);return void 0!==e?{diagnosticMessage:e,errorNode:n,typeName:n.name}:void 0}:DD(n)?function(){var e;switch(n.parent.kind){case 263:e=Q3.Type_parameter_0_of_exported_class_has_or_is_using_private_name_1;break;case 264:e=Q3.Type_parameter_0_of_exported_interface_has_or_is_using_private_name_1;break;case 200:e=Q3.Type_parameter_0_of_exported_mapped_object_type_is_using_private_name_1;break;case 185:case 180:e=Q3.Type_parameter_0_of_constructor_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 179:e=Q3.Type_parameter_0_of_call_signature_from_exported_interface_has_or_is_using_private_name_1;break;case 174:case 173:e=mN(n.parent)?Q3.Type_parameter_0_of_public_static_method_from_exported_class_has_or_is_using_private_name_1:263===n.parent.parent.kind?Q3.Type_parameter_0_of_public_method_from_exported_class_has_or_is_using_private_name_1:Q3.Type_parameter_0_of_method_from_exported_interface_has_or_is_using_private_name_1;break;case 184:case 262:e=Q3.Type_parameter_0_of_exported_function_has_or_is_using_private_name_1;break;case 195:e=Q3.Extends_clause_for_inferred_type_0_has_or_is_using_private_name_1;break;case 265:e=Q3.Type_parameter_0_of_exported_type_alias_has_or_is_using_private_name_1;break;default:return G3.fail("This is unknown parent for type parameter: "+n.parent.kind)}return{diagnosticMessage:e,errorNode:n,typeName:n.name}}:bP(n)?function(){var e;e=OP(n.parent.parent)?aE(n.parent)&&119===n.parent.token?Q3.Implements_clause_of_exported_class_0_has_or_is_using_private_name_1:n.parent.parent.name?Q3.extends_clause_of_exported_class_0_has_or_is_using_private_name_1:Q3.extends_clause_of_exported_class_has_or_is_using_private_name_0:Q3.extends_clause_of_exported_interface_0_has_or_is_using_private_name_1;return{diagnosticMessage:e,errorNode:n,typeName:X4(n.parent.parent)}}:zP(n)?function(){return{diagnosticMessage:Q3.Import_declaration_0_is_using_private_name_1,errorNode:n,typeName:n.name}}:jP(n)||G7(n)?function(e){return{diagnosticMessage:e.errorModuleName?Q3.Exported_type_alias_0_has_or_is_using_private_name_1_from_module_2:Q3.Exported_type_alias_0_has_or_is_using_private_name_1,errorNode:G7(n)?G3.checkDefined(n.typeExpression):n.type,typeName:G7(n)?X4(n):n.name}}:G3.assertNever(n,"Attempted to set a declaration diagnostic context for unhandled node kind: ".concat(G3.formatSyntaxKind(n.kind)));function e(e){e=e;e=260===n.kind||208===n.kind?e.errorModuleName?2===e.accessibility?Q3.Exported_variable_0_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Exported_variable_0_has_or_is_using_name_1_from_private_module_2:Q3.Exported_variable_0_has_or_is_using_private_name_1:172===n.kind||211===n.kind||212===n.kind||226===n.kind||171===n.kind||169===n.kind&&rT(n.parent,2)?mN(n)?e.errorModuleName?2===e.accessibility?Q3.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Public_static_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Public_static_property_0_of_exported_class_has_or_is_using_private_name_1:263===n.parent.kind||169===n.kind?e.errorModuleName?2===e.accessibility?Q3.Public_property_0_of_exported_class_has_or_is_using_name_1_from_external_module_2_but_cannot_be_named:Q3.Public_property_0_of_exported_class_has_or_is_using_name_1_from_private_module_2:Q3.Public_property_0_of_exported_class_has_or_is_using_private_name_1:e.errorModuleName?Q3.Property_0_of_exported_interface_has_or_is_using_name_1_from_private_module_2:Q3.Property_0_of_exported_interface_has_or_is_using_private_name_1:void 0;return void 0!==e?{diagnosticMessage:e,errorNode:n,typeName:n.name}:void 0}}var i9,a9=e({"src/compiler/transformers/declarations/diagnostics.ts":function(){QM()}});function o9(e,t,n){var r=e.getCompilerOptions();return b9(t,e,aT,r,n?[n]:U3(e.getSourceFiles(),o_),[u9],!1).diagnostics}function s9(e,t){return t.text.substring(e.pos,e.end).includes("@internal")}function c9(e,t){var n,r,i=q4(e);return i&&169===i.kind?(r=0<(r=i.parent.parameters.indexOf(i))?i.parent.parameters[r-1]:void 0,n=t.text,(r=r?PT(Za(n,E4(n,r.end+1,!1,!0)),$a(n,e.pos)):Za(n,E4(n,e.pos,!1,!0)))&&r.length&&s9(qT(r),t)):!!z3(i&&ql(i,t),function(e){return s9(e,t)})}function u9(d){function b(){return G3.fail("Diagnostic emitted without context")}var T,l,C,w,f,_,N,F,p,m,g,h,D=b,P=!0,y=!1,E=!1,A=!1,I=!1,O=d.factory,v=d.getEmitHost(),L={trackSymbol:function(e,t,n){return!(262144&e.flags)&&(t=r(j.isSymbolAccessible(e,t,n,!0)),x(j.getTypeReferenceDirectivesForSymbol(e,n)),t)},reportInaccessibleThisError:function(){(N||F)&&d.addDiagnostic(tT(N||F,Q3.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,t(),"this"))},reportInaccessibleUniqueSymbolError:function(){(N||F)&&d.addDiagnostic(tT(N||F,Q3.The_inferred_type_of_0_references_an_inaccessible_1_type_A_type_annotation_is_necessary,t(),"unique symbol"))},reportCyclicStructureError:function(){(N||F)&&d.addDiagnostic(tT(N||F,Q3.The_inferred_type_of_0_references_a_type_with_a_cyclic_structure_which_cannot_be_trivially_serialized_A_type_annotation_is_necessary,t()))},reportPrivateInBaseOfClassExpression:function(e){(N||F)&&d.addDiagnostic(tT(N||F,Q3.Property_0_of_exported_class_expression_may_not_be_private_or_protected,e))},reportLikelyUnsafeImportRequiredError:function(e){(N||F)&&d.addDiagnostic(tT(N||F,Q3.The_inferred_type_of_0_cannot_be_named_without_a_reference_to_1_This_is_likely_not_portable_A_type_annotation_is_necessary,t(),e))},reportTruncationError:function(){(N||F)&&d.addDiagnostic(tT(N||F,Q3.The_inferred_type_of_this_node_exceeds_the_maximum_length_the_compiler_will_serialize_An_explicit_type_annotation_is_needed))},moduleResolverHost:v,trackReferencedAmbientModule:s,trackExternalModuleSymbolOfImportTypeNode:function(e){y||(_=_||[]).push(e)},reportNonlocalAugmentation:function(t,e,n){var r,i,a=null==(e=e.declarations)?void 0:e.find(function(e){return eT(e)===t}),e=U3(n.declarations,function(e){return eT(e)!==t});if(a&&e)try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value;d.addDiagnostic(PF(tT(c,Q3.Declaration_augments_declaration_in_another_file_This_cannot_be_serialized),tT(a,Q3.This_is_the_declaration_being_augmented_Consider_moving_the_augmenting_declaration_into_the_same_file)))}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}},reportNonSerializableProperty:function(e){(N||F)&&d.addDiagnostic(tT(N||F,Q3.The_type_of_this_node_cannot_be_serialized_because_its_property_0_cannot_be_serialized,e))}},j=d.getEmitResolver(),S=d.getCompilerOptions(),e=S.noResolve,k=S.stripInternal;return function(a){if(312===a.kind&&a.isDeclarationFile)return a;{var n;if(313===a.kind)return y=!0,m=new Map,g=new Map,n=!1,(r=O.createBundle(V3(a.sourceFiles,function(e){if(!e.isDeclarationFile){if(n=n||e.hasNoDefaultLib,T=p=e,C=void 0,f=!1,w=new Map,D=b,I=A=!1,Q(e,m),Y(e,g),h8(e)||y8(e))return P=E=!1,t=p7(e)?O.createNodeArray(X(e,!0)):fT(e.statements,H,aw),O.updateSourceFile(e,[O.createModuleDeclaration([O.createModifier(138)],O.createStringLiteral($5(d.getEmitHost(),e)),O.createModuleBlock(_T(O.createNodeArray(re(t)),e.statements)))],!0,[],[],!1,[]);P=!0;var t=p7(e)?O.createNodeArray(X(e)):fT(e.statements,H,aw);return O.updateSourceFile(e,re(t),!0,[],[],!1,[])}}),NT(a.prepends,function(e){var t;return 315===e.kind?(t=gg(e,"dts",k),n=n||!!t.hasNoDefaultLib,Q(t,m),x(V3(t.typeReferenceDirectives,function(e){return[e.fileName,e.resolutionMode]})),Y(t,g),t):e}))).syntheticFileReferences=[],r.syntheticTypeReferences=s(),r.syntheticLibReferences=o(),r.hasNoDefaultLib=n,t=k4(Oi(I9(a,v,!0).declarationFilePath)),t=u(r.syntheticFileReferences,t),m.forEach(t),r}P=!0,p=T=a,D=b,f=E=y=I=A=!1,C=void 0,w=new Map,l=void 0,m=Q(p,new Map),g=Y(p,new Map);var e,t=[],r=k4(Oi(I9(a,v,!0).declarationFilePath)),r=u(t,r);p7(p)?(e=O.createNodeArray(X(a)),m.forEach(r),h=U3(e,Tl)):(i=fT(a.statements,H,aw),e=_T(O.createNodeArray(re(i)),a.statements),m.forEach(r),h=U3(e,Tl),QE(a)&&(!E||A&&!I)&&(e=_T(O.createNodeArray(__spreadArray(__spreadArray([],__read(e),!1),[OE(O)],!1)),e)));var i=O.updateSourceFile(a,e,!0,t,s(),a.hasNoDefaultLib,o());return i.exportedModulesFromDeclarationEmit=_,i;function o(){return KT(g.keys(),function(e){return{fileName:e,pos:-1,end:-1}})}function s(){return l?NT(KT(l.keys()),c):[]}function c(e){var t,n,e=__read(e,2),r=e[0],e=e[1];if(h)try{for(var i=__values(h),a=i.next();!a.done;a=i.next()){var o=a.value;if(zP(o)&&QP(o.moduleReference)){var s=o.moduleReference.expression;if(gw(s)&&s.text===r)return}else if(qP(o)&&TD(o.moduleSpecifier)&&o.moduleSpecifier.text===r)return}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return __assign({fileName:r,pos:-1,end:-1},e?{resolutionMode:e}:void 0)}function u(r,i){return function(e){if(e.isDeclarationFile)n=e.fileName;else{if(y&&xT(a.sourceFiles,e))return;var t=I9(e,v,!0),n=t.declarationFilePath||t.jsFilePath||e.fileName}n&&(v4(t=nk(S,p,Bi(i,v.getCurrentDirectory(),v.getCanonicalFileName),Bi(n,v.getCurrentDirectory(),v.getCanonicalFileName),v))?(u4(e=Zi(i,n,v.getCurrentDirectory(),v.getCanonicalFileName,!1),"./")&&x4(e)&&(e=e.substring(2)),u4(e,"node_modules/")||Zb(e)||r.push({pos:-1,end:-1,fileName:e})):x([[t,void 0]]))}}};function x(e){var t,n;if(e){l=l||new Set;try{for(var r=__values(e),i=r.next();!i.done;i=r.next()){var a=i.value;l.add(a)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}}}function s(e,t){t=j.getTypeReferenceDirectivesForSymbol(t,67108863);if(J3(t))return x(t);t=eT(e);m.set(p6(t),t)}function M(e){var t,n,e=q7(e),r=e&&j.tryFindAmbientModule(e);if(null!=r&&r.declarations)try{for(var i=__values(r.declarations),a=i.next();!a.done;a=i.next()){var o=a.value;Ww(o)&&eT(o)!==p&&s(o,r)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}}function r(e){var t;if(0===e.accessibility){if(e&&e.aliasesToMakeVisible)if(C)try{for(var n=__values(e.aliasesToMakeVisible),r=n.next();!r.done;r=n.next()){var i=r.value;OT(C,i)}}catch(e){t={error:e}}finally{try{r&&!r.done&&(a=n.return)&&a.call(n)}finally{if(t)throw t.error}}else C=e.aliasesToMakeVisible}else{var a=D(e);if(a)return a.typeName?d.addDiagnostic(tT(e.errorNode||a.errorNode,a.diagnosticMessage,zw(a.typeName),e.errorSymbolName,e.errorModuleName)):d.addDiagnostic(tT(e.errorNode||a.errorNode,a.diagnosticMessage,e.errorSymbolName,e.errorModuleName)),!0}return!1}function t(){return N?i8(N):F&&X4(F)?i8(X4(F)):F&&HP(F)?F.isExportEquals?"export=":"default":"(Missing)"}function X(t,e){var n=D,e=(D=function(e){return e.errorNode&&t9(e.errorNode)?r9(e.errorNode)(e):{diagnosticMessage:e.errorModuleName?Q3.Declaration_emit_for_this_file_requires_using_private_name_0_from_module_1_An_explicit_type_annotation_may_unblock_declaration_emit:Q3.Declaration_emit_for_this_file_requires_using_private_name_0_An_explicit_type_annotation_may_unblock_declaration_emit,errorNode:e.errorNode||t}},j.getDeclarationStatementsForSourceFile(t,i9,L,e));return D=n,e}function Q(t,n){return e||!yv(t)&&p7(t)||z3(t.referencedFiles,function(e){e=v.getSourceFileFromReference(t,e);e&&n.set(p6(e),e)}),n}function Y(e,t){return z3(e.libReferenceDirectives,function(e){v.getLibFileFromReference(e)&&t.set(wn(e.fileName),!0)}),t}function i(e,t,n){f||(r=D,D=r9(e));var r,i,t=O.updateParameterDeclaration(e,O.createModifiersFromModifierFlags(l9(e,t,i)),e.dotDotDotToken,function t(e){return 80===e.kind?e:207===e.kind?O.updateArrayBindingPattern(e,fT(e.elements,n,Qs)):O.updateObjectBindingPattern(e,fT(e.elements,n,aP));function n(e){return 232===e.kind?e:(e.propertyName&&FD(e.propertyName)&&IN(e.propertyName.expression)&&z(e.propertyName.expression,T),e.propertyName&&cT(e.propertyName)&&cT(e.name)&&!e.symbol.isReferenced&&!H_(e.propertyName)?O.updateBindingElement(e,e.dotDotDotToken,void 0,e.propertyName,a(e)?e.initializer:void 0):O.updateBindingElement(e,e.dotDotDotToken,e.propertyName,t(e.name),a(e)?e.initializer:void 0))}}(e.name),j.isOptionalParameter(e)?e.questionToken||O.createToken(58):void 0,R(e,n||e.type,!0),$(e));return f||(D=r),t}function a(e){return function(e){switch(e.kind){case 172:case 171:return!pN(e,2);case 169:case 260:return!0}return!1}(e)&&j.isLiteralConstDeclaration(q4(e))}function $(e){if(a(e))return j.createLiteralConstValue(q4(e),L)}function R(e,t,n){var r;if((n||!pN(e,2))&&!a(e))return n=169===e.kind&&(j.isRequiredInitializedParameter(e)||j.isOptionalUninitializedParameterProperty(e)),t&&!n?dT(t,W,zC):q4(e)?178===e.kind?O.createKeywordTypeNode(133):(N=e.name,f||(r=D,D=r9(e)),260===e.kind||208===e.kind?i(j.createTypeOfDeclaration(e,T,i9,L)):169===e.kind||172===e.kind||171===e.kind?AD(e)||!e.initializer?i(j.createTypeOfDeclaration(e,T,i9,L,n)):i(j.createTypeOfDeclaration(e,T,i9,L,n)||j.createTypeOfExpression(e.initializer,T,i9,L)):i(j.createReturnTypeOfSignatureDeclaration(e,T,i9,L))):t?dT(t,W,zC):O.createKeywordTypeNode(133);function i(e){return N=void 0,f||(D=r),e||O.createKeywordTypeNode(133)}}function Z(e){switch((e=q4(e)).kind){case 262:case 267:case 264:case 263:case 265:case 266:return!j.isDeclarationVisible(e);case 260:return!ee(e);case 271:case 272:case 278:case 277:return;case 175:return 1}}function ee(e){return!xP(e)&&(qC(e.name)?W3(e.name.elements,ee):j.isDeclarationVisible(e))}function B(e,t,n){return!pN(e,2)&&(e=V3(t,function(e){return i(e,n)}))?O.createNodeArray(e,t.hasTrailingComma):O.createNodeArray()}function te(e,t){var n,r;return t||(r=nN(e))&&(n=[i(r)]),BD(e)&&(r=void 0,t||(t=tN(e))&&(r=i(t,void 0,ce(e,j.getAllAccessorDeclarations(e)))),n=H3(n,r=r||O.createParameterDeclaration(void 0,void 0,"value"))),O.createNodeArray(n||B3)}function J(e,t){return pN(e,2)?void 0:fT(t,W,DD)}function ne(e){return _E(e)||jP(e)||RP(e)||OP(e)||LP(e)||PC(e)||hy(e)||Ty(e)}function z(e,t){r(j.isEntityNameVisible(e,t)),x(j.getTypeReferenceDirectivesForEntityName(e))}function q(e,t){return _w(e)&&_w(t)&&(e.jsDoc=t.jsDoc),hD(e,Og(t))}function U(e,t){if(t){if(E=E||267!==e.kind&&205!==e.kind,gw(t))if(y){e=bd(d.getEmitHost(),j,e);if(e)return O.createStringLiteral(e)}else{e=j.getSymbolOfExternalModuleSpecifier(t);e&&(_=_||[]).push(e)}return t}}function V(e){var t=$I(e);return e&&void 0!==t?e:void 0}function re(e){for(;J3(C);){var t=C.shift();if(!Zw(t))return G3.fail("Late replaced statement was found which is not handled by the declaration transformer!: ".concat(G3.formatSyntaxKind(t.kind)));var n=P,r=(P=t.parent&&_E(t.parent)&&!(QE(t.parent)&&y),o(t));P=n,w.set(p6(t),r)}return fT(e,function(e){if(Zw(e)){var t,n=p6(e);if(w.has(n))return t=w.get(n),w.delete(n),t&&(($T(t)?W3(t,$C):$C(t))&&(A=!0),_E(e.parent))&&($T(t)?W3(t,ZC):ZC(t))&&(E=!0),t}return e},aw)}function W(r){if(!K(r)){if(iw(r)){if(Z(r))return;if(E5(r)&&!j.isLateBound(q4(r)))return}if(!(PC(r)&&j.isImplementationOfOverload(r)||Jy(r))){ne(r)&&(i=T,T=r);var i,a=D,o=t9(r),s=f,c=(187===r.kind||200===r.kind)&&265!==r.parent.kind;if((LD(r)||OD(r))&&pN(r,2))return r.symbol&&r.symbol.declarations&&r.symbol.declarations[0]!==r?void 0:_(O.createPropertyDeclaration(G(r),r.name,void 0,void 0,void 0));if(o&&!f&&(D=r9(r)),HD(r)&&z(r.exprName,T),c&&(f=!0),function(e){switch(e.kind){case 180:case 176:case 174:case 177:case 178:case 172:case 171:case 173:case 179:case 181:case 260:case 168:case 233:case 183:case 194:case 184:case 185:case 205:return 1}return}(r))switch(r.kind){case 233:(FC(r.expression)||IN(r.expression))&&z(r.expression,T);var e=pT(r,W,d);return _(O.updateExpressionWithTypeArguments(e,e.expression,e.typeArguments));case 183:z(r.typeName,T);e=pT(r,W,d);return _(O.updateTypeReferenceNode(e,e.typeName,e.typeArguments));case 180:return _(O.updateConstructSignature(r,J(r,r.typeParameters),B(r,r.parameters),R(r,r.type)));case 176:return _(O.createConstructorDeclaration(G(r),B(r,r.parameters,0),void 0));case 174:return CD(r.name)?_(void 0):_(O.createMethodDeclaration(G(r),void 0,r.name,r.questionToken,J(r,r.typeParameters),B(r,r.parameters),R(r,r.type),void 0));case 177:return CD(r.name)?_(void 0):(e=ce(r,j.getAllAccessorDeclarations(r)),_(O.updateGetAccessorDeclaration(r,G(r),r.name,te(r,pN(r,2)),R(r,e),void 0)));case 178:return CD(r.name)?_(void 0):_(O.updateSetAccessorDeclaration(r,G(r),r.name,te(r,pN(r,2)),void 0));case 172:return CD(r.name)?_(void 0):_(O.updatePropertyDeclaration(r,G(r),r.name,r.questionToken,R(r,r.type),$(r)));case 171:return CD(r.name)?_(void 0):_(O.updatePropertySignature(r,G(r),r.name,r.questionToken,R(r,r.type)));case 173:return CD(r.name)?_(void 0):_(O.updateMethodSignature(r,G(r),r.name,r.questionToken,J(r,r.typeParameters),B(r,r.parameters),R(r,r.type)));case 179:return _(O.updateCallSignature(r,J(r,r.typeParameters),B(r,r.parameters),R(r,r.type)));case 181:return _(O.updateIndexSignature(r,G(r),B(r,r.parameters),dT(r.type,W,zC)||O.createKeywordTypeNode(133)));case 260:return qC(r.name)?oe(r.name):(f=c=!0,_(O.updateVariableDeclaration(r,r.name,void 0,R(r,r.type),$(r))));case 168:return 174===(e=r).parent.kind&&pN(e.parent,2)&&(r.default||r.constraint)?_(O.updateTypeParameterDeclaration(r,r.modifiers,r.name,void 0,void 0)):_(pT(r,W,d));case 194:var t=dT(r.checkType,W,zC),n=dT(r.extendsType,W,zC),u=T,l=(T=r.trueType,dT(r.trueType,W,zC)),u=(T=u,dT(r.falseType,W,zC));return G3.assert(t),G3.assert(n),G3.assert(l),G3.assert(u),_(O.updateConditionalTypeNode(r,t,n,l,u));case 184:return _(O.updateFunctionTypeNode(r,fT(r.typeParameters,W,DD),B(r,r.parameters),G3.checkDefined(dT(r.type,W,zC))));case 185:return _(O.updateConstructorTypeNode(r,G(r),fT(r.typeParameters,W,DD),B(r,r.parameters),G3.checkDefined(dT(r.type,W,zC))));case 205:return k8(r)?(M(r),_(O.updateImportTypeNode(r,O.updateLiteralTypeNode(r.argument,U(r,r.argument.literal)),r.attributes,r.qualifier,fT(r.typeArguments,W,zC),r.isTypeOf))):_(r);default:G3.assertNever(r,"Attempted to process unhandled node kind: ".concat(G3.formatSyntaxKind(r.kind)))}return GD(r)&&D4(p,r.pos).line===D4(p,r.end).line&&sT(r,1),_(pT(r,W,d))}}function _(e){var t,n;return e&&o&&E5(r)&&(t=r,f||(n=D,D=n9(t)),N=t.name,G3.assert(j.isLateBound(q4(t))),z(t.name.expression,T),f||(D=n),N=void 0),ne(r)&&(T=i),o&&!f&&(D=a),c&&(f=s),e===r?e:e&&oT(q(e,r),r)}}function H(e){if(function(e){switch(e.kind){case 262:case 267:case 271:case 264:case 263:case 265:case 266:case 243:case 272:case 278:case 277:return 1}return}(e)&&!K(e)){switch(e.kind){case 278:return _E(e.parent)&&(E=!0),I=!0,M(e),O.updateExportDeclaration(e,e.modifiers,e.isTypeOnly,e.exportClause,U(e,e.moduleSpecifier),V(e.attributes));case 277:var t,n;return _E(e.parent)&&(E=!0),I=!0,80===e.expression.kind?e:(t=O.createUniqueName("_default",16),D=function(){return{diagnosticMessage:Q3.Default_export_of_the_module_has_or_is_using_private_name_0,errorNode:e}},F=e,n=O.createVariableDeclaration(t,void 0,j.createTypeOfExpression(e.expression,e,i9,L),void 0),F=void 0,q(n=O.createVariableStatement(P?[O.createModifier(138)]:[],O.createVariableDeclarationList([n],2)),e),Tg(e),[n,O.updateExportAssignment(e,e.modifiers,t)])}var r=o(e);return w.set(p6(e),r),e}}function ie(e){var t;return zP(e)||pN(e,2048)||!VE(e)?e:(t=O.createModifiersFromModifierFlags(131039&TN(e)),O.replaceModifiers(e,t))}function ae(e,t,n,r){e=O.updateModuleDeclaration(e,t,n,r);return Ww(e)||32&e.flags?e:(oT(t=O.createModuleDeclaration(e.modifiers,e.name,e.body,32|e.flags),e),_T(t,e),t)}function o(t){if(C)for(;De(C,t););if(!K(t)){switch(t.kind){case 271:return(e=function(e){var t;if(j.isDeclarationVisible(e))return 283===e.moduleReference.kind?(t=_7(e),O.updateImportEqualsDeclaration(e,e.modifiers,e.isTypeOnly,e.name,O.updateExternalModuleReference(e.moduleReference,U(e,t)))):(t=D,D=r9(e),z(e.moduleReference,T),D=t,e)}(t))&&M(t),e;case 272:var e;return(e=(n=t).importClause?(r=n.importClause&&n.importClause.name&&j.isDeclarationVisible(n.importClause)?n.importClause.name:void 0,n.importClause.namedBindings?274===n.importClause.namedBindings.kind?(i=j.isDeclarationVisible(n.importClause.namedBindings)?n.importClause.namedBindings:void 0,r||i?O.updateImportDeclaration(n,n.modifiers,O.updateImportClause(n.importClause,n.importClause.isTypeOnly,r,i),U(n,n.moduleSpecifier),V(n.attributes)):void 0):(i=NT(n.importClause.namedBindings.elements,function(e){return j.isDeclarationVisible(e)?e:void 0}))&&i.length||r?O.updateImportDeclaration(n,n.modifiers,O.updateImportClause(n.importClause,n.importClause.isTypeOnly,r,i&&i.length?O.updateNamedImports(n.importClause.namedBindings,i):void 0),U(n,n.moduleSpecifier),V(n.attributes)):j.isImportRequiredByAugmentation(n)?O.updateImportDeclaration(n,n.modifiers,void 0,U(n,n.moduleSpecifier),V(n.attributes)):void 0:r&&O.updateImportDeclaration(n,n.modifiers,O.updateImportClause(n.importClause,n.importClause.isTypeOnly,r,void 0),U(n,n.moduleSpecifier),V(n.attributes))):O.updateImportDeclaration(n,n.modifiers,n.importClause,U(n,n.moduleSpecifier),V(n.attributes)))&&M(t),e}var n,r,i;if(!(iw(t)&&Z(t)||PC(t)&&j.isImplementationOfOverload(t))){ne(t)&&(a=T,T=t);var a,o,s,c,u=t9(t),l=D,_=(u&&(D=r9(t)),P);switch(t.kind){case 265:P=!1;var d=k(O.updateTypeAliasDeclaration(t,G(t),t.name,fT(t.typeParameters,W,DD),G3.checkDefined(dT(t.type,W,zC))));return P=_,d;case 264:return k(O.updateInterfaceDeclaration(t,G(t),t.name,J(t,t.typeParameters),ue(t.heritageClauses),fT(t.members,W,Ks)));case 262:return(d=k(O.updateFunctionDeclaration(t,G(t),void 0,t.name,J(t,t.typeParameters),B(t,t.parameters),R(t,t.type),void 0)))&&j.isExpandoFunctionDeclaration(t)&&((f=t).body||!(c=null==(c=f.symbol.declarations)?void 0:c.filter(function(e){return IP(e)&&!e.body}))||c.indexOf(f)===c.length-1)?(f=j.getPropertiesOfContainerFunction(t),VF(o=HE.createModuleDeclaration(void 0,d.name||O.createIdentifier("_default"),O.createModuleBlock([]),32),T),o.locals=Fw(f),o.symbol=f[0].parent,s=[],c=NT(f,function(e){if(mD(e.valueDeclaration)){var t,n,r=V4(e.escapedName);if(A4(r,99))return D=r9(e.valueDeclaration),t=j.createTypeOfDeclaration(e.valueDeclaration,o,i9,L),D=l,e=(n=F5(r))?O.getGeneratedNameForNode(e.valueDeclaration):O.createIdentifier(r),n&&s.push([e,r]),r=O.createVariableDeclaration(e,void 0,t,void 0),O.createVariableStatement(n?void 0:[O.createToken(95)],O.createVariableDeclarationList([r]))}}),s.length?c.push(O.createExportDeclaration(void 0,!1,O.createNamedExports(V3(s,function(e){var e=__read(e,2),t=e[0],e=e[1];return O.createExportSpecifier(!1,t,e)})))):c=NT(c,function(e){return O.replaceModifiers(e,0)}),f=O.createModuleDeclaration(G(t),t.name,O.createModuleBlock(c),32),pN(d,2048)?(h=O.createModifiersFromModifierFlags(-2081&TN(d)|128),p=O.updateFunctionDeclaration(d,h,void 0,d.name,d.typeParameters,d.parameters,d.type,void 0),y=O.updateModuleDeclaration(f,h,f.name,f.body),v=O.createExportAssignment(void 0,!1,f.name),_E(t.parent)&&(E=!0),I=!0,[p,y,v]):[d,f]):d;case 267:P=!1;var f,p=t.body;return p&&268===p.kind?(y=A,v=I,A=I=!1,f=re(fT(p.statements,H,aw)),33554432&t.flags&&(A=!1),Xw(t)||W3(f,se)||I||(f=A?O.createNodeArray(__spreadArray(__spreadArray([],__read(f),!1),[OE(O)],!1)):fT(f,ie,aw)),b=O.updateModuleBlock(p,f),P=_,A=y,I=v,x=G(t),k(ae(t,x,Qw(t)?U(t,t.name):t.name,b))):(P=_,x=G(t),P=!1,dT(p,H),d=p6(p),b=w.get(d),w.delete(d),k(ae(t,x,t.name,b)));case 263:N=t.name,F=t;var m,g,h=O.createNodeArray(G(t)),y=J(t,t.typeParameters),v=eN(t),p=void 0,x=(v&&(d=D,p=je(wT(v.parameters,function(c){if(rT(c,31)&&!K(c))return D=r9(c),80===c.name.kind?q(O.createPropertyDeclaration(G(c),c.name,c.questionToken,R(c,c.type),$(c)),c):function e(t){var n,r;var i;try{for(var a=__values(t.elements),o=a.next();!o.done;o=a.next()){var s=o.value;xP(s)||(i=(i=qC(s.name)?PT(i,e(s.name)):i)||[]).push(O.createPropertyDeclaration(G(c),s.name,void 0,R(s,void 0),void 0))}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}(c.name)})),D=d),W3(t.members,function(e){return!!e.name&&CD(e.name)})),b=PT(PT(x?[O.createPropertyDeclaration(void 0,O.createPrivateIdentifier("#private"),void 0,void 0,void 0)]:void 0,p),fT(t.members,W,LC)),v=O.createNodeArray(b),S=k5(t);return S&&!IN(S.expression)&&106!==S.expression.kind?(d=t.name?V4(t.name.escapedText):"default",m=O.createUniqueName("".concat(d,"_base"),16),D=function(){return{diagnosticMessage:Q3.extends_clause_of_exported_class_0_has_or_is_using_private_name_1,errorNode:S,typeName:t.name}},x=O.createVariableDeclaration(m,void 0,j.createTypeOfExpression(S.expression,t,i9,L),void 0),p=O.createVariableStatement(P?[O.createModifier(138)]:[],O.createVariableDeclarationList([x],2)),g=O.createNodeArray(V3(t.heritageClauses,function(e){var t,n;return 96===e.token?(t=D,D=r9(e.types[0]),n=O.updateHeritageClause(e,V3(e.types,function(e){return O.updateExpressionWithTypeArguments(e,m,fT(e.typeArguments,W,zC))})),D=t,n):O.updateHeritageClause(e,fT(O.createNodeArray(U3(e.types,function(e){return IN(e.expression)||106===e.expression.kind})),W,bP))})),[p,k(O.updateClassDeclaration(t,h,t.name,y,g,v))]):(g=ue(t.heritageClauses),k(O.updateClassDeclaration(t,h,t.name,y,g,v)));case 243:return k(function(e){if(z3(e.declarationList.declarations,ee)){var t,n,r=fT(e.declarationList.declarations,W,EP);if(J3(r))return t=O.createNodeArray(G(e)),Il(e.declarationList)||Al(e.declarationList)?(oT(n=O.createVariableDeclarationList(r,2),e.declarationList),_T(n,e.declarationList),hD(n,e.declarationList)):n=O.updateVariableDeclarationList(e.declarationList,r),O.updateVariableStatement(e,t,n)}}(t));case 266:return k(O.updateEnumDeclaration(t,O.createNodeArray(G(t)),t.name,O.createNodeArray(NT(t.members,function(e){var t;if(!K(e))return t=j.getConstantValue(e),q(O.updateEnumMember(e,e.name,void 0!==t?"string"==typeof t?O.createStringLiteral(t):O.createNumericLiteral(t):void 0),e)}))))}return G3.assertNever(t,"Unhandled top-level node in declaration emit: ".concat(G3.formatSyntaxKind(t.kind)))}}function k(e){return ne(t)&&(T=a),u&&(D=l),267===t.kind&&(P=_),e===t?e:(N=F=void 0,e&&oT(q(e,t),t))}}function oe(e){return CT(NT(e.elements,function(e){if(232!==e.kind&&e.name&&ee(e))return qC(e.name)?oe(e.name):O.createVariableDeclaration(e.name,void 0,R(e,void 0),void 0)}))}function K(e){return k&&e&&c9(e,p)}function se(e){return HP(e)||KP(e)}function G(e){var t=TN(e),n=function(e){var t=130030,n=P&&264!==e.kind?128:0,r=312===e.parent.kind;(!r||y&&r&&QE(e.parent))&&(t^=128,n=0);return l9(e,t,n)}(e);return t===n?jk(e.modifiers,function(e){return e4(e,NC)},NC):O.createModifiersFromModifierFlags(n)}function ce(e,t){var n=_9(e);return n||e===t.firstAccessor||(n=_9(t.firstAccessor),D=r9(t.firstAccessor)),!n&&t.secondAccessor&&e!==t.secondAccessor&&(n=_9(t.secondAccessor),D=r9(t.secondAccessor)),n}function ue(e){return O.createNodeArray(U3(V3(e,function(t){return O.updateHeritageClause(t,fT(O.createNodeArray(U3(t.types,function(e){return IN(e.expression)||96===t.token&&106===e.expression.kind})),W,bP))}),function(e){return e.types&&e.types.length}))}}function l9(e,t,n){void 0===t&&(t=131070),void 0===n&&(n=0);e=TN(e)&t|n;return 2048&e&&!(32&e)&&(e^=32),2048&e&&128&e&&(e^=128),e}function _9(e){if(e)return 177===e.kind?e.type:0"),kt(),_t(_.type),Mn(_);case 185:return jn(l=t),pn(l,l.modifiers),St("new"),kt(),yt(l,l.typeParameters),vn(l,l.parameters),kt(),xt("=>"),kt(),_t(l.type),Mn(l);case 186:return l=t,St("typeof"),kt(),_t(l.exprName),ht(l,l.typeArguments);case 187:return u=t,Rn(0,void 0),xt("{"),ie=1&_l(u)?768:32897,vt(u,u.members,524288|ie),xt("}"),Bn();case 188:return _t(t.elementType,lt.parenthesizeNonArrayTypeOfPostfixType),xt("["),xt("]");case 189:return ft(23,(u=t).pos,xt,u),ie=1&_l(u)?528:657,vt(u,u.elements,524288|ie,lt.parenthesizeElementTypeOfTupleType),ft(24,u.elements.end,xt,u);case 190:return _t(t.type,lt.parenthesizeTypeOfOptionalType),xt("?");case 192:return vt(t,t.types,516,lt.parenthesizeConstituentTypeOfUnionType);case 193:return vt(t,t.types,520,lt.parenthesizeConstituentTypeOfIntersectionType);case 194:return _t((re=t).checkType,lt.parenthesizeCheckTypeOfConditionalType),kt(),St("extends"),kt(),_t(re.extendsType,lt.parenthesizeExtendsTypeOfConditionalType),kt(),xt("?"),kt(),_t(re.trueType),kt(),xt(":"),kt(),_t(re.falseType);case 195:return re=t,St("infer"),kt(),_t(re.typeParameter);case 196:return ne=t,xt("("),_t(ne.type),xt(")");case 233:return Wt(t);case 197:return St("this");case 198:return Dn((ne=t).operator,St),kt(),te=148===ne.operator?lt.parenthesizeOperandOfReadonlyTypeOperator:lt.parenthesizeOperandOfTypeOperator,_t(ne.type,te);case 199:return _t((te=t).objectType,lt.parenthesizeNonArrayTypeOfPostfixType),xt("["),_t(te.indexType),xt("]");case 200:var y=t,Se=_l(y);return xt("{"),(1&Se?kt:(Tt(),Ct))(),y.readonlyToken&&(_t(y.readonlyToken),148!==y.readonlyToken.kind&&St("readonly"),kt()),xt("["),Rt(3,y.typeParameter),y.nameType&&(kt(),St("as"),kt(),_t(y.nameType)),xt("]"),y.questionToken&&(_t(y.questionToken),58!==y.questionToken.kind)&&xt("?"),xt(":"),kt(),_t(y.type),bt(),(1&Se?kt:(Tt(),wt))(),vt(y,y.members,2),void xt("}");case 201:return dt(t.literal);case 202:return _t((Se=t).dotDotDotToken),_t(Se.name),_t(Se.questionToken),ft(59,Se.name.end,xt,Se),kt(),_t(Se.type);case 203:return _t((y=t).head),vt(y,y.templateSpans,262144);case 204:return _t((v=t).type),_t(v.literal);case 205:var ke,v=t;return v.isTypeOf&&(St("typeof"),kt()),St("import"),xt("("),_t(v.argument),v.attributes&&(xt(","),kt(),xt("{"),kt(),St(132===v.attributes.token?"assert":"with"),xt(":"),kt(),ke=v.attributes.elements,vt(v.attributes,ke,526226),kt(),xt("}")),xt(")"),v.qualifier&&(xt("."),_t(v.qualifier)),void ht(v,v.typeArguments);case 206:return ke=t,xt("{"),vt(ke,ke.elements,525136),xt("}");case 207:return Te=t,xt("["),vt(Te,Te.elements,524880),xt("]");case 208:var Te=t;return _t(Te.dotDotDotToken),Te.propertyName&&(_t(Te.propertyName),xt(":"),kt()),_t(Te.name),void mn(Te.initializer,Te.name.end,Te,lt.parenthesizeExpressionForDisallowedComma);case 239:return dt((ee=t).expression),_t(ee.literal);case 240:return bt();case 241:return Ht(ee=t,!ee.multiLine&&On(ee));case 243:return mt(Z=t,Z.modifiers,!1),_t(Z.declarationList),bt();case 242:return Kt(!1);case 244:return dt((Z=t).expression,lt.parenthesizeExpressionOfExpressionStatement),rt&&y8(rt)&&!V5(Z.expression)||bt();case 245:return x=ft(101,(c=t).pos,St,c),kt(),ft(21,x,xt,c),dt(c.expression),ft(22,c.expression.end,xt,c),yn(c,c.thenStatement),c.elseStatement&&(Pn(c,c.thenStatement,c.elseStatement),ft(93,c.thenStatement.end,St,c),245===c.elseStatement.kind?(kt(),_t(c.elseStatement)):yn(c,c.elseStatement));case 246:var x=t;return ft(92,x.pos,St,x),yn(x,x.statement),TP(x.statement)&&!ot?kt():Pn(x,x.statement,x.expression),Gt(x,x.statement.end),void bt();case 247:return Gt(c=t,c.pos),yn(c,c.statement);case 248:return s=ft(99,(o=t).pos,St,o),kt(),s=ft(21,s,xt,o),Xt(o.initializer),s=ft(27,o.initializer?o.initializer.end:s,xt,o),hn(o.condition),s=ft(27,o.condition?o.condition.end:s,xt,o),hn(o.incrementor),ft(22,o.incrementor?o.incrementor.end:s,xt,o),yn(o,o.statement);case 249:return o=ft(99,(s=t).pos,St,s),kt(),ft(21,o,xt,s),Xt(s.initializer),kt(),ft(103,s.initializer.end,St,s),kt(),dt(s.expression),ft(22,s.expression.end,xt,s),yn(s,s.statement);case 250:$=ft(99,(a=t).pos,St,a),kt();var Ce=a.awaitModifier;return Ce&&(_t(Ce),kt()),ft(21,$,xt,a),Xt(a.initializer),kt(),ft(165,a.initializer.end,St,a),kt(),dt(a.expression),ft(22,a.expression.end,xt,a),yn(a,a.statement);case 251:return ft(88,(Ce=t).pos,St,Ce),gn(Ce.label),bt();case 252:return ft(83,($=t).pos,St,$),gn($.label),bt();case 253:return ft(107,(a=t).pos,St,a),hn(a.expression&&Qt(a.expression),Qt),bt();case 254:return Y=ft(118,(Q=t).pos,St,Q),kt(),ft(21,Y,xt,Q),dt(Q.expression),ft(22,Q.expression.end,xt,Q),yn(Q,Q.statement);case 255:return Q=ft(109,(Y=t).pos,St,Y),kt(),ft(21,Q,xt,Y),dt(Y.expression),ft(22,Y.expression.end,xt,Y),kt(),_t(Y.caseBlock);case 256:return _t((X=t).label),ft(59,X.label.end,xt,X),kt(),_t(X.statement);case 257:return ft(111,(X=t).pos,St,X),hn(Qt(X.expression),Qt),bt();case 258:var b=t;return ft(113,b.pos,St,b),kt(),_t(b.tryBlock),b.catchClause&&(Pn(b,b.tryBlock,b.catchClause),_t(b.catchClause)),void(b.finallyBlock&&(Pn(b,b.catchClause||b.tryBlock,b.finallyBlock),ft(98,(b.catchClause||b.tryBlock).end,St,b),kt(),_t(b.finallyBlock)));case 259:return Nn(89,t.pos,St),bt();case 260:return _t((b=t).name),_t(b.exclamationToken),gt(b.type),mn(b.initializer,null!=(S=null!=(S=null==(S=b.type)?void 0:S.end)?S:null==(S=null==(S=b.name.emitNode)?void 0:S.typeNode)?void 0:S.end)?S:b.name.end,b,lt.parenthesizeExpressionForDisallowedComma);case 261:var S=t;return Al(S)?(St("await"),kt(),St("using")):St(Ll(S)?"let":Ol(S)?"const":Il(S)?"using":"var"),kt(),void vt(S,S.declarations,528);case 262:return $t(t);case 263:return nn(t);case 264:return i=t,Rn(0,void 0),mt(i,i.modifiers,!1),St("interface"),kt(),_t(i.name),yt(i,i.typeParameters),vt(i,i.heritageClauses,512),kt(),xt("{"),vt(i,i.members,129),xt("}"),Bn();case 265:return mt(i=t,i.modifiers,!1),St("type"),kt(),_t(i.name),yt(i,i.typeParameters),kt(),xt("="),kt(),_t(i.type),bt();case 266:return mt(k=t,k.modifiers,!1),St("enum"),kt(),_t(k.name),kt(),xt("{"),vt(k,k.members,145),xt("}");case 267:var k=t,we=(mt(k,k.modifiers,!1),2048&~k.flags&&(St(32&k.flags?"namespace":"module"),kt()),_t(k.name),k.body);if(!we)return bt();for(;we&&RP(we);)xt("."),_t(we.name),we=we.body;return kt(),void _t(we);case 268:return jn(r=t),z3(r.statements,Dt),Ht(r,On(r)),Mn(r);case 269:return ft(19,(r=t).pos,xt,r),vt(r,r.clauses,129),ft(20,r.clauses.end,xt,r,!0);case 270:return T=ft(95,(Ne=t).pos,St,Ne),kt(),T=ft(130,T,St,Ne),kt(),T=ft(145,T,St,Ne),kt(),_t(Ne.name),bt();case 271:var T=t,Ne=(mt(T,T.modifiers,!1),ft(102,T.modifiers?T.modifiers.end:T.pos,St,T),kt(),T.isTypeOnly&&(ft(156,T.pos,St,T),kt()),_t(T.name),kt(),ft(64,T.name.end,xt,T),kt(),T.moduleReference);return(80===Ne.kind?dt:_t)(Ne),void bt();case 272:var C=t;return mt(C,C.modifiers,!1),ft(102,C.modifiers?C.modifiers.end:C.pos,St,C),kt(),C.importClause&&(_t(C.importClause),kt(),ft(161,C.importClause.end,St,C),kt()),dt(C.moduleSpecifier),C.attributes&&gn(C.attributes),void bt();case 273:C=t;return C.isTypeOnly&&(ft(156,C.pos,St,C),kt()),_t(C.name),C.name&&C.namedBindings&&(ft(28,C.name.end,xt,C),kt()),void _t(C.namedBindings);case 274:return G=ft(42,(K=t).pos,xt,K),kt(),ft(130,G,St,K),kt(),_t(K.name);case 280:return K=ft(42,(G=t).pos,xt,G),kt(),ft(130,K,St,G),kt(),_t(G.name);case 275:return rn(t);case 276:return an(t);case 277:var w=t,N=ft(95,w.pos,St,w);return kt(),w.isExportEquals?ft(64,N,kn,w):ft(90,N,St,w),kt(),dt(w.expression,w.isExportEquals?lt.getParenthesizeRightSideOfBinaryForOperator(64):lt.parenthesizeExpressionOfExportDefault),void bt();case 278:N=t,w=(mt(N,N.modifiers,!1),ft(95,N.pos,St,N));return kt(),N.isTypeOnly&&(w=ft(156,w,St,N),kt()),N.exportClause?_t(N.exportClause):w=ft(42,w,xt,N),N.moduleSpecifier&&(kt(),ft(161,N.exportClause?N.exportClause.end:w,St,N),kt(),dt(N.moduleSpecifier)),N.attributes&&gn(N.attributes),void bt();case 279:return rn(t);case 281:return an(t);case 300:return ft((Fe=t).token,Fe.pos,St,Fe),kt(),H=Fe.elements,vt(Fe,H,526226);case 301:var Fe=t;return _t(Fe.name),xt(":"),kt(),0==(1024&_l(Fe=Fe.value))&&cr(Og(Fe).pos),void _t(Fe);case 282:return;case 283:return H=t,St("require"),xt("("),dt(H.expression),xt(")");case 12:return F=t,at.writeLiteral(F.text);case 286:case 289:var F=t;return xt("<"),ZP(F)&&(De=An(F.tagName,F),on(F.tagName),ht(F,F.typeArguments),F.attributes.properties&&0");case 287:case 290:var De=t;return xt("");case 291:_t((Ee=t).name);var D="=",Pe=xt,Ee=Ee.initializer,Ae=Mt;return void(Ee&&(Pe(D),Ae(Ee)));case 292:return vt(t,t.properties,262656);case 293:return Pe=t,xt("{..."),dt(Pe.expression),xt("}");case 294:var Ie,D=t;return void((D.expression||!ut&&!V5(D)&&function(e){return function(e){var t=!1;return Ga((null==rt?void 0:rt.text)||"",e+1,function(){return t=!0}),t}(e)||function(e){var t=!1;return Ka((null==rt?void 0:rt.text)||"",e+1,function(){return t=!0}),t}(e)}(D.pos))&&((Ae=rt&&!V5(D)&&D4(rt,D.pos).line!==D4(rt,D.end).line)&&at.increaseIndent(),Ee=ft(19,D.pos,xt,D),_t(D.dotDotDotToken),dt(D.expression),ft(20,(null==(Ie=D.expression)?void 0:Ie.end)||Ee,xt,D),Ae)&&at.decreaseIndent());case 295:return jt((Ie=t).namespace),xt(":"),jt(Ie.name);case 296:return ft(84,(W=t).pos,St,W),kt(),dt(W.expression,lt.parenthesizeExpressionForDisallowedComma),sn(W,W.statements,W.expression.end);case 297:return V=ft(90,(W=t).pos,St,W),sn(W,W.statements,V);case 298:return V=t,kt(),Dn(V.token,St),kt(),vt(V,V.types,528);case 299:var P=t,Oe=ft(85,P.pos,St,P);return kt(),P.variableDeclaration&&(ft(21,Oe,xt,P),_t(P.variableDeclaration),ft(22,P.variableDeclaration.end,xt,P),kt()),void _t(P.block);case 303:Oe=t;return _t(Oe.name),xt(":"),kt(),0==(1024&_l(Oe=Oe.initializer))&&cr(Og(Oe).pos),void dt(Oe,lt.parenthesizeExpressionForDisallowedComma);case 304:return _t((P=t).name),P.objectAssignmentInitializer&&(kt(),xt("="),kt(),dt(P.objectAssignmentInitializer,lt.parenthesizeExpressionForDisallowedComma));case 305:return(U=t).expression&&(ft(26,U.pos,xt,U),dt(U.expression,lt.parenthesizeExpressionForDisallowedComma));case 306:return _t((U=t).name),mn(U.initializer,U.name.end,U,lt.parenthesizeExpressionForDisallowedComma);case 307:return zt(t);case 314:case 308:var Le,je,Me=t;try{for(var Re=__values(Me.texts),Be=Re.next();!Be.done;Be=Re.next()){var Je=Be.value;Tt(),_t(Je)}}catch(e){Le={error:e}}finally{try{Be&&!Be.done&&(je=Re.return)&&je.call(Re)}finally{if(Le)throw Le.error}}return;case 309:case 310:return Me=t,je=Ot(),zt(Me),ct&&Lt(je,at.getTextPos(),309===Me.kind?"text":"internal");case 311:return Le=t,q=Ot(),zt(Le),ct&&((Le=kr(Le.section)).pos=q,Le.end=at.getTextPos(),ct.sections.push(Le));case 312:return dn(t);case 313:return G3.fail("Bundles should be printed using printBundle");case 315:return G3.fail("InputFiles should not be printed");case 316:return _n(t);case 317:return q=t,kt(),xt("{"),_t(q.name),xt("}");case 319:return xt("*");case 320:return xt("?");case 321:return z=t,xt("?"),_t(z.type);case 322:return z=t,xt("!"),_t(z.type);case 323:return _t(t.type),xt("=");case 324:return J=t,St("function"),vn(J,J.parameters),xt(":"),_t(J.type);case 191:case 325:return J=t,xt("..."),_t(J.type);case 326:return;case 327:var ze,E=t;if(st("/**"),E.comment){var qe=cC(E.comment);if(qe){qe=qe.split(/\r\n?|\n/g);try{for(var Ue=__values(qe),Ve=Ue.next();!Ve.done;Ve=Ue.next()){var We=Ve.value;Tt(),kt(),xt("*"),kt(),st(We)}}catch(e){He={error:e}}finally{try{Ve&&!Ve.done&&(ze=Ue.return)&&ze.call(Ue)}finally{if(He)throw He.error}}}}return E.tags&&(1!==E.tags.length||351!==E.tags[0].kind||E.comment?vt(E,E.tags,33):(kt(),_t(E.tags[0]))),kt(),void st("*/");case 329:return cn(t);case 330:return un(t);case 334:case 339:case 344:return ln((qe=t).tagName),pt(qe.comment);case 335:case 336:return ln((ze=t).tagName),kt(),xt("{"),_t(ze.class),xt("}"),pt(ze.comment);case 337:case 338:return;case 340:case 341:case 342:case 343:return;case 345:var He=t;return ln(He.tagName),He.name&&(kt(),_t(He.name)),pt(He.comment),void un(He.typeExpression);case 346:return pt((E=t).comment),un(E.typeExpression);case 348:case 355:var Ke=t;return ln(Ke.tagName),_n(Ke.typeExpression),kt(),Ke.isBracketed&&xt("["),_t(Ke.name),Ke.isBracketed&&xt("]"),void pt(Ke.comment);case 347:case 349:case 350:case 351:case 356:case 357:return ln((Ke=t).tagName),_n(Ke.typeExpression),pt(Ke.comment);case 352:return ln((A=t).tagName),_n(A.constraint),kt(),vt(A,A.typeParameters,528),pt(A.comment);case 353:var A=t;return ln(A.tagName),A.typeExpression&&(316===A.typeExpression.kind?_n(A.typeExpression):(kt(),xt("{"),st("Object"),A.typeExpression.isArrayType&&(xt("["),xt("]")),xt("}"))),A.fullName&&(kt(),_t(A.fullName)),pt(A.comment),void(A.typeExpression&&329===A.typeExpression.kind&&cn(A.typeExpression));case 354:return ln((B=t).tagName),_t(B.name),pt(B.comment);case 359:return}Z3(t)&&(e=1,At!==v9)&&(n=At(e,t)||t)!==t&&(t=n,Et)&&(t=Et(t))}if(1===e)switch(t.kind){case 9:case 10:return Jt(t,!1);case 11:case 14:case 15:return Jt(t,!1);case 80:return qt(t);case 81:return Ut(t);case 209:return Xe=(Ge=t).elements,Qe=Ge.multiLine?65536:0,bn(Ge,Xe,8914|Qe,lt.parenthesizeExpressionForDisallowedComma);case 210:var Ge=t,Xe=(Rn(0,void 0),z3(Ge.properties,Jn),131072&_l(Ge)),Qe=(Xe&&Ct(),Ge.multiLine?65536:0),I=rt&&1<=rt.languageVersion&&!y8(rt)?64:0;return vt(Ge,Ge.properties,526226|I|Qe),Xe&&wt(),void Bn();case 211:var I=t,O=(dt(I.expression,lt.parenthesizeLeftSideOfAccess),I.questionDotToken||qF(aT.createToken(25),I.expression.end,I.name.pos)),Ye=Ft(I,I.expression,O),$e=Ft(I,O,I.name);return Nt(Ye,!1),29===O.kind||!function(e){{var t;return kD(e=hs(e))?(t=Ln(e,!0,!1),!(448&e.numericLiteralFlags||t.includes(N4[25])||t.includes(String.fromCharCode(69))||t.includes(String.fromCharCode(101)))):eF(e)?"number"==typeof(t=Jg(e))&&isFinite(t)&&0<=t&&Math.floor(t)===t:void 0}}(I.expression)||at.hasTrailingComment()||at.hasTrailingWhitespace()||xt("."),I.questionDotToken?_t(O):ft(O.kind,I.expression.end,xt,I),Nt($e,!1),_t(I.name),void En(Ye,$e);case 212:return dt((O=t).expression,lt.parenthesizeLeftSideOfAccess),_t(O.questionDotToken),ft(23,O.expression.end,xt,O),dt(O.argumentExpression),ft(24,O.argumentExpression.end,xt,O);case 213:Ye=t,$e=16&dl(Ye);return $e&&(xt("("),Sn("0"),xt(","),kt()),dt(Ye.expression,lt.parenthesizeLeftSideOfAccess),$e&&xt(")"),_t(Ye.questionDotToken),ht(Ye,Ye.typeArguments),void bn(Ye,Ye.arguments,2576,lt.parenthesizeExpressionForDisallowedComma);case 214:return ft(105,(L=t).pos,St,L),kt(),dt(L.expression,lt.parenthesizeExpressionOfNew),ht(L,L.typeArguments),bn(L,L.arguments,18960,lt.parenthesizeExpressionForDisallowedComma);case 215:var L=t,Ze=16&dl(L);return Ze&&(xt("("),Sn("0"),xt(","),kt()),dt(L.tag,lt.parenthesizeLeftSideOfAccess),Ze&&xt(")"),ht(L,L.typeArguments),kt(),void dt(L.template);case 216:return Ze=t,xt("<"),_t(Ze.type),xt(">"),dt(Ze.expression,lt.parenthesizeOperandOfPrefixUnary);case 217:return ge=ft(21,(g=t).pos,xt,g),he=An(g.expression,g),dt(g.expression,void 0),In(g.expression,g),En(he),ft(22,g.expression?g.expression.end:ge,xt,g);case 218:return zn((he=t).name),$t(he);case 219:return pn(ge=t,ge.modifiers),Zt(ge,Vt);case 220:return ft(91,(g=t).pos,St,g),kt(),dt(g.expression,lt.parenthesizeOperandOfPrefixUnary);case 221:return ft(114,(me=t).pos,St,me),kt(),dt(me.expression,lt.parenthesizeOperandOfPrefixUnary);case 222:return ft(116,(me=t).pos,St,me),kt(),dt(me.expression,lt.parenthesizeOperandOfPrefixUnary);case 223:return ft(135,(et=t).pos,St,et),kt(),dt(et.expression,lt.parenthesizeOperandOfPrefixUnary);case 224:var et=t;return Dn(et.operator,kn),function(e){var t=e.operand;return 224===t.kind&&(40===e.operator&&(40===t.operator||46===t.operator)||41===e.operator&&(41===t.operator||47===t.operator))}(et)&&kt(),void dt(et.operand,lt.parenthesizeOperandOfPrefixUnary);case 225:return dt((m=t).operand,lt.parenthesizeOperandOfPostfixUnary),Dn(m.operator,kn);case 226:return It(t);case 227:return _e=Ft(m=t,m.condition,m.questionToken),de=Ft(m,m.questionToken,m.whenTrue),fe=Ft(m,m.whenTrue,m.colonToken),pe=Ft(m,m.colonToken,m.whenFalse),dt(m.condition,lt.parenthesizeConditionOfConditionalExpression),Nt(_e,!0),_t(m.questionToken),Nt(de,!0),dt(m.whenTrue,lt.parenthesizeBranchOfConditionalExpression),En(_e,de),Nt(fe,!0),_t(m.colonToken),Nt(pe,!0),dt(m.whenFalse,lt.parenthesizeBranchOfConditionalExpression),En(fe,pe);case 228:return _t((_e=t).head),vt(_e,_e.templateSpans,262144);case 229:return ft(127,(de=t).pos,St,de),_t(de.asteriskToken),hn(de.expression&&Qt(de.expression),Yt);case 230:return ft(26,(fe=t).pos,xt,fe),dt(fe.expression,lt.parenthesizeExpressionForDisallowedComma);case 231:return zn((pe=t).name),nn(pe);case 232:return;case 234:return dt((le=t).expression,void 0),le.type&&(kt(),St("as"),kt(),_t(le.type));case 235:return dt(t.expression,lt.parenthesizeLeftSideOfAccess),kn("!");case 233:return Wt(t);case 238:return dt((le=t).expression,void 0),le.type&&(kt(),St("satisfies"),kt(),_t(le.type));case 236:return Nn((ue=t).keywordToken,ue.pos,xt),xt("."),_t(ue.name);case 237:return G3.fail("SyntheticExpression should never be printed.");case 282:return;case 284:return _t((ue=t).openingElement),vt(ue,ue.children,262144),_t(ue.closingElement);case 285:return ce=t,xt("<"),on(ce.tagName),ht(ce,ce.typeArguments),kt(),_t(ce.attributes),xt("/>");case 288:return _t((ce=t).openingFragment),vt(ce,ce.children,262144),_t(ce.closingFragment);case 358:return G3.fail("SyntaxList should not be printed");case 359:return;case 360:var tt=t,nt=_l(tt);return 1024&nt||tt.pos===tt.expression.pos||cr(tt.expression.pos),dt(tt.expression),void(2048&nt||tt.end===tt.expression.end||or(tt.expression.end));case 361:return bn(t,t.elements,528,void 0);case 362:return G3.fail("SyntheticReferenceExpression should not be printed")}return B_(t.kind)?Fn(t,St):Cs(t.kind)?Fn(t,xt):void G3.fail("Unhandled SyntaxKind: ".concat(G3.formatSyntaxKind(t.kind),"."))}function Te(e,t){var n=be(1,e,t);G3.assertIsDefined(i),t=i,i=void 0,n(e,t)}function Ce(e){var t,n,r=313===e.kind?e:void 0;if(!r||0!==M)for(var i=r?r.prepends.length:0,a=r?r.sourceFiles.length+i:1,o=0;o'),ct&&ct.sections.push({pos:y,end:at.getTextPos(),kind:"no-default-lib"}),Tt()),rt&&rt.moduleName&&(Be('/// ')),Tt()),rt&&rt.amdDependencies)try{for(var d=__values(rt.amdDependencies),f=d.next();!f.done;f=d.next()){var p=f.value;p.name?Be('/// ')):Be('/// ')),Tt()}}catch(e){i={error:e}}finally{try{f&&!f.done&&(a=d.return)&&a.call(d)}finally{if(i)throw i.error}}try{for(var m=__values(t),g=m.next();!g.done;g=m.next()){var h=g.value,y=at.getTextPos();Be('/// ')),ct&&ct.sections.push({pos:y,end:at.getTextPos(),kind:"reference",data:h.fileName}),Tt()}}catch(e){o={error:e}}finally{try{g&&!g.done&&(s=m.return)&&s.call(m)}finally{if(o)throw o.error}}try{for(var v=__values(n),x=v.next();!x.done;x=v.next()){var h=x.value,y=at.getTextPos(),b=h.resolutionMode&&h.resolutionMode!==(null==rt?void 0:rt.impliedNodeFormat)?'resolution-mode="'.concat(99===h.resolutionMode?"import":"require",'"'):"";Be('/// ")),ct&&ct.sections.push({pos:y,end:at.getTextPos(),kind:h.resolutionMode?99===h.resolutionMode?"type-import":"type-require":"type",data:h.fileName}),Tt()}}catch(e){c={error:e}}finally{try{x&&!x.done&&(u=v.return)&&u.call(v)}finally{if(c)throw c.error}}try{for(var S=__values(r),k=S.next();!k.done;k=S.next()){h=k.value,y=at.getTextPos();Be('/// ')),ct&&ct.sections.push({pos:y,end:at.getTextPos(),kind:"lib",data:h.fileName}),Tt()}}catch(e){l={error:e}}finally{try{k&&!k.done&&(_=S.return)&&_.call(S)}finally{if(l)throw l.error}}}function Ee(e){var t,n=e.statements,r=(jn(e),z3(e.statements,Dt),Ce(e),yT(n,function(e){return!Ml(e)}));(t=e).isDeclarationFile&&Pe(t.hasNoDefaultLib,t.referencedFiles,t.typeReferenceDirectives,t.libReferenceDirectives),vt(e,n,1,void 0,-1===r?n.length:r),Mn(e)}function Ae(e,t,n,r){for(var i=!!t,a=0;a=n.length||0===o)&&32768&r?(null!=E&&E(n),null!=A&&A(n)):(15360&r&&(xt(S9[15360&r][0]),s)&&n&&cr(n.pos,!0),null!=E&&E(n),s?!(1&r)||ot&&(!t||rt&&Cf(t,rt))?256&r&&!(524288&r)&&kt():Tt():Me(e,t,n,r,i,a,o,n.hasTrailingComma,n),null!=A&&A(n),15360&r&&(s&&n&&or(n.end),xt(S9[15360&r][1]))))}function Me(e,t,n,r,i,a,o,s,c){for(var u,l,_=0==(262144&r),d=_,f=ze(t,n[a],r),p=(f?(Tt(f),d=!1):256&r&&kt(),128&r&&Ct(),f=i,1===e.length?Z9:"object"==typeof f?eI:tI),m=!1,g=0;g"],e[8192]=["[","]"],S9=e,k9={hasGlobalName:_e,getReferencedExportContainer:_e,getReferencedImportDeclaration:_e,getReferencedDeclarationWithCollidingName:_e,isDeclarationWithCollidingName:_e,isValueAliasDeclaration:_e,isReferencedAliasDeclaration:_e,isTopLevelValueImportEqualsWithEntityName:_e,getNodeCheckFlags:_e,isDeclarationVisible:_e,isLateBound:function(e){return!1},collectLinkedAliases:_e,isImplementationOfOverload:_e,isRequiredInitializedParameter:_e,isOptionalUninitializedParameterProperty:_e,isExpandoFunctionDeclaration:_e,getPropertiesOfContainerFunction:_e,createTypeOfDeclaration:_e,createReturnTypeOfSignatureDeclaration:_e,createTypeOfExpression:_e,createLiteralConstValue:_e,isSymbolAccessible:_e,isEntityNameVisible:_e,getConstantValue:_e,getReferencedValueDeclaration:_e,getReferencedValueDeclarations:_e,getTypeReferenceSerializationKind:_e,isOptionalParameter:_e,moduleExportsSomeValue:_e,isArgumentsLocalBinding:_e,getExternalModuleFileFromDeclaration:_e,getTypeReferenceDirectivesForEntityName:_e,getTypeReferenceDirectivesForSymbol:_e,isLiteralConstDeclaration:_e,getJsxFactoryEntity:_e,getJsxFragmentFactoryEntity:_e,getAllAccessorDeclarations:_e,getSymbolOfExternalModuleSpecifier:_e,isBindingCapturedByNode:_e,getDeclarationStatementsForSourceFile:_e,isImportRequiredByAugmentation:_e,tryFindAmbientModule:_e},T9=bi(function(){return $9({})}),C9=bi(function(){return $9({removeComments:!0})}),w9=bi(function(){return $9({removeComments:!0,neverAsciiEscape:!0})}),N9=bi(function(){return $9({removeComments:!0,omitTrailingSemicolon:!0})})}});function aI(u,l,_){var o,a;if(u.getDirectories&&u.readDirectory)return o=new Map,a=s4(_),{useCaseSensitiveFileNames:_,fileExists:function(e){var t=i(d(e));return t&&r(t.sortedAndCanonicalizedFiles,a(f(e)))||u.fileExists(e)},readFile:function(e,t){return u.readFile(e,t)},directoryExists:u.directoryExists&&function(e){var t=d(e);return o.has(zi(t))||u.directoryExists(e)},getDirectories:function(e){var t=d(e),t=p(e,t);if(t)return t.directories.slice();return u.getDirectories(e)},readDirectory:function(e,t,n,r,i){var a,o=d(e),s=p(e,o);return void 0===s?u.readDirectory(e,t,n,r,i):nm(e,t,n,r,_,l,i,function(e){var t=d(e);if(t===o)return s||c(e,t);var n=p(e,t);return void 0!==n?n||c(e,t):Fu},m);function c(e,t){return a&&t===o?a:(e={files:V3(u.readDirectory(e,void 0,void 0,["*.*"]),f)||B3,directories:u.getDirectories(e)||B3},t===o&&(a=e),e)}},createDirectory:u.createDirectory&&function(e){var t=i(d(e));{var n,r;t&&(n=f(e),r=a(n),Q(t.sortedAndCanonicalizedDirectories,r,xe))&&t.directories.push(n)}u.createDirectory(e)},writeFile:u.writeFile&&function(e,t,n){var r=i(d(e));r&&c(r,f(e),!0);return u.writeFile(e,t,n)},addOrDeleteFileOrDirectory:function(e,t){if(void 0!==s(t))g();else{var n=i(t);if(n){if(u.directoryExists)return e=f(e),(t={fileExists:u.fileExists(t),directoryExists:u.directoryExists(t)}).directoryExists||r(n.sortedAndCanonicalizedDirectories,a(e))?g():c(n,e,t.fileExists),t;g()}}},addOrDeleteFile:function(e,t,n){1!==n&&(t=i(t))&&c(t,f(e),0===n)},clearCache:g,realpath:u.realpath&&m};function d(e){return Bi(e,l,a)}function s(e){return o.get(zi(e))}function i(e){e=s(k4(e));return e&&!e.sortedAndCanonicalizedFiles&&(e.sortedAndCanonicalizedFiles=e.files.map(a).sort(),e.sortedAndCanonicalizedDirectories=e.directories.map(a).sort()),e}function f(e){return Di(xa(e))}function p(e,t){var n,r,i,a=s(t=zi(t));if(a)return a;try{return n=e,r=t,u.realpath&&zi(d(u.realpath(n)))!==r?null!=(i=u.directoryExists)&&i.call(u,n)?(o.set(r,!1),!1):void 0:(i={files:V3(u.readDirectory(n,void 0,void 0,["*.*"]),f)||[],directories:u.getDirectories(n)||[]},o.set(zi(r),i),i)}catch(e){G3.assert(!o.has(zi(t)))}}function r(e,t){return 0<=VT(e,t,Cn,xe)}function m(e){return u.realpath?u.realpath(e):e}function c(e,t,n){var r=e.sortedAndCanonicalizedFiles,i=a(t);n?Q(r,i,xe)&&e.files.push(t):0<=(n=VT(r,i,Cn,xe))&&(r.splice(n,1),t=e.files.findIndex(function(e){return a(e)===i}),e.files.splice(t,1))}function g(){o.clear()}}function oI(r,e,i,a,t){var n=oe((null==(e=null==e?void 0:e.configFile)?void 0:e.extendedSourceFiles)||B3,t);i.forEach(function(e,t){n.has(t)||(e.projects.delete(r),e.close())}),n.forEach(function(e,t){var n=i.get(t);n?n.projects.add(r):i.set(t,{projects:new Set([r]),watcher:a(e,t),close:function(){var e=i.get(t);e&&0===e.projects.size&&(e.watcher.close(),i.delete(t))}})})}function sI(t,e){e.forEach(function(e){e.projects.delete(t)&&e.close()})}function cI(n,r,i){n.delete(r)&&n.forEach(function(e,t){null!=(e=e.extendedResult.extendedSourceFiles)&&e.some(function(e){return i(e)===r})&&cI(n,t,i)})}function uI(e,t,n){Kf(t,new Map(e),{createNewValue:n,onDeleteValue:zf})}function lI(e,t,n){Kf(t,oe(e.getMissingFilePaths(),Cn,xi),{createNewValue:n,onDeleteValue:zf})}function _I(r,e,n){function i(e,t){return{watcher:n(e,t),flags:t}}Kf(r,e,{createNewValue:i,onDeleteValue:gI,onExistingValue:function(e,t,n){e.flags!==t&&(e.watcher.close(),r.set(n,i(n,t)))}})}function dI(e){var t=e.watchedDirPath,n=e.fileOrDirectory,r=e.fileOrDirectoryPath,i=e.configFileName,a=e.options,o=e.program,s=e.extraFileExtensions,c=e.currentDirectory,u=e.useCaseSensitiveFileNames,l=e.writeLog,_=e.toPath,d=e.getScriptKind,e=gL(r);if(!e)return l("Project: ".concat(i," Detected ignored path: ").concat(n)),!0;if((r=e)===t)return!1;if(x4(r)&&!_m(n,a,s)&&!function(){if(!d)return;switch(d(n)){case 3:case 4:case 7:case 5:return 1;case 1:case 2:return Mp(a);case 6:return hF(a);case 0:return}}())return l("Project: ".concat(i," Detected file add/remove of non supported extension: ").concat(n)),!0;if(Vx(n,a.configFile.configFileSpecs,C4(k4(i),c),u,c))return l("Project: ".concat(i," Detected excluded file: ").concat(n)),!0;if(!o)return!1;if(Z5(a)||a.outDir)return!1;if(YE(r)){if(a.declarationDir)return!1}else if(!S4(r,xu))return!1;var e=pm(r),f=$T(o)?void 0:o.getState?o.getProgramOrUndefined():o,p=f||$T(o)?void 0:o;return!(!m(e+".ts")&&!m(e+".tsx")||(l("Project: ".concat(i," Detected output file: ").concat(n)),0));function m(t){return f?f.getSourceFileByPath(t):p?p.getState().fileInfos.has(t):q3(o,function(e){return _(e)===t})}}function fI(e,t){return!!e&&e.isEmittedFile(t)}function pI(c,e,_,d){Zr(2===e?_:ya);var t={watchFile:function(e,t,n,r){return c.watchFile(e,t,n,r)},watchDirectory:function(e,t,n,r){return c.watchDirectory(e,t,0!=(1&n),r)}},u=0!==e?{watchFile:r("watchFile"),watchDirectory:r("watchDirectory")}:void 0,l=2===e?{watchFile:function(e,t,n,r,i,a){_("FileWatcher:: Added:: ".concat(p(e,n,r,i,a,d)));var o=u.watchFile(e,t,n,r,i,a);return{close:function(){_("FileWatcher:: Close:: ".concat(p(e,n,r,i,a,d))),o.close()}}},watchDirectory:function(n,e,r,i,a,o){var t="DirectoryWatcher:: Added:: ".concat(p(n,r,i,a,o,d)),s=(_(t),mt()),c=u.watchDirectory(n,e,r,i,a,o),e=mt()-s;return _("Elapsed:: ".concat(e,"ms ").concat(t)),{close:function(){var e="DirectoryWatcher:: Close:: ".concat(p(n,r,i,a,o,d)),t=(_(e),mt()),t=(c.close(),mt()-t);_("Elapsed:: ".concat(t,"ms ").concat(e))}}}}:u||t,f=2===e?function(e,t,n,r,i){return _("ExcludeWatcher:: Added:: ".concat(p(e,t,n,r,i,d))),{close:function(){return _("ExcludeWatcher:: Close:: ".concat(p(e,t,n,r,i,d)))}}}:LL;return{watchFile:n("watchFile"),watchDirectory:n("watchDirectory")};function n(s){return function(e,t,n,r,i,a){var o;return Hx(e,"watchFile"===s?null==r?void 0:r.excludeFiles:null==r?void 0:r.excludeDirectories,"boolean"==typeof c.useCaseSensitiveFileNames?c.useCaseSensitiveFileNames:c.useCaseSensitiveFileNames(),(null==(o=c.getCurrentDirectory)?void 0:o.call(c))||"")?f(e,n,r,i,a):l[s].call(void 0,e,t,n,r,i,a)}}function r(l){return function(i,a,o,s,c,u){return t[l].call(void 0,i,function(){for(var e=[],t=0;ta?Fl(o,s.elements[a],2===e.kind?Q3.File_is_output_from_referenced_project_specified_here:Q3.File_is_source_from_referenced_project_specified_here):void 0):void 0;case 8:if(!q.types)return;r=_n("types",e.typeReference),i=Q3.File_is_entry_point_of_type_library_specified_here;break;case 6:void 0!==e.index?(r=_n("lib",q.lib[e.index]),i=Q3.File_is_library_specified_here):(o=Pw(Y1.type,function(e,t){return e===cF(q)?t:void 0}),r=o?function(e,t){return un(e,function(e){return TD(e.initializer)&&e.initializer.text===t?e.initializer:void 0})}("target",o):void 0,i=Q3.File_is_default_library_for_target_specified_here);break;default:G3.assertNever(e)}return r&&Fl(q.configFile,r,i)}}(e))),e===t&&(t=void 0)}}function an(e,t,n,r){(A=A||[]).push({kind:1,file:e&&e.path,fileProcessingReason:t,diagnostic:n,args:r})}function on(e,t,n){c.add(rn(e,void 0,t,n))}function sn(t,n,r){for(var i=[],e=3;en&&(c.add(Fl.apply(void 0,__spreadArray([q.configFile,e.elements[n],r],__read(i),!1))),a=!1)})}),a&&c.add(iF.apply(void 0,__spreadArray([r],__read(i),!1)))}function cn(t,n,r){for(var i=[],e=3;et?c.add(Fl.apply(void 0,__spreadArray([e||q.configFile,a.elements[t],n],__read(r),!1))):c.add(iF.apply(void 0,__spreadArray([n],__read(r),!1)))}function fn(e,t,n,r){for(var i=[],a=4;ai.length+1?CL(a,t,Math.max(i.length+1,e+1)):{dir:n,dirPath:r,nonRecursive:!0}:TL(a,t,t.length-1,e,o,i)}}function TL(e,t,n,r,i,a){if(-1!==i)return CL(e,t,i+1);for(var o=!0,s=n,c=0;cn)for(i=n;ie.length&&u4(t,e))||!mi(e)&&t[e.length]!==oi)||void 0})}function re(e){return!!u&&(null==(e=e.affectingLocations)?void 0:e.some(function(e){return u.has(e)}))}function ie(){Wf(E,zf)}function ae(n,r){return e=n,A.getCompilationSettings().typeRoots||vL(A.toPath(e))?A.watchTypeRootsDirectory(r,function(e){var t=A.toPath(e),e=(f&&f.addOrDeleteFileOrDirectory(e,t),_=!0,A.onChangedAutomaticTypeDirectiveNames(),wL(r,n,C,w,d,function(e){return S.has(e)}));e&&Z(t,e===t)},1):OL;var e}}var AL,IL,OL,LL,jL,ML=e({"src/compiler/resolutionCache.ts":function(){QM()}});function RL(t,e){var n,r=t===Br&&AL?AL:{getCurrentDirectory:function(){return t.getCurrentDirectory()},getNewLine:function(){return t.newLine},getCanonicalFileName:s4(t.useCaseSensitiveFileNames)};return e?(n=new Array(1),function(e){n[0]=e,t.write(HI(n,r)+r.getNewLine()),n[0]=void 0}):function(e){return t.write(zI(e,r))}}function BL(e,t,n){return e.clearScreen&&!n.preserveWatchOutput&&!n.extendedDiagnostics&&!n.diagnostics&&xT(IL,t.code)&&(e.clearScreen(),1)}function JL(e){return e.now?e.now().toLocaleTimeString("en-US",{timeZone:"UTC"}).replace(" "," "):(new Date).toLocaleTimeString()}function zL(i,e){return e?function(e,t,n){BL(i,e,n);n="[".concat(UI(JL(i),""),"] ");n+="".concat(KI(e.messageText,i.newLine)).concat(t+t),i.write(n)}:function(e,t,n){var r="";BL(i,e,n)||(r+=t),r=(r+="".concat(JL(i)," - "))+"".concat(KI(e.messageText,i.newLine)).concat((n=t,xT(IL,e.code)?n+n:n)),i.write(r)}}function qL(e,t,n,r,i,a){var o=i,e=(o.onUnRecoverableConfigFileDiagnostic=function(e){return _j(i,a,e)},X2(e,t,o,n,r));return o.onUnRecoverableConfigFileDiagnostic=void 0,e}function UL(e){return ST(e,function(e){return 1===e.category})}function VL(n){return U3(n,function(e){return 1===e.category}).map(function(e){if(void 0!==e.file)return"".concat(e.file.fileName)}).map(function(t){var e;return void 0!==t&&void 0!==(e=q3(n,function(e){return void 0!==e.file&&e.file.fileName===t}))?(e=D4(e.file,e.start).line,{fileName:t,line:e+1}):void 0})}function WL(e){return 1===e?Q3.Found_1_error_Watching_for_file_changes:Q3.Found_0_errors_Watching_for_file_changes}function HL(e,t){var n=UI(":"+e.line,"");return ki(e.fileName)&&ki(t)?Qi(t,e.fileName,!1)+n:e.fileName+n}function KL(e,t,n,r){var i,a,o,s,c,u,l;return 0===e?"":(s=(c=t.filter(function(e){return void 0!==e})).map(function(e){return"".concat(e.fileName,":").concat(e.line)}).filter(function(e,t,n){return n.indexOf(e)===t}),i=c[0]&&HL(c[0],r.getCurrentDirectory()),t=1===e?void 0!==t[0]?[Q3.Found_1_error_in_0,i]:[Q3.Found_1_error]:0===s.length?[Q3.Found_0_errors,e]:1===s.length?[Q3.Found_0_errors_in_the_same_file_starting_at_Colon_1,e,i]:[Q3.Found_0_errors_in_1_files,e,s.length],i=iF.apply(void 0,__spreadArray([],__read(t),!1)),s=!(1sR)return 2;if(46===t.charCodeAt(0))return 3;if(95===t.charCodeAt(0))return 4;if(n){var r,n=/^@([^/]+)\/([^/]+)$/.exec(t);if(n)return 0!==(r=e(n[1],!1))?{name:n[1],isScopeName:!0,result:r}:0!==(r=e(n[2],!1))?{name:n[2],isScopeName:!1,result:r}:0}if(encodeURIComponent(t)!==t)return 5;return 0}(e,!0)}function hR(e,t){return"object"==typeof e?yR(t,e.result,e.name,e.isScopeName):yR(t,e,t,!1)}function yR(e,t,n,r){var i=r?"Scope":"Package";switch(t){case 1:return"'".concat(e,"':: ").concat(i," name '").concat(n,"' cannot be empty");case 2:return"'".concat(e,"':: ").concat(i," name '").concat(n,"' should be less than ").concat(sR," characters");case 3:return"'".concat(e,"':: ").concat(i," name '").concat(n,"' cannot start with '.'");case 4:return"'".concat(e,"':: ").concat(i," name '").concat(n,"' cannot start with '_'");case 5:return"'".concat(e,"':: ").concat(i," name '").concat(n,"' contains non URI safe characters");case 0:return G3.fail();default:G3.assertNever(t)}}var vR,xR,bR,SR,kR,TR,CR,wR,NR,FR,DR,PR,ER,AR,IR,OR,LR,jR,MR,RR,BR,JR,zR,qR=e({"src/jsTyping/jsTyping.ts":function(){WR(),lR(),rR=(nR=["assert","assert/strict","async_hooks","buffer","child_process","cluster","console","constants","crypto","dgram","diagnostics_channel","dns","dns/promises","domain","events","fs","fs/promises","http","https","http2","inspector","module","net","os","path","perf_hooks","process","punycode","querystring","readline","repl","stream","stream/promises","string_decoder","timers","timers/promises","tls","trace_events","tty","url","util","util/types","v8","vm","wasi","worker_threads","zlib"]).map(function(e){return"node:".concat(e)}),iR=__spreadArray(__spreadArray([],__read(nR),!1),__read(rR),!1),aR=new Set(iR),oR=function(e){return e[e.Ok=0]="Ok",e[e.EmptyName=1]="EmptyName",e[e.NameTooLong=2]="NameTooLong",e[e.NameStartsWithDot=3]="NameStartsWithDot",e[e.NameStartsWithUnderscore=4]="NameStartsWithUnderscore",e[e.NameContainsNonURISafeCharacters=5]="NameContainsNonURISafeCharacters",e}(oR||{}),sR=214}}),UR={},VR=(n(UR,{NameValidationResult:function(){return oR},discoverTypings:function(){return mR},isTypingUpToDate:function(){return _R},loadSafeList:function(){return fR},loadTypesMap:function(){return pR},nodeCoreModuleList:function(){return iR},nodeCoreModules:function(){return aR},nonRelativeModuleNameForTypingCache:function(){return dR},prefixedNodeCoreModuleList:function(){return rR},renderPackageNameValidationFailure:function(){return hR},validatePackageName:function(){return gR}}),e({"src/jsTyping/_namespaces/ts.JsTyping.ts":function(){qR()}})),WR=e({"src/jsTyping/_namespaces/ts.ts":function(){QM(),VR(),lR()}});function HR(e){return{indentSize:4,tabSize:4,newLineCharacter:e||"\n",convertTabsToSpaces:!0,indentStyle:2,insertSpaceAfterConstructor:!1,insertSpaceAfterCommaDelimiter:!0,insertSpaceAfterSemicolonInForStatements:!0,insertSpaceBeforeAndAfterBinaryOperators:!0,insertSpaceAfterKeywordsInControlFlowStatements:!0,insertSpaceAfterFunctionKeywordForAnonymousFunctions:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyParenthesis:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBrackets:!1,insertSpaceAfterOpeningAndBeforeClosingNonemptyBraces:!0,insertSpaceAfterOpeningAndBeforeClosingTemplateStringBraces:!1,insertSpaceAfterOpeningAndBeforeClosingJsxExpressionBraces:!1,insertSpaceBeforeFunctionParenthesis:!1,placeOpenBraceOnNewLineForFunctions:!1,placeOpenBraceOnNewLineForControlBlocks:!1,semicolons:"ignore",trimTrailingWhitespace:!0,indentSwitchCase:!0}}var KR,GR,XR,QR,YR,$R,ZR,eB,tB,nB=e({"src/services/types.ts":function(){function e(e){this.text=e}var t,n;t=vR=vR||{},e.prototype.getText=function(e,t){return 0===e&&t===this.text.length?this.text:this.text.substring(e,t)},e.prototype.getLength=function(){return this.text.length},e.prototype.getChangeRange=function(){},n=e,t.fromString=function(e){return new n(e)},xR=function(e){return e[e.Dependencies=1]="Dependencies",e[e.DevDependencies=2]="DevDependencies",e[e.PeerDependencies=4]="PeerDependencies",e[e.OptionalDependencies=8]="OptionalDependencies",e[e.All=15]="All",e}(xR||{}),bR=function(e){return e[e.Off=0]="Off",e[e.On=1]="On",e[e.Auto=2]="Auto",e}(bR||{}),SR=function(e){return e[e.Semantic=0]="Semantic",e[e.PartialSemantic=1]="PartialSemantic",e[e.Syntactic=2]="Syntactic",e}(SR||{}),kR={},TR=function(e){return e.Original="original",e.TwentyTwenty="2020",e}(TR||{}),CR=function(e){return e.All="All",e.SortAndCombine="SortAndCombine",e.RemoveUnused="RemoveUnused",e}(CR||{}),wR=function(e){return e[e.Invoked=1]="Invoked",e[e.TriggerCharacter=2]="TriggerCharacter",e[e.TriggerForIncompleteCompletions=3]="TriggerForIncompleteCompletions",e}(wR||{}),NR=function(e){return e.Type="Type",e.Parameter="Parameter",e.Enum="Enum",e}(NR||{}),FR=function(e){return e.none="none",e.definition="definition",e.reference="reference",e.writtenReference="writtenReference",e}(FR||{}),DR=function(e){return e[e.None=0]="None",e[e.Block=1]="Block",e[e.Smart=2]="Smart",e}(DR||{}),PR=function(e){return e.Ignore="ignore",e.Insert="insert",e.Remove="remove",e}(PR||{}),ER=HR("\n"),AR=function(e){return e[e.aliasName=0]="aliasName",e[e.className=1]="className",e[e.enumName=2]="enumName",e[e.fieldName=3]="fieldName",e[e.interfaceName=4]="interfaceName",e[e.keyword=5]="keyword",e[e.lineBreak=6]="lineBreak",e[e.numericLiteral=7]="numericLiteral",e[e.stringLiteral=8]="stringLiteral",e[e.localName=9]="localName",e[e.methodName=10]="methodName",e[e.moduleName=11]="moduleName",e[e.operator=12]="operator",e[e.parameterName=13]="parameterName",e[e.propertyName=14]="propertyName",e[e.punctuation=15]="punctuation",e[e.space=16]="space",e[e.text=17]="text",e[e.typeParameterName=18]="typeParameterName",e[e.enumMemberName=19]="enumMemberName",e[e.functionName=20]="functionName",e[e.regularExpressionLiteral=21]="regularExpressionLiteral",e[e.link=22]="link",e[e.linkName=23]="linkName",e[e.linkText=24]="linkText",e}(AR||{}),IR=function(e){return e[e.None=0]="None",e[e.MayIncludeAutoImports=1]="MayIncludeAutoImports",e[e.IsImportStatementCompletion=2]="IsImportStatementCompletion",e[e.IsContinuation=4]="IsContinuation",e[e.ResolvedModuleSpecifiers=8]="ResolvedModuleSpecifiers",e[e.ResolvedModuleSpecifiersBeyondLimit=16]="ResolvedModuleSpecifiersBeyondLimit",e[e.MayIncludeMethodSnippets=32]="MayIncludeMethodSnippets",e}(IR||{}),OR=function(e){return e.Comment="comment",e.Region="region",e.Code="code",e.Imports="imports",e}(OR||{}),LR=function(e){return e[e.JavaScript=0]="JavaScript",e[e.SourceMap=1]="SourceMap",e[e.Declaration=2]="Declaration",e}(LR||{}),jR=function(e){return e[e.None=0]="None",e[e.InMultiLineCommentTrivia=1]="InMultiLineCommentTrivia",e[e.InSingleQuoteStringLiteral=2]="InSingleQuoteStringLiteral",e[e.InDoubleQuoteStringLiteral=3]="InDoubleQuoteStringLiteral",e[e.InTemplateHeadOrNoSubstitutionTemplate=4]="InTemplateHeadOrNoSubstitutionTemplate",e[e.InTemplateMiddleOrTail=5]="InTemplateMiddleOrTail",e[e.InTemplateSubstitutionPosition=6]="InTemplateSubstitutionPosition",e}(jR||{}),MR=function(e){return e[e.Punctuation=0]="Punctuation",e[e.Keyword=1]="Keyword",e[e.Operator=2]="Operator",e[e.Comment=3]="Comment",e[e.Whitespace=4]="Whitespace",e[e.Identifier=5]="Identifier",e[e.NumberLiteral=6]="NumberLiteral",e[e.BigIntLiteral=7]="BigIntLiteral",e[e.StringLiteral=8]="StringLiteral",e[e.RegExpLiteral=9]="RegExpLiteral",e}(MR||{}),RR=function(e){return e.unknown="",e.warning="warning",e.keyword="keyword",e.scriptElement="script",e.moduleElement="module",e.classElement="class",e.localClassElement="local class",e.interfaceElement="interface",e.typeElement="type",e.enumElement="enum",e.enumMemberElement="enum member",e.variableElement="var",e.localVariableElement="local var",e.variableUsingElement="using",e.variableAwaitUsingElement="await using",e.functionElement="function",e.localFunctionElement="local function",e.memberFunctionElement="method",e.memberGetAccessorElement="getter",e.memberSetAccessorElement="setter",e.memberVariableElement="property",e.memberAccessorVariableElement="accessor",e.constructorImplementationElement="constructor",e.callSignatureElement="call",e.indexSignatureElement="index",e.constructSignatureElement="construct",e.parameterElement="parameter",e.typeParameterElement="type parameter",e.primitiveType="primitive type",e.label="label",e.alias="alias",e.constElement="const",e.letElement="let",e.directory="directory",e.externalModuleName="external module name",e.jsxAttribute="JSX attribute",e.string="string",e.link="link",e.linkName="link name",e.linkText="link text",e}(RR||{}),BR=function(e){return e.none="",e.publicMemberModifier="public",e.privateMemberModifier="private",e.protectedMemberModifier="protected",e.exportedModifier="export",e.ambientModifier="declare",e.staticModifier="static",e.abstractModifier="abstract",e.optionalModifier="optional",e.deprecatedModifier="deprecated",e.dtsModifier=".d.ts",e.tsModifier=".ts",e.tsxModifier=".tsx",e.jsModifier=".js",e.jsxModifier=".jsx",e.jsonModifier=".json",e.dmtsModifier=".d.mts",e.mtsModifier=".mts",e.mjsModifier=".mjs",e.dctsModifier=".d.cts",e.ctsModifier=".cts",e.cjsModifier=".cjs",e}(BR||{}),JR=function(e){return e.comment="comment",e.identifier="identifier",e.keyword="keyword",e.numericLiteral="number",e.bigintLiteral="bigint",e.operator="operator",e.stringLiteral="string",e.whiteSpace="whitespace",e.text="text",e.punctuation="punctuation",e.className="class name",e.enumName="enum name",e.interfaceName="interface name",e.moduleName="module name",e.typeParameterName="type parameter name",e.typeAliasName="type alias name",e.parameterName="parameter name",e.docCommentTagName="doc comment tag name",e.jsxOpenTagName="jsx open tag name",e.jsxCloseTagName="jsx close tag name",e.jsxSelfClosingTagName="jsx self closing tag name",e.jsxAttribute="jsx attribute",e.jsxText="jsx text",e.jsxAttributeStringLiteralValue="jsx attribute string literal value",e}(JR||{}),zR=function(e){return e[e.comment=1]="comment",e[e.identifier=2]="identifier",e[e.keyword=3]="keyword",e[e.numericLiteral=4]="numericLiteral",e[e.operator=5]="operator",e[e.stringLiteral=6]="stringLiteral",e[e.regularExpressionLiteral=7]="regularExpressionLiteral",e[e.whiteSpace=8]="whiteSpace",e[e.text=9]="text",e[e.punctuation=10]="punctuation",e[e.className=11]="className",e[e.enumName=12]="enumName",e[e.interfaceName=13]="interfaceName",e[e.moduleName=14]="moduleName",e[e.typeParameterName=15]="typeParameterName",e[e.typeAliasName=16]="typeAliasName",e[e.parameterName=17]="parameterName",e[e.docCommentTagName=18]="docCommentTagName",e[e.jsxOpenTagName=19]="jsxOpenTagName",e[e.jsxCloseTagName=20]="jsxCloseTagName",e[e.jsxSelfClosingTagName=21]="jsxSelfClosingTagName",e[e.jsxAttribute=22]="jsxAttribute",e[e.jsxText=23]="jsxText",e[e.jsxAttributeStringLiteralValue=24]="jsxAttributeStringLiteralValue",e[e.bigintLiteral=25]="bigintLiteral",e}(zR||{})}});function rB(e){switch(e.kind){case 260:return nT(e)&&nC(e)?7:1;case 169:case 208:case 172:case 171:case 303:case 304:case 174:case 173:case 176:case 177:case 178:case 262:case 218:case 219:case 299:case 291:return 1;case 168:case 264:case 265:case 187:return 2;case 353:return void 0===e.name?3:2;case 306:case 263:return 3;case 267:return Ww(e)||1===eA(e)?5:4;case 266:case 275:case 276:case 271:case 272:case 277:case 278:return 7;case 312:return 5}return 7}function iB(e){var t,n=(e=iJ(e)).parent;return 312===e.kind?1:HP(n)||XP(n)||QP(n)||WP(n)||UP(n)||zP(n)&&e===n.name?7:aB(e)?(t=166===(t=e).kind?t:ND(t.parent)&&t.parent.right===t?t.parent:void 0)&&271===t.parent.kind?7:4:g5(e)?rB(n):FC(e)&&Y3(e,d4(fE,hw,pE))?7:function(e){BN(e)&&(e=e.parent);switch(e.kind){case 110:return!o7(e);case 197:return 1}switch(e.parent.kind){case 183:return 1;case 205:return!e.parent.isTypeOf;case 233:return T8(e.parent)}return}(e)?2:function(e){var t=e,n=!0;if(166===t.parent.kind){for(;t.parent&&166===t.parent.kind;)t=t.parent;n=t.right===e}return 183===t.parent.kind&&!n}(t=e)||function(e){var t=e,n=!0;if(211===t.parent.kind){for(;t.parent&&211===t.parent.kind;)t=t.parent;n=t.name===e}return!n&&233===t.parent.kind&&298===t.parent.parent.kind&&(263===(e=t.parent.parent.parent).kind&&119===t.parent.parent.token||264===e.kind&&96===t.parent.parent.token)}(t)?4:DD(n)?(G3.assert(PE(n.parent)),2):tP(n)?3:1}function aB(e){for(;166===e.parent.kind;)e=e.parent;return f7(e.parent)&&e.parent.moduleReference===e}function oB(e,t,n){return mB(e,uP,dB,t=void 0===t?!1:t,n=void 0===n?!1:n)}function sB(e,t,n){return mB(e,lP,dB,t=void 0===t?!1:t,n=void 0===n?!1:n)}function cB(e,t,n){return mB(e,KC,dB,t=void 0===t?!1:t,n=void 0===n?!1:n)}function uB(e,t,n){return mB(e,_P,fB,t=void 0===t?!1:t,n=void 0===n?!1:n)}function lB(e,t,n){return mB(e,ED,dB,t=void 0===t?!1:t,n=void 0===n?!1:n)}function _B(e,t,n){return mB(e,sw,pB,t=void 0===t?!1:t,n=void 0===n?!1:n)}function dB(e){return e.expression}function fB(e){return e.tag}function pB(e){return e.tagName}function mB(e,t,n,r,i){r=(r?hB:gB)(e);return!!(r=i?BE(r):r)&&!!r.parent&&t(r.parent)&&n(r.parent)===r}function gB(e){return CB(e)?e.parent:e}function hB(e){return CB(e)||wB(e)?e.parent:e}function yB(e,t){for(;e;){if(256===e.kind&&e.label.escapedText===t)return e.label;e=e.parent}}function vB(e,t){return!!uT(e.expression)&&e.expression.name.text===t}function xB(e){var t;return cT(e)&&(null==(t=e4(e.parent,vs))?void 0:t.label)===e}function bB(e){var t;return cT(e)&&(null==(t=e4(e.parent,Xy))?void 0:t.label)===e}function SB(e){return bB(e)||xB(e)}function kB(e){var t;return(null==(t=e4(e.parent,Ec))?void 0:t.tagName)===e}function TB(e){var t;return(null==(t=e4(e.parent,ND))?void 0:t.right)===e}function CB(e){var t;return(null==(t=e4(e.parent,uT))?void 0:t.name)===e}function wB(e){var t;return(null==(t=e4(e.parent,cP))?void 0:t.argumentExpression)===e}function NB(e){var t;return(null==(t=e4(e.parent,RP))?void 0:t.name)===e}function FB(e){var t;return cT(e)&&(null==(t=e4(e.parent,PC))?void 0:t.name)===e}function DB(e){switch(e.parent.kind){case 172:case 171:case 303:case 306:case 174:case 173:case 177:case 178:case 267:return X4(e.parent)===e;case 212:return e.parent.argumentExpression===e;case 167:return!0;case 201:return 199===e.parent.parent.kind;default:return!1}}function PB(e){return l7(e.parent.parent)&&_7(e.parent.parent)===e}function EB(e){for(G7(e)&&(e=e.parent.parent);;){if(!(e=e.parent))return;switch(e.kind){case 312:case 174:case 173:case 262:case 218:case 177:case 178:case 263:case 264:case 266:case 267:return e}}}function AB(e){switch(e.kind){case 312:return QE(e)?"module":"script";case 267:return"module";case 263:case 231:return"class";case 264:return"interface";case 265:case 345:case 353:return"type";case 266:return"enum";case 260:return i(e);case 208:return i(q5(e));case 219:case 262:case 218:return"function";case 177:return"getter";case 178:return"setter";case 174:case 173:return"method";case 303:return PC(e.initializer)?"method":"property";case 172:case 171:case 304:case 305:return"property";case 181:return"index";case 180:return"construct";case 179:return"call";case 176:case 175:return"constructor";case 168:return"type parameter";case 306:return"enum member";case 169:return rT(e,31)?"property":"parameter";case 271:case 276:case 281:case 274:case 280:return"alias";case 226:var t=I7(e),n=e.right;switch(t){case 7:case 8:case 9:case 0:return"";case 1:case 2:var r=AB(n);return""===r?"const":r;case 3:return fP(n)?"method":"property";case 4:return"property";case 5:return fP(n)?"method":"property";case 6:return"local class";default:return""}case 80:return UP(e.parent)?"alias":"";case 277:t=AB(e.expression);return""===t?"const":t;default:return""}function i(e){return Ol(e)?"const":Ll(e)?"let":"var"}}function IB(e){switch(e.kind){case 110:return!0;case 80:return Rd(e)&&169===e.parent.kind;default:return!1}}function OB(e,t){return Aa(t)[t.getLineAndCharacterOfPosition(e).line]}function LB(e,t){return BB(e.pos,e.end,t)}function jB(e,t){return RB(e,t.pos)&&RB(e,t.end)}function MB(e,t){return e.pos<=t&&t<=e.end}function RB(e,t){return e.pos=n.end}function JB(e,t,n){return e.pos<=t&&e.end>=n}function zB(e,t,n){return UB(e.pos,e.end,t,n)}function qB(e,t,n,r){return UB(e.getStart(t),e.end,n,r)}function UB(e,t,n,r){return Math.max(e,n)n.getStart(e)&&tr.end||e.pos===r.end;return t&&PJ(e,i)?n(e):void 0})}(e)}function fJ(o,s,c,u){var e=function e(t){if(pJ(t)&&1!==t.kind)return t;var n=t.getChildren(s);var r=J(n,o,function(e,t){return t},function(e,t){return o=n[e-1].end?0:1:-1});if(0<=r&&n[r]){var i,a=n[r];if(on.getStart(e)}function bJ(e,t){e=cJ(e,t);return!!Uh(e)||!(19!==e.kind||!fv(e.parent)||!YP(e.parent.parent))||!(30!==e.kind||!sw(e.parent)||!YP(e.parent.parent))}function SJ(e,t){for(var n=cJ(e,t);n;){if(!(285<=n.kind&&n.kind<=294||12===n.kind||30===n.kind||32===n.kind||80===n.kind||20===n.kind||19===n.kind||44===n.kind)){if(284!==n.kind)return!1;if(t>n.getStart(e))return!0}n=n.parent}return!1}function kJ(e,t,n){var r=F4(e.kind),i=F4(t),a=e.getFullStart(),i=n.text.lastIndexOf(i,a);if(-1!==i){if(n.text.lastIndexOf(r,a-1)=t})}function NJ(e,t){if(-1!==t.text.lastIndexOf("<",e?e.pos:t.text.length))for(var n=e,r=0,i=0;n;){switch(n.kind){case 30:if(!(n=(n=fJ(n.getFullStart(),t))&&29===n.kind?fJ(n.getFullStart(),t):n)||!cT(n))return;if(!r)return g5(n)?void 0:{called:n,nTypeArguments:i};r--;break;case 50:r=3;break;case 49:r=2;break;case 32:r++;break;case 20:if(n=kJ(n,19,t))break;return;case 22:if(n=kJ(n,21,t))break;return;case 24:if(n=kJ(n,23,t))break;return;case 28:i++;break;case 39:case 80:case 11:case 9:case 10:case 112:case 97:case 114:case 96:case 143:case 25:case 52:case 58:case 59:break;default:if(zC(n))break;return}n=fJ(n.getFullStart(),t)}}function FJ(e,t,n){return gpe.getRangeOfEnclosingComment(e,t,void 0,n)}function DJ(e,t){return!!Y3(cJ(e,t),kv)}function PJ(e,t){return 1===e.kind?!!e.jsDoc:0!==e.getWidth(t)}function EJ(e,t){void 0===t&&(t=0);var n=[],t=iw(e)?Oo(e)&~t:0;return 2&t&&n.push("private"),4&t&&n.push("protected"),1&t&&n.push("public"),(256&t||jD(e))&&n.push("static"),64&t&&n.push("abstract"),32&t&&n.push("export"),65536&t&&n.push("deprecated"),33554432&e.flags&&n.push("declare"),277===e.kind&&n.push("export"),0"===e[r]&&n--,r++,!n)return r;return 0}(e.text),r=zw(e.name)+e.text.slice(0,n),i=function(e){var t=0;if(124!==e.charCodeAt(t++))return e;for(;ta)break;go(e,o)&&i.push(o),r++}return i}function aU(e){var t=e.startPosition,e=e.endPosition;return Co(t,void 0===e?t:e)}function oU(t,n){return Y3(cJ(t,n.start),function(e){return e.getStart(t)O4(n)?"quit":Z3(e)&&Fz(n,WJ(e,t))})}function sU(e,t,n){return void 0===n&&(n=Cn),e?$T(e)?n(V3(e,t)):t(e,0):void 0}function cU(e){return $T(e)?BT(e):e}function uU(e,t){var n;return _U(e)?dU(e)||((n=Koe.moduleSymbolToValidIdentifier(fU(e),t,!1))===(t=Koe.moduleSymbolToValidIdentifier(fU(e),t,!0))?n:[n,t]):e.name}function lU(e,t,n){return _U(e)?dU(e)||Koe.moduleSymbolToValidIdentifier(fU(e),t,!!n):e.name}function _U(e){return!(33554432&e.flags||"export="!==e.escapedName&&"default"!==e.escapedName)}function dU(e){return mT(e.declarations,function(e){var t;return HP(e)?null==(t=e4(BE(e.expression),cT))?void 0:t.text:XP(e)&&2097152===e.symbol.flags?null==(t=e4(e.propertyName,cT))?void 0:t.text:null==(t=e4(X4(e),cT))?void 0:t.text})}function fU(e){return G3.checkDefined(e.parent,"Symbol parent was undefined. Flags: ".concat(G3.formatSymbolFlags(e.flags),". Declarations: ").concat(null==(e=e.declarations)?void 0:e.map(function(e){var t=G3.formatSyntaxKind(e.kind),n=nT(e),e=e.expression;return(n?"[JS]":"")+t+(e?" (expression: ".concat(G3.formatSyntaxKind(e.kind),")"):"")}).join(", "),"."))}function pU(e,t,n){var r=t.length;if(r+n>e.length)return!1;for(var i=0;i=e.length&&void 0!==(g=function(e,t,n){switch(t){case 11:if(!e.isUnterminated())return;for(var r=e.getTokenText(),i=r.length-1,a=0;92===r.charCodeAt(i-a);)a++;return 0==(1&a)?void 0:34===r.charCodeAt(0)?3:2;case 3:return e.isUnterminated()?1:void 0;default:if(Ds(t)){if(!e.isUnterminated())return;switch(t){case 18:return 5;case 15:return 4;default:return G3.fail("Only 'NoSubstitutionTemplateLiteral's and 'TemplateTail's can be unterminated; got SyntaxKind #"+t)}}return 16===n?6:void 0}}(y,c,zT(l)))&&(f=g)}while(1!==c);return{endOfLineState:f,spans:p}}return{getClassificationsForLine:function(e,t,n){for(var t=_(e,t,n),n=e,r=[],i=t.spans,a=0,o=0;o])*)(\/>)?)?/im.exec(r);if(!r)return;if(!(r[3]&&r[3]in xr))return;var i=e,a=(x(i,r[1].length),v(i+=r[1].length,r[2].length,10),v(i+=r[2].length,r[3].length,21),i+=r[3].length,r[4]),o=i;for(;;){var s=n.exec(a);if(!s)break;var c=i+s.index+s[1].length;oo&&x(o,i-o);r[5]&&(v(i,r[5].length,10),i+=r[5].length);r=e+t;i=a.end;c--)if(!Ma(t.text.charCodeAt(c))){s=!1;break}if(s){r.push({fileName:t.fileName,textSpan:Co(a.getStart(),o.end),kind:"reference"}),i++;continue}}r.push(u(n[i],t))}return r}(e.parent,r):void 0;case 107:return i(e.parent,Hy,p);case 111:return i(e.parent,Qy,f);case 113:case 85:case 98:return i((85===e.kind?e.parent:e).parent,Yy,d);case 109:return i(e.parent,Gy,_);case 84:case 90:return mv(e.parent)||pv(e.parent)?i(e.parent.parent.parent,Gy,_):void 0;case 83:case 88:return i(e.parent,vs,c);case 99:case 117:case 92:return i(e.parent,function(e){return QC(e,!0)},s);case 137:return t(MD,[137]);case 139:case 153:return t(MC,[139,153]);case 135:return i(e.parent,gP,m);case 134:return a(m(e));case 127:return a(function(e){var t,e=B8(e);if(e)return t=[],KE(e,function(e){g(e,function(e){Iy(e)&&l(t,e.getFirstToken(),127)})}),t}(e));case 103:return;default:return Rs(e.kind)&&(iw(e.parent)||CP(e.parent))?a(function(t,e){return NT(function(e,t){var n=e.parent;switch(n.kind){case 268:case 312:case 241:case 296:case 297:return 64&t&&OP(e)?__spreadArray(__spreadArray([],__read(e.members),!1),[e],!1):n.statements;case 176:case 174:case 262:return __spreadArray(__spreadArray([],__read(n.parameters),!1),__read(jC(n.parent)?n.parent.members:[]),!1);case 263:case 231:case 264:case 187:var r=n.members;if(15&t){var i=q3(n.members,MD);if(i)return __spreadArray(__spreadArray([],__read(r),!1),__read(i.parameters),!1)}else if(64&t)return __spreadArray(__spreadArray([],__read(r),!1),[n],!1);return r;case 210:return;default:G3.assertNever(n,"Invalid container kind.")}}(e,wN(t)),function(e){return Cz(e,t)})}(e.kind,e.parent)):void 0}function t(t,n){return i(e.parent,t,function(e){return NT(null==(e=e4(e,nw))?void 0:e.symbol.declarations,function(e){return t(e)?q3(e.getChildren(r),function(e){return xT(n,e.kind)}):void 0})})}function i(e,t,n){return t(e)?a(n(e,r)):void 0}function a(e){return e&&e.map(function(e){return u(e,r)})}}(e,t);return e&&[{fileName:t.fileName,highlightSpans:e}]}(o,n)}}});function YU(e){return!!e.sourceFile}function $U(e,t,n){return ZU(e,t,n)}function ZU(e,o,y,v){void 0===o&&(o="");var x=new Map,s=s4(!!e);function b(e){return"function"==typeof e.getCompilationSettings?e.getCompilationSettings():e}function c(e,t,n,r,i,a,o,s){return l(e,t,n,r,i,a,!0,o,s)}function u(e,t,n,r,i,a,o,s){return l(e,t,b(n),r,i,a,!1,o,s)}function S(e,t){e=YU(e)?e:e.get(G3.checkDefined(t,"If there are more than one scriptKind's for same document the scriptKind should be provided"));return G3.assert(void 0===t||!e||e.sourceFile.scriptKind===t,"Script kind should match provided ScriptKind:".concat(t," and sourceFile.scriptKind: ").concat(null==e?void 0:e.sourceFile.scriptKind,", !entry: ").concat(!e)),e}function l(e,n,t,r,i,a,o,s,c){s=rm(e,s);var u,l=b(t),t=t===l?void 0:t,_=6===s?100:cF(l),c="object"==typeof c?c:{languageVersion:_,impliedNodeFormat:t&&pO(n,null==(d=null==(d=null==(c=null==(c=t.getCompilerHost)?void 0:c.call(t))?void 0:c.getModuleResolutionCache)?void 0:d.call(c))?void 0:d.getPackageJsonInfoCache(),t,l),setExternalModuleIndicator:Np(l),jsDocParsingMode:y},d=(c.languageVersion=_,G3.assertEqual(y,c.jsDocParsingMode),x.size),f=tV(r,c.impliedNodeFormat),p=FT(x,f,function(){return new Map}),m=(X3&&(x.size>d&&X3.instant(X3.Phase.Session,"createdDocumentRegistryBucket",{configFilePath:l.configFilePath,key:f}),t=!YE(n)&&Pw(x,function(e,t){return t!==f&&e.has(n)&&t}))&&X3.instant(X3.Phase.Session,"documentRegistryBucketOverlap",{path:n,key1:t,key2:f}),p.get(n)),g=m&&S(m,s);return!g&&v&&(u=v.getDocument(f,n))&&(G3.assert(o),g={sourceFile:u,languageServiceRefCount:0},h()),g?(g.sourceFile.version!==a&&(g.sourceFile=jQ(g.sourceFile,i,a,i.getChangeRange(g.sourceFile.scriptSnapshot)),v)&&v.setDocument(f,n,g.sourceFile),o&&g.languageServiceRefCount++):(u=LQ(e,i,c,a,!1,s),v&&v.setDocument(f,n,u),g={sourceFile:u,languageServiceRefCount:1},h()),G3.assert(0!==g.languageServiceRefCount),g.sourceFile;function h(){var e;m?YU(m)?((e=new Map).set(m.sourceFile.scriptKind,m),e.set(s,g),p.set(n,e)):m.set(s,g):p.set(n,g)}}function i(e,t,n,r){var t=G3.checkDefined(x.get(tV(t,r))),r=t.get(e),i=S(r,n);i.languageServiceRefCount--,G3.assert(0<=i.languageServiceRefCount),0===i.languageServiceRefCount&&(YU(r)?t.delete(e):(r.delete(n),1===r.size&&t.set(e,bn(r.values(),Cn))))}return{acquireDocument:function(e,t,n,r,i,a){return c(e,Bi(e,o,s),t,eV(b(t)),n,r,i,a)},acquireDocumentWithKey:c,updateDocument:function(e,t,n,r,i,a){return u(e,Bi(e,o,s),t,eV(b(t)),n,r,i,a)},updateDocumentWithKey:u,releaseDocument:function(e,t,n,r){return i(Bi(e,o,s),eV(t),n,r)},releaseDocumentWithKey:i,getKeyForCompilationSettings:eV,getDocumentRegistryBucketKeyWithMode:tV,reportStats:function(){var e=KT(x.keys()).filter(function(e){return e&&"_"===e.charAt(0)}).map(function(e){var t=x.get(e),r=[];return t.forEach(function(e,n){YU(e)?r.push({name:n,scriptKind:e.sourceFile.scriptKind,refCount:e.languageServiceRefCount}):e.forEach(function(e,t){return r.push({name:n,scriptKind:t,refCount:e.languageServiceRefCount})})}),r.sort(function(e,t){return t.refCount-e.refCount}),{bucket:e,sourceFiles:r}});return JSON.stringify(e,void 0,2)},getBuckets:function(){return x}}}function eV(e){return Fb(e,a2)}function tV(e,t){return t?"".concat(e,"|").concat(t):e}var nV=e({"src/services/documentRegistry.ts":function(){ype()}});function rV(v,x,b,S,e,t,n){var P=yd(S),E=s4(P),A=iV(x,b,E,n),I=iV(b,x,E,n);return G.ChangeTracker.with({host:S,formatContext:e,preferences:t},function(e){function r(e){var t,n,e=oP(e.initializer)?e.initializer.elements:[e.initializer],r=!1;try{for(var i=__values(e),a=i.next();!a.done;a=i.next())r=o(a.value)||r}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function o(e){var t;return!!TD(e)&&(t=aV(_,e.text),void 0!==(t=n(t)))&&(a.replaceRangeWithText(d,sV(e,d),i(t)),!0)}function i(e){return Qi(_,e,!l)}t=v,a=e,n=A,s=x,c=b,u=S.getCurrentDirectory(),l=P,(d=t.getCompilerOptions().configFile)&&(_=k4(d.fileName),t=Ql(d))&&cV(t,function(e,t){switch(t){case"files":case"include":case"exclude":var n;return r(e)||"include"!==t||!oP(e.initializer)?void 0:0===(n=NT(e.initializer.elements,function(e){return TD(e)?e.text:void 0})).length?void 0:(n=em(_,[],n,l,u),void(tm(G3.checkDefined(n.includeFilePattern),l).test(s)&&!tm(G3.checkDefined(n.includeFilePattern),l).test(c)&&a.insertNodeAfter(d,qT(e.initializer.elements),aT.createStringLiteral(i(c)))));case"compilerOptions":cV(e.initializer,function(e,t){var n=V2(t);G3.assert("listOrElement"!==(null==n?void 0:n.type)),n&&(n.isFilePath||"list"===n.type&&n.element.isFilePath)?r(e):"paths"===t&&cV(e.initializer,function(e){var t,n;if(oP(e.initializer))try{for(var r=__values(e.initializer.elements),i=r.next();!i.done;i=r.next())o(i.value)}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}})})}});var t,a,n,s,c,u,l,_,d,k=v,T=e,C=A,w=I,N=S,F=E;function f(n){var t,e,r,i,a=C(n.fileName),o=null!=a?a:n.fileName,s=k4(o),c=w(n.fileName),u=c||n.fileName,l=k4(u),_=void 0!==a||void 0!==c,d=n,f=T,p=function(e){if(v4(e))return e=aV(l,e),void 0===(e=C(e))?void 0:qi(Qi(s,e,F))},m=function(e){var t=k.getTypeChecker().getSymbolAtLocation(e);return(null==t||!t.declarations||!t.declarations.some(Ww))&&void 0!==(t=void 0!==c?oV(e,Ub(e.text,u,k.getCompilerOptions(),N),C,D):function(e,t,n,r,i,a){{var o;return e?(e=q3(e.declarations,_E).fileName,void 0===(o=a(e))?{newFileName:e,updated:!1}:{newFileName:o,updated:!0}):(e=YI(n,t),o=i.resolveModuleNameLiterals||!i.resolveModuleNames?r.getResolvedModule(n,t.text,e):i.getResolvedModuleWithFailedLookupLocationsFromCache&&i.getResolvedModuleWithFailedLookupLocationsFromCache(t.text,n.fileName,e),oV(t,o,a,r.getSourceFiles()))}}(t,e,n,k,N,C))&&(t.updated||_&&v4(e.text))?Pk.updateModuleSpecifier(k.getCompilerOptions(),n,F(o),t.newFileName,lz(k,N),e.text):void 0};try{for(var g=__values(d.referencedFiles||B3),h=g.next();!h.done;h=g.next()){var y=h.value;void 0!==(b=p(y.fileName))&&b!==d.text.slice(y.pos,y.end)&&f.replaceRangeWithText(d,y,b)}}catch(e){t={error:e}}finally{try{h&&!h.done&&(e=g.return)&&e.call(g)}finally{if(t)throw t.error}}try{for(var v=__values(d.imports),x=v.next();!x.done;x=v.next()){var b,S=x.value;void 0!==(b=m(S))&&b!==S.text&&f.replaceRangeWithText(d,sV(S,d),b)}}catch(e){r={error:e}}finally{try{x&&!x.done&&(i=v.return)&&i.call(v)}finally{if(r)throw r.error}}}var p,m,D=k.getSourceFiles();try{for(var g=__values(D),h=g.next();!h.done;h=g.next()){var y=h.value;f(y)}}catch(e){p={error:e}}finally{try{h&&!h.done&&(m=g.return)&&m.call(g)}finally{if(p)throw p.error}}})}function iV(e,a,o,s){var c=o(e);return function(e){var t=s&&s.tryGetSourcePosition({fileName:e,pos:0}),n=(n=t?t.fileName:e,o(n)===c?a:void 0===(n=Wp(n,c,o))?void 0:a+"/"+n);{var r,i;return t?void 0===n?void 0:(t=$i(t=t.fileName,n,o),aV(k4(e),t)):n}}}function aV(e,t){return qi(xa(T4(e,t)))}function oV(e,t,n,r){if(t){if(t.resolvedModule){var i=o(t.resolvedModule.resolvedFileName);if(i)return i}i=z3(t.failedLookupLocations,function(e){var t=n(e);return t&&q3(r,function(e){return e.fileName===t})?a(e):void 0})||v4(e.text)&&z3(t.failedLookupLocations,a);return i||t.resolvedModule&&{newFileName:t.resolvedModule.resolvedFileName,updated:!1}}function a(e){return a4(e,"/package.json")?void 0:o(e)}function o(e){e=n(e);return e&&{newFileName:e,updated:!0}}}function sV(e,t){return yf(e.getStart(t)+1,e.end-1)}function cV(e,t){var n,r;if(sP(e))try{for(var i=__values(e.properties),a=i.next();!a.done;a=i.next()){var o=a.value;sE(o)&&TD(o.name)&&t(o,o.name.text)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}var uV,lV=e({"src/services/getEditsForFileRename.ts":function(){ype()}});function _V(e,t){return{kind:e,isCaseSensitive:t}}function dV(e){var c=new Map,u=e.trim().split(".").map(function(e){return{totalTextChunk:TV(e=e.trim()),subWordTextChunks:function(e){for(var t=[],n=0,r=0,i=0;in.length)){for(var a,o=r.length-2,s=n.length-1;0<=o;--o,--s)a=gV(a,mV(n[s],r[o],i));return a}},getMatchForLastSegmentOfPattern:function(e){return mV(e,qT(u),c)},patternContainsDots:1t)&&(e.arguments.length";case 277:return HP(e)&&e.isExportEquals?"export=":"default";case 219:case 262:case 218:case 263:case 231:return 2048&Qd(e)?"default":rH(e);case 176:return"constructor";case 180:return"new()";case 179:return"()";case 181:return"[]";default:return""}}function QW(e){return{text:XW(e.node,e.name),kind:AB(e.node),kindModifiers:nH(e.node),spans:$W(e),nameSpan:e.name&&tH(e.name),childItems:V3(e.children,QW)}}function YW(e){return{text:XW(e.node,e.name),kind:AB(e.node),kindModifiers:nH(e.node),spans:$W(e),childItems:V3(e.children,function(e){return{text:XW(e.node,e.name),kind:AB(e.node),kindModifiers:EJ(e.node),spans:$W(e),childItems:vW,indent:0,bolded:!1,grayed:!1}})||vW,indent:e.indent,bolded:!1,grayed:!1}}function $W(e){var t,n,r=[tH(e.node)];if(e.additionalNodes)try{for(var i=__values(e.additionalNodes),a=i.next();!a.done;a=i.next()){var o=a.value;r.push(tH(o))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function ZW(e){return Ww(e)?zw(e.name):eH(e)}function eH(e){for(var t=[L5(e.name)];e.body&&267===e.body.kind;)e=e.body,t.push(L5(e.name));return t.join(".")}function tH(e){return 312===e.kind?GJ(e):WJ(e,pW)}function nH(e){return EJ(e=e.parent&&260===e.parent.kind?e.parent:e)}function rH(e){var t=e.parent;if(e.name&&0";if(uP(t)){e=function e(t){{var n;return cT(t)?t.text:uT(t)?(n=e(t.expression),t=t.name.text,void 0===n?t:"".concat(n,".").concat(t)):void 0}}(t.expression);if(void 0!==e)return(e=iH(e)).length>dW?"".concat(e," callback"):(t=iH(NT(t.arguments,function(e){return gw(e)?e.getText(pW):void 0}).join(", ")),"".concat(e,"(").concat(t,") callback"))}return""}function iH(e){return(e=e.length>dW?e.substring(0,dW)+"...":e).replace(/\\?(\r?\n|\r|\u2028|\u2029)/g,"")}var aH,oH=e({"src/services/navigationBar.ts":function(){ype(),xW={5:!0,3:!0,7:!0,9:!0,0:!(vW=[]),1:!(hW=[]),2:!(mW=[]),8:!(dW=150),6:!0,4:!(_W=/\s+/g)}}}),sH={},cH=(n(sH,{getNavigationBarItems:function(){return TW},getNavigationTree:function(){return CW}}),e({"src/services/_namespaces/ts.NavigationBar.ts":function(){oH()}}));function uH(e,t){aH.set(e,t)}function lH(n,r){return KT(C(aH.values(),function(e){var t;return n.cancellationToken&&n.cancellationToken.isCancellationRequested()||null==(t=e.kinds)||!t.some(function(e){return BH(e,n.kind)})?void 0:e.getAvailableActions(n,r)}))}function _H(e,t,n,r){t=aH.get(t);return t&&t.getEditsForAction(e,n,r)}var dH,fH,pH,mH=e({"src/services/refactorProvider.ts":function(){ype(),ZX(),aH=new Map}});function gH(e,t){void 0===t&&(t=!0);var n=e.file,r=e.program,e=aU(e),i=cJ(n,e.start),a=i.parent&&32&Qd(i.parent)&&t?i.parent:Tz(i,n,e);if(!(a&&(_E(a.parent)||BP(a.parent)&&Ww(a.parent.parent))))return{error:hp(Q3.Could_not_find_export_statement)};var o=r.getTypeChecker(),s=function(e,t){if(_E(e))return e.symbol;e=e.parent.symbol;if(e.valueDeclaration&&Qw(e.valueDeclaration))return t.getMergedSymbol(e);return e}(a.parent,o),t=Qd(a)||(HP(a)&&!a.isExportEquals?2080:0),c=!!(2048&t);if(!(32&t)||!c&&s.exports.has("default"))return{error:hp(Q3.This_file_already_has_a_default_export)};function u(e){return cT(e)&&o.getSymbolAtLocation(e)?void 0:{error:hp(Q3.Can_only_convert_named_export)}}var l;switch(a.kind){case 262:case 263:case 264:case 266:case 265:case 267:return(l=a).name?u(l.name)||{exportNode:l,exportName:l.name,wasDefault:c,exportingModuleSymbol:s}:void 0;case 243:var _,d=a;return 2&d.declarationList.flags&&1===d.declarationList.declarations.length?(_=BT(d.declarationList.declarations)).initializer?(G3.assert(!c,"Can't have a default flag here"),u(_.name)||{exportNode:d,exportName:_.name,wasDefault:c,exportingModuleSymbol:s}):void 0:void 0;case 277:return(l=a).isExportEquals?void 0:u(l.expression)||{exportNode:l,exportName:l.expression,wasDefault:c,exportingModuleSymbol:s};default:return}}function hH(e,t,n,r,i){var g,h,y,a=e,e=n,o=r,s=t.getTypeChecker(),c=e.wasDefault,u=e.exportNode,l=e.exportName;if(c)HP(u)&&!u.isExportEquals?(e=u.expression,c=vH(e.text,e.text),o.replaceNode(a,u,aT.createExportDeclaration(void 0,!1,aT.createNamedExports([c])))):o.delete(a,G3.checkDefined(Cz(u,90),"Should find a default keyword in modifier list"));else{var _=G3.checkDefined(Cz(u,95),"Should find an export keyword in modifier list");switch(u.kind){case 262:case 263:case 264:o.insertNodeAfter(a,_,aT.createToken(90));break;case 243:var d=BT(u.declarationList.declarations);if(!gue.Core.isSymbolReferencedInFile(l,s,a)&&!d.type){o.replaceNode(a,u,aT.createExportDefault(G3.checkDefined(d.initializer,"Initializer was previously known to be present")));break}case 266:case 265:case 267:o.deleteModifier(a,_),o.insertNodeAfter(a,u,aT.createExportDefault(aT.createIdentifier(l.text)));break;default:G3.fail("Unexpected exportNode kind ".concat(u.kind))}}e=t,g=r,c=i,h=(t=n).wasDefault,y=n.exportName,t=n.exportingModuleSymbol,r=e.getTypeChecker(),i=G3.checkDefined(r.getSymbolAtLocation(y),"Export name should resolve to a symbol"),gue.Core.eachExportReference(e.getSourceFiles(),r,c,i,t,y.text,h,function(e){if(y!==e){var t=e.getSourceFile();if(h){var n=t,r=e,i=g,a=y.text,o=r.parent;switch(o.kind){case 211:i.replaceNode(n,r,aT.createIdentifier(a));break;case 276:case 281:var s=o;i.replaceNode(n,s,yH(a,s.name.text));break;case 273:var c,u=o,s=(G3.assert(u.name===r,"Import clause name should match provided ref"),yH(a,r.text)),l=u.namedBindings;l?274===l.kind?(i.deleteRange(n,{pos:r.getStart(n),end:l.getStart(n)}),c=TD(u.parent.moduleSpecifier)?gz(u.parent.moduleSpecifier,n):1,c=pz(void 0,[yH(a,r.text)],u.parent.moduleSpecifier,c),i.insertNodeAfter(n,u.parent,c)):(i.delete(n,r),i.insertNodeAtEndOfList(n,l.elements,s)):i.replaceNode(n,r,aT.createNamedImports([s]));break;case 205:u=o;i.replaceNode(n,o,aT.createImportTypeNode(u.argument,u.attributes,aT.createIdentifier(a),u.typeArguments,u.isTypeOf));break;default:G3.failBadSyntaxKind(o)}}else{var _=t,d=e,f=g,p=d.parent;switch(p.kind){case 211:f.replaceNode(_,d,aT.createIdentifier("default"));break;case 276:var m=aT.createIdentifier(p.name.text);1===p.parent.elements.length?f.replaceNode(_,p.parent,m):(f.delete(_,p),f.insertNodeBefore(_,p.parent,m));break;case 281:f.replaceNode(_,p,vH("default",p.name.text));break;default:G3.assertNever(p,"Unexpected parent kind ".concat(p.kind))}}}})}function yH(e,t){return aT.createImportSpecifier(!1,e===t?void 0:aT.createIdentifier(e),aT.createIdentifier(t))}function vH(e,t){return aT.createExportSpecifier(!1,e===t?void 0:aT.createIdentifier(e),aT.createIdentifier(t))}var xH,bH,SH=e({"src/services/refactors/convertExport.ts":function(){ype(),ZX(),dH="Convert export",fH={name:"Convert default export to named export",description:hp(Q3.Convert_default_export_to_named_export),kind:"refactor.rewrite.export.named"},pH={name:"Convert named export to default export",description:hp(Q3.Convert_named_export_to_default_export),kind:"refactor.rewrite.export.default"},uH(dH,{kinds:[fH.kind,pH.kind],getAvailableActions:function(e){var t=gH(e,"invoked"===e.triggerReason);return t?RH(t)?e.preferences.provideRefactorNotApplicableReason?[{name:dH,description:hp(Q3.Convert_default_export_to_named_export),actions:[__assign(__assign({},fH),{notApplicableReason:t.error}),__assign(__assign({},pH),{notApplicableReason:t.error})]}]:B3:(e=t.wasDefault?fH:pH,[{name:dH,description:e.description,actions:[e]}]):B3},getEditsForAction:function(t,e){G3.assert(e===fH.name||e===pH.name,"Unexpected action name");var n=gH(t);return G3.assert(n&&!RH(n),"Expected applicable refactor info"),{edits:G.ChangeTracker.with(t,function(e){return hH(t.file,t.program,n,e,t.cancellationToken)}),renameFilename:void 0,renameLocation:void 0}}})}});function kH(e,t){void 0===t&&(t=!0);var n=e.file,r=aU(e),i=cJ(n,r.start),t=t?Y3(i,qP):Tz(i,n,r);return t&&qP(t)?(i=r.start+r.length,(r=dJ(t,t.parent,n))&&i>r.getStart()?void 0:(n=t.importClause)?n.namedBindings?274===n.namedBindings.kind?{convertTo:0,import:n.namedBindings}:TH(e.program,n)?{convertTo:1,import:n.namedBindings}:{convertTo:2,import:n.namedBindings}:{error:hp(Q3.Could_not_find_namespace_import_or_named_imports)}:{error:hp(Q3.Could_not_find_import_clause)}):{error:"Selection is not an import declaration."}}function TH(e,t){return mF(e.getCompilerOptions())&&function(e,t){e=t.resolveExternalModuleName(e);return!!e&&(t=t.resolveExternalModuleSymbol(e),e!==t)}(t.parent.moduleSpecifier,e.getTypeChecker())}function CH(e,t,n,r){var i=t.getTypeChecker();if(0===r.convertTo){var a,o=e,s=i,c=n,i=r.import,u=mF(t.getCompilerOptions()),l=!1,_=[],d=new Map,f=(gue.Core.eachSymbolReferenceInFile(i.name,s,o,function(e){var t;ic(e.parent)?(t=wH(e.parent).text,s.resolveName(t,e,67108863,!0)&&d.set(t,!0),G3.assert((uT(t=e.parent)?t.expression:t.left)===e,"Parent expression should match id"),_.push(e.parent)):l=!0}),new Map);try{for(var p=__values(_),m=p.next();!m.done;m=p.next()){var g=m.value,h=wH(g).text,y=f.get(h);void 0===y&&f.set(h,y=d.has(h)?kq(h,o):h),c.replaceNode(o,g,aT.createIdentifier(y))}}catch(e){a={error:e}}finally{try{m&&!m.done&&(x=p.return)&&x.call(p)}finally{if(a)throw a.error}}var v=[],x=(f.forEach(function(e,t){v.push(aT.createImportSpecifier(!1,e===t?void 0:aT.createIdentifier(t),aT.createIdentifier(e)))}),i.parent.parent);l&&!u?c.insertNodeAfter(o,x,FH(x,void 0,v)):c.replaceNode(o,x,FH(x,l?aT.createIdentifier(i.name.text):void 0,v))}else NH(e,t,n,r.import,1===r.convertTo)}function wH(e){return uT(e)?e.name:e.right}function NH(i,e,a,t,n){void 0===n&&(n=TH(e,t.parent));var r,o,s=e.getTypeChecker(),e=t.parent.parent,c=e.moduleSpecifier,u=new Set,l=(t.elements.forEach(function(e){e=s.getSymbolAtLocation(e.name);e&&u.add(e)}),c&&TD(c)?Koe.moduleSpecifierToValidIdentifier(c.text,99):"module");var _=t.elements.some(function(e){return!!gue.Core.eachSymbolReferenceInFile(e.name,s,i,function(e){var t=s.resolveName(l,e,67108863,!0);return!!t&&(!u.has(t)||XP(e.parent))})})?kq(l,i):l,d=new Set;try{for(var f=__values(t.elements),p=f.next();!p.done;p=f.next())!function(n){var r=(n.propertyName||n.name).text;gue.Core.eachSymbolReferenceInFile(n.name,s,i,function(e){var t=aT.createPropertyAccessExpression(aT.createIdentifier(_),r);cE(e.parent)?a.replaceNode(i,e.parent,aT.createPropertyAssignment(e.text,t)):XP(e.parent)?d.add(n):a.replaceNode(i,e,t)})}(p.value)}catch(e){r={error:e}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(r)throw r.error}}a.replaceNode(i,t,n?aT.createIdentifier(_):aT.createNamespaceImport(aT.createIdentifier(_))),d.size&&(c=KT(d.values(),function(e){return aT.createImportSpecifier(e.isTypeOnly,e.propertyName&&aT.createIdentifier(e.propertyName.text),aT.createIdentifier(e.name.text))}),a.insertNodeAfter(i,t.parent.parent,FH(e,void 0,c)))}function FH(e,t,n){return aT.createImportDeclaration(void 0,aT.createImportClause(!1,t,n&&n.length?aT.createNamedImports(n):void 0),e.moduleSpecifier,void 0)}var DH,PH,EH,AH,IH=e({"src/services/refactors/convertImport.ts":function(){var e;ype(),ZX(),xH="Convert import",(e={})[0]={name:"Convert namespace import to named imports",description:hp(Q3.Convert_namespace_import_to_named_imports),kind:"refactor.rewrite.import.named"},e[2]={name:"Convert named imports to namespace import",description:hp(Q3.Convert_named_imports_to_namespace_import),kind:"refactor.rewrite.import.namespace"},e[1]={name:"Convert named imports to default import",description:hp(Q3.Convert_named_imports_to_default_import),kind:"refactor.rewrite.import.default"},uH(xH,{kinds:V(bH=e).map(function(e){return e.kind}),getAvailableActions:function(e){var t=kH(e,"invoked"===e.triggerReason);return t?RH(t)?e.preferences.provideRefactorNotApplicableReason?V(bH).map(function(e){return{name:xH,description:e.description,actions:[__assign(__assign({},e),{notApplicableReason:t.error})]}}):B3:(e=bH[t.convertTo],[{name:xH,description:e.description,actions:[e]}]):B3},getEditsForAction:function(t,n){G3.assert(W3(V(bH),function(e){return e.name===n}),"Unexpected action name");var r=kH(t);return G3.assert(r&&!RH(r),"Expected applicable refactor info"),{edits:G.ChangeTracker.with(t,function(e){return CH(t.file,t.program,e,r)}),renameFilename:void 0,renameLocation:void 0}}})}});function OH(e,t){void 0===t&&(t=!0);var n,r,i,a=e.file,o=e.startPosition,s=p7(a),o=cJ(a,o),c=XJ(aU(e)),u=c.pos===c.end&&t,l=qB(o,a,c.pos,c.end),t=Y3(o,function(e){return e.parent&&zC(e)&&!LH(c,e.parent,a)&&(u||l)});return t&&zC(t)?(o=e.program.getTypeChecker(),e=s,void 0===(e=Y3(i=t,aw)||(e?Y3(i,kv):void 0))?{error:hp(Q3.No_type_could_be_extracted_from_this_type_node)}:(n=e,zC(r=null!=(r=Y3(i=t,function(e){return e===n?"quit":!(!vy(e.parent)&&!xy(e.parent))}))?r:i)?(i=[],(vy(r.parent)||xy(r.parent))&&c.end>t.end&&K3(i,r.parent.types.filter(function(e){return qB(e,a,c.pos,c.end)})),(i=function(c,e,u,l){var t,n,_=[],e=se(e),d={pos:e[0].pos,end:e[e.length-1].end};try{for(var r=__values(e),i=r.next();!i.done;i=r.next())if(f(i.value))return}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}return _;function f(t){if(UD(t)){if(cT(t.typeName)){var e=t.typeName,n=c.resolveName(e.text,e,262144,!0);try{for(var r=__values((null==n?void 0:n.declarations)||B3),i=r.next();!i.done;i=r.next()){var a=i.value;if(DD(a)&&a.getSourceFile()===l){if(a.name.escapedText===e.escapedText&&LH(a,d,l))return!0;if(LH(u,a,l)&&!LH(d,a,l)){OT(_,a);break}}}}catch(e){s={error:e}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(s)throw s.error}}}}else if(Sy(t)){var o=Y3(t,function(e){return by(e)&&LH(e.extendsType,t,l)});if(!o||!LH(d,o,l))return!0}else if(qD(t)||ky(t)){var s=Y3(t.parent,PC);if(s&&s.type&&LH(s.type,t,l)&&!LH(d,s,l))return!0}else if(HD(t))if(cT(t.exprName)){if(null!=(n=c.resolveName(t.exprName.text,t.exprName,111551,!1))&&n.valueDeclaration&&LH(u,n.valueDeclaration,l)&&!LH(d,n.valueDeclaration,l))return!0}else if(iN(t.exprName.left)&&!LH(d,t.parent,l))return!0;return l&&GD(t)&&D4(l,t.pos).line===D4(l,t.end).line&&sT(t,1),KE(t,f)}}(o,t=1r.pos});if(-1!==i)return-1!==(t=yT(e,function(e){return e.end>=r.end},i=(t=LK(n,e[i]))?t.start:i))&&r.end<=e[t].getStart()&&t--,(n=LK(n,e[t]))&&(t=n.end),{toMove:e.slice(i,-1===t?e.length:t+1),afterLast:-1===t?void 0:e[t+1]}}(e);if(void 0!==e)return r=[],i=[],a=e.toMove,o=e.afterLast,it(a,NK,function(e,t){for(var n=e;n=r.end}),{toMove:e,start:yT(t.statements,function(e){return e.end>=n.end}),end:i})}var jK,MK,RK,BK=e({"src/services/refactors/moveToFile.ts":function(){Dk(),ype(),mH(),$H="Move to file",ZH=hp(Q3.Move_to_file),uH($H,{kinds:[(eK={name:"Move to file",description:ZH,kind:"refactor.move.file"}).kind],getAvailableActions:function(e,t){var n=wK(e);return t?e.preferences.allowTextChangesInNewFiles&&n?[{name:$H,description:ZH,actions:[eK]}]:e.preferences.provideRefactorNotApplicableReason?[{name:$H,description:ZH,actions:[__assign(__assign({},eK),{notApplicableReason:hp(Q3.Selection_is_not_a_valid_statement_or_statements)})]}]:B3:B3},getEditsForAction:function(t,e,n){G3.assert(e===$H,"Wrong refactor invoked");var r=G3.checkDefined(wK(t)),e=t.host,i=t.program,a=(G3.assert(n,"No interactive refactor arguments available"),n.targetFile);return sm(a)||cm(a)?e.fileExists(a)&&void 0===i.getSourceFile(a)?nK(hp(Q3.Cannot_move_statements_to_the_selected_file)):{edits:G.ChangeTracker.with(t,function(e){return rK(t,t.file,n.targetFile,t.program,r,e,t.host,t.preferences)}),renameFilename:void 0,renameLocation:void 0}:nK(hp(Q3.Cannot_move_to_file_selected_file_is_invalid))}})}});function JK(e){return UK(e.file,e.startPosition,e.program)?[{name:jK,description:MK,actions:[RK]}]:B3}function zK(e){var t=e.file,n=e.startPosition,r=e.program,i=UK(t,n,r);if(i){var a=r.getTypeChecker(),o=i[i.length-1],s=o;switch(o.kind){case 173:s=aT.updateMethodSignature(o,o.modifiers,o.name,o.questionToken,o.typeParameters,c(i),o.type);break;case 174:s=aT.updateMethodDeclaration(o,o.modifiers,o.asteriskToken,o.name,o.questionToken,o.typeParameters,c(i),o.type,o.body);break;case 179:s=aT.updateCallSignature(o,o.typeParameters,c(i),o.type);break;case 176:s=aT.updateConstructorDeclaration(o,o.modifiers,c(i),o.body);break;case 180:s=aT.updateConstructSignature(o,o.typeParameters,c(i),o.type);break;case 262:s=aT.updateFunctionDeclaration(o,o.modifiers,o.asteriskToken,o.name,o.typeParameters,c(i),o.type,o.body);break;default:return G3.failBadSyntaxKind(o,"Unhandled signature kind in overload list conversion refactoring")}if(s!==o)return{renameFilename:void 0,renameLocation:void 0,edits:G.ChangeTracker.with(e,function(e){e.replaceNodeRange(t,i[0],i[i.length-1],s)})}}function c(e){var t=e[e.length-1];return AC(t)&&t.body&&(e=e.slice(0,e.length-1)),aT.createNodeArray([aT.createParameterDeclaration(void 0,aT.createToken(26),"args",void 0,aT.createUnionTypeNode(V3(e,u)))])}function u(e){e=V3(e.parameters,l);return sT(aT.createTupleTypeNode(e),W3(e,function(e){return!!J3(Lg(e))})?0:1)}function l(e){G3.assert(cT(e.name));var t=_T(aT.createNamedTupleMember(e.dotDotDotToken,e.name,e.questionToken,e.type||aT.createKeywordTypeNode(133)),e),e=e.symbol&&e.symbol.getDocumentationComment(a);return e&&(e=EQ(e)).length&&yD(t,[{text:"*\n".concat(e.split("\n").map(function(e){return" * ".concat(e)}).join("\n"),"\n "),kind:3,pos:-1,end:-1,hasTrailingNewLine:!0,hasLeadingNewline:!0}]),t}}function qK(e){switch(e.kind){case 173:case 174:case 179:case 176:case 180:case 262:return!0}return!1}function UK(t,e,n){var r=Y3(cJ(t,e),qK);if(r&&!(AC(r)&&r.body&&MB(r.body,e))){var i=n.getTypeChecker(),e=r.symbol;if(e){n=e.declarations;if(!(J3(n)<=1)&&gT(n,function(e){return eT(e)===t})&&qK(n[0])){var a=n[0].kind;if(gT(n,function(e){return e.kind===a})){r=n;if(!W3(r,function(e){return!!e.typeParameters||W3(e.parameters,function(e){return!!e.modifiers||!cT(e.name)})})){e=NT(r,function(e){return i.getSignatureFromDeclaration(e)});if(J3(e)===J3(n)){var o=i.getReturnTypeOfSignature(e[0]);if(gT(e,function(e){return i.getReturnTypeOfSignature(e)===o}))return r}}}}}}}var VK,WK,HK,KK,GK=e({"src/services/refactors/convertOverloadListToSingleSignature.ts":function(){ype(),ZX(),jK="Convert overload list to single signature",MK=hp(Q3.Convert_overload_list_to_single_signature),uH(jK,{kinds:[(RK={name:jK,description:MK,kind:"refactor.rewrite.function.overloadList"}).kind],getEditsForAction:zK,getAvailableActions:JK})}});function XK(e){var t=YK(e.file,e.startPosition,"invoked"===e.triggerReason);return t?RH(t)?e.preferences.provideRefactorNotApplicableReason?[{name:VK,description:WK,actions:[__assign(__assign({},HK),{notApplicableReason:t.error}),__assign(__assign({},KK),{notApplicableReason:t.error})]}]:B3:[{name:VK,description:WK,actions:[t.addBraces?HK:KK]}]:B3}function QK(e,t){var n,r=e.file,i=e.startPosition,i=YK(r,i),a=(G3.assert(i&&!RH(i),"Expected applicable refactor info"),i.expression),o=i.returnStatement,s=i.func;return t===HK.name?(i=aT.createReturnStatement(a),n=aT.createBlock([i],!0),Cq(a,i,r,3,!0)):t===KK.name&&o?(i=a||aT.createVoidZero(),Nq(o,n=Dq(i)?aT.createParenthesizedExpression(i):i,r,3,!1),Cq(o,n,r,3,!1),wq(o,n,r,3,!1)):G3.fail("invalid action"),{renameFilename:void 0,renameLocation:void 0,edits:G.ChangeTracker.with(e,function(e){e.replaceNode(r,s.body,n)})}}function YK(e,t,n,r){void 0===n&&(n=!0);e=cJ(e,t),t=B8(e);if(!t)return{error:hp(Q3.Could_not_find_a_containing_arrow_function)};if(!pP(t))return{error:hp(Q3.Containing_function_is_not_an_arrow_function)};if(LB(t,e)&&(!LB(t.body,e)||n)){if(BH(HK.kind,r)&&Z3(t.body))return{func:t,addBraces:!0,expression:t.body};if(BH(KK.kind,r)&&TP(t.body)&&1===t.body.statements.length){e=BT(t.body.statements);if(Hy(e))return{func:t,addBraces:!1,expression:e.expression&&sP(ip(e.expression,!1))?aT.createParenthesizedExpression(e.expression):e.expression,returnStatement:e}}}}var $K,ZK,eG,tG,nG,rG=e({"src/services/refactors/addOrRemoveBracesToArrowFunction.ts":function(){ype(),ZX(),VK="Add or remove braces in an arrow function",WK=hp(Q3.Add_or_remove_braces_in_an_arrow_function),HK={name:"Add braces to arrow function",description:hp(Q3.Add_braces_to_arrow_function),kind:"refactor.rewrite.arrow.braces.add"},KK={name:"Remove braces from arrow function",description:hp(Q3.Remove_braces_from_arrow_function),kind:"refactor.rewrite.arrow.braces.remove"},uH(VK,{kinds:[KK.kind],getEditsForAction:QK,getAvailableActions:XK})}}),iG={},aG=e({"src/services/_namespaces/ts.refactor.addOrRemoveBracesToArrowFunction.ts":function(){GK(),rG()}});function oG(e){var t,n,r=e.file,i=e.startPosition,a=e.program,o=e.kind,r=uG(r,i,a);return r?(i=r.selectedVariableDeclaration,a=r.func,r=[],t=[],BH(tG.kind,o)&&((n=i||pP(a)&&EP(a.parent)?void 0:hp(Q3.Could_not_convert_to_named_function))?t.push(__assign(__assign({},tG),{notApplicableReason:n})):r.push(tG)),BH(eG.kind,o)&&((n=!i&&pP(a)?void 0:hp(Q3.Could_not_convert_to_anonymous_function))?t.push(__assign(__assign({},eG),{notApplicableReason:n})):r.push(eG)),BH(nG.kind,o)&&((n=fP(a)?void 0:hp(Q3.Could_not_convert_to_arrow_function))?t.push(__assign(__assign({},nG),{notApplicableReason:n})):r.push(nG)),[{name:$K,description:ZK,actions:0===r.length&&e.preferences.provideRefactorNotApplicableReason?t:r}]):B3}function sG(e,t){var n=uG(e.file,e.startPosition,e.program);if(n){var r,i,a,o,s,c,u,l,_,d,f,p,m,g,h,y,v,x=n.func,b=[];switch(t){case eG.name:b.push.apply(b,__spreadArray([],__read((h=x,y=(g=e).file,S=lG(h.body),v=aT.createFunctionExpression(h.modifiers,h.asteriskToken,void 0,h.typeParameters,h.parameters,h.type,S),G.ChangeTracker.with(g,function(e){return e.replaceNode(y,h,v)}))),!1));break;case tG.name:var S=function(e){e=e.parent;if(EP(e)&&E8(e)){var t=e.parent,n=t.parent;if(AP(t)&&CP(n)&&cT(e.name))return{variableDeclaration:e,variableDeclarationList:t,statement:n,name:e.name}}}(x);if(!S)return;b.push.apply(b,__spreadArray([],__read((g=x,c=S,u=(s=e).file,l=lG(g.body),_=c.variableDeclaration,d=c.variableDeclarationList,f=c.statement,c=c.name,yq(f),p=32&B4(_)|TN(g),p=aT.createModifiersFromModifierFlags(p),m=aT.createFunctionDeclaration(J3(p)?p:void 0,g.asteriskToken,c,g.typeParameters,g.parameters,g.type,l),1===d.declarations.length?G.ChangeTracker.with(s,function(e){return e.replaceNode(u,f,m)}):G.ChangeTracker.with(s,function(e){e.delete(u,_),e.insertNodeAfter(u,f,m)}))),!1));break;case nG.name:if(!fP(x))return;b.push.apply(b,__spreadArray([],__read((r=x,a=(p=e).file,c=r.body.statements[0],!function(e,t){return 1===e.statements.length&&Hy(t)&&t.expression}(r.body,c)?i=r.body:(hq(i=c.expression),xq(c,i)),o=aT.createArrowFunction(r.modifiers,r.typeParameters,r.parameters,r.type,aT.createToken(39),i),G.ChangeTracker.with(p,function(e){return e.replaceNode(a,r,o)}))),!1));break;default:return G3.fail("invalid action")}return{renameFilename:void 0,renameLocation:void 0,edits:b}}}function cG(e){var n=!1;return e.forEachChild(function e(t){IB(t)?n=!0:jC(t)||IP(t)||fP(t)||KE(t,e)}),n}function uG(e,t,n){var r,t=cJ(e,t),n=n.getTypeChecker(),i=function(e,t,n){if(function(e){return EP(e)||AP(e)&&1===e.declarations.length}(n)){n=(EP(n)?n:BT(n.declarations)).initializer;if(n&&(pP(n)||fP(n)&&!_G(e,t,n)))return n}}(e,n,t.parent);return!i||cG(i.body)||n.containsArgumentsReference(i)?!(r=B8(t))||!fP(r)&&!pP(r)||LB(r.body,t)||cG(r.body)||n.containsArgumentsReference(r)||fP(r)&&_G(e,n,r)?void 0:{selectedVariableDeclaration:!1,func:r}:{selectedVariableDeclaration:!0,func:i}}function lG(e){var t,n;return Z3(e)?(t=aT.createReturnStatement(e),n=e.getSourceFile(),_T(t,e),hq(t),Nq(e,t,n,void 0,!0),aT.createBlock([t],!0)):e}function _G(e,t,n){return n.name&&gue.Core.isSymbolReferencedInFile(n.name,t,e)}var dG,fG,pG,mG,gG=e({"src/services/refactors/convertArrowFunctionOrFunctionExpression.ts":function(){ype(),ZX(),$K="Convert arrow function or function expression",ZK=hp(Q3.Convert_arrow_function_or_function_expression),eG={name:"Convert to anonymous function",description:hp(Q3.Convert_to_anonymous_function),kind:"refactor.rewrite.function.anonymous"},tG={name:"Convert to named function",description:hp(Q3.Convert_to_named_function),kind:"refactor.rewrite.function.named"},nG={name:"Convert to arrow function",description:hp(Q3.Convert_to_arrow_function),kind:"refactor.rewrite.function.arrow"},uH($K,{kinds:[eG.kind,tG.kind,nG.kind],getEditsForAction:sG,getAvailableActions:oG})}}),hG={},yG=e({"src/services/_namespaces/ts.refactor.convertArrowFunctionOrFunctionExpression.ts":function(){gG()}});function vG(e){var t=e.file,n=e.startPosition;return!p7(t)&&CG(t,n,e.program.getTypeChecker())?[{name:dG,description:pG,actions:[mG]}]:B3}function xG(e,t){G3.assert(t===dG,"Unexpected action name");var m,g=e.file,t=e.startPosition,h=e.program,n=e.cancellationToken,y=e.host,v=CG(g,t,h.getTypeChecker());if(v&&n)return(m=function(h,t,n){var y=function(e){switch(e.kind){case 262:return e.name?[e.name]:[G3.checkDefined(Cz(e,90),"Nameless function declaration should be a default export")];case 174:return[e.name];case 176:var t=G3.checkDefined(GB(e,137,e.getSourceFile()),"Constructor declaration should have constructor keyword");return 231===e.parent.kind?[e.parent.parent.name,t]:[t];case 219:return[e.parent.name];case 218:return e.name?[e.name,e.parent.name]:[e.parent.name];default:return G3.assertNever(e,"Unexpected function declaration kind ".concat(e.kind))}}(h),v=MD(h)?function(e){switch(e.parent.kind){case 263:var t=e.parent;return t.name?[t.name]:[G3.checkDefined(Cz(t,90),"Nameless class declaration should be a default export")];case 231:var t=e.parent,n=e.parent.parent,t=t.name;return t?[t,n.name]:[n.name]}}(h):[],r=AT(__spreadArray(__spreadArray([],__read(y),!1),__read(v),!1),n4),x=t.getTypeChecker(),e=function(e){var t,n,r={accessExpressions:[],typeUsages:[]},i={functionCalls:[],declarations:[],classReferences:r,valid:!0},a=V3(y,b),o=V3(v,b),s=MD(h),c=V3(y,function(e){return bG(e,x)});try{for(var u=__values(e),l=u.next();!l.done;l=u.next()){var _=l.value;if(_.kind===gue.EntryKind.Span);else{if(xT(c,b(_.node))){if(function(e){return OD(e)&&(LP(e.parent)||KD(e.parent))}(_.node.parent)){i.signature=_.node.parent;continue}if(d=TG(_)){i.functionCalls.push(d);continue}}var d,f,p=bG(_.node,x);if(p&&xT(c,p))if(f=kG(_)){i.declarations.push(f);continue}if(xT(a,b(_.node))||sB(_.node)){if(SG(_))continue;if(f=kG(_)){i.declarations.push(f);continue}if(d=TG(_)){i.functionCalls.push(d);continue}}if(s&&xT(o,b(_.node))){if(SG(_))continue;if(f=kG(_)){i.declarations.push(f);continue}var m=function(e){if(e.node.parent){var t=e.node,n=t.parent;switch(n.kind){case 211:var r=e4(n,uT);if(r&&r.expression===t)return r;break;case 212:r=e4(n,cP);if(r&&r.expression===t)return r}}}(_);if(m){r.accessExpressions.push(m);continue}if(OP(h.parent)){var g=function(e){e=e.node;if(2===iB(e)||AN(e.parent))return e}(_);if(g){r.typeUsages.push(g);continue}}}}i.valid=!1}}catch(e){t={error:e}}finally{try{l&&!l.done&&(n=u.return)&&n.call(u)}finally{if(t)throw t.error}}return i}(wT(r,function(e){return gue.getReferenceEntriesForNode(-1,e,t,t.getSourceFiles(),n)}));gT(e.declarations,function(e){return xT(r,e)})||(e.valid=!1);return e;function b(e){e=x.getSymbolAtLocation(e);return e&&cq(e,x)}}(v,h,n)).valid?{renameFilename:void 0,renameLocation:void 0,edits:G.ChangeTracker.with(e,function(e){var t,n,r=g,i=h,a=y,o=e,s=v,e=m,c=e.signature,u=V3(EG(s,i,a),function(e){return dq(e)});c&&(i=V3(EG(c,i,a),function(e){return dq(e)}),p(c,i)),p(s,u),a=P(e.functionCalls,function(e,t){return r4(e.pos,t.pos)});try{for(var l=__values(a),_=l.next();!_.done;_=l.next()){var d,f=_.value;f.arguments&&f.arguments.length&&(d=dq(function(e,t){var n=PG(e.parameters),e=vw(qT(n)),r=V3(e?t.slice(0,n.length-1):t,function(e,t){t=function(e,t){if(cT(t)&&L5(t)===e)return aT.createShorthandPropertyAssignment(e);return aT.createPropertyAssignment(e,t)}(AG(n[t]),e);return hq(t.name),sE(t)&&hq(t.initializer),xq(e,t),t});e&&t.length>=n.length&&(e=t.slice(n.length-1),t=aT.createPropertyAssignment(AG(qT(n)),aT.createArrayLiteralExpression(e)),r.push(t));return aT.createObjectLiteralExpression(r,!1)}(s,f.arguments),!0),o.replaceNodeRange(eT(f),BT(f.arguments),qT(f.arguments),d,{leadingTriviaOption:G.LeadingTriviaOption.IncludeAll,trailingTriviaOption:G.TrailingTriviaOption.Include}))}}catch(e){t={error:e}}finally{try{_&&!_.done&&(n=l.return)&&n.call(l)}finally{if(t)throw t.error}}function p(e,t){o.replaceNodeRangeWithNodes(r,BT(e.parameters),qT(e.parameters),t,{joiner:", ",indentation:0,leadingTriviaOption:G.LeadingTriviaOption.IncludeAll,trailingTriviaOption:G.TrailingTriviaOption.Include})}})}:{edits:[]}}function bG(e,t){e=BQ(e);if(e){t=t.getContextualTypeForObjectLiteralElement(e),e=null==t?void 0:t.getSymbol();if(e&&!(6&HN(e)))return e}}function SG(e){e=e.node;return WP(e.parent)||UP(e.parent)||zP(e.parent)||av(e.parent)||XP(e.parent)||HP(e.parent)?e:void 0}function kG(e){if(iw(e.node.parent))return e.node}function TG(e){if(e.node.parent){var t=e.node,n=t.parent;switch(n.kind){case 213:case 214:var r=e4(n,KC);if(r&&r.expression===t)return r;break;case 211:r=e4(n,uT);if(r&&r.parent&&r.name===t)if((i=e4(r.parent,KC))&&i.expression===r)return i;break;case 212:var i,r=e4(n,cP);if(r&&r.parent&&r.argumentExpression===t)if((i=e4(r.parent,KC))&&i.expression===r)return i}}}function CG(e,t,n){e=sJ(e,t),t=Zl(e);return function(e){e=Y3(e,cw);if(e)return(e=Y3(e,function(e){return!cw(e)}))&&AC(e);return}(e)||!(t&&function(e,t){var n;if(function(e,r){return function(e){if(DG(e))return e.length-1;return e.length}(e)>=fG&&gT(e,function(e){var t=r;if(vw(e)){var n=t.getTypeAtLocation(e);if(!t.isArrayType(n)&&!t.isTupleType(n))return}return!e.modifiers&&cT(e.name)})}(e.parameters,t))switch(e.kind){case 262:return NG(e)&&wG(e,t);case 174:return sP(e.parent)?(n=bG(e.name,t),1===(null==(n=null==n?void 0:n.declarations)?void 0:n.length)&&wG(e,t)):wG(e,t);case 176:return OP(e.parent)?NG(e.parent)&&wG(e,t):FG(e.parent.parent)&&wG(e,t);case 218:case 219:return FG(e.parent)}return}(t,n)&&LB(t,e))||t.body&&LB(t.body,e)?void 0:t}function wG(e,t){return!!e.body&&!t.isImplementationOfOverload(e)}function NG(e){return!!e.name||!!Cz(e,90)}function FG(e){return EP(e)&&Ol(e)&&cT(e.name)&&!e.type}function DG(e){return 0=t.pos?n:t).getEnd()),n=i?function(e){for(;e.parent;){if(iX(e)&&!iX(e.parent))return e;e=e.parent}}(t):function(e,t){for(;e.parent;){if(iX(e)&&0!==t.length&&e.end>=t.start+t.length)return e;e=e.parent}}(t,e),i=n&&iX(n)?function(e){if(rX(e))return e;{var t;if(CP(e))return t=Q7(e),(t=null==t?void 0:t.initializer)&&rX(t)?t:void 0}return e.expression&&rX(e.expression)?e.expression:void 0}(n):void 0;if(i){t=r.getTypeChecker();if(Ey(i)){e=i;n=t;r=e.condition,t=uX(e.whenTrue);if(!t||n.isNullableType(n.getTypeAtLocation(t)))return{error:hp(Q3.Could_not_find_convertible_access_expression)};return(uT(r)||cT(r))&&sX(r,t.expression)?{finalExpression:t,occurrences:[r],expression:e}:lT(r)?(n=oX(t.expression,r))?{finalExpression:t,occurrences:n,expression:e}:{error:hp(Q3.Could_not_find_matching_access_expressions)}:void 0;return}else{r=i;if(56!==r.operatorToken.kind)return{error:hp(Q3.Can_only_convert_logical_AND_access_chains)};t=uX(r.right);return t?(n=oX(t.expression,r.left))?{finalExpression:t,occurrences:n,expression:r}:{error:hp(Q3.Could_not_find_matching_access_expressions)}:{error:hp(Q3.Could_not_find_convertible_access_expression)};return}}return{error:hp(Q3.Could_not_find_convertible_access_expression)}}}function oX(e,t){for(var n=[];lT(t)&&56===t.operatorToken.kind;){var r=sX(f5(e),f5(t.right));if(!r)break;n.push(r),e=r,t=t.left}var i=sX(e,t);return i&&n.push(i),0=t&&AC(e)&&!MD(e)})}((CX(c.range)?qT(c.range):c.range).end,a))?f.insertNodeBefore(u.file,l,b,!0):f.insertNodeAtEndOfScope(u.file,a,b),B.writeFixes(f),[]),m=function(e,t,n){n=aT.createIdentifier(n);return jC(e)?(t=32&t.facts?aT.createIdentifier(e.name.text):aT.createThis(),aT.createPropertyAccessExpression(t,n)):n}(a,c,d);if(g&&z.unshift(aT.createIdentifier("this")),l=aT.createCallExpression(g?aT.createPropertyAccessExpression(m,"call"):m,t,z),2&c.facts&&(l=aT.createYieldExpression(aT.createToken(42),l)),4&c.facts&&(l=aT.createAwaitExpression(l)),FX(i)&&(l=aT.createJsxExpression(void 0,l)),s.length&&!r)if(G3.assert(!o,"Expected no returnValueProperty"),G3.assert(!(1&c.facts),"Expected RangeFacts.HasReturn flag to be unset"),1===s.length){var y=s[0];h.push(aT.createVariableStatement(void 0,aT.createVariableDeclarationList([aT.createVariableDeclaration(dq(y.name),void 0,dq(y.type),l)],y.parent.flags)))}else{var q=[],U=[],V=s[0].parent.flags,W=!1;try{for(var v=__values(s),x=v.next();!x.done;x=v.next()){var y=x.value,H=(q.push(aT.createBindingElement(void 0,void 0,dq(y.name))),_.typeToTypeNode(_.getBaseTypeOfLiteralType(_.getTypeAtLocation(y)),a,1));U.push(aT.createPropertySignature(void 0,y.symbol.name,void 0,H)),W=W||void 0!==y.type,V&=y.parent.flags}}catch(e){A={error:e}}finally{try{x&&!x.done&&(L=v.return)&&L.call(v)}finally{if(A)throw A.error}}var b=W?aT.createTypeLiteralNode(U):void 0;b&&sT(b,1),h.push(aT.createVariableStatement(void 0,aT.createVariableDeclarationList([aT.createVariableDeclaration(aT.createObjectBindingPattern(q),void 0,b,l)],V)))}else if(s.length||r){if(s.length)try{for(var S=__values(s),k=S.next();!k.done;k=S.next()){var T=(y=k.value).parent.flags;2&T&&(T=-3&T|1),h.push(aT.createVariableStatement(void 0,aT.createVariableDeclarationList([aT.createVariableDeclaration(y.symbol.name,void 0,K(y.type))],T)))}}catch(e){I={error:e}}finally{try{k&&!k.done&&(E=S.return)&&E.call(S)}finally{if(I)throw I.error}}o&&h.push(aT.createVariableStatement(void 0,aT.createVariableDeclarationList([aT.createVariableDeclaration(o,void 0,K(O))],1)));g=TX(s,r);o&&g.unshift(aT.createShorthandPropertyAssignment(o)),1===g.length?(G3.assert(!o,"Shouldn't have returnValueProperty here"),h.push(aT.createExpressionStatement(aT.createAssignment(g[0].name,l))),1&c.facts&&h.push(aT.createReturnStatement())):(h.push(aT.createExpressionStatement(aT.createAssignment(aT.createObjectLiteralExpression(g),l))),o&&h.push(aT.createReturnStatement(aT.createIdentifier(o))))}else 1&c.facts?h.push(aT.createReturnStatement(l)):CX(c.range)?h.push(aT.createExpressionStatement(l)):h.push(l);return CX(c.range)?f.replaceNodeRangeWithNodes(u.file,BT(c.range),qT(c.range),h):f.replaceNodeWithNodes(u.file,c.range,h),m=f.getChanges(),t=(CX(c.range)?BT(c.range):c.range).getSourceFile().fileName,i=Tq(m,t,d,!1),{renameFilename:t,renameLocation:i,edits:m};function K(e){if(void 0!==e){for(var e=dq(e),t=e;$D(t);)t=t.type;return vy(t)&&q3(t.types,function(e){return 157===e.kind})?e:aT.createUnionTypeNode([e,aT.createKeywordTypeNode(157)])}}}var C,w,N,F,D,P,l,E,A,I,O,L=/^constant_scope_(\d+)$/.exec(j);if(L)return n=+L[1],G3.assert(isFinite(n),"Expected to parse a finite number from the constant scope index"),A=n,I=SX(b=M,E=e),O=I.scopes,I=I.readsAndWrites,s=I.target,g=I.usagesPerScope,o=I.constantErrorsPerScope,I=I.exposedVariableDeclarations,G3.assert(!o[A].length,"The extraction went missing? How?"),G3.assert(0===I.length,"Extract constant accepted a range containing a variable declaration?"),E.cancellationToken.throwIfCancellationRequested(),F=Z3(s)?s:s.statements[0].expression,D=O[A],l=g[A],f=b.facts,c=E,l=l.substitutions,P=c.program.getTypeChecker(),d=D.getSourceFile(),d=!uT(F)||jC(D)||P.resolveName(F.name.text,F,111551,!1)||CD(F.name)||W4(F.name)?kq(jC(D)?"newProperty":"newLocal",d):F.name.text,t=nT(D),i=t||!P.isContextSensitive(F)?void 0:P.typeToTypeNode(P.getContextualType(F),D,1),l=function(e,r){return r.size?function e(t){var n=r.get(gA(t).toString());return n?dq(n):pT(t,e,f9)}(e):e}(f5(F),l),m=function(e,t){if(void 0!==e&&(fP(t)||pP(t))&&!t.typeParameters){var n=P.getTypeAtLocation(F),n=yi(P.getSignaturesOfType(n,0));if(n&&!n.getTypeParameters()){var r,i,a=[],o=!1;try{for(var s=__values(t.parameters),c=s.next();!c.done;c=s.next()){var u,l=c.value;l.type?a.push(l):((u=P.getTypeAtLocation(l))===P.getAnyType()&&(o=!0),a.push(aT.updateParameterDeclaration(l,l.modifiers,l.dotDotDotToken,l.name,l.questionToken,l.type||P.typeToTypeNode(u,D,1),l.initializer)))}}catch(e){i={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(i)throw i.error}}o||(e=void 0,t=pP(t)?aT.updateArrowFunction(t,VE(F)?Y4(F):void 0,t.typeParameters,a,t.type||P.typeToTypeNode(n.getReturnType(),D,1),t.equalsGreaterThanToken,t.body):(n&&n.thisParameter&&(!(r=MT(a))||cT(r.name)&&"this"!==r.name.escapedText)&&(i=P.getTypeOfSymbolAtLocation(n.thisParameter,F),a.splice(0,0,aT.createParameterDeclaration(void 0,void 0,"this",void 0,P.typeToTypeNode(i,D,1)))),aT.updateFunctionExpression(t,VE(F)?Y4(F):void 0,t.asteriskToken,t.name,t.typeParameters,a,t.type||P.typeToTypeNode(n.getReturnType(),D,1),t.body)))}}return{variableType:e,initializer:t}}(i,l),i=m.variableType,hq(l=m.initializer),m=G.ChangeTracker.fromContext(c),jC(D)?(G3.assert(!t,"Cannot extract to a JS class"),(t=[]).push(aT.createModifier(123)),32&f&&t.push(aT.createModifier(126)),t.push(aT.createModifier(148)),t=aT.createPropertyDeclaration(t,d,void 0,i,l),N=aT.createPropertyAccessExpression(32&f?aT.createIdentifier(D.name.getText()):aT.createThis(),aT.createIdentifier(d)),FX(F)&&(N=aT.createJsxExpression(void 0,N)),w=function(e,t){var n,r,i,a=t.members,o=(G3.assert(0e)return i||a[0];if(o&&!ID(u)){if(void 0!==i)return u;o=!1}i=u}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return void 0===i?G3.fail():i}(F.pos,D),m.insertNodeBefore(c.file,w,t,!0),m.replaceNode(c.file,F,N)):(f=aT.createVariableDeclaration(d,void 0,i,l),(t=function(e,t){var n;for(;void 0!==e&&e!==t;){if(EP(e)&&e.initializer===n&&AP(e.parent)&&1e.pos)break;o=u}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return!o&&pv(a)?(G3.assert(Gy(a.parent.parent),"Grandparent isn't a switch statement"),a.parent.parent):G3.checkDefined(o,"prevStatement failed to get set")}G3.assert(a!==t,"Didn't encounter a block-like before encountering scope")}}(F,D)).pos?m.insertNodeAtTopOfFile(c.file,C,!1):m.insertNodeBefore(c.file,w,C,!1),244===F.parent.kind?m.delete(c.file,F.parent):(N=aT.createIdentifier(d),FX(F)&&(N=aT.createJsxExpression(void 0,N)),m.replaceNode(c.file,F,N)))),i=m.getChanges(),l=F.getSourceFile().fileName,t=Tq(i,l,d,!0),{renameFilename:l,renameLocation:t,edits:i};G3.fail("Unrecognized action name")}function xX(e,c,t){void 0===t&&(t=!0);var n,r,i=c.length;if(0===i&&!t)return{errors:[nF(e,c.start,i,fX.cannotExtractEmpty)]};var u,a=0===i&&t,o=lJ(e,c.start),s=_J(e,O4(c)),t=o&&s&&t?function(e,t,n){e=e.getStart(n),t=t.getEnd();59===n.text.charCodeAt(t)&&t++;return{start:e,length:t-e}}(o,s,e):c,l=a?Y3(o,function(e){return e.parent&&wX(e)&&!lT(e.parent)}):Tz(o,e,t),_=a?l:Tz(s,e,t),d=0;if(!l||!_)return{errors:[nF(e,c.start,i,fX.cannotExtractRange)]};if(16777216&l.flags)return{errors:[nF(e,c.start,i,fX.cannotExtractJSDoc)]};if(l.parent!==_.parent)return{errors:[nF(e,c.start,i,fX.cannotExtractRange)]};if(l===_)return Hy(l)&&!l.expression?{errors:[nF(e,c.start,i,fX.cannotExtractRange)]}:(a=function(e){if(cT(wP(e)?e.expression:e))return[tT(e,fX.cannotExtractIdentifier)]}(o=function(e){var t,n;if(Hy(e)){if(e.expression)return e.expression}else if(CP(e)||AP(e)){var r=(CP(e)?e.declarationList:e).declarations,i=0,a=void 0;try{for(var o=__values(r),s=o.next();!s.done;s=o.next()){var c=s.value;c.initializer&&(i++,a=c.initializer)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}if(1===i)return a}else if(EP(e)&&e.initializer)return e.initializer;return e}(l))||y(o))?{errors:a}:{targetRange:{range:function(e){if(aw(e))return[e];if(o7(e))return wP(e.parent)?[e.parent]:e;if(DX(e))return e}(o),facts:d,thisNode:u}};if(!NX(l.parent))return{errors:[nF(e,c.start,i,fX.cannotExtractRange)]};var f=[];try{for(var p=__values(l.parent.statements),m=p.next();!m.done;m=p.next()){var g=m.value;if(g===l||f.length){var h=y(g);if(h)return{errors:h};f.push(g)}if(g===_)break}}catch(e){n={error:e}}finally{try{m&&!m.done&&(r=p.return)&&r.call(p)}finally{if(n)throw n.error}}return f.length?{targetRange:{range:f,facts:d,thisNode:u}}:{errors:[nF(e,c.start,i,fX.cannotExtractRange)]};function y(e){if(0,G3.assert(e.pos<=e.end,"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (1)"),G3.assert(!vm(e.pos),"This failure could trigger https://github.com/Microsoft/TypeScript/issues/20809 (2)"),!(aw(e)||o7(e)&&wX(e)||DX(e)))return[tT(e,fX.statementOrExpressionExpected)];if(33554432&e.flags)return[tT(e,fX.cannotExtractAmbientBlock)];var a,t=J8(e);if(t)for(var n=t,r=e;r!==n;){if(172===r.kind){mN(r)&&(d|=32);break}if(169===r.kind){176===B8(r).kind&&(d|=32);break}174===r.kind&&mN(r)&&(d|=32),r=r.parent}var o,s=4;return function e(n){if(a)return!0;if(iw(n)){var t=260===n.kind?n.parent.parent:n;if(rT(t,32))return(a=a||[]).push(tT(n,fX.cannotExtractExportedEntity)),!0}switch(n.kind){case 272:return(a=a||[]).push(tT(n,fX.cannotExtractImport)),!0;case 277:return(a=a||[]).push(tT(n,fX.cannotExtractExportedEntity)),!0;case 108:if(213===n.parent.kind){var r=J8(n);if(void 0===r||r.pos=c.start+c.length)return(a=a||[]).push(tT(n,fX.cannotExtractSuper)),!0}else d|=8,u=n;break;case 219:KE(n,function e(t){if(IB(t))d|=8,u=n;else{if(jC(t)||PC(t)&&!pP(t))return!1;KE(t,e)}});case 263:case 262:_E(n.parent)&&void 0===n.parent.externalModuleIndicator&&(a=a||[]).push(tT(n,fX.functionWillNotBeVisibleInTheNewScope));case 231:case 218:case 174:case 176:case 177:case 178:return!1}t=s;switch(n.kind){case 245:s&=-5;break;case 258:s=0;break;case 241:n.parent&&258===n.parent.kind&&n.parent.finallyBlock===n&&(s=4);break;case 297:case 296:s|=1;break;default:QC(n,!1)&&(s|=3)}switch(n.kind){case 197:case 110:d|=8,u=n;break;case 256:var i=n.label;(o=o||[]).push(i.escapedText),KE(n,e),o.pop();break;case 252:case 251:(i=n.label)?xT(o,i.escapedText)||(a=a||[]).push(tT(n,fX.cannotExtractRangeContainingLabeledBreakOrContinueStatementWithTargetOutsideOfTheRange)):s&(252===n.kind?1:2)||(a=a||[]).push(tT(n,fX.cannotExtractRangeContainingConditionalBreakOrContinueStatements));break;case 223:d|=4;break;case 229:d|=2;break;case 253:4&s?d|=1:(a=a||[]).push(tT(n,fX.cannotExtractRangeContainingConditionalReturnStatement));break;default:KE(n,e)}s=t}(e),8&d&&(262===(t=V8(e,!1,!1)).kind||174===t.kind&&210===t.parent.kind||218===t.kind)&&(d|=16),a}}function bX(e){return pP(e)?pc(e.body):AC(e)||_E(e)||BP(e)||jC(e)}function SX(e,t){var n,r=t.file,i=function(e){var t=CX(e.range)?BT(e.range):e.range;if(8&e.facts&&!(16&e.facts)){var n,e=J8(t);if(e)return(n=Y3(t,AC))?[n,e]:[e]}for(var r=[];;)if(bX(t=169===(t=t.parent).kind?Y3(t,AC).parent:t)&&(r.push(t),312===t.kind))return r}(e),a=(a=r,CX((n=e).range)?{pos:BT(n.range).getStart(a),end:qT(n.range).getEnd()}:n.range);return{scopes:i,readsAndWrites:function(S,k,j,T,C,M){var t,e,n,r,a,i,o=new Map,w=[],N=[],F=[],D=[],s=[],c=new Map,u=[],l=CX(S.range)?1===S.range.length&&wP(S.range[0])?S.range[0].expression:void 0:S.range;void 0===l?(m=S.range,g=BT(m).getStart(),m=qT(m).end,i=nF(T,g,m-g,fX.expressionExpected)):147456&C.getTypeAtLocation(l).flags&&(i=tT(l,fX.uselessConstantType));try{for(var _=__values(k),d=_.next();!d.done;d=_.next()){var f=d.value,p=(w.push({usages:new Map,typeParameterUsages:new Map,substitutions:new Map}),N.push(new Map),F.push([]),[]);i&&p.push(i),jC(f)&&nT(f)&&p.push(tT(f,fX.cannotExtractToJSClass)),pP(f)&&!TP(f.body)&&p.push(tT(f,fX.cannotExtractToExpressionArrowFunction)),D.push(p)}}catch(e){t={error:e}}finally{try{d&&!d.done&&(e=_.return)&&e.call(_)}finally{if(t)throw t.error}}var P=new Map,m=CX(S.range)?aT.createBlock(S.range):S.range,g=CX(S.range)?BT(S.range):S.range,h=function(e){return!!Y3(e,function(e){return Sl(e)&&0!==uC(e).length})}(g);(function e(t,n){void 0===n&&(n=1);h&&O(C.getTypeAtLocation(t));iw(t)&&t.symbol&&s.push(t);EN(t)?(e(t.left,2),e(t.right)):uc(t)?e(t.operand,2):!uT(t)&&!cP(t)&&cT(t)?!t.parent||ND(t.parent)&&t!==t.parent.left||uT(t.parent)&&t!==t.parent.expression||B(t,n,T8(t)):KE(t,e)})(m),!h||CX(S.range)||tE(S.range)||O(C.getContextualType(S.range));if(0")}:(n=32===t.kind&&eE(t.parent)?t.parent.parent:Uh(t)&&_v(t.parent)?t.parent:void 0)&&function e(t){var n=t.closingFragment,t=t.parent;return!!(262144&n.flags)||_v(t)&&e(t)}(n)?{newText:""}:void 0},getLinkedEditingRangeAtPosition:function(e,t){e=C.getCurrentSourceFile(e);if((a=fJ(t,e))&&312!==a.parent.kind){var n="[a-zA-Z0-9:\\-\\._$]*";if(_v(a.parent.parent)){var r=a.parent.parent.openingFragment,i=a.parent.parent.closingFragment;if(!Lw(r)&&!Lw(i)){r=r.getStart(e)+1,i=i.getStart(e)+2;if(t===r||t===i)return{ranges:[{start:r,length:0},{start:i,length:0}],wordPattern:n}}}else{r=Y3(a.parent,function(e){return!(!ZP(e)&&!lv(e))});if(r){G3.assert(ZP(r)||lv(r),"tag should be opening or closing element");var i=r.parent.openingElement,a=r.parent.closingElement,r=i.tagName.getStart(e),o=i.tagName.end,s=a.tagName.getStart(e),c=a.tagName.end;if(r<=t&&t<=o||s<=t&&t<=c){t=i.tagName.getText(e);if(t===a.tagName.getText(e))return{ranges:[{start:r,length:o-r},{start:s,length:c-s}],wordPattern:n}}}}}},getSpanOfEnclosingComment:function(e,t,n){return e=C.getCurrentSourceFile(e),!(e=gpe.getRangeOfEnclosingComment(e,t))||n&&3!==e.kind?void 0:GJ(e)},getCodeFixesAtPosition:function(e,t,n,r,i,a){void 0===a&&(a=kR),f();var o=d(e),s=Co(t,n),c=gpe.getFormatContext(i,h);return wT(AT(r,n4,r4),function(e){return k.throwIfCancellationRequested(),Koe.getFixes({errorCode:e,sourceFile:o,span:s,program:x,host:h,cancellationToken:k,formatContext:c,preferences:a})})},getCombinedCodeFix:function(e,t,n,r){return void 0===r&&(r=kR),f(),G3.assert("file"===e.type),e=d(e.fileName),n=gpe.getFormatContext(n,h),Koe.getAllFixes({fixId:t,sourceFile:e,program:x,host:h,cancellationToken:k,formatContext:n,preferences:r})},applyCodeActionCommand:function(e,t){return $T(t="string"==typeof e?t:e)?Promise.all(t.map(n)):n(t)},organizeImports:function(e,t,n){void 0===n&&(n=kR),f(),G3.assert("file"===e.type);var r=d(e.fileName),t=gpe.getFormatContext(t,h),i=null!=(i=e.mode)?i:e.skipDestructiveCodeActions?"SortAndCombine":"All";return Ole.organizeImports(r,t,h,x,n,i)},getEditsForFileRename:function(e,t,n,r){return void 0===r&&(r=kR),rV(o(),e,t,h,gpe.getFormatContext(n,h),r,D)},getEmitOutput:function(e,t,n){f();var e=d(e),r=h.getCustomTransformers&&h.getCustomTransformers();return FO(x,e,!!t,k,r,n)},getNonBoundSourceFile:function(e){return C.getCurrentSourceFile(e)},getProgram:o,getCurrentProgram:function(){return x},getAutoImportProvider:function(){var e;return null==(e=h.getPackageJsonAutoImportProvider)?void 0:e.call(h)},updateIsDefinitionOfReferencedSymbols:function(d,f){var t,e,n,r,p=x.getTypeChecker(),i=function(){var t,e,n,r;try{for(var i=__values(d),a=i.next();!a.done;a=i.next()){var o=a.value;try{n=void 0;for(var s=__values(o.references),c=s.next();!c.done;c=s.next()){var u=c.value;if(f.has(u))return l=g(u),G3.assertIsDefined(l),p.getSymbolAtLocation(l);var l,_=Iz(u,D,QT(h,h.fileExists));if(_&&f.has(_))if(l=g(_))return p.getSymbolAtLocation(l)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{a&&!a.done&&(e=i.return)&&e.call(i)}finally{if(t)throw t.error}}}();if(!i)return!1;try{for(var a=__values(d),o=a.next();!o.done;o=a.next()){var s=o.value;try{n=void 0;for(var c=__values(s.references),u=c.next();!u.done;u=c.next()){var l,_=u.value,m=g(_);G3.assertIsDefined(m),f.has(_)||gue.isDeclarationOfSymbol(m,i)?(f.add(_),_.isDefinition=!0,(l=Iz(_,D,QT(h,h.fileExists)))&&f.add(l)):_.isDefinition=!1}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}return!0;function g(e){var t=x.getSourceFile(e.fileName);if(t)return t=oJ(t,e.textSpan.start),gue.Core.getAdjustedNode(t,{use:gue.FindReferencesUse.References})}},getApplicableRefactors:function(e,t,n,r,i,a){return void 0===n&&(n=kR),f(),e=d(e),$X.getApplicableRefactors(s(e,t,n,kR,r,i),a)},getEditsForRefactor:function(e,t,n,r,i,a,o){return void 0===a&&(a=kR),f(),e=d(e),$X.getEditsForRefactor(s(e,n,a,t),r,i,o)},getMoveToRefactoringFileSuggestions:function(e,t,n){void 0===n&&(n=kR),f();var r=d(e),i=G3.checkDefined(x.getSourceFiles()),a=bm(e),e=NT(i,function(e){return null!=x&&x.isSourceFileFromExternalLibrary(r)||r===d(e.fileName)||".ts"===a&&".d.ts"===bm(e.fileName)||".d.ts"===a&&u4(Di(e.fileName),"lib.")&&".d.ts"===bm(e.fileName)||a!==bm(e.fileName)?void 0:e.fileName});return{newFileName:CK(r,x,s(r,t,n,kR),h),files:e}},toLineColumnOffset:function(e,t){return 0===t?{line:0,character:0}:D.toLineColumnOffset(e,t)},getSourceMapper:function(){return D},clearSourceMapperCache:function(){return D.clearCache()},prepareCallHierarchy:function(e,t){return f(),(e=hY.resolveCallHierarchyDeclaration(x,oJ(d(e),t)))&&sU(e,function(e){return hY.createCallHierarchyItem(x,e)})},provideCallHierarchyIncomingCalls:function(e,t){return f(),e=d(e),(e=cU(hY.resolveCallHierarchyDeclaration(x,0===t?e:oJ(e,t))))?hY.getIncomingCalls(x,e,k):[]},provideCallHierarchyOutgoingCalls:function(e,t){return f(),e=d(e),(e=cU(hY.resolveCallHierarchyDeclaration(x,0===t?e:oJ(e,t))))?hY.getOutgoingCalls(x,e):[]},toggleLineComment:c,toggleMultilineComment:E,commentSelection:function(e,t){var n=P(C.getCurrentSourceFile(e),t);return(n.firstLine===n.lastLine&&t.pos!==t.end?E:c)(e,t,!0)},uncommentSelection:function(e,t){var n=C.getCurrentSourceFile(e),r=[],i=t.pos,a=t.end;i===a&&(a+=SJ(n,i)?2:1);for(var o=i;o<=a;o++){var s=FJ(n,o);if(s){switch(s.kind){case 2:r.push.apply(r,__spreadArray([],__read(c(e,{end:s.end,pos:s.pos+1},!1)),!1));break;case 3:r.push.apply(r,__spreadArray([],__read(E(e,{end:s.end,pos:s.pos+1},!1)),!1))}o=s.end+1}}return r},provideInlayHints:function(e,t,n){return void 0===n&&(n=kR),f(),e=d(e),Vue.provideInlayHints((t=t,n=n,{file:e,program:o(),host:h,span:t,preferences:n,cancellationToken:k}))},getSupportedCodeFixes:IQ};switch(v){case 0:break;case 1:vQ.forEach(function(e){return i[e]=function(){throw new Error("LanguageService Operation: ".concat(e," not allowed in LanguageServiceMode.PartialSemantic"))}});break;case 2:xQ.forEach(function(e){return i[e]=function(){throw new Error("LanguageService Operation: ".concat(e," not allowed in LanguageServiceMode.Syntactic"))}});break;default:G3.assertNever(v)}return i}function RQ(e){var t,c;return e.nameTable||(c=(t=e).nameTable=new Map,t.forEachChild(function e(t){var n,r,i,a;if(cT(t)&&!kB(t)&&t.escapedText||P5(t)&&(g5(a=t)||283===a.parent.kind||function(e){return e&&e.parent&&212===e.parent.kind&&e.parent.argumentExpression===e}(a)||h5(a))?(i=j5(t),c.set(i,void 0===c.get(i)?t.pos:-1)):CD(t)&&(i=t.escapedText,c.set(i,void 0===c.get(i)?t.pos:-1)),KE(t,e),_w(t))try{for(var o=__values(t.jsDoc),s=o.next();!s.done;s=o.next())KE(s.value,e)}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}})),e.nameTable}function BQ(e){e=function(e){switch(e.kind){case 11:case 15:case 9:if(167===e.parent.kind)return Ac(e.parent.parent)?e.parent.parent:void 0;case 80:return!Ac(e.parent)||210!==e.parent.parent.kind&&292!==e.parent.parent.kind||e.parent.name!==e?void 0:e.parent}}(e);return e&&(sP(e.parent)||nE(e.parent))?e:void 0}function JQ(t,n,e,r){var i=oz(t.name);if(!i)return B3;if(!e.isUnion())return(a=e.getProperty(i))?[a]:B3;var a,o=NT(e.types,function(e){return(sP(t.parent)||nE(t.parent))&&n.isTypeInvalidDueToUnionDiscriminant(e,t.parent)?void 0:e.getProperty(i)});if(r&&(0===o.length||o.length===e.types.length)&&(a=e.getProperty(i)))return[a];return 0===o.length?NT(e.types,function(e){return e.getProperty(i)}):o}function zQ(e){if(Br)return T4(k4(xa(Br.getExecutingFilePath())),po(e));throw new Error("getDefaultLibFilePath is only supported when consumed as a node module. ")}var qQ=e({"src/services/services.ts":function(){function e(e,t,n){this.pos=t,this.end=n,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0,this.kind=e}function t(e,t){this.pos=e,this.end=t,this.flags=0,this.modifierFlagsCache=0,this.transformFlags=0,this.parent=void 0}function n(e,t){this.id=0,this.mergeId=0,this.flags=e,this.escapedName=t}function r(e,t,n){t=i.call(this,t,n)||this;return t.kind=e,t}var i,a,o,s;function c(e,t,n){t=a.call(this,t,n)||this;return t.kind=80,t}function u(e,t,n){t=o.call(this,t,n)||this;return t.kind=81,t}function l(e,t){this.checker=e,this.flags=t}function _(e,t){this.checker=e,this.flags=t}function d(e,t,n){e=s.call(this,e,t,n)||this;return e.kind=312,e}function f(e,t,n){this.fileName=e,this.text=t,this.skipTrivia=n}function p(e){this.host=e}function m(e){this.cancellationToken=e}function g(e,t){void 0===t&&(t=20),this.hostCancellationToken=e,this.throttleWaitMilliseconds=t,this.lastCancellationCheckTime=0}ype(),kW(),cH(),ZX(),XU(),bQ(),iQ="0.8",e.prototype.assertHasRealPosition=function(e){G3.assert(!vm(this.pos)&&!vm(this.end),e||"Node must have a real position for this operation")},e.prototype.getSourceFile=function(){return eT(this)},e.prototype.getStart=function(e,t){return this.assertHasRealPosition(),al(this,e,t)},e.prototype.getFullStart=function(){return this.assertHasRealPosition(),this.pos},e.prototype.getEnd=function(){return this.assertHasRealPosition(),this.end},e.prototype.getWidth=function(e){return this.assertHasRealPosition(),this.getEnd()-this.getStart(e)},e.prototype.getFullWidth=function(){return this.assertHasRealPosition(),this.end-this.pos},e.prototype.getLeadingTriviaWidth=function(e){return this.assertHasRealPosition(),this.getStart(e)-this.pos},e.prototype.getFullText=function(e){return this.assertHasRealPosition(),(e||this.getSourceFile()).text.substring(this.pos,this.end)},e.prototype.getText=function(e){return this.assertHasRealPosition(),(e=e||this.getSourceFile()).text.substring(this.getStart(e),this.getEnd())},e.prototype.getChildCount=function(e){return this.getChildren(e).length},e.prototype.getChildAt=function(e,t){return this.getChildren(t)[e]},e.prototype.getChildren=function(e){return this.assertHasRealPosition("Node without a real position cannot be scanned and thus has no token nodes - use forEachChild and collect the result if that's fine"),this._children||(this._children=kQ(this,e))},e.prototype.getFirstToken=function(e){this.assertHasRealPosition();var t=this.getChildren(e);if(t.length)return(t=q3(t,function(e){return e.kind<316||357=n.length?this.getEnd():t)||n[e+1]-1,this.getFullText());return"\n"===n[t]&&"\r"===n[t-1]?t-1:t},d.prototype.getNamedDeclarations=function(){return this.namedDeclarations||(this.namedDeclarations=this.computeNamedDeclarations()),this.namedDeclarations},d.prototype.computeNamedDeclarations=function(){var n=YT();return this.forEachChild(function e(t){switch(t.kind){case 262:case 218:case 174:case 173:var n=t,r=s(n);r&&(r=o(r),(i=zT(r))&&n.parent===i.parent&&n.symbol===i.symbol?n.body&&!i.body&&(r[r.length-1]=n):r.push(n)),KE(t,e);break;case 263:case 231:case 264:case 265:case 266:case 267:case 271:case 281:case 276:case 273:case 274:case 177:case 178:case 187:a(t),KE(t,e);break;case 169:if(!rT(t,31))break;case 260:case 208:var i=t;if(qC(i.name)){KE(i.name,e);break}i.initializer&&e(i.initializer);case 306:case 172:case 171:a(t);break;case 278:r=t;r.exportClause&&(GP(r.exportClause)?z3(r.exportClause.elements,e):e(r.exportClause.name));break;case 272:n=t.importClause;n&&(n.name&&a(n.name),n.namedBindings)&&(274===n.namedBindings.kind?a(n.namedBindings):z3(n.namedBindings.elements,e));break;case 226:0!==I7(t)&&a(t);default:KE(t,e)}}),n;function a(e){var t=s(e);t&&n.add(t,e)}function o(e){var t=n.get(e);return t||n.set(e,t=[]),t}function s(e){e=zo(e);return e&&(FD(e)&&uT(e.expression)?e.expression.name.text:DC(e)?oz(e):void 0)}},fQ=d,f.prototype.getLineAndCharacterOfPosition=function(e){return D4(this,e)},pQ=f,p.prototype.getCurrentSourceFile=function(e){var t,n,r,i,a=this.host.getScriptSnapshot(e);if(a)return t=sq(e,this.host),n=this.host.getScriptVersion(e),this.currentFileName!==e?r=LQ(e,a,{languageVersion:99,impliedNodeFormat:pO(Bi(e,this.host.getCurrentDirectory(),(null==(r=null==(r=(i=this.host).getCompilerHost)?void 0:r.call(i))?void 0:r.getCanonicalFileName)||vd(this.host)),null==(i=null==(i=null==(r=null==(r=(i=this.host).getCompilerHost)?void 0:r.call(i))?void 0:r.getModuleResolutionCache)?void 0:i.call(r))?void 0:i.getPackageJsonInfoCache(),this.host,this.host.getCompilationSettings()),setExternalModuleIndicator:Np(this.host.getCompilationSettings()),jsDocParsingMode:0},n,!0,t):this.currentFileVersion!==n&&(i=a.getChangeRange(this.currentFileScriptSnapshot),r=jQ(this.currentSourceFile,a,n,i)),r&&(this.currentFileVersion=n,this.currentFileName=e,this.currentFileScriptSnapshot=a,this.currentSourceFile=r),this.currentSourceFile;throw new Error("Could not find file: '"+e+"'.")},mQ=p,gQ={isCancellationRequested:Tn,throwIfCancellationRequested:ya},m.prototype.isCancellationRequested=function(){return this.cancellationToken.isCancellationRequested()},m.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw null!=X3&&X3.instant(X3.Phase.Session,"cancellationThrown",{kind:"CancellationTokenObject"}),new En},hQ=m,g.prototype.isCancellationRequested=function(){var e=mt();return Math.abs(e-this.lastCancellationCheckTime)>=this.throttleWaitMilliseconds&&(this.lastCancellationCheckTime=e,this.hostCancellationToken.isCancellationRequested())},g.prototype.throwIfCancellationRequested=function(){if(this.isCancellationRequested())throw null!=X3&&X3.instant(X3.Phase.Session,"cancellationThrown",{kind:"ThrottledCancellationToken"}),new En},yQ=g,xQ=__spreadArray(__spreadArray([],__read(vQ=["getSemanticDiagnostics","getSuggestionDiagnostics","getCompilerOptionsDiagnostics","getSemanticClassifications","getEncodedSemanticClassifications","getCodeFixesAtPosition","getCombinedCodeFix","applyCodeActionCommand","organizeImports","getEditsForFileRename","getEmitOutput","getApplicableRefactors","getEditsForRefactor","prepareCallHierarchy","provideCallHierarchyIncomingCalls","provideCallHierarchyOutgoingCalls","provideInlayHints","getSupportedCodeFixes"]),!1),["getCompletionsAtPosition","getCompletionEntryDetails","getCompletionEntrySymbol","getSignatureHelpItems","getQuickInfoAtPosition","getDefinitionAtPosition","getDefinitionAndBoundSpan","getImplementationAtPosition","getTypeDefinitionAtPosition","getReferencesAtPosition","findReferences","getDocumentHighlights","getNavigateToItems","getRenameInfo","findRenameLocations","getApplicableRefactors"],!1),fp({getNodeConstructor:function(){return aQ},getTokenConstructor:function(){return cQ},getIdentifierConstructor:function(){return uQ},getPrivateIdentifierConstructor:function(){return lQ},getSourceFileConstructor:function(){return fQ},getSymbolConstructor:function(){return sQ},getTypeConstructor:function(){return _Q},getSignatureConstructor:function(){return dQ},getSourceMapSourceConstructor:function(){return pQ}})}});function UQ(e,t,n){var r=[],e=(n=rW(n,r),$T(e)?e:[e]),n=b9(void 0,void 0,aT,n,e,t,!0);return n.diagnostics=PT(n.diagnostics,r),n}var VQ=e({"src/services/transform.ts":function(){ype()}});function WQ(D,e){if(!D.isDeclarationFile){var t=cJ(D,e),n=D.getLineAndCharacterOfPosition(e).line;if(D.getLineAndCharacterOfPosition(t.getStart(D)).line>n){e=fJ(t.pos,D);if(!e||D.getLineAndCharacterOfPosition(e.getEnd()).line!==n)return;t=e}if(!(33554432&t.flags))return L(t)}function P(e,t){var n=WE(e)?hT(e.modifiers,ED):void 0;return Co(n?E4(D.text,n.end):e.getStart(D),(t||e).getEnd())}function E(e,t){return P(e,dJ(t,t.parent,D))}function A(e,t){return e&&n===D.getLineAndCharacterOfPosition(e.getStart(D)).line?L(e):L(t)}function I(e){return L(fJ(e.pos,D))}function O(e){return L(dJ(e,e.parent,D))}function L(e){if(e){var t=e.parent;switch(e.kind){case 243:return S(e.declarationList.declarations[0]);case 260:case 172:case 171:return S(e);case 169:return function e(t){{var n;return qC(t.name)?N(t.name):k(t)?P(t):(n=t.parent,t=n.parameters.indexOf(t),G3.assert(-1!==t),0!==t?e(n.parameters[t-1]):L(n.body))}}(e);case 262:case 174:case 173:case 177:case 178:case 176:case 218:case 219:var n=e;return n.body?T(n)?P(n):L(n.body):void 0;case 241:if(Hl(e))return r=(n=e).statements.length?n.statements[0]:n.getLastToken(),T(n.parent)?A(n.parent,r):L(r);case 268:return C(e);case 299:return C(e.block);case 244:return P(e.expression);case 253:return P(e.getChildAt(0),e.expression);case 247:return E(e,e.expression);case 246:return L(e.statement);case 259:return P(e.getChildAt(0));case 245:return E(e,e.expression);case 256:return L(e.statement);case 252:case 251:return P(e.getChildAt(0),e.label);case 248:var r=e;return r.initializer?w(r):r.condition?P(r.condition):r.incrementor?P(r.incrementor):void 0;case 249:return E(e,e.expression);case 250:return w(e);case 255:return E(e,e.expression);case 296:case 297:return L(e.statements[0]);case 258:return C(e.tryBlock);case 257:case 277:return P(e,e.expression);case 271:return P(e,e.moduleReference);case 272:case 278:return P(e,e.moduleSpecifier);case 267:if(1!==eA(e))return;case 263:case 266:case 306:case 208:return P(e);case 254:return L(e.statement);case 170:var i=t.modifiers,a=e,o=ED;if(i){var s=i.indexOf(a);if(0<=s){for(var c=s,u=s+1;0O4(n)?"quit":(pP(e)||LD(e)||fP(e)||IP(e))&&Fz(n,WJ(e,t))})}var KY,GY,XY,QY,YY=e({"src/services/codefixes/addMissingAsync.ts":function(){ype(),Goe(),zY="addMissingAsync",qY=[Q3.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,Q3.Type_0_is_not_assignable_to_type_1.code,Q3.Type_0_is_not_comparable_to_type_1.code],NY({fixIds:[zY],errorCodes:qY,getCodeActions:function(t){var i,a,e=t.sourceFile,n=t.errorCode,r=t.cancellationToken,o=t.program,s=t.span,o=q3(o.getTypeChecker().getDiagnostics(e,r),(i=s,a=n,function(e){var t=e.start,n=e.length,r=e.relatedInformation,e=e.code;return ce(t)&&ce(n)&&Fz({start:t,length:n},i)&&e===a&&!!r&&W3(r,function(e){return e.code===Q3.Did_you_mean_to_mark_this_function_as_async.code})})),r=HY(e,o&&o.relatedInformation&&q3(o.relatedInformation,function(e){return e.code===Q3.Did_you_mean_to_mark_this_function_as_async.code}));if(r)return[WY(t,r,function(e){return G.ChangeTracker.with(t,e)})]},getAllCodeActions:function(n){var r=n.sourceFile,i=new Set;return IY(n,qY,function(t,e){e=e.relatedInformation&&q3(e.relatedInformation,function(e){return e.code===Q3.Did_you_mean_to_mark_this_function_as_async.code}),e=HY(r,e);if(e)return WY(n,e,function(e){return e(t),[]},i)})}})}});function $Y(e,t,n,r,i){var a,o,s=oU(e,n);return s&&(e=e,a=t,o=n,t=r,W3(i.getTypeChecker().getDiagnostics(e,t),function(e){var t=e.start,n=e.length,r=e.relatedInformation,e=e.code;return ce(t)&&ce(n)&&Fz({start:t,length:n},o)&&e===a&&!!r&&W3(r,function(e){return e.code===Q3.Did_you_forget_to_use_await.code})}))&&t$(s)?s:void 0}function ZY(e,n,r,i,t,a){var o=e.sourceFile,s=e.program,e=e.cancellationToken,c=function(e,o,s,c,u){var t,n,e=function(e,t){var n,r;if(uT(e.parent)&&cT(e.parent.expression))return{identifiers:[e.parent.expression],isCompleteFix:!0};if(cT(e))return{identifiers:[e],isCompleteFix:!0};if(lT(e)){var i=void 0,a=!0;try{for(var o=__values([e.left,e.right]),s=o.next();!s.done;s=o.next()){var c=s.value,u=t.getTypeAtLocation(c);t.getPromisedTypeOfPromise(u)&&(cT(c)?(i=i||[]).push(c):a=!1)}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i&&{identifiers:i,isCompleteFix:a}}}(e,u);if(e){var l,_=e.isCompleteFix,r=function(i){var e,t,n,a,r=u.getSymbolAtLocation(i);return r?(t=(e=e4(r.valueDeclaration,EP))&&e4(e.name,cT),n=N5(e,243),!(e&&n&&!e.type&&e.initializer&&n.getSourceFile()===o&&!rT(n,32)&&t&&t$(e.initializer))||(a=c.getSemanticDiagnostics(o,s),gue.Core.eachSymbolReferenceInFile(t,u,o,function(e){return i!==e&&(t=o,n=u,r=uT((e=e).parent)?e.parent.name:lT(e.parent)?e.parent:e,!((e=q3(a,function(e){return e.start===r.getStart(t)&&e.start+e.length===r.getEnd()}))&&xT(QY,e.code)||1&n.getTypeAtLocation(r).flags));var t,n,r}))?(_=!1,"continue"):void(l=l||[]).push({expression:e.initializer,declarationSymbol:r})):"continue"};try{for(var i=__values(e.identifiers),a=i.next();!a.done;a=i.next()){var d=a.value;r(d)}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return l&&{initializers:l,needsSecondPassForFixAll:!_}}}(n,o,e,s,i);if(c)return kY("addMissingAwaitToInitializer",t(function(t){z3(c.initializers,function(e){e=e.expression;return n$(t,r,o,i,e,a)}),a&&c.needsSecondPassForFixAll&&n$(t,r,o,i,n,a)}),1===c.initializers.length?[Q3.Add_await_to_initializer_for_0,c.initializers[0].declarationSymbol.name]:Q3.Add_await_to_initializers)}function e$(t,n,r,i,e,a){e=e(function(e){return n$(e,r,t.sourceFile,i,n,a)});return TY(KY,e,Q3.Add_await,KY,Q3.Fix_all_expressions_possibly_missing_await)}function t$(e){return 65536&e.flags||Y3(e,function(e){return e.parent&&pP(e.parent)&&e.parent.body===e||TP(e)&&(262===e.parent.kind||218===e.parent.kind||219===e.parent.kind||174===e.parent.kind)})}function n$(e,t,n,r,i,a){var o,s;if(PP(i.parent)&&!i.parent.awaitModifier){var c=r.getTypeAtLocation(i),u=r.getAsyncIterableType();if(u&&r.isTypeAssignableTo(c,u))return c=i.parent,void e.replaceNode(n,c,aT.updateForOfStatement(c,aT.createToken(135),c.initializer,c.expression,c.statement))}if(lT(i))try{for(var l=__values([i.left,i.right]),_=l.next();!_.done;_=l.next()){var d,f=_.value;if(a&&cT(f))if((d=r.getSymbolAtLocation(f))&&a.has(hA(d)))continue;var p=r.getTypeAtLocation(f),m=r.getPromisedTypeOfPromise(p)?aT.createAwaitExpression(f):f;e.replaceNode(n,f,m)}}catch(e){o={error:e}}finally{try{_&&!_.done&&(s=l.return)&&s.call(l)}finally{if(o)throw o.error}}else if(t===GY&&uT(i.parent)){if(a&&cT(i.parent.expression))if((d=r.getSymbolAtLocation(i.parent.expression))&&a.has(hA(d)))return;e.replaceNode(n,i.parent.expression,aT.createParenthesizedExpression(aT.createAwaitExpression(i.parent.expression))),r$(e,i.parent.expression,n)}else if(xT(XY,t)&&KC(i.parent)){if(a&&cT(i))if((d=r.getSymbolAtLocation(i))&&a.has(hA(d)))return;e.replaceNode(n,i,aT.createParenthesizedExpression(aT.createAwaitExpression(i))),r$(e,i,n)}else{if(a&&EP(i.parent)&&cT(i.parent.name))if((d=r.getSymbolAtLocation(i.parent.name))&&!DT(a,hA(d)))return;e.replaceNode(n,i,aT.createAwaitExpression(i))}}function r$(e,t,n){var r=fJ(t.pos,n);r&&zq(r.end,r.parent,n)&&e.insertText(n,t.getStart(n),";")}var i$,a$,o$=e({"src/services/codefixes/addMissingAwait.ts":function(){ype(),Goe(),KY="addMissingAwait",GY=Q3.Property_0_does_not_exist_on_type_1.code,XY=[Q3.This_expression_is_not_callable.code,Q3.This_expression_is_not_constructable.code],QY=__spreadArray([Q3.An_arithmetic_operand_must_be_of_type_any_number_bigint_or_an_enum_type.code,Q3.The_left_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,Q3.The_right_hand_side_of_an_arithmetic_operation_must_be_of_type_any_number_bigint_or_an_enum_type.code,Q3.Operator_0_cannot_be_applied_to_type_1.code,Q3.Operator_0_cannot_be_applied_to_types_1_and_2.code,Q3.This_comparison_appears_to_be_unintentional_because_the_types_0_and_1_have_no_overlap.code,Q3.This_condition_will_always_return_true_since_this_0_is_always_defined.code,Q3.Type_0_is_not_an_array_type.code,Q3.Type_0_is_not_an_array_type_or_a_string_type.code,Q3.Type_0_can_only_be_iterated_through_when_using_the_downlevelIteration_flag_or_with_a_target_of_es2015_or_higher.code,Q3.Type_0_is_not_an_array_type_or_a_string_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,Q3.Type_0_is_not_an_array_type_or_does_not_have_a_Symbol_iterator_method_that_returns_an_iterator.code,Q3.Type_0_must_have_a_Symbol_iterator_method_that_returns_an_iterator.code,Q3.Type_0_must_have_a_Symbol_asyncIterator_method_that_returns_an_async_iterator.code,Q3.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,GY],__read(XY),!1),NY({fixIds:[KY],errorCodes:QY,getCodeActions:function(t){var e,n,r=t.sourceFile,i=t.errorCode,r=$Y(r,i,t.span,t.cancellationToken,t.program);if(r)return e=t.program.getTypeChecker(),je([ZY(t,r,i,e,n=function(e){return G.ChangeTracker.with(t,e)}),e$(t,r,i,e,n)])},getAllCodeActions:function(i){var a=i.sourceFile,o=i.program,s=i.cancellationToken,c=i.program.getTypeChecker(),u=new Set;return IY(i,QY,function(t,e){var n,r=$Y(a,e.code,e,s,o);if(r)return ZY(i,r,e.code,c,n=function(e){return e(t),[]},u)||e$(i,r,e.code,c,n,u)})}})}});function s$(e,t,n,r,i){var n=cJ(t,n),a=Y3(n,function(e){return ew(e.parent)?e.parent.initializer===e:!function(e){switch(e.kind){case 80:case 209:case 210:case 303:case 304:return 1;default:return}}(e)&&"quit"});if(a)return c$(e,a,t,i);var o,a=n.parent;if(lT(a)&&64===a.operatorToken.kind&&wP(a.parent))return c$(e,n,t,i);if(oP(a))return o=r.getTypeChecker(),gT(a.elements,function(e){var t=o;return(e=cT(e)?e:EN(e,!0)&&cT(e.left)?e.left:void 0)&&!t.getSymbolAtLocation(e)})?c$(e,a,t,i):void 0;a=Y3(n,function(e){return!!wP(e.parent)||!function(e){switch(e.kind){case 80:case 226:case 28:return 1;default:return}}(e)&&"quit"});if(a&&function t(e,n){if(!lT(e))return!1;if(28===e.operatorToken.kind)return gT([e.left,e.right],function(e){return t(e,n)});return 64===e.operatorToken.kind&&cT(e.left)&&!n.getSymbolAtLocation(e.left)}(a,r.getTypeChecker()))return c$(e,a,t,i)}function c$(e,t,n,r){r&&!DT(r,t)||e.insertModifierBefore(n,87,t)}var u$,l$,_$=e({"src/services/codefixes/addMissingConst.ts":function(){ype(),Goe(),i$="addMissingConst",NY({errorCodes:a$=[Q3.Cannot_find_name_0.code,Q3.No_value_exists_in_scope_for_the_shorthand_property_0_Either_declare_one_or_provide_an_initializer.code],getCodeActions:function(t){var e=G.ChangeTracker.with(t,function(e){return s$(e,t.sourceFile,t.span.start,t.program)});if(0"),[Q3.Convert_function_expression_0_to_arrow_function,a?a.text:eB]):(e.replaceNode(t,i,aT.createToken(87)),e.insertText(t,a.end," = "),e.insertText(t,o.pos," =>"),[Q3.Convert_function_declaration_0_to_arrow_function,a.text]))}var xte,bte,Ste=e({"src/services/codefixes/fixImplicitThis.ts":function(){ype(),Goe(),gte="fixImplicitThis",NY({errorCodes:hte=[Q3.this_implicitly_has_type_any_because_it_does_not_have_a_type_annotation.code],getCodeActions:function(e){var t,n=e.sourceFile,r=e.program,i=e.span,e=G.ChangeTracker.with(e,function(e){t=vte(e,n,i.start,r.getTypeChecker())});return t?[TY(gte,e,t,gte,Q3.Fix_all_implicit_this_errors)]:B3},fixIds:[gte],getAllCodeActions:function(n){return IY(n,hte,function(e,t){vte(e,t.file,t.start,n.program.getTypeChecker())})}})}});function kte(e,t,n){var r,t=cJ(e,t);return!cT(t)||void 0===(r=Y3(t,qP))||void 0===(r=TD(r.moduleSpecifier)?r.moduleSpecifier.text:void 0)||void 0===(e=null==(e=n.getResolvedModule(e,r,void 0))?void 0:e.resolvedModule)||void 0===(e=n.getSourceFile(e.resolvedFileName))||TU(n,e)||void 0===(n=null==(n=e4(e.symbol.valueDeclaration,rw))?void 0:n.locals)||void 0===(n=n.get(t.escapedText))||void 0===(n=function(e){if(void 0===e.valueDeclaration)return MT(e.declarations);var e=e.valueDeclaration,t=EP(e)?e4(e.parent.parent,CP):void 0;return t&&1===J3(t.declarationList.declarations)?t:e}(n))?void 0:{exportName:{node:t,isTypeOnly:ZF(n)},node:n,moduleSourceFile:e,moduleSpecifier:r}}function Tte(e,t,n,r,i){J3(r)&&(i?wte(e,t,n,i,r):Nte(e,t,n,r))}function Cte(e,t){return hT(e.statements,function(e){return KP(e)&&(t&&e.isTypeOnly||!e.isTypeOnly)})}function wte(e,t,n,r,i){var a=r.exportClause&&GP(r.exportClause)?r.exportClause.elements:aT.createNodeArray([]),t=!(r.isTypeOnly||!fF(t.getCompilerOptions())&&!q3(a,function(e){return e.isTypeOnly}));e.replaceNode(n,r,aT.updateExportDeclaration(r,r.modifiers,r.isTypeOnly,aT.createNamedExports(aT.createNodeArray(__spreadArray(__spreadArray([],__read(a),!1),__read(Fte(i,t)),!1),a.hasTrailingComma)),r.moduleSpecifier,r.attributes))}function Nte(e,t,n,r){e.insertNodeAtEndOfScope(n,n,aT.createExportDeclaration(void 0,!1,aT.createNamedExports(Fte(r,fF(t.getCompilerOptions()))),void 0,void 0))}function Fte(e,t){return aT.createNodeArray(V3(e,function(e){return aT.createExportSpecifier(t&&e.isTypeOnly,void 0,e.node)}))}var Dte,Pte=e({"src/services/codefixes/fixImportNonExportedMember.ts":function(){ype(),Goe(),xte="fixImportNonExportedMember",NY({errorCodes:bte=[Q3.Module_0_declares_1_locally_but_it_is_not_exported.code],fixIds:[xte],getCodeActions:function(e){var t=e.sourceFile,n=e.span,o=e.program,s=kte(t,n.start,o);if(void 0!==s)return t=G.ChangeTracker.with(e,function(e){var t,n,r,i,a;e=e,t=o,r=(n=s).exportName,i=n.node,(a=Cte(n=n.moduleSourceFile,r.isTypeOnly))?wte(e,t,n,a,[r]):eD(i)?e.insertExportModifier(n,i):Nte(e,t,n,[r])}),[TY(xte,t,[Q3.Export_0_from_module_1,s.exportName.node.text,s.moduleSpecifier],xte,Q3.Export_all_referenced_locals)]},getAllCodeActions:function(e){var a=e.program;return EY(G.ChangeTracker.with(e,function(r){var i=new Map;OY(e,bte,function(e){var t,n,e=kte(e.file,e.start,a);void 0!==e&&(t=e.exportName,n=e.node,void 0===Cte(e=e.moduleSourceFile,t.isTypeOnly)&&eD(n)?r.insertExportModifier(e,n):(n=i.get(e)||{typeOnlyExports:[],exports:[]},(t.isTypeOnly?n.typeOnlyExports:n.exports).push(t),i.set(e,n)))}),i.forEach(function(e,t){var n=Cte(t,!0);n&&n.isTypeOnly?(Tte(r,a,t,e.typeOnlyExports,n),Tte(r,a,t,e.exports,Cte(t,!1))):Tte(r,a,t,__spreadArray(__spreadArray([],__read(e.exports),!1),__read(e.typeOnlyExports),!1),n)})}))}})}});var Ete,Ate,Ite=e({"src/services/codefixes/fixIncorrectNamedTupleSyntax.ts":function(){ype(),Goe(),Dte="fixIncorrectNamedTupleSyntax",NY({errorCodes:[Q3.A_labeled_tuple_element_is_declared_as_optional_with_a_question_mark_after_the_name_and_before_the_colon_rather_than_after_the_type.code,Q3.A_labeled_tuple_element_is_declared_as_rest_with_a_before_the_name_rather_than_before_the_type.code],getCodeActions:function(e){var s=e.sourceFile,t=e.span,c=(t=t.start,Y3(cJ(s,t),function(e){return 202===e.kind})),t=G.ChangeTracker.with(e,function(e){var t=s,n=c;if(n){for(var r=n.type,i=!1,a=!1;190===r.kind||191===r.kind||196===r.kind;)190===r.kind?i=!0:191===r.kind&&(a=!0),r=r.type;var o=aT.updateNamedTupleMember(n,n.dotDotDotToken||(a?aT.createToken(26):void 0),n.name,n.questionToken||(i?aT.createToken(58):void 0),r);o!==n&&e.replaceNode(t,n,o)}});return[TY(Dte,t,Q3.Move_labeled_tuple_element_modifiers_to_labels,Dte,Q3.Move_labeled_tuple_element_modifiers_to_labels)]},fixIds:[Dte]})}});function Ote(e,t,n,r){var i,a,t=cJ(e,t),o=t.parent;if(r!==Q3.No_overload_matches_this_call.code&&r!==Q3.Type_0_is_not_assignable_to_type_1.code||tE(o))return r=n.program.getTypeChecker(),uT(o)&&o.name===t?(G3.assert(ps(t),"Expected an identifier for spelling (property access)"),i=r.getTypeAtLocation(o.expression),64&o.flags&&(i=r.getNonNullableType(i)),i=r.getSuggestedSymbolForNonexistentProperty(t,i)):lT(o)&&103===o.operatorToken.kind&&o.left===t&&CD(t)?(a=r.getTypeAtLocation(o.right),i=r.getSuggestedSymbolForNonexistentProperty(t,a)):ND(o)&&o.right===t?(a=r.getSymbolAtLocation(o.left))&&1536&a.flags&&(i=r.getSuggestedSymbolForNonexistentModule(o.right,a)):WP(o)&&o.name===t?(G3.assertNode(t,cT,"Expected an identifier for spelling (import)"),(a=function(e,t,n){if(n&&gw(n.moduleSpecifier)){n=null==(e=t.program.getResolvedModule(e,n.moduleSpecifier.text,YI(e,n.moduleSpecifier)))?void 0:e.resolvedModule;if(n)return t.program.getSourceFile(n.resolvedFileName)}}(e,n,Y3(t,qP)))&&a.symbol&&(i=r.getSuggestedSymbolForNonexistentModule(t,a.symbol))):tE(o)&&o.name===t?(G3.assertNode(t,cT,"Expected an identifier for JSX attribute"),e=Y3(t,sw),n=r.getContextualTypeForArgumentAtIndex(e,0),i=r.getSuggestedSymbolForNonexistentJSXAttribute(t,n)):hN(o)&&LC(o)&&o.name===t?(n=(e=(a=Y3(t,jC))?k5(a):void 0)?r.getTypeAtLocation(e):void 0)&&(i=r.getSuggestedSymbolForNonexistentClassMember(zw(t),n)):(o=iB(t),a=zw(t),G3.assert(void 0!==a,"name should be defined"),i=r.getSuggestedSymbolForNonexistentSymbol(t,a,function(e){var t=0;4&e&&(t|=1920);2&e&&(t|=788968);1&e&&(t|=111551);return t}(o))),void 0===i?void 0:{node:t,suggestedSymbol:i}}function Lte(e,t,n,r,i){var a=H4(r);A4(a,i)||!uT(n.parent)||(i=r.valueDeclaration)&&G4(i)&&CD(i.name)?e.replaceNode(t,n,aT.createIdentifier(a)):e.replaceNode(t,n.parent,aT.createElementAccessExpression(n.parent.expression,aT.createStringLiteral(a)))}var jte,Mte,Rte,Bte,Jte,zte=e({"src/services/codefixes/fixSpelling.ts":function(){ype(),Goe(),Ete="fixSpelling",NY({errorCodes:Ate=[Q3.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,Q3.Property_0_may_not_exist_on_type_1_Did_you_mean_2.code,Q3.Cannot_find_name_0_Did_you_mean_1.code,Q3.Could_not_find_name_0_Did_you_mean_1.code,Q3.Cannot_find_namespace_0_Did_you_mean_1.code,Q3.Cannot_find_name_0_Did_you_mean_the_instance_member_this_0.code,Q3.Cannot_find_name_0_Did_you_mean_the_static_member_1_0.code,Q3._0_has_no_exported_member_named_1_Did_you_mean_2.code,Q3.This_member_cannot_have_an_override_modifier_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,Q3.This_member_cannot_have_a_JSDoc_comment_with_an_override_tag_because_it_is_not_declared_in_the_base_class_0_Did_you_mean_1.code,Q3.No_overload_matches_this_call.code,Q3.Type_0_is_not_assignable_to_type_1.code],getCodeActions:function(e){var t,n,r,i=e.sourceFile,a=e.errorCode,a=Ote(i,e.span.start,e,a);if(a)return t=a.node,n=a.suggestedSymbol,r=cF(e.host.getCompilationSettings()),[TY("spelling",G.ChangeTracker.with(e,function(e){return Lte(e,i,t,n,r)}),[Q3.Change_spelling_to_0,H4(n)],Ete,Q3.Fix_all_detected_spelling_errors)]},fixIds:[Ete],getAllCodeActions:function(r){return IY(r,Ate,function(e,t){var t=Ote(t.file,t.start,r,t.code),n=cF(r.host.getCompilationSettings());t&&Lte(e,r.sourceFile,t.node,t.suggestedSymbol,n)})}})}});function qte(e,t,n){t=e.createSymbol(4,t.escapedText),t.links.type=e.getTypeAtLocation(n),n=Fw([t]);return e.createAnonymousType(void 0,n,[],[],[])}function Ute(e,t,n,r){if(t.body&&TP(t.body)&&1===J3(t.body.statements)){var i=BT(t.body.statements);if(wP(i)&&Vte(e,t,e.getTypeAtLocation(i.expression),n,r))return{declaration:t,kind:0,expression:i.expression,statement:i,commentSource:i.expression};if(Xy(i)&&wP(i.statement)){var a=aT.createObjectLiteralExpression([aT.createPropertyAssignment(i.label,i.statement.expression)]);if(Vte(e,t,qte(e,i.label,i.statement.expression),n,r))return pP(t)?{declaration:t,kind:1,expression:a,statement:i,commentSource:i.statement.expression}:{declaration:t,kind:0,expression:a,statement:i,commentSource:i.statement.expression}}else if(TP(i)&&1===J3(i.statements)){var o=BT(i.statements);if(Xy(o)&&wP(o.statement)){a=aT.createObjectLiteralExpression([aT.createPropertyAssignment(o.label,o.statement.expression)]);if(Vte(e,t,qte(e,o.label,o.statement.expression),n,r))return{declaration:t,kind:0,expression:a,statement:i,commentSource:o}}}}}function Vte(e,t,n,r,i){return i&&(n=(i=e.getSignatureFromDeclaration(t))?(rT(t,1024)&&(n=e.createPromiseType(n)),t=e.createSignature(t,i.typeParameters,i.thisParameter,i.parameters,n,void 0,i.minArgumentCount,i.flags),e.createAnonymousType(void 0,Fw(),[t],[],[])):e.getAnyType()),e.isTypeAssignableTo(n,r)}function Wte(e,t,n,r){var i=cJ(t,n);if(i.parent){var a,o=Y3(i.parent,AC);switch(r){case Q3.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code:return o&&o.body&&o.type&&LB(o.type,i)?Ute(e,o,e.getTypeFromTypeNode(o.type),!1):void 0;case Q3.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code:return o&&uP(o.parent)&&o.body?-1!==(a=o.parent.arguments.indexOf(o))&&(a=e.getContextualTypeForArgumentAtIndex(o.parent,a))?Ute(e,o,a,!0):void 0:void 0;case Q3.Type_0_is_not_assignable_to_type_1.code:return g5(i)&&(D8(i.parent)||tE(i.parent))?(a=function(e){switch(e.kind){case 260:case 169:case 208:case 172:case 303:return e.initializer;case 291:return e.initializer&&(fv(e.initializer)?e.initializer.expression:void 0);case 304:case 171:case 306:case 355:case 348:return}}(i.parent))&&AC(a)&&a.body?Ute(e,a,e.getTypeAtLocation(i.parent),!0):void 0:void 0}}}function Hte(e,t,n,r){hq(n);var i=qq(t);e.replaceNode(t,r,aT.createReturnStatement(n),{leadingTriviaOption:G.LeadingTriviaOption.Exclude,trailingTriviaOption:G.TrailingTriviaOption.Exclude,suffix:i?";":void 0})}function Kte(e,t,n,r,i,a){a=a||Dq(r)?aT.createParenthesizedExpression(r):r;hq(i),xq(i,a),e.replaceNode(t,n.body,a)}function Gte(e,t,n,r){e.replaceNode(t,n.body,aT.createParenthesizedExpression(r))}var Xte,Qte,Yte,$te,Zte,ene=e({"src/services/codefixes/returnValueCorrect.ts":function(){ype(),Goe(),jte="returnValueCorrect",Mte="fixAddReturnStatement",Rte="fixRemoveBracesFromArrowFunctionBody",Bte="fixWrapTheBlockWithParen",NY({errorCodes:Jte=[Q3.A_function_whose_declared_type_is_neither_undefined_void_nor_any_must_return_a_value.code,Q3.Type_0_is_not_assignable_to_type_1.code,Q3.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code],fixIds:[Mte,Rte,Bte],getCodeActions:function(e){var t,n,r,i,a,o,s,c,u,l,_=e.program,d=e.sourceFile,f=e.span.start,p=e.errorCode,_=Wte(_.getTypeChecker(),d,f,p);if(_)return 0===_.kind?H3([(c=e,u=_.expression,l=_.statement,d=G.ChangeTracker.with(c,function(e){return Hte(e,c.sourceFile,u,l)}),TY(jte,d,Q3.Add_a_return_statement,Mte,Q3.Add_all_missing_return_statement))],pP(_.declaration)?(i=e,a=_.declaration,o=_.expression,s=_.commentSource,f=G.ChangeTracker.with(i,function(e){return Kte(e,i.sourceFile,a,o,s,!1)}),TY(jte,f,Q3.Remove_braces_from_arrow_function_body,Rte,Q3.Remove_braces_from_all_arrow_function_bodies_with_relevant_issues)):void 0):[(t=e,n=_.declaration,r=_.expression,p=G.ChangeTracker.with(t,function(e){return Gte(e,t.sourceFile,n,r)}),TY(jte,p,Q3.Wrap_the_following_body_with_parentheses_which_should_be_an_object_literal,Bte,Q3.Wrap_all_object_literal_with_parentheses))]},getAllCodeActions:function(r){return IY(r,Jte,function(e,t){var n=Wte(r.program.getTypeChecker(),t.file,t.start,t.code);if(n)switch(r.fixId){case Mte:Hte(e,t.file,n.expression,n.statement);break;case Rte:pP(n.declaration)&&Kte(e,t.file,n.declaration,n.expression,n.commentSource,!1);break;case Bte:pP(n.declaration)&&Gte(e,t.file,n.declaration,n.expression);break;default:G3.fail(JSON.stringify(r.fixId))}})}})}});function tne(e,t,n,r,i){var t=cJ(e,t),a=t.parent;if(n===Q3.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code)return 19===t.kind&&sP(a)&&uP(a.parent)&&!((n=yT(a.parent.arguments,function(e){return e===a}))<0)&&(c=r.getResolvedSignature(a.parent))&&c.declaration&&c.parameters[n]&&(s=c.parameters[n].valueDeclaration)&&PD(s)&&cT(s.name)&&J3(o=KT(r.getUnmatchedProperties(r.getTypeAtLocation(a),r.getParameterType(c,n),!1,!1)))?{kind:3,token:s.name,properties:o,parentDeclaration:a}:void 0;if(ps(t)){if(cT(t)&&fw(a)&&a.initializer&&sP(a.initializer))return n=r.getContextualType(t)||r.getTypeAtLocation(t),J3(o=KT(r.getUnmatchedProperties(r.getTypeAtLocation(a.initializer),n,!1,!1)))?{kind:3,token:t,properties:o,parentDeclaration:a.initializer}:void 0;if(cT(t)&&sw(t.parent))return s=function(e,t,n){var r,i,a,o,s=e.getContextualType(n.attributes);if(void 0===s)return B3;s=s.getProperties();if(!J3(s))return B3;var c=new Set;try{for(var u=__values(n.attributes.properties),l=u.next();!l.done;l=u.next()){var _=l.value;if(tE(_)&&c.add(uD(_.name)),rE(_)){var d=e.getTypeAtLocation(_.expression);try{a=void 0;for(var f=__values(d.getProperties()),p=f.next();!p.done;p=f.next()){var m=p.value;c.add(m.escapedName)}}catch(e){a={error:e}}finally{try{p&&!p.done&&(o=f.return)&&o.call(f)}finally{if(a)throw a.error}}}}}catch(e){r={error:e}}finally{try{l&&!l.done&&(i=u.return)&&i.call(u)}finally{if(r)throw r.error}}return U3(s,function(e){return A4(e.name,t,1)&&!(16777216&e.flags||48&HN(e)||c.has(e.escapedName))})}(r,cF(i.getCompilerOptions()),t.parent),J3(s)?{kind:4,token:t,attributes:s,parentDeclaration:t.parent}:void 0;if(cT(t)){var o=null==(n=r.getContextualType(t))?void 0:n.getNonNullableType();if(o&&16&iT(o))return void 0===(c=MT(r.getSignaturesOfType(o,0)))?void 0:{kind:5,token:t,signature:c,sourceFile:e,parentDeclaration:mne(t)};if(uP(a)&&a.expression===t)return{kind:2,token:t,call:a,sourceFile:e,modifierFlags:0,parentDeclaration:mne(t)}}if(uT(a)){var s=az(r.getTypeAtLocation(a.expression)),n=s.symbol;if(n&&n.declarations){if(cT(t)&&uP(a.parent)){var o=q3(n.declarations,RP),c=null==o?void 0:o.getSourceFile();if(o&&c&&!TU(i,c))return{kind:2,token:t,call:a.parent,sourceFile:e,modifierFlags:32,parentDeclaration:o};c=q3(n.declarations,_E);if(e.commonJsModuleIndicator)return;if(c&&!TU(i,c))return{kind:2,token:t,call:a.parent,sourceFile:c,modifierFlags:32,parentDeclaration:c}}o=q3(n.declarations,jC);if(o||!CD(t))return(e=o||q3(n.declarations,function(e){return LP(e)||KD(e)}))&&!TU(i,e.getSourceFile())?(c=!KD(e)&&(s.target||s)!==r.getDeclaredTypeOfSymbol(n))&&(CD(t)||LP(e))?void 0:(o=e.getSourceFile(),r=KD(e)?0:(c?256:0)|(mU(t.text)?2:0),c=p7(o),{kind:0,token:t,call:e4(a.parent,uP),modifierFlags:r,parentDeclaration:e,declSourceFile:o,isJSFile:c}):!(r=q3(n.declarations,MP))||1056&s.flags||CD(t)||TU(i,r.getSourceFile())?void 0:{kind:1,token:t,parentDeclaration:r}}}}}function nne(e,t){return t.isJSFile?p4(function(e,t){var n=t.parentDeclaration,r=t.declSourceFile,i=t.modifierFlags,a=t.token;if(!LP(n)&&!KD(n)){t=G.ChangeTracker.with(e,function(e){return rne(e,r,n,a,!!(256&i))});if(0!==t.length)return e=256&i?Q3.Initialize_static_property_0:CD(a)?Q3.Declare_a_private_field_named_0:Q3.Initialize_property_0_in_the_constructor,TY(Xte,t,[e,a.text],Xte,Q3.Add_all_missing_members)}}(e,t)):(r=e,i=(e=t).parentDeclaration,a=e.declSourceFile,t=e.modifierFlags,e=e.token,o=e.text,s=256&t,c=ane(r.program.getTypeChecker(),i,e),u=[TY(Xte,n(256&t),[s?Q3.Declare_static_property_0:Q3.Declare_property_0,o],Xte,Q3.Add_all_missing_members)],s||CD(e)||(2&t&&u.unshift(kY(Xte,n(2),[Q3.Declare_private_property_0,o])),u.push(function(e,t,n,r,i){var a=aT.createKeywordTypeNode(154),a=aT.createParameterDeclaration(void 0,void 0,"x",void 0,a,void 0),o=aT.createIndexSignature(void 0,[a],i),a=G.ChangeTracker.with(e,function(e){return e.insertMemberAtStart(t,n,o)});return kY(Xte,a,[Q3.Add_index_signature_for_property_0,r])}(r,a,i,e.text,c))),u);function n(t){return G.ChangeTracker.with(r,function(e){return one(e,a,i,o,c,t)})}var r,i,a,o,s,c,u}function rne(e,t,n,r,i){var a=r.text;i?231!==n.kind&&(i=n.name.getText(),i=ine(aT.createIdentifier(i),a),e.insertNodeAfter(t,n,i)):CD(r)?(i=aT.createPropertyDeclaration(void 0,a,void 0,void 0,void 0),(r=sne(n))?e.insertNodeAfter(t,r,i):e.insertMemberAtStart(t,n,i)):(r=eN(n))&&(i=ine(aT.createThis(),a),e.insertNodeAtConstructorEnd(t,r,i))}function ine(e,t){return aT.createExpressionStatement(aT.createAssignment(aT.createPropertyAccessExpression(e,t),pne()))}function ane(e,t,n){var r;return(226===n.parent.parent.kind?(r=n.parent.parent,r=n.parent===r.left?r.right:r.left,r=e.getWidenedType(e.getBaseTypeOfLiteralType(e.getTypeAtLocation(r))),e.typeToTypeNode(r,t,1)):(r=e.getContextualType(n.parent))?e.typeToTypeNode(r,void 0,1):void 0)||aT.createKeywordTypeNode(133)}function one(e,t,n,r,i,a){a=a?aT.createNodeArray(aT.createModifiersFromModifierFlags(a)):void 0,a=jC(n)?aT.createPropertyDeclaration(a,r,void 0,i,void 0):aT.createPropertySignature(void 0,r,void 0,i),r=sne(n);r?e.insertNodeAfter(t,r,a):e.insertMemberAtStart(t,n,a)}function sne(e){var t,n,r;try{for(var i=__values(e.members),a=i.next();!a.done;a=i.next()){var o=a.value;if(!ID(o))break;r=o}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function cne(e,t,n,r,i,a,o){var s=hee(o,e.program,e.preferences,e.host),e=Qie(jC(a)?174:173,e,s,n,r,i,a),n=(r=n,!KD(i=a)&&(r=Y3(r,function(e){return LD(e)||MD(e)}))&&r.parent===i?r:void 0);n?t.insertNodeAfter(o,n,e):t.insertMemberAtStart(o,a,e),s.writeFixes(t)}function une(e,t,n){var r=n.token,n=n.parentDeclaration,i=W3(n.members,function(e){e=t.getTypeAtLocation(e);return!!(e&&402653316&e.flags)}),i=aT.createEnumMember(r,i?aT.createStringLiteral(r.text):void 0);e.replaceNode(n.getSourceFile(),n,aT.updateEnumDeclaration(n,n.modifiers,n.name,PT(n.members,p4(i))),{leadingTriviaOption:G.LeadingTriviaOption.IncludeAll,trailingTriviaOption:G.TrailingTriviaOption.Exclude})}function lne(e,t,n){var r=hz(t.sourceFile,t.preferences),i=hee(t.sourceFile,t.program,t.preferences,t.host),t=2===n.kind?Qie(262,t,i,n.call,$3(n.token),n.modifierFlags,n.parentDeclaration):Xie(262,t,r,n.signature,rae(Q3.Function_not_implemented.message,r),n.token,void 0,void 0,void 0,i);void 0===t&&G3.fail("fixMissingFunctionDeclaration codefix got unexpected error."),Hy(n.parentDeclaration)?e.insertNodeBefore(n.sourceFile,n.parentDeclaration,t,!0):e.insertNodeAtEndOfScope(n.sourceFile,n.parentDeclaration,t),i.writeFixes(e)}function _ne(e,n,r){var i=hee(n.sourceFile,n.program,n.preferences,n.host),a=hz(n.sourceFile,n.preferences),o=n.program.getTypeChecker(),t=r.parentDeclaration.attributes,s=W3(t.properties,rE),c=V3(r.attributes,function(e){var t=fne(n,o,i,a,o.getTypeOfSymbol(e),r.parentDeclaration),e=aT.createIdentifier(e.name),t=aT.createJsxAttribute(e,aT.createJsxExpression(void 0,t));return VF(e,t),t}),s=aT.createJsxAttributes(s?__spreadArray(__spreadArray([],__read(c),!1),__read(t.properties),!1):__spreadArray(__spreadArray([],__read(t.properties),!1),__read(c),!1)),c={prefix:t.pos===t.end?" ":void 0};e.replaceNode(n.sourceFile,t,s,c),i.writeFixes(e)}function dne(e,n,r){var i=hee(n.sourceFile,n.program,n.preferences,n.host),a=hz(n.sourceFile,n.preferences),o=cF(n.program.getCompilerOptions()),s=n.program.getTypeChecker(),t=V3(r.properties,function(e){var t=fne(n,s,i,a,s.getTypeOfSymbol(e),r.parentDeclaration);return aT.createPropertyAssignment(function(e,t,n,r){if(Dw(e)){r=r.symbolToNode(e,111551,void 0,1073741824);if(r&&FD(r))return r}return YF(e.name,t,0===n,!1,!1)}(e,o,a,s),t)}),c={leadingTriviaOption:G.LeadingTriviaOption.Exclude,trailingTriviaOption:G.TrailingTriviaOption.Exclude,indentation:r.indentation};e.replaceNode(n.sourceFile,r.parentDeclaration,aT.createObjectLiteralExpression(__spreadArray(__spreadArray([],__read(r.parentDeclaration.properties),!1),__read(t),!1),!0),c),i.writeFixes(e)}function fne(n,r,i,a,e,o){var t,s;return 3&e.flags?pne():134217732&e.flags?aT.createStringLiteral("",0===a):8&e.flags?aT.createNumericLiteral(0):64&e.flags?aT.createBigIntLiteral("0n"):16&e.flags?aT.createFalse():1056&e.flags?(t=e.symbol.exports?RT(e.symbol.exports.values()):e.symbol,s=r.symbolToExpression(e.symbol.parent||e.symbol,111551,void 0,void 0),void 0===t||void 0===s?aT.createNumericLiteral(0):aT.createPropertyAccessExpression(s,r.symbolToString(t))):256&e.flags?aT.createNumericLiteral(e.value):2048&e.flags?aT.createBigIntLiteral(e.value):128&e.flags?aT.createStringLiteral(e.value,0===a):512&e.flags?e===r.getFalseType()||e===r.getFalseType(!0)?aT.createFalse():aT.createTrue():65536&e.flags?aT.createNull():1048576&e.flags?null!=(s=mT(e.types,function(e){return fne(n,r,i,a,e,o)}))?s:pne():r.isArrayLikeType(e)?aT.createArrayLiteralExpression():524288&(t=e).flags&&(128&iT(t)||t.symbol&&e4(yi(t.symbol.declarations),KD))?(s=V3(r.getPropertiesOfType(e),function(e){var t=fne(n,r,i,a,r.getTypeOfSymbol(e),o);return aT.createPropertyAssignment(e.name,t)}),aT.createObjectLiteralExpression(s,!0)):16&iT(e)?void 0!==q3(e.symbol.declarations||B3,d4(VD,OD,LD))&&void 0!==(s=r.getSignaturesOfType(e,0))&&null!=(s=Xie(218,n,a,s[0],rae(Q3.Function_not_implemented.message,a),void 0,void 0,void 0,o,i))?s:pne():!(1&iT(e))||void 0===(s=YN(e.symbol))||yN(s)||(s=eN(s))&&J3(s.parameters)?pne():aT.createNewExpression(aT.createIdentifier(e.symbol.name),void 0,void 0)}function pne(){return aT.createIdentifier("undefined")}function mne(e){if(Y3(e,fv)){var t=Y3(e.parent,Hy);if(t)return t}return eT(e)}var gne,hne,yne=e({"src/services/codefixes/fixAddMissingMember.ts":function(){ype(),Goe(),Xte="fixMissingMember",Qte="fixMissingProperties",Yte="fixMissingAttributes",$te="fixMissingFunctionDeclaration",NY({errorCodes:Zte=[Q3.Property_0_does_not_exist_on_type_1.code,Q3.Property_0_does_not_exist_on_type_1_Did_you_mean_2.code,Q3.Property_0_is_missing_in_type_1_but_required_in_type_2.code,Q3.Type_0_is_missing_the_following_properties_from_type_1_Colon_2.code,Q3.Type_0_is_missing_the_following_properties_from_type_1_Colon_2_and_3_more.code,Q3.Argument_of_type_0_is_not_assignable_to_parameter_of_type_1.code,Q3.Cannot_find_name_0.code],getCodeActions:function(t){var e,n=t.program.getTypeChecker(),r=tne(t.sourceFile,t.span.start,t.errorCode,n,t.program);if(r)return 3===r.kind?(e=G.ChangeTracker.with(t,function(e){return dne(e,t,r)}),[TY(Qte,e,Q3.Add_missing_properties,Qte,Q3.Add_all_missing_properties)]):4===r.kind?(e=G.ChangeTracker.with(t,function(e){return _ne(e,t,r)}),[TY(Yte,e,Q3.Add_missing_attributes,Yte,Q3.Add_all_missing_attributes)]):2===r.kind||5===r.kind?(e=G.ChangeTracker.with(t,function(e){return lne(e,t,r)}),[TY($te,e,[Q3.Add_missing_function_declaration_0,r.token.text],$te,Q3.Add_all_missing_function_declarations)]):1===r.kind?(e=G.ChangeTracker.with(t,function(e){return une(e,t.program.getTypeChecker(),r)}),[TY(Xte,e,[Q3.Add_missing_enum_member_0,r.token.text],Xte,Q3.Add_all_missing_members)]):PT(function(n,e){var t,r,i=e.parentDeclaration,a=e.declSourceFile,o=e.modifierFlags,s=e.token,c=e.call;if(void 0!==c)return e=s.text,r=[TY(Xte,(t=function(t){return G.ChangeTracker.with(n,function(e){return cne(n,e,c,s,t,i,a)})})(256&o),[256&o?Q3.Declare_static_method_0:Q3.Declare_method_0,e],Xte,Q3.Add_all_missing_members)],2&o&&r.unshift(kY(Xte,t(2),[Q3.Declare_private_method_0,e])),r}(t,r),nne(t,r))},fixIds:[Xte,$te,Qte,Yte],getAllCodeActions:function(u){var e=u.program,r=u.fixId,l=e.getTypeChecker(),i=new Map,_=new Map;return EY(G.ChangeTracker.with(u,function(c){OY(u,Zte,function(e){var t,n,e=tne(e.file,e.start,e.code,l,u.program);e&&$f(i,gA(e.parentDeclaration)+"#"+e.token.text)&&(r!==$te||2!==e.kind&&5!==e.kind?r===Qte&&3===e.kind?dne(c,u,e):r===Yte&&4===e.kind?_ne(c,u,e):(1===e.kind&&une(c,l,e),0===e.kind&&(n=e.parentDeclaration,t=e.token,(n=FT(_,n,function(){return[]})).some(function(e){return e.token.text===t.text})||n.push(e))):lne(c,u,e))}),_.forEach(function(e,t){var n,r,s=KD(t)?void 0:vae(t,l);try{for(var i=__values(e),a=i.next();!a.done;a=i.next())!function(t){if(null!=s&&s.some(function(e){e=_.get(e);return!!e&&e.some(function(e){return e.token.text===t.token.text})}))return;var e=t.parentDeclaration,n=t.declSourceFile,r=t.modifierFlags,i=t.token,a=t.call,o=t.isJSFile;a&&!CD(i)?cne(u,c,a,i,256&r,e,n):!o||LP(e)||KD(e)?(a=ane(l,e,i),one(c,n,e,i.text,a,256&r)):rne(c,n,e,i,!!(256&r))}(a.value)}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}})}))}})}});function vne(e,t,n){var n=t4(function(e,t){var n=cJ(e,t.start),r=O4(t);for(;n.end":">","}":"}"}}});function wre(e,t){e=cJ(e,t);if(e.parent&&NE(e.parent)&&cT(e.parent.name)){var t=e.parent,n=r5(t),r=t5(t);if(n&&r)return{jsDocHost:n,signature:r,name:e.parent.name,jsDocParameterTag:t}}}var Nre,Fre=e({"src/services/codefixes/fixUnmatchedParameter.ts":function(){ype(),Goe(),Sre="deleteUnmatchedParameter",kre="renameUnmatchedParameter",Tre=[Q3.JSDoc_param_tag_has_name_0_but_there_is_no_parameter_with_that_name.code],NY({fixIds:[Sre,kre],errorCodes:Tre,getCodeActions:function(e){var t,n,r,i,a,o=[],s=wre(e.sourceFile,e.span.start);if(s)return H3(o,(t=e,r=(n=s).name,i=s.jsDocHost,a=s.jsDocParameterTag,n=G.ChangeTracker.with(t,function(e){return e.filterJSDocTags(t.sourceFile,i,function(e){return e!==a})}),TY(Sre,n,[Q3.Delete_unused_param_tag_0,r.getText(t.sourceFile)],Sre,Q3.Delete_all_unused_param_tags))),H3(o,function(e,t){var n,r=t.name,i=t.jsDocHost,a=t.signature,o=t.jsDocParameterTag;if(J3(a.parameters)){var s=e.sourceFile,c=oC(a),u=new Set;try{for(var l=__values(c),_=l.next();!_.done;_=l.next()){var d=_.value;NE(d)&&cT(d.name)&&u.add(d.name.escapedText)}}catch(e){n={error:e}}finally{try{_&&!_.done&&(p=l.return)&&p.call(l)}finally{if(n)throw n.error}}var f,p,t=mT(a.parameters,function(e){return cT(e.name)&&!u.has(e.name.escapedText)?e.name.getText(s):void 0});if(void 0!==t)return f=aT.updateJSDocParameterTag(o,o.tagName,aT.createIdentifier(t),o.isBracketed,o.typeExpression,o.isNameFirst,o.comment),p=G.ChangeTracker.with(e,function(e){return e.replaceJSDocComment(s,i,V3(c,function(e){return e===o?f:e}))}),kY(kre,p,[Q3.Rename_param_tag_name_0_to_1,r.getText(s),t])}}(e,s)),o},getAllCodeActions:function(i){var t=new Map;return EY(G.ChangeTracker.with(i,function(r){OY(i,Tre,function(e){e=wre(e.file,e.start);e&&t.set(e.signature,H3(t.get(e.signature),e.jsDocParameterTag))}),t.forEach(function(e,t){var n;i.fixId===Sre&&(n=new Set(e),r.filterJSDocTags(t.getSourceFile(),t,function(e){return!n.has(e)}))})}))}})}});var Dre,Pre,Ere,Are,Ire,Ore,Lre=e({"src/services/codefixes/fixUnreferenceableDecoratorMetadata.ts":function(){ype(),Goe(),Nre="fixUnreferenceableDecoratorMetadata",NY({errorCodes:[Q3.A_type_referenced_in_a_decorated_signature_must_be_imported_with_import_type_or_a_namespace_import_when_isolatedModules_and_emitDecoratorMetadata_are_enabled.code],getCodeActions:function(a){var e,t,n,o=function(e,t,n){if((e=e4(cJ(e,n),cT))&&183===e.parent.kind)return q3((null==(n=t.getTypeChecker().getSymbolAtLocation(e))?void 0:n.declarations)||B3,d4(UP,WP,zP))}(a.sourceFile,a.program,a.span.start);if(o)return e=G.ChangeTracker.with(a,function(e){return 276===o.kind&&(t=a.sourceFile,n=a.program,void $X.doChangeNamedToNamespaceOrDefault(t,n,e,o.parent));var t,n}),t=G.ChangeTracker.with(a,function(e){var t,n,r,i;e=e,t=a.sourceFile,n=o,r=a.program,271===n.kind?e.insertModifierBefore(t,156,n.name):(n=273===n.kind?n:n.parent.parent).name&&n.namedBindings||(i=r.getTypeChecker(),!!W7(n,function(e){if(111551&qf(e.symbol,i).flags)return!0}))||e.insertModifierBefore(t,156,n)}),e.length&&(n=H3(n,kY(Nre,e,Q3.Convert_named_imports_to_namespace_import))),t.length?H3(n,kY(Nre,t,Q3.Use_import_type)):n},fixIds:[Nre]})}});function jre(e,t,n){e.replaceNode(t,n.parent,aT.createKeywordTypeNode(159))}function Mre(e,t){return TY(Dre,e,t,Ere,Q3.Delete_all_unused_declarations)}function Rre(e,t,n){e.delete(t,G3.checkDefined(t4(n.parent,kl).typeParameters,"The type parameter to delete should exist"))}function Bre(e){return 102===e.kind||80===e.kind&&(276===e.parent.kind||273===e.parent.kind)}function Jre(e){return 102===e.kind?e4(e.parent,qP):void 0}function zre(e,t){return AP(t.parent)&&BT(t.parent.getChildren(e))===t}function qre(e,t,n){e.delete(t,243===n.parent.kind?n.parent:n)}function Ure(t,e,n,r){e!==Q3.Property_0_is_declared_but_its_value_is_never_read.code&&cT(r=140===r.kind?t4(r.parent,Sy).typeParameter.name:r)&&function(e){switch(e.parent.kind){case 169:case 168:return 1;case 260:switch(e.parent.parent.parent.kind){case 250:case 249:return 1}}return}(r)&&(t.replaceNode(n,r,aT.createIdentifier("_".concat(r.text))),PD(r.parent))&&$4(r.parent).forEach(function(e){cT(e.name)&&t.replaceNode(n,e.name,aT.createIdentifier("_".concat(e.name.text)))})}function Vre(n,e,r,t,i,a,o,s){if(x=r,b=n,S=t,i=i,a=a,o=o,k=s,PD(T=(v=e).parent)){var c=x,u=b,l=T,_=S,d=i,f=k,p,m;if(function(e,t,n,r,i,a,o){var s,c,u,l,_=n.parent;switch(_.kind){case 174:case 176:var d=_.parameters.indexOf(n),f=LD(_)?_.name:_,f=gue.Core.getReferencedSymbolsForNode(_.pos,f,i,r,a);if(f)try{for(var p=__values(f),m=p.next();!m.done;m=p.next()){var g=m.value;try{u=void 0;for(var h=__values(g.references),y=h.next();!y.done;y=h.next()){var v=y.value;if(v.kind===gue.EntryKind.Node){var x=my(v.node)&&uP(v.node.parent)&&v.node.parent.arguments.length>d,b=uT(v.node.parent)&&my(v.node.parent.expression)&&uP(v.node.parent.parent)&&v.node.parent.parent.arguments.length>d,S=(LD(v.node.parent)||OD(v.node.parent))&&v.node.parent!==n.parent&&v.node.parent.parameters.length>d;if(x||b||S)return}}}catch(e){u={error:e}}finally{try{y&&!y.done&&(l=h.return)&&l.call(h)}finally{if(u)throw u.error}}}}catch(e){s={error:e}}finally{try{m&&!m.done&&(c=p.return)&&c.call(p)}finally{if(s)throw s.error}}return 1;case 262:return!_.name||!function(e,t,n){return gue.Core.eachSymbolReferenceInFile(n,e,t,function(e){return cT(e)&&uP(e.parent)&&e.parent.arguments.includes(e)})}(e,t,_.name)||Hre(_,n,o);case 218:case 219:return Hre(_,n,o);case 178:return;case 177:return 1;default:return G3.failBadSyntaxKind(_)}}(_,u,l,d,a,o,f=void 0===k?!1:f))if(l.modifiers&&0r})}function Hre(e,t,n){e=e.parameters,t=e.indexOf(t);return G3.assert(-1!==t,"The parameter should already be in the list"),n?e.slice(t+1).every(function(e){return cT(e.name)&&!e.symbol.isReferenced}):t===e.length-1}var Kre,Gre,Xre=e({"src/services/codefixes/fixUnusedIdentifier.ts":function(){ype(),Goe(),Dre="unusedIdentifier",Pre="unusedIdentifier_prefix",Ere="unusedIdentifier_delete",Are="unusedIdentifier_deleteImports",Ire="unusedIdentifier_infer",NY({errorCodes:Ore=[Q3._0_is_declared_but_its_value_is_never_read.code,Q3._0_is_declared_but_never_used.code,Q3.Property_0_is_declared_but_its_value_is_never_read.code,Q3.All_imports_in_import_declaration_are_unused.code,Q3.All_destructured_elements_are_unused.code,Q3.All_variables_are_unused.code,Q3.All_type_parameters_are_unused.code],getCodeActions:function(o){var t,e,n,r,i,a=o.errorCode,s=o.sourceFile,c=o.program,u=o.cancellationToken,l=c.getTypeChecker(),_=c.getSourceFiles(),d=cJ(s,o.span.start);return PE(d)?[Mre(G.ChangeTracker.with(o,function(e){return e.delete(s,d)}),Q3.Remove_template_tag)]:30===d.kind?[Mre(i=G.ChangeTracker.with(o,function(e){return Rre(e,s,d)}),Q3.Remove_type_parameters)]:(t=Jre(d))?(i=G.ChangeTracker.with(o,function(e){return e.delete(s,t)}),[TY(Dre,i,[Q3.Remove_import_from_0,Qf(t)],Are,Q3.Delete_all_unused_imports)]):Bre(d)&&(n=G.ChangeTracker.with(o,function(e){return Vre(s,d,e,l,_,c,u,!1)})).length?[TY(Dre,n,[Q3.Remove_unused_declaration_for_Colon_0,d.getText(s)],Are,Q3.Delete_all_unused_imports)]:rP(d.parent)||iP(d.parent)?PD(d.parent.parent)?(e=[1<(e=d.parent.elements).length?Q3.Remove_unused_declarations_for_Colon_0:Q3.Remove_unused_declaration_for_Colon_0,V3(e,function(e){return e.getText(s)}).join(", ")],[Mre(G.ChangeTracker.with(o,function(e){var t,n;t=e,n=s,z3(d.parent.elements,function(e){return t.delete(n,e)})}),e)]):[Mre(G.ChangeTracker.with(o,function(e){var t,n,r,i,a;t=o,e=e,n=s,EP(r=(r=d.parent).parent)&&r.initializer&&HC(r.initializer)?AP(r.parent)&&1D.length?(P=f.getSignatureFromDeclaration(_[_.length-1]),I(S,P,y,O(m),L(t,S))):(G3.assert(_.length===D.length,"Declarations and signatures should match count"),c(function(e,t,n,r,i,a,o,s,c){var u=r[0],l=r[0].minArgumentCount,_=!1;try{for(var d=__values(r),f=d.next();!f.done;f=d.next()){var p=f.value;l=Math.min(p.minArgumentCount,l),SA(p)&&(_=!0),p.parameters.length>=u.parameters.length&&(!SA(p)||SA(u))&&(u=p)}}catch(e){g={error:e}}finally{try{f&&!f.done&&(m=d.return)&&m.call(d)}finally{if(g)throw g.error}}var m=u.parameters.length-(SA(u)?1:0),g=u.parameters.map(function(e){return e.name}),h=tae(m,g,void 0,l,!1);_&&(g=aT.createParameterDeclaration(void 0,aT.createToken(26),g[m]||"rest",l<=m?aT.createToken(58):void 0,aT.createArrayTypeNode(aT.createKeywordTypeNode(159)),void 0),h.push(g));return function(e,t,n,r,i,a,o,s){return aT.createMethodDeclaration(e,void 0,t,n?aT.createToken(58):void 0,r,i,a,s||nae(o))}(o,i,a,void 0,h,function(e,t,n,r){if(J3(e))return e=t.getUnionType(V3(e,t.getReturnTypeOfSignature)),t.typeToTypeNode(e,r,1,Kie(n))}(r,e,t,n),s,c)}(f,o,a,D,O(m),x&&!!(1&u),y,S,t))))}}function I(e,t,n,r,i){e=Xie(174,o,e,t,i,r,n,x&&!!(1&u),a,s);e&&c(e)}function O(e){return cT(e)&&"constructor"===e.escapedText?aT.createComputedPropertyName(aT.createStringLiteral($3(e),0===S)):dq(e,!1)}function L(e,t,n){return n?void 0:dq(e,!1)||nae(t)}function z(e){return dq(e,!1)}}function Xie(e,t,n,r,i,a,o,s,c,u){var l=t.program,_=l.getTypeChecker(),d=cF(l.getCompilerOptions()),f=nT(c),l=_.signatureToSignatureDeclaration(r,e,c,524545|(0===n?268435456:0),Kie(t));if(l)return _=f?void 0:l.typeParameters,r=l.parameters,e=f?void 0:l.type,u&&(_&&_!==(c=TT(_,function(e){var t,n=e.constraint,r=e.default;return n&&(t=cae(n,d))&&(n=t.typeNode,lae(u,t.symbols)),r&&(t=cae(r,d))&&(r=t.typeNode,lae(u,t.symbols)),aT.updateTypeParameterDeclaration(e,e.modifiers,e.name,n,r)}))&&(_=_T(aT.createNodeArray(c,_.hasTrailingComma),_)),r!==(n=TT(r,function(e){var t,n=f?void 0:e.type;return n&&(t=cae(n,d))&&(n=t.typeNode,lae(u,t.symbols)),aT.updateParameterDeclaration(e,e.modifiers,e.dotDotDotToken,e.name,f?void 0:e.questionToken,n,e.initializer)}))&&(r=_T(aT.createNodeArray(n,r.hasTrailingComma),r)),e)&&(t=cae(e,d))&&(e=t.typeNode,lae(u,t.symbols)),c=s?aT.createToken(58):void 0,n=l.asteriskToken,fP(l)?aT.updateFunctionExpression(l,o,l.asteriskToken,e4(a,cT),_,r,e,null!=i?i:l.body):pP(l)?aT.updateArrowFunction(l,o,_,r,e,l.equalsGreaterThanToken,null!=i?i:l.body):LD(l)?aT.updateMethodDeclaration(l,o,n,null!=a?a:aT.createIdentifier(""),c,_,r,e,i):IP(l)?aT.updateFunctionDeclaration(l,o,l.asteriskToken,e4(a,cT),_,r,e,null!=i?i:l.body):void 0}function Qie(e,t,n,r,i,a,o){var s=hz(t.sourceFile,t.preferences),c=cF(t.program.getCompilerOptions()),u=Kie(t),l=t.program.getTypeChecker(),t=nT(o),_=r.typeArguments,d=r.arguments,f=r.parent,r=t?void 0:l.getContextualType(r),p=V3(d,function(e){return cT(e)?e.text:uT(e)&&cT(e.name)?e.name.text:void 0}),m=t?[]:V3(d,function(e){return l.getTypeAtLocation(e)}),n=eae(l,n,m,o,c,1,u),m=n.argumentTypeNodes,c=n.argumentTypeParameters,g=a?aT.createNodeArray(aT.createModifiersFromModifierFlags(a)):void 0,h=Iy(f)?aT.createToken(42):void 0,y=t?void 0:function(n,e,t){var r=new Set(e.map(function(e){return e[0]})),i=new Map(e);if(t)for(var t=t.filter(function(t){return!e.some(function(e){return n.getTypeAtLocation(t)===(null==(e=e[1])?void 0:e.argumentType)})}),a=r.size+t.length,o=0;r.size} */(")):(!n||2&n.flags)&&e.insertText(t,a.parent.parent.expression.end,""))))}var Roe,Boe,Joe,zoe,qoe,Uoe,Voe,Woe,Hoe=e({"src/services/codefixes/fixAddVoidToPromise.ts":function(){ype(),Goe(),Ooe="addVoidToPromise",NY({errorCodes:Loe=[Q3.Expected_1_argument_but_got_0_new_Promise_needs_a_JSDoc_hint_to_produce_a_resolve_that_can_be_called_without_arguments.code,Q3.Expected_0_arguments_but_got_1_Did_you_forget_to_include_void_in_your_type_argument_to_Promise.code],fixIds:[Ooe],getCodeActions:function(t){var e=G.ChangeTracker.with(t,function(e){return Moe(e,t.sourceFile,t.span,t.program)});if(0"),n=WJ(e.tagName),{isGlobalCompletion:!(e={name:t,kind:"class",kindModifiers:void 0,sortText:Joe.LocationPriority}),isMemberCompletion:!0,isNewIdentifierLocation:!1,optionalReplacementSpan:n,entries:[e]}}}(v,e);if(C)return C}C=Y3(g,pv);{var w;C&&(gy(g)||m5(g,C.expression))&&(w=CU(K,C.parent.clauses),T=T.filter(function(e){return!w.hasValue(e)}),m.forEach(function(e,t){e.valueDeclaration&&lE(e.valueDeclaration)&&void 0!==(e=K.getConstantValue(e.valueDeclaration))&&w.hasValue(e)&&(b[t]={kind:256})}))}var N=[],C=lse(e,r);if(!C||y||m&&0!==m.length||0!==x){var F=bse(m,N,void 0,g,v,c,e,t,n,cF(r),i,h,o,r,s,S,R,k,J,U,B,b,W,k,z,j);if(0!==x)try{for(var D=__values(Ise(x,!V&&p7(e))),P=D.next();!P.done;P=D.next()){var E=P.value;(S&&$J(Fa(E.name))||!S&&function(e){return"abstract"===e||"async"===e||"await"===e||"declare"===e||"module"===e||"namespace"===e||"type"===e}(E.name)||!F.has(E.name))&&(F.add(E.name),Q(N,E,nse,!0))}}catch(e){u={error:e}}finally{try{P&&!P.done&&(l=D.return)&&l.call(D)}finally{if(u)throw u.error}}try{for(var A=__values(function(e,t){var n=[];{var r,i,a;e&&(a=e.getSourceFile(),r=e.parent,i=a.getLineAndCharacterOfPosition(e.end).line,a=a.getLineAndCharacterOfPosition(t).line,qP(r)||KP(r)&&r.moduleSpecifier)&&e===r.moduleSpecifier&&i===a&&n.push({name:N4[132],kind:"keyword",kindModifiers:"",sortText:Joe.GlobalsOrKeywords})}return n}(g,c)),I=A.next();!I.done;I=A.next()){E=I.value;F.has(E.name)||(F.add(E.name),Q(N,E,nse,!0))}}catch(e){_={error:e}}finally{try{I&&!I.done&&(d=A.return)&&d.call(A)}finally{if(_)throw _.error}}try{for(var O=__values(T),L=O.next();!L.done;L=O.next()){var G=L.value,X=function(e,t,n){return{name:fse(e,t,n),kind:"string",kindModifiers:"",sortText:Joe.LocationPriority}}(e,o,G);F.add(X.name),Q(N,X,nse,!0)}}catch(e){f={error:e}}finally{try{L&&!L.done&&(p=O.return)&&p.call(O)}finally{if(f)throw f.error}}return C||function(e,n,r,i,a){RQ(e).forEach(function(e,t){e!==n&&(e=V4(t),!r.has(e))&&A4(e,i)&&(r.add(e),Q(a,{name:e,kind:"warning",kindModifiers:"",sortText:Joe.JavascriptIdentifiers,isFromUncheckedFile:!0},nse))})}(e,v.pos,F,cF(r),N),o.includeCompletionsWithInsertText&&g&&!z&&!q&&(m=Y3(g,Zy))&&(i=_se(m,e,o,r,t,n,s))&&N.push(i.entry),{flags:a.flags,isGlobalCompletion:M,isIncomplete:!(!o.allowIncompleteCompletions||!H)||void 0,isMemberCompletion:function(e){switch(e){case 0:case 3:case 2:return!0;default:return!1}}(h),isNewIdentifierLocation:y,optionalReplacementSpan:use(v),entries:N}}}(r,e,t,d,n,m,a,u,i,l);return null!=g&&g.isIncomplete&&null!=p&&p.set(g),g;case 1:return ise(__spreadArray(__spreadArray([],__read(sle.getJSDocTagNameCompletions()),!1),__read(ase(r,i,f,d,a,!0)),!1));case 2:return ise(__spreadArray(__spreadArray([],__read(sle.getJSDocTagCompletions()),!1),__read(ase(r,i,f,d,a,!1)),!1));case 3:return ise(sle.getJSDocParameterNameCompletions(m.tag));case 4:return g=m.keywordCompletions,{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:m.isNewIdentifierLocation,entries:g.slice()};default:return G3.assertNever(m)}}}function nse(e,t){var n,r=Te(e.sortText,t.sortText);return 0===(r=0===(r=0===r?Te(e.name,t.name):r)&&null!=(n=e.data)&&n.moduleSpecifier&&null!=(n=t.data)&&n.moduleSpecifier?fm(e.data.moduleSpecifier,t.data.moduleSpecifier):r)?-1:r}function rse(e){return null!=e&&e.moduleSpecifier}function ise(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!1,entries:e}}function ase(e,t,a,o,s,c){var n,u,l,_,r=cJ(e,t);return(Ec(r)||kv(r))&&(r=kv(r)?r:r.parent,kv(r))&&PC(n=r.parent)?(u=p7(e),l=s.includeCompletionsWithSnippetText||void 0,_=ST(r.tags,function(e){return NE(e)&&e.getEnd()<=t}),NT(n.parameters,function(e){var t,n,r,i;if(!$4(e).length)return cT(e.name)?(r=sse(i=e.name.text,e.initializer,e.dotDotDotToken,u,!1,!1,a,o,s),i=l?sse(i,e.initializer,e.dotDotDotToken,u,!1,!0,a,o,s,{tabstop:1}):void 0,c&&(r=r.slice(1),i=i&&i.slice(1)),{name:r,kind:"parameter",sortText:Joe.LocationPriority,insertText:l?i:void 0,isSnippet:l}):e.parent.parameters.indexOf(e)===_?(t=ose(n="param".concat(_),e.name,e.initializer,e.dotDotDotToken,u,!1,a,o,s),n=l?ose(n,e.name,e.initializer,e.dotDotDotToken,u,!0,a,o,s):void 0,r=t.join(hf(o)+"* "),i=null==n?void 0:n.join(hf(o)+"* "),c&&(r=r.slice(1),i=i&&i.slice(1)),{name:r,kind:"parameter",sortText:Joe.LocationPriority,insertText:l?i:void 0,isSnippet:l}):void 0})):[]}function ose(e,t,n,r,f,p,m,g,h){return f?y(e,t,n,r,{tabstop:1}):[sse(e,n,r,f,!1,p,m,g,h,{tabstop:1})];function y(e,t,n,r,i){var a,o;if(rP(t)&&!r){var s={tabstop:i.tabstop},c=sse(e,n,r,f,!0,p,m,g,h,s),u=[];try{for(var l=__values(t.elements),_=l.next();!_.done;_=l.next()){var d=function(e,t,n){{var r;if(!t.propertyName&&cT(t.name)||cT(t.name))return(r=t.propertyName?Nl(t.propertyName):t.name.text)?[sse("".concat(e,".").concat(r),t.initializer,t.dotDotDotToken,f,!1,p,m,g,h,n)]:void 0;if(t.propertyName)return(r=Nl(t.propertyName))&&y("".concat(e,".").concat(r),t.name,t.initializer,t.dotDotDotToken,n)}}(e,_.value,s);if(!d){u=void 0;break}u.push.apply(u,__spreadArray([],__read(d),!1))}}catch(e){a={error:e}}finally{try{_&&!_.done&&(o=l.return)&&o.call(l)}finally{if(a)throw a.error}}if(u)return i.tabstop=s.tabstop,__spreadArray([c],__read(u),!1)}return[sse(e,n,r,f,!1,p,m,g,h,i)]}}function sse(e,t,n,r,i,a,o,s,c,u){var l,_;return a&&G3.assertIsDefined(u),t&&(e=function(e,t){t=t.getText().trim();if(t.includes("\n")||80D4(t,e.getEnd()).line)return{modifiers:0};var r,t=0,i={pos:n,end:n};ID(e.parent)&&e.parent.modifiers&&(t|=98303&CN(e.parent.modifiers),r=e.parent.modifiers.filter(ED)||[],i.pos=Math.min(i.pos,e.parent.modifiers.pos));{var a;(a=function(e){if(NC(e))return e.kind;if(cT(e)){e=W4(e);if(e&&Rs(e))return e}}(e))&&(a=wN(a),t&a||(t|=a,i.pos=Math.min(i.pos,e.pos)))}return{modifiers:t,decorators:r,range:i.pos!==n?i:void 0}}(c,o,s),c=g.modifiers,s=g.range,g=g.decorators,h=64&c&&64&l.modifierFlagsCache,y=[];if(Koe.addNewNodeForMemberSymbol(a,l,o,{program:t,host:e},r,p,function(e){var t=0;h&&(t|=64),LC(e)&&1===f.getMemberOverrideModifierStatus(l,e,a)&&(t|=16),y.length||(m=e.modifierFlagsCache|t),e=aT.replaceModifiers(e,m),y.push(e)},v,Koe.PreserveOptionalFlags.Property,!!h),y.length){var v,t=8192&a.flags,e=17|m,r=c&(e|=t?1024:136);if(c&~e)return;4&m&&1&r&&(m&=-5),0==r||1&r||(m&=-2),m|=r,y=y.map(function(e){return aT.replaceModifiers(e,m)}),null!=g&&g.length&&WE(v=y[y.length-1])&&(y[y.length-1]=aT.replaceDecoratorsAndModifiers(v,g.concat(Y4(v)||[])));d=u?n.printAndFormatSnippetList(131073,aT.createNodeArray(y),o,u):n.printSnippetList(131073,aT.createNodeArray(y),o)}return{insertText:d,filterText:i,isSnippet:_,importAdder:p,eraseRange:s}}}function gse(e,t,n,r,i,a,o,s){var c=o.includeCompletionsWithSnippetText||void 0,u=n.getSourceFile(),e=function(e,t,n,r,i,a){var o=e.getDeclarations();if(o&&o.length){var s=r.getTypeChecker(),o=o[0],c=dq(X4(o),!1),u=s.getWidenedType(s.getTypeOfSymbolAtLocation(e,t)),l=33554432|(0===hz(n,a)?268435456:0);switch(o.kind){case 171:case 172:case 173:case 174:var _,d=1048576&u.flags&&u.types.length<10?s.getUnionType(u.types,2):u;if(1048576&d.flags){var f=U3(d.types,function(e){return 0=N.pos&&i&&r=e.pos;case 25:return 207===n;case 59:return 208===n;case 23:return 207===n;case 21:return 299===n||te(n);case 19:return 266===n;case 30:return 263===n||231===n||264===n||265===n||Us(n);case 126:return 172===n&&!jC(t.parent);case 26:return 169===n||!!t.parent&&207===t.parent.kind;case 125:case 123:case 124:return 169===n&&!MD(t.parent);case 130:return 276===n||281===n||274===n;case 139:case 153:return!qse(e);case 80:if(276===n&&e===t.name&&"type"===e.text)return!1;break;case 86:case 94:case 120:case 100:case 115:case 102:case 121:case 87:case 140:return!0;case 156:return 276!==n;case 42:return PC(e.parent)&&!LD(e.parent)}if(jse(Rse(e))&&qse(e))return!1;if(Z(e)&&(!cT(e)||Bs(Rse(e))||L(e)))return!1;switch(Rse(e)){case 128:case 86:case 87:case 138:case 94:case 100:case 120:case 121:case 123:case 124:case 125:case 126:case 115:return!0;case 134:return ID(e.parent)}if(Y3(e.parent,jC)&&e===l&&ee(e,f))return!1;var r=N5(e.parent,172);if(r&&e!==l&&jC(l.parent.parent)&&f<=l.end){if(ee(e,l.end))return!1;if(64!==e.kind&&(CA(r)||dw(r)))return!0}return g5(e)&&!cE(e.parent)&&!tE(e.parent)&&!((jC(e.parent)||LP(e.parent)||DD(e.parent))&&(e!==l||f>l.end))}(t)||function(e){return 9===e.kind&&"."===(e=e.getFullText()).charAt(e.length-1)}(t)||function(e){if(12===e.kind)return!0;if(32===e.kind&&e.parent){if(m===e.parent&&(286===m.kind||285===m.kind))return!1;if(286===e.parent.kind)return 286!==m.parent.kind;if(287===e.parent.kind||285===e.parent.kind)return!!e.parent.parent&&284===e.parent.parent.kind}return!1}(t)||qh(t),e("getCompletionsAtPosition: isCompletionListBlocker: "+(mt()-r)),t))return e("Returning an empty list because completion was requested in an invalid position."),g?cse(g,i,$()):void 0;var N=b.parent;if(25===b.kind||29===b.kind)switch(k=25===b.kind,T=29===b.kind,N.kind){case 211:var F,S=(F=N).expression;if(Bw(tF(F))||(uP(S)||PC(S))&&S.end===b.pos&&S.getChildCount(h)&&22!==qT(S.getChildren(h)).kind)return;break;case 166:S=N.left;break;case 267:S=N.name;break;case 205:S=N;break;case 236:S=N.getFirstToken(h),G3.assert(102===S.kind||105===S.kind);break;default:return}else if(!u){if(N&&211===N.kind&&(N=(b=N).parent),n.parent===m)switch(n.kind){case 32:284!==n.parent.kind&&286!==n.parent.kind||(m=n);break;case 44:285===n.parent.kind&&(m=n)}switch(N.kind){case 287:44===b.kind&&(z=!0,m=b);break;case 226:if(!Use(N))break;case 285:case 284:case 286:o=!0,30===b.kind&&(_=!0,m=b);break;case 294:case 293:(20===l.kind||80===l.kind&&291===l.parent.kind)&&(o=!0);break;case 291:if(N.initializer===l&&l.end=e.pos&&t<=e.end});if(i){var a,o,s,c=e.text.slice(i.pos,t),c=Zse.exec(c);if(c)return c=__read(c,4),a=c[1],s=c[2],c=c[3],o=k4(e.path),s="path"===s?hce(c,o,gce(n,0,e),r,!0,e.path):"types"===s?Tce(r,n,o,bce(c),gce(n,1,e)):G3.fail(),pce(c,i.pos+a.length,KT(s.values()))}}(e,t,r,i))&&ace(u);if(hJ(e,t,n)&&n&&gw(n)){var u,l=u=sce(e,n,t,a.getTypeChecker(),r,i,s),_=n,d=e,f=i,p=a,m=o,g=r,h=s,y=t,v=c;if(void 0!==l){var x=HJ(_);switch(l.kind){case 0:return ace(l.paths);case 1:var b=[];return bse(l.symbols,b,_,_,d,y,d,f,p,99,m,4,h,g,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,v),{isGlobalCompletion:!1,isMemberCompletion:!0,isNewIdentifierLocation:l.hasIndexSignature,optionalReplacementSpan:x,entries:b};case 2:var S=15===_.kind?96:u4(zw(_),"'")?39:34,b=l.types.map(function(e){return{name:K5(e.value,S),kindModifiers:"",kind:"string",sortText:Joe.LocationPriority,replacementSpan:VJ(_)}});return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:l.isNewIdentifier,optionalReplacementSpan:x,entries:b};default:return G3.assertNever(l)}}}}function ice(e,t,n,r,i,a,o,s,c){if(r&&gw(r))return(n=sce(t,r,n,i,a,o,c))&&function(t,e,n,r,i,a){switch(n.kind){case 0:return(o=q3(n.paths,function(e){return e.name===t}))&&wse(t,oce(o.extension),o.kind,[Hz(t)]);case 1:var o;return(o=q3(n.symbols,function(e){return e.name===t}))&&Cse(o,o.name,i,r,e,a);case 2:return q3(n.types,function(e){return e.value===t})?wse(t,"","string",[Hz(t)]):void 0;default:return G3.assertNever(n)}}(e,r,n,t,i,s)}function ace(e){return{isGlobalCompletion:!1,isMemberCompletion:!1,isNewIdentifierLocation:!0,entries:e.map(function(e){var t=e.name,n=e.kind,r=e.span;return{name:t,kind:n,kindModifiers:oce(e.extension),sortText:Joe.LocationPriority,replacementSpan:r}})}}function oce(e){switch(e){case".d.ts":return".d.ts";case".js":return".js";case".json":return".json";case".jsx":return".jsx";case".ts":return".ts";case".tsx":return".tsx";case".d.mts":return".d.mts";case".mjs":return".mjs";case".mts":return".mts";case".d.cts":return".d.cts";case".cjs":return".cjs";case".cts":return".cts";case".tsbuildinfo":return G3.fail("Extension ".concat(".tsbuildinfo"," is unsupported."));case void 0:return"";default:return G3.assertNever(e)}}function sce(e,t,a,o,n,r,i){var s,c,u,l,_,d,f,p,m=cce(t.parent);switch(m.kind){case 201:var g=cce(m.parent);return 205===g.kind?{kind:0,paths:mce(e,t,n,r,o,i)}:function e(t){switch(t.kind){case 233:case 183:var n=Y3(m,function(e){return e.parent===t});return n?{kind:2,types:_ce(o.getTypeArgumentConstraint(n)),isNewIdentifier:!1}:void 0;case 199:var n=t.indexType,r=t.objectType;return MB(n,a)?lce(o.getTypeFromTypeNode(r)):void 0;case 192:var i,n=e(cce(t.parent));return n?(i=uce(t,m),1===n.kind?{kind:1,symbols:n.symbols.filter(function(e){return!xT(i,e.name)}),hasIndexSignature:n.hasIndexSignature}:{kind:2,types:n.types.filter(function(e){return!xT(i,e.value)}),isNewIdentifier:!1}):void 0;default:return}}(g);case 303:return sP(m.parent)&&m.name===t?(g=o,y=m.parent,(p=g.getContextualType(y))?(h=g.getContextualType(y,4),{kind:1,symbols:Bse(p,h,y,g),hasIndexSignature:Oq(p)}):void 0):b()||b(0);case 212:var h=m.expression,y=m.argumentExpression;return t===f5(y)?lce(o.getTypeAtLocation(h)):void 0;case 213:case 214:case 291:if(!(uP((p=t).parent)&&MT(p.parent.arguments)===p&&cT(p.parent.expression)&&"require"===p.parent.expression.escapedText||S8(m)))return(x=h_e.getArgumentInfoForCompletions(291===m.kind?m.parent:t,a,e))&&(s=x.invocation,c=t,u=x,l=o,_=!1,d=new Map,f=sw(s)?G3.checkDefined(Y3(c.parent,tE)):c,J3(c=wT(l.getCandidateSignaturesForStringLiteralCompletions(s,f),function(e){var t;if(SA(e)||!(u.argumentCount>e.parameters.length))return e=e.getTypeParameterAtPosition(u.argumentIndex),sw(s)&&(t=l.getTypeOfPropertyOfType(e,lD(f.name)))&&(e=t),_=_||!!(4&e.flags),_ce(e,d)}))?{kind:2,types:c,isNewIdentifier:_}:void 0)||b(0);case 272:case 278:case 283:return{kind:0,paths:mce(e,t,n,r,o,i)};case 296:var v=CU(o,m.parent.clauses),x=b();return x?{kind:2,types:x.types.filter(function(e){return!v.hasValue(e.value)}),isNewIdentifier:!1}:void 0;default:return b()||b(0)}function b(e){e=_ce(Pq(t,o,e=void 0===e?4:e));if(e.length)return{kind:2,types:e,isNewIdentifier:!1}}}function cce(e){switch(e.kind){case 196:return l5(e);case 217:return _5(e);default:return e}}function uce(e,t){return NT(e.types,function(e){return e!==t&&tP(e)&&TD(e.literal)?e.literal.text:void 0})}function lce(e){return e&&{kind:1,symbols:U3(e.getApparentProperties(),function(e){return!e.valueDeclaration||!CC(e.valueDeclaration)}),hasIndexSignature:Oq(e)}}function _ce(e,t){return void 0===t&&(t=new Map),e?(e=az(e)).isUnion()?wT(e.types,function(e){return _ce(e,t)}):!e.isStringLiteral()||1024&e.flags||!$f(t,e.value)?B3:[e]:B3}function dce(e,t,n){return{name:e,kind:t,extension:n}}function fce(e){return dce(e,"directory",void 0)}function pce(e,t,n){r=e,i=t,a=-1!==(a=Math.max(r.lastIndexOf(oi),r.lastIndexOf(si)))?a+1:0;var r,i,a,o,s=0==(o=r.length-a)||A4(r.substr(a,o),99)?void 0:To(i+a,o),c=0===e.length?void 0:To(t,e.length);return n.map(function(e){var t=e.name,n=e.kind,e=e.extension;return t.includes(oi)||t.includes(si)?{name:t,kind:n,extension:e,span:c}:{name:t,kind:n,extension:e,span:s}})}function mce(e,t,n,r,i,a){return pce(t.text,t.getStart(e)+1,(e=e,n=n,r=r,i=i,a=a,o=Oi((t=t).text),t=gw(t)?YI(e,t):void 0,s=e.path,c=k4(s),e=gce(n,1,e,i,a,t),function(e){{var t;if(e&&2<=e.length&&46===e.charCodeAt(0))return t=3<=e.length&&46===e.charCodeAt(1)?2:1,47===(e=e.charCodeAt(t))||92===e}return}(o)||!n.baseUrl&&!n.paths&&(pi(o)||fi(o))?function(e,t,n,r,i,a){return n.rootDirs?function(e,t,n,r,i,a,o){var i=i.project||a.getCurrentDirectory(),s=!(a.useCaseSensitiveFileNames&&a.useCaseSensitiveFileNames());return wT(function(e,t,n,r){var i=mT(e=e.map(function(e){return zi(xa(pi(e)?e:T4(t,e)))}),function(e){return Ki(e,n,t,r)?n.substr(e.length):void 0});return AT(__spreadArray(__spreadArray([],__read(e.map(function(e){return T4(e,i)})),!1),[n],!1).map(Ji),Fn,xe)}(e,i,n,s),function(e){return KT(hce(t,e,r,a,!0,o).values())})}(n.rootDirs,e,t,a,n,r,i):KT(hce(e,t,a,r,!0,i).values())}(o,c,n,r,s,e):function(o,e,s,c,u,l,t){var n,r,i,a,_=c.baseUrl,d=c.paths,f=nce(),p=_F(c);_&&(y=xa(T4(u.getCurrentDirectory(),_)),hce(o,y,l,u,!1,void 0,f));d&&(y=Fd(c,u),vce(f,o,y,l,u,d));_=bce(o);try{for(var m=__values(function(t,e,n){var r,n=n.getAmbientModules().map(function(e){return G5(e.name)}).filter(function(e){return u4(e,t)&&!e.includes("*")});return void 0===e?n:(r=zi(e),n.map(function(e){return l4(e,r)}))}(o,_,t)),g=m.next();!g.done;g=m.next()){var h=g.value;f.add(dce(h,"external module name",void 0))}}catch(e){n={error:e}}finally{try{g&&!g.done&&(r=m.return)&&r.call(m)}finally{if(n)throw n.error}}if(Tce(u,c,e,_,l,f),dz(p)){var y,v,x=!1;if(void 0===_)try{for(var b=__values(function(e,t){var n,r,i,a;if(!e.readFile||!e.fileExists)return B3;var o=[];try{for(var s=__values(Xq(t,e)),c=s.next();!c.done;c=s.next()){var u=mf(c.value,e);try{i=void 0;for(var l=__values(ece),_=l.next();!_.done;_=l.next()){var d=_.value,f=u[d];if(f)for(var p in f)vi(f,p)&&!u4(p,"@types/")&&o.push(p)}}catch(e){i={error:e}}finally{try{_&&!_.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}return o}(u,e)),S=b.next();!S.done;S=b.next()){var k=dce(S.value,"external module name",void 0);f.has(k.name)||(x=!0,f.add(k))}}catch(e){i={error:e}}finally{try{S&&!S.done&&(a=b.return)&&a.call(b)}finally{if(i)throw i.error}}x||(y=function(e){e=T4(e,"node_modules");Hq(u,e)&&hce(o,e,l,u,!1,void 0,f)},_&&Op(c)&&(v=y,y=function(e){var t=Ai(o),n=(t.shift(),t.shift());if(n){if(u4(n,"@")){var r=t.shift();if(!r)return v(e);n=T4(n,r)}r=T4(e,"node_modules",n),n=T4(r,"package.json");if(Wq(u,n)){var i,a=mf(n,u).exports;if(a)return"object"!=typeof a||null===a?void 0:(n=K(a),t=t.join("/")+(t.length&&Ci(o)?"/":""),i=Cb(c,s),void xce(f,t,r,l,u,n,function(e){return p4(function e(t,n){if("string"==typeof t)return t;if(t&&"object"==typeof t&&!$T(t))for(var r in t)if("default"===r||n.includes(r)||kS(n,r))return r=t[r],e(r,n)}(a[e],i))},xS))}}return v(e)}),ea(e,y))}return KT(f.values())}(o,c,t,n,r,e,i)));var o,s,c}function gce(e,t,n,r,i,a){return{extensionsToSearch:CT(function(e,t){t=t?NT(t.getAmbientModules(),function(e){e=e.name.slice(1,-1);if(e.startsWith("*.")&&!e.includes("/"))return e.slice(1)}):[],t=__spreadArray(__spreadArray([],__read(am(e)),!1),[t],!1);return dz(_F(e))?om(e,t):t}(e,r)),referenceKind:t,importingSourceFile:n,endingPreference:null==i?void 0:i.importModuleSpecifierEnding,resolutionMode:a}}function hce(e,t,n,r,i,a,o){void 0===o&&(o=nce());var s,c,u,l,e=ji(t,e=zi(e=""===(e=Ci(e=Oi(e=void 0===e?"":e))?e:k4(e))?"."+oi:e)),_=Ci(e)?e:k4(e);if(!i){i=Qq(_,r);if(i){var d=mf(i,r).typesVersions;if("object"==typeof d){d=null==(d=vb(d))?void 0:d.paths;if(d){i=k4(i);if(vce(o,e.slice(zi(i).length),i,n,r,d))return o}}}}var f=!(r.useCaseSensitiveFileNames&&r.useCaseSensitiveFileNames());if(Hq(r,_)){e=Vq(r,_,n.extensionsToSearch,void 0,["./*"]);if(e)try{for(var p=__values(e),m=p.next();!m.done;m=p.next()){var g,h,y,v=xa(m.value);a&&0===w4(v,a,t,f)||(h=(g=yce(Di(v),r.getCompilationSettings(),n)).name,y=g.extension,o.add(dce(h,"script",y)))}}catch(e){s={error:e}}finally{try{m&&!m.done&&(c=p.return)&&c.call(p)}finally{if(s)throw s.error}}i=Uq(r,_);if(i)try{for(var x=__values(i),b=x.next();!b.done;b=x.next()){var S=Di(xa(b.value));"@types"!==S&&o.add(fce(S))}}catch(e){u={error:e}}finally{try{b&&!b.done&&(l=x.return)&&l.call(x)}finally{if(u)throw u.error}}}return o}function yce(e,t,n){var r=Pk.tryGetRealFileNameForNonJsDeclarationFileName(e);return r?{name:r,extension:FF(r)}:0===n.referenceKind?{name:e,extension:FF(e)}:3===(r=lm(n.endingPreference,n.resolutionMode,t,n.importingSourceFile))?!S4(e,Tu)&&(n=Pk.tryGetJSExtensionForFile(e,t))?{name:gm(e,n),extension:n}:{name:e,extension:FF(e)}:0!==r&&1!==r||!S4(e,[".js",".jsx",".ts",".tsx",".d.ts"])?(n=Pk.tryGetJSExtensionForFile(e,t))?{name:gm(e,n),extension:n}:{name:e,extension:FF(e)}:{name:pm(e),extension:FF(e)}}function vce(e,t,n,r,i,a){return xce(e,t,n,r,i,K(a),function(e){return a[e]},function(e,t){var n=hm(e),r=hm(t),n=("object"==typeof n?n.prefix:e).length;return r4(("object"==typeof r?r.prefix:t).length,n)})}function xce(t,e,n,r,i,a,o,s){var c,u,l,_=[];try{for(var d=__values(a),f=d.next();!f.done;f=d.next()){var p,m,g,h,y=f.value;"."!==y&&(p=y.replace(/^\.\//,""),(m=o(y))&&(g=hm(p)))&&(!(h="object"==typeof g&&Le(g,e))||void 0!==l&&-1!==s(y,l)||(l=y,_=_.filter(function(e){return!e.matchedPattern})),"string"!=typeof g&&void 0!==l&&1===s(y,l)||_.push({matchedPattern:h,results:function(e,t,n,r,i,a){var o,s;return a4(e,"*")?(o=e.slice(0,e.length-1),void 0!==(s=Oe(n,o))?wT(t,function(e){return Sce(s,r,e,i,a)}):"/"===e[e.length-2]?c(o,"directory"):wT(t,function(e){return null==(e=Sce("",r,e,i,a))?void 0:e.map(function(e){var t=e.name,e=__rest(e,["name"]);return __assign({name:o+t},e)})})):e.includes("*")?B3:c(e,"script");function c(e,t){return u4(e,n)?[{name:Ji(e),kind:t,extension:void 0}]:B3}}(p,m,e,n,r,i).map(function(e){return dce(e.name,e.kind,e.extension)})}))}}catch(e){c={error:e}}finally{try{f&&!f.done&&(u=d.return)&&u.call(d)}finally{if(c)throw c.error}}return _.forEach(function(e){return e.results.forEach(function(e){return t.add(e)})}),void 0!==l}function bce(e){return Cce(e)?Ci(e)?e:k4(e):void 0}function Sce(e,t,n,i,a){if(a.readDirectory){var r,o,s,c,u,n=hm(n);if(void 0!==n&&!ZT(n))return r=ji(n.prefix),o=Ci(n.prefix)?r:k4(r),r=Ci(n.prefix)?"":Di(r),e=(u=Cce(e))?Ci(e)?e:k4(e):void 0,e=u?T4(o,r+e):o,n=(o=xa(n.suffix))&&wd("_"+o),s=n?[gm(o,n),o]:[o],n=xa(T4(t,e)),c=u?n:zi(n)+r,t=o?s.map(function(e){return"**/*"+e}):["./*"],e=NT(Vq(a,n,i.extensionsToSearch,void 0,t),function(e){r=e;var r,e=mT(s,function(e){t=xa(r),e=e;var t,n=u4(t,n=c)&&a4(t,e)?t.slice(n.length,t.length-e.length):void 0;return void 0===n?void 0:kce(n)});if(e)return Cce(e)?fce(Ai(kce(e))[1]):dce((e=yce(e,a.getCompilationSettings(),i)).name,"script",e.extension)}),u=o?B3:NT(Uq(a,n),function(e){return"node_modules"===e?void 0:fce(e)}),__spreadArray(__spreadArray([],__read(e),!1),__read(u),!1)}}function kce(e){return e[0]===oi?e.slice(1):e}function Tce(u,l,e,_,d,f){void 0===f&&(f=nce());var t,n,r,i,p=new Map,a=Kq(function(){return xb(l,u)})||B3;try{for(var o=__values(a),s=o.next();!s.done;s=o.next())g(s.value)}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}try{for(var c=__values(Xq(e,u)),m=c.next();!m.done;m=c.next())g(T4(k4(m.value),"node_modules/@types"))}catch(e){r={error:e}}finally{try{m&&!m.done&&(i=c.return)&&i.call(c)}finally{if(r)throw r.error}}return f;function g(e){var t,n;if(Hq(u,e))try{for(var r=__values(Uq(u,e)),i=r.next();!i.done;i=r.next()){var a,o,s=i.value,c=IS(s);l.types&&!xT(l.types,c)||(void 0===_?p.has(c)||(f.add(dce(c,"external module name",void 0)),p.set(c,!0)):(a=T4(e,s),void 0!==(o=Wp(_,c,vd(u)))&&hce(o,a,d,u,!1,void 0,f)))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}}}function Cce(e){return e.includes(oi)}var wce,Nce,Fce=e({"src/services/stringCompletions.ts":function(){ype(),Ace(),$se={directory:0,script:1,"external module name":2},Zse=/^(\/\/\/\s*n.end);){var c=s+o;0!==s&&no(i.charCodeAt(s-1),99)||c!==a&&no(i.charCodeAt(c),99)||r.push(s),s=i.indexOf(t,s+o+1)}return r}function F(e,t){var n=e.getSourceFile(),r=t.text,n=NT(D(n,r,e),function(e){return e===t||xB(e)&&yB(e,r)===t?Gce(e):void 0});return[{definition:{type:1,node:t},references:n}]}function P(e,t,n,r){void 0===r&&(r=!0),n.cancellationToken.throwIfCancellationRequested(),c(e,e,t,n,r)}function c(e,t,n,r,i){var a,o;if(r.markSearchedSymbols(t,n.allSearchSymbols))try{for(var s=__values(w(t,n.text,e)),c=s.next();!c.done;c=s.next()){var u=c.value,l=(y=h=g=m=p=f=d=_=l=void 0,t),_=u,d=n,f=r,p=i,m=oJ(l,_);if(function(e,t){switch(e.kind){case 81:if(pE(e.parent))return 1;case 80:return e.text.length===t.length;case 15:case 11:var n=e;return(DB(n)||NB(e)||PB(e)||uP(e.parent)&&O7(e.parent)&&e.parent.arguments[1]===e)&&n.text.length===t.length;case 9:return DB(e)&&e.text.length===t.length;case 90:return"default".length===t.length;default:return}}(m,d.text)){if(E(m,f)){var g=f.checker.getSymbolAtLocation(m);if(g){var h=m.parent;if(!WP(h)||h.propertyName!==m)if(XP(h))G3.assert(80===m.kind),A(m,g,h,d,f,p);else{var y=function(i,a,e,n){var r=n.checker;return M(a,e,r,!1,2!==n.options.use||!!n.options.providePrefixAndSuffixTextForRename,function(e,t,n,r){return n&&R(a)!==R(n)&&(n=void 0),i.includes(n||t||e)?{symbol:!t||6&HN(e)?e:t,kind:r}:void 0},function(t){return!i.parents||i.parents.some(function(e){return function t(e,n,r,i){if(e===n)return!0;var a=hA(e)+","+hA(n);var o=r.get(a);if(void 0!==o)return o;r.set(a,!1);o=!!e.declarations&&e.declarations.some(function(e){return M_(e).some(function(e){e=i.getTypeAtLocation(e);return!!e&&!!e.symbol&&t(e.symbol,n,r,i)})});r.set(a,o);return o}(t.parent,e,n.inheritsFromCache,r)})})}(d,g,m,f);if(y){switch(f.specialSearchKind){case 0:p&&O(m,y,f);break;case 1:!function(e,t,n,r){sB(e)&&O(e,n.symbol,r);function i(){return r.referenceAdder(n.symbol)}jC(e.parent)?(G3.assert(90===e.kind||e.parent.name===e),function(e,t,n){var r,i,a=L(e);if(a&&a.declarations)try{for(var o=__values(a.declarations),s=o.next();!s.done;s=o.next()){var c=s.value,u=GB(c,137,t);G3.assert(176===c.kind&&!!u),n(u)}}catch(e){r={error:e}}finally{try{s&&!s.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}e.exports&&e.exports.forEach(function(e){var e=e.valueDeclaration;e&&174===e.kind&&(e=e.body)&&J(e,110,function(e){sB(e)&&n(e)})})}(n.symbol,t,i())):(t=function(e){return of(gB(e).parent)}(e))&&(function(e,t){var n,r,e=L(e.symbol);if(e&&e.declarations)try{for(var i=__values(e.declarations),a=i.next();!a.done;a=i.next()){var o=a.value,s=(G3.assert(176===o.kind),o.body);s&&J(s,108,function(e){oB(e)&&t(e)})}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}(t,i()),function(e,t){var n;!function(e){return L(e.symbol)}(e)&&(e=e.symbol,n=t.createSearch(void 0,e,void 0),k(e,t,n))}(t,r))}(m,l,d,f);break;case 2:!function(e,t,n){O(e,t.symbol,n);var r,i,a=e.parent;if(2!==n.options.use&&jC(a)){G3.assert(a.name===e);var o=n.referenceAdder(t.symbol);try{for(var s=__values(a.members),c=s.next();!c.done;c=s.next()){var u=c.value;Vs(u)&&mN(u)&&u.body&&u.body.forEachChild(function e(t){110===t.kind?o(t):PC(t)||jC(t)||t.forEachChild(e)})}}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=s.return)&&i.call(s)}finally{if(r)throw r.error}}}}(m,d,f);break;default:G3.assertNever(f.specialSearchKind)}nT(m)&&aP(m.parent)&&v7(m.parent.parent.parent)&&!(g=m.parent.symbol)||!function(e,t,n,r){t=Mce(e,t,r.checker,1===n.comingFrom);t&&(n=t.symbol,0===t.kind?z(r.options)||C(n,r):T(e,n,t.exportInfo,r))}(m,g,d,f)}else!function(e,t,n){var r=e.flags,e=e.valueDeclaration,i=n.checker.getShorthandAssignmentValueSymbol(e),e=e&&X4(e);33554432&r||!e||!t.includes(i)||O(e,i,n)}(g,d,f)}}}}else!f.options.implementations&&(f.options.findInStrings&&hJ(l,_)||f.options.findInComments&&qJ(l,_))&&f.addStringOrCommentReference(l.fileName,To(_,d.text.length))}}catch(e){a={error:e}}finally{try{c&&!c.done&&(o=s.return)&&o.call(s)}finally{if(a)throw a.error}}}function E(e,t){return iB(e)&t.searchMeaning}function A(e,t,n,r,i,a,o){G3.assert(!o||!!i.options.providePrefixAndSuffixTextForRename,"If alwaysGetReferences is true, then prefix/suffix text must be enabled");var s=n.parent,c=n.propertyName,u=n.name,s=s.parent,l=I(e,t,n,i.checker);function _(){a&&O(e,l,i)}(o||r.includes(l))&&(c?e===c?(s.moduleSpecifier||_(),a&&2!==i.options.use&&i.markSeenReExportRHS(u)&&O(u,G3.checkDefined(n.symbol),i)):i.markSeenReExportRHS(e)&&_():2===i.options.use&&"default"===u.escapedText||_(),(!z(i.options)||o)&&(t="default"===e.escapedText||"default"===n.name.escapedText?1:0,o=Rce(u=G3.checkDefined(n.symbol),t,i.checker))&&T(e,u,o,i),1===r.comingFrom||!s.moduleSpecifier||c||z(i.options)||(t=i.checker.getExportSpecifierLocalTargetSymbol(n))&&C(t,i))}function I(e,t,n,r){return e=e,a=(i=n).parent,o=n.propertyName,i=n.name,G3.assert(o===e||i===e),(o?o===e:!a.parent.moduleSpecifier)&&r.getExportSpecifierLocalTargetSymbol(n)||t;var i,a,o}function O(e,t,n){var r,i,a,t="kind"in t?t:{kind:void 0,symbol:t},o=t.kind,t=t.symbol;function s(e){!function e(t){switch(t.kind){case 217:return e(t.expression);case 219:case 218:case 210:case 231:case 209:return!0;default:return!1}}(e)||i(e)}2===n.options.use&&90===e.kind||(t=n.referenceAdder(t),n.options.implementations?(i=t,n=n,g5(r=e)&&function(e){return 33554432&e.flags?!LP(e)&&!jP(e):D8(e)?fw(e):AC(e)?e.body:jC(e)||tw(e)}(r.parent)?i(r):80===r.kind&&(304===r.parent.kind&&u(r,n.checker,i),(a=function e(t){return cT(t)||uT(t)?e(t.parent):bP(t)?e4(t.parent.parent,d4(jC,LP)):void 0}(r))?i(a):(a=Y3(r,function(e){return!ND(e.parent)&&!zC(e.parent)&&!Ks(e.parent)}),dw(r=a.parent)&&r.type===a&&n.markSeenContainingTypeReference(r)&&(fw(r)?s(r.initializer):PC(r)&&r.body?241===(a=r.body).kind?C8(a,function(e){e.expression&&s(e.expression)}):s(a):XC(r)&&s(r.expression))))):t(e,o))}function L(e){return e.members&&e.members.get("__constructor")}function j(e){return 80===e.kind&&169===e.parent.kind&&e.parent.name===e}function M(e,t,c,n,r,u,l){var i=BQ(t);if(i){var a=c.getShorthandAssignmentValueSymbol(t.parent);if(a&&n)return u(a,void 0,void 0,3);var o=c.getContextualType(i.parent);if(o=o&&mT(JQ(i,c,o,!0),function(e){return d(e,4)}))return o;i=c;var i=JJ((s=t).parent.parent)?i.getPropertySymbolOfDestructuringAssignment(s):void 0,s=i&&u(i,void 0,void 0,4);if(s)return s;i=a&&u(a,void 0,void 0,3);if(i)return i}s=h(t,e,c);if(s&&(o=u(s,void 0,void 0,1)))return o;a=d(e);if(a)return a;if(e.valueDeclaration&&M4(e.valueDeclaration,e.valueDeclaration.parent))return i=c.getSymbolsOfParameterPropertyDeclaration(t4(e.valueDeclaration,PD),e.name),G3.assert(2===i.length&&!!(1&i[0].flags)&&!!(4&i[1].flags)),d(1&e.flags?i[1]:i[0]);var _,a=ww(e,281);if(!n||a&&!a.propertyName){i=a&&c.getExportSpecifierLocalTargetSymbol(a);if(i)if(o=u(i,void 0,void 0,1))return o}return n?(G3.assert(n),r?(_=f(e,c))&&d(_,4):void 0):(_=void 0,(_=r?Sz(t.parent)?kz(c,t.parent):void 0:f(e,c))&&d(_,4));function d(n,s){return mT(c.getRootSymbols(n),function(t){return u(n,t,void 0,s)||(t.parent&&96&t.parent.flags&&l(t)?(e=t.parent,r=t.name,i=c,a=function(e){return u(n,t,e,s)},o=new Map,function n(e){if(!(96&e.flags&&$f(o,hA(e))))return;return mT(e.declarations,function(e){return mT(M_(e),function(e){var e=i.getTypeAtLocation(e),t=e&&e.symbol&&i.getPropertyOfType(e,r);return e&&t&&(mT(i.getRootSymbols(t),a)||n(e.symbol))})})}(e)):void 0);var e,r,i,a,o})}function f(e,t){e=ww(e,208);if(e&&Sz(e))return kz(t,e)}}function R(e){return!!e.valueDeclaration&&!!(256&TN(e.valueDeclaration))}function B(e,t){var n,r,i=iB(e),a=t.declarations;if(a){var o;do{o=i;try{n=void 0;for(var s=__values(a),c=s.next();!c.done;c=s.next()){var u=rB(c.value);u&i&&(i|=u)}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}}while(i!==o)}return i}function u(e,t,n){var r,i,e=t.getSymbolAtLocation(e),t=t.getShorthandAssignmentValueSymbol(e.valueDeclaration);if(t)try{for(var a=__values(t.getDeclarations()),o=a.next();!o.done;o=a.next()){var s=o.value;1&rB(s)&&n(s)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(i=a.return)&&i.call(a)}finally{if(r)throw r.error}}}function J(e,t,n){KE(e,function(e){e.kind===t&&n(e),J(e,t,n)})}function z(e){return 2===e.use&&e.providePrefixAndSuffixTextForRename}e.eachExportReference=function(e,t,n,r,i,a,o,s){var c,u,l,_,d,f,p,m,n=(e=Ice(e,new Set(e.map(function(e){return e.fileName})),t,n)(r,{exportKind:o?1:0,exportingModuleSymbol:i},!1)).importSearches,i=e.indirectUsers,e=e.singleReferences;try{for(var g=__values(n),h=g.next();!h.done;h=g.next())s(__read(h.value,1)[0])}catch(e){c={error:e}}finally{try{h&&!h.done&&(u=g.return)&&u.call(g)}finally{if(c)throw c.error}}try{for(var y=__values(e),v=y.next();!v.done;v=y.next()){var x=v.value;cT(x)&&nP(x.parent)&&s(x)}}catch(e){l={error:e}}finally{try{v&&!v.done&&(_=y.return)&&_.call(y)}finally{if(l)throw l.error}}try{for(var b=__values(i),S=b.next();!S.done;S=b.next()){var k=S.value;try{p=void 0;for(var T=__values(D(k,o?"default":a)),C=T.next();!C.done;C=T.next()){var w=C.value,N=t.getSymbolAtLocation(w),F=W3(null==N?void 0:N.declarations,function(e){return!!e4(e,HP)});!cT(w)||SC(w.parent)||N!==r&&!F||s(w)}}catch(e){p={error:e}}finally{try{C&&!C.done&&(m=T.return)&&m.call(T)}finally{if(p)throw p.error}}}}catch(e){d={error:e}}finally{try{S&&!S.done&&(f=b.return)&&f.call(b)}finally{if(d)throw d.error}}},e.isSymbolReferencedInFile=function(e,t,n,r){return i(e,t,n,function(){return!0},r=void 0===r?n:r)||!1},e.eachSymbolReferenceInFile=i,e.getTopMostDeclarationNamesInFile=function(e,t){return U3(D(t,e),O_).reduce(function(e,t){var n=function(e){var t=0;for(;e;)e=EB(e),t++;return t}(t);return W3(e.declarationNames)&&n!==e.depth?n"}));break;case 168:r=e;r.modifiers&&o(r.modifiers," "),a(r.name),r.constraint&&(i.push({text:" extends "}),a(r.constraint)),r.default&&(i.push({text:" = "}),a(r.default));break;case 169:n=e;n.modifiers&&o(n.modifiers," "),n.dotDotDotToken&&i.push({text:"..."}),a(n.name),n.questionToken&&i.push({text:"?"}),n.type&&(i.push({text:": "}),a(n.type));break;case 185:r=e;i.push({text:"new "}),r.typeParameters&&(i.push({text:"<"}),o(r.typeParameters,", "),i.push({text:">"})),i.push({text:"("}),o(r.parameters,", "),i.push({text:")"}),i.push({text:" => "}),a(r.type);break;case 186:n=e;i.push({text:"typeof "}),a(n.exprName),n.typeArguments&&(i.push({text:"<"}),o(n.typeArguments,", "),i.push({text:">"}));break;case 187:r=e;i.push({text:"{"}),r.members.length&&(i.push({text:" "}),o(r.members,"; "),i.push({text:" "})),i.push({text:"}"});break;case 188:a(e.elementType),i.push({text:"[]"});break;case 189:i.push({text:"["}),o(e.elements,", "),i.push({text:"]"});break;case 202:n=e;n.dotDotDotToken&&i.push({text:"..."}),a(n.name),n.questionToken&&i.push({text:"?"}),i.push({text:": "}),a(n.type);break;case 190:a(e.type),i.push({text:"?"});break;case 191:i.push({text:"..."}),a(e.type);break;case 192:o(e.types," | ");break;case 193:o(e.types," & ");break;case 194:r=e;a(r.checkType),i.push({text:" extends "}),a(r.extendsType),i.push({text:" ? "}),a(r.trueType),i.push({text:" : "}),a(r.falseType);break;case 195:i.push({text:"infer "}),a(e.typeParameter);break;case 196:i.push({text:"("}),a(e.type),i.push({text:")"});break;case 198:n=e;i.push({text:"".concat(F4(n.operator)," ")}),a(n.type);break;case 199:r=e;a(r.objectType),i.push({text:"["}),a(r.indexType),i.push({text:"]"});break;case 200:n=e;i.push({text:"{ "}),n.readonlyToken&&(40===n.readonlyToken.kind?i.push({text:"+"}):41===n.readonlyToken.kind&&i.push({text:"-"}),i.push({text:"readonly "})),i.push({text:"["}),a(n.typeParameter),n.nameType&&(i.push({text:" as "}),a(n.nameType)),i.push({text:"]"}),n.questionToken&&(40===n.questionToken.kind?i.push({text:"+"}):41===n.questionToken.kind&&i.push({text:"-"}),i.push({text:"?"})),i.push({text:": "}),n.type&&a(n.type),i.push({text:"; }"});break;case 201:a(e.literal);break;case 184:r=e;r.typeParameters&&(i.push({text:"<"}),o(r.typeParameters,", "),i.push({text:">"})),i.push({text:"("}),o(r.parameters,", "),i.push({text:")"}),i.push({text:" => "}),a(r.type);break;case 205:n=e;n.isTypeOf&&i.push({text:"typeof "}),i.push({text:"import("}),a(n.argument),n.assertions&&(i.push({text:", { assert: "}),o(n.assertions.assertClause.elements,", "),i.push({text:" }"})),i.push({text:")"}),n.qualifier&&(i.push({text:"."}),a(n.qualifier)),n.typeArguments&&(i.push({text:"<"}),o(n.typeArguments,", "),i.push({text:">"}));break;case 171:r=e;r.modifiers&&o(r.modifiers," "),a(r.name),r.questionToken&&i.push({text:"?"}),r.type&&(i.push({text:": "}),a(r.type));break;default:G3.failBadSyntaxKind(e)}}}function o(e,n){e.forEach(function(e,t){0...")}(a);case 288:return function(e){e=Co(e.openingFragment.getStart(o),e.closingFragment.getEnd());return qle(e,"code",e,!1,"<>...")}(a);case 285:case 286:return function(e){if(0!==e.properties.length)return Jle(e.getStart(o),e.getEnd(),"code")}(a.attributes);case 228:case 15:return function(e){if(15!==e.kind||0!==e.text.length)return Jle(e.getStart(o),e.getEnd(),"code")}(a);case 207:return n(a,!1,!aP(a.parent),23);case 219:return function(e){if(!(TP(e.body)||dP(e.body)||If(e.body.getFullStart(),e.body.getEnd(),o)))return qle(Co(e.body.getFullStart(),e.body.getEnd()),"code",WJ(e))}(a);case 213:return function(e){if(e.arguments.length){var t=GB(e,21,o),n=GB(e,22,o);if(t&&n&&!If(t.pos,n.pos,o))return zle(t,n,e,o,!1,!0)}}(a);case 217:return function(e){if(!If(e.getStart(),e.getEnd(),o))return qle(Co(e.getStart(),e.getEnd()),"code",WJ(e))}(a);case 275:case 279:case 300:return function(e){if(e.elements.length){var t=GB(e,19,o),n=GB(e,20,o);if(t&&n&&!If(t.pos,n.pos,o))return zle(t,n,e,o,!1,!1)}}(a)}function t(e,t){return n(e,!1,!oP(e.parent)&&!uP(e.parent),t=void 0===t?19:t)}function n(e,t,n,r,i){void 0===t&&(t=!1),void 0===n&&(n=!0),void 0===r&&(r=19),void 0===i&&(i=19===r?20:24);r=GB(a,r,o),i=GB(a,i,o);return r&&i&&zle(r,i,e,o,t,n)}}(e,r))&&a.push(t),o--,uP(e)?(o++,d(e.expression),o--,e.arguments.forEach(d),null!=(t=e.typeArguments)&&t.forEach(d)):NP(e)&&e.elseStatement&&NP(e.elseStatement)?(d(e.expression),d(e.thenStatement),o++,d(e.elseStatement),o--):e.forEachChild(d),o++)}var f,p,m=e,g=n,h=[],t=m.getLineStarts();try{for(var y=__values(t),v=y.next();!v.done;v=y.next()){var x,b,S=v.value,k=m.getLineEndOfPosition(S),T=Mle(m.text.substring(S,k));T&&!FJ(m,S)&&(T[1]?(x=h.pop())&&(x.textSpan.length=k-x.textSpan.start,x.hintSpan.length=k-x.textSpan.start,g.push(x)):(b=Co(m.text.indexOf("//",S),k),h.push(qle(b,"region",b,!1,T[2]||"#region"))))}}catch(e){f={error:e}}finally{try{v&&!v.done&&(p=y.return)&&p.call(y)}finally{if(f)throw f.error}}return n.sort(function(e,t){return e.textSpan.start-t.textSpan.start})}function Mle(e){return u4(e=e.trimStart(),"//")?(e=e.slice(2).trim(),Ale.exec(e)):null}function Rle(e,t,n,r){var i,a,e=$a(t.text,e);if(e){var o=-1,s=-1,c=0,u=t.getFullText();try{for(var l=__values(e),_=l.next();!_.done;_=l.next()){var d=_.value,f=d.kind,p=d.pos,m=d.end;switch(n.throwIfCancellationRequested(),f){case 2:Mle(u.slice(p,m))?(g(),c=0):(0===c&&(o=p),s=m,c++);break;case 3:g(),r.push(Jle(p,m,"comment")),c=0;break;default:G3.assertNever(f)}}}catch(e){i={error:e}}finally{try{_&&!_.done&&(a=l.return)&&a.call(l)}finally{if(i)throw i.error}}g()}function g(){1n+1),e[n+1]}(r.parent,r,a),argumentIndex:0}:(a=XB(r))&&{list:a,argumentIndex:function(e,t){var n,r,i=0;try{for(var a=__values(e.getChildren()),o=a.next();!o.done;o=a.next()){var s=o.value;if(s===t)break;28!==s.kind&&i++}}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i}(a,r)};if(a)return r=a.list,a=a.argumentIndex,t=function(e,t){var e=e.getChildren(),n=ST(e,function(e){return 28!==e.kind});!t&&0=t.getStart(),"Assumed 'position' could not occur before node."),Ps(t))return MJ(t,n,r)?0:e+2;return e+1}(i.parent.templateSpans.indexOf(i),e,t,n),n):void 0):sw(r)?{isTypeParameterList:!1,invocation:{kind:0,node:r},argumentsSpan:To(c=r.attributes.pos,E4(n.text,r.attributes.end,!1)-c),argumentIndex:0,argumentCount:1}:(i=NJ(e,n))?(c=i.called,i=i.nTypeArguments,{isTypeParameterList:!0,invocation:s={kind:1,called:c},argumentsSpan:o=Co(c.getStart(n),e.end),argumentIndex:i,argumentCount:i+1}):void 0}var i,a,o,s=r,c=a_e(e,t,n);if(c)return i=c.list,a=c.argumentIndex,e=c.argumentCount,o=c.argumentsSpan,{isTypeParameterList:!!r.typeArguments&&r.typeArguments.pos===i.pos,invocation:{kind:0,node:s},argumentsSpan:o,argumentIndex:a,argumentCount:e}}function s_e(e){return lT(e.left)?s_e(e.left)+1:2}function c_e(e,t,n){var r=Wh(e.template)?1:e.template.templateSpans.length+1;return 0!==t&&G3.assertLessThan(t,r),{isTypeParameterList:!1,invocation:{kind:0,node:e},argumentsSpan:function(e,t){var e=e.template,n=e.getStart(),r=e.getEnd();228===e.kind&&0===qT(e.templateSpans).literal.getFullWidth()&&(r=E4(t.text,r,!1));return To(n,r-n)}(e,n),argumentIndex:t,argumentCount:r}}function u_e(e){return 0===e.kind?t7(e.node):e.called}function l_e(e){return 0!==e.kind&&1===e.kind?e.called:e.node}function __e(e,t,n,r,i,a){for(var o,s,c=n.isTypeParameterList,u=n.argumentCount,l=n.argumentsSpan,_=n.invocation,n=n.argumentIndex,f=l_e(_),_=2===_.kind?_.symbol:i.getSymbolAtLocation(u_e(_))||a&&(null==(_=t.declaration)?void 0:_.symbol),p=_?rq(i,_,a?r:void 0,void 0):B3,d=V3(e,function(e){return l=p,V3((c?d_e:f_e)(u=e,_=i,d=f,r),function(e){var n,r,i,t=e.isVariadic,a=e.parameters,o=e.prefix,e=e.suffix,o=__spreadArray(__spreadArray([],__read(l),!1),__read(o),!1),e=__spreadArray(__spreadArray([],__read(e),!1),__read((n=u,r=d,i=_,tq(function(e){e.writePunctuation(":"),e.writeSpace(" ");var t=i.getTypePredicateOfSignature(n);t?i.writeTypePredicate(t,r,void 0,e):i.writeType(i.getReturnTypeOfSignature(n),r,void 0,e)}))),!1),s=u.getDocumentationComment(_),c=u.getJsDocTags();return{isVariadic:t,prefixDisplayParts:o,suffixDisplayParts:e,separatorDisplayParts:$le,parameters:a,documentation:s,tags:c}});var u,l,_,d}),m=(0!==n&&G3.assertLessThan(n,u),0),g=0,h=0;h=u){m=g+v;break}v++}}catch(e){o={error:e}}finally{try{b&&!b.done&&(s=x.return)&&s.call(x)}finally{if(o)throw o.error}}}g+=y.length}G3.assert(-1!==m);_={items:T(d,Cn),applicableSpan:l,selectedItemIndex:m,argumentIndex:n,argumentCount:u},a=_.items[m];return a.isVariadic&&(-1<(l=yT(a.parameters,function(e){return e.isRest}))&&ln)break e;var u=yi(Za(e.text,s.end));if(u&&2===u.kind){d=_=l=void 0;for(var l=u.pos,_=u.end,d=(f(l,_),l);47===e.text.charCodeAt(d);)d++;f(d,_)}if(function(e,t,n){if(G3.assert(n.pos<=t),to)break;if(o",joiner:", "})},n.prototype.getOptionsForInsertNodeBefore=function(e,t,n){return aw(e)||LC(e)?{suffix:n?this.newLineCharacter+this.newLineCharacter:this.newLineCharacter}:EP(e)?{suffix:", "}:PD(e)?PD(t)?{suffix:", "}:{}:TD(e)&&qP(e.parent)||ov(e)?{suffix:", "}:WP(e)?{suffix:","+(n?this.newLineCharacter:" ")}:G3.failBadSyntaxKind(e)},n.prototype.insertNodeAtConstructorStart=function(e,t,n){var r=MT(t.body.statements);r&&t.body.multiLine?this.insertNodeBefore(e,r,n):this.replaceConstructorBody(e,t,__spreadArray([n],__read(t.body.statements),!1))},n.prototype.insertNodeAtConstructorStartAfterSuperCall=function(e,t,n){var r=q3(t.body.statements,function(e){return wP(e)&&b8(e.expression)});r&&t.body.multiLine?this.insertNodeAfter(e,r,n):this.replaceConstructorBody(e,t,__spreadArray(__spreadArray([],__read(t.body.statements),!1),[n],!1))},n.prototype.insertNodeAtConstructorEnd=function(e,t,n){var r=zT(t.body.statements);r&&t.body.multiLine?this.insertNodeAfter(e,r,n):this.replaceConstructorBody(e,t,__spreadArray(__spreadArray([],__read(t.body.statements),!1),[n],!1))},n.prototype.replaceConstructorBody=function(e,t,n){this.replaceNode(e,t.body,aT.createBlock(n,!0))},n.prototype.insertNodeAtEndOfScope=function(e,t,n){var r=X_e(e,t.getLastToken(),{});this.insertNodeAt(e,r,n,{prefix:P4(e.text.charCodeAt(t.getLastToken().pos))?this.newLineCharacter:this.newLineCharacter+this.newLineCharacter,suffix:this.newLineCharacter})},n.prototype.insertMemberAtStart=function(e,t,n){this.insertNodeAtStartWorker(e,t,n)},n.prototype.insertNodeAtObjectStart=function(e,t,n){this.insertNodeAtStartWorker(e,t,n)},n.prototype.insertNodeAtStartWorker=function(e,t,n){var r=null!=(r=this.guessIndentationFromExistingMembers(e,t))?r:this.computeIndentationForNewMember(e,t);this.insertNodeAt(e,tde(t).pos,n,this.getInsertNodeAtStartInsertOptions(e,t,r))},n.prototype.guessIndentationFromExistingMembers=function(e,t){var n,r,i,a=t;try{for(var o=__values(tde(t)),s=o.next();!s.done;s=o.next()){var c=s.value;if(wf(a,c,e))return;var u=c.getStart(e),l=gpe.SmartIndenter.findFirstNonWhitespaceColumn(OB(u,e),u,e,this.formatContext.options);if(void 0===i)i=l;else if(l!==i)return;a=c}}catch(e){n={error:e}}finally{try{s&&!s.done&&(r=o.return)&&r.call(o)}finally{if(n)throw n.error}}return i},n.prototype.computeIndentationForNewMember=function(e,t){var t=t.getStart(e);return gpe.SmartIndenter.findFirstNonWhitespaceColumn(OB(t,e),t,e,this.formatContext.options)+(null!=(t=this.formatContext.options.indentSize)?t:4)},n.prototype.getInsertNodeAtStartInsertOptions=function(e,t,n){var r=0===tde(t).length,i=$f(this.classesWithNodesInsertedAtStart,gA(t),{node:t,sourceFile:e}),a=sP(t)&&(!y8(e)||!r);return{indentation:n,prefix:(sP(t)&&y8(e)&&r&&!i?",":"")+this.newLineCharacter,suffix:a?",":LP(t)&&r?";":""}},n.prototype.insertNodeAfterComma=function(e,t,n){var r=this.insertNodeAfterWorker(e,this.nextCommaToken(e,t)||t,n);this.insertNodeAt(e,r,n,this.getInsertNodeAfterOptions(e,t))},n.prototype.insertNodeAfter=function(e,t,n){var r=this.insertNodeAfterWorker(e,t,n);this.insertNodeAt(e,r,n,this.getInsertNodeAfterOptions(e,t))},n.prototype.insertNodeAtEndOfList=function(e,t,n){this.insertNodeAt(e,t.end,n,{prefix:", "})},n.prototype.insertNodesAfter=function(e,t,n){var r=this.insertNodeAfterWorker(e,t,BT(n));this.insertNodesAt(e,r,n,this.getInsertNodeAfterOptions(e,t))},n.prototype.insertNodeAfterWorker=function(e,t,n){var r;return n=n,((AD(r=t)||ID(r))&&Gs(n)&&167===n.name.kind||kc(r)&&kc(n))&&59!==e.text.charCodeAt(t.end-1)&&this.replaceRange(e,yf(t.end),aT.createToken(27)),Y_e(e,t,{})},n.prototype.getInsertNodeAfterOptions=function(e,t){var n=this.getInsertNodeAfterOptionsWorker(t);return __assign(__assign({},n),{prefix:t.end===e.end&&aw(t)?n.prefix?"\n".concat(n.prefix):"\n":n.prefix})},n.prototype.getInsertNodeAfterOptionsWorker=function(e){switch(e.kind){case 263:case 267:return{prefix:this.newLineCharacter,suffix:this.newLineCharacter};case 260:case 11:case 80:return{prefix:", "};case 303:return{suffix:","+this.newLineCharacter};case 95:return{prefix:" "};case 169:return{};default:return G3.assert(aw(e)||Gs(e)),{suffix:this.newLineCharacter}}},n.prototype.insertName=function(e,t,n){var r,i;G3.assert(!t.name),219===t.kind?(r=GB(t,39,e),(i=GB(t,21,e))?(this.insertNodesAt(e,i.getStart(e),[aT.createToken(100),aT.createIdentifier(n)],{joiner:" "}),sde(this,e,r)):(this.insertText(e,BT(t.parameters).getStart(e),"function ".concat(n,"(")),this.replaceRange(e,r,aT.createToken(22))),241!==t.body.kind&&(this.insertNodesAt(e,t.body.getStart(e),[aT.createToken(19),aT.createToken(107)],{joiner:" ",suffix:" "}),this.insertNodesAt(e,t.body.end,[aT.createToken(27),aT.createToken(20)],{joiner:" "}))):(i=GB(t,218===t.kind?100:86,e).end,this.insertNodeAt(e,i,aT.createIdentifier(n),{prefix:" "}))},n.prototype.insertExportModifier=function(e,t){this.insertText(e,t.getStart(e),"export ")},n.prototype.insertImportSpecifierAtIndex=function(e,t,n,r){r=n.elements[r-1];r?this.insertNodeInListAfter(e,r,t):this.insertNodeBefore(e,n.elements[0],t,!If(n.elements[0].getStart(),n.parent.parent.getStart(),e))},n.prototype.insertNodeInListAfter=function(e,t,n,r){if(r=void 0===r?gpe.SmartIndenter.getContainingList(t,e):r){var i=qw(r,t);if(!(i<0)){var a=t.getEnd();if(i!==r.length-1){var o=cJ(e,t.end);o&&$_e(t,o)&&(s=r[i+1],s=K_e(e.text,s.getFullStart()),o="".concat(F4(o.kind)).concat(e.text.substring(o.end,s)),this.insertNodesAt(e,s,[n],{suffix:o}))}else{var s=t.getStart(e),o=OB(s,e),c=void 0,u=!1;if(1===r.length?c=28:(c=$_e(t,l=fJ(t.pos,e))?l.kind:28,u=OB(r[i-1].getStart(e),e)!==o),u=!function(e,t){for(var n=t;n>=jfe;return n}(a,n),0,t),r[i]=function(e,t){var n=1+(e>>t&Mfe);return G3.assert((n&Mfe)==n,"Adding more rules into the sub-bucket than allowed. Maximum allowed is 32 rules."),e&~(Mfe<=t.pos?e.pos:r.end),a.end,function(e){return ope(a,u,_pe.getIndentationForNode(u,a,o,s.options),function(e,t,n){for(var r,i=-1;e;){var a=n.getLineAndCharacterOfPosition(e.getStart(n)).line;if(-1!==i&&a!==i)break;if(_pe.shouldIndentChildNode(t,e,r,n))return t.indentSize;i=a,e=(r=e).parent}return 0}(u,s.options,o),e,s,c,(e=o.parseDiagnostics,n=a,e.length&&(r=e.filter(function(e){return zB(n,e.start,e.start+e.length)}).sort(function(e,t){return e.start-t.start})).length?(i=0,function(e){for(;;){if(i>=r.length)return!1;var t=r[i];if(e.end<=t.start)return!1;if(UB(e.pos,e.end,t.start,t.start+t.length))return!0;i++}}):t),o);function t(){return!1}var n,r,i})}function ope(w,t,e,n,y,r,i,v,N){var x,b,o,s,S,F=r.options,l=r.getRules,j=r.host,_=new lde(N,i,F),k=-1,d=[],r=(y.advance(),y.isOnToken()&&(i=r=N.getLineAndCharacterOfPosition(t.getStart(N)).line,SN(t)&&(i=N.getLineAndCharacterOfPosition(ol(t,N)).line),function f(p,e,t,n,r,i){if(!zB(w,p.getStart(N),p.getEnd()))return;var a=T(p,t,r,i);var m=e;KE(p,function(e){g(e,-1,p,a,t,n,!1)},function(e){s(e,p,t,a)});for(;y.isOnToken()&&y.getTokenFullStart()Math.min(p.end,w.end))break;h(o,p,a,p)}function g(e,t,n,r,i,a,o,s){if(G3.assert(!V5(e)),!Bw(e)&&!Ku(n,e)){var c=e.getStart(N),u=N.getLineAndCharacterOfPosition(c).line,l=u,_=(SN(e)&&(l=N.getLineAndCharacterOfPosition(ol(e,N)).line),-1);if(o&&LB(w,n)&&-1!==(_=M(c,e.end,i,w,t))&&(t=_),zB(w,e.pos,e.end)){if(0!==e.getFullWidth()){for(;y.isOnToken()&&y.getTokenFullStart()w.end)return t;if(d.token.end>c){d.token.pos>c&&y.skipToStartOf(e);break}h(d,p,r,p)}if(y.isOnToken()&&!(y.getTokenFullStart()>=w.end)){if(ws(e)){var d=y.readTokenInfo(e);if(12!==e.kind)return G3.assert(d.token.end===e.end,"Token end is child end"),h(d,p,r,e),t}o=170===e.kind?u:a,i=R(e,u,_,p,r,o);f(e,m,u,l,i.indentation,i.delta),m=p,s&&209===n.kind&&-1===t&&(t=i.indentation)}}}else e.ende.pos)break;d.token.kind===o?(c=N.getLineAndCharacterOfPosition(d.token.pos).line,h(d,t,r,t),i=void 0,i=-1!==k?k:(a=OB(d.token.pos,N),_pe.findFirstNonWhitespaceColumn(a,d.token.pos,N,F)),s=T(t,n,i,F.indentSize)):h(d,t,r,t)}for(var u=-1,l=0;l=w.end&&(n=y.isOnEOF()?y.readEOFTokenRange():y.isOnToken()?y.readTokenInfo(t).token:void 0)&&n.pos===x&&(r=(null==(e=fJ(n.end,N,t))?void 0:e.parent)||o,h(n,N.getLineAndCharacterOfPosition(n.pos).line,r,b,s,o,r,void 0)),d;function M(e,t,n,r,i){if(zB(r,e,t)||JB(r,e,t)){if(-1!==i)return i}else{var r=N.getLineAndCharacterOfPosition(e).line,t=OB(e,N),i=_pe.findFirstNonWhitespaceColumn(t,e,N,F);if(r!==n||e===i)return i<(t=_pe.getBaseIndentation(F))?t:i}return-1}function R(e,t,n,r,i,a){var o=_pe.shouldIndentChildNode(F,e)?F.indentSize:0;return a===t?{indentation:t===S?k:i.getIndentation(),delta:Math.min(F.indentSize,i.getDelta(e)+o)}:-1===n?21===e.kind&&t===S?{indentation:k,delta:i.getDelta(e)}:_pe.childStartsOnTheSameLineWithElseInIfStatement(r,e,t,N)||_pe.childIsUnindentedBranchOfConditionalExpression(r,e,t,N)||_pe.argumentStartsOnSameLineAsPreviousArgument(r,e,t,N)?{indentation:i.getIndentation(),delta:o}:{indentation:i.getIndentation()+i.getDelta(e),delta:o}:{indentation:n,delta:o}}function T(i,a,o,n){return{getIndentationForComment:function(e,t,n){switch(e){case 20:case 24:case 22:return o+s(n)}return-1!==t?t:o},getIndentationForToken:function(e,t,n,r){return!r&&function(e,t,n){switch(t){case 19:case 20:case 22:case 93:case 117:case 60:return;case 44:case 32:switch(n.kind){case 286:case 287:case 285:return}break;case 23:case 24:if(200!==n.kind)return}return a!==e&&(!SN(i)||t!==function(e){if(VE(e)){var t=q3(e.modifiers,NC,yT(e.modifiers,ED));if(t)return t.kind}switch(e.kind){case 263:return 86;case 264:return 120;case 262:return 100;case 266:return 266;case 177:return 139;case 178:return 153;case 174:if(e.asteriskToken)return 42;case 172:case 169:var n=X4(e);if(n)return n.kind}}(i))}(e,t,n)?o+s(n):o},getIndentation:function(){return o},getDelta:s,recomputeIndentation:function(e,t){_pe.shouldIndentChildNode(F,t,i,N)&&(o+=e?F.indentSize:-F.indentSize,n=_pe.shouldIndentChildNode(F,i)?F.indentSize:0)}};function s(e){return _pe.nodeWillIndentChild(F,i,e,N,!0)?n:0}}function C(e,t,n,r){var i,a;try{for(var o=__values(e),s=o.next();!s.done;s=o.next()){var c=s.value,u=LB(w,c);switch(c.kind){case 3:if(u){d=_=l=void 0;var l=c,_=t,d=!n,f=((C=T=k=S=b=x=y=h=g=m=p=f=v=void 0)===(v=void 0)&&(v=!0),N.getLineAndCharacterOfPosition(l.pos).line),p=N.getLineAndCharacterOfPosition(l.end).line;if(f===p)d||E(l.pos,_,!1);else{for(var m=[],g=l.pos,h=f;ho||-1!==(i=function(e,t){var n=t;for(;e<=n&&Ma(N.text.charCodeAt(n));)n--;return n===t?-1:n+1}(a,o))&&(G3.assert(i===a||!Ma(N.text.charCodeAt(i-1))),O(i,o+1-i))}}function I(e,t,n){A(N.getLineAndCharacterOfPosition(e).line,N.getLineAndCharacterOfPosition(t).line+1,n)}function O(e,t){t&&d.push(QJ(e,t,""))}function L(e,t,n){(t||n)&&d.push(QJ(e,t,n))}}function spe(t,n,e,r){var i=Y3(r=void 0===r?cJ(t,n):r,kv),i=(r=i?i.parent:r).getStart(t);if(!(i<=n&&nn.end),function(e,t,n){t=v(t,n),t=t?t.pos:e.getStart(n);return n.getLineAndCharacterOfPosition(t)}(d,e,i)),m=p.line===t.line||y(d,e,t.line,i);if(f){f=null==(f=v(e,i))?void 0:f[0],f=D(e,i,o,!!f&&w(f,i).line>p.line);if(-1!==f)return f+r;if(s=d,c=t,u=m,l=i,_=o,-1!==(f=!iw(g=e)&&!kc(g)||312!==s.kind&&u?-1:x(c,l,_)))return f+r}I(o,d,e,i,a)&&!m&&(r+=o.indentSize);var g=h(d,e,t.line,i),d=(e=d).parent;t=g?i.getLineAndCharacterOfPosition(e.getStart(i)):p}return r+T(o)}function w(e,t){return t.getLineAndCharacterOfPosition(e.getStart(t))}function h(e,t,n,r){return!(!uP(e)||!xT(e.arguments,t))&&D4(r,e.expression.getEnd()).line===n}function y(e,t,n,r){return 245===e.kind&&e.elseStatement===t&&(t=GB(e,93,r),G3.assert(void 0!==t),w(t,r).line===n)}function v(e,t){return e.parent&&N(e.getStart(t),e.getEnd(),e.parent,t)}function N(t,n,r,i){switch(r.kind){case 183:return e(r.typeArguments);case 210:return e(r.properties);case 209:return e(r.elements);case 187:return e(r.members);case 262:case 218:case 219:case 174:case 173:case 179:case 176:case 185:case 180:return e(r.typeParameters)||e(r.parameters);case 177:return e(r.parameters);case 263:case 231:case 264:case 265:case 352:return e(r.typeParameters);case 214:case 213:return e(r.typeArguments)||e(r.arguments);case 261:return e(r.declarations);case 275:case 279:return e(r.elements);case 206:case 207:return e(r.elements)}function e(e){return e&&JB(function(e,t,n){for(var r=e.getChildren(n),i=1;it.text.length)return T(n);if(0===n.indentStyle)return 0;var i=fJ(e,t,void 0,!0);if((u=spe(t,e,i||null))&&3===u.kind)return _=n,u=u,s=D4(c=t,f=e).line-1,u=D4(c,u.pos).line,G3.assert(0<=u),s<=u?A(Uu(u,c),f,c,_):(u=Uu(s,c),s=E(u,f,c,_),f=s.column,_=s.character,0!==f&&42===c.text.charCodeAt(u+_)?f-1:f);if(!i)return T(n);if(OJ(i.kind)&&i.getStart(t)<=e&&e '").concat(s,"'"));var c=z(i.dependencies,a),a=c&&c.version;a&&(c={typingLocation:s,version:new Pn(a)},this.packageNameToTypingLocation.set(o,c))}else this.missingTypingsSet.add(o)}}}this.log.isEnabled()&&this.log.writeLine("Finished processing cache location '".concat(e,"'")),this.knownCachesSet.add(e)}},e.prototype.filterTypings=function(e){var r=this;return NT(e,function(e){var t=ES(e);if(r.missingTypingsSet.has(t))r.log.isEnabled()&&r.log.writeLine("'".concat(e,"':: '").concat(t,"' is in missingTypingsSet - skipping..."));else{var n=UR.validatePackageName(e);if(n!==UR.NameValidationResult.Ok)r.missingTypingsSet.add(t),r.log.isEnabled()&&r.log.writeLine(UR.renderPackageNameValidationFailure(n,e));else if(r.typesRegistry.has(t)){if(!r.packageNameToTypingLocation.get(t)||!UR.isTypingUpToDate(r.packageNameToTypingLocation.get(t),r.typesRegistry.get(t)))return t;r.log.isEnabled()&&r.log.writeLine("'".concat(e,"':: '").concat(t,"' already has an up-to-date typing - skipping..."))}else r.log.isEnabled()&&r.log.writeLine("'".concat(e,"':: Entry for package '").concat(t,"' does not exist in local types registry - skipping..."))}})},e.prototype.ensurePackageDirectoryExists=function(e){var t=T4(e,"package.json");this.log.isEnabled()&&this.log.writeLine("Npm config file: ".concat(t)),this.installTypingHost.fileExists(t)||(this.log.isEnabled()&&this.log.writeLine("Npm config file: '".concat(t,"' is missing, creating new one...")),this.ensureDirectoryExists(e,this.installTypingHost),this.installTypingHost.writeFile(t,'{ "private": true }'))},e.prototype.installTypings=function(m,g,h,e){var y,v,x=this,b=(this.log.isEnabled()&&this.log.writeLine("Installing typings ".concat(JSON.stringify(e))),this.filterTypings(e));0===b.length?(this.log.isEnabled()&&this.log.writeLine("All typings are known to be missing or invalid - no need to install more typings"),this.sendResponse(this.createSetTypings(m,h))):(this.ensurePackageDirectoryExists(g),y=this.installRunCount,this.installRunCount++,this.sendResponse({kind:UM,eventId:y,typingsInstallerVersion:ie,projectName:m.projectName}),v=b.map(Ope),this.installTypingsAsync(y,v,g,function(e){var t,n,r;try{if(e){x.log.isEnabled()&&x.log.writeLine("Installed typings ".concat(JSON.stringify(v)));var i=[];try{for(var a=__values(b),o=a.next();!o.done;o=a.next()){var s,c,u=o.value,l=Epe(g,u,x.installTypingHost,x.log);l?(s=x.typesRegistry.get(u),c={typingLocation:l,version:new Pn(s["ts".concat(xn)]||s[x.latestDistTag])},x.packageNameToTypingLocation.set(u,c),i.push(l)):x.missingTypingsSet.add(u)}}catch(e){r={error:e}}finally{try{o&&!o.done&&(p=a.return)&&p.call(a)}finally{if(r)throw r.error}}x.log.isEnabled()&&x.log.writeLine("Installed typing files ".concat(JSON.stringify(i))),x.sendResponse(x.createSetTypings(m,h.concat(i)))}else{x.log.isEnabled()&&x.log.writeLine("install request failed, marking packages as missing to prevent repeated requests: ".concat(JSON.stringify(b)));try{for(var _=__values(b),d=_.next();!d.done;d=_.next()){var f=d.value;x.missingTypingsSet.add(f)}}catch(e){t={error:e}}finally{try{d&&!d.done&&(n=_.return)&&n.call(_)}finally{if(t)throw t.error}}}}finally{var p={kind:VM,eventId:y,projectName:m.projectName,packagesToInstall:v,installSuccess:e,typingsInstallerVersion:ie};x.sendResponse(p)}}))},e.prototype.ensureDirectoryExists=function(e,t){var n=k4(e);t.directoryExists(n)||this.ensureDirectoryExists(n,t),t.directoryExists(e)||t.createDirectory(e)},e.prototype.watchFiles=function(e,t){var n,r;t.length?(n=this.projectWatchers.get(e),r=new Set(t),!n||Ew(r,function(e){return!n.has(e)})||Ew(n,function(e){return!r.has(e)})?(this.projectWatchers.set(e,r),this.sendResponse({kind:HM,projectName:e,files:t})):this.sendResponse({kind:HM,projectName:e,files:void 0})):this.closeWatchers(e)},e.prototype.createSetTypings=function(e,t){return{projectName:e.projectName,typeAcquisition:e.typeAcquisition,compilerOptions:e.compilerOptions,typings:t,unresolvedImports:e.unresolvedImports,kind:BM}},e.prototype.installTypingsAsync=function(e,t,n,r){this.pendingRunRequests.unshift({requestId:e,packageNames:t,cwd:n,onRequestCompleted:r}),this.executeWithThrottling()},e.prototype.executeWithThrottling=function(){for(var n=this,e=this;this.inFlightRequestCountx.maxDependencies)return s.log("AutoImportProviderProject: attempted to add more than ".concat(x.maxDependencies," dependencies. Aborting.")),{value:B3};var e,n=wb(t,s.currentDirectory,u,c,l.getModuleResolutionCache());if(n&&(e=C(n,l,v)))return d=PT(d,e),y+=e.length?1:0,"continue";if(z3([s.currentDirectory,s.getGlobalTypingsCacheLocation()],function(e){if(e){var e=wb("@types/".concat(t),e,u,c,l.getModuleResolutionCache());if(e)return e=C(e,l,v),d=PT(d,e),y+=null!=e&&e.length?1:0,!0}}))return"continue";n&&u.allowJs&&u.maxNodeModuleJsDepth&&(e=C(n,l,v,!0),d=PT(d,e),y+=null!=e&&e.length?1:0)}(S.value);if("object"==typeof k)return k.value}}catch(e){n={error:e}}finally{try{S&&!S.done&&(i=b.return)&&i.call(b)}finally{if(n)throw n.error}}}return null!=d&&d.length&&s.log("AutoImportProviderProject: found ".concat(d.length," root files in ").concat(y," dependencies in ").concat(mt()-f," ms")),d||B3;function T(e){u4(e,"@types/")||(_=_||new Set).add(e)}function C(n,r,e,t){var i,a,o,t=lS(n,u,c,r.getModuleResolutionCache(),t);if(t)return a=(i=null==(a=c.realpath)?void 0:a.call(c,n.packageDirectory))?s.toPath(i):void 0,(o=a&&a!==s.toPath(n.packageDirectory))&&e.setSymlinkedDirectory(n.packageDirectory,{real:zi(i),realPath:zi(a)}),NT(t,function(e){var t=o?e.replace(n.packageDirectory,i):e;if(!(r.getSourceFile(t)||o&&r.getSourceFile(e)))return t})}},l.create=function(e,t,n,r){if(0!==e){var i=__assign(__assign({},t.getCompilerOptions()),this.compilerOptionsOverrides),e=this.getRootFileNames(e,t,n,i);if(e.length)return new l(t,e,r,i)}},l.prototype.isEmpty=function(){return!W3(this.rootFileNames)},l.prototype.isOrphan=function(){return!0},l.prototype.updateGraph=function(){var e=(e=this.rootFileNames)||l.getRootFileNames(this.hostProject.includePackageJsonAutoImports(),this.hostProject,this.hostProject.getHostForAutoImportProvider(),this.getCompilationSettings()),e=(this.projectService.setFileNamesOfAutpImportProviderOrAuxillaryProject(this,e),this.rootFileNames=e,this.getCurrentProgram()),t=o.prototype.updateGraph.call(this);return e&&e!==this.getCurrentProgram()&&this.hostProject.clearCachedExportInfoMap(),t},l.prototype.scheduleInvalidateResolutionsOfFailedLookupLocations=function(){},l.prototype.hasRoots=function(){var e;return!(null==(e=this.rootFileNames)||!e.length)},l.prototype.markAsDirty=function(){this.rootFileNames=void 0,o.prototype.markAsDirty.call(this)},l.prototype.getScriptFileNames=function(){return this.rootFileNames||B3},l.prototype.getLanguageService=function(){throw new Error("AutoImportProviderProject language service should never be used. To get the program, use `project.getCurrentProgram()`.")},l.prototype.onAutoImportProviderSettingsChanged=function(){throw new Error("AutoImportProviderProject is an auto import provider; use `markAsDirty()` instead.")},l.prototype.onPackageJsonChange=function(){throw new Error("package.json changes should be notified on an AutoImportProvider's host project")},l.prototype.getHostForAutoImportProvider=function(){throw new Error("AutoImportProviderProject cannot provide its own host; use `hostProject.getModuleResolutionHostForAutomImportProvider()` instead.")},l.prototype.getProjectReferences=function(){return this.hostProject.getProjectReferences()},l.prototype.includePackageJsonAutoImports=function(){return 0},l.prototype.getSymlinkCache=function(){return this.hostProject.getSymlinkCache()},l.prototype.getModuleResolutionCache=function(){var e;return null==(e=this.hostProject.getCurrentProgram())?void 0:e.getModuleResolutionCache()},(Lme=l).maxDependencies=10,Lme.compilerOptionsOverrides={diagnostics:!1,skipLibCheck:!0,sourceMap:!1,types:B3,lib:B3,noLib:!0},jme=Lme,__extends(n,c=Ame),n.prototype.setCompilerHost=function(e){this.compilerHost=e},n.prototype.getCompilerHost=function(){return this.compilerHost},n.prototype.useSourceOfProjectReferenceRedirect=function(){return this.languageServiceEnabled},n.prototype.getParsedCommandLine=function(e){var e=xa(e),t=this.projectService.toCanonicalFileName(e),n=this.projectService.configFileExistenceInfoCache.get(t);return n||this.projectService.configFileExistenceInfoCache.set(t,n={exists:this.projectService.host.fileExists(e)}),this.projectService.ensureParsedConfigUptoDate(e,t,n,this),this.languageServiceEnabled&&0===this.projectService.serverMode&&this.projectService.watchWildcards(e,n,this),n.exists?n.config.parsedCommandLine:void 0},n.prototype.onReleaseParsedCommandLine=function(e){this.releaseParsedConfig(this.projectService.toCanonicalFileName(xa(e)))},n.prototype.releaseParsedConfig=function(e){this.projectService.stopWatchingWildCards(e,this),this.projectService.releaseParsedConfig(e,this)},n.prototype.updateGraph=function(){var e,t=this.isInitialLoadPending(),n=(this.isInitialLoadPending=Tn,this.pendingUpdateLevel);switch(this.pendingUpdateLevel=0,n){case 1:this.openFileWatchTriggered.clear(),e=this.projectService.reloadFileNamesOfConfiguredProject(this);break;case 2:this.openFileWatchTriggered.clear();var r=G3.checkDefined(this.pendingUpdateReason);this.pendingUpdateReason=void 0,this.projectService.reloadConfiguredProject(this,r,t,!1),e=!0;break;default:e=c.prototype.updateGraph.call(this)}return this.compilerHost=void 0,this.projectService.sendProjectLoadingFinishEvent(this),this.projectService.sendProjectTelemetry(this),e},n.prototype.getCachedDirectoryStructureHost=function(){return this.directoryStructureHost},n.prototype.getConfigFilePath=function(){return this.getProjectName()},n.prototype.getProjectReferences=function(){return this.projectReferences},n.prototype.updateReferences=function(e){this.projectReferences=e,this.potentialProjectReferences=void 0},n.prototype.setPotentialProjectReference=function(e){G3.assert(this.isInitialLoadPending()),(this.potentialProjectReferences||(this.potentialProjectReferences=new Set)).add(e)},n.prototype.getResolvedProjectReferenceToRedirect=function(e){var t=this.getCurrentProgram();return t&&t.getResolvedProjectReferenceToRedirect(e)},n.prototype.forEachResolvedProjectReference=function(e){var t;return null==(t=this.getCurrentProgram())?void 0:t.forEachResolvedProjectReference(e)},n.prototype.enablePluginsWithOptions=function(e){var t,n;if(this.plugins.length=0,null!=(r=e.plugins)&&r.length||this.projectService.globalPlugins.length){var r=this.projectService.host;if(r.require||r.importPlugin){var i=this.getGlobalPluginSearchPaths();if(this.projectService.allowLocalPluginLoads&&(r=k4(this.canonicalConfigFilePath),this.projectService.logger.info("Local plugin loading enabled; adding ".concat(r," to search paths")),i.unshift(r)),e.plugins)try{for(var a=__values(e.plugins),o=a.next();!o.done;o=a.next()){var s=o.value;this.enablePlugin(s,i)}}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return this.enableGlobalPlugins(e)}this.projectService.logger.info("Plugins were requested but not running in environment that supports 'require'. Nothing will be loaded")}},n.prototype.getGlobalProjectErrors=function(){return U3(this.projectErrors,function(e){return!e.file})||jpe},n.prototype.getAllProjectErrors=function(){return this.projectErrors||jpe},n.prototype.setProjectErrors=function(e){this.projectErrors=e},n.prototype.close=function(){var n=this;this.projectService.configFileExistenceInfoCache.forEach(function(e,t){return n.releaseParsedConfig(t)}),this.projectErrors=void 0,this.openFileWatchTriggered.clear(),this.compilerHost=void 0,c.prototype.close.call(this)},n.prototype.addExternalProjectReference=function(){this.externalProjectRefCount++},n.prototype.deleteExternalProjectReference=function(){this.externalProjectRefCount--},n.prototype.isSolution=function(){return 0===this.getRootFilesMap().size&&!this.canConfigFileJsonReportNoInputFiles},n.prototype.getDefaultChildProjectFromProjectWithReferences=function(t){return Ege(this,t.path,function(e){return Rge(e,t)?e:void 0},0)},n.prototype.hasOpenRef=function(){var e,t,r=this;return!!this.externalProjectRefCount||!this.isClosed()&&(t=this.projectService.configFileExistenceInfoCache.get(this.canonicalConfigFilePath),this.projectService.hasPendingProjectUpdate(this)?!(null==(e=t.openFilesImpactedByConfigFile)||!e.size):!!t.openFilesImpactedByConfigFile&&Pw(t.openFilesImpactedByConfigFile,function(e,t){var n=r.projectService.getScriptInfoForPath(t);return r.containsScriptInfo(n)||!!Ege(r,n.path,function(e){return e.containsScriptInfo(n)},0)})||!1)},n.prototype.hasExternalProjectRef=function(){return!!this.externalProjectRefCount},n.prototype.getEffectiveTypeRoots=function(){return xb(this.getCompilationSettings(),this)||[]},n.prototype.updateErrorOnNoInputFiles=function(e){Nx(e,this.getConfigFilePath(),this.getCompilerOptions().configFile.configFileSpecs,this.projectErrors,this.canConfigFileJsonReportNoInputFiles)},Mme=n,__extends(r,u=Ame),r.prototype.updateGraph=function(){var e=u.prototype.updateGraph.call(this);return this.projectService.sendProjectTelemetry(this),e},r.prototype.getExcludedFiles=function(){return this.excludedFiles},Rme=r}});function bge(e){var t,n,r=new Map;try{for(var i=__values(e),a=i.next();!a.done;a=i.next()){var o,s=a.value;"object"==typeof s.type&&((o=s.type).forEach(function(e){G3.assert("number"==typeof e)}),r.set(s.name,o))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function Sge(e){return ZT(e.indentStyle)&&(e.indentStyle=dge.get(e.indentStyle.toLowerCase()),G3.assert(void 0!==e.indentStyle)),e}function kge(r){return lge.forEach(function(e,t){var n=r[t];ZT(n)&&(r[t]=e.get(n.toLowerCase()))}),r}function Tge(r,i){var a,o;return X1.forEach(function(e){var t,n=r[e.name];void 0!==n&&(t=_ge.get(e.name),(a=a||{})[e.name]=t?ZT(n)?t.get(n.toLowerCase()):n:Bx(e,n,i||"",o=o||[]))}),a&&{watchOptions:a,errors:o}}function Cge(n){var r;return l2.forEach(function(e){var t=n[e.name];void 0!==t&&((r=r||{})[e.name]=t)}),r}function wge(e){return ZT(e)?Nge(e):e}function Nge(e){switch(e){case"JS":return 1;case"JSX":return 2;case"TS":return 3;case"TSX":return 4;default:return 0}}function Fge(e){e.lazyConfiguredProjectsFromExternalProject;return __rest(e,["lazyConfiguredProjectsFromExternalProject"])}function Dge(e,t){var n,r;try{for(var i=__values(t),a=i.next();!a.done;a=i.next()){var o=a.value;if(o.getProjectName()===e)return o}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}function Pge(e){return e.containingProjects}function Ege(n,e,r,t,i){var a=null==(a=n.getCurrentProgram())?void 0:a.getResolvedProjectReferences();if(a){var o=e?n.getResolvedProjectReferenceToRedirect(e):void 0;if(o){e=Wpe(o.sourceFile.fileName),e=n.projectService.findConfiguredProjectByProjectName(e);if(e){if(s=r(e))return s}else if(0!==t){var s,c=new Map;if(s=Age(a,n.getCompilerOptions(),function(e,t){return o===e?u(e,t):void 0},t,n.projectService,c))return s;c.clear()}}return Age(a,n.getCompilerOptions(),function(e,t){return o!==e?u(e,t):void 0},t,n.projectService,c)}function u(e,t){e=Wpe(e.sourceFile.fileName),e=n.projectService.findConfiguredProjectByProjectName(e)||(0===t?void 0:1===t?n.projectService.createConfiguredProject(e):2===t?n.projectService.createAndLoadConfiguredProject(e,i):G3.assertNever(t));return e&&r(e)}}function Age(e,t,r,n,i,a){var o=t.disableReferencedProjectLoad?0:n;return z3(e,function(e){if(e){var t=Wpe(e.sourceFile.fileName),t=i.toCanonicalFileName(t),n=null==a?void 0:a.get(t);if(!(void 0!==n&&o<=n))return r(e,o)||((a=a||new Map).set(t,o),e.references&&Age(e.references,e.commandLine.options,r,o,i,a))}})}function Ige(e,t){return e.potentialProjectReferences&&Ew(e.potentialProjectReferences,t)}function Oge(e,t,n){e=n&&e.projectService.configuredProjects.get(n);return e&&t(e)}function Lge(t,n){var e,r,i,a;r=function(e){return Oge(t,n,e.sourceFile.path)},i=function(e){return Oge(t,n,t.toPath(bO(e)))},a=function(e){return Oge(t,n,e)},(e=t).getCurrentProgram()?e.forEachResolvedProjectReference(r):e.isInitialLoadPending()?Ige(e,a):z3(e.getProjectReferences(),i)}function jge(e,t){return"".concat(ZT(t)?"Config: ".concat(t," "):t?"Project: ".concat(t.getProjectName()," "):"","WatchType: ").concat(e)}function Mge(e){return!e.isScriptOpen()&&void 0!==e.mTime}function Rge(e,t){return e.containsScriptInfo(t)&&!e.isSourceOfProjectReferenceRedirect(t.path)}function Bge(e){return e.invalidateResolutionsOfFailedLookupLocations(),e.dirty&&e.updateGraph()}function Jge(e){Kme(e)&&(e.projectOptions=!0)}function zge(e){var t=1;return function(){return e(t++)}}function qge(){return{idToCallbacks:new Map,pathToId:new Map}}function Uge(c,e){var o,s,u,l;if(e&&c.eventHandler&&c.session)return o=qge(),s=qge(),u=qge(),l=1,c.session.addProtocolHandler("watchChange",function(e){e=e.arguments,t=e.id,n=e.path,e=e.eventType;var t,n,r=t,i=n,a=e;return null!=(r=o.idToCallbacks.get(r))&&r.forEach(function(e){e(i,"create"===a?0:"delete"===a?2:1)}),_(s,t,n,e),_(u,t,n,e),{responseRequired:!1}}),{watchFile:function(t,e){return r(o,t,e,function(e){return{eventName:oge,data:{id:e,path:t}}})},watchDirectory:function(t,e,n){return r(n?u:s,t,e,function(e){return{eventName:sge,data:{id:e,path:t,recursive:!!n}}})},getCurrentDirectory:function(){return c.host.getCurrentDirectory()},useCaseSensitiveFileNames:c.host.useCaseSensitiveFileNames};function r(e,t,n,r){var i=e.pathToId,a=e.idToCallbacks,o=c.toPath(t),s=i.get(o),e=(s||i.set(o,s=l++),a.get(s));return e||(a.set(s,e=new Set),c.eventHandler(r(s))),e.add(n),{close:function(){var e=a.get(s);null!=e&&e.delete(n)&&!e.size&&(a.delete(s),i.delete(o),c.eventHandler({eventName:cge,data:{id:s}}))}}}function _(e,t,n,r){e=e.idToCallbacks;"update"!==r&&null!=(r=e.get(t))&&r.forEach(function(e){e(n)})}}function Vge(e){return void 0!==e.kind}function Wge(e){e.print(!1,!1,!1)}var Hge=e({"src/server/editorServices.ts":function(){function S(e){var t=this,n=(this.filenameToScriptInfo=new Map,this.nodeModulesWatchers=new Map,this.filenameToScriptInfoVersion=new Map,this.allJsFilesForOpenFileTelemetry=new Map,this.externalProjectToConfiguredProjectMap=new Map,this.externalProjects=[],this.inferredProjects=[],this.configuredProjects=new Map,this.newInferredProjectName=zge(Qpe),this.newAutoImportProviderProjectName=zge(Ype),this.newAuxiliaryProjectName=zge($pe),this.openFiles=new Map,this.configFileForOpenFiles=new Map,this.openFilesWithNonRootedDiskPath=new Map,this.compilerOptionsForInferredProjectsPerProjectRoot=new Map,this.watchOptionsForInferredProjectsPerProjectRoot=new Map,this.typeAcquisitionForInferredProjectsPerProjectRoot=new Map,this.projectToSizeMap=new Map,this.configFileExistenceInfoCache=new Map,this.safelist=fge,this.legacySafelist=new Map,this.pendingProjectUpdates=new Map,this.pendingEnsureProjectForOpenFiles=!1,this.seenProjects=new Map,this.sharedExtendedConfigFileWatchers=new Map,this.extendedConfigCache=new Map,this.verifyDocumentRegistry=ya,this.verifyProgram=ya,this.onProjectCreation=ya,this.host=e.host,this.logger=e.logger,this.cancellationToken=e.cancellationToken,this.useSingleInferredProject=e.useSingleInferredProject,this.useInferredProjectPerProjectRoot=e.useInferredProjectPerProjectRoot,this.typingsInstaller=e.typingsInstaller||Nme,this.throttleWaitMilliseconds=e.throttleWaitMilliseconds,this.eventHandler=e.eventHandler,this.suppressDiagnosticEvents=e.suppressDiagnosticEvents,this.globalPlugins=e.globalPlugins||jpe,this.pluginProbeLocations=e.pluginProbeLocations||jpe,this.allowLocalPluginLoads=!!e.allowLocalPluginLoads,this.typesMapLocation=void 0===e.typesMapLocation?T4(k4(this.getExecutingFilePath()),"typesMap.json"):e.typesMapLocation,this.session=e.session,this.jsDocParsingMode=e.jsDocParsingMode,void 0!==e.serverMode?this.serverMode=e.serverMode:this.serverMode=0,this.host.realpath&&(this.realpathToScriptInfos=YT()),this.currentDirectory=Wpe(this.host.getCurrentDirectory()),this.toCanonicalFileName=s4(this.host.useCaseSensitiveFileNames),this.globalCacheLocationDirectoryPath=this.typingsInstaller.globalTypingsCacheLocation?zi(this.toPath(this.typingsInstaller.globalTypingsCacheLocation)):void 0,this.throttledOperations=new eme(this.host,this.logger),this.typesMapLocation?this.loadTypesMap():this.logger.info("No types map provided; using the default"),this.typingsInstaller.attach(this),this.typingsCache=new Fme(this.typingsInstaller),this.hostConfiguration={formatCodeOptions:HR(this.host.newLine),preferences:kR,hostInfo:"Unknown host",extraFileExtensions:[]},this.documentRegistry=ZU(this.host.useCaseSensitiveFileNames,this.currentDirectory,this.jsDocParsingMode,this),this.logger.hasLevel(3)?2:this.logger.loggingEnabled()?1:0),r=0!=n?function(e){return t.logger.info(e)}:ya;this.packageJsonCache=Xge(this),this.watchFactory=0!==this.serverMode?{watchFile:LL,watchDirectory:LL}:pI(Uge(this,e.canUseWatchEvents)||this.host,n,r,jge),null!=(n=e.incrementalVerifier)&&n.call(e,this)}Jhe(),Rhe(),Sme(),Qme=20971520,Yme=4194304,$me="projectsUpdatedInBackground",Zme="projectLoadingStart",ege="projectLoadingFinish",tge="largeFileReferenced",nge="configFileDiag",rge="projectLanguageServiceState",ige="projectInfo",age="openFileInfo",oge="createFileWatcher",sge="createDirectoryWatcher",cge="closeFileWatcher",uge="*ensureProjectForOpenFiles*",lge=bge(e2),_ge=bge(X1),dge=new Map(Object.entries({none:0,block:1,smart:2})),fge={jquery:{match:/jquery(-[\d.]+)?(\.intellisense)?(\.min)?\.js$/i,types:["jquery"]},WinJS:{match:/^(.*\/winjs-[.\d]+)\/js\/base\.js$/i,exclude:[["^",1,"/.*"]],types:["winjs"]},Kendo:{match:/^(.*\/kendo(-ui)?)\/kendo\.all(\.min)?\.js$/i,exclude:[["^",1,"/.*"]],types:["kendo-ui"]},"Office Nuget":{match:/^(.*\/office\/1)\/excel-\d+\.debug\.js$/i,exclude:[["^",1,"/.*"]],types:["office"]},References:{match:/^(.*\/_references\.js)$/i,exclude:[["^",1,"$"]]}},pge={getFileName:function(e){return e},getScriptKind:function(e,t){var n,r;return t&&(r=Ei(e))&&W3(t,function(e){return e.extension===r&&(n=e.scriptKind,!0)}),n},hasMixedContent:function(t,e){return W3(e,function(e){return e.isMixedContent&&b4(t,e.extension)})}},mge={getFileName:function(e){return e.fileName},getScriptKind:function(e){return wge(e.scriptKind)},hasMixedContent:function(e){return!!e.hasMixedContent}},gge={close:ya},hge=function(e){return e[e.Find=0]="Find",e[e.FindCreate=1]="FindCreate",e[e.FindCreateLoad=2]="FindCreateLoad",e}(hge||{}),S.prototype.toPath=function(e){return Bi(e,this.currentDirectory,this.toCanonicalFileName)},S.prototype.getExecutingFilePath=function(){return this.getNormalizedAbsolutePath(this.host.getExecutingFilePath())},S.prototype.getNormalizedAbsolutePath=function(e){return C4(e,this.host.getCurrentDirectory())},S.prototype.setDocument=function(e,t,n){G3.checkDefined(this.getScriptInfoForPath(t)).cacheSourceFile={key:e,sourceFile:n}},S.prototype.getDocument=function(e,t){t=this.getScriptInfoForPath(t);return t&&t.cacheSourceFile&&t.cacheSourceFile.key===e?t.cacheSourceFile.sourceFile:void 0},S.prototype.ensureInferredProjectsUpToDate_TestOnly=function(){this.ensureProjectStructuresUptoDate()},S.prototype.getCompilerOptionsForInferredProjects=function(){return this.compilerOptionsForInferredProjects},S.prototype.onUpdateLanguageServiceStateForProject=function(e,t){this.eventHandler&&(e={eventName:rge,data:{project:e,languageServiceEnabled:t}},this.eventHandler(e))},S.prototype.loadTypesMap=function(){var t,e;try{var n=this.host.readFile(this.typesMapLocation);if(void 0===n)this.logger.info('Provided types map file "'.concat(this.typesMapLocation,"\" doesn't exist"));else{var r,i=JSON.parse(n);try{for(var a=__values(Object.keys(i.typesMap)),o=a.next();!o.done;o=a.next()){var s=o.value;i.typesMap[s].match=new RegExp(i.typesMap[s].match,"i")}}catch(e){t={error:e}}finally{try{o&&!o.done&&(e=a.return)&&e.call(a)}finally{if(t)throw t.error}}for(r in this.safelist=i.typesMap,i.simpleMap)vi(i.simpleMap,r)&&this.legacySafelist.set(r,i.simpleMap[r].toLowerCase())}}catch(e){this.logger.info("Error loading types map: ".concat(e)),this.safelist=fge,this.legacySafelist.clear()}},S.prototype.updateTypingsForProject=function(e){var t=this.findProject(e.projectName);if(t)switch(e.kind){case BM:return void t.updateTypingFiles(this.typingsCache.updateTypingsForProject(e.projectName,e.compilerOptions,e.typeAcquisition,e.unresolvedImports,e.typings));case JM:return void this.typingsCache.enqueueInstallTypingsForProject(t,t.lastCachedUnresolvedImportsList,!0)}},S.prototype.watchTypingLocations=function(e){var t;null!=(t=this.findProject(e.projectName))&&t.watchTypingLocations(e.files)},S.prototype.delayEnsureProjectForOpenFiles=function(){var e=this;this.openFiles.size&&(this.pendingEnsureProjectForOpenFiles=!0,this.throttledOperations.schedule(uge,2500,function(){0!==e.pendingProjectUpdates.size?e.delayEnsureProjectForOpenFiles():e.pendingEnsureProjectForOpenFiles&&(e.ensureProjectForOpenFiles(),e.sendProjectsUpdatedInBackgroundEvent())}))},S.prototype.delayUpdateProjectGraph=function(e){var t,n=this;e.markAsDirty(),Xme(e)||(t=e.getProjectName(),this.pendingProjectUpdates.set(t,e),this.throttledOperations.schedule(t,250,function(){n.pendingProjectUpdates.delete(t)&&Bge(e)}))},S.prototype.hasPendingProjectUpdate=function(e){return this.pendingProjectUpdates.has(e.getProjectName())},S.prototype.sendProjectsUpdatedInBackgroundEvent=function(){var e,t=this;this.eventHandler&&(e={eventName:$me,data:{openFiles:KT(this.openFiles.keys(),function(e){return t.getScriptInfoForPath(e).fileName})}},this.eventHandler(e))},S.prototype.sendLargeFileReferencedEvent=function(e,t){this.eventHandler&&(e={eventName:tge,data:{file:e,fileSize:t,maxFileSize:Yme}},this.eventHandler(e))},S.prototype.sendProjectLoadingStartEvent=function(e,t){this.eventHandler&&(e.sendLoadingProjectFinish=!0,e={eventName:Zme,data:{project:e,reason:t}},this.eventHandler(e))},S.prototype.sendProjectLoadingFinishEvent=function(e){this.eventHandler&&e.sendLoadingProjectFinish&&(e.sendLoadingProjectFinish=!1,e={eventName:ege,data:{project:e}},this.eventHandler(e))},S.prototype.sendPerformanceEvent=function(e,t){this.performanceEventHandler&&this.performanceEventHandler({kind:e,durationMs:t})},S.prototype.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles=function(e){this.delayUpdateProjectGraph(e),this.delayEnsureProjectForOpenFiles()},S.prototype.delayUpdateProjectGraphs=function(e,t){var n,r;if(e.length){try{for(var i=__values(e),a=i.next();!a.done;a=i.next()){var o=a.value;t&&o.clearSourceMapperCache(),this.delayUpdateProjectGraph(o)}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}this.delayEnsureProjectForOpenFiles()}},S.prototype.setCompilerOptionsForInferredProjects=function(e,t){G3.assert(void 0===t||this.useInferredProjectPerProjectRoot,"Setting compiler options per project root path is only supported when useInferredProjectPerProjectRoot is enabled");var n,r,i=kge(e),a=Tge(e,t),o=Cge(e),s=(i.allowNonTsExtensions=!0,t&&this.toCanonicalFileName(t));s?(this.compilerOptionsForInferredProjectsPerProjectRoot.set(s,i),this.watchOptionsForInferredProjectsPerProjectRoot.set(s,a||!1),this.typeAcquisitionForInferredProjectsPerProjectRoot.set(s,o)):(this.compilerOptionsForInferredProjects=i,this.watchOptionsForInferredProjects=a,this.typeAcquisitionForInferredProjects=o);try{for(var c=__values(this.inferredProjects),u=c.next();!u.done;u=c.next()){var l=u.value;(s?l.projectRootPath!==s:l.projectRootPath&&this.compilerOptionsForInferredProjectsPerProjectRoot.has(l.projectRootPath))||(l.setCompilerOptions(i),l.setTypeAcquisition(o),l.setWatchOptions(null==a?void 0:a.watchOptions),l.setProjectErrors(null==a?void 0:a.errors),l.compileOnSaveEnabled=i.compileOnSave,l.markAsDirty(),this.delayUpdateProjectGraph(l))}}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}this.delayEnsureProjectForOpenFiles()},S.prototype.findProject=function(e){if(void 0!==e)return Xpe(e)?Dge(e,this.inferredProjects):this.findExternalProjectByProjectName(e)||this.findConfiguredProjectByProjectName(Wpe(e))},S.prototype.forEachProject=function(e){this.externalProjects.forEach(e),this.configuredProjects.forEach(e),this.inferredProjects.forEach(e)},S.prototype.forEachEnabledProject=function(t){this.forEachProject(function(e){!e.isOrphan()&&e.languageServiceEnabled&&t(e)})},S.prototype.getDefaultProjectForFile=function(e,t){return t?this.ensureDefaultProjectForFile(e):this.tryGetDefaultProjectForFile(e)},S.prototype.tryGetDefaultProjectForFile=function(e){e=ZT(e)?this.getScriptInfoForNormalizedPath(e):e;return e&&!e.isOrphan()?e.getDefaultProject():void 0},S.prototype.ensureDefaultProjectForFile=function(e){return this.tryGetDefaultProjectForFile(e)||this.doEnsureDefaultProjectForFile(e)},S.prototype.doEnsureDefaultProjectForFile=function(e){this.ensureProjectStructuresUptoDate();var t=ZT(e)?this.getScriptInfoForNormalizedPath(e):e;return t?t.getDefaultProject():(this.logErrorForScriptInfoNotFound(ZT(e)?e:e.fileName),Rpe.ThrowNoProject())},S.prototype.getScriptInfoEnsuringProjectsUptoDate=function(e){return this.ensureProjectStructuresUptoDate(),this.getScriptInfo(e)},S.prototype.ensureProjectStructuresUptoDate=function(){function e(e){t=Bge(e)||t}var t=this.pendingEnsureProjectForOpenFiles;this.pendingProjectUpdates.clear();this.externalProjects.forEach(e),this.configuredProjects.forEach(e),this.inferredProjects.forEach(e),t&&this.ensureProjectForOpenFiles()},S.prototype.getFormatCodeOptions=function(e){e=this.getScriptInfoForNormalizedPath(e);return e&&e.getFormatCodeSettings()||this.hostConfiguration.formatCodeOptions},S.prototype.getPreferences=function(e){e=this.getScriptInfoForNormalizedPath(e);return __assign(__assign({},this.hostConfiguration.preferences),e&&e.getPreferences())},S.prototype.getHostFormatCodeOptions=function(){return this.hostConfiguration.formatCodeOptions},S.prototype.getHostPreferences=function(){return this.hostConfiguration.preferences},S.prototype.onSourceFileChanged=function(e,t){2===t?this.handleDeletedFile(e):e.isScriptOpen()||(e.delayReloadNonMixedContentFile(),this.delayUpdateProjectGraphs(e.containingProjects,!1),this.handleSourceMapProjects(e))},S.prototype.handleSourceMapProjects=function(e){var t;e.sourceMapFilePath&&(ZT(e.sourceMapFilePath)?(t=this.getScriptInfoForPath(e.sourceMapFilePath),this.delayUpdateSourceInfoProjects(t&&t.sourceInfos)):this.delayUpdateSourceInfoProjects(e.sourceMapFilePath.sourceInfos)),this.delayUpdateSourceInfoProjects(e.sourceInfos),e.declarationInfoPath&&this.delayUpdateProjectsOfScriptInfoPath(e.declarationInfoPath)},S.prototype.delayUpdateSourceInfoProjects=function(e){var n=this;e&&e.forEach(function(e,t){return n.delayUpdateProjectsOfScriptInfoPath(t)})},S.prototype.delayUpdateProjectsOfScriptInfoPath=function(e){e=this.getScriptInfoForPath(e);e&&this.delayUpdateProjectGraphs(e.containingProjects,!0)},S.prototype.handleDeletedFile=function(e){var t;this.stopWatchingScriptInfo(e),e.isScriptOpen()||(this.deleteScriptInfo(e),t=e.containingProjects.slice(),e.detachAllProjects(),this.delayUpdateProjectGraphs(t,!1),this.handleSourceMapProjects(e),e.closeSourceMapFileWatcher(),e.declarationInfoPath&&(t=this.getScriptInfoForPath(e.declarationInfoPath))&&(t.sourceMapFilePath=void 0))},S.prototype.watchWildcardDirectory=function(n,e,a,o){var s=this;return this.watchFactory.watchDirectory(n,function(e){var r=s.toPath(e),t=o.cachedDirectoryStructureHost.addOrDeleteFileOrDirectory(e,r),i=("package.json"===Di(r)&&!tU(r)&&(t&&t.fileExists||!t&&s.host.fileExists(r))&&(s.logger.info("Config: ".concat(a," Detected new package.json: ").concat(e)),s.onAddPackageJson(r)),s.findConfiguredProjectByProjectName(a));dI({watchedDirPath:n,fileOrDirectory:e,fileOrDirectoryPath:r,configFileName:a,extraFileExtensions:s.hostConfiguration.extraFileExtensions,currentDirectory:s.currentDirectory,options:o.parsedCommandLine.options,program:(null==i?void 0:i.getCurrentProgram())||o.parsedCommandLine.fileNames,useCaseSensitiveFileNames:s.host.useCaseSensitiveFileNames,writeLog:function(e){return s.logger.info(e)},toPath:function(e){return s.toPath(e)},getScriptKind:i?function(e){return i.getScriptKind(e)}:void 0})||(2!==o.updateLevel&&(o.updateLevel=1),o.projects.forEach(function(e,t){var n;e&&(e=s.getConfiguredProjectByCanonicalConfigFilePath(t))&&(t=i===e?1:0,void 0!==e.pendingUpdateLevel&&e.pendingUpdateLevel>t||(s.openFiles.has(r)&&G3.checkDefined(s.getScriptInfoForPath(r)).isAttached(e)?(n=Math.max(t,e.openFileWatchTriggered.get(r)||0),e.openFileWatchTriggered.set(r,n)):(e.pendingUpdateLevel=t,s.delayUpdateProjectGraphAndEnsureProjectStructureForOpenFiles(e))))}))},e,this.getWatchOptionsFromProjectWatchOptions(o.parsedCommandLine.watchOptions),jL.WildcardDirectory,a)},S.prototype.delayUpdateProjectsFromParsedConfigOnConfigFileChange=function(r,i){var a,o=this,e=this.configFileExistenceInfoCache.get(r);return!(null==e||!e.config)&&(a=!1,e.config.updateLevel=2,e.config.projects.forEach(function(e,t){var n=o.getConfiguredProjectByCanonicalConfigFilePath(t);n&&(a=!0,t===r?n.isInitialLoadPending()||(n.pendingUpdateLevel=2,n.pendingUpdateReason=i,o.delayUpdateProjectGraph(n)):(n.resolutionCache.removeResolutionsFromProjectReferenceRedirects(o.toPath(r)),o.delayUpdateProjectGraph(n)))}),a)},S.prototype.onConfigFileChanged=function(e,t){var n,r=this.configFileExistenceInfoCache.get(e);2===t?(r.exists=!1,(n=null!=(n=r.config)&&n.projects.has(e)?this.getConfiguredProjectByCanonicalConfigFilePath(e):void 0)&&this.removeProject(n)):r.exists=!0,this.delayUpdateProjectsFromParsedConfigOnConfigFileChange(e,"Change in config file detected"),this.reloadConfiguredProjectForFiles(r.openFilesImpactedByConfigFile,!1,!0,2!==t?Cn:xi,"Change in config file detected"),this.delayEnsureProjectForOpenFiles()},S.prototype.removeProject=function(t){var n=this;switch(this.logger.info("`remove Project::"),t.print(!0,!0,!1),t.close(),G3.shouldAssert(1)&&this.filenameToScriptInfo.forEach(function(e){return G3.assert(!e.isAttached(t),"Found script Info still attached to project",function(){return"".concat(t.projectName,": ScriptInfos still attached: ").concat(JSON.stringify(KT(Sn(n.filenameToScriptInfo.values(),function(e){return e.isAttached(t)?{fileName:e.fileName,projects:e.containingProjects.map(function(e){return e.projectName}),hasMixedContent:e.hasMixedContent}:void 0})),void 0," "))})}),this.pendingProjectUpdates.delete(t.getProjectName()),t.projectKind){case 2:Ee(this.externalProjects,t),this.projectToSizeMap.delete(t.getProjectName());break;case 1:this.configuredProjects.delete(t.canonicalConfigFilePath),this.projectToSizeMap.delete(t.canonicalConfigFilePath);break;case 0:Ee(this.inferredProjects,t)}},S.prototype.assignOrphanScriptInfoToInferredProject=function(e,t){G3.assert(e.isOrphan());var n,r,i=this.getOrCreateInferredProjectForProjectRootPathIfEnabled(e,t)||this.getOrCreateSingleInferredProjectIfEnabled()||this.getOrCreateSingleInferredWithoutProjectRoot(e.isDynamic?t||this.currentDirectory:k4(pi(e.fileName)?e.fileName:C4(e.fileName,t?this.getNormalizedAbsolutePath(t):this.currentDirectory)));if(i.addRoot(e),e.containingProjects[0]!==i&&(e.detachFromProject(i),e.containingProjects.unshift(i)),i.updateGraph(),!this.useSingleInferredProject&&!i.projectRootPath)try{for(var a=__values(this.inferredProjects),o=a.next();!o.done;o=a.next())!function(e){if(e===i||e.isOrphan())return;var t=e.getRootScriptInfos();G3.assert(1===t.length||!!e.projectRootPath),1===t.length&&z3(t[0].containingProjects,function(e){return e!==t[0].containingProjects[0]&&!e.isOrphan()})&&e.removeFile(t[0],!0,!0)}(o.value)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=a.return)&&r.call(a)}finally{if(n)throw n.error}}return i},S.prototype.assignOrphanScriptInfosToInferredProject=function(){var n=this;this.openFiles.forEach(function(e,t){t=n.getScriptInfoForPath(t);t.isOrphan()&&n.assignOrphanScriptInfoToInferredProject(t,e)})},S.prototype.closeOpenFile=function(e,t){var n,r,i=!e.isDynamic&&this.host.fileExists(e.fileName),a=(e.close(i),this.stopWatchingConfigFilesForClosedScriptInfo(e),this.toCanonicalFileName(e.fileName)),o=(this.openFilesWithNonRootedDiskPath.get(a)===e&&this.openFilesWithNonRootedDiskPath.delete(a),!1);try{for(var s=__values(e.containingProjects),c=s.next();!c.done;c=s.next()){var u,l=c.value;Kme(l)?(e.hasMixedContent&&e.registerFileUpdate(),void 0!==(u=l.openFileWatchTriggered.get(e.path))&&(l.openFileWatchTriggered.delete(e.path),void 0!==l.pendingUpdateLevel)&&l.pendingUpdateLevelo.size&&a.forEach(function(e,t){o.has(t)||(e.info?n.removeFile(e.info,n.fileExists(t),!0):a.delete(t))})},S.prototype.updateRootAndOptionsOfNonInferredProject=function(e,t,n,r,i,a,o){e.setCompilerOptions(r),e.setWatchOptions(o),void 0!==a&&(e.compileOnSaveEnabled=a),this.addFilesToNonInferredProject(e,t,n,i)},S.prototype.reloadFileNamesOfConfiguredProject=function(e){var t=this.reloadFileNamesOfParsedConfig(e.getConfigFilePath(),this.configFileExistenceInfoCache.get(e.canonicalConfigFilePath).config);return e.updateErrorOnNoInputFiles(t),this.updateNonInferredProjectFiles(e,t.concat(e.getExternalFiles(1)),pge),e.markAsDirty(),e.updateGraph()},S.prototype.reloadFileNamesOfParsedConfig=function(e,t){if(void 0===t.updateLevel)return t.parsedCommandLine.fileNames;G3.assert(1===t.updateLevel);e=Ux(t.parsedCommandLine.options.configFile.configFileSpecs,k4(e),t.parsedCommandLine.options,t.cachedDirectoryStructureHost,this.hostConfiguration.extraFileExtensions);return t.parsedCommandLine=__assign(__assign({},t.parsedCommandLine),{fileNames:e}),e},S.prototype.setFileNamesOfAutpImportProviderOrAuxillaryProject=function(e,t){this.updateNonInferredProjectFiles(e,t,pge)},S.prototype.reloadConfiguredProject=function(e,t,n,r){var i=e.getCachedDirectoryStructureHost(),r=(r&&this.clearSemanticCache(e),i.clearCache(),e.getConfigFilePath());this.logger.info("".concat(n?"Loading":"Reloading"," configured project ").concat(r)),this.loadConfiguredProject(e,t),e.updateGraph(),this.sendConfigFileDiagEvent(e,r)},S.prototype.clearSemanticCache=function(e){e.resolutionCache.clear(),e.getLanguageService(!1).cleanupSemanticCache(),e.cleanupProgram(),e.markAsDirty()},S.prototype.sendConfigFileDiagEvent=function(e,t){var n;this.eventHandler&&!this.suppressDiagnosticEvents&&((n=e.getLanguageService().getCompilerOptionsDiagnostics()).push.apply(n,__spreadArray([],__read(e.getAllProjectErrors()),!1)),this.eventHandler({eventName:nge,data:{configFileName:e.getConfigFilePath(),diagnostics:n,triggerFile:t}}))},S.prototype.getOrCreateInferredProjectForProjectRootPathIfEnabled=function(e,t){var n,r,i,a,o;if(this.useInferredProjectPerProjectRoot&&(!e.isDynamic||void 0!==t)){if(t){var s=this.toCanonicalFileName(t);try{for(var c=__values(this.inferredProjects),u=c.next();!u.done;u=c.next())if((l=u.value).projectRootPath===s)return l}catch(e){n={error:e}}finally{try{u&&!u.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}return this.createInferredProject(t,!1,t)}try{for(var l,_=__values(this.inferredProjects),d=_.next();!d.done;d=_.next())!(l=d.value).projectRootPath||!Ki(l.projectRootPath,e.path,this.host.getCurrentDirectory(),!this.host.useCaseSensitiveFileNames)||o&&o.projectRootPath.length>l.projectRootPath.length||(o=l)}catch(e){i={error:e}}finally{try{d&&!d.done&&(a=_.return)&&a.call(_)}finally{if(i)throw i.error}}return o}},S.prototype.getOrCreateSingleInferredProjectIfEnabled=function(){if(this.useSingleInferredProject)return 0c&&r.delay("checkOne",t,n)},n=function(){var e,t,n;o.changeSeq===s&&(ZT(e=i[c])&&!(e=o.toPendingErrorCheck(e))?u():(t=e.fileName,Bge(n=e.project),n.containsFile(t,a)&&(o.syntacticCheck(t,n),o.changeSeq===s)&&(0!==n.projectService.serverMode?u():r.immediate("semanticCheck",function(){o.semanticCheck(t,n),o.changeSeq===s&&(o.getPreferences(t).disableSuggestions?u():r.immediate("suggestionCheck",function(){o.suggestionCheck(t,n),u()}))}))))};i.length>c&&this.changeSeq===s&&r.delay("checkOne",e,n)},o.prototype.cleanProjects=function(e,t){var n,r;if(t){this.logger.info("cleaning ".concat(e));try{for(var i=__values(t),a=i.next();!a.done;a=i.next()){var o=a.value;o.getLanguageService(!1).cleanupSemanticCache(),o.cleanupProgram()}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}},o.prototype.cleanup=function(){this.cleanProjects("inferred projects",this.projectService.inferredProjects),this.cleanProjects("configured projects",KT(this.projectService.configuredProjects.values())),this.cleanProjects("external projects",this.projectService.externalProjects),this.host.gc&&(this.logger.info("host.gc()"),this.host.gc())},o.prototype.getEncodedSyntacticClassifications=function(e){var t=this.getFileAndLanguageServiceForSyntacticOperation(e),n=t.file;return t.languageService.getEncodedSyntacticClassifications(n,e)},o.prototype.getEncodedSemanticClassifications=function(e){var t=this.getFileAndProject(e),n=t.file,t=t.project,r="2020"===e.format?"2020":"original";return t.getLanguageService().getEncodedSemanticClassifications(n,e,r)},o.prototype.getProject=function(e){return void 0===e?void 0:this.projectService.findProject(e)},o.prototype.getConfigFileAndProject=function(e){var t=this.getProject(e.projectFileName),e=Wpe(e.file);return{configFile:t&&t.hasConfigFile(e)?e:void 0,project:t}},o.prototype.getConfigFileDiagnostics=function(t,e,n){e=U3(PT(e.getAllProjectErrors(),e.getLanguageService().getCompilerOptionsDiagnostics()),function(e){return e.file&&e.file.fileName===t});return n?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(e):V3(e,function(e){return she(e,!1)})},o.prototype.convertToDiagnosticsWithLinePositionFromDiagnosticFile=function(e){var t=this;return e.map(function(e){return{message:KI(e.messageText,t.host.newLine),start:e.start,length:e.length,category:Dr(e),code:e.code,source:e.source,startLocation:e.file&&ohe(D4(e.file,e.start)),endLocation:e.file&&ohe(D4(e.file,e.start+e.length)),reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated,relatedInformation:V3(e.relatedInformation,ahe)}})},o.prototype.getCompilerOptionsDiagnostics=function(e){e=this.getProject(e.projectFileName);return this.convertToDiagnosticsWithLinePosition(U3(e.getLanguageService().getCompilerOptionsDiagnostics(),function(e){return!e.file}),void 0)},o.prototype.convertToDiagnosticsWithLinePosition=function(e,t){var n=this;return e.map(function(e){return{message:KI(e.messageText,n.host.newLine),start:e.start,length:e.length,category:Dr(e),code:e.code,source:e.source,startLocation:t&&t.positionToLineOffset(e.start),endLocation:t&&t.positionToLineOffset(e.start+e.length),reportsUnnecessary:e.reportsUnnecessary,reportsDeprecated:e.reportsDeprecated,relatedInformation:V3(e.relatedInformation,ahe)}})},o.prototype.getDiagnosticsWorker=function(e,t,n,r){var e=this.getFileAndProject(e),i=e.project,a=e.file;return t&&rhe(i,a)?jpe:(e=i.getScriptInfoForNormalizedPath(a),t=n(i,a),r?this.convertToDiagnosticsWithLinePosition(t,e):t.map(function(e){return ihe(a,i,e)}))},o.prototype.getDefinition=function(e,t){var n=this.getFileAndProject(e),r=n.file,n=n.project,e=this.getPositionInFile(e,r),r=this.mapDefinitionInfoLocations(n.getLanguageService().getDefinitionAtPosition(r,e)||jpe,n);return t?this.mapDefinitionInfo(r,n):r.map(o.mapToOriginalLocation)},o.prototype.mapDefinitionInfoLocations=function(e,n){return e.map(function(e){var t=hhe(e,n);return t?__assign(__assign(__assign({},t),{containerKind:e.containerKind,containerName:e.containerName,kind:e.kind,name:e.name,failedAliasResolution:e.failedAliasResolution}),e.unverified&&{unverified:e.unverified}):e})},o.prototype.getDefinitionAndBoundSpan=function(e,t){var n=this.getFileAndProject(e),r=n.file,n=n.project,e=this.getPositionInFile(e,r),i=G3.checkDefined(n.getScriptInfo(r)),r=n.getLanguageService().getDefinitionAndBoundSpan(r,e);return r&&r.definitions?(e=this.mapDefinitionInfoLocations(r.definitions,n),r=r.textSpan,t?{definitions:this.mapDefinitionInfo(e,n),textSpan:yhe(r,i)}:{definitions:e.map(o.mapToOriginalLocation),textSpan:r}):{definitions:jpe,textSpan:void 0}},o.prototype.findSourceDefinition=function(e){var t,n,r,i,a,o,s,c,u=this.getFileAndProject(e),l=u.file,_=u.project,d=this.getPositionInFile(e,l),u=_.getLanguageService().getDefinitionAtPosition(l,d),e=this.mapDefinitionInfoLocations(u||jpe,_).slice();if(0===this.projectService.serverMode&&(!W3(e,function(e){return Wpe(e.fileName)!==l&&!e.isAmbient})||W3(e,function(e){return!!e.failedAliasResolution}))){var f=ae(function(e){return e.textSpan.start},Dz),p=(null!=e&&e.forEach(function(e){return f.add(e)}),_.getNoDtsResolutionProject(l)),m=p.getLanguageService(),u=null==(u=m.getDefinitionAtPosition(l,d,!0,!1))?void 0:u.filter(function(e){return Wpe(e.fileName)!==l});if(W3(u))try{for(var g=__values(u),h=g.next();!h.done;h=g.next()){var y=h.value;if(y.unverified){var v=function(e,t,n){e=n.getSourceFile(e.fileName);if(e){var r=oJ(t.getSourceFile(l),d),t=t.getTypeChecker().getSymbolAtLocation(r),r=t&&ww(t,276);if(r)return I((null==(t=r.propertyName)?void 0:t.text)||r.name.text,e,n)}}(y,_.getLanguageService().getProgram(),m.getProgram());if(W3(v)){try{r=void 0;for(var x=__values(v),b=x.next();!b.done;b=x.next()){var S=b.value;f.add(S)}}catch(e){r={error:e}}finally{try{b&&!b.done&&(i=x.return)&&i.call(x)}finally{if(r)throw r.error}}continue}}f.add(y)}}catch(e){t={error:e}}finally{try{h&&!h.done&&(n=g.return)&&n.call(g)}finally{if(t)throw t.error}}else{u=e.filter(function(e){return Wpe(e.fileName)!==l&&e.isAmbient});try{for(var k=__values(W3(u)?u:function(){var t=_.getLanguageService(),n=oJ(t.getProgram().getSourceFile(l),d);if((gw(n)||cT(n))&&eF(n.parent))return rp(n,function(e){return e!==n&&W3(e=null==(e=t.getDefinitionAtPosition(l,e.getStart(),!0,!1))?void 0:e.filter(function(e){return Wpe(e.fileName)!==l&&e.isAmbient}).map(function(e){return{fileName:e.fileName,name:L5(n)}}))?e:void 0})||jpe;return jpe}()),T=k.next();!T.done;T=k.next()){var C=T.value,w=function(e,t,n){var r=Rm(e);{var i,a,o,s;if(r&&e.lastIndexOf(tb)===r.topLevelNodeModulesIndex)return s=e.substring(0,r.packageRootIndex),o=null==(o=_.getModuleResolutionCache())?void 0:o.getPackageJsonInfoCache(),i=_.getCompilationSettings(),(s=dS(C4(s+"/package.json",_.getCurrentDirectory()),_S(o,_,i)))?(o=lS(s,{moduleResolution:2},_,_.getModuleResolutionCache()),i=AS(IS(e.substring(r.topLevelPackageNameIndex+1,r.packageRootIndex))),a=_.toPath(e),o&&W3(o,function(e){return _.toPath(e)===a})?null==(s=n.resolutionCache.resolveSingleModuleNameWithoutWatching(i,t).resolvedModule)?void 0:s.resolvedFileName:(o=e.substring(r.packageRootIndex+1),s="".concat(i,"/").concat(pm(o)),null==(e=n.resolutionCache.resolveSingleModuleNameWithoutWatching(s,t).resolvedModule)?void 0:e.resolvedFileName)):void 0}}(C.fileName,l,p);if(w){var N=this.projectService.getOrCreateScriptInfoNotOpenedByClient(w,p.currentDirectory,p.directoryStructureHost);if(N){p.containsScriptInfo(N)||(p.addRoot(N),p.updateGraph());var F=m.getProgram(),D=G3.checkDefined(F.getSourceFile(w));try{s=void 0;for(var P=__values(I(C.name,D,F)),E=P.next();!E.done;E=P.next()){var A=E.value;f.add(A)}}catch(e){s={error:e}}finally{try{E&&!E.done&&(c=P.return)&&c.call(P)}finally{if(s)throw s.error}}}}}}catch(e){a={error:e}}finally{try{T&&!T.done&&(o=k.return)&&o.call(k)}finally{if(a)throw a.error}}}e=KT(f.values())}return e=e.filter(function(e){return!e.isAmbient&&!e.failedAliasResolution}),this.mapDefinitionInfo(e,_);function I(e,t,n){return NT(gue.Core.getTopMostDeclarationNamesInFile(e,t),function(e){var t=n.getTypeChecker().getSymbolAtLocation(e),e=O_(e);if(t&&e)return Oue.createDefinitionInfo(e,n.getTypeChecker(),t,e,!0)})}},o.prototype.getEmitOutput=function(e){var t=this.getFileAndProject(e),n=t.file,t=t.project;return t.shouldEmitFile(t.getScriptInfo(n))?(t=t.getLanguageService().getEmitOutput(n),e.richResponse?__assign(__assign({},t),{diagnostics:e.includeLinePosition?this.convertToDiagnosticsWithLinePositionFromDiagnosticFile(t.diagnostics):t.diagnostics.map(function(e){return she(e,!0)})}):t):{emitSkipped:!0,outputFiles:[],diagnostics:[]}},o.prototype.mapJSDocTagInfo=function(e,t,n){var r=this;return e?e.map(function(e){return __assign(__assign({},e),{text:n?r.mapDisplayParts(e.text,t):null==(e=e.text)?void 0:e.map(function(e){return e.text}).join("")})}):[]},o.prototype.mapDisplayParts=function(e,t){var n=this;return e?e.map(function(e){return"linkName"!==e.kind?e:__assign(__assign({},e),{target:n.toFileSpan(e.target.fileName,e.target.textSpan,t)})}):[]},o.prototype.mapSignatureHelpItems=function(e,t,n){var r=this;return e.map(function(e){return __assign(__assign({},e),{documentation:r.mapDisplayParts(e.documentation,t),parameters:e.parameters.map(function(e){return __assign(__assign({},e),{documentation:r.mapDisplayParts(e.documentation,t)})}),tags:r.mapJSDocTagInfo(e.tags,t,n)})})},o.prototype.mapDefinitionInfo=function(e,t){var n=this;return e.map(function(e){return __assign(__assign({},n.toFileSpanWithContext(e.fileName,e.textSpan,e.contextSpan,t)),e.unverified&&{unverified:e.unverified})})},o.mapToOriginalLocation=function(e){return e.originalFileName?(G3.assert(void 0!==e.originalTextSpan,"originalTextSpan should be present if originalFileName is"),__assign(__assign({},e),{fileName:e.originalFileName,textSpan:e.originalTextSpan,targetFileName:e.fileName,targetTextSpan:e.textSpan,contextSpan:e.originalContextSpan,targetContextSpan:e.contextSpan})):e},o.prototype.toFileSpan=function(e,t,n){var n=n.getLanguageService(),r=n.toLineColumnOffset(e,t.start),n=n.toLineColumnOffset(e,O4(t));return{file:e,start:{line:r.line+1,offset:r.character+1},end:{line:n.line+1,offset:n.character+1}}},o.prototype.toFileSpanWithContext=function(e,t,n,r){t=this.toFileSpan(e,t,r),e=n&&this.toFileSpan(e,n,r);return e?__assign(__assign({},t),{contextStart:e.start,contextEnd:e.end}):t},o.prototype.getTypeDefinition=function(e){var t=this.getFileAndProject(e),n=t.file,t=t.project,e=this.getPositionInFile(e,n),n=this.mapDefinitionInfoLocations(t.getLanguageService().getTypeDefinitionAtPosition(n,e)||jpe,t);return this.mapDefinitionInfo(n,t)},o.prototype.mapImplementationLocations=function(e,n){return e.map(function(e){var t=hhe(e,n);return t?__assign(__assign({},t),{kind:e.kind,displayParts:e.displayParts}):e})},o.prototype.getImplementation=function(e,t){var r=this,n=this.getFileAndProject(e),i=n.file,a=n.project,n=this.getPositionInFile(e,i),e=this.mapImplementationLocations(a.getLanguageService().getImplementationAtPosition(i,n)||jpe,a);return t?e.map(function(e){var t=e.fileName,n=e.textSpan,e=e.contextSpan;return r.toFileSpanWithContext(t,n,e,a)}):e.map(o.mapToOriginalLocation)},o.prototype.getSyntacticDiagnosticsSync=function(e){return this.getConfigFileAndProject(e).configFile?jpe:this.getDiagnosticsWorker(e,!1,function(e,t){return e.getLanguageService().getSyntacticDiagnostics(t)},!!e.includeLinePosition)},o.prototype.getSemanticDiagnosticsSync=function(e){var t=this.getConfigFileAndProject(e),n=t.configFile,t=t.project;return n?this.getConfigFileDiagnostics(n,t,!!e.includeLinePosition):this.getDiagnosticsWorker(e,!0,function(e,t){return e.getLanguageService().getSemanticDiagnostics(t).filter(function(e){return!!e.file})},!!e.includeLinePosition)},o.prototype.getSuggestionDiagnosticsSync=function(e){return this.getConfigFileAndProject(e).configFile?jpe:this.getDiagnosticsWorker(e,!0,function(e,t){return e.getLanguageService().getSuggestionDiagnostics(t)},!!e.includeLinePosition)},o.prototype.getJsxClosingTag=function(e){var t=this.getFileAndLanguageServiceForSyntacticOperation(e),n=t.file,t=t.languageService,e=this.getPositionInFile(e,n),t=t.getJsxClosingTagAtPosition(n,e);return void 0===t?void 0:{newText:t.newText,caretOffset:0}},o.prototype.getLinkedEditingRange=function(e){var t,n=this.getFileAndLanguageServiceForSyntacticOperation(e),r=n.file,n=n.languageService,e=this.getPositionInFile(e,r),n=n.getLinkedEditingRangeAtPosition(r,e),e=this.projectService.getScriptInfoForNormalizedPath(r);if(void 0!==e&&void 0!==n)return t=e,e=(r=n).ranges.map(function(e){return{start:t.positionToLineOffset(e.start),end:t.positionToLineOffset(e.start+e.length)}}),r.wordPattern?{ranges:e,wordPattern:r.wordPattern}:{ranges:e}},o.prototype.getDocumentHighlights=function(e,t){var n=this.getFileAndProject(e),r=n.file,i=n.project,n=this.getPositionInFile(e,r),r=i.getLanguageService().getDocumentHighlights(r,n,e.filesToSearch);return r?t?r.map(function(e){var t=e.fileName,e=e.highlightSpans,r=i.getScriptInfo(t);return{file:t,highlightSpans:e.map(function(e){var t=e.textSpan,n=e.kind,e=e.contextSpan;return __assign(__assign({},vhe(t,e,r)),{kind:n})})}}):r:jpe},o.prototype.provideInlayHints=function(e){var i=this,t=this.getFileAndProject(e),n=t.file,t=t.project,r=this.projectService.getScriptInfoForNormalizedPath(n);return t.getLanguageService().provideInlayHints(n,e,this.getPreferences(n)).map(function(e){var t=e.position,n=e.displayParts;return __assign(__assign({},e),{position:r.positionToLineOffset(t),displayParts:null==n?void 0:n.map(function(e){var t,n=e.text,r=e.span,e=e.file;return r?(G3.assertIsDefined(e,"Target file should be defined together with its span."),{text:n,span:{start:(t=i.projectService.getScriptInfo(e)).positionToLineOffset(r.start),end:t.positionToLineOffset(r.start+r.length),file:e}}):{text:n}})})})},o.prototype.setCompilerOptionsForInferredProjects=function(e){this.projectService.setCompilerOptionsForInferredProjects(e.options,e.projectRootPath)},o.prototype.getProjectInfo=function(e){return this.getProjectInfoWorker(e.file,e.projectFileName,e.needFileNameList,!1)},o.prototype.getProjectInfoWorker=function(e,t,n,r){e=this.getFileAndProjectWorker(e,t).project;return Bge(e),{configFileName:e.getProjectName(),languageServiceDisabled:!e.languageServiceEnabled,fileNames:n?e.getFileNames(!1,r):void 0}},o.prototype.getRenameInfo=function(e){var t=this.getFileAndProject(e),n=t.file,t=t.project,e=this.getPositionInFile(e,n),r=this.getPreferences(n);return t.getLanguageService().getRenameInfo(n,e,r)},o.prototype.getProjects=function(e,t,n){var r,i;if(e.projectFileName){var a=this.getProject(e.projectFileName);a&&(r=[a])}else{a=t?this.projectService.getScriptInfoEnsuringProjectsUptoDate(e.file):this.projectService.getScriptInfo(e.file);if(!a)return n?jpe:(this.projectService.logErrorForScriptInfoNotFound(e.file),Rpe.ThrowNoProject());t||this.projectService.ensureDefaultProjectForFile(a),r=a.containingProjects,i=this.projectService.getSymlinkedProjects(a)}return r=U3(r,function(e){return e.languageServiceEnabled&&!e.isOrphan()}),n||r&&r.length||i?i?{projects:r,symLinkedProjects:i}:r:(this.projectService.logErrorForScriptInfoNotFound(null!=(t=e.file)?t:e.projectFileName),Rpe.ThrowNoProject())},o.prototype.getDefaultProject=function(e){if(e.projectFileName){var t=this.getProject(e.projectFileName);if(t)return t;if(!e.file)return Rpe.ThrowNoProject()}return this.projectService.getScriptInfo(e.file).getDefaultProject()},o.prototype.getRenameLocations=function(e,t){var n,r,i,s,c,a=Wpe(e.file),o=this.getPositionInFile(e,a),u=this.getProjects(e),l=this.getDefaultProject(e),_=this.getPreferences(a),a=this.mapRenameInfo(l.getLanguageService().getRenameInfo(a,o,_),G3.checkDefined(this.projectService.getScriptInfo(a)));return a.canRename?(u=u,o={fileName:e.file,pos:o},n=!!e.findInStrings,r=!!e.findInComments,i=_,e=$T(u=fhe(u,l,o,!0,function(e,t){return e.getLanguageService().findRenameLocations(t.fileName,t.pos,n,r,i)},function(e,t){t(mhe(e))}))?u:(s=[],c=lhe(),u.forEach(function(e,t){var n,r;try{for(var i=__values(e),a=i.next();!a.done;a=i.next()){var o=a.value;c.has(o)||ghe(mhe(o),t)||(s.push(o),c.add(o))}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}}),s),t?{info:a,locs:this.toSpanGroups(e)}:e):t?{info:a,locs:[]}:[]},o.prototype.mapRenameInfo=function(e,t){return e.canRename?{canRename:e.canRename,fileToRename:e.fileToRename,displayName:e.displayName,fullDisplayName:e.fullDisplayName,kind:e.kind,kindModifiers:e.kindModifiers,triggerSpan:yhe(e.triggerSpan,t)}:e},o.prototype.toSpanGroups=function(e){var t,n,r=new Map;try{for(var i=__values(e),a=i.next();!a.done;a=i.next()){var o=a.value,s=o.fileName,c=o.textSpan,u=o.contextSpan,l=(o.originalContextSpan,o.originalTextSpan,o.originalFileName,__rest(o,["fileName","textSpan","contextSpan","originalContextSpan","originalTextSpan","originalFileName"])),_=r.get(s),d=(_||r.set(s,_={file:s,locs:[]}),G3.checkDefined(this.projectService.getScriptInfo(s)));_.locs.push(__assign(__assign({},vhe(c,u,d)),l))}}catch(e){t={error:e}}finally{try{a&&!a.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return KT(r.values())},o.prototype.getReferences=function(e,t){var n,r=this,i=Wpe(e.file),a=this.getProjects(e),o=this.getPositionInFile(e,i),a=_he(a,this.getDefaultProject(e),{fileName:e.file,pos:o},this.logger);return t?(n=this.getPreferences(i),e=(t=this.getDefaultProject(e)).getScriptInfoForNormalizedPath(i),i=(t=t.getLanguageService().getQuickInfoAtPosition(i,o))?EQ(t.displayParts):"",t=(o=t&&t.textSpan)?e.positionToLineOffset(o.start).offset:0,e=o?e.getSnapshot().getText(o.start,O4(o)):"",{refs:wT(a,function(e){return e.references.map(function(e){return She(r.projectService,e,n)})}),symbolName:e,symbolStartOffset:t,symbolDisplayString:i}):a},o.prototype.getFileReferences=function(e,t){var n=this,r=this.getProjects(e),o=e.file,i=this.getPreferences(Wpe(o)),s=[],c=lhe();return dhe(r,void 0,function(e){var t,n;if(!e.getCancellationToken().isCancellationRequested()){e=e.getLanguageService().getFileReferences(o);if(e)try{for(var r=__values(e),i=r.next();!i.done;i=r.next()){var a=i.value;c.has(a)||(s.push(a),c.add(a))}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}}}),t?{refs:s.map(function(e){return She(n.projectService,e,i)}),symbolName:'"'.concat(e.file,'"')}:s},o.prototype.openClientFile=function(e,t,n,r){this.projectService.openClientFileWithNormalizedPath(e,t,n,!1,r)},o.prototype.getPosition=function(e,t){return void 0!==e.position?e.position:t.lineOffsetToPosition(e.line,e.offset)},o.prototype.getPositionInFile=function(e,t){t=this.projectService.getScriptInfoForNormalizedPath(t);return this.getPosition(e,t)},o.prototype.getFileAndProject=function(e){return this.getFileAndProjectWorker(e.file,e.projectFileName)},o.prototype.getFileAndLanguageServiceForSyntacticOperation=function(e){e=this.getFileAndProject(e);return{file:e.file,languageService:e.project.getLanguageService(!1)}},o.prototype.getFileAndProjectWorker=function(e,t){e=Wpe(e);return{file:e,project:this.getProject(t)||this.projectService.ensureDefaultProjectForFile(e)}},o.prototype.getOutliningSpans=function(e,t){var n,e=this.getFileAndLanguageServiceForSyntacticOperation(e),r=e.file,e=e.languageService.getOutliningSpans(r);return t?(n=this.projectService.getScriptInfoForNormalizedPath(r),e.map(function(e){return{textSpan:yhe(e.textSpan,n),hintSpan:yhe(e.hintSpan,n),bannerText:e.bannerText,autoCollapse:e.autoCollapse,kind:e.kind}})):e},o.prototype.getTodoComments=function(e){var t=this.getFileAndProject(e),n=t.file;return t.project.getLanguageService().getTodoComments(n,e.descriptors)},o.prototype.getDocCommentTemplate=function(e){var t=this.getFileAndLanguageServiceForSyntacticOperation(e),n=t.file,t=t.languageService,e=this.getPositionInFile(e,n);return t.getDocCommentTemplateAtPosition(n,e,this.getPreferences(n),this.getFormatOptions(n))},o.prototype.getSpanOfEnclosingComment=function(e){var t=this.getFileAndLanguageServiceForSyntacticOperation(e),n=t.file,t=t.languageService,r=e.onlyMultiLine,e=this.getPositionInFile(e,n);return t.getSpanOfEnclosingComment(n,e,r)},o.prototype.getIndentation=function(e){var t=this.getFileAndLanguageServiceForSyntacticOperation(e),n=t.file,t=t.languageService,r=this.getPositionInFile(e,n),e=e.options?Sge(e.options):this.getFormatOptions(n);return{position:r,indentation:t.getIndentationAtPosition(n,r,e)}},o.prototype.getBreakpointStatement=function(e){var t=this.getFileAndLanguageServiceForSyntacticOperation(e),n=t.file,t=t.languageService,e=this.getPositionInFile(e,n);return t.getBreakpointStatementAtPosition(n,e)},o.prototype.getNameOrDottedNameSpan=function(e){var t=this.getFileAndLanguageServiceForSyntacticOperation(e),n=t.file,t=t.languageService,e=this.getPositionInFile(e,n);return t.getNameOrDottedNameSpan(n,e,e)},o.prototype.isValidBraceCompletion=function(e){var t=this.getFileAndLanguageServiceForSyntacticOperation(e),n=t.file,t=t.languageService,r=this.getPositionInFile(e,n);return t.isValidBraceCompletionAtPosition(n,r,e.openingBrace.charCodeAt(0))},o.prototype.getQuickInfoWorker=function(e,t){var n=this.getFileAndProject(e),r=n.file,n=n.project,i=this.projectService.getScriptInfoForNormalizedPath(r),e=n.getLanguageService().getQuickInfoAtPosition(r,this.getPosition(e,i));if(e)return r=!!this.getPreferences(r).displayPartsForJSDoc,t?(t=EQ(e.displayParts),{kind:e.kind,kindModifiers:e.kindModifiers,start:i.positionToLineOffset(e.textSpan.start),end:i.positionToLineOffset(O4(e.textSpan)),displayString:t,documentation:r?this.mapDisplayParts(e.documentation,n):EQ(e.documentation),tags:this.mapJSDocTagInfo(e.tags,n,r)}):r?e:__assign(__assign({},e),{tags:this.mapJSDocTagInfo(e.tags,n,!1)})},o.prototype.getFormattingEditsForRange=function(e){var t=this,n=this.getFileAndLanguageServiceForSyntacticOperation(e),r=n.file,n=n.languageService,i=this.projectService.getScriptInfoForNormalizedPath(r),a=i.lineOffsetToPosition(e.line,e.offset),e=i.lineOffsetToPosition(e.endLine,e.endOffset),n=n.getFormattingEditsForRange(r,a,e,this.getFormatOptions(r));if(n)return n.map(function(e){return t.convertTextChangeToCodeEdit(e,i)})},o.prototype.getFormattingEditsForRangeFull=function(e){var t=this.getFileAndLanguageServiceForSyntacticOperation(e),n=t.file,t=t.languageService,r=e.options?Sge(e.options):this.getFormatOptions(n);return t.getFormattingEditsForRange(n,e.position,e.endPosition,r)},o.prototype.getFormattingEditsForDocumentFull=function(e){var t=this.getFileAndLanguageServiceForSyntacticOperation(e),n=t.file,t=t.languageService,e=e.options?Sge(e.options):this.getFormatOptions(n);return t.getFormattingEditsForDocument(n,e)},o.prototype.getFormattingEditsAfterKeystrokeFull=function(e){var t=this.getFileAndLanguageServiceForSyntacticOperation(e),n=t.file,t=t.languageService,r=e.options?Sge(e.options):this.getFormatOptions(n);return t.getFormattingEditsAfterKeystroke(n,e.position,e.key,r)},o.prototype.getFormattingEditsAfterKeystroke=function(e){var t,n=this.getFileAndLanguageServiceForSyntacticOperation(e),r=n.file,n=n.languageService,i=this.projectService.getScriptInfoForNormalizedPath(r),a=i.lineOffsetToPosition(e.line,e.offset),o=this.getFormatOptions(r),s=n.getFormattingEditsAfterKeystroke(r,a,e.key,o);if("\n"===e.key&&(!s||0===s.length||(t=a,s.every(function(e){return O4(e.span)this.currentVersion))return e%s.maxVersions},s.prototype.currentVersionToIndex=function(){return this.currentVersion%s.maxVersions},s.prototype.edit=function(e,t,n){this.changes.push(new whe(e,t,n)),(this.changes.length>s.changeNumberThreshold||s.changeLengthThresholds.changeLengthThreshold)&&this.getSnapshot()},s.prototype.getSnapshot=function(){return this._getSnapshot()},s.prototype._getSnapshot=function(){var t,e,n=this.versions[this.currentVersionToIndex()];if(0=s.maxVersions&&(this.minVersion=this.currentVersion-s.maxVersions+1)}return n},s.prototype.getSnapshotVersion=function(){return this._getSnapshot().version},s.prototype.getAbsolutePositionAndLineText=function(e){return this._getSnapshot().index.lineNumberToInfo(e)},s.prototype.lineOffsetToPosition=function(e,t){return this._getSnapshot().index.absolutePositionOfStartOfLine(e)+(t-1)},s.prototype.positionToLineOffset=function(e){return this._getSnapshot().index.positionToLineOffset(e)},s.prototype.lineToTextSpan=function(e){var t=this._getSnapshot().index,n=t.lineNumberToInfo(e+1),r=n.lineText,n=n.absolutePosition;return To(n,void 0!==r?r.length:t.absolutePositionOfStartOfLine(e+2)-n)},s.prototype.getTextChangesBetweenVersions=function(e,t){var n,r;if(!(e=this.minVersion){for(var i=[],a=e+1;a<=t;a++){var o=this.versions[this.versionToIndex(a)];try{n=void 0;for(var s=__values(o.changesSincePreviousVersion),c=s.next();!c.done;c=s.next()){var u=c.value;i.push(u.getTextChangeRange())}}catch(e){n={error:e}}finally{try{c&&!c.done&&(r=s.return)&&r.call(s)}finally{if(n)throw n.error}}}return Do(i)}},s.prototype.getLineCount=function(){return this._getSnapshot().index.getLineCount()},s.fromString=function(e){var t=new s,n=new Dhe(0,t,new Phe),e=(t.versions[t.currentVersion]=n,Phe.linesFromText(e));return n.index.load(e.lines),t},(Nhe=s).changeNumberThreshold=8,Nhe.changeLengthThreshold=256,Nhe.maxVersions=8,Fhe=Nhe,n.prototype.getText=function(e,t){return this.index.getText(e,t-e)},n.prototype.getLength=function(){return this.index.getLength()},n.prototype.getChangeRange=function(e){if(e instanceof n&&this.cache===e.cache)return this.version<=e.version?co:this.cache.getTextChangesBetweenVersions(e.version,this.version)},Dhe=n,c.prototype.absolutePositionOfStartOfLine=function(e){return this.lineNumberToInfo(e).absolutePosition},c.prototype.positionToLineOffset=function(e){e=this.root.charOffsetToLineInfo(1,e);return{line:e.oneBasedLine,offset:e.zeroBasedColumn+1}},c.prototype.positionToColumnAndLineText=function(e){return this.root.charOffsetToLineInfo(1,e)},c.prototype.getLineCount=function(){return this.root.lineCount()},c.prototype.lineNumberToInfo=function(e){return e<=this.getLineCount()?{absolutePosition:(e=this.root.lineNumberToInfo(e,0)).position,lineText:(e=e.leaf)&&e.text}:{absolutePosition:this.root.charCount(),lineText:void 0}},c.prototype.load=function(e){if(0=this.root.charCount()?(e=this.root.charCount()-1,o=this.getText(e,1),n=n?o+n:o,a=!(t=0)):0t)return a.isLeaf()?{oneBasedLine:e,zeroBasedColumn:t,lineText:a.text}:a.charOffsetToLineInfo(e,t);t-=a.charCount(),e+=a.lineCount()}}catch(e){n={error:e}}finally{try{i&&!i.done&&(o=r.return)&&o.call(r)}finally{if(n)throw n.error}}var o=this.lineCount();return 0===o?{oneBasedLine:1,zeroBasedColumn:0,lineText:void 0}:{oneBasedLine:o,zeroBasedColumn:G3.checkDefined(this.lineNumberToInfo(o,0).leaf).charCount(),lineText:void 0}},l.prototype.lineNumberToInfo=function(e,t){var n,r;try{for(var i=__values(this.children),a=i.next();!a.done;a=i.next()){var o=a.value,s=o.lineCount();if(e<=s)return o.isLeaf()?{position:t,leaf:o}:o.lineNumberToInfo(e,t);e-=s,t+=o.charCount()}}catch(e){n={error:e}}finally{try{a&&!a.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}return{position:t,leaf:void 0}},l.prototype.splitAfter=function(e){var t,n=this.children.length,r=++e;if(e it; diff --git a/src/me/topchetoeu/jscript/filesystem/MemoryFile.java b/src/me/topchetoeu/jscript/utils/filesystem/MemoryFile.java similarity index 90% rename from src/me/topchetoeu/jscript/filesystem/MemoryFile.java rename to src/me/topchetoeu/jscript/utils/filesystem/MemoryFile.java index 613177d..167d6f7 100644 --- a/src/me/topchetoeu/jscript/filesystem/MemoryFile.java +++ b/src/me/topchetoeu/jscript/utils/filesystem/MemoryFile.java @@ -1,7 +1,7 @@ -package me.topchetoeu.jscript.filesystem; +package me.topchetoeu.jscript.utils.filesystem; -import me.topchetoeu.jscript.Buffer; -import me.topchetoeu.jscript.filesystem.FilesystemException.FSCode; +import me.topchetoeu.jscript.common.Buffer; +import me.topchetoeu.jscript.utils.filesystem.FilesystemException.FSCode; public class MemoryFile implements File { private int ptr; diff --git a/src/me/topchetoeu/jscript/filesystem/MemoryFilesystem.java b/src/me/topchetoeu/jscript/utils/filesystem/MemoryFilesystem.java similarity index 94% rename from src/me/topchetoeu/jscript/filesystem/MemoryFilesystem.java rename to src/me/topchetoeu/jscript/utils/filesystem/MemoryFilesystem.java index 5270439..f83f5f1 100644 --- a/src/me/topchetoeu/jscript/filesystem/MemoryFilesystem.java +++ b/src/me/topchetoeu/jscript/utils/filesystem/MemoryFilesystem.java @@ -1,12 +1,12 @@ -package me.topchetoeu.jscript.filesystem; +package me.topchetoeu.jscript.utils.filesystem; import java.nio.file.Path; import java.util.HashMap; import java.util.HashSet; -import me.topchetoeu.jscript.Buffer; -import me.topchetoeu.jscript.Filename; -import me.topchetoeu.jscript.filesystem.FilesystemException.FSCode; +import me.topchetoeu.jscript.common.Buffer; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.utils.filesystem.FilesystemException.FSCode; public class MemoryFilesystem implements Filesystem { public final Mode mode; diff --git a/src/me/topchetoeu/jscript/filesystem/Mode.java b/src/me/topchetoeu/jscript/utils/filesystem/Mode.java similarity index 93% rename from src/me/topchetoeu/jscript/filesystem/Mode.java rename to src/me/topchetoeu/jscript/utils/filesystem/Mode.java index 617e77b..51092dc 100644 --- a/src/me/topchetoeu/jscript/filesystem/Mode.java +++ b/src/me/topchetoeu/jscript/utils/filesystem/Mode.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.filesystem; +package me.topchetoeu.jscript.utils.filesystem; public enum Mode { NONE("", false, false), diff --git a/src/me/topchetoeu/jscript/filesystem/Paths.java b/src/me/topchetoeu/jscript/utils/filesystem/Paths.java similarity index 96% rename from src/me/topchetoeu/jscript/filesystem/Paths.java rename to src/me/topchetoeu/jscript/utils/filesystem/Paths.java index ff24418..0bc3967 100644 --- a/src/me/topchetoeu/jscript/filesystem/Paths.java +++ b/src/me/topchetoeu/jscript/utils/filesystem/Paths.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.filesystem; +package me.topchetoeu.jscript.utils.filesystem; import java.util.ArrayList; diff --git a/src/me/topchetoeu/jscript/filesystem/PhysicalFile.java b/src/me/topchetoeu/jscript/utils/filesystem/PhysicalFile.java similarity index 93% rename from src/me/topchetoeu/jscript/filesystem/PhysicalFile.java rename to src/me/topchetoeu/jscript/utils/filesystem/PhysicalFile.java index 76365e7..42d3859 100644 --- a/src/me/topchetoeu/jscript/filesystem/PhysicalFile.java +++ b/src/me/topchetoeu/jscript/utils/filesystem/PhysicalFile.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.filesystem; +package me.topchetoeu.jscript.utils.filesystem; import java.io.FileNotFoundException; import java.io.IOException; import java.io.RandomAccessFile; -import me.topchetoeu.jscript.filesystem.FilesystemException.FSCode; +import me.topchetoeu.jscript.utils.filesystem.FilesystemException.FSCode; public class PhysicalFile implements File { private String filename; diff --git a/src/me/topchetoeu/jscript/filesystem/PhysicalFilesystem.java b/src/me/topchetoeu/jscript/utils/filesystem/PhysicalFilesystem.java similarity index 95% rename from src/me/topchetoeu/jscript/filesystem/PhysicalFilesystem.java rename to src/me/topchetoeu/jscript/utils/filesystem/PhysicalFilesystem.java index b1d497e..4820c17 100644 --- a/src/me/topchetoeu/jscript/filesystem/PhysicalFilesystem.java +++ b/src/me/topchetoeu/jscript/utils/filesystem/PhysicalFilesystem.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.filesystem; +package me.topchetoeu.jscript.utils.filesystem; import java.io.IOException; import java.nio.file.Files; import java.nio.file.Path; -import me.topchetoeu.jscript.filesystem.FilesystemException.FSCode; +import me.topchetoeu.jscript.utils.filesystem.FilesystemException.FSCode; public class PhysicalFilesystem implements Filesystem { public final String root; diff --git a/src/me/topchetoeu/jscript/filesystem/RootFilesystem.java b/src/me/topchetoeu/jscript/utils/filesystem/RootFilesystem.java similarity index 92% rename from src/me/topchetoeu/jscript/filesystem/RootFilesystem.java rename to src/me/topchetoeu/jscript/utils/filesystem/RootFilesystem.java index afa2ba3..68a39d4 100644 --- a/src/me/topchetoeu/jscript/filesystem/RootFilesystem.java +++ b/src/me/topchetoeu/jscript/utils/filesystem/RootFilesystem.java @@ -1,11 +1,11 @@ -package me.topchetoeu.jscript.filesystem; +package me.topchetoeu.jscript.utils.filesystem; import java.util.HashMap; import java.util.Map; -import me.topchetoeu.jscript.Filename; -import me.topchetoeu.jscript.filesystem.FilesystemException.FSCode; -import me.topchetoeu.jscript.permissions.PermissionsProvider; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.utils.filesystem.FilesystemException.FSCode; +import me.topchetoeu.jscript.utils.permissions.PermissionsProvider; public class RootFilesystem implements Filesystem { public final Map protocols = new HashMap<>(); diff --git a/src/me/topchetoeu/jscript/interop/Arguments.java b/src/me/topchetoeu/jscript/utils/interop/Arguments.java similarity index 94% rename from src/me/topchetoeu/jscript/interop/Arguments.java rename to src/me/topchetoeu/jscript/utils/interop/Arguments.java index 952ec4f..97ce741 100644 --- a/src/me/topchetoeu/jscript/interop/Arguments.java +++ b/src/me/topchetoeu/jscript/utils/interop/Arguments.java @@ -1,10 +1,10 @@ -package me.topchetoeu.jscript.interop; +package me.topchetoeu.jscript.utils.interop; import java.lang.reflect.Array; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.values.NativeWrapper; -import me.topchetoeu.jscript.engine.values.Values; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.values.NativeWrapper; +import me.topchetoeu.jscript.core.engine.values.Values; public class Arguments { public final Object self; diff --git a/src/me/topchetoeu/jscript/interop/Expose.java b/src/me/topchetoeu/jscript/utils/interop/Expose.java similarity index 90% rename from src/me/topchetoeu/jscript/interop/Expose.java rename to src/me/topchetoeu/jscript/utils/interop/Expose.java index c9cf82b..5ef6815 100644 --- a/src/me/topchetoeu/jscript/interop/Expose.java +++ b/src/me/topchetoeu/jscript/utils/interop/Expose.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.interop; +package me.topchetoeu.jscript.utils.interop; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/me/topchetoeu/jscript/interop/ExposeConstructor.java b/src/me/topchetoeu/jscript/utils/interop/ExposeConstructor.java similarity index 85% rename from src/me/topchetoeu/jscript/interop/ExposeConstructor.java rename to src/me/topchetoeu/jscript/utils/interop/ExposeConstructor.java index 8c9d8fa..f5b97e6 100644 --- a/src/me/topchetoeu/jscript/interop/ExposeConstructor.java +++ b/src/me/topchetoeu/jscript/utils/interop/ExposeConstructor.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.interop; +package me.topchetoeu.jscript.utils.interop; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/me/topchetoeu/jscript/interop/ExposeField.java b/src/me/topchetoeu/jscript/utils/interop/ExposeField.java similarity index 89% rename from src/me/topchetoeu/jscript/interop/ExposeField.java rename to src/me/topchetoeu/jscript/utils/interop/ExposeField.java index 57db817..a66330e 100644 --- a/src/me/topchetoeu/jscript/interop/ExposeField.java +++ b/src/me/topchetoeu/jscript/utils/interop/ExposeField.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.interop; +package me.topchetoeu.jscript.utils.interop; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/me/topchetoeu/jscript/interop/ExposeTarget.java b/src/me/topchetoeu/jscript/utils/interop/ExposeTarget.java similarity index 94% rename from src/me/topchetoeu/jscript/interop/ExposeTarget.java rename to src/me/topchetoeu/jscript/utils/interop/ExposeTarget.java index 66f2e32..311a627 100644 --- a/src/me/topchetoeu/jscript/interop/ExposeTarget.java +++ b/src/me/topchetoeu/jscript/utils/interop/ExposeTarget.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.interop; +package me.topchetoeu.jscript.utils.interop; public enum ExposeTarget { STATIC(true, true, false), diff --git a/src/me/topchetoeu/jscript/interop/ExposeType.java b/src/me/topchetoeu/jscript/utils/interop/ExposeType.java similarity index 61% rename from src/me/topchetoeu/jscript/interop/ExposeType.java rename to src/me/topchetoeu/jscript/utils/interop/ExposeType.java index f7f5a48..b7d047d 100644 --- a/src/me/topchetoeu/jscript/interop/ExposeType.java +++ b/src/me/topchetoeu/jscript/utils/interop/ExposeType.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.interop; +package me.topchetoeu.jscript.utils.interop; public enum ExposeType { INIT, diff --git a/src/me/topchetoeu/jscript/interop/NativeWrapperProvider.java b/src/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java similarity index 93% rename from src/me/topchetoeu/jscript/interop/NativeWrapperProvider.java rename to src/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java index 96c04ed..9cf7dd1 100644 --- a/src/me/topchetoeu/jscript/interop/NativeWrapperProvider.java +++ b/src/me/topchetoeu/jscript/utils/interop/NativeWrapperProvider.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.interop; +package me.topchetoeu.jscript.utils.interop; import java.lang.reflect.InvocationTargetException; import java.lang.reflect.Member; @@ -9,19 +9,19 @@ import java.util.HashMap; import java.util.HashSet; import java.util.stream.Collectors; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.Environment; -import me.topchetoeu.jscript.engine.WrappersProvider; -import me.topchetoeu.jscript.engine.values.FunctionValue; -import me.topchetoeu.jscript.engine.values.NativeFunction; -import me.topchetoeu.jscript.engine.values.ObjectValue; -import me.topchetoeu.jscript.engine.values.Symbol; -import me.topchetoeu.jscript.engine.values.Values; -import me.topchetoeu.jscript.exceptions.EngineException; -import me.topchetoeu.jscript.exceptions.InterruptException; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.Environment; +import me.topchetoeu.jscript.core.engine.WrapperProvider; +import me.topchetoeu.jscript.core.engine.values.FunctionValue; +import me.topchetoeu.jscript.core.engine.values.NativeFunction; +import me.topchetoeu.jscript.core.engine.values.ObjectValue; +import me.topchetoeu.jscript.core.engine.values.Symbol; +import me.topchetoeu.jscript.core.engine.values.Values; +import me.topchetoeu.jscript.core.exceptions.EngineException; +import me.topchetoeu.jscript.core.exceptions.InterruptException; -public class NativeWrapperProvider implements WrappersProvider { +public class NativeWrapperProvider implements WrapperProvider { private final HashMap, FunctionValue> constructors = new HashMap<>(); private final HashMap, ObjectValue> prototypes = new HashMap<>(); private final HashMap, ObjectValue> namespaces = new HashMap<>(); @@ -298,8 +298,8 @@ public class NativeWrapperProvider implements WrappersProvider { var parentProto = getProto(parent); var parentConstr = getConstr(parent); - if (parentProto != null) proto.setPrototype(null, parentProto); - if (parentConstr != null) constr.setPrototype(null, parentConstr); + if (parentProto != null) Values.setPrototype(Context.NULL, proto, parentProto); + if (parentConstr != null) Values.setPrototype(Context.NULL, constr, parentConstr); } public ObjectValue getProto(Class clazz) { @@ -315,7 +315,7 @@ public class NativeWrapperProvider implements WrappersProvider { return constructors.get(clazz); } - @Override public WrappersProvider fork(Environment env) { + @Override public WrapperProvider fork(Environment env) { return new NativeWrapperProvider(env); } diff --git a/src/me/topchetoeu/jscript/interop/OnWrapperInit.java b/src/me/topchetoeu/jscript/utils/interop/OnWrapperInit.java similarity index 85% rename from src/me/topchetoeu/jscript/interop/OnWrapperInit.java rename to src/me/topchetoeu/jscript/utils/interop/OnWrapperInit.java index ab75db3..7b0e67d 100644 --- a/src/me/topchetoeu/jscript/interop/OnWrapperInit.java +++ b/src/me/topchetoeu/jscript/utils/interop/OnWrapperInit.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.interop; +package me.topchetoeu.jscript.utils.interop; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/me/topchetoeu/jscript/interop/WrapperName.java b/src/me/topchetoeu/jscript/utils/interop/WrapperName.java similarity index 86% rename from src/me/topchetoeu/jscript/interop/WrapperName.java rename to src/me/topchetoeu/jscript/utils/interop/WrapperName.java index 8898105..daf078c 100644 --- a/src/me/topchetoeu/jscript/interop/WrapperName.java +++ b/src/me/topchetoeu/jscript/utils/interop/WrapperName.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.interop; +package me.topchetoeu.jscript.utils.interop; import java.lang.annotation.ElementType; import java.lang.annotation.Retention; diff --git a/src/me/topchetoeu/jscript/mapping/SourceMap.java b/src/me/topchetoeu/jscript/utils/mapping/SourceMap.java similarity index 96% rename from src/me/topchetoeu/jscript/mapping/SourceMap.java rename to src/me/topchetoeu/jscript/utils/mapping/SourceMap.java index 2c2220b..12bea81 100644 --- a/src/me/topchetoeu/jscript/mapping/SourceMap.java +++ b/src/me/topchetoeu/jscript/utils/mapping/SourceMap.java @@ -1,12 +1,12 @@ -package me.topchetoeu.jscript.mapping; +package me.topchetoeu.jscript.utils.mapping; import java.util.ArrayList; import java.util.List; import java.util.TreeMap; import java.util.stream.Collectors; -import me.topchetoeu.jscript.Location; -import me.topchetoeu.jscript.json.JSON; +import me.topchetoeu.jscript.common.Location; +import me.topchetoeu.jscript.common.json.JSON; public class SourceMap { private final TreeMap origToComp = new TreeMap<>(); diff --git a/src/me/topchetoeu/jscript/mapping/VLQ.java b/src/me/topchetoeu/jscript/utils/mapping/VLQ.java similarity index 98% rename from src/me/topchetoeu/jscript/mapping/VLQ.java rename to src/me/topchetoeu/jscript/utils/mapping/VLQ.java index e9b68db..5f49aea 100644 --- a/src/me/topchetoeu/jscript/mapping/VLQ.java +++ b/src/me/topchetoeu/jscript/utils/mapping/VLQ.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.mapping; +package me.topchetoeu.jscript.utils.mapping; import java.util.ArrayList; import java.util.List; diff --git a/src/me/topchetoeu/jscript/modules/Module.java b/src/me/topchetoeu/jscript/utils/modules/Module.java similarity index 79% rename from src/me/topchetoeu/jscript/modules/Module.java rename to src/me/topchetoeu/jscript/utils/modules/Module.java index 938c721..71a5c36 100644 --- a/src/me/topchetoeu/jscript/modules/Module.java +++ b/src/me/topchetoeu/jscript/utils/modules/Module.java @@ -1,6 +1,6 @@ -package me.topchetoeu.jscript.modules; +package me.topchetoeu.jscript.utils.modules; -import me.topchetoeu.jscript.engine.Context; +import me.topchetoeu.jscript.core.engine.Context; public abstract class Module { private Object value; diff --git a/src/me/topchetoeu/jscript/modules/ModuleRepo.java b/src/me/topchetoeu/jscript/utils/modules/ModuleRepo.java similarity index 74% rename from src/me/topchetoeu/jscript/modules/ModuleRepo.java rename to src/me/topchetoeu/jscript/utils/modules/ModuleRepo.java index 90d1d8d..2dd764b 100644 --- a/src/me/topchetoeu/jscript/modules/ModuleRepo.java +++ b/src/me/topchetoeu/jscript/utils/modules/ModuleRepo.java @@ -1,13 +1,13 @@ -package me.topchetoeu.jscript.modules; +package me.topchetoeu.jscript.utils.modules; import java.util.HashMap; -import me.topchetoeu.jscript.Filename; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.Extensions; -import me.topchetoeu.jscript.engine.values.Symbol; -import me.topchetoeu.jscript.filesystem.Filesystem; -import me.topchetoeu.jscript.filesystem.Mode; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.Extensions; +import me.topchetoeu.jscript.core.engine.values.Symbol; +import me.topchetoeu.jscript.utils.filesystem.Filesystem; +import me.topchetoeu.jscript.utils.filesystem.Mode; public interface ModuleRepo { public static final Symbol ENV_KEY = Symbol.get("Environment.modules"); diff --git a/src/me/topchetoeu/jscript/modules/RootModuleRepo.java b/src/me/topchetoeu/jscript/utils/modules/RootModuleRepo.java similarity index 82% rename from src/me/topchetoeu/jscript/modules/RootModuleRepo.java rename to src/me/topchetoeu/jscript/utils/modules/RootModuleRepo.java index 3b57a63..8589c05 100644 --- a/src/me/topchetoeu/jscript/modules/RootModuleRepo.java +++ b/src/me/topchetoeu/jscript/utils/modules/RootModuleRepo.java @@ -1,9 +1,9 @@ -package me.topchetoeu.jscript.modules; +package me.topchetoeu.jscript.utils.modules; import java.util.HashMap; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.exceptions.EngineException; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.exceptions.EngineException; public class RootModuleRepo implements ModuleRepo { public final HashMap repos = new HashMap<>(); diff --git a/src/me/topchetoeu/jscript/modules/SourceModule.java b/src/me/topchetoeu/jscript/utils/modules/SourceModule.java similarity index 71% rename from src/me/topchetoeu/jscript/modules/SourceModule.java rename to src/me/topchetoeu/jscript/utils/modules/SourceModule.java index 5971ce1..a662482 100644 --- a/src/me/topchetoeu/jscript/modules/SourceModule.java +++ b/src/me/topchetoeu/jscript/utils/modules/SourceModule.java @@ -1,8 +1,8 @@ -package me.topchetoeu.jscript.modules; +package me.topchetoeu.jscript.utils.modules; -import me.topchetoeu.jscript.Filename; -import me.topchetoeu.jscript.engine.Context; -import me.topchetoeu.jscript.engine.Environment; +import me.topchetoeu.jscript.common.Filename; +import me.topchetoeu.jscript.core.engine.Context; +import me.topchetoeu.jscript.core.engine.Environment; public class SourceModule extends Module { public final Filename filename; diff --git a/src/me/topchetoeu/jscript/permissions/Permission.java b/src/me/topchetoeu/jscript/utils/permissions/Permission.java similarity index 98% rename from src/me/topchetoeu/jscript/permissions/Permission.java rename to src/me/topchetoeu/jscript/utils/permissions/Permission.java index c5dae7d..3089558 100644 --- a/src/me/topchetoeu/jscript/permissions/Permission.java +++ b/src/me/topchetoeu/jscript/utils/permissions/Permission.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.permissions; +package me.topchetoeu.jscript.utils.permissions; import java.util.LinkedList; diff --git a/src/me/topchetoeu/jscript/permissions/PermissionsManager.java b/src/me/topchetoeu/jscript/utils/permissions/PermissionsManager.java similarity index 95% rename from src/me/topchetoeu/jscript/permissions/PermissionsManager.java rename to src/me/topchetoeu/jscript/utils/permissions/PermissionsManager.java index bea8355..ad512e8 100644 --- a/src/me/topchetoeu/jscript/permissions/PermissionsManager.java +++ b/src/me/topchetoeu/jscript/utils/permissions/PermissionsManager.java @@ -1,4 +1,4 @@ -package me.topchetoeu.jscript.permissions; +package me.topchetoeu.jscript.utils.permissions; import java.util.ArrayList; diff --git a/src/me/topchetoeu/jscript/permissions/PermissionsProvider.java b/src/me/topchetoeu/jscript/utils/permissions/PermissionsProvider.java similarity index 87% rename from src/me/topchetoeu/jscript/permissions/PermissionsProvider.java rename to src/me/topchetoeu/jscript/utils/permissions/PermissionsProvider.java index 2cf84d7..2c12d8a 100644 --- a/src/me/topchetoeu/jscript/permissions/PermissionsProvider.java +++ b/src/me/topchetoeu/jscript/utils/permissions/PermissionsProvider.java @@ -1,7 +1,7 @@ -package me.topchetoeu.jscript.permissions; +package me.topchetoeu.jscript.utils.permissions; -import me.topchetoeu.jscript.engine.Extensions; -import me.topchetoeu.jscript.engine.values.Symbol; +import me.topchetoeu.jscript.core.engine.Extensions; +import me.topchetoeu.jscript.core.engine.values.Symbol; public interface PermissionsProvider { public static final Symbol ENV_KEY = new Symbol("Environment.perms");