modifying DWDS Injector to always inject client and introduce useDwdsWebSocketConnection flag (#2629)
* modifying injector to always inject client and introduce runMainAtStart flag
* mark fields as deprecated
* added method to mark application as completed to avoid calling main() twice
* added a flag to determine the communication protocol; temporirily use it to trigger main
* addressed comment in client.dart
diff --git a/dwds/CHANGELOG.md b/dwds/CHANGELOG.md
index 6d88f48..418ff21 100644
--- a/dwds/CHANGELOG.md
+++ b/dwds/CHANGELOG.md
@@ -1,5 +1,6 @@
-## 24.3.11-wip
+## 24.3.11
+- Changed DWDS to always inject the client and added `useDwdsWebSocketConnection` flag to control communication protocol: when true uses socket-based implementation, when false uses Chrome-based communication protocol.
- Added WebSocket-based hot reload support: `reloadSources` in `ChromeProxyService` and `DevHandler` now handle hot reload requests and responses over WebSockets.
- Refactored the injected client to use a reusable function for handling hot reload requests and responses over WebSockets.
- Added support for breakpoint registering on a hot restart with the DDC library bundle format using PausePostRequests.
diff --git a/dwds/lib/dart_web_debug_service.dart b/dwds/lib/dart_web_debug_service.dart
index 83ed4be..ff960f0 100644
--- a/dwds/lib/dart_web_debug_service.dart
+++ b/dwds/lib/dart_web_debug_service.dart
@@ -66,7 +66,12 @@
required Stream<BuildResult> buildResults,
required ConnectionProvider chromeConnection,
required ToolConfiguration toolConfiguration,
+ // ignore: avoid-unused-parameters
+ @Deprecated(
+ 'This parameter is ignored and will be removed in a future version.',
+ )
bool injectDebuggingSupportCode = true,
+ bool useDwdsWebSocketConnection = false,
}) async {
globalToolConfiguration = toolConfiguration;
final debugSettings = toolConfiguration.debugSettings;
@@ -120,7 +125,7 @@
final injected = DwdsInjector(
extensionUri: extensionUri,
- injectDebuggingSupportCode: injectDebuggingSupportCode,
+ useDwdsWebSocketConnection: useDwdsWebSocketConnection,
);
final devHandler = DevHandler(
diff --git a/dwds/lib/src/handlers/injector.dart b/dwds/lib/src/handlers/injector.dart
index aad12ec..d554949 100644
--- a/dwds/lib/src/handlers/injector.dart
+++ b/dwds/lib/src/handlers/injector.dart
@@ -30,25 +30,21 @@
/// to include the injected DWDS client, enabling debugging capabilities
/// and source mapping when running in a browser environment.
///
-/// The `_injectDebuggingSupportCode` flag determines whether debugging-related
-/// functionality should be included:
-/// - When `true`, the DWDS client is injected, enabling debugging features.
-/// - When `false`, debugging support is disabled, meaning the application will
-/// run without debugging.
-///
-/// This separation allows for scenarios where debugging is not needed or
-/// should be explicitly avoided.
+/// TODO(yjessy): Remove this when the DWDS WebSocket connection is implemented.
+/// The `_useDwdsWebSocketConnection` flag determines the communication protocol:
+/// - When `true`, uses a socket-based implementation.
+/// - When `false`, uses Chrome-based communication protocol.
class DwdsInjector {
final Future<String>? _extensionUri;
final _devHandlerPaths = StreamController<String>();
final _logger = Logger('DwdsInjector');
- final bool _injectDebuggingSupportCode;
+ final bool _useDwdsWebSocketConnection;
DwdsInjector({
Future<String>? extensionUri,
- bool injectDebuggingSupportCode = true,
+ bool useDwdsWebSocketConnection = false,
}) : _extensionUri = extensionUri,
- _injectDebuggingSupportCode = injectDebuggingSupportCode;
+ _useDwdsWebSocketConnection = useDwdsWebSocketConnection;
/// Returns the embedded dev handler paths.
///
@@ -108,17 +104,15 @@
await globalToolConfiguration.loadStrategy.trackEntrypoint(
entrypoint,
);
- // If true, inject the debugging client and hoist the main function
- // to enable debugging support.
- if (_injectDebuggingSupportCode) {
- body = await _injectClientAndHoistMain(
- body,
- appId,
- devHandlerPath,
- entrypoint,
- await _extensionUri,
- );
- }
+ // Always inject the debugging client and hoist the main function.
+ body = await _injectClientAndHoistMain(
+ body,
+ appId,
+ devHandlerPath,
+ entrypoint,
+ await _extensionUri,
+ _useDwdsWebSocketConnection,
+ );
body += await globalToolConfiguration.loadStrategy.bootstrapFor(
entrypoint,
);
@@ -154,6 +148,7 @@
String devHandlerPath,
String entrypointPath,
String? extensionUri,
+ bool useDwdsWebSocketConnection,
) async {
final bodyLines = body.split('\n');
final extensionIndex = bodyLines.indexWhere(
@@ -172,6 +167,7 @@
devHandlerPath,
entrypointPath,
extensionUri,
+ useDwdsWebSocketConnection,
);
result += '''
// Injected by dwds for debugging support.
@@ -203,6 +199,7 @@
String devHandlerPath,
String entrypointPath,
String? extensionUri,
+ bool useDwdsWebSocketConnection,
) async {
final loadStrategy = globalToolConfiguration.loadStrategy;
final buildSettings = loadStrategy.buildSettings;
@@ -221,6 +218,7 @@
'window.\$dartEmitDebugEvents = ${debugSettings.emitDebugEvents};\n'
'window.\$isInternalBuild = ${appMetadata.isInternalBuild};\n'
'window.\$isFlutterApp = ${buildSettings.isFlutterApp};\n'
+ 'window.\$useDwdsWebSocketConnection = $useDwdsWebSocketConnection;\n'
'${loadStrategy is DdcLibraryBundleStrategy ? 'window.\$hotReloadSourcesPath = "${loadStrategy.hotReloadSourcesUri.toString()}";\n' : ''}'
'${loadStrategy.loadClientSnippet(_clientScript)}';
diff --git a/dwds/lib/src/injected/client.js b/dwds/lib/src/injected/client.js
index e1e788f..40bf2fd 100644
--- a/dwds/lib/src/injected/client.js
+++ b/dwds/lib/src/injected/client.js
@@ -1,4 +1,4 @@
-// Generated by dart2js (, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.9.0-152.0.dev.
+// Generated by dart2js (, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.9.0-edge.
// The code supports the following hooks:
// dartPrint(message):
// if this function is defined it is called instead of the Dart [print]
@@ -125,9 +125,7 @@
return finalValue;
};
}
- function makeConstList(list, rti) {
- if (rti != null)
- A._setArrayType(list, rti);
+ function makeConstList(list) {
list.$flags = 7;
return list;
}
@@ -388,6 +386,22 @@
return J.UnknownJavaScriptObject.prototype;
return receiver;
},
+ getInterceptor$x(receiver) {
+ if (receiver == null)
+ return receiver;
+ if (typeof receiver != "object") {
+ if (typeof receiver == "function")
+ return J.JavaScriptFunction.prototype;
+ if (typeof receiver == "symbol")
+ return J.JavaScriptSymbol.prototype;
+ if (typeof receiver == "bigint")
+ return J.JavaScriptBigInt.prototype;
+ return receiver;
+ }
+ if (receiver instanceof A.Object)
+ return receiver;
+ return J.getNativeInterceptor(receiver);
+ },
set$length$asx(receiver, value) {
return J.getInterceptor$asx(receiver).set$length(receiver, value);
},
@@ -438,6 +452,9 @@
allMatches$2$s(receiver, a0, a1) {
return J.getInterceptor$s(receiver).allMatches$2(receiver, a0, a1);
},
+ asUint8List$2$x(receiver, a0, a1) {
+ return J.getInterceptor$x(receiver).asUint8List$2(receiver, a0, a1);
+ },
cast$1$0$ax(receiver, $T1) {
return J.getInterceptor$ax(receiver).cast$1$0(receiver, $T1);
},
@@ -503,8 +520,6 @@
JSArray: function JSArray(t0) {
this.$ti = t0;
},
- JSArraySafeToStringHook: function JSArraySafeToStringHook() {
- },
JSUnmodifiableArray: function JSUnmodifiableArray(t0) {
this.$ti = t0;
},
@@ -1106,7 +1121,6 @@
return A._rtiToString(A.instanceType(object), null);
},
Primitives_safeToString(object) {
- var hooks, i, hookResult;
if (object == null || typeof object == "number" || A._isBool(object))
return J.toString$0$(object);
if (typeof object == "string")
@@ -1115,12 +1129,6 @@
return object.toString$0(0);
if (object instanceof A._Record)
return object._toString$1(true);
- hooks = $.$get$_safeToStringHooks();
- for (i = 0; i < 1; ++i) {
- hookResult = hooks[i].tryFormat$1(object);
- if (hookResult != null)
- return hookResult;
- }
return "Instance of '" + A.Primitives_objectTypeName(object) + "'";
},
Primitives_currentUri() {
@@ -1961,7 +1969,8 @@
if (receiver === "")
return replacement;
$length = receiver.length;
- for (t1 = replacement, i = 0; i < $length; ++i)
+ t1 = "" + replacement;
+ for (i = 0; i < $length; ++i)
t1 = t1 + receiver[i] + replacement;
return t1.charCodeAt(0) == 0 ? t1 : t1;
}
@@ -2042,8 +2051,6 @@
this._genericClosure = t0;
this.$ti = t1;
},
- SafeToStringHook: function SafeToStringHook() {
- },
TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {
var _ = this;
_._pattern = t0;
@@ -2217,6 +2224,9 @@
this._name = t0;
this.__late_helper$_value = null;
},
+ _checkLength($length) {
+ return $length;
+ },
_ensureNativeList(list) {
var t1, result, i;
if (type$.JSIndexable_dynamic._is(list))
@@ -2259,6 +2269,9 @@
},
NativeTypedData: function NativeTypedData() {
},
+ _UnmodifiableNativeByteBufferView: function _UnmodifiableNativeByteBufferView(t0) {
+ this.__native_typed_data$_data = t0;
+ },
NativeByteData: function NativeByteData() {
},
NativeTypedArray: function NativeTypedArray() {
@@ -2552,56 +2565,45 @@
return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));
},
_installSpecializedIsTest(object) {
- var testRti = this;
- testRti._is = A._specializedIsTest(testRti);
- return testRti._is(object);
- },
- _specializedIsTest(testRti) {
- var kind, simpleIsFn, $name, predicate, t2,
- t1 = type$.Object;
- if (testRti === t1)
- return A._isObject;
+ var kind, isFn, $name, predicate, testRti = this;
+ if (testRti === type$.Object)
+ return A._finishIsFn(testRti, object, A._isObject);
if (A.isTopType(testRti))
- return A._isTop;
+ return A._finishIsFn(testRti, object, A._isTop);
kind = testRti._kind;
if (kind === 6)
- return A._generalNullableIsTestImplementation;
+ return A._finishIsFn(testRti, object, A._generalNullableIsTestImplementation);
if (kind === 1)
- return A._isNever;
+ return A._finishIsFn(testRti, object, A._isNever);
if (kind === 7)
- return A._isFutureOr;
- simpleIsFn = A._simpleSpecializedIsTest(testRti);
- if (simpleIsFn != null)
- return simpleIsFn;
+ return A._finishIsFn(testRti, object, A._isFutureOr);
+ if (testRti === type$.int)
+ isFn = A._isInt;
+ else if (testRti === type$.double || testRti === type$.num)
+ isFn = A._isNum;
+ else if (testRti === type$.String)
+ isFn = A._isString;
+ else
+ isFn = testRti === type$.bool ? A._isBool : null;
+ if (isFn != null)
+ return A._finishIsFn(testRti, object, isFn);
if (kind === 8) {
$name = testRti._primary;
if (testRti._rest.every(A.isTopType)) {
testRti._specializedTestResource = "$is" + $name;
if ($name === "List")
- return A._isListTestViaProperty;
- if (testRti === type$.JSObject)
- return A._isJSObject;
- return A._isTestViaProperty;
+ return A._finishIsFn(testRti, object, A._isListTestViaProperty);
+ return A._finishIsFn(testRti, object, A._isTestViaProperty);
}
} else if (kind === 10) {
predicate = A.createRecordTypePredicate(testRti._primary, testRti._rest);
- t2 = predicate == null ? A._isNever : predicate;
- return t2 == null ? t1._as(t2) : t2;
+ return A._finishIsFn(testRti, object, predicate == null ? A._isNever : predicate);
}
- return A._generalIsTestImplementation;
+ return A._finishIsFn(testRti, object, A._generalIsTestImplementation);
},
- _simpleSpecializedIsTest(testRti) {
- if (testRti._kind === 8) {
- if (testRti === type$.int)
- return A._isInt;
- if (testRti === type$.double || testRti === type$.num)
- return A._isNum;
- if (testRti === type$.String)
- return A._isString;
- if (testRti === type$.bool)
- return A._isBool;
- }
- return null;
+ _finishIsFn(testRti, object, isFn) {
+ testRti._is = isFn;
+ return testRti._is(object);
},
_installSpecializedAsCheck(object) {
var testRti = this,
@@ -2610,28 +2612,28 @@
asFn = A._asTop;
else if (testRti === type$.Object)
asFn = A._asObject;
- else if (A.isNullable(testRti)) {
+ else if (A.isNullable(testRti))
asFn = A._generalNullableAsCheckImplementation;
- if (testRti === type$.nullable_int)
- asFn = A._asIntQ;
- else if (testRti === type$.nullable_String)
- asFn = A._asStringQ;
- else if (testRti === type$.nullable_bool)
- asFn = A._asBoolQ;
- else if (testRti === type$.nullable_num)
- asFn = A._asNumQ;
- else if (testRti === type$.nullable_double)
- asFn = A._asDoubleQ;
- } else if (testRti === type$.int)
+ if (testRti === type$.int)
asFn = A._asInt;
+ else if (testRti === type$.nullable_int)
+ asFn = A._asIntQ;
else if (testRti === type$.String)
asFn = A._asString;
+ else if (testRti === type$.nullable_String)
+ asFn = A._asStringQ;
else if (testRti === type$.bool)
asFn = A._asBool;
+ else if (testRti === type$.nullable_bool)
+ asFn = A._asBoolQ;
else if (testRti === type$.num)
asFn = A._asNum;
+ else if (testRti === type$.nullable_num)
+ asFn = A._asNumQ;
else if (testRti === type$.double)
asFn = A._asDouble;
+ else if (testRti === type$.nullable_double)
+ asFn = A._asDoubleQ;
testRti._as = asFn;
return testRti._as(object);
},
@@ -2668,19 +2670,6 @@
return !!object[tag];
return !!J.getInterceptor$(object)[tag];
},
- _isJSObject(object) {
- var t1 = this;
- if (object == null)
- return false;
- if (typeof object == "object") {
- if (object instanceof A.Object)
- return !!object[t1._specializedTestResource];
- return true;
- }
- if (typeof object == "function")
- return true;
- return false;
- },
_generalAsCheckImplementation(object) {
var testRti = this;
if (object == null) {
@@ -2950,8 +2939,8 @@
},
_Universe_findErasedType(universe, cls) {
var $length, erased, $arguments, i, $interface,
- metadata = universe.eT,
- probe = metadata[cls];
+ t1 = universe.eT,
+ probe = t1[cls];
if (probe == null)
return A._Universe_eval(universe, cls, false);
else if (typeof probe == "number") {
@@ -2961,7 +2950,7 @@
for (i = 0; i < $length; ++i)
$arguments[i] = erased;
$interface = A._Universe__lookupInterfaceRti(universe, cls, $arguments);
- metadata[cls] = $interface;
+ t1[cls] = $interface;
return $interface;
} else
return probe;
@@ -2974,12 +2963,12 @@
},
_Universe_eval(universe, recipe, normalize) {
var rti,
- cache = universe.eC,
- probe = cache.get(recipe);
+ t1 = universe.eC,
+ probe = t1.get(recipe);
if (probe != null)
return probe;
rti = A._Parser_parse(A._Parser_create(universe, null, recipe, false));
- cache.set(recipe, rti);
+ t1.set(recipe, rti);
return rti;
},
_Universe_evalInEnvironment(universe, environment, recipe) {
@@ -3238,97 +3227,97 @@
return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};
},
_Parser_parse(parser) {
- var t1, i, ch, u, array, end, item,
+ var t2, i, ch, t3, array, end, item,
source = parser.r,
- stack = parser.s;
- for (t1 = source.length, i = 0; i < t1;) {
+ t1 = parser.s;
+ for (t2 = source.length, i = 0; i < t2;) {
ch = source.charCodeAt(i);
if (ch >= 48 && ch <= 57)
- i = A._Parser_handleDigit(i + 1, ch, source, stack);
+ i = A._Parser_handleDigit(i + 1, ch, source, t1);
else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)
- i = A._Parser_handleIdentifier(parser, i, source, stack, false);
+ i = A._Parser_handleIdentifier(parser, i, source, t1, false);
else if (ch === 46)
- i = A._Parser_handleIdentifier(parser, i, source, stack, true);
+ i = A._Parser_handleIdentifier(parser, i, source, t1, true);
else {
++i;
switch (ch) {
case 44:
break;
case 58:
- stack.push(false);
+ t1.push(false);
break;
case 33:
- stack.push(true);
+ t1.push(true);
break;
case 59:
- stack.push(A._Parser_toType(parser.u, parser.e, stack.pop()));
+ t1.push(A._Parser_toType(parser.u, parser.e, t1.pop()));
break;
case 94:
- stack.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, stack.pop()));
+ t1.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, t1.pop()));
break;
case 35:
- stack.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
+ t1.push(A._Universe__lookupTerminalRti(parser.u, 5, "#"));
break;
case 64:
- stack.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
+ t1.push(A._Universe__lookupTerminalRti(parser.u, 2, "@"));
break;
case 126:
- stack.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
+ t1.push(A._Universe__lookupTerminalRti(parser.u, 3, "~"));
break;
case 60:
- stack.push(parser.p);
- parser.p = stack.length;
+ t1.push(parser.p);
+ parser.p = t1.length;
break;
case 62:
- A._Parser_handleTypeArguments(parser, stack);
+ A._Parser_handleTypeArguments(parser, t1);
break;
case 38:
- A._Parser_handleExtendedOperations(parser, stack);
+ A._Parser_handleExtendedOperations(parser, t1);
break;
case 63:
- u = parser.u;
- stack.push(A._Universe__lookupQuestionRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n));
+ t3 = parser.u;
+ t1.push(A._Universe__lookupQuestionRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
break;
case 47:
- u = parser.u;
- stack.push(A._Universe__lookupFutureOrRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n));
+ t3 = parser.u;
+ t1.push(A._Universe__lookupFutureOrRti(t3, A._Parser_toType(t3, parser.e, t1.pop()), parser.n));
break;
case 40:
- stack.push(-3);
- stack.push(parser.p);
- parser.p = stack.length;
+ t1.push(-3);
+ t1.push(parser.p);
+ parser.p = t1.length;
break;
case 41:
- A._Parser_handleArguments(parser, stack);
+ A._Parser_handleArguments(parser, t1);
break;
case 91:
- stack.push(parser.p);
- parser.p = stack.length;
+ t1.push(parser.p);
+ parser.p = t1.length;
break;
case 93:
- array = stack.splice(parser.p);
+ array = t1.splice(parser.p);
A._Parser_toTypes(parser.u, parser.e, array);
- parser.p = stack.pop();
- stack.push(array);
- stack.push(-1);
+ parser.p = t1.pop();
+ t1.push(array);
+ t1.push(-1);
break;
case 123:
- stack.push(parser.p);
- parser.p = stack.length;
+ t1.push(parser.p);
+ parser.p = t1.length;
break;
case 125:
- array = stack.splice(parser.p);
+ array = t1.splice(parser.p);
A._Parser_toTypesNamed(parser.u, parser.e, array);
- parser.p = stack.pop();
- stack.push(array);
- stack.push(-2);
+ parser.p = t1.pop();
+ t1.push(array);
+ t1.push(-2);
break;
case 43:
end = source.indexOf("(", i);
- stack.push(source.substring(i, end));
- stack.push(-4);
- stack.push(parser.p);
- parser.p = stack.length;
+ t1.push(source.substring(i, end));
+ t1.push(-4);
+ t1.push(parser.p);
+ parser.p = t1.length;
i = end + 1;
break;
default:
@@ -3336,7 +3325,7 @@
}
}
}
- item = stack.pop();
+ item = t1.pop();
return A._Parser_toType(parser.u, parser.e, item);
},
_Parser_handleDigit(i, digit, source, stack) {
@@ -3385,26 +3374,26 @@
},
_Parser_handleTypeArguments(parser, stack) {
var base,
- universe = parser.u,
+ t1 = parser.u,
$arguments = A._Parser_collectArray(parser, stack),
head = stack.pop();
if (typeof head == "string")
- stack.push(A._Universe__lookupInterfaceRti(universe, head, $arguments));
+ stack.push(A._Universe__lookupInterfaceRti(t1, head, $arguments));
else {
- base = A._Parser_toType(universe, parser.e, head);
+ base = A._Parser_toType(t1, parser.e, head);
switch (base._kind) {
case 11:
- stack.push(A._Universe__lookupGenericFunctionRti(universe, base, $arguments, parser.n));
+ stack.push(A._Universe__lookupGenericFunctionRti(t1, base, $arguments, parser.n));
break;
default:
- stack.push(A._Universe__lookupBindingRti(universe, base, $arguments));
+ stack.push(A._Universe__lookupBindingRti(t1, base, $arguments));
break;
}
}
},
_Parser_handleArguments(parser, stack) {
var requiredPositional, returnType, parameters,
- universe = parser.u,
+ t1 = parser.u,
head = stack.pop(),
optionalPositional = null, named = null;
if (typeof head == "number")
@@ -3427,18 +3416,18 @@
case -3:
head = stack.pop();
if (optionalPositional == null)
- optionalPositional = universe.sEA;
+ optionalPositional = t1.sEA;
if (named == null)
- named = universe.sEA;
- returnType = A._Parser_toType(universe, parser.e, head);
+ named = t1.sEA;
+ returnType = A._Parser_toType(t1, parser.e, head);
parameters = new A._FunctionParameters();
parameters._requiredPositional = requiredPositional;
parameters._optionalPositional = optionalPositional;
parameters._named = named;
- stack.push(A._Universe__lookupFunctionRti(universe, returnType, parameters));
+ stack.push(A._Universe__lookupFunctionRti(t1, returnType, parameters));
return;
case -4:
- stack.push(A._Universe__lookupRecordRti(universe, stack.pop(), requiredPositional));
+ stack.push(A._Universe__lookupRecordRti(t1, stack.pop(), requiredPositional));
return;
default:
throw A.wrapException(A.AssertionError$("Unexpected state under `()`: " + A.S(head)));
@@ -3809,6 +3798,7 @@
return completer._future;
},
_asyncAwait(object, bodyFunction) {
+ bodyFunction.toString;
A._awaitOnObject(object, bodyFunction);
},
_asyncReturn(object, completer) {
@@ -7527,15 +7517,15 @@
_.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = $;
},
JSAnyUtilityExtension_instanceOfString(_this, constructorName) {
- var parts, $constructor, t1, t2, _i, t3;
+ var parts, $constructor, t1, t2, _i, part;
if (constructorName.length === 0)
return false;
parts = constructorName.split(".");
$constructor = init.G;
- for (t1 = parts.length, t2 = type$.nullable_JSObject, _i = 0; _i < t1; ++_i, $constructor = t3) {
- t3 = $constructor[parts[_i]];
- t2._as(t3);
- if (t3 == null)
+ for (t1 = parts.length, t2 = type$.nullable_JSObject, _i = 0; _i < t1; ++_i) {
+ part = parts[_i];
+ $constructor = t2._as($constructor[part]);
+ if ($constructor == null)
return false;
}
return _this instanceof type$.JavaScriptFunction._as($constructor);
@@ -7686,11 +7676,11 @@
A.checkTypeBound($T, type$.num, "T", "max");
return Math.max($T._as(a), $T._as(b));
},
- Random_Random(seed) {
- return B.C__JSRandom;
- },
_JSRandom: function _JSRandom() {
},
+ _JSSecureRandom: function _JSSecureRandom(t0) {
+ this._math$_buffer = t0;
+ },
AsyncMemoizer: function AsyncMemoizer(t0, t1) {
this._async_memoizer$_completer = t0;
this.$ti = t1;
@@ -8275,7 +8265,7 @@
},
ConnectRequestBuilder: function ConnectRequestBuilder() {
var _ = this;
- _._entrypointPath = _._instanceId = _._appId = _._$v = null;
+ _._entrypointPath = _._instanceId = _._connect_request$_appId = _._connect_request$_$v = null;
},
DebugEvent: function DebugEvent() {
},
@@ -8322,7 +8312,7 @@
},
DebugInfoBuilder: function DebugInfoBuilder() {
var _ = this;
- _._tabId = _._tabUrl = _._workspaceName = _._isFlutterApp = _._isInternalBuild = _._extensionUrl = _._dwdsVersion = _._authUrl = _._appUrl = _._appOrigin = _._appInstanceId = _._debug_info$_appId = _._appEntrypointPath = _._debug_info$_$v = null;
+ _._tabId = _._tabUrl = _._workspaceName = _._isFlutterApp = _._isInternalBuild = _._extensionUrl = _._dwdsVersion = _._authUrl = _._appUrl = _._appOrigin = _._appInstanceId = _._appId = _._appEntrypointPath = _._$v = null;
},
DevToolsRequest: function DevToolsRequest() {
},
@@ -8755,6 +8745,9 @@
_._finalized = false;
},
Response_fromStream(response) {
+ return A.Response_fromStream$body(response);
+ },
+ Response_fromStream$body(response) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.Response),
$async$returnValue, body, t1, t2, t3, t4, t5, t6;
@@ -8897,7 +8890,7 @@
break;
}
message = new A.StringBuffer("");
- t1 = method + "(";
+ t1 = "" + (method + "(");
message._contents = t1;
t2 = A._arrayInstanceType(args);
t3 = t2._eval$1("SubListIterable<1>");
@@ -9418,8 +9411,7 @@
},
RNG: function RNG() {
},
- MathRNG: function MathRNG(t0) {
- this._rnd = t0;
+ CryptoRNG: function CryptoRNG() {
},
UuidV1: function UuidV1(t0) {
this.goptions = t0;
@@ -9469,6 +9461,9 @@
this.handleData = t0;
},
BrowserWebSocket_connect(url, protocols) {
+ return A.BrowserWebSocket_connect$body(url, protocols);
+ },
+ BrowserWebSocket_connect$body(url, protocols) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.BrowserWebSocket),
$async$returnValue, t1, t2, t3, t4, webSocket, browserSocket, webSocketConnected;
@@ -9484,8 +9479,7 @@
t1 = init.G;
t2 = t1.WebSocket;
t3 = url.toString$0(0);
- t1 = t1.Array;
- t1 = type$.JSArray_nullable_Object._as(new t1());
+ t1 = type$.JSArray_nullable_Object._as(new t1.Array());
t4 = type$.JSObject;
webSocket = t4._as(new t2(t3, t1));
webSocket.binaryType = "arraybuffer";
@@ -9612,13 +9606,19 @@
throw exception;
}
},
+ _sendConnectRequest(clientSink) {
+ var t1 = $.$get$serializers(),
+ t2 = new A.ConnectRequestBuilder();
+ type$.nullable_void_Function_ConnectRequestBuilder._as(new A._sendConnectRequest_closure()).call$1(t2);
+ A._trySendEvent(clientSink, B.C_JsonCodec.encode$2$toEncodable(t1.serialize$1(t2._connect_request$_build$0()), null), type$.dynamic);
+ },
_launchCommunicationWithDebugExtension() {
var t1, t2;
type$.JSObject._as(init.G.window).addEventListener("message", A._functionToJS1(A.client___handleAuthRequest$closure()));
t1 = $.$get$serializers();
t2 = new A.DebugInfoBuilder();
type$.nullable_void_Function_DebugInfoBuilder._as(new A._launchCommunicationWithDebugExtension_closure()).call$1(t2);
- A._dispatchEvent("dart-app-ready", B.C_JsonCodec.encode$2$toEncodable(t1.serialize$1(t2._debug_info$_build$0()), null));
+ A._dispatchEvent("dart-app-ready", B.C_JsonCodec.encode$2$toEncodable(t1.serialize$1(t2._build$0()), null));
},
_dispatchEvent(message, detail) {
var t1 = init.G,
@@ -9640,6 +9640,9 @@
}
},
_authenticateUser(authUrl) {
+ return A._authenticateUser$body(authUrl);
+ },
+ _authenticateUser$body(authUrl) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.bool),
$async$returnValue, response, client;
@@ -9800,10 +9803,10 @@
},
main__closure9: function main__closure9() {
},
- main__closure10: function main__closure10() {
- },
main_closure0: function main_closure0() {
},
+ _sendConnectRequest_closure: function _sendConnectRequest_closure() {
+ },
_launchCommunicationWithDebugExtension_closure: function _launchCommunicationWithDebugExtension_closure() {
},
_handleAuthRequest_closure: function _handleAuthRequest_closure() {
@@ -9814,6 +9817,9 @@
this.errorMessage = t2;
},
_Debugger_maybeInvokeFlutterDisassemble(_this) {
+ return A._Debugger_maybeInvokeFlutterDisassemble$body(_this);
+ },
+ _Debugger_maybeInvokeFlutterDisassemble$body(_this) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void),
t1;
@@ -9865,6 +9871,9 @@
this._restarter = t1;
},
SdkDeveloperExtension_maybeInvokeFlutterDisassemble(_this) {
+ return A.SdkDeveloperExtension_maybeInvokeFlutterDisassemble$body(_this);
+ },
+ SdkDeveloperExtension_maybeInvokeFlutterDisassemble$body(_this) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void);
var $async$SdkDeveloperExtension_maybeInvokeFlutterDisassemble = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
@@ -10001,7 +10010,8 @@
throw "Unable to print message: " + String(string);
},
JSFunctionUnsafeUtilExtension_callAsConstructor(_this, arg1, $R) {
- return $R._as(A.callConstructor(_this, [arg1], type$.JSObject));
+ var t1 = [arg1];
+ return $R._as(A.callConstructor(_this, t1, type$.JSObject));
},
groupBy(values, key, $S, $T) {
var t1, _i, element, t2, t3,
@@ -10362,6 +10372,7 @@
return new A.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
},
map$1(receiver, f) {
+ f.toString;
return this.map$1$1(receiver, f, type$.dynamic);
},
join$1(receiver, separator) {
@@ -10583,6 +10594,7 @@
return -1;
},
indexWhere$1(receiver, test) {
+ test.toString;
return this.indexWhere$2(receiver, test, 0);
},
get$runtimeType(receiver) {
@@ -10593,24 +10605,6 @@
$isIterable: 1,
$isList: 1
};
- J.JSArraySafeToStringHook.prototype = {
- tryFormat$1(array) {
- var flags, info, base;
- if (!Array.isArray(array))
- return null;
- flags = array.$flags | 0;
- if ((flags & 4) !== 0)
- info = "const, ";
- else if ((flags & 2) !== 0)
- info = "unmodifiable, ";
- else
- info = (flags & 1) !== 0 ? "fixed, " : "";
- base = "Instance of '" + A.Primitives_objectTypeName(array) + "'";
- if (info === "")
- return base;
- return base + " (" + info + "length: " + array.length + ")";
- }
- };
J.JSUnmodifiableArray.prototype = {};
J.ArrayIterator.prototype = {
get$current() {
@@ -11226,6 +11220,7 @@
return new A.MappedListIterable(this, t1._bind$1($T)._eval$1("1(ListIterable.E)")._as(toElement), t1._eval$1("@<ListIterable.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
},
map$1(_, toElement) {
+ toElement.toString;
return this.map$1$1(0, toElement, type$.dynamic);
},
reduce$1(_, combine) {
@@ -11421,6 +11416,7 @@
return new A.MappedIterable(this, t1._bind$1($T)._eval$1("1(2)")._as(toElement), t1._eval$1("@<1>")._bind$1($T)._eval$1("MappedIterable<1,2>"));
},
map$1(_, toElement) {
+ toElement.toString;
return this.map$1$1(0, toElement, type$.dynamic);
}
};
@@ -11558,6 +11554,7 @@
return new A.EmptyIterable($T._eval$1("EmptyIterable<0>"));
},
map$1(_, toElement) {
+ toElement.toString;
return this.map$1$1(0, toElement, type$.dynamic);
},
skip$1(_, count) {
@@ -11666,6 +11663,7 @@
},
map$1(_, transform) {
var t1 = type$.dynamic;
+ transform.toString;
return this.map$2$1(0, transform, t1, t1);
},
$isMap: 1
@@ -11774,7 +11772,6 @@
return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.$ti);
}
};
- A.SafeToStringHook.prototype = {};
A.TypeErrorDecoder.prototype = {
matchTypeError$1(message) {
var result, t1, _this = this,
@@ -12286,7 +12283,7 @@
var t2, separator, i, key, value,
keys = this._fieldKeys$0(),
values = this._getFieldValues$0(),
- t1 = (safe ? "Record " : "") + "(";
+ t1 = (safe ? "" + "Record " : "") + "(";
for (t2 = keys.length, separator = "", i = 0; i < t2; ++i, separator = ", ") {
t1 += separator;
key = keys[i];
@@ -12564,11 +12561,20 @@
get$runtimeType(receiver) {
return B.Type_ByteBuffer_rqD;
},
+ asUint8List$2(receiver, offsetInBytes, $length) {
+ return $length == null ? new Uint8Array(receiver, offsetInBytes) : new Uint8Array(receiver, offsetInBytes, $length);
+ },
$isTrustedGetRuntimeType: 1,
$isNativeByteBuffer: 1,
$isByteBuffer: 1
};
A.NativeTypedData.prototype = {
+ get$buffer(receiver) {
+ if (((receiver.$flags | 0) & 2) !== 0)
+ return new A._UnmodifiableNativeByteBufferView(receiver.buffer);
+ else
+ return receiver.buffer;
+ },
_invalidPosition$3(receiver, position, $length, $name) {
var t1 = A.RangeError$range(position, 0, $length, $name, null);
throw A.wrapException(t1);
@@ -12578,6 +12584,14 @@
this._invalidPosition$3(receiver, position, $length, $name);
}
};
+ A._UnmodifiableNativeByteBufferView.prototype = {
+ asUint8List$2(_, offsetInBytes, $length) {
+ var result = A.NativeUint8List_NativeUint8List$view(this.__native_typed_data$_data, offsetInBytes, $length);
+ result.$flags = 3;
+ return result;
+ },
+ $isByteBuffer: 1
+ };
A.NativeByteData.prototype = {
get$runtimeType(receiver) {
return B.Type_ByteData_9dB;
@@ -13082,6 +13096,7 @@
return result;
},
then$1$1(f, $R) {
+ f.toString;
return this.then$1$2$onError(f, null, $R);
},
_thenAwait$1$2(f, onError, $E) {
@@ -13460,6 +13475,7 @@
return new A._MapStream(t1._bind$1($S)._eval$1("1(Stream.T)")._as(convert), this, t1._eval$1("@<Stream.T>")._bind$1($S)._eval$1("_MapStream<1,2>"));
},
map$1(_, convert) {
+ convert.toString;
return this.map$1$1(0, convert, type$.dynamic);
},
get$length(_) {
@@ -15469,6 +15485,7 @@
return new A.MappedListIterable(receiver, t1._bind$1($T)._eval$1("1(ListBase.E)")._as(f), t1._eval$1("@<ListBase.E>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
},
map$1(receiver, f) {
+ f.toString;
return this.map$1$1(receiver, f, type$.dynamic);
},
skip$1(receiver, count) {
@@ -15594,6 +15611,7 @@
},
map$1(_, transform) {
var t1 = type$.dynamic;
+ transform.toString;
return this.map$2$1(0, transform, t1, t1);
},
containsKey$1(key) {
@@ -15671,6 +15689,7 @@
},
map$1(_, transform) {
var t1 = type$.dynamic;
+ transform.toString;
return this.map$2$1(0, transform, t1, t1);
},
$isMap: 1
@@ -15829,6 +15848,7 @@
return new A.EfficientLengthMappedIterable(this, t1._bind$1($T)._eval$1("1(2)")._as(f), t1._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
},
map$1(_, f) {
+ f.toString;
return this.map$1$1(0, f, type$.dynamic);
},
toString$0(_) {
@@ -17778,6 +17798,7 @@
return A.MappedIterable_MappedIterable(this, t1._bind$1($T)._eval$1("1(Iterable.E)")._as(toElement), t1._eval$1("Iterable.E"), $T);
},
map$1(_, toElement) {
+ toElement.toString;
return this.map$1$1(0, toElement, type$.dynamic);
},
contains$1(_, element) {
@@ -17925,7 +17946,7 @@
value = _this.___Uri__text_FI;
if (value === $) {
t1 = _this.scheme;
- t2 = t1.length !== 0 ? t1 + ":" : "";
+ t2 = t1.length !== 0 ? "" + t1 + ":" : "";
t3 = _this._host;
t4 = t3 == null;
if (!t4 || t1 === "file") {
@@ -18168,7 +18189,7 @@
A.throwExpression(A.UnsupportedError$(string$.Cannotn));
pathSegments = _this.get$pathSegments();
A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);
- t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "/" : "", pathSegments, "/");
+ t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith$1(_this.path, "/") ? "" + "/" : "", pathSegments, "/");
t1 = t1.charCodeAt(0) == 0 ? t1 : t1;
return t1;
},
@@ -18704,10 +18725,44 @@
A._JSRandom.prototype = {
nextInt$1(max) {
if (max <= 0 || max > 4294967296)
- throw A.wrapException(A.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max));
+ throw A.wrapException(A.RangeError$(string$.max_mu + max));
return Math.random() * max >>> 0;
+ }
+ };
+ A._JSSecureRandom.prototype = {
+ _JSSecureRandom$0() {
+ var $crypto = self.crypto;
+ if ($crypto != null)
+ if ($crypto.getRandomValues != null)
+ return;
+ throw A.wrapException(A.UnsupportedError$("No source of cryptographically secure random numbers available."));
},
- $isRandom: 1
+ nextInt$1(max) {
+ var byteCount, t1, start, randomLimit, t2, t3, random, result;
+ if (max <= 0 || max > 4294967296)
+ throw A.wrapException(A.RangeError$(string$.max_mu + max));
+ if (max > 255)
+ if (max > 65535)
+ byteCount = max > 16777215 ? 4 : 3;
+ else
+ byteCount = 2;
+ else
+ byteCount = 1;
+ t1 = this._math$_buffer;
+ t1.$flags & 2 && A.throwUnsupportedOperation(t1, 11);
+ t1.setUint32(0, 0, false);
+ start = 4 - byteCount;
+ randomLimit = A._asInt(Math.pow(256, byteCount));
+ for (t2 = max - 1, t3 = (max & t2) >>> 0 === 0; true;) {
+ crypto.getRandomValues(J.asUint8List$2$x(B.NativeByteData_methods.get$buffer(t1), start, byteCount));
+ random = t1.getUint32(0, false);
+ if (t3)
+ return (random & t2) >>> 0;
+ result = random % max;
+ if (random - result + max < randomLimit)
+ return result;
+ }
+ }
};
A.AsyncMemoizer.prototype = {};
A.DelegatingStreamSink.prototype = {
@@ -18921,6 +18976,7 @@
return new A.MappedListIterable(t1, t2._bind$1($T)._eval$1("1(2)")._as(this.$ti._bind$1($T)._eval$1("1(2)")._as(f)), t2._eval$1("@<1>")._bind$1($T)._eval$1("MappedListIterable<1,2>"));
},
map$1(_, f) {
+ f.toString;
return this.map$1$1(0, f, type$.dynamic);
},
contains$1(_, element) {
@@ -19471,6 +19527,7 @@
return new A.EfficientLengthMappedIterable(t1, t2._bind$1($T)._eval$1("1(2)")._as(this.$ti._bind$1($T)._eval$1("1(2)")._as(f)), t2._eval$1("@<1>")._bind$1($T)._eval$1("EfficientLengthMappedIterable<1,2>"));
},
map$1(_, f) {
+ f.toString;
return this.map$1$1(0, f, type$.dynamic);
},
contains$1(_, element) {
@@ -19795,9 +19852,10 @@
};
A.newBuiltValueToStringHelper_closure.prototype = {
call$1(className) {
- var t1 = new A.StringBuffer("");
- t1._contents = className;
- t1._contents = className + " {\n";
+ var t1 = new A.StringBuffer(""),
+ t2 = "" + className;
+ t1._contents = t2;
+ t1._contents = t2 + " {\n";
$._indentingBuiltValueToStringHelperIndent = $._indentingBuiltValueToStringHelperIndent + 2;
return new A.IndentingBuiltValueToStringHelper(t1);
},
@@ -20608,7 +20666,7 @@
throw A.wrapException(A.ArgumentError$("odd length", null));
for (t3 = result.$ti, t4 = t3._precomputed1, t5 = t3._rest[1], t6 = t3._eval$1("BuiltSet<2>"), t3 = t3._eval$1("Map<1,BuiltSet<2>>"), i = 0; i !== t2.get$length(serialized); i += 2) {
key = serializers.deserialize$2$specifiedType(t2.elementAt$1(serialized, i), keyType);
- for (t7 = t1._as(J.map$1$ax(t2.elementAt$1(serialized, i + 1), new A.BuiltSetMultimapSerializer_deserialize_closure(serializers, valueType))), t7 = t7.get$iterator(t7); t7.moveNext$0();) {
+ for (t7 = J.get$iterator$ax(t1._as(J.map$1$ax(t2.elementAt$1(serialized, i + 1), new A.BuiltSetMultimapSerializer_deserialize_closure(serializers, valueType)))); t7.moveNext$0();) {
value = t7.get$current();
t4._as(key);
t5._as(value);
@@ -21099,6 +21157,7 @@
},
map$1(_, transform) {
var t1 = type$.dynamic;
+ transform.toString;
return this.map$2$1(0, transform, t1, t1);
},
toString$0(_) {
@@ -21604,7 +21663,7 @@
t1 = serializers.deserialize$2$specifiedType(value, B.FullType_PT1);
t1.toString;
A._asString(t1);
- result.get$_connect_request$_$this()._appId = t1;
+ result.get$_connect_request$_$this()._connect_request$_appId = t1;
break;
case "instanceId":
t1 = serializers.deserialize$2$specifiedType(value, B.FullType_PT1);
@@ -21620,7 +21679,7 @@
break;
}
}
- return result._build$0();
+ return result._connect_request$_build$0();
},
deserialize$2(serializers, serialized) {
return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false);
@@ -21658,24 +21717,24 @@
A.ConnectRequestBuilder.prototype = {
get$_connect_request$_$this() {
var _this = this,
- $$v = _this._$v;
+ $$v = _this._connect_request$_$v;
if ($$v != null) {
- _this._appId = $$v.appId;
+ _this._connect_request$_appId = $$v.appId;
_this._instanceId = $$v.instanceId;
_this._entrypointPath = $$v.entrypointPath;
- _this._$v = null;
+ _this._connect_request$_$v = null;
}
return _this;
},
- _build$0() {
+ _connect_request$_build$0() {
var t1, t2, t3, t4, _this = this,
_s14_ = "ConnectRequest",
_s10_ = "instanceId",
_s14_0 = "entrypointPath",
- _$result = _this._$v;
+ _$result = _this._connect_request$_$v;
if (_$result == null) {
t1 = type$.String;
- t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_connect_request$_$this()._appId, _s14_, "appId", t1);
+ t2 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_connect_request$_$this()._connect_request$_appId, _s14_, "appId", t1);
t3 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_connect_request$_$this()._instanceId, _s14_, _s10_, t1);
t4 = A.BuiltValueNullFieldError_checkNotNull(_this.get$_connect_request$_$this()._entrypointPath, _s14_, _s14_0, t1);
_$result = new A._$ConnectRequest(t2, t3, t4);
@@ -21684,7 +21743,7 @@
A.BuiltValueNullFieldError_checkNotNull(t4, _s14_, _s14_0, t1);
}
A.ArgumentError_checkNotNull(_$result, "other", type$.ConnectRequest);
- return _this._$v = _$result;
+ return _this._connect_request$_$v = _$result;
}
};
A.DebugEvent.prototype = {};
@@ -22035,7 +22094,7 @@
break;
case "appId":
t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_PT1));
- result.get$_$this()._debug_info$_appId = t1;
+ result.get$_$this()._appId = t1;
break;
case "appInstanceId":
t1 = A._asStringQ(serializers.deserialize$2$specifiedType(value, B.FullType_PT1));
@@ -22083,7 +22142,7 @@
break;
}
}
- return result._debug_info$_build$0();
+ return result._build$0();
},
deserialize$2(serializers, serialized) {
return this.deserialize$3$specifiedType(serializers, serialized, B.FullType_null_List_empty_false);
@@ -22133,10 +22192,10 @@
A.DebugInfoBuilder.prototype = {
get$_$this() {
var _this = this,
- $$v = _this._debug_info$_$v;
+ $$v = _this._$v;
if ($$v != null) {
_this._appEntrypointPath = $$v.appEntrypointPath;
- _this._debug_info$_appId = $$v.appId;
+ _this._appId = $$v.appId;
_this._appInstanceId = $$v.appInstanceId;
_this._appOrigin = $$v.appOrigin;
_this._appUrl = $$v.appUrl;
@@ -22148,17 +22207,17 @@
_this._workspaceName = $$v.workspaceName;
_this._tabUrl = $$v.tabUrl;
_this._tabId = $$v.tabId;
- _this._debug_info$_$v = null;
+ _this._$v = null;
}
return _this;
},
- _debug_info$_build$0() {
+ _build$0() {
var _this = this,
- _$result = _this._debug_info$_$v;
+ _$result = _this._$v;
if (_$result == null)
- _$result = new A._$DebugInfo(_this.get$_$this()._appEntrypointPath, _this.get$_$this()._debug_info$_appId, _this.get$_$this()._appInstanceId, _this.get$_$this()._appOrigin, _this.get$_$this()._appUrl, _this.get$_$this()._authUrl, _this.get$_$this()._dwdsVersion, _this.get$_$this()._extensionUrl, _this.get$_$this()._isInternalBuild, _this.get$_$this()._isFlutterApp, _this.get$_$this()._workspaceName, _this.get$_$this()._tabUrl, _this.get$_$this()._tabId);
+ _$result = new A._$DebugInfo(_this.get$_$this()._appEntrypointPath, _this.get$_$this()._appId, _this.get$_$this()._appInstanceId, _this.get$_$this()._appOrigin, _this.get$_$this()._appUrl, _this.get$_$this()._authUrl, _this.get$_$this()._dwdsVersion, _this.get$_$this()._extensionUrl, _this.get$_$this()._isInternalBuild, _this.get$_$this()._isFlutterApp, _this.get$_$this()._workspaceName, _this.get$_$this()._tabUrl, _this.get$_$this()._tabId);
A.ArgumentError_checkNotNull(_$result, "other", type$.DebugInfo);
- return _this._debug_info$_$v = _$result;
+ return _this._$v = _$result;
}
};
A.DevToolsRequest.prototype = {};
@@ -23747,6 +23806,9 @@
A._StackState.prototype = {};
A.BaseClient.prototype = {
_sendUnstreamed$3(method, url, headers) {
+ return this._sendUnstreamed$body$BaseClient(method, url, headers);
+ },
+ _sendUnstreamed$body$BaseClient(method, url, headers) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.Response),
$async$returnValue, $async$self = this, request, $async$temp1;
@@ -23807,6 +23869,9 @@
};
A.BrowserClient.prototype = {
send$1(request) {
+ return this.send$body$BrowserClient(request);
+ },
+ send$body$BrowserClient(request) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.StreamedResponse),
$async$returnValue, $async$handler = 2, $async$errorStack = [], $async$next = [], $async$self = this, xhr, completer, bytes, t1, t2, header, t3;
@@ -23948,7 +24013,7 @@
A.MediaType.prototype = {
toString$0(_) {
var buffer = new A.StringBuffer(""),
- t1 = this.type;
+ t1 = "" + this.type;
buffer._contents = t1;
t1 += "/";
buffer._contents = t1;
@@ -24100,7 +24165,7 @@
var record, _this = this,
t1 = logLevel.value;
if (t1 >= _this.get$level().value) {
- if (stackTrace == null && t1 >= 2000) {
+ if ((stackTrace == null || stackTrace === B._StringStackTrace_OdL) && t1 >= 2000) {
A.StackTrace_current();
if (error == null)
logLevel.toString$0(0);
@@ -24175,10 +24240,10 @@
parsed.root = t4;
if (t2.needsSeparator$1(t4))
B.JSArray_methods.$indexSet(parsed.separators, 0, t2.get$separator());
- t4 = parsed.toString$0(0);
+ t4 = "" + parsed.toString$0(0);
} else if (t2.rootLength$1(t5) > 0) {
isAbsoluteAndNotRootRelative = !t2.isRootRelative$1(t5);
- t4 = t5;
+ t4 = "" + t5;
} else {
t6 = t5.length;
if (t6 !== 0) {
@@ -24344,7 +24409,7 @@
t2 = t1.length;
if (t2 === 0)
return ".";
- if (t2 > 1 && B.JSArray_methods.get$last(t1) === ".") {
+ if (t2 > 1 && J.$eq$(B.JSArray_methods.get$last(t1), ".")) {
B.JSArray_methods.removeLast$0(pathParsed.parts);
t1 = pathParsed.separators;
if (0 >= t1.length)
@@ -24413,7 +24478,7 @@
var t1, t2, _this = this;
while (true) {
t1 = _this.parts;
- if (!(t1.length !== 0 && B.JSArray_methods.get$last(t1) === ""))
+ if (!(t1.length !== 0 && J.$eq$(B.JSArray_methods.get$last(t1), "")))
break;
B.JSArray_methods.removeLast$0(_this.parts);
t1 = _this.separators;
@@ -24461,13 +24526,13 @@
toString$0(_) {
var t2, t3, t4, t5, i,
t1 = this.root;
- t1 = t1 != null ? t1 : "";
+ t1 = t1 != null ? "" + t1 : "";
for (t2 = this.parts, t3 = t2.length, t4 = this.separators, t5 = t4.length, i = 0; i < t3; ++i) {
if (!(i < t5))
return A.ioore(t4, i);
t1 = t1 + t4[i] + t2[i];
}
- t1 += B.JSArray_methods.get$last(t4);
+ t1 += A.S(B.JSArray_methods.get$last(t4));
return t1.charCodeAt(0) == 0 ? t1 : t1;
},
set$parts(parts) {
@@ -25515,7 +25580,7 @@
A._Highlight.prototype = {
toString$0(_) {
var t1 = this.span;
- t1 = "primary " + ("" + t1.get$start().get$line() + ":" + t1.get$start().get$column() + "-" + t1.get$end().get$line() + ":" + t1.get$end().get$column());
+ t1 = "" + "primary " + ("" + t1.get$start().get$line() + ":" + t1.get$start().get$column() + "-" + t1.get$end().get$line() + ":" + t1.get$end().get$column());
return t1.charCodeAt(0) == 0 ? t1 : t1;
}
};
@@ -25652,7 +25717,7 @@
toString$0(_) {
var t3, t4, highlight,
t1 = this._span,
- t2 = "line " + (t1.get$start().get$line() + 1) + ", column " + (t1.get$start().get$column() + 1);
+ t2 = "" + ("line " + (t1.get$start().get$line() + 1) + ", column " + (t1.get$start().get$column() + 1));
if (t1.get$sourceUrl() != null) {
t3 = t1.get$sourceUrl();
t4 = $.$get$context();
@@ -25925,7 +25990,7 @@
GuaranteeChannel$3$allowSinkErrors(innerSink, allowSinkErrors, _box_0, $T) {
var _this = this,
t1 = _this.$ti,
- t2 = t1._eval$1("_GuaranteeSink<1>")._as(new A._GuaranteeSink(innerSink, _this, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_dynamic), type$._AsyncCompleter_dynamic), allowSinkErrors, $T._eval$1("_GuaranteeSink<0>")));
+ t2 = t1._eval$1("_GuaranteeSink<1>")._as(new A._GuaranteeSink(innerSink, _this, new A._AsyncCompleter(new A._Future($.Zone__current, type$._Future_void), type$._AsyncCompleter_void), allowSinkErrors, $T._eval$1("_GuaranteeSink<0>")));
_this.__GuaranteeChannel__sink_F !== $ && A.throwLateFieldAI("_sink");
_this.__GuaranteeChannel__sink_F = t2;
t1 = t1._eval$1("StreamController<1>")._as(A.StreamController_StreamController(null, new A.GuaranteeChannel_closure(_box_0, _this, $T), true, $T));
@@ -26098,30 +26163,30 @@
}
};
A.RNG.prototype = {};
- A.MathRNG.prototype = {
+ A.CryptoRNG.prototype = {
_generateInternal$0() {
- var t1, i, k, t2, t3,
+ var i, k, t1, t2,
b = new Uint8Array(16);
- for (t1 = this._rnd, i = 0; i < 16; i += 4) {
- k = t1.nextInt$1(B.JSNumber_methods.toInt$0(Math.pow(2, 32)));
+ for (i = 0; i < 16; i += 4) {
+ k = $.$get$CryptoRNG__secureRandom().nextInt$1(B.JSNumber_methods.toInt$0(Math.pow(2, 32)));
if (!(i < 16))
return A.ioore(b, i);
b[i] = k;
- t2 = i + 1;
- t3 = B.JSInt_methods._shrOtherPositive$1(k, 8);
+ t1 = i + 1;
+ t2 = B.JSInt_methods._shrOtherPositive$1(k, 8);
+ if (!(t1 < 16))
+ return A.ioore(b, t1);
+ b[t1] = t2;
+ t2 = i + 2;
+ t1 = B.JSInt_methods._shrOtherPositive$1(k, 16);
if (!(t2 < 16))
return A.ioore(b, t2);
- b[t2] = t3;
- t3 = i + 2;
- t2 = B.JSInt_methods._shrOtherPositive$1(k, 16);
- if (!(t3 < 16))
- return A.ioore(b, t3);
- b[t3] = t2;
- t2 = i + 3;
- t3 = B.JSInt_methods._shrOtherPositive$1(k, 24);
- if (!(t2 < 16))
- return A.ioore(b, t2);
- b[t2] = t3;
+ b[t2] = t1;
+ t1 = i + 3;
+ t2 = B.JSInt_methods._shrOtherPositive$1(k, 24);
+ if (!(t1 < 16))
+ return A.ioore(b, t1);
+ b[t1] = t2;
}
return b;
}
@@ -26714,14 +26779,16 @@
client.get$stream().listen$2$onError(new A.main__closure7(manager, client), new A.main__closure8());
if (A._asBool(t1.$dwdsEnableDevToolsLaunch))
A._EventStreamSubscription$(t2._as(t1.window), "keydown", type$.nullable_void_Function_JSObject._as(new A.main__closure9()), false, t2);
- if (A._isChromium()) {
- t1 = client.get$sink();
- t2 = $.$get$serializers();
- t3 = new A.ConnectRequestBuilder();
- type$.nullable_void_Function_ConnectRequestBuilder._as(new A.main__closure10()).call$1(t3);
- A._trySendEvent(t1, B.C_JsonCodec.encode$2$toEncodable(t2.serialize$1(t3._build$0()), null), type$.dynamic);
- } else
- A.runMain();
+ if (A._asString(t1.$dartModuleStrategy) !== "ddc-library-bundle")
+ if (A._isChromium())
+ A._sendConnectRequest(client.get$sink());
+ else
+ A.runMain();
+ else {
+ A._sendConnectRequest(client.get$sink());
+ if (A._asBool(t1.$useDwdsWebSocketConnection))
+ A.runMain();
+ }
A._launchCommunicationWithDebugExtension();
// implicit return
return A._asyncReturn(null, $async$completer);
@@ -27018,19 +27085,6 @@
},
$signature: 2
};
- A.main__closure10.prototype = {
- call$1(b) {
- var t1 = init.G,
- t2 = A._asString(t1.$dartAppId);
- b.get$_connect_request$_$this()._appId = t2;
- t2 = A._asStringQ(t1.$dartAppInstanceId);
- b.get$_connect_request$_$this()._instanceId = t2;
- t1 = A._asString(t1.$dartEntrypointPath);
- b.get$_connect_request$_$this()._entrypointPath = t1;
- return b;
- },
- $signature: 80
- };
A.main_closure0.prototype = {
call$2(error, stackTrace) {
type$.Object._as(error);
@@ -27039,6 +27093,19 @@
},
$signature: 14
};
+ A._sendConnectRequest_closure.prototype = {
+ call$1(b) {
+ var t1 = init.G,
+ t2 = A._asString(t1.$dartAppId);
+ b.get$_connect_request$_$this()._connect_request$_appId = t2;
+ t2 = A._asStringQ(t1.$dartAppInstanceId);
+ b.get$_connect_request$_$this()._instanceId = t2;
+ t1 = A._asString(t1.$dartEntrypointPath);
+ b.get$_connect_request$_$this()._entrypointPath = t1;
+ return b;
+ },
+ $signature: 80
+ };
A._launchCommunicationWithDebugExtension_closure.prototype = {
call$1(b) {
var t3, t4,
@@ -27047,7 +27114,7 @@
b.get$_$this()._appEntrypointPath = t2;
t2 = type$.JavaScriptObject;
t3 = A._asStringQ(t2._as(t1.window).$dartAppId);
- b.get$_$this()._debug_info$_appId = t3;
+ b.get$_$this()._appId = t3;
t3 = A._asStringQ(t1.$dartAppInstanceId);
b.get$_$this()._appInstanceId = t3;
t3 = type$.JSObject;
@@ -27088,6 +27155,9 @@
};
A.DdcLibraryBundleRestarter.prototype = {
_runMainWhenReady$2(readyToRunMain, runMain) {
+ return this._runMainWhenReady$body$DdcLibraryBundleRestarter(readyToRunMain, runMain);
+ },
+ _runMainWhenReady$body$DdcLibraryBundleRestarter(readyToRunMain, runMain) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.void);
var $async$_runMainWhenReady$2 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
@@ -27177,9 +27247,12 @@
return A._asyncStartSync($async$reload$0, $async$completer);
},
fetchLibrariesForHotReload$1(hotReloadSourcesPath) {
+ return this.fetchLibrariesForHotReload$body$DdcLibraryBundleRestarter(hotReloadSourcesPath);
+ },
+ fetchLibrariesForHotReload$body$DdcLibraryBundleRestarter(hotReloadSourcesPath) {
var $async$goto = 0,
$async$completer = A._makeAsyncAwaitCompleter(type$.JSArray_nullable_Object),
- $async$returnValue, $async$self = this, t3, srcLibraries, filesToLoad, librariesToReload, t4, srcLibraryCast, libraries, t5, t1, t2, xhr, $async$temp1, $async$temp2, $async$temp3;
+ $async$returnValue, $async$self = this, t3, srcLibraries, filesToLoad, librariesToReload, t4, srcLibraryCast, t5, t1, t2, xhr, $async$temp1, $async$temp2, $async$temp3;
var $async$fetchLibrariesForHotReload$1 = A._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
if ($async$errorCode === 1)
return A._asyncRethrow($async$result, $async$completer);
@@ -27206,11 +27279,10 @@
t1 = type$.JSArray_nullable_Object;
filesToLoad = t1._as(new t2.Array());
librariesToReload = t1._as(new t2.Array());
- for (t1 = srcLibraries.get$iterator(srcLibraries), t2 = type$.String, t4 = type$.Object; t1.moveNext$0();) {
+ for (t1 = J.get$iterator$ax(srcLibraries), t2 = type$.String, t4 = type$.Object; t1.moveNext$0();) {
srcLibraryCast = t1.get$current().cast$2$0(0, t2, t4);
filesToLoad.push(A._asString(srcLibraryCast.$index(0, "src")));
- libraries = J.cast$1$0$ax(t3._as(srcLibraryCast.$index(0, "libraries")), t2);
- for (t5 = libraries.get$iterator(libraries); t5.moveNext$0();)
+ for (t5 = J.get$iterator$ax(J.cast$1$0$ax(t3._as(srcLibraryCast.$index(0, "libraries")), t2)); t5.moveNext$0();)
librariesToReload.push(t5.get$current());
}
$async$self.__DdcLibraryBundleRestarter__sourcesAndLibrariesToReload_A = new A._Record_2_libraries_sources(librariesToReload, filesToLoad);
@@ -27848,22 +27920,27 @@
_static_0(A, "async___nullDoneHandler$closure", "_nullDoneHandler", 0);
_static(A, "async___rootHandleUncaughtError$closure", 5, null, ["call$5"], ["_rootHandleUncaughtError"], 91, 0);
_static(A, "async___rootRun$closure", 4, null, ["call$1$4", "call$4"], ["_rootRun", function($self, $parent, zone, f) {
+ f.toString;
return A._rootRun($self, $parent, zone, f, type$.dynamic);
}], 92, 0);
_static(A, "async___rootRunUnary$closure", 5, null, ["call$2$5", "call$5"], ["_rootRunUnary", function($self, $parent, zone, f, arg) {
var t1 = type$.dynamic;
+ f.toString;
return A._rootRunUnary($self, $parent, zone, f, arg, t1, t1);
}], 93, 0);
_static(A, "async___rootRunBinary$closure", 6, null, ["call$3$6"], ["_rootRunBinary"], 94, 0);
_static(A, "async___rootRegisterCallback$closure", 4, null, ["call$1$4", "call$4"], ["_rootRegisterCallback", function($self, $parent, zone, f) {
+ f.toString;
return A._rootRegisterCallback($self, $parent, zone, f, type$.dynamic);
}], 95, 0);
_static(A, "async___rootRegisterUnaryCallback$closure", 4, null, ["call$2$4", "call$4"], ["_rootRegisterUnaryCallback", function($self, $parent, zone, f) {
var t1 = type$.dynamic;
+ f.toString;
return A._rootRegisterUnaryCallback($self, $parent, zone, f, t1, t1);
}], 96, 0);
_static(A, "async___rootRegisterBinaryCallback$closure", 4, null, ["call$3$4", "call$4"], ["_rootRegisterBinaryCallback", function($self, $parent, zone, f) {
var t1 = type$.dynamic;
+ f.toString;
return A._rootRegisterBinaryCallback($self, $parent, zone, f, t1, t1, t1);
}], 97, 0);
_static(A, "async___rootErrorCallback$closure", 5, null, ["call$5"], ["_rootErrorCallback"], 98, 0);
@@ -27898,6 +27975,8 @@
_static_2(A, "core__identical$closure", "identical", 18);
_static_1(A, "core_Uri_decodeComponent$closure", "Uri_decodeComponent", 13);
_static(A, "math__max$closure", 2, null, ["call$1$2", "call$2"], ["max", function(a, b) {
+ a.toString;
+ b.toString;
return A.max(a, b, type$.num);
}], 105, 0);
_instance_2_u(_ = A.DeepCollectionEquality.prototype, "get$equals", "equals$2", 18);
@@ -27920,18 +27999,17 @@
_inherit = hunkHelpers.inherit,
_inheritMany = hunkHelpers.inheritMany;
_inherit(A.Object, null);
- _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, A.SafeToStringHook, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapBase, A.Error, A.ListBase, A.SentinelValue, A.ListIterator, A.MappedIterator, A.WhereIterator, A.ExpandIterator, A.TakeIterator, A.SkipIterator, A.EmptyIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A._Record, A.ConstantMap, A._KeysOrValuesOrElementsIterator, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.LinkedHashMapValueIterator, A.LinkedHashMapEntryIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A.AsyncError, A.TimeoutException, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.Stream, A._StreamController, A._SyncStreamControllerDispatch, A._AsyncStreamControllerDispatch, A._BufferingStreamSubscription, A._StreamSinkWrapper, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._DoneStreamSubscription, A._StreamIterator, A._ZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A.SetBase, A._HashSetIterator, A._LinkedHashSetCell, A._LinkedHashSetIterator, A._UnmodifiableMapMixin, A.MapView, A._ListQueueIterator, A._SplayTreeNode, A._SplayTree, A._SplayTreeIterator, A.Codec, A.Converter, A._Base64Encoder, A._Base64Decoder, A.ByteConversionSink, A._JsonStringifier, A._Utf8Encoder, A._Utf8Decoder, A._BigIntImpl, A.DateTime, A.Duration, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.IntegerDivisionByZeroException, A.MapEntry, A.Null, A._StringStackTrace, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.NullRejectionException, A._JSRandom, A.AsyncMemoizer, A.DelegatingStreamSink, A.ErrorResult, A.ValueResult, A.StreamQueue, A._NextRequest, A._HasNextRequest, A.BuiltList, A.ListBuilder, A.BuiltListMultimap, A.ListMultimapBuilder, A.BuiltMap, A.MapBuilder, A.BuiltSet, A.SetBuilder, A.BuiltSetMultimap, A.SetMultimapBuilder, A.EnumClass, A.IndentingBuiltValueToStringHelper, A.JsonObject, A.FullType, A.BigIntSerializer, A.BoolSerializer, A.BuiltJsonSerializers, A.BuiltJsonSerializersBuilder, A.BuiltListMultimapSerializer, A.BuiltListSerializer, A.BuiltMapSerializer, A.BuiltSetMultimapSerializer, A.BuiltSetSerializer, A.DateTimeSerializer, A.DoubleSerializer, A.DurationSerializer, A.Int32Serializer, A.Int64Serializer, A.IntSerializer, A.JsonObjectSerializer, A.NullSerializer, A.NumSerializer, A.RegExpSerializer, A.StringSerializer, A.Uint8ListSerializer, A.UriSerializer, A.CanonicalizedMap, A.DefaultEquality, A.IterableEquality, A.ListEquality, A._UnorderedEquality, A._MapEntry, A.MapEquality, A.DeepCollectionEquality, A._QueueList_Object_ListMixin, A.BuildResult, A._$BuildStatusSerializer, A._$BuildResultSerializer, A.BuildResultBuilder, A.ConnectRequest, A._$ConnectRequestSerializer, A.ConnectRequestBuilder, A.DebugEvent, A.BatchedDebugEvents, A._$DebugEventSerializer, A._$BatchedDebugEventsSerializer, A.DebugEventBuilder, A.BatchedDebugEventsBuilder, A.DebugInfo, A._$DebugInfoSerializer, A.DebugInfoBuilder, A.DevToolsRequest, A.DevToolsResponse, A._$DevToolsRequestSerializer, A._$DevToolsResponseSerializer, A.DevToolsRequestBuilder, A.DevToolsResponseBuilder, A.ErrorResponse, A._$ErrorResponseSerializer, A.ErrorResponseBuilder, A.ExtensionRequest, A.ExtensionResponse, A.ExtensionEvent, A.BatchedEvents, A._$ExtensionRequestSerializer, A._$ExtensionResponseSerializer, A._$ExtensionEventSerializer, A._$BatchedEventsSerializer, A.ExtensionRequestBuilder, A.ExtensionResponseBuilder, A.ExtensionEventBuilder, A.BatchedEventsBuilder, A.HotReloadRequest, A._$HotReloadRequestSerializer, A.HotReloadRequestBuilder, A.HotReloadResponse, A._$HotReloadResponseSerializer, A.HotReloadResponseBuilder, A.IsolateExit, A.IsolateStart, A._$IsolateExitSerializer, A._$IsolateStartSerializer, A.IsolateExitBuilder, A.IsolateStartBuilder, A.RegisterEvent, A._$RegisterEventSerializer, A.RegisterEventBuilder, A.RunRequest, A._$RunRequestSerializer, A.BatchedStreamController, A.SocketClient, A.Int32, A.Int64, A._StackState, A.BaseClient, A.BaseRequest, A.BaseResponse, A.ClientException, A.MediaType, A.Level, A.LogRecord, A.Logger, A.Context, A.Style, A.ParsedPath, A.PathException, A.Pool, A.PoolResource, A.SourceFile, A.SourceLocationMixin, A.SourceSpanMixin, A.Highlighter, A._Highlight, A._Line, A.SourceLocation, A.SourceSpanException, A.StreamChannelMixin, A._GuaranteeSink, A.StreamChannelController, A.StringScanner, A.RNG, A.UuidV1, A.EventStreamProvider, A._EventStreamSubscription, A.BrowserWebSocket, A.WebSocketEvent, A.WebSocketException, A.WebSocketChannelException, A.DdcLibraryBundleRestarter, A.DdcRestarter, A.ReloadingManager, A.HotReloadFailedException, A.RequireRestarter]);
+ _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, J.ArrayIterator, A.Iterable, A.CastIterator, A.Closure, A.MapBase, A.Error, A.ListBase, A.SentinelValue, A.ListIterator, A.MappedIterator, A.WhereIterator, A.ExpandIterator, A.TakeIterator, A.SkipIterator, A.EmptyIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A._Record, A.ConstantMap, A._KeysOrValuesOrElementsIterator, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.LinkedHashMapValueIterator, A.LinkedHashMapEntryIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A._UnmodifiableNativeByteBufferView, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A.AsyncError, A.TimeoutException, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A.Stream, A._StreamController, A._SyncStreamControllerDispatch, A._AsyncStreamControllerDispatch, A._BufferingStreamSubscription, A._StreamSinkWrapper, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._DoneStreamSubscription, A._StreamIterator, A._ZoneFunction, A._ZoneSpecification, A._ZoneDelegate, A._Zone, A._HashMapKeyIterator, A.SetBase, A._HashSetIterator, A._LinkedHashSetCell, A._LinkedHashSetIterator, A._UnmodifiableMapMixin, A.MapView, A._ListQueueIterator, A._SplayTreeNode, A._SplayTree, A._SplayTreeIterator, A.Codec, A.Converter, A._Base64Encoder, A._Base64Decoder, A.ByteConversionSink, A._JsonStringifier, A._Utf8Encoder, A._Utf8Decoder, A._BigIntImpl, A.DateTime, A.Duration, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.IntegerDivisionByZeroException, A.MapEntry, A.Null, A._StringStackTrace, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.NullRejectionException, A._JSRandom, A._JSSecureRandom, A.AsyncMemoizer, A.DelegatingStreamSink, A.ErrorResult, A.ValueResult, A.StreamQueue, A._NextRequest, A._HasNextRequest, A.BuiltList, A.ListBuilder, A.BuiltListMultimap, A.ListMultimapBuilder, A.BuiltMap, A.MapBuilder, A.BuiltSet, A.SetBuilder, A.BuiltSetMultimap, A.SetMultimapBuilder, A.EnumClass, A.IndentingBuiltValueToStringHelper, A.JsonObject, A.FullType, A.BigIntSerializer, A.BoolSerializer, A.BuiltJsonSerializers, A.BuiltJsonSerializersBuilder, A.BuiltListMultimapSerializer, A.BuiltListSerializer, A.BuiltMapSerializer, A.BuiltSetMultimapSerializer, A.BuiltSetSerializer, A.DateTimeSerializer, A.DoubleSerializer, A.DurationSerializer, A.Int32Serializer, A.Int64Serializer, A.IntSerializer, A.JsonObjectSerializer, A.NullSerializer, A.NumSerializer, A.RegExpSerializer, A.StringSerializer, A.Uint8ListSerializer, A.UriSerializer, A.CanonicalizedMap, A.DefaultEquality, A.IterableEquality, A.ListEquality, A._UnorderedEquality, A._MapEntry, A.MapEquality, A.DeepCollectionEquality, A._QueueList_Object_ListMixin, A.BuildResult, A._$BuildStatusSerializer, A._$BuildResultSerializer, A.BuildResultBuilder, A.ConnectRequest, A._$ConnectRequestSerializer, A.ConnectRequestBuilder, A.DebugEvent, A.BatchedDebugEvents, A._$DebugEventSerializer, A._$BatchedDebugEventsSerializer, A.DebugEventBuilder, A.BatchedDebugEventsBuilder, A.DebugInfo, A._$DebugInfoSerializer, A.DebugInfoBuilder, A.DevToolsRequest, A.DevToolsResponse, A._$DevToolsRequestSerializer, A._$DevToolsResponseSerializer, A.DevToolsRequestBuilder, A.DevToolsResponseBuilder, A.ErrorResponse, A._$ErrorResponseSerializer, A.ErrorResponseBuilder, A.ExtensionRequest, A.ExtensionResponse, A.ExtensionEvent, A.BatchedEvents, A._$ExtensionRequestSerializer, A._$ExtensionResponseSerializer, A._$ExtensionEventSerializer, A._$BatchedEventsSerializer, A.ExtensionRequestBuilder, A.ExtensionResponseBuilder, A.ExtensionEventBuilder, A.BatchedEventsBuilder, A.HotReloadRequest, A._$HotReloadRequestSerializer, A.HotReloadRequestBuilder, A.HotReloadResponse, A._$HotReloadResponseSerializer, A.HotReloadResponseBuilder, A.IsolateExit, A.IsolateStart, A._$IsolateExitSerializer, A._$IsolateStartSerializer, A.IsolateExitBuilder, A.IsolateStartBuilder, A.RegisterEvent, A._$RegisterEventSerializer, A.RegisterEventBuilder, A.RunRequest, A._$RunRequestSerializer, A.BatchedStreamController, A.SocketClient, A.Int32, A.Int64, A._StackState, A.BaseClient, A.BaseRequest, A.BaseResponse, A.ClientException, A.MediaType, A.Level, A.LogRecord, A.Logger, A.Context, A.Style, A.ParsedPath, A.PathException, A.Pool, A.PoolResource, A.SourceFile, A.SourceLocationMixin, A.SourceSpanMixin, A.Highlighter, A._Highlight, A._Line, A.SourceLocation, A.SourceSpanException, A.StreamChannelMixin, A._GuaranteeSink, A.StreamChannelController, A.StringScanner, A.RNG, A.UuidV1, A.EventStreamProvider, A._EventStreamSubscription, A.BrowserWebSocket, A.WebSocketEvent, A.WebSocketException, A.WebSocketChannelException, A.DdcLibraryBundleRestarter, A.DdcRestarter, A.ReloadingManager, A.HotReloadFailedException, A.RequireRestarter]);
_inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]);
_inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);
_inheritMany(J.LegacyJavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction]);
- _inherit(J.JSArraySafeToStringHook, A.SafeToStringHook);
_inherit(J.JSUnmodifiableArray, J.JSArray);
_inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);
_inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.WhereTypeIterable, A._KeysOrValues, A._AllMatchesIterable, A._StringAllMatchesIterable]);
_inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin]);
_inherit(A._EfficientLengthCastIterable, A.CastIterable);
_inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);
- _inheritMany(A.Closure, [A.Closure2Args, A.Closure0Args, A.Instantiation, A.TearOffClosure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A._Future_timeout_closure0, A.Stream_length_closure, A.Stream_first_closure0, A._CustomZone_bindUnaryCallback_closure, A._CustomZone_bindUnaryCallbackGuarded_closure, A._RootZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallbackGuarded_closure, A.runZonedGuarded_closure, A._CustomHashMap_closure, A._LinkedCustomHashMap_closure, A._BigIntImpl_hashCode_finish, A._Uri__makePath_closure, A.FutureOfJSAnyToJSPromise_get_toJS__closure, A.FutureOfVoidToJSPromise_get_toJS__closure, A.jsify__convert, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.dartify_convert, A.StreamQueue__ensureListening_closure, A.BuiltListMultimap_BuiltListMultimap_closure, A.BuiltListMultimap_hashCode_closure, A.ListMultimapBuilder_replace_closure, A.BuiltMap_BuiltMap_closure, A.BuiltMap_hashCode_closure, A.BuiltSet_hashCode_closure, A.BuiltSetMultimap_hashCode_closure, A.SetMultimapBuilder_replace_closure, A.newBuiltValueToStringHelper_closure, A.BuiltListMultimapSerializer_serialize_closure, A.BuiltListMultimapSerializer_deserialize_closure, A.BuiltListSerializer_serialize_closure, A.BuiltListSerializer_deserialize_closure, A.BuiltSetMultimapSerializer_serialize_closure, A.BuiltSetMultimapSerializer_deserialize_closure, A.BuiltSetSerializer_serialize_closure, A.BuiltSetSerializer_deserialize_closure, A.CanonicalizedMap_keys_closure, A.WebSocketClient_stream_closure, A.BaseRequest_closure0, A.BrowserClient_send_closure, A.BrowserClient_send_closure0, A.ByteStream_toBytes_closure, A.MediaType_toString__closure, A.expectQuotedString_closure, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.Pool__runOnRelease_closure, A.Highlighter$__closure, A.Highlighter$___closure, A.Highlighter$__closure0, A.Highlighter__collateLines_closure, A.Highlighter__collateLines_closure1, A.Highlighter__collateLines__closure, A.Highlighter_highlight_closure, A.SseClient_closure0, A.SseClient_closure1, A.generateUuidV4_generateBits, A._GuaranteeSink__addError_closure, A._EventStreamSubscription_closure, A._EventStreamSubscription_onData_closure, A.BrowserWebSocket_connect_closure, A.BrowserWebSocket_connect_closure0, A.BrowserWebSocket_connect_closure1, A.BrowserWebSocket_connect_closure2, A.AdapterWebSocketChannel_closure, A.AdapterWebSocketChannel__closure, A.AdapterWebSocketChannel__closure0, A.AdapterWebSocketChannel_closure0, A.main__closure1, A.main__closure3, A.main___closure2, A.main___closure1, A.main__closure5, A.main___closure0, A.main___closure, A.main__closure7, A.main__closure8, A.main__closure9, A.main__closure10, A._launchCommunicationWithDebugExtension_closure, A._handleAuthRequest_closure, A._sendResponse_closure, A.DdcLibraryBundleRestarter_restart_closure, A.DdcRestarter_restart_closure0, A.DdcRestarter_restart_closure, A.RequireRestarter__reloadModule_closure0, A.JSArrayExtension_toDartIterable_closure]);
+ _inheritMany(A.Closure, [A.Closure2Args, A.Closure0Args, A.Instantiation, A.TearOffClosure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A._Future_timeout_closure0, A.Stream_length_closure, A.Stream_first_closure0, A._CustomZone_bindUnaryCallback_closure, A._CustomZone_bindUnaryCallbackGuarded_closure, A._RootZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallbackGuarded_closure, A.runZonedGuarded_closure, A._CustomHashMap_closure, A._LinkedCustomHashMap_closure, A._BigIntImpl_hashCode_finish, A._Uri__makePath_closure, A.FutureOfJSAnyToJSPromise_get_toJS__closure, A.FutureOfVoidToJSPromise_get_toJS__closure, A.jsify__convert, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.dartify_convert, A.StreamQueue__ensureListening_closure, A.BuiltListMultimap_BuiltListMultimap_closure, A.BuiltListMultimap_hashCode_closure, A.ListMultimapBuilder_replace_closure, A.BuiltMap_BuiltMap_closure, A.BuiltMap_hashCode_closure, A.BuiltSet_hashCode_closure, A.BuiltSetMultimap_hashCode_closure, A.SetMultimapBuilder_replace_closure, A.newBuiltValueToStringHelper_closure, A.BuiltListMultimapSerializer_serialize_closure, A.BuiltListMultimapSerializer_deserialize_closure, A.BuiltListSerializer_serialize_closure, A.BuiltListSerializer_deserialize_closure, A.BuiltSetMultimapSerializer_serialize_closure, A.BuiltSetMultimapSerializer_deserialize_closure, A.BuiltSetSerializer_serialize_closure, A.BuiltSetSerializer_deserialize_closure, A.CanonicalizedMap_keys_closure, A.WebSocketClient_stream_closure, A.BaseRequest_closure0, A.BrowserClient_send_closure, A.BrowserClient_send_closure0, A.ByteStream_toBytes_closure, A.MediaType_toString__closure, A.expectQuotedString_closure, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.Pool__runOnRelease_closure, A.Highlighter$__closure, A.Highlighter$___closure, A.Highlighter$__closure0, A.Highlighter__collateLines_closure, A.Highlighter__collateLines_closure1, A.Highlighter__collateLines__closure, A.Highlighter_highlight_closure, A.SseClient_closure0, A.SseClient_closure1, A.generateUuidV4_generateBits, A._GuaranteeSink__addError_closure, A._EventStreamSubscription_closure, A._EventStreamSubscription_onData_closure, A.BrowserWebSocket_connect_closure, A.BrowserWebSocket_connect_closure0, A.BrowserWebSocket_connect_closure1, A.BrowserWebSocket_connect_closure2, A.AdapterWebSocketChannel_closure, A.AdapterWebSocketChannel__closure, A.AdapterWebSocketChannel__closure0, A.AdapterWebSocketChannel_closure0, A.main__closure1, A.main__closure3, A.main___closure2, A.main___closure1, A.main__closure5, A.main___closure0, A.main___closure, A.main__closure7, A.main__closure8, A.main__closure9, A._sendConnectRequest_closure, A._launchCommunicationWithDebugExtension_closure, A._handleAuthRequest_closure, A._sendResponse_closure, A.DdcLibraryBundleRestarter_restart_closure, A.DdcRestarter_restart_closure0, A.DdcRestarter_restart_closure, A.RequireRestarter__reloadModule_closure0, A.JSArrayExtension_toDartIterable_closure]);
_inheritMany(A.Closure2Args, [A._CastListBase_sort_closure, A.CastMap_forEach_closure, A.ConstantMap_map_closure, A.JsLinkedHashMap_addAll_closure, A.initHooks_closure0, A._awaitOnObject_closure0, A._wrapJsFunctionForAsync_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure0, A._Future_timeout_closure1, A._BufferingStreamSubscription_asFuture_closure0, A.LinkedHashMap_LinkedHashMap$from_closure, A.MapBase_mapToString_closure, A._JsonStringifier_writeMap_closure, A._BigIntImpl_hashCode_combine, A.Uri__parseIPv4Address_error, A.Uri_parseIPv6Address_error, A.Uri_parseIPv6Address_parseHex, A.FutureOfJSAnyToJSPromise_get_toJS_closure, A.FutureOfJSAnyToJSPromise_get_toJS__closure0, A.FutureOfVoidToJSPromise_get_toJS_closure, A.FutureOfVoidToJSPromise_get_toJS__closure0, A.StreamQueue__ensureListening_closure1, A.hashObjects_closure, A.MapBuilder_replace_closure, A.CanonicalizedMap_addAll_closure, A.CanonicalizedMap_forEach_closure, A.CanonicalizedMap_map_closure, A.safeUnawaited_closure, A.BaseRequest_closure, A.MediaType_toString_closure, A.Pool__runOnRelease_closure0, A.Highlighter__collateLines_closure0, A.generateUuidV4_printDigits, A.generateUuidV4_bitsDigits, A.main__closure4, A.main_closure0]);
_inherit(A.CastList, A._CastListBase);
_inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A._JsonMap]);
@@ -28031,7 +28109,7 @@
_inherit(A.SourceSpanWithContext, A.SourceSpanBase);
_inheritMany(A.StreamChannelMixin, [A.SseClient, A.GuaranteeChannel, A.AdapterWebSocketChannel]);
_inherit(A.StringScannerException, A.SourceSpanFormatException);
- _inherit(A.MathRNG, A.RNG);
+ _inherit(A.CryptoRNG, A.RNG);
_inheritMany(A.WebSocketEvent, [A.TextDataReceived, A.BinaryDataReceived, A.CloseReceived]);
_inherit(A.WebSocketConnectionClosed, A.WebSocketException);
_inherit(A._WebSocketSink, A.DelegatingStreamSink);
@@ -28061,7 +28139,7 @@
"2;libraries,sources": (t1, t2) => o => o instanceof A._Record_2_libraries_sources && t1._is(o._0) && t2._is(o._1)
}
};
- A._Universe_addRules(init.typeUniverse, JSON.parse('{"JavaScriptFunction":"LegacyJavaScriptObject","PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptObject":{"JSObject":[]},"JSArray":{"List":["1"],"JavaScriptObject":[],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"],"JSIndexable":["1"],"Iterable.E":"1"},"JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"LegacyJavaScriptObject":{"JavaScriptObject":[],"JSObject":[]},"JSArraySafeToStringHook":{"SafeToStringHook":[]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"JavaScriptObject":[],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"],"JSIndexable":["1"],"Iterable.E":"1"},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSString":{"String":[],"Comparable":["String"],"Pattern":[],"JSIndexable":["@"],"TrustedGetRuntimeType":[]},"_CastIterableBase":{"Iterable":["2"]},"CastIterator":{"Iterator":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","Iterable.E":"2"},"CastMap":{"MapBase":["3","4"],"Map":["3","4"],"MapBase.K":"3","MapBase.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListBase":["int"],"UnmodifiableListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListBase.E":"int","Iterable.E":"int","UnmodifiableListMixin.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"ListIterator":{"Iterator":["1"]},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedIterator":{"Iterator":["2"]},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListIterable.E":"2","Iterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereIterator":{"Iterator":["1"]},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"ExpandIterator":{"Iterator":["2"]},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"TakeIterator":{"Iterator":["1"]},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterator":{"Iterator":["1"]},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"EmptyIterator":{"Iterator":["1"]},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterator":{"Iterator":["1"]},"UnmodifiableListBase":{"ListBase":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"_Record_2_libraries_sources":{"_Record2":[],"_Record":[]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_KeysOrValues":{"Iterable":["1"],"Iterable.E":"1"},"_KeysOrValuesOrElementsIterator":{"Iterator":["1"]},"Instantiation":{"Closure":[],"Function":[]},"Instantiation1":{"Closure":[],"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Closure":[],"Function":[]},"Closure2Args":{"Closure":[],"Function":[]},"TearOffClosure":{"Closure":[],"Function":[]},"StaticClosure":{"Closure":[],"Function":[]},"BoundClosure":{"Closure":[],"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapBase":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"LinkedHashMapKeysIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapKeyIterator":{"Iterator":["1"]},"LinkedHashMapValuesIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapValueIterator":{"Iterator":["1"]},"LinkedHashMapEntriesIterable":{"EfficientLengthIterable":["MapEntry<1,2>"],"Iterable":["MapEntry<1,2>"],"Iterable.E":"MapEntry<1,2>"},"LinkedHashMapEntryIterator":{"Iterator":["MapEntry<1,2>"]},"JsIdentityLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_Record2":{"_Record":[]},"JSSyntaxRegExp":{"RegExp":[],"Pattern":[]},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"_AllMatchesIterator":{"Iterator":["RegExpMatch"]},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"_StringAllMatchesIterator":{"Iterator":["Match"]},"NativeByteBuffer":{"JavaScriptObject":[],"JSObject":[],"ByteBuffer":[],"TrustedGetRuntimeType":[]},"NativeTypedData":{"JavaScriptObject":[],"JSObject":[]},"NativeByteData":{"JavaScriptObject":[],"ByteData":[],"JSObject":[],"TrustedGetRuntimeType":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"JavaScriptObject":[],"JSObject":[],"JSIndexable":["1"]},"NativeTypedArrayOfDouble":{"ListBase":["double"],"NativeTypedArray":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"JavaScriptObject":[],"EfficientLengthIterable":["double"],"JSObject":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"]},"NativeTypedArrayOfInt":{"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeFloat32List":{"Float32List":[],"ListBase":["double"],"NativeTypedArray":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"JavaScriptObject":[],"EfficientLengthIterable":["double"],"JSObject":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double","Iterable.E":"double","FixedLengthListMixin.E":"double"},"NativeFloat64List":{"Float64List":[],"ListBase":["double"],"NativeTypedArray":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"JavaScriptObject":[],"EfficientLengthIterable":["double"],"JSObject":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double","Iterable.E":"double","FixedLengthListMixin.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"Int16List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"Int32List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"Int8List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"Uint16List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"Uint32List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"Uint8ClampedList":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"Uint8List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"_Type":{"Type":[]},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_TimerImpl":{"Timer":[]},"_AsyncAwaitCompleter":{"Completer":["1"]},"_Completer":{"Completer":["1"]},"_AsyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_SyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_Future":{"Future":["1"]},"StreamView":{"Stream":["1"]},"_StreamController":{"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_AsyncStreamController":{"_AsyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_SyncStreamController":{"_SyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamSinkWrapper":{"StreamSink":["1"]},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_DelayedData":{"_DelayedEvent":["1"]},"_DelayedError":{"_DelayedEvent":["@"]},"_DelayedDone":{"_DelayedEvent":["@"]},"_DoneStreamSubscription":{"StreamSubscription":["1"]},"_EmptyStream":{"Stream":["1"],"Stream.T":"1"},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_EventSink":["2"],"_EventDispatch":["2"],"_BufferingStreamSubscription.T":"2"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"_Zone":[],"Zone":[]},"_RootZone":{"_Zone":[],"Zone":[]},"_SplayTreeSetNode":{"_SplayTreeNode":["1","_SplayTreeSetNode<1>"],"_SplayTreeNode.K":"1","_SplayTreeNode.1":"_SplayTreeSetNode<1>"},"_HashMap":{"MapBase":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_CustomHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_HashSet":{"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashSetIterator":{"Iterator":["1"]},"_LinkedHashSet":{"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedHashSetIterator":{"Iterator":["1"]},"UnmodifiableListView":{"ListBase":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1","Iterable.E":"1","UnmodifiableListMixin.E":"1"},"ListBase":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"Map":["1","2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ListQueue":{"Queue":["1"],"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"_ListQueueIterator":{"Iterator":["1"]},"SetBase":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SplayTreeIterator":{"Iterator":["3"]},"_SplayTreeKeyIterator":{"_SplayTreeIterator":["1","2","1"],"Iterator":["1"],"_SplayTreeIterator.K":"1","_SplayTreeIterator.T":"1","_SplayTreeIterator.1":"2"},"SplayTreeSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"_SplayTree":["1","_SplayTreeSetNode<1>"],"Iterable":["1"],"Iterable.E":"1","_SplayTree.1":"_SplayTreeSetNode<1>","_SplayTree.K":"1"},"Encoding":{"Codec":["String","List<int>"]},"_JsonMap":{"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"AsciiCodec":{"Encoding":[],"Codec":["String","List<int>"],"Codec.S":"String"},"_UnicodeSubsetEncoder":{"Converter":["String","List<int>"],"StreamTransformer":["String","List<int>"]},"AsciiEncoder":{"Converter":["String","List<int>"],"StreamTransformer":["String","List<int>"]},"_UnicodeSubsetDecoder":{"Converter":["List<int>","String"],"StreamTransformer":["List<int>","String"]},"AsciiDecoder":{"Converter":["List<int>","String"],"StreamTransformer":["List<int>","String"]},"Base64Codec":{"Codec":["List<int>","String"],"Codec.S":"List<int>"},"Base64Encoder":{"Converter":["List<int>","String"],"StreamTransformer":["List<int>","String"]},"Base64Decoder":{"Converter":["String","List<int>"],"StreamTransformer":["String","List<int>"]},"Converter":{"StreamTransformer":["1","2"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"],"Codec.S":"Object?"},"JsonEncoder":{"Converter":["Object?","String"],"StreamTransformer":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"],"StreamTransformer":["String","Object?"]},"Latin1Codec":{"Encoding":[],"Codec":["String","List<int>"],"Codec.S":"String"},"Latin1Encoder":{"Converter":["String","List<int>"],"StreamTransformer":["String","List<int>"]},"Latin1Decoder":{"Converter":["List<int>","String"],"StreamTransformer":["List<int>","String"]},"Utf8Codec":{"Encoding":[],"Codec":["String","List<int>"],"Codec.S":"String"},"Utf8Encoder":{"Converter":["String","List<int>"],"StreamTransformer":["String","List<int>"]},"Utf8Decoder":{"Converter":["List<int>","String"],"StreamTransformer":["List<int>","String"]},"BigInt":{"Comparable":["BigInt"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExp":{"Pattern":[]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"],"Pattern":[]},"_BigIntImpl":{"BigInt":[],"Comparable":["BigInt"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"IntegerDivisionByZeroException":{"Exception":[],"Error":[]},"_StringStackTrace":{"StackTrace":[]},"StringBuffer":{"StringSink":[]},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"NullRejectionException":{"Exception":[]},"_JSRandom":{"Random":[]},"DelegatingStreamSink":{"StreamSink":["1"]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_NextRequest":{"_EventRequest":["1"]},"_HasNextRequest":{"_EventRequest":["1"]},"BuiltList":{"Iterable":["1"]},"_BuiltList":{"BuiltList":["1"],"Iterable":["1"],"Iterable.E":"1"},"_BuiltListMultimap":{"BuiltListMultimap":["1","2"]},"_BuiltMap":{"BuiltMap":["1","2"]},"BuiltSet":{"Iterable":["1"]},"_BuiltSet":{"BuiltSet":["1"],"Iterable":["1"],"Iterable.E":"1"},"_BuiltSetMultimap":{"BuiltSetMultimap":["1","2"]},"BuiltValueNullFieldError":{"Error":[]},"BuiltValueNestedFieldError":{"Error":[]},"BoolJsonObject":{"JsonObject":[]},"ListJsonObject":{"JsonObject":[]},"MapJsonObject":{"JsonObject":[]},"NumJsonObject":{"JsonObject":[]},"StringJsonObject":{"JsonObject":[]},"DeserializationError":{"Error":[]},"BigIntSerializer":{"PrimitiveSerializer":["BigInt"],"Serializer":["BigInt"]},"BoolSerializer":{"PrimitiveSerializer":["bool"],"Serializer":["bool"]},"BuiltJsonSerializers":{"Serializers":[]},"BuiltListMultimapSerializer":{"StructuredSerializer":["BuiltListMultimap<@,@>"],"Serializer":["BuiltListMultimap<@,@>"]},"BuiltListSerializer":{"StructuredSerializer":["BuiltList<@>"],"Serializer":["BuiltList<@>"]},"BuiltMapSerializer":{"StructuredSerializer":["BuiltMap<@,@>"],"Serializer":["BuiltMap<@,@>"]},"BuiltSetMultimapSerializer":{"StructuredSerializer":["BuiltSetMultimap<@,@>"],"Serializer":["BuiltSetMultimap<@,@>"]},"BuiltSetSerializer":{"StructuredSerializer":["BuiltSet<@>"],"Serializer":["BuiltSet<@>"]},"DateTimeSerializer":{"PrimitiveSerializer":["DateTime"],"Serializer":["DateTime"]},"DoubleSerializer":{"PrimitiveSerializer":["double"],"Serializer":["double"]},"DurationSerializer":{"PrimitiveSerializer":["Duration"],"Serializer":["Duration"]},"Int32Serializer":{"PrimitiveSerializer":["Int32"],"Serializer":["Int32"]},"Int64Serializer":{"PrimitiveSerializer":["Int64"],"Serializer":["Int64"]},"IntSerializer":{"PrimitiveSerializer":["int"],"Serializer":["int"]},"JsonObjectSerializer":{"PrimitiveSerializer":["JsonObject"],"Serializer":["JsonObject"]},"NullSerializer":{"PrimitiveSerializer":["Null"],"Serializer":["Null"]},"NumSerializer":{"PrimitiveSerializer":["num"],"Serializer":["num"]},"RegExpSerializer":{"PrimitiveSerializer":["RegExp"],"Serializer":["RegExp"]},"StringSerializer":{"PrimitiveSerializer":["String"],"Serializer":["String"]},"Uint8ListSerializer":{"PrimitiveSerializer":["Uint8List"],"Serializer":["Uint8List"]},"UriSerializer":{"PrimitiveSerializer":["Uri"],"Serializer":["Uri"]},"CanonicalizedMap":{"Map":["2","3"]},"DefaultEquality":{"Equality":["1"]},"IterableEquality":{"Equality":["Iterable<1>"]},"ListEquality":{"Equality":["List<1>"]},"_UnorderedEquality":{"Equality":["2"]},"SetEquality":{"_UnorderedEquality":["1","Set<1>"],"Equality":["Set<1>"],"_UnorderedEquality.E":"1","_UnorderedEquality.T":"Set<1>"},"MapEquality":{"Equality":["Map<1,2>"]},"DeepCollectionEquality":{"Equality":["@"]},"QueueList":{"ListBase":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1","QueueList.E":"1","Iterable.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListBase":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","QueueList.E":"2","Iterable.E":"2"},"_$BuildStatusSerializer":{"PrimitiveSerializer":["BuildStatus"],"Serializer":["BuildStatus"]},"_$BuildResultSerializer":{"StructuredSerializer":["BuildResult"],"Serializer":["BuildResult"]},"_$BuildResult":{"BuildResult":[]},"_$ConnectRequestSerializer":{"StructuredSerializer":["ConnectRequest"],"Serializer":["ConnectRequest"]},"_$ConnectRequest":{"ConnectRequest":[]},"_$DebugEventSerializer":{"StructuredSerializer":["DebugEvent"],"Serializer":["DebugEvent"]},"_$BatchedDebugEventsSerializer":{"StructuredSerializer":["BatchedDebugEvents"],"Serializer":["BatchedDebugEvents"]},"_$DebugEvent":{"DebugEvent":[]},"_$BatchedDebugEvents":{"BatchedDebugEvents":[]},"_$DebugInfoSerializer":{"StructuredSerializer":["DebugInfo"],"Serializer":["DebugInfo"]},"_$DebugInfo":{"DebugInfo":[]},"_$DevToolsRequestSerializer":{"StructuredSerializer":["DevToolsRequest"],"Serializer":["DevToolsRequest"]},"_$DevToolsResponseSerializer":{"StructuredSerializer":["DevToolsResponse"],"Serializer":["DevToolsResponse"]},"_$DevToolsRequest":{"DevToolsRequest":[]},"_$DevToolsResponse":{"DevToolsResponse":[]},"_$ErrorResponseSerializer":{"StructuredSerializer":["ErrorResponse"],"Serializer":["ErrorResponse"]},"_$ErrorResponse":{"ErrorResponse":[]},"_$ExtensionRequestSerializer":{"StructuredSerializer":["ExtensionRequest"],"Serializer":["ExtensionRequest"]},"_$ExtensionResponseSerializer":{"StructuredSerializer":["ExtensionResponse"],"Serializer":["ExtensionResponse"]},"_$ExtensionEventSerializer":{"StructuredSerializer":["ExtensionEvent"],"Serializer":["ExtensionEvent"]},"_$BatchedEventsSerializer":{"StructuredSerializer":["BatchedEvents"],"Serializer":["BatchedEvents"]},"_$ExtensionRequest":{"ExtensionRequest":[]},"_$ExtensionResponse":{"ExtensionResponse":[]},"_$ExtensionEvent":{"ExtensionEvent":[]},"_$BatchedEvents":{"BatchedEvents":[]},"_$HotReloadRequestSerializer":{"StructuredSerializer":["HotReloadRequest"],"Serializer":["HotReloadRequest"]},"_$HotReloadRequest":{"HotReloadRequest":[]},"_$HotReloadResponseSerializer":{"StructuredSerializer":["HotReloadResponse"],"Serializer":["HotReloadResponse"]},"_$HotReloadResponse":{"HotReloadResponse":[]},"_$IsolateExitSerializer":{"StructuredSerializer":["IsolateExit"],"Serializer":["IsolateExit"]},"_$IsolateStartSerializer":{"StructuredSerializer":["IsolateStart"],"Serializer":["IsolateStart"]},"_$IsolateExit":{"IsolateExit":[]},"_$IsolateStart":{"IsolateStart":[]},"_$RegisterEventSerializer":{"StructuredSerializer":["RegisterEvent"],"Serializer":["RegisterEvent"]},"_$RegisterEvent":{"RegisterEvent":[]},"_$RunRequestSerializer":{"StructuredSerializer":["RunRequest"],"Serializer":["RunRequest"]},"_$RunRequest":{"RunRequest":[]},"SseSocketClient":{"SocketClient":[]},"WebSocketClient":{"SocketClient":[]},"Int32":{"Comparable":["Object"]},"Int64":{"Comparable":["Object"]},"ByteStream":{"StreamView":["List<int>"],"Stream":["List<int>"],"Stream.T":"List<int>","StreamView.T":"List<int>"},"ClientException":{"Exception":[]},"Request":{"BaseRequest":[]},"StreamedResponseV2":{"StreamedResponse":[]},"CaseInsensitiveMap":{"CanonicalizedMap":["String","String","1"],"Map":["String","1"],"CanonicalizedMap.K":"String","CanonicalizedMap.V":"1","CanonicalizedMap.C":"String"},"Level":{"Comparable":["Level"]},"PathException":{"Exception":[]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"_FileSpan":{"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SseClient":{"StreamChannel":["String?"]},"GuaranteeChannel":{"StreamChannel":["1"]},"_GuaranteeSink":{"StreamSink":["1"]},"StreamChannelMixin":{"StreamChannel":["1"]},"StringScannerException":{"FormatException":[],"Exception":[]},"_EventStream":{"Stream":["1"],"Stream.T":"1"},"_EventStreamSubscription":{"StreamSubscription":["1"]},"BrowserWebSocket":{"WebSocket":[]},"TextDataReceived":{"WebSocketEvent":[]},"BinaryDataReceived":{"WebSocketEvent":[]},"CloseReceived":{"WebSocketEvent":[]},"WebSocketException":{"Exception":[]},"WebSocketConnectionClosed":{"Exception":[]},"AdapterWebSocketChannel":{"WebSocketChannel":[],"StreamChannel":["@"]},"_WebSocketSink":{"WebSocketSink":[],"DelegatingStreamSink":["@"],"StreamSink":["@"],"DelegatingStreamSink.T":"@"},"WebSocketChannelException":{"Exception":[]},"DdcLibraryBundleRestarter":{"Restarter":[]},"DdcRestarter":{"Restarter":[]},"RequireRestarter":{"Restarter":[]},"HotReloadFailedException":{"Exception":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]}}'));
+ A._Universe_addRules(init.typeUniverse, JSON.parse('{"JavaScriptFunction":"LegacyJavaScriptObject","PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptObject":{"JSObject":[]},"JSArray":{"List":["1"],"JavaScriptObject":[],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"],"JSIndexable":["1"],"Iterable.E":"1"},"JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"LegacyJavaScriptObject":{"JavaScriptObject":[],"JSObject":[]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"JavaScriptObject":[],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"],"JSIndexable":["1"],"Iterable.E":"1"},"ArrayIterator":{"Iterator":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSString":{"String":[],"Comparable":["String"],"Pattern":[],"JSIndexable":["@"],"TrustedGetRuntimeType":[]},"_CastIterableBase":{"Iterable":["2"]},"CastIterator":{"Iterator":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","Iterable.E":"2"},"CastMap":{"MapBase":["3","4"],"Map":["3","4"],"MapBase.K":"3","MapBase.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListBase":["int"],"UnmodifiableListMixin":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListBase.E":"int","Iterable.E":"int","UnmodifiableListMixin.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"ListIterator":{"Iterator":["1"]},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedIterator":{"Iterator":["2"]},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListIterable.E":"2","Iterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereIterator":{"Iterator":["1"]},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"ExpandIterator":{"Iterator":["2"]},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"TakeIterator":{"Iterator":["1"]},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterator":{"Iterator":["1"]},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"EmptyIterator":{"Iterator":["1"]},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterator":{"Iterator":["1"]},"UnmodifiableListBase":{"ListBase":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"_Record_2_libraries_sources":{"_Record2":[],"_Record":[]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_KeysOrValues":{"Iterable":["1"],"Iterable.E":"1"},"_KeysOrValuesOrElementsIterator":{"Iterator":["1"]},"Instantiation":{"Closure":[],"Function":[]},"Instantiation1":{"Closure":[],"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Closure":[],"Function":[]},"Closure2Args":{"Closure":[],"Function":[]},"TearOffClosure":{"Closure":[],"Function":[]},"StaticClosure":{"Closure":[],"Function":[]},"BoundClosure":{"Closure":[],"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapBase":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"LinkedHashMapKeysIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapKeyIterator":{"Iterator":["1"]},"LinkedHashMapValuesIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapValueIterator":{"Iterator":["1"]},"LinkedHashMapEntriesIterable":{"EfficientLengthIterable":["MapEntry<1,2>"],"Iterable":["MapEntry<1,2>"],"Iterable.E":"MapEntry<1,2>"},"LinkedHashMapEntryIterator":{"Iterator":["MapEntry<1,2>"]},"JsIdentityLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_Record2":{"_Record":[]},"JSSyntaxRegExp":{"RegExp":[],"Pattern":[]},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"_AllMatchesIterator":{"Iterator":["RegExpMatch"]},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"_StringAllMatchesIterator":{"Iterator":["Match"]},"NativeByteBuffer":{"JavaScriptObject":[],"JSObject":[],"ByteBuffer":[],"TrustedGetRuntimeType":[]},"NativeTypedData":{"JavaScriptObject":[],"JSObject":[]},"_UnmodifiableNativeByteBufferView":{"ByteBuffer":[]},"NativeByteData":{"JavaScriptObject":[],"ByteData":[],"JSObject":[],"TrustedGetRuntimeType":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"JavaScriptObject":[],"JSObject":[],"JSIndexable":["1"]},"NativeTypedArrayOfDouble":{"ListBase":["double"],"NativeTypedArray":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"JavaScriptObject":[],"EfficientLengthIterable":["double"],"JSObject":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"]},"NativeTypedArrayOfInt":{"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"]},"NativeFloat32List":{"Float32List":[],"ListBase":["double"],"NativeTypedArray":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"JavaScriptObject":[],"EfficientLengthIterable":["double"],"JSObject":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double","Iterable.E":"double","FixedLengthListMixin.E":"double"},"NativeFloat64List":{"Float64List":[],"ListBase":["double"],"NativeTypedArray":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"JavaScriptObject":[],"EfficientLengthIterable":["double"],"JSObject":[],"JSIndexable":["double"],"Iterable":["double"],"FixedLengthListMixin":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double","Iterable.E":"double","FixedLengthListMixin.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"Int16List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"Int32List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"Int8List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"Uint16List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"Uint32List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"Uint8ClampedList":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"Uint8List":[],"ListBase":["int"],"NativeTypedArray":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"JavaScriptObject":[],"EfficientLengthIterable":["int"],"JSObject":[],"JSIndexable":["int"],"Iterable":["int"],"FixedLengthListMixin":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int","Iterable.E":"int","FixedLengthListMixin.E":"int"},"_Type":{"Type":[]},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_TimerImpl":{"Timer":[]},"_AsyncAwaitCompleter":{"Completer":["1"]},"_Completer":{"Completer":["1"]},"_AsyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_SyncCompleter":{"_Completer":["1"],"Completer":["1"]},"_Future":{"Future":["1"]},"StreamView":{"Stream":["1"]},"_StreamController":{"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_AsyncStreamController":{"_AsyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_SyncStreamController":{"_SyncStreamControllerDispatch":["1"],"_StreamController":["1"],"StreamController":["1"],"StreamSink":["1"],"_StreamControllerLifecycle":["1"],"_EventSink":["1"],"_EventDispatch":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamSinkWrapper":{"StreamSink":["1"]},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_EventSink":["1"],"_EventDispatch":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_DelayedData":{"_DelayedEvent":["1"]},"_DelayedError":{"_DelayedEvent":["@"]},"_DelayedDone":{"_DelayedEvent":["@"]},"_DoneStreamSubscription":{"StreamSubscription":["1"]},"_EmptyStream":{"Stream":["1"],"Stream.T":"1"},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_EventSink":["2"],"_EventDispatch":["2"],"_BufferingStreamSubscription.T":"2"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_ZoneSpecification":{"ZoneSpecification":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_Zone":{"Zone":[]},"_CustomZone":{"_Zone":[],"Zone":[]},"_RootZone":{"_Zone":[],"Zone":[]},"_SplayTreeSetNode":{"_SplayTreeNode":["1","_SplayTreeSetNode<1>"],"_SplayTreeNode.K":"1","_SplayTreeNode.1":"_SplayTreeSetNode<1>"},"_HashMap":{"MapBase":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_CustomHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"HashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashMapKeyIterator":{"Iterator":["1"]},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"LinkedHashMap":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_HashSet":{"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_HashSetIterator":{"Iterator":["1"]},"_LinkedHashSet":{"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedHashSetIterator":{"Iterator":["1"]},"UnmodifiableListView":{"ListBase":["1"],"UnmodifiableListMixin":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1","Iterable.E":"1","UnmodifiableListMixin.E":"1"},"ListBase":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"Map":["1","2"]},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ListQueue":{"Queue":["1"],"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"_ListQueueIterator":{"Iterator":["1"]},"SetBase":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SplayTreeIterator":{"Iterator":["3"]},"_SplayTreeKeyIterator":{"_SplayTreeIterator":["1","2","1"],"Iterator":["1"],"_SplayTreeIterator.K":"1","_SplayTreeIterator.T":"1","_SplayTreeIterator.1":"2"},"SplayTreeSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"_SplayTree":["1","_SplayTreeSetNode<1>"],"Iterable":["1"],"Iterable.E":"1","_SplayTree.1":"_SplayTreeSetNode<1>","_SplayTree.K":"1"},"Encoding":{"Codec":["String","List<int>"]},"_JsonMap":{"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"AsciiCodec":{"Encoding":[],"Codec":["String","List<int>"],"Codec.S":"String"},"_UnicodeSubsetEncoder":{"Converter":["String","List<int>"],"StreamTransformer":["String","List<int>"]},"AsciiEncoder":{"Converter":["String","List<int>"],"StreamTransformer":["String","List<int>"]},"_UnicodeSubsetDecoder":{"Converter":["List<int>","String"],"StreamTransformer":["List<int>","String"]},"AsciiDecoder":{"Converter":["List<int>","String"],"StreamTransformer":["List<int>","String"]},"Base64Codec":{"Codec":["List<int>","String"],"Codec.S":"List<int>"},"Base64Encoder":{"Converter":["List<int>","String"],"StreamTransformer":["List<int>","String"]},"Base64Decoder":{"Converter":["String","List<int>"],"StreamTransformer":["String","List<int>"]},"Converter":{"StreamTransformer":["1","2"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"],"Codec.S":"Object?"},"JsonEncoder":{"Converter":["Object?","String"],"StreamTransformer":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"],"StreamTransformer":["String","Object?"]},"Latin1Codec":{"Encoding":[],"Codec":["String","List<int>"],"Codec.S":"String"},"Latin1Encoder":{"Converter":["String","List<int>"],"StreamTransformer":["String","List<int>"]},"Latin1Decoder":{"Converter":["List<int>","String"],"StreamTransformer":["List<int>","String"]},"Utf8Codec":{"Encoding":[],"Codec":["String","List<int>"],"Codec.S":"String"},"Utf8Encoder":{"Converter":["String","List<int>"],"StreamTransformer":["String","List<int>"]},"Utf8Decoder":{"Converter":["List<int>","String"],"StreamTransformer":["List<int>","String"]},"BigInt":{"Comparable":["BigInt"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExp":{"Pattern":[]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"],"Pattern":[]},"_BigIntImpl":{"BigInt":[],"Comparable":["BigInt"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"IntegerDivisionByZeroException":{"Exception":[],"Error":[]},"_StringStackTrace":{"StackTrace":[]},"StringBuffer":{"StringSink":[]},"_Uri":{"Uri":[]},"_SimpleUri":{"Uri":[]},"_DataUri":{"Uri":[]},"NullRejectionException":{"Exception":[]},"DelegatingStreamSink":{"StreamSink":["1"]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_NextRequest":{"_EventRequest":["1"]},"_HasNextRequest":{"_EventRequest":["1"]},"BuiltList":{"Iterable":["1"]},"_BuiltList":{"BuiltList":["1"],"Iterable":["1"],"Iterable.E":"1"},"_BuiltListMultimap":{"BuiltListMultimap":["1","2"]},"_BuiltMap":{"BuiltMap":["1","2"]},"BuiltSet":{"Iterable":["1"]},"_BuiltSet":{"BuiltSet":["1"],"Iterable":["1"],"Iterable.E":"1"},"_BuiltSetMultimap":{"BuiltSetMultimap":["1","2"]},"BuiltValueNullFieldError":{"Error":[]},"BuiltValueNestedFieldError":{"Error":[]},"BoolJsonObject":{"JsonObject":[]},"ListJsonObject":{"JsonObject":[]},"MapJsonObject":{"JsonObject":[]},"NumJsonObject":{"JsonObject":[]},"StringJsonObject":{"JsonObject":[]},"DeserializationError":{"Error":[]},"BigIntSerializer":{"PrimitiveSerializer":["BigInt"],"Serializer":["BigInt"]},"BoolSerializer":{"PrimitiveSerializer":["bool"],"Serializer":["bool"]},"BuiltJsonSerializers":{"Serializers":[]},"BuiltListMultimapSerializer":{"StructuredSerializer":["BuiltListMultimap<@,@>"],"Serializer":["BuiltListMultimap<@,@>"]},"BuiltListSerializer":{"StructuredSerializer":["BuiltList<@>"],"Serializer":["BuiltList<@>"]},"BuiltMapSerializer":{"StructuredSerializer":["BuiltMap<@,@>"],"Serializer":["BuiltMap<@,@>"]},"BuiltSetMultimapSerializer":{"StructuredSerializer":["BuiltSetMultimap<@,@>"],"Serializer":["BuiltSetMultimap<@,@>"]},"BuiltSetSerializer":{"StructuredSerializer":["BuiltSet<@>"],"Serializer":["BuiltSet<@>"]},"DateTimeSerializer":{"PrimitiveSerializer":["DateTime"],"Serializer":["DateTime"]},"DoubleSerializer":{"PrimitiveSerializer":["double"],"Serializer":["double"]},"DurationSerializer":{"PrimitiveSerializer":["Duration"],"Serializer":["Duration"]},"Int32Serializer":{"PrimitiveSerializer":["Int32"],"Serializer":["Int32"]},"Int64Serializer":{"PrimitiveSerializer":["Int64"],"Serializer":["Int64"]},"IntSerializer":{"PrimitiveSerializer":["int"],"Serializer":["int"]},"JsonObjectSerializer":{"PrimitiveSerializer":["JsonObject"],"Serializer":["JsonObject"]},"NullSerializer":{"PrimitiveSerializer":["Null"],"Serializer":["Null"]},"NumSerializer":{"PrimitiveSerializer":["num"],"Serializer":["num"]},"RegExpSerializer":{"PrimitiveSerializer":["RegExp"],"Serializer":["RegExp"]},"StringSerializer":{"PrimitiveSerializer":["String"],"Serializer":["String"]},"Uint8ListSerializer":{"PrimitiveSerializer":["Uint8List"],"Serializer":["Uint8List"]},"UriSerializer":{"PrimitiveSerializer":["Uri"],"Serializer":["Uri"]},"CanonicalizedMap":{"Map":["2","3"]},"DefaultEquality":{"Equality":["1"]},"IterableEquality":{"Equality":["Iterable<1>"]},"ListEquality":{"Equality":["List<1>"]},"_UnorderedEquality":{"Equality":["2"]},"SetEquality":{"_UnorderedEquality":["1","Set<1>"],"Equality":["Set<1>"],"_UnorderedEquality.E":"1","_UnorderedEquality.T":"Set<1>"},"MapEquality":{"Equality":["Map<1,2>"]},"DeepCollectionEquality":{"Equality":["@"]},"QueueList":{"ListBase":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1","QueueList.E":"1","Iterable.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListBase":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","QueueList.E":"2","Iterable.E":"2"},"_$BuildStatusSerializer":{"PrimitiveSerializer":["BuildStatus"],"Serializer":["BuildStatus"]},"_$BuildResultSerializer":{"StructuredSerializer":["BuildResult"],"Serializer":["BuildResult"]},"_$BuildResult":{"BuildResult":[]},"_$ConnectRequestSerializer":{"StructuredSerializer":["ConnectRequest"],"Serializer":["ConnectRequest"]},"_$ConnectRequest":{"ConnectRequest":[]},"_$DebugEventSerializer":{"StructuredSerializer":["DebugEvent"],"Serializer":["DebugEvent"]},"_$BatchedDebugEventsSerializer":{"StructuredSerializer":["BatchedDebugEvents"],"Serializer":["BatchedDebugEvents"]},"_$DebugEvent":{"DebugEvent":[]},"_$BatchedDebugEvents":{"BatchedDebugEvents":[]},"_$DebugInfoSerializer":{"StructuredSerializer":["DebugInfo"],"Serializer":["DebugInfo"]},"_$DebugInfo":{"DebugInfo":[]},"_$DevToolsRequestSerializer":{"StructuredSerializer":["DevToolsRequest"],"Serializer":["DevToolsRequest"]},"_$DevToolsResponseSerializer":{"StructuredSerializer":["DevToolsResponse"],"Serializer":["DevToolsResponse"]},"_$DevToolsRequest":{"DevToolsRequest":[]},"_$DevToolsResponse":{"DevToolsResponse":[]},"_$ErrorResponseSerializer":{"StructuredSerializer":["ErrorResponse"],"Serializer":["ErrorResponse"]},"_$ErrorResponse":{"ErrorResponse":[]},"_$ExtensionRequestSerializer":{"StructuredSerializer":["ExtensionRequest"],"Serializer":["ExtensionRequest"]},"_$ExtensionResponseSerializer":{"StructuredSerializer":["ExtensionResponse"],"Serializer":["ExtensionResponse"]},"_$ExtensionEventSerializer":{"StructuredSerializer":["ExtensionEvent"],"Serializer":["ExtensionEvent"]},"_$BatchedEventsSerializer":{"StructuredSerializer":["BatchedEvents"],"Serializer":["BatchedEvents"]},"_$ExtensionRequest":{"ExtensionRequest":[]},"_$ExtensionResponse":{"ExtensionResponse":[]},"_$ExtensionEvent":{"ExtensionEvent":[]},"_$BatchedEvents":{"BatchedEvents":[]},"_$HotReloadRequestSerializer":{"StructuredSerializer":["HotReloadRequest"],"Serializer":["HotReloadRequest"]},"_$HotReloadRequest":{"HotReloadRequest":[]},"_$HotReloadResponseSerializer":{"StructuredSerializer":["HotReloadResponse"],"Serializer":["HotReloadResponse"]},"_$HotReloadResponse":{"HotReloadResponse":[]},"_$IsolateExitSerializer":{"StructuredSerializer":["IsolateExit"],"Serializer":["IsolateExit"]},"_$IsolateStartSerializer":{"StructuredSerializer":["IsolateStart"],"Serializer":["IsolateStart"]},"_$IsolateExit":{"IsolateExit":[]},"_$IsolateStart":{"IsolateStart":[]},"_$RegisterEventSerializer":{"StructuredSerializer":["RegisterEvent"],"Serializer":["RegisterEvent"]},"_$RegisterEvent":{"RegisterEvent":[]},"_$RunRequestSerializer":{"StructuredSerializer":["RunRequest"],"Serializer":["RunRequest"]},"_$RunRequest":{"RunRequest":[]},"SseSocketClient":{"SocketClient":[]},"WebSocketClient":{"SocketClient":[]},"Int32":{"Comparable":["Object"]},"Int64":{"Comparable":["Object"]},"ByteStream":{"StreamView":["List<int>"],"Stream":["List<int>"],"Stream.T":"List<int>","StreamView.T":"List<int>"},"ClientException":{"Exception":[]},"Request":{"BaseRequest":[]},"StreamedResponseV2":{"StreamedResponse":[]},"CaseInsensitiveMap":{"CanonicalizedMap":["String","String","1"],"Map":["String","1"],"CanonicalizedMap.K":"String","CanonicalizedMap.V":"1","CanonicalizedMap.C":"String"},"Level":{"Comparable":["Level"]},"PathException":{"Exception":[]},"PosixStyle":{"InternalStyle":[]},"UrlStyle":{"InternalStyle":[]},"WindowsStyle":{"InternalStyle":[]},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"_FileSpan":{"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SseClient":{"StreamChannel":["String?"]},"GuaranteeChannel":{"StreamChannel":["1"]},"_GuaranteeSink":{"StreamSink":["1"]},"StreamChannelMixin":{"StreamChannel":["1"]},"StringScannerException":{"FormatException":[],"Exception":[]},"_EventStream":{"Stream":["1"],"Stream.T":"1"},"_EventStreamSubscription":{"StreamSubscription":["1"]},"BrowserWebSocket":{"WebSocket":[]},"TextDataReceived":{"WebSocketEvent":[]},"BinaryDataReceived":{"WebSocketEvent":[]},"CloseReceived":{"WebSocketEvent":[]},"WebSocketException":{"Exception":[]},"WebSocketConnectionClosed":{"Exception":[]},"AdapterWebSocketChannel":{"WebSocketChannel":[],"StreamChannel":["@"]},"_WebSocketSink":{"WebSocketSink":[],"DelegatingStreamSink":["@"],"StreamSink":["@"],"DelegatingStreamSink.T":"@"},"WebSocketChannelException":{"Exception":[]},"DdcLibraryBundleRestarter":{"Restarter":[]},"DdcRestarter":{"Restarter":[]},"RequireRestarter":{"Restarter":[]},"HotReloadFailedException":{"Exception":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]}}'));
A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"NativeTypedArray":1,"_DelayedEvent":1,"_SplayTreeSet__SplayTree_Iterable":1,"_SplayTreeSet__SplayTree_Iterable_SetMixin":1,"_QueueList_Object_ListMixin":1,"StreamChannelMixin":1}'));
var string$ = {
x00_____: "\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\x00\u03f6\x00\u0404\u03f4 \u03f4\u03f6\u01f6\u01f6\u03f6\u03fc\u01f4\u03ff\u03ff\u0584\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u05d4\u01f4\x00\u01f4\x00\u0504\u05c4\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u0400\x00\u0400\u0200\u03f7\u0200\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u03ff\u0200\u0200\u0200\u03f7\x00",
@@ -28074,6 +28152,7 @@
Error_: "Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type",
Hot_reA: "Hot reload is not supported for the AMD module format.",
Hot_reD: "Hot reload is not supported for the DDC module format.",
+ max_mu: "max must be in range 0 < max \u2264 2^32, was ",
serial: "serializer must be StructuredSerializer or PrimitiveSerializer"
};
var type$ = (function rtii() {
@@ -28317,6 +28396,7 @@
B.JSString_methods = J.JSString.prototype;
B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;
B.JavaScriptObject_methods = J.JavaScriptObject.prototype;
+ B.NativeByteData_methods = A.NativeByteData.prototype;
B.NativeUint32List_methods = A.NativeUint32List.prototype;
B.NativeUint8List_methods = A.NativeUint8List.prototype;
B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;
@@ -28475,9 +28555,9 @@
B.Duration_5000000 = new A.Duration(5000000);
B.Type_BuiltList_fj6 = A.typeLiteral("BuiltList<@>");
B.Type_DebugEvent_gLJ = A.typeLiteral("DebugEvent");
- B.List_empty1 = makeConstList([], type$.JSArray_FullType);
+ B.List_empty1 = A._setArrayType(makeConstList([]), type$.JSArray_FullType);
B.FullType_np4 = new A.FullType(B.Type_DebugEvent_gLJ, B.List_empty1, false);
- B.List_njn = makeConstList([B.FullType_np4], type$.JSArray_FullType);
+ B.List_njn = A._setArrayType(makeConstList([B.FullType_np4]), type$.JSArray_FullType);
B.FullType_3Xm = new A.FullType(B.Type_BuiltList_fj6, B.List_njn, false);
B.Type_String_AXU = A.typeLiteral("String");
B.FullType_PT1 = new A.FullType(B.Type_String_AXU, B.List_empty1, false);
@@ -28486,15 +28566,15 @@
B.Type_BuiltSetMultimap_yT7 = A.typeLiteral("BuiltSetMultimap<@,@>");
B.Type_Object_A4p = A.typeLiteral("Object");
B.FullType_kV7 = new A.FullType(B.Type_Object_A4p, B.List_empty1, false);
- B.List_03P = makeConstList([B.FullType_kV7, B.FullType_kV7], type$.JSArray_FullType);
+ B.List_03P = A._setArrayType(makeConstList([B.FullType_kV7, B.FullType_kV7]), type$.JSArray_FullType);
B.FullType_SWR = new A.FullType(B.Type_BuiltSetMultimap_yT7, B.List_03P, false);
B.Type_BuiltListMultimap_HQW = A.typeLiteral("BuiltListMultimap<@,@>");
B.FullType_WP0 = new A.FullType(B.Type_BuiltListMultimap_HQW, B.List_03P, false);
B.Type_ExtensionEvent_T8C = A.typeLiteral("ExtensionEvent");
B.FullType_I4i = new A.FullType(B.Type_ExtensionEvent_T8C, B.List_empty1, false);
- B.List_O9J = makeConstList([B.FullType_I4i], type$.JSArray_FullType);
+ B.List_O9J = A._setArrayType(makeConstList([B.FullType_I4i]), type$.JSArray_FullType);
B.FullType_ahP = new A.FullType(B.Type_BuiltList_fj6, B.List_O9J, false);
- B.List_LtY = makeConstList([B.FullType_kV7], type$.JSArray_FullType);
+ B.List_LtY = A._setArrayType(makeConstList([B.FullType_kV7]), type$.JSArray_FullType);
B.FullType_hm4 = new A.FullType(B.Type_BuiltList_fj6, B.List_LtY, false);
B.Type_BuildStatus_8KJ = A.typeLiteral("BuildStatus");
B.FullType_k5M = new A.FullType(B.Type_BuildStatus_8KJ, B.List_empty1, false);
@@ -28514,61 +28594,61 @@
B.Level_WARNING_900 = new A.Level("WARNING", 900);
B.Type_ExtensionRequest_9GR = A.typeLiteral("ExtensionRequest");
B.Type__$ExtensionRequest_o1C = A.typeLiteral("_$ExtensionRequest");
- B.List_2dD = makeConstList([B.Type_ExtensionRequest_9GR, B.Type__$ExtensionRequest_o1C], type$.JSArray_Type);
+ B.List_2dD = A._setArrayType(makeConstList([B.Type_ExtensionRequest_9GR, B.Type__$ExtensionRequest_o1C]), type$.JSArray_Type);
B.Type_DebugInfo_ua9 = A.typeLiteral("DebugInfo");
B.Type__$DebugInfo_ywz = A.typeLiteral("_$DebugInfo");
- B.List_55I = makeConstList([B.Type_DebugInfo_ua9, B.Type__$DebugInfo_ywz], type$.JSArray_Type);
+ B.List_55I = A._setArrayType(makeConstList([B.Type_DebugInfo_ua9, B.Type__$DebugInfo_ywz]), type$.JSArray_Type);
B.Type_ErrorResponse_WMn = A.typeLiteral("ErrorResponse");
B.Type__$ErrorResponse_9Ps = A.typeLiteral("_$ErrorResponse");
- B.List_5LV = makeConstList([B.Type_ErrorResponse_WMn, B.Type__$ErrorResponse_9Ps], type$.JSArray_Type);
+ B.List_5LV = A._setArrayType(makeConstList([B.Type_ErrorResponse_WMn, B.Type__$ErrorResponse_9Ps]), type$.JSArray_Type);
B.Type_HotReloadResponse_Gqc = A.typeLiteral("HotReloadResponse");
B.Type__$HotReloadResponse_56g = A.typeLiteral("_$HotReloadResponse");
- B.List_DqJ = makeConstList([B.Type_HotReloadResponse_Gqc, B.Type__$HotReloadResponse_56g], type$.JSArray_Type);
+ B.List_DqJ = A._setArrayType(makeConstList([B.Type_HotReloadResponse_Gqc, B.Type__$HotReloadResponse_56g]), type$.JSArray_Type);
B.Type_RegisterEvent_0Yw = A.typeLiteral("RegisterEvent");
B.Type__$RegisterEvent_Ks1 = A.typeLiteral("_$RegisterEvent");
- B.List_EMv = makeConstList([B.Type_RegisterEvent_0Yw, B.Type__$RegisterEvent_Ks1], type$.JSArray_Type);
+ B.List_EMv = A._setArrayType(makeConstList([B.Type_RegisterEvent_0Yw, B.Type__$RegisterEvent_Ks1]), type$.JSArray_Type);
B.Type_DevToolsRequest_DxE = A.typeLiteral("DevToolsRequest");
B.Type__$DevToolsRequest_Rak = A.typeLiteral("_$DevToolsRequest");
- B.List_G46 = makeConstList([B.Type_DevToolsRequest_DxE, B.Type__$DevToolsRequest_Rak], type$.JSArray_Type);
+ B.List_G46 = A._setArrayType(makeConstList([B.Type_DevToolsRequest_DxE, B.Type__$DevToolsRequest_Rak]), type$.JSArray_Type);
B.Type_IsolateStart_nRT = A.typeLiteral("IsolateStart");
B.Type__$IsolateStart_Pnq = A.typeLiteral("_$IsolateStart");
- B.List_KpG = makeConstList([B.Type_IsolateStart_nRT, B.Type__$IsolateStart_Pnq], type$.JSArray_Type);
+ B.List_KpG = A._setArrayType(makeConstList([B.Type_IsolateStart_nRT, B.Type__$IsolateStart_Pnq]), type$.JSArray_Type);
B.Type_IsolateExit_QVA = A.typeLiteral("IsolateExit");
B.Type__$IsolateExit_4XE = A.typeLiteral("_$IsolateExit");
- B.List_MJN = makeConstList([B.Type_IsolateExit_QVA, B.Type__$IsolateExit_4XE], type$.JSArray_Type);
+ B.List_MJN = A._setArrayType(makeConstList([B.Type_IsolateExit_QVA, B.Type__$IsolateExit_4XE]), type$.JSArray_Type);
B.Type_ExtensionResponse_0Oi = A.typeLiteral("ExtensionResponse");
B.Type__$ExtensionResponse_46G = A.typeLiteral("_$ExtensionResponse");
- B.List_RWp = makeConstList([B.Type_ExtensionResponse_0Oi, B.Type__$ExtensionResponse_46G], type$.JSArray_Type);
+ B.List_RWp = A._setArrayType(makeConstList([B.Type_ExtensionResponse_0Oi, B.Type__$ExtensionResponse_46G]), type$.JSArray_Type);
B.Type_RunRequest_Hfm = A.typeLiteral("RunRequest");
B.Type__$RunRequest_3ad = A.typeLiteral("_$RunRequest");
- B.List_RlA = makeConstList([B.Type_RunRequest_Hfm, B.Type__$RunRequest_3ad], type$.JSArray_Type);
+ B.List_RlA = A._setArrayType(makeConstList([B.Type_RunRequest_Hfm, B.Type__$RunRequest_3ad]), type$.JSArray_Type);
B.Type_DevToolsResponse_gVs = A.typeLiteral("DevToolsResponse");
B.Type__$DevToolsResponse_dcs = A.typeLiteral("_$DevToolsResponse");
- B.List_TEH = makeConstList([B.Type_DevToolsResponse_gVs, B.Type__$DevToolsResponse_dcs], type$.JSArray_Type);
- B.List_Type_BuildStatus_8KJ = makeConstList([B.Type_BuildStatus_8KJ], type$.JSArray_Type);
+ B.List_TEH = A._setArrayType(makeConstList([B.Type_DevToolsResponse_gVs, B.Type__$DevToolsResponse_dcs]), type$.JSArray_Type);
+ B.List_Type_BuildStatus_8KJ = A._setArrayType(makeConstList([B.Type_BuildStatus_8KJ]), type$.JSArray_Type);
B.Type_BatchedDebugEvents_v7B = A.typeLiteral("BatchedDebugEvents");
B.Type__$BatchedDebugEvents_LFV = A.typeLiteral("_$BatchedDebugEvents");
- B.List_WAE = makeConstList([B.Type_BatchedDebugEvents_v7B, B.Type__$BatchedDebugEvents_LFV], type$.JSArray_Type);
- B.List_ZNA = makeConstList([0, 0, 1048576, 531441, 1048576, 390625, 279936, 823543, 262144, 531441, 1000000, 161051, 248832, 371293, 537824, 759375, 1048576, 83521, 104976, 130321, 160000, 194481, 234256, 279841, 331776, 390625, 456976, 531441, 614656, 707281, 810000, 923521, 1048576, 35937, 39304, 42875, 46656], type$.JSArray_int);
+ B.List_WAE = A._setArrayType(makeConstList([B.Type_BatchedDebugEvents_v7B, B.Type__$BatchedDebugEvents_LFV]), type$.JSArray_Type);
+ B.List_ZNA = A._setArrayType(makeConstList([0, 0, 1048576, 531441, 1048576, 390625, 279936, 823543, 262144, 531441, 1000000, 161051, 248832, 371293, 537824, 759375, 1048576, 83521, 104976, 130321, 160000, 194481, 234256, 279841, 331776, 390625, 456976, 531441, 614656, 707281, 810000, 923521, 1048576, 35937, 39304, 42875, 46656]), type$.JSArray_int);
B.Type_HotReloadRequest_EsW = A.typeLiteral("HotReloadRequest");
B.Type__$HotReloadRequest_ynq = A.typeLiteral("_$HotReloadRequest");
- B.List_dz9 = makeConstList([B.Type_HotReloadRequest_EsW, B.Type__$HotReloadRequest_ynq], type$.JSArray_Type);
- B.List_empty = makeConstList([], type$.JSArray_String);
- B.List_empty0 = makeConstList([], type$.JSArray_dynamic);
- B.List_fAJ = makeConstList(["d", "D", "\u2202", "\xce"], type$.JSArray_String);
+ B.List_dz9 = A._setArrayType(makeConstList([B.Type_HotReloadRequest_EsW, B.Type__$HotReloadRequest_ynq]), type$.JSArray_Type);
+ B.List_empty = A._setArrayType(makeConstList([]), type$.JSArray_String);
+ B.List_empty0 = A._setArrayType(makeConstList([]), type$.JSArray_dynamic);
+ B.List_fAJ = A._setArrayType(makeConstList(["d", "D", "\u2202", "\xce"]), type$.JSArray_String);
B.Type__$DebugEvent_YX4 = A.typeLiteral("_$DebugEvent");
- B.List_fK8 = makeConstList([B.Type_DebugEvent_gLJ, B.Type__$DebugEvent_YX4], type$.JSArray_Type);
+ B.List_fK8 = A._setArrayType(makeConstList([B.Type_DebugEvent_gLJ, B.Type__$DebugEvent_YX4]), type$.JSArray_Type);
B.Type_BatchedEvents_ABc = A.typeLiteral("BatchedEvents");
B.Type__$BatchedEvents_jAA = A.typeLiteral("_$BatchedEvents");
- B.List_oDF = makeConstList([B.Type_BatchedEvents_ABc, B.Type__$BatchedEvents_jAA], type$.JSArray_Type);
+ B.List_oDF = A._setArrayType(makeConstList([B.Type_BatchedEvents_ABc, B.Type__$BatchedEvents_jAA]), type$.JSArray_Type);
B.Type_BuildResult_SAR = A.typeLiteral("BuildResult");
B.Type__$BuildResult_Iwz = A.typeLiteral("_$BuildResult");
- B.List_pLn = makeConstList([B.Type_BuildResult_SAR, B.Type__$BuildResult_Iwz], type$.JSArray_Type);
+ B.List_pLn = A._setArrayType(makeConstList([B.Type_BuildResult_SAR, B.Type__$BuildResult_Iwz]), type$.JSArray_Type);
B.Type_ConnectRequest_8Nv = A.typeLiteral("ConnectRequest");
B.Type__$ConnectRequest_3Qd = A.typeLiteral("_$ConnectRequest");
- B.List_xmd = makeConstList([B.Type_ConnectRequest_8Nv, B.Type__$ConnectRequest_3Qd], type$.JSArray_Type);
+ B.List_xmd = A._setArrayType(makeConstList([B.Type_ConnectRequest_8Nv, B.Type__$ConnectRequest_3Qd]), type$.JSArray_Type);
B.Type__$ExtensionEvent_WzR = A.typeLiteral("_$ExtensionEvent");
- B.List_yvR = makeConstList([B.Type_ExtensionEvent_T8C, B.Type__$ExtensionEvent_WzR], type$.JSArray_Type);
+ B.List_yvR = A._setArrayType(makeConstList([B.Type_ExtensionEvent_T8C, B.Type__$ExtensionEvent_WzR]), type$.JSArray_Type);
B.Object_empty = {};
B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<String,String>"));
B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType("ConstantStringMap<@,@>"));
@@ -28663,7 +28743,6 @@
_lazy = hunkHelpers.lazy;
_lazyFinal($, "DART_CLOSURE_PROPERTY_NAME", "$get$DART_CLOSURE_PROPERTY_NAME", () => A.getIsolateAffinityTag("_$dart_dartClosure"));
_lazyFinal($, "nullFuture", "$get$nullFuture", () => B.C__RootZone.run$1$1(new A.nullFuture_closure(), type$.Future_void));
- _lazyFinal($, "_safeToStringHooks", "$get$_safeToStringHooks", () => A._setArrayType([new J.JSArraySafeToStringHook()], A.findType("JSArray<SafeToStringHook>")));
_lazyFinal($, "TypeErrorDecoder_noSuchMethodPattern", "$get$TypeErrorDecoder_noSuchMethodPattern", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({
toString: function() {
return "$receiver$";
@@ -28728,6 +28807,11 @@
_lazyFinal($, "_Uri__needsNoEncoding", "$get$_Uri__needsNoEncoding", () => A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$", true, false));
_lazyFinal($, "_hashSeed", "$get$_hashSeed", () => A.objectHashCode(B.Type_Object_A4p));
_lazyFinal($, "_jsBoxedDartObjectProperty", "$get$_jsBoxedDartObjectProperty", () => Symbol("jsBoxedDartObjectProperty"));
+ _lazyFinal($, "Random__secureRandom", "$get$Random__secureRandom", () => {
+ var t1 = new A._JSSecureRandom(new DataView(new ArrayBuffer(A._checkLength(8))));
+ t1._JSSecureRandom$0();
+ return t1;
+ });
_lazyFinal($, "isSoundMode", "$get$isSoundMode", () => !type$.List_int._is(A._setArrayType([], A.findType("JSArray<int?>"))));
_lazy($, "newBuiltValueToStringHelper", "$get$newBuiltValueToStringHelper", () => new A.newBuiltValueToStringHelper_closure());
_lazyFinal($, "_runtimeType", "$get$_runtimeType", () => A.getRuntimeTypeOfDartObject(A.RegExp_RegExp("", true, false)));
@@ -28783,7 +28867,7 @@
_lazyFinal($, "_escapedChar", "$get$_escapedChar", () => A.RegExp_RegExp('["\\x00-\\x1F\\x7F]', true, false));
_lazyFinal($, "token", "$get$token", () => A.RegExp_RegExp('[^()<>@,;:"\\\\/[\\]?={} \\t\\x00-\\x1F\\x7F]+', true, false));
_lazyFinal($, "_lws", "$get$_lws", () => A.RegExp_RegExp("(?:\\r\\n)?[ \\t]+", true, false));
- _lazyFinal($, "_quotedString", "$get$_quotedString", () => A.RegExp_RegExp('"(?:[^"\\x00-\\x1F\\x7F]|\\\\.)*"', true, false));
+ _lazyFinal($, "_quotedString", "$get$_quotedString", () => A.RegExp_RegExp('"(?:[^"\\x00-\\x1F\\x7F\\\\]|\\\\.)*"', true, false));
_lazyFinal($, "_quotedPair", "$get$_quotedPair", () => A.RegExp_RegExp("\\\\(.)", true, false));
_lazyFinal($, "nonToken", "$get$nonToken", () => A.RegExp_RegExp('[()<>@,;:"\\\\/\\[\\]?={} \\t\\x00-\\x1F\\x7F]', true, false));
_lazyFinal($, "whitespace", "$get$whitespace", () => A.RegExp_RegExp("(?:" + $.$get$_lws().pattern + ")*", true, false));
@@ -28802,10 +28886,7 @@
t4 = A.Completer_Completer(type$.dynamic);
return new A.Pool(t2, t3, t1, 1000, new A.AsyncMemoizer(t4, A.findType("AsyncMemoizer<@>")));
});
- _lazy($, "V1State_random", "$get$V1State_random", () => {
- var t1 = A.Random_Random(null);
- return new A.MathRNG(t1);
- });
+ _lazy($, "V1State_random", "$get$V1State_random", () => new A.CryptoRNG());
_lazyFinal($, "UuidParsing__byteToHex", "$get$UuidParsing__byteToHex", () => {
var i,
_list = J.JSArray_JSArray$allocateGrowable(256, type$.String);
@@ -28813,6 +28894,7 @@
_list[i] = B.JSString_methods.padLeft$2(B.JSInt_methods.toRadixString$1(i, 16), 2, "0");
return _list;
});
+ _lazyFinal($, "CryptoRNG__secureRandom", "$get$CryptoRNG__secureRandom", () => $.$get$Random__secureRandom());
_lazyFinal($, "_noncePattern", "$get$_noncePattern", () => A.RegExp_RegExp("^[\\w+/_-]+[=]{0,2}$", true, false));
_lazyFinal($, "_createScript", "$get$_createScript", () => new A._createScript_closure().call$0());
})();
diff --git a/dwds/lib/src/version.dart b/dwds/lib/src/version.dart
index a107a04..b2c6d53 100644
--- a/dwds/lib/src/version.dart
+++ b/dwds/lib/src/version.dart
@@ -1,2 +1,2 @@
// Generated code. Do not modify.
-const packageVersion = '24.3.11-wip';
+const packageVersion = '24.3.11';
diff --git a/dwds/pubspec.yaml b/dwds/pubspec.yaml
index cb57758..ae2f792 100644
--- a/dwds/pubspec.yaml
+++ b/dwds/pubspec.yaml
@@ -1,6 +1,6 @@
name: dwds
# Every time this changes you need to run `dart run build_runner build`.
-version: 24.3.11-wip
+version: 24.3.11
description: >-
A service that proxies between the Chrome debug protocol and the Dart VM
diff --git a/dwds/web/client.dart b/dwds/web/client.dart
index 5a549c7..16daa02 100644
--- a/dwds/web/client.dart
+++ b/dwds/web/client.dart
@@ -240,24 +240,19 @@
});
}
- if (_isChromium) {
- _trySendEvent(
- client.sink,
- jsonEncode(
- serializers.serialize(
- ConnectRequest(
- (b) =>
- b
- ..appId = dartAppId
- ..instanceId = dartAppInstanceId
- ..entrypointPath = dartEntrypointPath,
- ),
- ),
- ),
- );
+ if (dartModuleStrategy != 'ddc-library-bundle') {
+ if (_isChromium) {
+ _sendConnectRequest(client.sink);
+ } else {
+ // If not Chromium we just invoke main, devtools aren't supported.
+ runMain();
+ }
} else {
- // If not Chromium we just invoke main, devtools aren't supported.
- runMain();
+ _sendConnectRequest(client.sink);
+ // TODO(yjessy): Remove this when the DWDS WebSocket connection is implemented.
+ if (useDwdsWebSocketConnection) {
+ runMain();
+ }
}
_launchCommunicationWithDebugExtension();
},
@@ -292,6 +287,23 @@
}
}
+void _sendConnectRequest(StreamSink clientSink) {
+ _trySendEvent(
+ clientSink,
+ jsonEncode(
+ serializers.serialize(
+ ConnectRequest(
+ (b) =>
+ b
+ ..appId = dartAppId
+ ..instanceId = dartAppInstanceId
+ ..entrypointPath = dartEntrypointPath,
+ ),
+ ),
+ ),
+ );
+}
+
/// Returns [url] modified if necessary so that, if the current page is served
/// over `https`, then the URL is converted to `https`.
String _fixProtocol(String url) {
@@ -478,6 +490,10 @@
@JS(r'$dartEntrypointPath')
external String get dartEntrypointPath;
+// TODO(yjessy): Remove this when the DWDS WebSocket connection is implemented.
+@JS(r'$useDwdsWebSocketConnection')
+external bool get useDwdsWebSocketConnection;
+
@JS(r'$dwdsEnableDevToolsLaunch')
external bool get dwdsEnableDevToolsLaunch;