Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(5)

Unified Diff: src/site/samples/gauge/example/gauge.dart.js

Issue 59753006: Added dart:js samples landing pages. (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: Post lgtm tweaks Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « src/site/samples/gauge/example/gauge.html ('k') | src/site/samples/gauge/example/gauge.dart.js.deps » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/site/samples/gauge/example/gauge.dart.js
diff --git a/src/site/samples/gauge/example/gauge.dart.js b/src/site/samples/gauge/example/gauge.dart.js
index 42d8306c46dd40c904022b11fda8bf2fb49bfe44..9005ae1c22b8cb7557b08228c1a28332e1b41e4d 100644
--- a/src/site/samples/gauge/example/gauge.dart.js
+++ b/src/site/samples/gauge/example/gauge.dart.js
@@ -1,90 +1,139 @@
// Generated by dart2js, the Dart to JavaScript compiler.
-(function($){var A={}
-delete A.x
-var B={}
-delete B.x
-var C={}
-delete C.x
-var D={}
-delete D.x
-var E={}
-delete E.x
-var F={}
-delete F.x
-var G={}
-delete G.x
-var H={}
-delete H.x
-var J={}
-delete J.x
-var K={}
-delete K.x
-var L={}
-delete L.x
-var M={}
-delete M.x
-var N={}
-delete N.x
-var O={}
-delete O.x
-var P={}
-delete P.x
-var Q={}
-delete Q.x
-var R={}
-delete R.x
-var S={}
-delete S.x
-var T={}
-delete T.x
-var U={}
-delete U.x
-var V={}
-delete V.x
-var W={}
-delete W.x
-var X={}
-delete X.x
-var Y={}
-delete Y.x
-var Z={}
-delete Z.x
-function I(){}
-init()
-$=I.p
-var $$={}
-$$.YP=[H,{"":"v;wc,nn,lv,Pp",
-call$0:function(){return this.nn.call(this.wc,this.lv)}}]
-$$.Pm=[H,{"":"v;wc,nn,lv,Pp",
-call$1:function(a){return this.nn.call(this.wc,a)},
-$is_aB:true}]
-$$.C7=[P,{"":"v;wc,nn,lv,Pp",
-call$1:function(a){return this.nn.call(this.wc,this.lv,a)},
-call$0:function(){return this.call$1(null)},
-"+call:0:0":0,
-$is_aB:true}]
-$$.CQ=[P,{"":"v;wc,nn,lv,Pp",
-call$2:function(a,b){return this.nn.call(this.wc,a,b)},
-call$1:function(a){return this.call$2(a,null)},
-"+call:1:0":0,
-$is_bh:true,
-$is_aB:true}]
-$$.EV=[P,{"":"v;wc,nn,lv,Pp",
-call$0:function(){return this.nn.call(this.wc)}}]
-$$.eO=[P,{"":"v;wc,nn,lv,Pp",
-call$2:function(a,b){return this.nn.call(this.wc,a,b)},
-$is_bh:true}]
-$$.Wv=[H,{"":"Tp;call$2,$name",$is_bh:true}]
-$$.vE=[H,{"":"Tp;call$1,$name",$is_aB:true}]
-$$.yh=[H,{"":"Tp;call$0,$name"}]
-$$.Cm=[H,{"":"Tp;call$7,$name"}]
-$$.zy=[P,{"":"Tp;call$2,$name",
-call$1:function(a){return this.call$2(a,null)},
-"+call:1:0":0,
-$is_bh:true,
-$is_aB:true}]
-$$.kq=[P,{"":"Tp;call$4,$name"}]
-;(function (reflectionData) {
+// The code supports the following hooks:
+// dartPrint(message) - if this function is defined it is called
+// instead of the Dart [print] method.
+// dartMainRunner(main) - if this function is defined, the Dart [main]
+// method will not be invoked directly.
+// Instead, a closure that will invoke [main] is
+// passed to [dartMainRunner].
+(function($) {
+var A = {};
+delete A.x;
+var B = {};
+delete B.x;
+var C = {};
+delete C.x;
+var D = {};
+delete D.x;
+var E = {};
+delete E.x;
+var F = {};
+delete F.x;
+var G = {};
+delete G.x;
+var H = {};
+delete H.x;
+var J = {};
+delete J.x;
+var K = {};
+delete K.x;
+var L = {};
+delete L.x;
+var M = {};
+delete M.x;
+var N = {};
+delete N.x;
+var O = {};
+delete O.x;
+var P = {};
+delete P.x;
+var Q = {};
+delete Q.x;
+var R = {};
+delete R.x;
+var S = {};
+delete S.x;
+var T = {};
+delete T.x;
+var U = {};
+delete U.x;
+var V = {};
+delete V.x;
+var W = {};
+delete W.x;
+var X = {};
+delete X.x;
+var Y = {};
+delete Y.x;
+var Z = {};
+delete Z.x;
+function Isolate() {}
+init();
+
+$ = Isolate.$isolateProperties;
+var $$ = {};
+
+// Native classes
+// Method closures
+$$.BoundClosure$i0 = [H, {"": "BoundClosure;_self,__js_helper$_target,_receiver,__js_helper$_name",
+ call$0: function() {
+ return this.__js_helper$_target.call(this._self, this._receiver);
+ }
+}];
+
+$$.BoundClosure$1 = [H, {"": "BoundClosure;_self,__js_helper$_target,_receiver,__js_helper$_name",
+ call$1: function(p0) {
+ return this.__js_helper$_target.call(this._self, p0);
+ },
+ $is_args1: true
+}];
+
+$$.BoundClosure$i1 = [P, {"": "BoundClosure;_self,__js_helper$_target,_receiver,__js_helper$_name",
+ call$1: function(p0) {
+ return this.__js_helper$_target.call(this._self, this._receiver, p0);
+ },
+ call$0: function() {
+ return this.call$1(null);
+ },
+ "+call:0:0": 0,
+ $is_args1: true
+}];
+
+$$.BoundClosure$2 = [P, {"": "BoundClosure;_self,__js_helper$_target,_receiver,__js_helper$_name",
+ call$2: function(p0, p1) {
+ return this.__js_helper$_target.call(this._self, p0, p1);
+ },
+ call$1: function(p0) {
+ return this.call$2(p0, null);
+ },
+ "+call:1:0": 0,
+ $is_args2: true,
+ $is_args1: true
+}];
+
+$$.BoundClosure$0 = [P, {"": "BoundClosure;_self,__js_helper$_target,_receiver,__js_helper$_name",
+ call$0: function() {
+ return this.__js_helper$_target.call(this._self);
+ }
+}];
+
+$$.BoundClosure$20 = [P, {"": "BoundClosure;_self,__js_helper$_target,_receiver,__js_helper$_name",
+ call$2: function(p0, p1) {
+ return this.__js_helper$_target.call(this._self, p0, p1);
+ },
+ $is_args2: true
+}];
+
+$$.Closure$2 = [H, {"": "Closure;call$2,$name", $is_args2: true}];
+
+$$.Closure$1 = [H, {"": "Closure;call$1,$name", $is_args1: true}];
+
+$$.Closure$0 = [H, {"": "Closure;call$0,$name"}];
+
+$$.Closure$7 = [H, {"": "Closure;call$7,$name"}];
+
+$$.Closure$20 = [P, {"": "Closure;call$2,$name",
+ call$1: function(p0) {
+ return this.call$2(p0, null);
+ },
+ "+call:1:0": 0,
+ $is_args2: true,
+ $is_args1: true
+}];
+
+$$.Closure$4 = [P, {"": "Closure;call$4,$name"}];
+
+(function (reflectionData) {
function map(x){x={x:x};delete x.x;return x}
if (!init.libraries) init.libraries = [];
if (!init.mangledNames) init.mangledNames = map();
@@ -163,2949 +212,6808 @@ $$.kq=[P,{"":"Tp;call$4,$name"}]
}
}
}
- processStatics(descriptor);
- libraries.push([name, uri, classes, functions, metadata, fields, isRoot,
- globalObject]);
+ processStatics(descriptor);
+ libraries.push([name, uri, classes, functions, metadata, fields, isRoot,
+ globalObject]);
+ }
+})([
+["_foreign_helper", "dart:_foreign_helper", , H, {
+JS_CONST: {"": "Object;code"}}],
+["_interceptors", "dart:_interceptors", , J, {
+getInterceptor: function(object) {
+ return void 0;
+},
+
+makeDispatchRecord: function(interceptor, proto, extension, indexability) {
+ return {i: interceptor, p: proto, e: extension, x: indexability};
+},
+
+getNativeInterceptor: function(object) {
+ var record, proto, objectProto, interceptor;
+ record = object[init.dispatchPropertyName];
+ if (record == null)
+ if ($.initNativeDispatchFlag == null) {
+ H.initNativeDispatch();
+ record = object[init.dispatchPropertyName];
+ }
+ if (record != null) {
+ proto = record.p;
+ if (false === proto)
+ return record.i;
+ if (true === proto)
+ return object;
+ objectProto = Object.getPrototypeOf(object);
+ if (proto === objectProto)
+ return record.i;
+ if (record.e === objectProto)
+ throw H.wrapException(P.UnimplementedError$("Return interceptor for " + H.S(proto(object, record))));
+ }
+ interceptor = H.lookupAndCacheInterceptor(object);
+ if (interceptor == null)
+ return C.UnknownJavaScriptObject_methods;
+ return interceptor;
+},
+
+Interceptor: {"": "Object;",
+ $eq: function(receiver, other) {
+ return receiver === other;
+ },
+ get$hashCode: function(receiver) {
+ return H.Primitives_objectHashCode(receiver);
+ },
+ toString$0: function(receiver) {
+ return H.Primitives_objectToString(receiver);
+ },
+ noSuchMethod$1: function(receiver, invocation) {
+ throw H.wrapException(P.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments(), null));
+ },
+ "%": "DOMError|FileError|MediaError|MediaKeyError|Navigator|NavigatorUserMediaError|PositionError|SQLError|SVGAnimatedNumberList"
+},
+
+JSBool: {"": "bool/Interceptor;",
+ toString$0: function(receiver) {
+ return String(receiver);
+ },
+ get$hashCode: function(receiver) {
+ return receiver ? 519018 : 218159;
+ },
+ $isbool: true
+},
+
+JSNull: {"": "Interceptor;",
+ $eq: function(receiver, other) {
+ return null == other;
+ },
+ toString$0: function(receiver) {
+ return "null";
+ },
+ get$hashCode: function(receiver) {
+ return 0;
+ }
+},
+
+JavaScriptObject: {"": "Interceptor;",
+ get$hashCode: function(_) {
+ return 0;
+ }
+},
+
+PlainJavaScriptObject: {"": "JavaScriptObject;"},
+
+UnknownJavaScriptObject: {"": "JavaScriptObject;"},
+
+JSArray: {"": "List/Interceptor;",
+ add$1: function(receiver, value) {
+ if (!!receiver.fixed$length)
+ H.throwExpression(P.UnsupportedError$("add"));
+ receiver.push(value);
+ },
+ addAll$1: function(receiver, collection) {
+ var t1;
+ for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();)
+ this.add$1(receiver, t1.get$current());
+ },
+ forEach$1: function(receiver, f) {
+ return H.IterableMixinWorkaround_forEach(receiver, f);
+ },
+ map$1: function(receiver, f) {
+ var t1 = new H.MappedListIterable(receiver, f);
+ H.setRuntimeTypeInfo(t1, [null, null]);
+ return t1;
+ },
+ elementAt$1: function(receiver, index) {
+ if (index >>> 0 !== index || index >= receiver.length)
+ throw H.ioore(receiver, index);
+ return receiver[index];
+ },
+ toString$0: function(receiver) {
+ return H.IterableMixinWorkaround_toStringIterable(receiver, "[", "]");
+ },
+ get$iterator: function(receiver) {
+ return new H.ListIterator(receiver, receiver.length, 0, null);
+ },
+ get$hashCode: function(receiver) {
+ return H.Primitives_objectHashCode(receiver);
+ },
+ get$length: function(receiver) {
+ return receiver.length;
+ },
+ $index: function(receiver, index) {
+ if (typeof index !== "number" || Math.floor(index) !== index)
+ throw H.wrapException(new P.ArgumentError(index));
+ if (index >= receiver.length || index < 0)
+ throw H.wrapException(P.RangeError$value(index));
+ return receiver[index];
+ },
+ $indexSet: function(receiver, index, value) {
+ if (!!receiver.immutable$list)
+ H.throwExpression(P.UnsupportedError$("indexed set"));
+ if (typeof index !== "number" || Math.floor(index) !== index)
+ throw H.wrapException(new P.ArgumentError(index));
+ if (index >= receiver.length || index < 0)
+ throw H.wrapException(P.RangeError$value(index));
+ receiver[index] = value;
+ },
+ $isList: true,
+ $asList: null,
+ $asIterable: null,
+ $isList: true,
+ $isEfficientLength: true,
+ $isIterable: true
+},
+
+JSMutableArray: {"": "JSArray;", $isJSMutableArray: true,
+ $asJSArray: function() {
+ return [null];
+ },
+ $asList: function() {
+ return [null];
+ },
+ $asIterable: function() {
+ return [null];
+ }
+},
+
+JSFixedArray: {"": "JSMutableArray;"},
+
+JSExtendableArray: {"": "JSMutableArray;", $isJSExtendableArray: true},
+
+JSNumber: {"": "num/Interceptor;",
+ remainder$1: function(receiver, b) {
+ return receiver % b;
+ },
+ abs$0: function(receiver) {
+ return Math.abs(receiver);
+ },
+ toInt$0: function(receiver) {
+ var t1;
+ if (receiver >= -2147483648 && receiver <= 2147483647)
+ return receiver | 0;
+ if (isFinite(receiver)) {
+ t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver);
+ return t1 + 0;
+ }
+ throw H.wrapException(P.UnsupportedError$('' + receiver));
+ },
+ toString$0: function(receiver) {
+ if (receiver === 0 && 1 / receiver < 0)
+ return "-0.0";
+ else
+ return "" + receiver;
+ },
+ get$hashCode: function(receiver) {
+ return receiver & 0x1FFFFFFF;
+ },
+ $sub: function(receiver, other) {
+ return receiver - other;
+ },
+ $tdiv: function(receiver, other) {
+ if ((receiver | 0) === receiver && (other | 0) === other && 0 !== other && -1 !== other)
+ return receiver / other | 0;
+ else
+ return this._slowTdiv$1(receiver, other);
+ },
+ _slowTdiv$1: function(receiver, other) {
+ return this.toInt$0(receiver / other);
+ },
+ $shl: function(receiver, other) {
+ if (other < 0)
+ throw H.wrapException(new P.ArgumentError(other));
+ if (other > 31)
+ return 0;
+ return receiver << other >>> 0;
+ },
+ $shr: function(receiver, other) {
+ if (other < 0)
+ throw H.wrapException(new P.ArgumentError(other));
+ if (receiver > 0) {
+ if (other > 31)
+ return 0;
+ return receiver >>> other;
+ }
+ if (other > 31)
+ other = 31;
+ return receiver >> other >>> 0;
+ },
+ $lt: function(receiver, other) {
+ if (typeof other !== "number")
+ throw H.wrapException(P.ArgumentError$(other));
+ return receiver < other;
+ },
+ $gt: function(receiver, other) {
+ if (typeof other !== "number")
+ throw H.wrapException(P.ArgumentError$(other));
+ return receiver > other;
+ },
+ $ge: function(receiver, other) {
+ if (typeof other !== "number")
+ throw H.wrapException(new P.ArgumentError(other));
+ return receiver >= other;
+ },
+ $isnum: true,
+ static: {
+"": "JSNumber__MIN_INT32,JSNumber__MAX_INT32",
+}
+
+},
+
+JSInt: {"": "int/JSNumber;", $isnum: true, $isint: true},
+
+JSDouble: {"": "double/JSNumber;", $isnum: true},
+
+JSString: {"": "String/Interceptor;",
+ codeUnitAt$1: function(receiver, index) {
+ if (typeof index !== "number" || Math.floor(index) !== index)
+ throw H.wrapException(P.ArgumentError$(index));
+ if (index < 0)
+ throw H.wrapException(P.RangeError$value(index));
+ if (index >= receiver.length)
+ throw H.wrapException(P.RangeError$value(index));
+ return receiver.charCodeAt(index);
+ },
+ substring$2: function(receiver, startIndex, endIndex) {
+ var t1;
+ if (typeof startIndex !== "number" || Math.floor(startIndex) !== startIndex)
+ H.throwExpression(P.ArgumentError$(startIndex));
+ if (endIndex == null)
+ endIndex = receiver.length;
+ if (typeof endIndex !== "number" || Math.floor(endIndex) !== endIndex)
+ H.throwExpression(P.ArgumentError$(endIndex));
+ t1 = J.getInterceptor$n(startIndex);
+ if (t1.$lt(startIndex, 0))
+ throw H.wrapException(P.RangeError$value(startIndex));
+ if (t1.$gt(startIndex, endIndex))
+ throw H.wrapException(P.RangeError$value(startIndex));
+ if (J.$gt$n(endIndex, receiver.length))
+ throw H.wrapException(P.RangeError$value(endIndex));
+ return receiver.substring(startIndex, endIndex);
+ },
+ substring$1: function($receiver, startIndex) {
+ return this.substring$2($receiver, startIndex, null);
+ },
+ get$isEmpty: function(receiver) {
+ return receiver.length === 0;
+ },
+ toString$0: function(receiver) {
+ return receiver;
+ },
+ get$hashCode: function(receiver) {
+ var t1, hash, i;
+ for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
+ hash = 536870911 & hash + receiver.charCodeAt(i);
+ hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0);
+ hash ^= hash >> 6;
+ }
+ hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0);
+ hash ^= hash >> 11;
+ return 536870911 & hash + ((16383 & hash) << 15 >>> 0);
+ },
+ get$length: function(receiver) {
+ return receiver.length;
+ },
+ $index: function(receiver, index) {
+ if (typeof index !== "number" || Math.floor(index) !== index)
+ throw H.wrapException(new P.ArgumentError(index));
+ if (index >= receiver.length || index < 0)
+ throw H.wrapException(P.RangeError$value(index));
+ return receiver[index];
+ },
+ $isString: true
+}}],
+["_isolate_helper", "dart:_isolate_helper", , H, {
+_callInIsolate: function(isolate, $function) {
+ var result = isolate.eval$1($function);
+ $globalState.topEventLoop.run$0();
+ return result;
+},
+
+startRootIsolate: function(entry) {
+ var rootContext;
+ $globalState = H._Manager$(entry);
+ if ($globalState.isWorker === true)
+ return;
+ rootContext = H._IsolateContext$();
+ $globalState.rootContext = rootContext;
+ $globalState.currentContext = rootContext;
+ if (!!entry.$is_args1)
+ rootContext.eval$1(new H.startRootIsolate_closure(entry));
+ else if (!!entry.$is_args2)
+ rootContext.eval$1(new H.startRootIsolate_closure0(entry));
+ else
+ rootContext.eval$1(entry);
+ $globalState.topEventLoop.run$0();
+},
+
+IsolateNatives_computeThisScript: function() {
+ var currentScript = init.currentScript;
+ if (currentScript != null)
+ return String(currentScript.src);
+ if (typeof version == "function" && typeof os == "object" && "system" in os)
+ return H.IsolateNatives_computeThisScriptD8();
+ if (typeof version == "function" && typeof system == "function")
+ return thisFilename();
+ return;
+},
+
+IsolateNatives_computeThisScriptD8: function() {
+ var stack, matches;
+ stack = new Error().stack;
+ if (stack == null) {
+ stack = (function() {try { throw new Error() } catch(e) { return e.stack }})();
+ if (stack == null)
+ throw H.wrapException(P.UnsupportedError$("No stack trace"));
+ }
+ matches = stack.match(new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "m"));
+ if (matches != null)
+ return matches[1];
+ matches = stack.match(new RegExp("^[^@]*@(.*):[0-9]*$", "m"));
+ if (matches != null)
+ return matches[1];
+ throw H.wrapException(P.UnsupportedError$("Cannot extract URI from \"" + stack + "\""));
+},
+
+IsolateNatives__processWorkerMessage: function(sender, e) {
+ var msg, t1, functionName, entryPoint, args, message, isSpawnUri, replyTo, context, t2;
+ msg = H._deserializeMessage(e.data);
+ t1 = J.getInterceptor$asx(msg);
+ switch (t1.$index(msg, "command")) {
+ case "start":
+ $globalState.currentManagerId = t1.$index(msg, "id");
+ functionName = t1.$index(msg, "functionName");
+ entryPoint = functionName == null ? $globalState.entry : init.globalFunctions[functionName];
+ args = t1.$index(msg, "args");
+ message = H._deserializeMessage(t1.$index(msg, "msg"));
+ isSpawnUri = t1.$index(msg, "isSpawnUri");
+ replyTo = H._deserializeMessage(t1.$index(msg, "replyTo"));
+ context = H._IsolateContext$();
+ $globalState.topEventLoop.events._add$1(new H._IsolateEvent(context, new H.IsolateNatives__processWorkerMessage_closure(entryPoint, args, message, isSpawnUri, replyTo), "worker-start"));
+ $globalState.currentContext = context;
+ $globalState.topEventLoop.run$0();
+ break;
+ case "spawn-worker":
+ H.IsolateNatives__spawnWorker(t1.$index(msg, "functionName"), t1.$index(msg, "uri"), t1.$index(msg, "args"), t1.$index(msg, "msg"), t1.$index(msg, "isSpawnUri"), t1.$index(msg, "replyPort"));
+ break;
+ case "message":
+ if (t1.$index(msg, "port") != null)
+ t1.$index(msg, "port").send$1(t1.$index(msg, "msg"));
+ $globalState.topEventLoop.run$0();
+ break;
+ case "close":
+ t1 = $globalState.managers;
+ t2 = $.get$IsolateNatives_workerIds();
+ t1.remove$1(t1, t2.$index(t2, sender));
+ sender.terminate();
+ $globalState.topEventLoop.run$0();
+ break;
+ case "log":
+ H.IsolateNatives__log(t1.$index(msg, "msg"));
+ break;
+ case "print":
+ if ($globalState.isWorker === true) {
+ t1 = $globalState.mainManager;
+ t2 = H._serializeMessage(H.fillLiteralMap(["command", "print", "msg", msg], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)));
+ t1.toString;
+ self.postMessage(t2);
+ } else
+ P.print(t1.$index(msg, "msg"));
+ break;
+ case "error":
+ throw H.wrapException(t1.$index(msg, "msg"));
+ default:
+ }
+},
+
+IsolateNatives__log: function(msg) {
+ var trace, t1, t2, exception;
+ if ($globalState.isWorker === true) {
+ t1 = $globalState.mainManager;
+ t2 = H._serializeMessage(H.fillLiteralMap(["command", "log", "msg", msg], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)));
+ t1.toString;
+ self.postMessage(t2);
+ } else
+ try {
+ $.get$globalThis().console.log(msg);
+ } catch (exception) {
+ H.unwrapException(exception);
+ trace = new H._StackTrace(exception, null);
+ throw H.wrapException(P.Exception_Exception(trace));
+ }
+
+},
+
+IsolateNatives__startIsolate: function(topLevel, args, message, isSpawnUri, replyTo) {
+ var t1;
+ H.Primitives_initializeStatics($globalState.currentContext.id);
+ $.lazyPort = H.ReceivePortImpl$();
+ t1 = $.lazyPort;
+ t1.toString;
+ replyTo.send$1(["spawned", new H._NativeJsSendPort(t1, $globalState.currentContext.id)]);
+ if (isSpawnUri !== true)
+ topLevel.call$1(message);
+ else {
+ t1 = J.getInterceptor(topLevel);
+ if (!!t1.$is_args2)
+ topLevel.call$2(args, message);
+ else if (!!t1.$is_args1)
+ topLevel.call$1(args);
+ else
+ topLevel.call$0();
+ }
+},
+
+IsolateNatives__spawnWorker: function(functionName, uri, args, message, isSpawnUri, replyPort) {
+ var worker, t1, workerId;
+ if (uri == null)
+ uri = $.get$IsolateNatives_thisScript();
+ worker = new Worker(uri);
+ worker.onmessage = function(e) { H.IsolateNatives__processWorkerMessage$closure.call$2(worker, e); };
+ t1 = $globalState;
+ workerId = t1.nextManagerId;
+ t1.nextManagerId = workerId + 1;
+ t1 = $.get$IsolateNatives_workerIds();
+ t1.$indexSet(t1, worker, workerId);
+ t1 = $globalState.managers;
+ t1.$indexSet(t1, workerId, worker);
+ worker.postMessage(H._serializeMessage(H.fillLiteralMap(["command", "start", "id", workerId, "replyTo", H._serializeMessage(replyPort), "args", args, "msg", H._serializeMessage(message), "isSpawnUri", isSpawnUri, "functionName", functionName], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null))));
+},
+
+_waitForPendingPorts: function(message, callback) {
+ var finder = H._PendingSendPortFinder$();
+ finder.traverse$1(message);
+ P.Future_wait(finder.ports).then$1(new H._waitForPendingPorts_closure(callback));
+},
+
+_serializeMessage: function(message) {
+ var t1;
+ if ($globalState.supportsWorkers === true) {
+ t1 = new H._JsSerializer(0, new H._MessageTraverserVisitedMap());
+ t1._visited = new H._JsVisitedMap(null);
+ return t1.traverse$1(message);
+ } else {
+ t1 = new H._JsCopier(new H._MessageTraverserVisitedMap());
+ t1._visited = new H._JsVisitedMap(null);
+ return t1.traverse$1(message);
+ }
+},
+
+_deserializeMessage: function(message) {
+ if ($globalState.supportsWorkers === true)
+ return new H._JsDeserializer(null).deserialize$1(message);
+ else
+ return message;
+},
+
+_MessageTraverser_isPrimitive: function(x) {
+ return x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean";
+},
+
+_Deserializer_isPrimitive: function(x) {
+ return x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean";
+},
+
+startRootIsolate_closure: {"": "Closure;entry_0",
+ call$0: function() {
+ this.entry_0.call$1([]);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+startRootIsolate_closure0: {"": "Closure;entry_1",
+ call$0: function() {
+ this.entry_1.call$2([], null);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_Manager: {"": "Object;nextIsolateId,currentManagerId,nextManagerId,currentContext,rootContext,topEventLoop,fromCommandLine,isWorker,supportsWorkers,isolates,mainManager,managers,entry",
+ _nativeDetectEnvironment$0: function() {
+ var t1, t2;
+ t1 = $.get$globalWindow() == null;
+ t2 = $.get$globalWorker();
+ this.isWorker = t1 && $.get$globalPostMessageDefined() === true;
+ if (this.isWorker !== true)
+ t2 = t2 != null && $.get$IsolateNatives_thisScript() != null;
+ else
+ t2 = true;
+ this.supportsWorkers = t2;
+ this.fromCommandLine = t1 && this.isWorker !== true;
+ },
+ _nativeInitWorkerMessageHandler$0: function() {
+ var $function = function (e) { H.IsolateNatives__processWorkerMessage$closure.call$2(this.mainManager, e); };
+ $.get$globalThis().onmessage = $function;
+ $.get$globalThis().dartPrint = function (object) {};
+ },
+ _Manager$1: function(entry) {
+ this._nativeDetectEnvironment$0();
+ this.topEventLoop = new H._EventLoop(P.ListQueue$(null, H._IsolateEvent), 0);
+ this.isolates = P.LinkedHashMap_LinkedHashMap(null, null, null, J.JSInt, H._IsolateContext);
+ this.managers = P.LinkedHashMap_LinkedHashMap(null, null, null, J.JSInt, null);
+ if (this.isWorker === true) {
+ this.mainManager = new H._MainManagerStub();
+ this._nativeInitWorkerMessageHandler$0();
+ }
+ },
+ static: {
+_Manager$: function(entry) {
+ var t1 = new H._Manager(0, 0, 1, null, null, null, null, null, null, null, null, null, entry);
+ t1._Manager$1(entry);
+ return t1;
+}}
+
+},
+
+_IsolateContext: {"": "Object;id,ports,isolateStatics<",
+ eval$1: function(code) {
+ var old, result;
+ old = $globalState.currentContext;
+ $globalState.currentContext = this;
+ $ = this.isolateStatics;
+ result = null;
+ try {
+ result = code.call$0();
+ } finally {
+ $globalState.currentContext = old;
+ if (old != null)
+ $ = old.get$isolateStatics();
+ }
+ return result;
+ },
+ lookup$1: function(portId) {
+ var t1 = this.ports;
+ return t1.$index(t1, portId);
+ },
+ register$2: function(_, portId, port) {
+ var t1;
+ if (this.ports.containsKey$1(portId))
+ throw H.wrapException(P.Exception_Exception("Registry: ports must be registered only once."));
+ t1 = this.ports;
+ t1.$indexSet(t1, portId, port);
+ t1 = $globalState.isolates;
+ t1.$indexSet(t1, this.id, this);
+ },
+ unregister$1: function(portId) {
+ var t1 = this.ports;
+ t1.remove$1(t1, portId);
+ if (this.ports._collection$_length === 0) {
+ t1 = $globalState.isolates;
+ t1.remove$1(t1, this.id);
+ }
+ },
+ _IsolateContext$0: function() {
+ var t1, t2;
+ t1 = $globalState;
+ t2 = t1.nextIsolateId;
+ t1.nextIsolateId = t2 + 1;
+ this.id = t2;
+ this.ports = P.LinkedHashMap_LinkedHashMap(null, null, null, J.JSInt, P.ReceivePort);
+ this.isolateStatics = new Isolate();
+ },
+ static: {
+_IsolateContext$: function() {
+ var t1 = new H._IsolateContext(null, null, null);
+ t1._IsolateContext$0();
+ return t1;
+}}
+
+},
+
+_EventLoop: {"": "Object;events,activeTimerCount",
+ dequeue$0: function() {
+ var t1 = this.events;
+ if (t1._head === t1._tail)
+ return;
+ return t1.removeFirst$0();
+ },
+ checkOpenReceivePortsFromCommandLine$0: function() {
+ if ($globalState.rootContext != null && $globalState.isolates.containsKey$1($globalState.rootContext.id) && $globalState.fromCommandLine === true && $globalState.rootContext.ports._collection$_length === 0)
+ throw H.wrapException(P.Exception_Exception("Program exited with open ReceivePorts."));
+ },
+ runIteration$0: function() {
+ var $event, t1, t2;
+ $event = this.dequeue$0();
+ if ($event == null) {
+ this.checkOpenReceivePortsFromCommandLine$0();
+ t1 = $globalState;
+ if (t1.isWorker === true && t1.isolates._collection$_length === 0 && t1.topEventLoop.activeTimerCount === 0) {
+ t1 = t1.mainManager;
+ t2 = H._serializeMessage(H.fillLiteralMap(["command", "close"], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)));
+ t1.toString;
+ self.postMessage(t2);
+ }
+ return false;
+ }
+ $event.process$0();
+ return true;
+ },
+ _runHelper$0: function() {
+ if ($.get$globalWindow() != null)
+ new H._EventLoop__runHelper_next(this).call$0();
+ else
+ for (; this.runIteration$0();)
+ ;
+ },
+ run$0: function() {
+ var e, trace, exception, t1, t2;
+ if ($globalState.isWorker !== true)
+ this._runHelper$0();
+ else
+ try {
+ this._runHelper$0();
+ } catch (exception) {
+ t1 = H.unwrapException(exception);
+ e = t1;
+ trace = new H._StackTrace(exception, null);
+ t1 = $globalState.mainManager;
+ t2 = H._serializeMessage(H.fillLiteralMap(["command", "error", "msg", H.S(e) + "\n" + H.S(trace)], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)));
+ t1.toString;
+ self.postMessage(t2);
+ }
+
+ }
+},
+
+_EventLoop__runHelper_next: {"": "Closure;this_0",
+ call$0: function() {
+ if (!this.this_0.runIteration$0())
+ return;
+ P.Timer_Timer(C.Duration_0, this);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_IsolateEvent: {"": "Object;isolate,fn,message",
+ process$0: function() {
+ this.isolate.eval$1(this.fn);
+ }
+},
+
+_MainManagerStub: {"": "Object;"},
+
+IsolateNatives__processWorkerMessage_closure: {"": "Closure;entryPoint_0,args_1,message_2,isSpawnUri_3,replyTo_4",
+ call$0: function() {
+ H.IsolateNatives__startIsolate(this.entryPoint_0, this.args_1, this.message_2, this.isSpawnUri_3, this.replyTo_4);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_BaseSendPort: {"": "Object;", $isSendPort: true},
+
+_NativeJsSendPort: {"": "_BaseSendPort;_receivePort,_isolateId",
+ send$1: function(message) {
+ H._waitForPendingPorts(message, new H._NativeJsSendPort_send_closure(this, message));
+ },
+ $eq: function(_, other) {
+ var t1;
+ if (other == null)
+ return false;
+ t1 = J.getInterceptor(other);
+ return typeof other === "object" && other !== null && !!t1.$is_NativeJsSendPort && J.$eq(this._receivePort, other._receivePort);
+ },
+ get$hashCode: function(_) {
+ return this._receivePort.get$_id();
+ },
+ $is_NativeJsSendPort: true,
+ $isSendPort: true
+},
+
+_NativeJsSendPort_send_closure: {"": "Closure;this_1,message_2",
+ call$0: function() {
+ var t1, t2, t3, t4, isolate, shouldSerialize, msg;
+ t1 = {};
+ t2 = $globalState.isolates;
+ t3 = this.this_1;
+ t4 = t3._isolateId;
+ isolate = t2.$index(t2, t4);
+ if (isolate == null)
+ return;
+ if ((t3._receivePort.get$_controller()._state & 4) !== 0)
+ return;
+ shouldSerialize = $globalState.currentContext != null && $globalState.currentContext.id !== t4;
+ msg = this.message_2;
+ t1.msg_0 = msg;
+ if (shouldSerialize)
+ t1.msg_0 = H._serializeMessage(t1.msg_0);
+ t2 = $globalState.topEventLoop;
+ t4 = "receive " + H.S(msg);
+ t2.events._add$1(new H._IsolateEvent(isolate, new H._NativeJsSendPort_send__closure(t1, t3, shouldSerialize), t4));
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_NativeJsSendPort_send__closure: {"": "Closure;box_0,this_3,shouldSerialize_4",
+ call$0: function() {
+ var t1, t2;
+ t1 = this.this_3._receivePort;
+ if ((t1.get$_controller()._state & 4) === 0) {
+ if (this.shouldSerialize_4) {
+ t2 = this.box_0;
+ t2.msg_0 = H._deserializeMessage(t2.msg_0);
+ }
+ t1 = t1.get$_controller();
+ t2 = this.box_0.msg_0;
+ if (t1._state >= 4)
+ H.throwExpression(t1._badEventState$0());
+ t1._async$_add$1(t2);
+ }
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_WorkerSendPort: {"": "_BaseSendPort;_workerId,_receivePortId,_isolateId",
+ send$1: function(message) {
+ H._waitForPendingPorts(message, new H._WorkerSendPort_send_closure(this, message));
+ },
+ $eq: function(_, other) {
+ var t1;
+ if (other == null)
+ return false;
+ t1 = J.getInterceptor(other);
+ return typeof other === "object" && other !== null && !!t1.$is_WorkerSendPort && J.$eq(this._workerId, other._workerId) && J.$eq(this._isolateId, other._isolateId) && J.$eq(this._receivePortId, other._receivePortId);
+ },
+ get$hashCode: function(_) {
+ var t1, t2, t3;
+ t1 = J.$shl$n(this._workerId, 16);
+ t2 = J.$shl$n(this._isolateId, 8);
+ t3 = this._receivePortId;
+ if (typeof t3 !== "number")
+ throw H.iae(t3);
+ return (t1 ^ t2 ^ t3) >>> 0;
+ },
+ $is_WorkerSendPort: true,
+ $isSendPort: true
+},
+
+_WorkerSendPort_send_closure: {"": "Closure;this_0,message_1",
+ call$0: function() {
+ var t1, workerMessage, t2, manager;
+ t1 = this.this_0;
+ workerMessage = H._serializeMessage(H.fillLiteralMap(["command", "message", "port", t1, "msg", this.message_1], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)));
+ if ($globalState.isWorker === true) {
+ $globalState.mainManager.toString;
+ self.postMessage(workerMessage);
+ } else {
+ t2 = $globalState.managers;
+ manager = t2.$index(t2, t1._workerId);
+ if (manager != null)
+ manager.postMessage(workerMessage);
+ }
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+ReceivePortImpl: {"": "Stream;_id<,_controller<",
+ listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) {
+ var t1 = this._controller;
+ t1.toString;
+ t1 = new P._ControllerStream(t1);
+ H.setRuntimeTypeInfo(t1, [null]);
+ return t1.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError);
+ },
+ listen$3$onDone$onError: function(onData, onDone, onError) {
+ return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError);
+ },
+ close$0: function(_) {
+ var t1 = this._controller;
+ if ((t1._state & 4) !== 0)
+ return;
+ t1.close$0(t1);
+ $globalState.currentContext.unregister$1(this._id);
+ },
+ get$close: function(_receiver) {
+ return new H.BoundClosure$i0(this, H.ReceivePortImpl.prototype.close$0, _receiver, "close$0");
+ },
+ ReceivePortImpl$0: function() {
+ this._controller = P.StreamController_StreamController(this.get$close(this), null, null, null, true, null);
+ var t1 = $globalState.currentContext;
+ t1.register$2(t1, this._id, this);
+ },
+ static: {
+"": "ReceivePortImpl__nextFreeId",
+ReceivePortImpl$: function() {
+ var t1 = $.ReceivePortImpl__nextFreeId;
+ $.ReceivePortImpl__nextFreeId = t1 + 1;
+ t1 = new H.ReceivePortImpl(t1, null);
+ t1.ReceivePortImpl$0();
+ return t1;
+}}
+
+},
+
+_waitForPendingPorts_closure: {"": "Closure;callback_0",
+ call$1: function(_) {
+ return this.callback_0.call$0();
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+_PendingSendPortFinder: {"": "_MessageTraverser;ports,_visited",
+ visitPrimitive$1: function(x) {
+ },
+ visitList$1: function(list) {
+ var t1 = this._visited;
+ if (t1.$index(t1, list) != null)
+ return;
+ t1 = this._visited;
+ t1.$indexSet(t1, list, true);
+ J.forEach$1$ax(list, this.get$_dispatch());
+ },
+ visitMap$1: function(map) {
+ var t1 = this._visited;
+ if (t1.$index(t1, map) != null)
+ return;
+ t1 = this._visited;
+ t1.$indexSet(t1, map, true);
+ t1 = map.get$values(map);
+ t1.forEach$1(t1, this.get$_dispatch());
+ },
+ visitSendPort$1: function(port) {
+ },
+ _PendingSendPortFinder$0: function() {
+ this._visited = new H._JsVisitedMap(null);
+ },
+ static: {
+_PendingSendPortFinder$: function() {
+ var t1 = new H._PendingSendPortFinder([], new H._MessageTraverserVisitedMap());
+ t1._PendingSendPortFinder$0();
+ return t1;
+}}
+
+},
+
+_JsSerializer: {"": "_Serializer;_nextFreeRefId,_visited",
+ visitSendPort$1: function(x) {
+ if (!!x.$is_NativeJsSendPort)
+ return ["sendport", $globalState.currentManagerId, x._isolateId, x._receivePort.get$_id()];
+ if (!!x.$is_WorkerSendPort)
+ return ["sendport", x._workerId, x._isolateId, x._receivePortId];
+ throw H.wrapException("Illegal underlying port " + H.S(x));
+ }
+},
+
+_JsCopier: {"": "_Copier;_visited",
+ visitSendPort$1: function(x) {
+ if (!!x.$is_NativeJsSendPort)
+ return new H._NativeJsSendPort(x._receivePort, x._isolateId);
+ if (!!x.$is_WorkerSendPort)
+ return new H._WorkerSendPort(x._workerId, x._receivePortId, x._isolateId);
+ throw H.wrapException("Illegal underlying port " + H.S(x));
+ }
+},
+
+_JsDeserializer: {"": "_Deserializer;_deserialized",
+ deserializeSendPort$1: function(list) {
+ var t1, managerId, isolateId, receivePortId, isolate, receivePort;
+ t1 = J.getInterceptor$asx(list);
+ managerId = t1.$index(list, 1);
+ isolateId = t1.$index(list, 2);
+ receivePortId = t1.$index(list, 3);
+ if (J.$eq(managerId, $globalState.currentManagerId)) {
+ t1 = $globalState.isolates;
+ isolate = t1.$index(t1, isolateId);
+ if (isolate == null)
+ return;
+ receivePort = isolate.lookup$1(receivePortId);
+ if (receivePort == null)
+ return;
+ return new H._NativeJsSendPort(receivePort, isolateId);
+ } else
+ return new H._WorkerSendPort(managerId, receivePortId, isolateId);
+ }
+},
+
+_JsVisitedMap: {"": "Object;tagged",
+ $index: function(_, object) {
+ return object.__MessageTraverser__attached_info__;
+ },
+ $indexSet: function(_, object, info) {
+ this.tagged.push(object);
+ object.__MessageTraverser__attached_info__ = info;
+ },
+ reset$0: function(_) {
+ this.tagged = P.List_List(null, null);
+ },
+ cleanup$0: function() {
+ var $length, i, t1;
+ for ($length = this.tagged.length, i = 0; i < $length; ++i) {
+ t1 = this.tagged;
+ if (i >= t1.length)
+ throw H.ioore(t1, i);
+ t1[i].__MessageTraverser__attached_info__ = null;
+ }
+ this.tagged = null;
+ }
+},
+
+_MessageTraverserVisitedMap: {"": "Object;",
+ $index: function(_, object) {
+ return;
+ },
+ $indexSet: function(_, object, info) {
+ },
+ reset$0: function(_) {
+ },
+ cleanup$0: function() {
+ }
+},
+
+_MessageTraverser: {"": "Object;",
+ traverse$1: function(x) {
+ var result, t1;
+ if (H._MessageTraverser_isPrimitive(x))
+ return this.visitPrimitive$1(x);
+ t1 = this._visited;
+ t1.reset$0(t1);
+ result = null;
+ try {
+ result = this._dispatch$1(x);
+ } finally {
+ this._visited.cleanup$0();
+ }
+ return result;
+ },
+ _dispatch$1: function(x) {
+ var t1;
+ if (x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean")
+ return this.visitPrimitive$1(x);
+ t1 = J.getInterceptor(x);
+ if (typeof x === "object" && x !== null && (x.constructor === Array || !!t1.$isList))
+ return this.visitList$1(x);
+ if (typeof x === "object" && x !== null && !!t1.$isMap)
+ return this.visitMap$1(x);
+ if (typeof x === "object" && x !== null && !!t1.$isSendPort)
+ return this.visitSendPort$1(x);
+ return this.visitObject$1(x);
+ },
+ get$_dispatch: function() {
+ return new H.BoundClosure$1(this, H._MessageTraverser.prototype._dispatch$1, null, "_dispatch$1");
+ },
+ visitObject$1: function(x) {
+ throw H.wrapException("Message serialization: Illegal value " + H.S(x) + " passed");
+ }
+},
+
+_Copier: {"": "_MessageTraverser;",
+ visitPrimitive$1: function(x) {
+ return x;
+ },
+ visitList$1: function(list) {
+ var t1, copy, len, t2, i, t3;
+ t1 = this._visited;
+ copy = t1.$index(t1, list);
+ if (copy != null)
+ return copy;
+ t1 = J.getInterceptor$asx(list);
+ len = t1.get$length(list);
+ copy = P.List_List(len, null);
+ t2 = this._visited;
+ t2.$indexSet(t2, list, copy);
+ if (typeof len !== "number")
+ throw H.iae(len);
+ t2 = copy.length;
+ i = 0;
+ for (; i < len; ++i) {
+ t3 = this._dispatch$1(t1.$index(list, i));
+ if (i >= t2)
+ throw H.ioore(copy, i);
+ copy[i] = t3;
+ }
+ return copy;
+ },
+ visitMap$1: function(map) {
+ var t1, t2;
+ t1 = {};
+ t2 = this._visited;
+ t1.copy_0 = t2.$index(t2, map);
+ t2 = t1.copy_0;
+ if (t2 != null)
+ return t2;
+ t1.copy_0 = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null);
+ t2 = this._visited;
+ t2.$indexSet(t2, map, t1.copy_0);
+ map.forEach$1(map, new H._Copier_visitMap_closure(t1, this));
+ return t1.copy_0;
+ }
+},
+
+_Copier_visitMap_closure: {"": "Closure;box_0,this_1",
+ call$2: function(key, val) {
+ var t1 = this.this_1;
+ J.$indexSet$ax(this.box_0.copy_0, t1._dispatch$1(key), t1._dispatch$1(val));
+ },
+ "+call:2:0": 0,
+ $isFunction: true,
+ $is_args2: true
+},
+
+_Serializer: {"": "_MessageTraverser;",
+ visitPrimitive$1: function(x) {
+ return x;
+ },
+ visitList$1: function(list) {
+ var t1, copyId, id;
+ t1 = this._visited;
+ copyId = t1.$index(t1, list);
+ if (copyId != null)
+ return ["ref", copyId];
+ id = this._nextFreeRefId;
+ this._nextFreeRefId = id + 1;
+ t1 = this._visited;
+ t1.$indexSet(t1, list, id);
+ return ["list", id, this._serializeList$1(list)];
+ },
+ visitMap$1: function(map) {
+ var t1, copyId, id, keys;
+ t1 = this._visited;
+ copyId = t1.$index(t1, map);
+ if (copyId != null)
+ return ["ref", copyId];
+ id = this._nextFreeRefId;
+ this._nextFreeRefId = id + 1;
+ t1 = this._visited;
+ t1.$indexSet(t1, map, id);
+ t1 = map.get$keys();
+ keys = this._serializeList$1(P.List_List$from(t1, true, H.getRuntimeTypeArgument(t1, "IterableBase", 0)));
+ t1 = map.get$values(map);
+ return ["map", id, keys, this._serializeList$1(P.List_List$from(t1, true, H.getRuntimeTypeArgument(t1, "IterableBase", 0)))];
+ },
+ _serializeList$1: function(list) {
+ var t1, len, result, t2, i, t3;
+ t1 = J.getInterceptor$asx(list);
+ len = t1.get$length(list);
+ result = P.List_List(len, null);
+ if (typeof len !== "number")
+ throw H.iae(len);
+ t2 = result.length;
+ i = 0;
+ for (; i < len; ++i) {
+ t3 = this._dispatch$1(t1.$index(list, i));
+ if (i >= t2)
+ throw H.ioore(result, i);
+ result[i] = t3;
+ }
+ return result;
+ }
+},
+
+_Deserializer: {"": "Object;",
+ deserialize$1: function(x) {
+ if (H._Deserializer_isPrimitive(x))
+ return x;
+ this._deserialized = P.HashMap_HashMap(null, null, null, null, null);
+ return this._deserializeHelper$1(x);
+ },
+ _deserializeHelper$1: function(x) {
+ var t1, id;
+ if (x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean")
+ return x;
+ t1 = J.getInterceptor$asx(x);
+ switch (t1.$index(x, 0)) {
+ case "ref":
+ id = t1.$index(x, 1);
+ t1 = this._deserialized;
+ return t1.$index(t1, id);
+ case "list":
+ return this._deserializeList$1(x);
+ case "map":
+ return this._deserializeMap$1(x);
+ case "sendport":
+ return this.deserializeSendPort$1(x);
+ default:
+ return this.deserializeObject$1(x);
+ }
+ },
+ _deserializeList$1: function(x) {
+ var t1, id, dartList, len, i;
+ t1 = J.getInterceptor$asx(x);
+ id = t1.$index(x, 1);
+ dartList = t1.$index(x, 2);
+ t1 = this._deserialized;
+ t1.$indexSet(t1, id, dartList);
+ t1 = J.getInterceptor$asx(dartList);
+ len = t1.get$length(dartList);
+ if (typeof len !== "number")
+ throw H.iae(len);
+ i = 0;
+ for (; i < len; ++i)
+ t1.$indexSet(dartList, i, this._deserializeHelper$1(t1.$index(dartList, i)));
+ return dartList;
+ },
+ _deserializeMap$1: function(x) {
+ var result, t1, id, t2, keys, values, len, i;
+ result = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null);
+ t1 = J.getInterceptor$asx(x);
+ id = t1.$index(x, 1);
+ t2 = this._deserialized;
+ t2.$indexSet(t2, id, result);
+ keys = t1.$index(x, 2);
+ values = t1.$index(x, 3);
+ t1 = J.getInterceptor$asx(keys);
+ len = t1.get$length(keys);
+ if (typeof len !== "number")
+ throw H.iae(len);
+ t2 = J.getInterceptor$asx(values);
+ i = 0;
+ for (; i < len; ++i)
+ result.$indexSet(result, this._deserializeHelper$1(t1.$index(keys, i)), this._deserializeHelper$1(t2.$index(values, i)));
+ return result;
+ },
+ deserializeObject$1: function(x) {
+ throw H.wrapException("Unexpected serialized object");
+ }
+},
+
+TimerImpl: {"": "Object;_once,_inEventLoop,_handle",
+ TimerImpl$2: function(milliseconds, callback) {
+ var t1, t2;
+ if (milliseconds === 0)
+ t1 = $.get$globalThis().setTimeout == null || $globalState.isWorker === true;
+ else
+ t1 = false;
+ if (t1) {
+ this._handle = 1;
+ t1 = $globalState.topEventLoop;
+ t2 = $globalState.currentContext;
+ t1.events._add$1(new H._IsolateEvent(t2, new H.TimerImpl_internalCallback(this, callback), "timer"));
+ this._inEventLoop = true;
+ } else if ($.get$globalThis().setTimeout != null) {
+ t1 = $globalState.topEventLoop;
+ t1.activeTimerCount = t1.activeTimerCount + 1;
+ this._handle = $.get$globalThis().setTimeout(H.convertDartClosureToJS(new H.TimerImpl_internalCallback0(this, callback), 0), milliseconds);
+ } else
+ throw H.wrapException(P.UnsupportedError$("Timer greater than 0."));
+ },
+ static: {
+TimerImpl$: function(milliseconds, callback) {
+ var t1 = new H.TimerImpl(true, false, null);
+ t1.TimerImpl$2(milliseconds, callback);
+ return t1;
+}}
+
+},
+
+TimerImpl_internalCallback: {"": "Closure;this_0,callback_1",
+ call$0: function() {
+ this.this_0._handle = null;
+ this.callback_1.call$0();
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+TimerImpl_internalCallback0: {"": "Closure;this_2,callback_3",
+ call$0: function() {
+ this.this_2._handle = null;
+ var t1 = $globalState.topEventLoop;
+ t1.activeTimerCount = t1.activeTimerCount - 1;
+ this.callback_3.call$0();
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+}}],
+["_js_helper", "dart:_js_helper", , H, {
+isJsIndexable: function(object, record) {
+ var result, t1;
+ if (record != null) {
+ result = record.x;
+ if (result != null)
+ return result;
+ }
+ t1 = J.getInterceptor(object);
+ return typeof object === "object" && object !== null && !!t1.$isJavaScriptIndexingBehavior;
+},
+
+S: function(value) {
+ var res;
+ if (typeof value === "string")
+ return value;
+ if (typeof value === "number") {
+ if (value !== 0)
+ return "" + value;
+ } else if (true === value)
+ return "true";
+ else if (false === value)
+ return "false";
+ else if (value == null)
+ return "null";
+ res = J.toString$0(value);
+ if (typeof res !== "string")
+ throw H.wrapException(P.ArgumentError$(value));
+ return res;
+},
+
+Primitives_initializeStatics: function(id) {
+ $.Primitives_mirrorFunctionCacheName = $.Primitives_mirrorFunctionCacheName + ("_" + H.S(id));
+ $.Primitives_mirrorInvokeCacheName = $.Primitives_mirrorInvokeCacheName + ("_" + H.S(id));
+},
+
+Primitives_objectHashCode: function(object) {
+ var hash = object.$identityHash;
+ if (hash == null) {
+ hash = Math.random() * 0x3fffffff | 0;
+ object.$identityHash = hash;
+ }
+ return hash;
+},
+
+Primitives__throwFormatException: function(string) {
+ throw H.wrapException(P.FormatException$(string));
+},
+
+Primitives_parseInt: function(source, radix, handleError) {
+ var match, t1;
+ handleError = H.Primitives__throwFormatException$closure;
+ if (typeof source !== "string")
+ H.throwExpression(new P.ArgumentError(source));
+ match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source);
+ if (match != null) {
+ t1 = match.length;
+ if (2 >= t1)
+ throw H.ioore(match, 2);
+ if (match[2] != null)
+ return parseInt(source, 16);
+ if (3 >= t1)
+ throw H.ioore(match, 3);
+ if (match[3] != null)
+ return parseInt(source, 10);
+ return handleError.call$1(source);
+ }
+ if (match == null)
+ return handleError.call$1(source);
+ return parseInt(source, 10);
+},
+
+Primitives_objectTypeName: function(object) {
+ var $name, decompiled, t1;
+ $name = C.JS_CONST_86y(J.getInterceptor(object));
+ if ($name === "Object") {
+ decompiled = String(object.constructor).match(/^\s*function\s*(\S*)\s*\(/)[1];
+ if (typeof decompiled === "string")
+ $name = decompiled;
+ }
+ t1 = J.getInterceptor$s($name);
+ if (t1.codeUnitAt$1($name, 0) === 36)
+ $name = t1.substring$1($name, 1);
+ t1 = H.getRuntimeTypeInfo(object);
+ return H.S($name) + H.joinArguments(t1, 0, null);
+},
+
+Primitives_objectToString: function(object) {
+ return "Instance of '" + H.Primitives_objectTypeName(object) + "'";
+},
+
+Primitives_newFixedList: function($length) {
+ var result = new Array($length);
+ result.fixed$length = true;
+ return result;
+},
+
+Primitives__fromCharCodeApply: function(array) {
+ var end, t1, result, i, subarray, t2;
+ end = array.length;
+ for (t1 = end <= 500, result = "", i = 0; i < end; i += 500) {
+ if (t1)
+ subarray = array;
+ else {
+ t2 = i + 500;
+ t2 = t2 < end ? t2 : end;
+ subarray = array.slice(i, t2);
+ }
+ result += String.fromCharCode.apply(null, subarray);
+ }
+ return result;
+},
+
+Primitives_stringFromCodePoints: function(codePoints) {
+ var a, t1, i;
+ a = [];
+ a.$builtinTypeInfo = [J.JSInt];
+ for (t1 = new H.ListIterator(codePoints, codePoints.length, 0, null); t1.moveNext$0();) {
+ i = t1._current;
+ if (typeof i !== "number" || Math.floor(i) !== i)
+ throw H.wrapException(new P.ArgumentError(i));
+ if (i <= 65535)
+ a.push(i);
+ else if (i <= 1114111) {
+ a.push(55296 + (C.JSInt_methods.$shr(i - 65536, 10) & 1023));
+ a.push(56320 + (i & 1023));
+ } else
+ throw H.wrapException(new P.ArgumentError(i));
+ }
+ return H.Primitives__fromCharCodeApply(a);
+},
+
+Primitives_stringFromCharCodes: function(charCodes) {
+ var t1, i;
+ for (t1 = new H.ListIterator(charCodes, charCodes.length, 0, null); t1.moveNext$0();) {
+ i = t1._current;
+ if (typeof i !== "number" || Math.floor(i) !== i)
+ throw H.wrapException(new P.ArgumentError(i));
+ if (i < 0)
+ throw H.wrapException(new P.ArgumentError(i));
+ if (i > 65535)
+ return H.Primitives_stringFromCodePoints(charCodes);
+ }
+ return H.Primitives__fromCharCodeApply(charCodes);
+},
+
+Primitives_lazyAsJsDate: function(receiver) {
+ if (receiver.date === void 0)
+ receiver.date = new Date(receiver.millisecondsSinceEpoch);
+ return receiver.date;
+},
+
+Primitives_getYear: function(receiver) {
+ return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCFullYear() + 0 : H.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;
+},
+
+Primitives_getMonth: function(receiver) {
+ return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCMonth() + 1 : H.Primitives_lazyAsJsDate(receiver).getMonth() + 1;
+},
+
+Primitives_getDay: function(receiver) {
+ return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCDate() + 0 : H.Primitives_lazyAsJsDate(receiver).getDate() + 0;
+},
+
+Primitives_getHours: function(receiver) {
+ return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCHours() + 0 : H.Primitives_lazyAsJsDate(receiver).getHours() + 0;
+},
+
+Primitives_getMinutes: function(receiver) {
+ return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCMinutes() + 0 : H.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;
+},
+
+Primitives_getSeconds: function(receiver) {
+ return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCSeconds() + 0 : H.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;
+},
+
+Primitives_getMilliseconds: function(receiver) {
+ return receiver.isUtc ? H.Primitives_lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : H.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;
+},
+
+Primitives_getProperty: function(object, key) {
+ if (object == null || typeof object === "boolean" || typeof object === "number" || typeof object === "string")
+ throw H.wrapException(new P.ArgumentError(object));
+ return object[key];
+},
+
+Primitives_setProperty: function(object, key, value) {
+ if (object == null || typeof object === "boolean" || typeof object === "number" || typeof object === "string")
+ throw H.wrapException(new P.ArgumentError(object));
+ object[key] = value;
+},
+
+Primitives_applyFunction: function($function, positionalArguments, namedArguments) {
+ var t1, buffer, $arguments, allNamedArguments, listOfNamedArguments, t2, t3, t4, selectorName, jsFunction;
+ t1 = {};
+ t1.argumentCount_0 = 0;
+ buffer = P.StringBuffer$("");
+ $arguments = [];
+ t1.argumentCount_0 = t1.argumentCount_0 + positionalArguments.length;
+ C.JSArray_methods.addAll$1($arguments, positionalArguments);
+ if ("call$catchAll" in $function) {
+ allNamedArguments = $function.call$catchAll();
+ if (namedArguments != null && !namedArguments.get$isEmpty(namedArguments))
+ namedArguments.forEach$1(namedArguments, new H.Primitives_applyFunction_closure(allNamedArguments));
+ listOfNamedArguments = Object.getOwnPropertyNames(allNamedArguments);
+ t2 = t1.argumentCount_0;
+ t3 = J.getInterceptor$asx(listOfNamedArguments);
+ t4 = t3.get$length(listOfNamedArguments);
+ if (typeof t4 !== "number")
+ throw H.iae(t4);
+ t1.argumentCount_0 = t2 + t4;
+ t3.forEach$1(listOfNamedArguments, new H.Primitives_applyFunction_closure0(buffer, $arguments, allNamedArguments));
+ } else if (namedArguments != null && !namedArguments.get$isEmpty(namedArguments))
+ namedArguments.forEach$1(namedArguments, new H.Primitives_applyFunction_closure1(t1, buffer, $arguments));
+ selectorName = "call$" + H.S(t1.argumentCount_0) + H.S(buffer);
+ jsFunction = $function[selectorName];
+ if (jsFunction == null) {
+ if (namedArguments == null)
+ t1 = [];
+ else {
+ t1 = namedArguments.get$keys();
+ t1 = P.List_List$from(t1, true, H.getRuntimeTypeArgument(t1, "IterableBase", 0));
+ }
+ return J.noSuchMethod$1($function, new H.JSInvocationMirror(C.Symbol_call, selectorName, 0, $arguments, t1, null));
+ }
+ return jsFunction.apply($function, $arguments);
+},
+
+iae: function(argument) {
+ throw H.wrapException(P.ArgumentError$(argument));
+},
+
+ioore: function(receiver, index) {
+ if (receiver == null)
+ J.get$length$asx(receiver);
+ if (typeof index !== "number" || Math.floor(index) !== index)
+ H.iae(index);
+ throw H.wrapException(P.RangeError$value(index));
+},
+
+wrapException: function(ex) {
+ var wrapper;
+ if (ex == null)
+ ex = new P.NullThrownError();
+ wrapper = new Error();
+ wrapper.dartException = ex;
+ if ("defineProperty" in Object) {
+ Object.defineProperty(wrapper, "message", { get: H.toStringWrapper$closure.call$0 });
+ wrapper.name = "";
+ } else
+ wrapper.toString = H.toStringWrapper$closure.call$0;
+ return wrapper;
+},
+
+toStringWrapper: function() {
+ return J.toString$0(this.dartException);
+},
+
+throwExpression: function(ex) {
+ throw H.wrapException(ex);
+},
+
+makeLiteralListConst: function(list) {
+ list.immutable$list = true;
+ list.fixed$length = true;
+ return list;
+},
+
+unwrapException: function(ex) {
+ var t1, message, number, ieErrorCode, t2, t3, t4, nullLiteralCall, t5, t6, t7, t8, t9, match;
+ t1 = new H.unwrapException_saveStackTrace(ex);
+ if (ex == null)
+ return;
+ if (typeof ex !== "object")
+ return ex;
+ if ("dartException" in ex)
+ return t1.call$1(ex.dartException);
+ else if (!("message" in ex))
+ return ex;
+ message = ex.message;
+ if ("number" in ex && typeof ex.number == "number") {
+ number = ex.number;
+ ieErrorCode = number & 65535;
+ if ((C.JSInt_methods.$shr(number, 16) & 8191) === 10)
+ switch (ieErrorCode) {
+ case 438:
+ return t1.call$1(H.JsNoSuchMethodError$(H.S(message) + " (Error " + ieErrorCode + ")", null));
+ case 445:
+ case 5007:
+ t2 = H.S(message) + " (Error " + ieErrorCode + ")";
+ return t1.call$1(new H.NullError(t2, null));
+ default:
+ }
+ }
+ if (ex instanceof TypeError) {
+ t2 = $.get$TypeErrorDecoder_noSuchMethodPattern();
+ t3 = $.get$TypeErrorDecoder_notClosurePattern();
+ t4 = $.get$TypeErrorDecoder_nullCallPattern();
+ nullLiteralCall = $.get$TypeErrorDecoder_nullLiteralCallPattern();
+ t5 = $.get$TypeErrorDecoder_undefinedCallPattern();
+ t6 = $.get$TypeErrorDecoder_undefinedLiteralCallPattern();
+ t7 = $.get$TypeErrorDecoder_nullPropertyPattern();
+ $.get$TypeErrorDecoder_nullLiteralPropertyPattern();
+ t8 = $.get$TypeErrorDecoder_undefinedPropertyPattern();
+ t9 = $.get$TypeErrorDecoder_undefinedLiteralPropertyPattern();
+ match = t2.matchTypeError$1(message);
+ if (match != null)
+ return t1.call$1(H.JsNoSuchMethodError$(message, match));
+ else {
+ match = t3.matchTypeError$1(message);
+ if (match != null) {
+ match.method = "call";
+ return t1.call$1(H.JsNoSuchMethodError$(message, match));
+ } else {
+ match = t4.matchTypeError$1(message);
+ if (match == null) {
+ match = nullLiteralCall.matchTypeError$1(message);
+ if (match == null) {
+ match = t5.matchTypeError$1(message);
+ if (match == null) {
+ match = t6.matchTypeError$1(message);
+ if (match == null) {
+ match = t7.matchTypeError$1(message);
+ if (match == null) {
+ match = nullLiteralCall.matchTypeError$1(message);
+ if (match == null) {
+ match = t8.matchTypeError$1(message);
+ if (match == null) {
+ match = t9.matchTypeError$1(message);
+ t2 = match != null;
+ } else
+ t2 = true;
+ } else
+ t2 = true;
+ } else
+ t2 = true;
+ } else
+ t2 = true;
+ } else
+ t2 = true;
+ } else
+ t2 = true;
+ } else
+ t2 = true;
+ if (t2) {
+ t2 = match == null ? null : match.method;
+ return t1.call$1(new H.NullError(message, t2));
+ }
+ }
+ }
+ t2 = typeof message === "string" ? message : "";
+ return t1.call$1(new H.UnknownJsTypeError(t2));
+ }
+ if (ex instanceof RangeError) {
+ if (typeof message === "string" && message.indexOf("call stack") !== -1)
+ return new P.StackOverflowError();
+ return t1.call$1(new P.ArgumentError(null));
+ }
+ if (typeof InternalError == "function" && ex instanceof InternalError)
+ if (typeof message === "string" && message === "too much recursion")
+ return new P.StackOverflowError();
+ return ex;
+},
+
+objectHashCode: function(object) {
+ if (object == null || typeof object != 'object')
+ return J.get$hashCode$(object);
+ else
+ return H.Primitives_objectHashCode(object);
+},
+
+fillLiteralMap: function(keyValuePairs, result) {
+ var $length, index, index0, index1;
+ $length = keyValuePairs.length;
+ for (index = 0; index < $length; index = index1) {
+ index0 = index + 1;
+ index1 = index0 + 1;
+ result.$indexSet(result, keyValuePairs[index], keyValuePairs[index0]);
+ }
+ return result;
+},
+
+invokeClosure: function(closure, isolate, numberOfArguments, arg1, arg2, arg3, arg4) {
+ var t1 = J.getInterceptor(numberOfArguments);
+ if (t1.$eq(numberOfArguments, 0))
+ return H._callInIsolate(isolate, new H.invokeClosure_closure(closure));
+ else if (t1.$eq(numberOfArguments, 1))
+ return H._callInIsolate(isolate, new H.invokeClosure_closure0(closure, arg1));
+ else if (t1.$eq(numberOfArguments, 2))
+ return H._callInIsolate(isolate, new H.invokeClosure_closure1(closure, arg1, arg2));
+ else if (t1.$eq(numberOfArguments, 3))
+ return H._callInIsolate(isolate, new H.invokeClosure_closure2(closure, arg1, arg2, arg3));
+ else if (t1.$eq(numberOfArguments, 4))
+ return H._callInIsolate(isolate, new H.invokeClosure_closure3(closure, arg1, arg2, arg3, arg4));
+ else
+ throw H.wrapException(P.Exception_Exception("Unsupported number of arguments for wrapped closure"));
+},
+
+convertDartClosureToJS: function(closure, arity) {
+ var $function;
+ if (closure == null)
+ return;
+ $function = closure.$identity;
+ if (!!$function)
+ return $function;
+ $function = (function(closure, arity, context, invoke) { return function(a1, a2, a3, a4) { return invoke(closure, context, arity, a1, a2, a3, a4); };})(closure,arity,$globalState.currentContext,H.invokeClosure$closure.call$7);
+ closure.$identity = $function;
+ return $function;
+},
+
+throwCyclicInit: function(staticName) {
+ throw H.wrapException(P.CyclicInitializationError$("Cyclic initialization for static " + H.S(staticName)));
+},
+
+createRuntimeType: function($name) {
+ return new H.TypeImpl($name, null);
+},
+
+setRuntimeTypeInfo: function(target, typeInfo) {
+ if (target != null)
+ target.$builtinTypeInfo = typeInfo;
+ return target;
+},
+
+getRuntimeTypeInfo: function(target) {
+ if (target == null)
+ return;
+ return target.$builtinTypeInfo;
+},
+
+getRuntimeTypeArguments: function(target, substitutionName) {
+ return H.substitute(target["$as" + H.S(substitutionName)], H.getRuntimeTypeInfo(target));
+},
+
+getRuntimeTypeArgument: function(target, substitutionName, index) {
+ var $arguments = H.getRuntimeTypeArguments(target, substitutionName);
+ return $arguments == null ? null : $arguments[index];
+},
+
+getRuntimeTypeAsString: function(runtimeType, onTypeVariable) {
+ return runtimeType[0].builtin$cls + H.joinArguments(runtimeType, 1, onTypeVariable);
+},
+
+runtimeTypeToString: function(type, onTypeVariable) {
+ if (type == null)
+ return "dynamic";
+ else if (typeof type === "object" && type !== null && type.constructor === Array)
+ return H.getRuntimeTypeAsString(type, onTypeVariable);
+ else if (typeof type == "function")
+ return type.builtin$cls;
+ else if (typeof type === "number" && Math.floor(type) === type)
+ return C.JSInt_methods.toString$0(type);
+ else
+ return;
+},
+
+joinArguments: function(types, startIndex, onTypeVariable) {
+ var buffer, index, firstArgument, allDynamic, argument, str;
+ if (types == null)
+ return "";
+ buffer = P.StringBuffer$("");
+ for (index = startIndex, firstArgument = true, allDynamic = true; index < types.length; ++index) {
+ if (firstArgument)
+ firstArgument = false;
+ else
+ buffer._contents = buffer._contents + ", ";
+ argument = types[index];
+ if (argument != null)
+ allDynamic = false;
+ str = H.runtimeTypeToString(argument, onTypeVariable);
+ str = typeof str === "string" ? str : H.S(str);
+ buffer._contents = buffer._contents + str;
+ }
+ return allDynamic ? "" : "<" + H.S(buffer) + ">";
+},
+
+substitute: function(substitution, $arguments) {
+ if (typeof substitution === "object" && substitution !== null && substitution.constructor === Array)
+ $arguments = substitution;
+ else if (typeof substitution == "function") {
+ substitution = H.invokeOn(substitution, null, $arguments);
+ if (typeof substitution === "object" && substitution !== null && substitution.constructor === Array)
+ $arguments = substitution;
+ else if (typeof substitution == "function")
+ $arguments = H.invokeOn(substitution, null, $arguments);
+ }
+ return $arguments;
+},
+
+computeSignature: function(signature, context, contextName) {
+ return H.invokeOn(signature, context, H.getRuntimeTypeArguments(context, contextName));
+},
+
+invokeOn: function($function, receiver, $arguments) {
+ return $function.apply(receiver, $arguments);
+},
+
+toStringForNativeObject: function(obj) {
+ var t1 = $.getTagFunction;
+ return "Instance of " + (t1 == null ? "<Unknown>" : t1.call$1(obj));
+},
+
+hashCodeForNativeObject: function(object) {
+ return H.Primitives_objectHashCode(object);
+},
+
+defineProperty: function(obj, property, value) {
+ Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});
+},
+
+lookupAndCacheInterceptor: function(obj) {
+ var tag, record, interceptor, interceptorClass, mark, t1;
+ tag = $.getTagFunction.call$1(obj);
+ record = $.dispatchRecordsForInstanceTags[tag];
+ if (record != null) {
+ Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
+ return record.i;
+ }
+ interceptor = $.interceptorsForUncacheableTags[tag];
+ if (interceptor != null)
+ return interceptor;
+ interceptorClass = init.interceptorsByTag[tag];
+ if (interceptorClass == null) {
+ tag = $.alternateTagFunction.call$2(obj, tag);
+ if (tag != null) {
+ record = $.dispatchRecordsForInstanceTags[tag];
+ if (record != null) {
+ Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
+ return record.i;
+ }
+ interceptor = $.interceptorsForUncacheableTags[tag];
+ if (interceptor != null)
+ return interceptor;
+ interceptorClass = init.interceptorsByTag[tag];
+ }
+ }
+ if (interceptorClass == null)
+ return;
+ interceptor = interceptorClass.prototype;
+ mark = tag[0];
+ if (mark === "!") {
+ record = H.makeLeafDispatchRecord(interceptor);
+ $.dispatchRecordsForInstanceTags[tag] = record;
+ Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
+ return record.i;
+ }
+ if (mark === "~") {
+ $.interceptorsForUncacheableTags[tag] = interceptor;
+ return interceptor;
+ }
+ if (mark === "-") {
+ t1 = H.makeLeafDispatchRecord(interceptor);
+ Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
+ return t1.i;
+ }
+ if (mark === "+")
+ return H.patchInteriorProto(obj, interceptor);
+ if (mark === "*")
+ throw H.wrapException(P.UnimplementedError$(tag));
+ if (init.leafTags[tag] === true) {
+ t1 = H.makeLeafDispatchRecord(interceptor);
+ Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});
+ return t1.i;
+ } else
+ return H.patchInteriorProto(obj, interceptor);
+},
+
+patchInteriorProto: function(obj, interceptor) {
+ var proto, record;
+ proto = Object.getPrototypeOf(obj);
+ record = J.makeDispatchRecord(interceptor, proto, null, null);
+ Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
+ return interceptor;
+},
+
+makeLeafDispatchRecord: function(interceptor) {
+ return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
+},
+
+makeDefaultDispatchRecord: function(tag, interceptorClass, proto) {
+ var interceptor = interceptorClass.prototype;
+ if (init.leafTags[tag] === true)
+ return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScriptIndexingBehavior);
+ else
+ return J.makeDispatchRecord(interceptor, proto, null, null);
+},
+
+initNativeDispatch: function() {
+ if (true === $.initNativeDispatchFlag)
+ return;
+ $.initNativeDispatchFlag = true;
+ H.initNativeDispatchContinue();
+},
+
+initNativeDispatchContinue: function() {
+ var map, tags, i, tag, proto, record, interceptorClass;
+ $.dispatchRecordsForInstanceTags = Object.create(null);
+ $.interceptorsForUncacheableTags = Object.create(null);
+ H.initHooks();
+ map = init.interceptorsByTag;
+ tags = Object.getOwnPropertyNames(map);
+ if (typeof window != "undefined") {
+ window;
+ for (i = 0; i < tags.length; ++i) {
+ tag = tags[i];
+ proto = $.prototypeForTagFunction.call$1(tag);
+ if (proto != null) {
+ record = H.makeDefaultDispatchRecord(tag, map[tag], proto);
+ if (record != null)
+ Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});
+ }
+ }
+ }
+ for (i = 0; i < tags.length; ++i) {
+ tag = tags[i];
+ if (/^[A-Za-z_]/.test(tag)) {
+ interceptorClass = map[tag];
+ map["!" + tag] = interceptorClass;
+ map["~" + tag] = interceptorClass;
+ map["-" + tag] = interceptorClass;
+ map["+" + tag] = interceptorClass;
+ map["*" + tag] = interceptorClass;
+ }
+ }
+},
+
+initHooks: function() {
+ var hooks, transformers, i, transformer, getTag, getUnknownTag, prototypeForTag;
+ hooks = C.JS_CONST_TtD();
+ hooks = H.applyHooksTransformer(C.JS_CONST_0, H.applyHooksTransformer(C.JS_CONST_Fs4, H.applyHooksTransformer(C.JS_CONST_Fs4, H.applyHooksTransformer(C.JS_CONST_rD3, H.applyHooksTransformer(C.JS_CONST_6qb, H.applyHooksTransformer(C.JS_CONST_Cbr(C.JS_CONST_86y), hooks))))));
+ if (typeof dartNativeDispatchHooksTransformer != "undefined") {
+ transformers = dartNativeDispatchHooksTransformer;
+ if (typeof transformers == "function")
+ transformers = [transformers];
+ if (transformers.constructor == Array)
+ for (i = 0; i < transformers.length; ++i) {
+ transformer = transformers[i];
+ if (typeof transformer == "function")
+ hooks = transformer(hooks) || hooks;
+ }
+ }
+ getTag = hooks.getTag;
+ getUnknownTag = hooks.getUnknownTag;
+ prototypeForTag = hooks.prototypeForTag;
+ $.getTagFunction = new H.initHooks_closure(getTag);
+ $.alternateTagFunction = new H.initHooks_closure0(getUnknownTag);
+ $.prototypeForTagFunction = new H.initHooks_closure1(prototypeForTag);
+},
+
+applyHooksTransformer: function(transformer, hooks) {
+ return transformer(hooks) || hooks;
+},
+
+JSInvocationMirror: {"": "Object;__js_helper$_memberName,_internalName,_kind,_arguments,_namedArgumentNames,_namedIndices",
+ get$memberName: function() {
+ return this.__js_helper$_memberName;
+ },
+ get$positionalArguments: function() {
+ var t1, argumentCount, list, index;
+ if (this._kind === 1)
+ return C.List_empty;
+ t1 = this._arguments;
+ argumentCount = t1.length - this._namedArgumentNames.length;
+ if (argumentCount === 0)
+ return C.List_empty;
+ list = [];
+ for (index = 0; index < argumentCount; ++index) {
+ if (index >= t1.length)
+ throw H.ioore(t1, index);
+ list.push(t1[index]);
+ }
+ return H.makeLiteralListConst(list);
+ },
+ get$namedArguments: function() {
+ var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, t3, t4;
+ if (this._kind !== 0) {
+ t1 = H.fillLiteralMap([], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null));
+ H.setRuntimeTypeInfo(t1, [P.Symbol, null]);
+ return t1;
+ }
+ t1 = this._namedArgumentNames;
+ namedArgumentCount = t1.length;
+ t2 = this._arguments;
+ namedArgumentsStartIndex = t2.length - namedArgumentCount;
+ if (namedArgumentCount === 0) {
+ t1 = H.fillLiteralMap([], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null));
+ H.setRuntimeTypeInfo(t1, [P.Symbol, null]);
+ return t1;
+ }
+ map = P.LinkedHashMap_LinkedHashMap(null, null, null, P.Symbol, null);
+ for (i = 0; i < namedArgumentCount; ++i) {
+ if (i >= t1.length)
+ throw H.ioore(t1, i);
+ t3 = t1[i];
+ t4 = namedArgumentsStartIndex + i;
+ if (t4 < 0 || t4 >= t2.length)
+ throw H.ioore(t2, t4);
+ map.$indexSet(map, new H.Symbol0(t3), t2[t4]);
+ }
+ return map;
+ },
+ static: {
+"": "JSInvocationMirror_METHOD,JSInvocationMirror_GETTER,JSInvocationMirror_SETTER",
+}
+
+},
+
+Primitives_applyFunction_closure: {"": "Closure;allNamedArguments_1",
+ call$2: function(key, argument) {
+ this.allNamedArguments_1[key] = argument;
+ },
+ "+call:2:0": 0,
+ $isFunction: true,
+ $is_args2: true
+},
+
+Primitives_applyFunction_closure0: {"": "Closure;buffer_2,arguments_3,allNamedArguments_4",
+ call$1: function($name) {
+ this.buffer_2.write$1("$" + H.S($name));
+ this.arguments_3.push(this.allNamedArguments_4[$name]);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+Primitives_applyFunction_closure1: {"": "Closure;box_0,buffer_5,arguments_6",
+ call$2: function($name, argument) {
+ var t1;
+ this.buffer_5.write$1("$" + H.S($name));
+ this.arguments_6.push(argument);
+ t1 = this.box_0;
+ t1.argumentCount_0 = t1.argumentCount_0 + 1;
+ },
+ "+call:2:0": 0,
+ $isFunction: true,
+ $is_args2: true
+},
+
+TypeErrorDecoder: {"": "Object;_pattern,_arguments,_argumentsExpr,_expr,_method,_receiver",
+ matchTypeError$1: function(message) {
+ var match, result, t1;
+ match = new RegExp(this._pattern).exec(message);
+ if (match == null)
+ return;
+ result = {};
+ t1 = this._arguments;
+ if (t1 !== -1)
+ result.arguments = match[t1 + 1];
+ t1 = this._argumentsExpr;
+ if (t1 !== -1)
+ result.argumentsExpr = match[t1 + 1];
+ t1 = this._expr;
+ if (t1 !== -1)
+ result.expr = match[t1 + 1];
+ t1 = this._method;
+ if (t1 !== -1)
+ result.method = match[t1 + 1];
+ t1 = this._receiver;
+ if (t1 !== -1)
+ result.receiver = match[t1 + 1];
+ return result;
+ },
+ static: {
+"": "TypeErrorDecoder_noSuchMethodPattern,TypeErrorDecoder_notClosurePattern,TypeErrorDecoder_nullCallPattern,TypeErrorDecoder_nullLiteralCallPattern,TypeErrorDecoder_undefinedCallPattern,TypeErrorDecoder_undefinedLiteralCallPattern,TypeErrorDecoder_nullPropertyPattern,TypeErrorDecoder_nullLiteralPropertyPattern,TypeErrorDecoder_undefinedPropertyPattern,TypeErrorDecoder_undefinedLiteralPropertyPattern",
+TypeErrorDecoder_extractPattern: function(message) {
+ var match, $arguments, argumentsExpr, expr, method, receiver;
+ message = message.replace(String({}), '$receiver$').replace(new RegExp("[[\\]{}()*+?.\\\\^$|]", 'g'), '\\$&');
+ match = message.match(/\\\$[a-zA-Z]+\\\$/g);
+ if (match == null)
+ match = [];
+ $arguments = match.indexOf("\\$arguments\\$");
+ argumentsExpr = match.indexOf("\\$argumentsExpr\\$");
+ expr = match.indexOf("\\$expr\\$");
+ method = match.indexOf("\\$method\\$");
+ receiver = match.indexOf("\\$receiver\\$");
+ return new H.TypeErrorDecoder(message.replace('\\$arguments\\$', '((?:x|[^x])*)').replace('\\$argumentsExpr\\$', '((?:x|[^x])*)').replace('\\$expr\\$', '((?:x|[^x])*)').replace('\\$method\\$', '((?:x|[^x])*)').replace('\\$receiver\\$', '((?:x|[^x])*)'), $arguments, argumentsExpr, expr, method, receiver);
+},
+
+TypeErrorDecoder_provokeCallErrorOn: function(expression) {
+ return function($expr$) {
+ var $argumentsExpr$ = '$arguments$'
+ try {
+ $expr$.$method$($argumentsExpr$);
+ } catch (e) {
+ return e.message;
+ }
+}(expression);
+},
+
+TypeErrorDecoder_provokeCallErrorOnNull: function() {
+ return function() {
+ var $argumentsExpr$ = '$arguments$'
+ try {
+ null.$method$($argumentsExpr$);
+ } catch (e) {
+ return e.message;
+ }
+}();
+},
+
+TypeErrorDecoder_provokeCallErrorOnUndefined: function() {
+ return function() {
+ var $argumentsExpr$ = '$arguments$'
+ try {
+ (void 0).$method$($argumentsExpr$);
+ } catch (e) {
+ return e.message;
+ }
+}();
+},
+
+TypeErrorDecoder_provokePropertyErrorOn: function(expression) {
+ return function($expr$) {
+ try {
+ $expr$.$method$;
+ } catch (e) {
+ return e.message;
+ }
+}(expression);
+},
+
+TypeErrorDecoder_provokePropertyErrorOnNull: function() {
+ return function() {
+ try {
+ null.$method$;
+ } catch (e) {
+ return e.message;
+ }
+}();
+},
+
+TypeErrorDecoder_provokePropertyErrorOnUndefined: function() {
+ return function() {
+ try {
+ (void 0).$method$;
+ } catch (e) {
+ return e.message;
+ }
+}();
+}}
+
+},
+
+NullError: {"": "Error;_message,_method",
+ toString$0: function(_) {
+ var t1 = this._method;
+ if (t1 == null)
+ return "NullError: " + H.S(this._message);
+ return "NullError: Cannot call \"" + H.S(t1) + "\" on null";
+ },
+ $isError: true
+},
+
+JsNoSuchMethodError: {"": "Error;_message,_method,_receiver",
+ toString$0: function(_) {
+ var t1, t2;
+ t1 = this._method;
+ if (t1 == null)
+ return "NoSuchMethodError: " + H.S(this._message);
+ t2 = this._receiver;
+ if (t2 == null)
+ return "NoSuchMethodError: Cannot call \"" + t1 + "\" (" + H.S(this._message) + ")";
+ return "NoSuchMethodError: Cannot call \"" + t1 + "\" on \"" + t2 + "\" (" + H.S(this._message) + ")";
+ },
+ $isError: true,
+ static: {
+JsNoSuchMethodError$: function(_message, match) {
+ var t1, t2;
+ t1 = match == null;
+ t2 = t1 ? null : match.method;
+ t1 = t1 ? null : match.receiver;
+ return new H.JsNoSuchMethodError(_message, t2, t1);
+}}
+
+},
+
+UnknownJsTypeError: {"": "Error;_message",
+ toString$0: function(_) {
+ var t1 = this._message;
+ return C.JSString_methods.get$isEmpty(t1) ? "Error" : "Error: " + t1;
+ }
+},
+
+unwrapException_saveStackTrace: {"": "Closure;ex_0",
+ call$1: function(error) {
+ var t1 = J.getInterceptor(error);
+ if (typeof error === "object" && error !== null && !!t1.$isError)
+ if (error.$thrownJsError == null)
+ error.$thrownJsError = this.ex_0;
+ return error;
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+_StackTrace: {"": "Object;_exception,_trace",
+ toString$0: function(_) {
+ var t1, trace;
+ t1 = this._trace;
+ if (t1 != null)
+ return t1;
+ t1 = this._exception;
+ trace = typeof t1 === "object" ? t1.stack : null;
+ t1 = trace == null ? "" : trace;
+ this._trace = t1;
+ return t1;
+ }
+},
+
+invokeClosure_closure: {"": "Closure;closure_0",
+ call$0: function() {
+ return this.closure_0.call$0();
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+invokeClosure_closure0: {"": "Closure;closure_1,arg1_2",
+ call$0: function() {
+ return this.closure_1.call$1(this.arg1_2);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+invokeClosure_closure1: {"": "Closure;closure_3,arg1_4,arg2_5",
+ call$0: function() {
+ return this.closure_3.call$2(this.arg1_4, this.arg2_5);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+invokeClosure_closure2: {"": "Closure;closure_6,arg1_7,arg2_8,arg3_9",
+ call$0: function() {
+ return this.closure_6.call$3(this.arg1_7, this.arg2_8, this.arg3_9);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+invokeClosure_closure3: {"": "Closure;closure_10,arg1_11,arg2_12,arg3_13,arg4_14",
+ call$0: function() {
+ return this.closure_10.call$4(this.arg1_11, this.arg2_12, this.arg3_13, this.arg4_14);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+Closure: {"": "Object;",
+ toString$0: function(_) {
+ return "Closure";
+ },
+ $isFunction: true
+},
+
+BoundClosure: {"": "Closure;_self,__js_helper$_target,_receiver,__js_helper$_name",
+ $eq: function(_, other) {
+ var t1;
+ if (other == null)
+ return false;
+ if (this === other)
+ return true;
+ t1 = J.getInterceptor(other);
+ if (typeof other !== "object" || other === null || !t1.$isBoundClosure)
+ return false;
+ return this._self === other._self && this.__js_helper$_target === other.__js_helper$_target && this._receiver === other._receiver;
+ },
+ get$hashCode: function(_) {
+ var t1, receiverHashCode;
+ t1 = this._receiver;
+ if (t1 == null)
+ receiverHashCode = H.Primitives_objectHashCode(this._self);
+ else
+ receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Primitives_objectHashCode(t1);
+ return (receiverHashCode ^ H.Primitives_objectHashCode(this.__js_helper$_target)) >>> 0;
+ },
+ $isBoundClosure: true
+},
+
+TypeImpl: {"": "Object;_typeName,_unmangledName",
+ toString$0: function(_) {
+ var t1, unmangledName, unmangledName0;
+ t1 = this._unmangledName;
+ if (t1 != null)
+ return t1;
+ unmangledName = this._typeName;
+ unmangledName0 = H.unmangleGlobalNameIfPreservedAnyways(unmangledName);
+ unmangledName = unmangledName0 == null ? unmangledName : unmangledName0;
+ this._unmangledName = unmangledName;
+ return unmangledName;
+ },
+ get$hashCode: function(_) {
+ return J.get$hashCode$(this._typeName);
+ },
+ $eq: function(_, other) {
+ var t1;
+ if (other == null)
+ return false;
+ t1 = J.getInterceptor(other);
+ return typeof other === "object" && other !== null && !!t1.$isTypeImpl && J.$eq(this._typeName, other._typeName);
+ },
+ $isTypeImpl: true
+},
+
+initHooks_closure: {"": "Closure;getTag_0",
+ call$1: function(o) {
+ return this.getTag_0(o);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+initHooks_closure0: {"": "Closure;getUnknownTag_1",
+ call$2: function(o, tag) {
+ return this.getUnknownTag_1(o, tag);
+ },
+ "+call:2:0": 0,
+ $isFunction: true,
+ $is_args2: true
+},
+
+initHooks_closure1: {"": "Closure;prototypeForTag_2",
+ call$1: function(tag) {
+ return this.prototypeForTag_2(tag);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+}}],
+["dart._collection.dev", "dart:_collection-dev", , H, {
+Arrays_copy: function(src, srcStart, dst, dstStart, count) {
+ var i, j, t1;
+ if (srcStart < dstStart)
+ for (i = srcStart + count - 1, j = dstStart + count - 1; i >= srcStart; --i, --j) {
+ if (i < 0 || i >= src.length)
+ throw H.ioore(src, i);
+ C.JSArray_methods.$indexSet(dst, j, src[i]);
+ }
+ else
+ for (t1 = srcStart + count, j = dstStart, i = srcStart; i < t1; ++i, ++j) {
+ if (i < 0 || i >= src.length)
+ throw H.ioore(src, i);
+ C.JSArray_methods.$indexSet(dst, j, src[i]);
+ }
+},
+
+IterableMixinWorkaround_forEach: function(iterable, f) {
+ var t1;
+ for (t1 = new H.ListIterator(iterable, iterable.length, 0, null); t1.moveNext$0();)
+ f.call$1(t1._current);
+},
+
+IterableMixinWorkaround_toStringIterable: function(iterable, leftDelimiter, rightDelimiter) {
+ var result, i, t1;
+ for (i = 0; i < $.get$IterableMixinWorkaround__toStringList().length; ++i) {
+ t1 = $.get$IterableMixinWorkaround__toStringList();
+ if (i >= t1.length)
+ throw H.ioore(t1, i);
+ if (t1[i] === iterable)
+ return H.S(leftDelimiter) + "..." + H.S(rightDelimiter);
+ }
+ result = P.StringBuffer$("");
+ try {
+ $.get$IterableMixinWorkaround__toStringList().push(iterable);
+ result.write$1(leftDelimiter);
+ result.writeAll$2(iterable, ", ");
+ result.write$1(rightDelimiter);
+ } finally {
+ t1 = $.get$IterableMixinWorkaround__toStringList();
+ if (0 >= t1.length)
+ throw H.ioore(t1, 0);
+ t1.pop();
+ }
+ return result.get$_contents();
+},
+
+IterableMixinWorkaround__rangeCheck: function(list, start, end) {
+ if (start < 0 || start > list.length)
+ throw H.wrapException(P.RangeError$range(start, 0, list.length));
+ if (end < start || end > list.length)
+ throw H.wrapException(P.RangeError$range(end, start, list.length));
+},
+
+IterableMixinWorkaround_setRangeList: function(list, start, end, from, skipCount) {
+ var $length;
+ H.IterableMixinWorkaround__rangeCheck(list, start, end);
+ $length = end - start;
+ if ($length === 0)
+ return;
+ if (skipCount < 0)
+ throw H.wrapException(new P.ArgumentError(skipCount));
+ if (skipCount + $length > from.length)
+ throw H.wrapException(P.StateError$("Not enough elements"));
+ H.Arrays_copy(from, skipCount, list, start, $length);
+},
+
+printToConsole: function(line) {
+ if (typeof dartPrint == "function") {
+ dartPrint(line);
+ return;
+ }
+ if (typeof console == "object" && typeof console.log == "function") {
+ console.log(line);
+ return;
+ }
+ if (typeof window == "object")
+ return;
+ if (typeof print == "function") {
+ print(line);
+ return;
+ }
+ throw "Unable to print message: " + String(line);
+},
+
+ListIterable: {"": "IterableBase;",
+ get$iterator: function(_) {
+ return new H.ListIterator(this, this.get$length(this), 0, null);
+ },
+ forEach$1: function(_, action) {
+ var $length, i;
+ $length = this.get$length(this);
+ if (typeof $length !== "number")
+ throw H.iae($length);
+ i = 0;
+ for (; i < $length; ++i) {
+ action.call$1(this.elementAt$1(this, i));
+ if ($length !== this.get$length(this))
+ throw H.wrapException(P.ConcurrentModificationError$(this));
+ }
+ },
+ map$1: function(_, f) {
+ var t1 = new H.MappedListIterable(this, f);
+ H.setRuntimeTypeInfo(t1, [null, null]);
+ return t1;
+ },
+ $asIterableBase: null,
+ $asIterable: null,
+ $isEfficientLength: true
+},
+
+ListIterator: {"": "Object;_iterable,_length,_index,_current",
+ get$current: function() {
+ return this._current;
+ },
+ moveNext$0: function() {
+ var t1, t2, $length, t3;
+ t1 = this._iterable;
+ t2 = J.getInterceptor$asx(t1);
+ $length = t2.get$length(t1);
+ if (!J.$eq(this._length, $length))
+ throw H.wrapException(P.ConcurrentModificationError$(t1));
+ t3 = this._index;
+ if (typeof $length !== "number")
+ throw H.iae($length);
+ if (t3 >= $length) {
+ this._current = null;
+ return false;
+ }
+ this._current = t2.elementAt$1(t1, t3);
+ this._index = this._index + 1;
+ return true;
+ }
+},
+
+MappedIterable: {"": "IterableBase;_iterable,_f",
+ get$iterator: function(_) {
+ var t1 = this._iterable;
+ t1 = t1.get$iterator(t1);
+ t1 = new H.MappedIterator(null, t1, this._f);
+ H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "MappedIterable", 0), H.getRuntimeTypeArgument(this, "MappedIterable", 1)]);
+ return t1;
+ },
+ get$length: function(_) {
+ var t1 = this._iterable;
+ return t1.get$length(t1);
+ },
+ $asIterableBase: function($S, $T) {
+ return [$T];
+ },
+ $asIterable: function($S, $T) {
+ return [$T];
+ },
+ static: {
+MappedIterable_MappedIterable: function(iterable, $function, $S, $T) {
+ var t1;
+ if (!!iterable.$isEfficientLength) {
+ t1 = new H.EfficientLengthMappedIterable(iterable, $function);
+ H.setRuntimeTypeInfo(t1, [$S, $T]);
+ return t1;
+ }
+ t1 = new H.MappedIterable(iterable, $function);
+ H.setRuntimeTypeInfo(t1, [$S, $T]);
+ return t1;
+}}
+
+},
+
+EfficientLengthMappedIterable: {"": "MappedIterable;_iterable,_f", $asMappedIterable: null,
+ $asIterable: function($S, $T) {
+ return [$T];
+ },
+ $isEfficientLength: true
+},
+
+MappedIterator: {"": "Iterator;_current,_iterator,_f",
+ _f$1: function(arg0) {
+ return this._f.call$1(arg0);
+ },
+ moveNext$0: function() {
+ var t1 = this._iterator;
+ if (t1.moveNext$0()) {
+ this._current = this._f$1(t1.get$current());
+ return true;
+ }
+ this._current = null;
+ return false;
+ },
+ get$current: function() {
+ return this._current;
+ },
+ $asIterator: function($S, $T) {
+ return [$T];
+ }
+},
+
+MappedListIterable: {"": "ListIterable;_dev$_source,_f",
+ _f$1: function(arg0) {
+ return this._f.call$1(arg0);
+ },
+ get$length: function(_) {
+ return J.get$length$asx(this._dev$_source);
+ },
+ elementAt$1: function(_, index) {
+ return this._f$1(J.elementAt$1$ax(this._dev$_source, index));
+ },
+ $asListIterable: function($S, $T) {
+ return [$T];
+ },
+ $asIterable: function($S, $T) {
+ return [$T];
+ },
+ $isEfficientLength: true
+},
+
+FixedLengthListMixin: {"": "Object;"},
+
+Symbol0: {"": "Object;_name<",
+ $eq: function(_, other) {
+ var t1;
+ if (other == null)
+ return false;
+ t1 = J.getInterceptor(other);
+ return typeof other === "object" && other !== null && !!t1.$isSymbol0 && J.$eq(this._name, other._name);
+ },
+ get$hashCode: function(_) {
+ return 536870911 & 664597 * J.get$hashCode$(this._name);
+ },
+ toString$0: function(_) {
+ return "Symbol(\"" + H.S(this._name) + "\")";
+ },
+ $isSymbol0: true,
+ static: {
+"": "Symbol_validationPattern",
+}
+
+}}],
+["dart._js_names", "dart:_js_names", , H, {
+unmangleGlobalNameIfPreservedAnyways: function($name) {
+ return init.mangledGlobalNames[$name];
+}}],
+["dart.async", "dart:async", , P, {
+_invokeErrorHandler: function(errorHandler, error, stackTrace) {
+ var t1 = J.getInterceptor(errorHandler);
+ if (!!t1.$is_args2)
+ return errorHandler.call$2(error, stackTrace);
+ else
+ return errorHandler.call$1(error);
+},
+
+_registerErrorHandler: function(errorHandler, zone) {
+ var t1 = J.getInterceptor(errorHandler);
+ zone.toString;
+ if (!!t1.$is_args2)
+ return errorHandler;
+ else
+ return errorHandler;
+},
+
+Future_wait: function(futures) {
+ var t1, t2, t3, future, pos, t4, t5, result, completer;
+ t1 = {};
+ t1.completer_0 = null;
+ t1.values_1 = null;
+ t2 = new P.Future_wait_handleError(t1);
+ t1.remaining_2 = 0;
+ for (t3 = new H.ListIterator(futures, futures.length, 0, null); t3.moveNext$0();) {
+ future = t3._current;
+ pos = t1.remaining_2;
+ t1.remaining_2 = pos + 1;
+ t4 = future.catchError$1(t2);
+ t5 = $.Zone__current;
+ t5.toString;
+ result = new P._Future(0, t5, null, null, new P.Future_wait_closure(t1, pos), null, P._registerErrorHandler(null, t5), null);
+ result.$builtinTypeInfo = [null];
+ t4._addListener$1(result);
+ }
+ t2 = t1.remaining_2;
+ if (t2 === 0)
+ return P._Future$immediate(C.List_empty, null);
+ t1.values_1 = P.List_List(t2, null);
+ t2 = J.JSArray;
+ completer = new P._AsyncCompleter(P._Future$(t2));
+ H.setRuntimeTypeInfo(completer, [t2]);
+ t1.completer_0 = completer;
+ return t1.completer_0.future;
+},
+
+_asyncRunCallback: function() {
+ var callback, t1, exception, milliseconds;
+ for (; t1 = $.get$_asyncCallbacks(), t1._head !== t1._tail;) {
+ callback = $.get$_asyncCallbacks().removeFirst$0();
+ try {
+ callback.call$0();
+ } catch (exception) {
+ H.unwrapException(exception);
+ milliseconds = C.JSNumber_methods.$tdiv(C.Duration_0._duration, 1000);
+ H.TimerImpl$(milliseconds < 0 ? 0 : milliseconds, P._asyncRunCallback$closure);
+ throw exception;
+ }
+
+ }
+ $._callbacksAreEnqueued = false;
+},
+
+_scheduleAsyncCallback: function(callback) {
+ $.get$_asyncCallbacks()._add$1(callback);
+ if (!$._callbacksAreEnqueued) {
+ P._createTimer(C.Duration_0, P._asyncRunCallback$closure);
+ $._callbacksAreEnqueued = true;
+ }
+},
+
+scheduleMicrotask: function(callback) {
+ var t1 = $.Zone__current;
+ if (t1 === C.C__RootZone) {
+ t1.toString;
+ P._scheduleAsyncCallback(callback);
+ return;
+ }
+ P._scheduleAsyncCallback(t1.bindCallback$2$runGuarded(callback, true));
+},
+
+StreamController_StreamController: function(onCancel, onListen, onPause, onResume, sync, $T) {
+ var t1;
+ if (sync) {
+ t1 = new P._SyncStreamController(onListen, onPause, onResume, onCancel, null, 0, null);
+ H.setRuntimeTypeInfo(t1, [$T]);
+ } else {
+ t1 = new P._AsyncStreamController(onListen, onPause, onResume, onCancel, null, 0, null);
+ H.setRuntimeTypeInfo(t1, [$T]);
+ }
+ return t1;
+},
+
+_runGuarded: function(notificationHandler) {
+ var result, e, s, t1, t2, exception;
+ if (notificationHandler == null)
+ return;
+ try {
+ result = notificationHandler.call$0();
+ t1 = result;
+ t2 = J.getInterceptor(t1);
+ if (typeof t1 === "object" && t1 !== null && !!t2.$isFuture)
+ return result;
+ return;
+ } catch (exception) {
+ t1 = H.unwrapException(exception);
+ e = t1;
+ s = new H._StackTrace(exception, null);
+ t1 = $.Zone__current;
+ t1.toString;
+ P._rootHandleUncaughtError(t1, null, t1, e, s);
+ }
+
+},
+
+_nullDataHandler: function(value) {
+},
+
+_nullErrorHandler: function(error, stackTrace) {
+ var t1 = $.Zone__current;
+ t1.toString;
+ P._rootHandleUncaughtError(t1, null, t1, error, stackTrace);
+},
+
+_nullDoneHandler: function() {
+},
+
+_runUserCode: function(userCode, onSuccess, onError) {
+ var e, s, exception, t1;
+ try {
+ onSuccess.call$1(userCode.call$0());
+ } catch (exception) {
+ t1 = H.unwrapException(exception);
+ e = t1;
+ s = new H._StackTrace(exception, null);
+ onError.call$2(e, s);
+ }
+
+},
+
+_cancelAndError: function(subscription, future, error, stackTrace) {
+ var cancelFuture, t1;
+ cancelFuture = subscription.cancel$0();
+ t1 = J.getInterceptor(cancelFuture);
+ if (typeof cancelFuture === "object" && cancelFuture !== null && !!t1.$isFuture)
+ cancelFuture.whenComplete$1(new P._cancelAndError_closure(future, error, stackTrace));
+ else
+ future._completeError$2(error, stackTrace);
+},
+
+_cancelAndErrorClosure: function(subscription, future) {
+ return new P._cancelAndErrorClosure_closure(subscription, future);
+},
+
+Timer_Timer: function(duration, callback) {
+ var t1 = $.Zone__current;
+ if (t1 === C.C__RootZone) {
+ t1.toString;
+ return P._createTimer(duration, callback);
+ }
+ return P._createTimer(duration, t1.bindCallback$2$runGuarded(callback, true));
+},
+
+_createTimer: function(duration, callback) {
+ var milliseconds = C.JSNumber_methods.$tdiv(duration._duration, 1000);
+ return H.TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
+},
+
+_rootHandleUncaughtError: function($self, $parent, zone, error, stackTrace) {
+ P._rootRun($self, null, $self, new P._rootHandleUncaughtError_closure(error, stackTrace));
+},
+
+_rootRun: function($self, $parent, zone, f) {
+ var old, t1, t2;
+ t1 = $.Zone__current;
+ t2 = zone;
+ if (t1 == null ? t2 == null : t1 === t2)
+ return f.call$0();
+ old = t1;
+ try {
+ $.Zone__current = zone;
+ t1 = f.call$0();
+ return t1;
+ } finally {
+ $.Zone__current = old;
+ }
+},
+
+_rootRunUnary: function($self, $parent, zone, f, arg) {
+ var old, t1, t2;
+ t1 = $.Zone__current;
+ t2 = zone;
+ if (t1 == null ? t2 == null : t1 === t2)
+ return f.call$1(arg);
+ old = t1;
+ try {
+ $.Zone__current = zone;
+ t1 = f.call$1(arg);
+ return t1;
+ } finally {
+ $.Zone__current = old;
+ }
+},
+
+_rootRunBinary: function($self, $parent, zone, f, arg1, arg2) {
+ var old, t1, t2;
+ t1 = $.Zone__current;
+ t2 = zone;
+ if (t1 == null ? t2 == null : t1 === t2)
+ return f.call$2(arg1, arg2);
+ old = t1;
+ try {
+ $.Zone__current = zone;
+ t1 = f.call$2(arg1, arg2);
+ return t1;
+ } finally {
+ $.Zone__current = old;
+ }
+},
+
+_AsyncError: {"": "Object;error>,stackTrace<", $isError: true},
+
+Future: {"": "Object;", $isFuture: true},
+
+Future_wait_handleError: {"": "Closure;box_0",
+ call$1: function(error) {
+ var t1 = this.box_0;
+ if (t1.values_1 != null) {
+ t1.values_1 = null;
+ t1.completer_0.completeError$1(error);
+ }
+ return;
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+Future_wait_closure: {"": "Closure;box_0,pos_1",
+ call$1: function(value) {
+ var t1, t2, t3;
+ t1 = this.box_0;
+ t2 = t1.values_1;
+ if (t2 == null)
+ return;
+ t3 = this.pos_1;
+ if (t3 < 0 || t3 >= t2.length)
+ throw H.ioore(t2, t3);
+ t2[t3] = value;
+ t1.remaining_2 = t1.remaining_2 - 1;
+ if (t1.remaining_2 === 0) {
+ t2 = t1.completer_0;
+ t1 = t1.values_1;
+ t2 = t2.future;
+ if (t2._state !== 0)
+ H.throwExpression(P.StateError$("Future already completed"));
+ t2._asyncComplete$1(t1);
+ }
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+_Completer: {"": "Object;"},
+
+_AsyncCompleter: {"": "_Completer;future",
+ complete$1: function(_, value) {
+ var t1 = this.future;
+ if (t1._state !== 0)
+ throw H.wrapException(P.StateError$("Future already completed"));
+ t1._asyncComplete$1(value);
+ },
+ get$complete: function(_receiver) {
+ return new P.BoundClosure$i1(this, P._AsyncCompleter.prototype.complete$1, _receiver, "complete$1");
+ },
+ completeError$2: function(error, stackTrace) {
+ var t1;
+ if (error == null)
+ throw H.wrapException(new P.ArgumentError("Error must not be null"));
+ t1 = this.future;
+ if (t1._state !== 0)
+ throw H.wrapException(P.StateError$("Future already completed"));
+ t1._asyncCompleteError$2(error, stackTrace);
+ },
+ completeError$1: function(error) {
+ return this.completeError$2(error, null);
+ },
+ $as_Completer: null
+},
+
+_Future: {"": "Object;_state,_zone<,_resultOrListeners,_nextListener@,_onValueCallback,_errorTestCallback,_onErrorCallback,_whenCompleteActionCallback",
+ get$_isComplete: function() {
+ return this._state >= 4;
+ },
+ get$_hasError: function() {
+ return this._state === 8;
+ },
+ set$_isChained: function(value) {
+ if (value)
+ this._state = 2;
+ else
+ this._state = 0;
+ },
+ get$_onValue: function() {
+ return this._state === 2 ? null : this._onValueCallback;
+ },
+ _onValue$1: function(arg0) {
+ return this.get$_onValue().call$1(arg0);
+ },
+ get$_errorTest: function() {
+ return this._state === 2 ? null : this._errorTestCallback;
+ },
+ get$_onError: function() {
+ return this._state === 2 ? null : this._onErrorCallback;
+ },
+ get$_whenCompleteAction: function() {
+ return this._state === 2 ? null : this._whenCompleteActionCallback;
+ },
+ _whenCompleteAction$0: function() {
+ return this.get$_whenCompleteAction().call$0();
+ },
+ then$2$onError: function(f, onError) {
+ var result = P._Future$_then(f, onError, null);
+ this._addListener$1(result);
+ return result;
+ },
+ then$1: function(f) {
+ return this.then$2$onError(f, null);
+ },
+ catchError$2$test: function(onError, test) {
+ var result = P._Future$_catchError(onError, test, null);
+ this._addListener$1(result);
+ return result;
+ },
+ catchError$1: function(onError) {
+ return this.catchError$2$test(onError, null);
+ },
+ whenComplete$1: function(action) {
+ var result = P._Future$_whenComplete(action, H.getRuntimeTypeArgument(this, "_Future", 0));
+ this._addListener$1(result);
+ return result;
+ },
+ get$_value: function() {
+ return this._resultOrListeners;
+ },
+ get$_error: function() {
+ return this._resultOrListeners;
+ },
+ _setValue$1: function(value) {
+ this._state = 4;
+ this._resultOrListeners = value;
+ },
+ _setError$2: function(error, stackTrace) {
+ this._state = 8;
+ this._resultOrListeners = new P._AsyncError(error, stackTrace);
+ },
+ _addListener$1: function(listener) {
+ if (this._state >= 4) {
+ this._zone.toString;
+ P._scheduleAsyncCallback(new P._Future__addListener_closure(this, listener));
+ } else {
+ listener.set$_nextListener(this._resultOrListeners);
+ this._resultOrListeners = listener;
+ }
+ },
+ _removeListeners$0: function() {
+ var current, prev, next;
+ current = this._resultOrListeners;
+ this._resultOrListeners = null;
+ for (prev = null; current != null; prev = current, current = next) {
+ next = current.get$_nextListener();
+ current.set$_nextListener(prev);
+ }
+ return prev;
+ },
+ _complete$1: function(value) {
+ var t1, listeners;
+ t1 = J.getInterceptor(value);
+ if (typeof value === "object" && value !== null && !!t1.$isFuture) {
+ P._Future__chainFutures(value, this);
+ return;
+ }
+ listeners = this._removeListeners$0();
+ this._setValue$1(value);
+ P._Future__propagateToListeners(this, listeners);
+ },
+ _completeError$2: function(error, stackTrace) {
+ var listeners = this._removeListeners$0();
+ this._setError$2(error, stackTrace);
+ P._Future__propagateToListeners(this, listeners);
+ },
+ get$_completeError: function() {
+ return new P.BoundClosure$2(this, P._Future.prototype._completeError$2, null, "_completeError$2");
+ },
+ _asyncComplete$1: function(value) {
+ var t1, t2;
+ t1 = J.getInterceptor(value);
+ t2 = typeof value === "object" && value !== null && !!t1.$isFuture;
+ if (t2)
+ ;
+ if (t2)
+ t1 = typeof value !== "object" || value === null || !t1.$is_Future || value._state < 4;
+ else
+ t1 = false;
+ if (t1) {
+ this._complete$1(value);
+ return;
+ }
+ if (this._state !== 0)
+ H.throwExpression(P.StateError$("Future already completed"));
+ this._state = 1;
+ this._zone.toString;
+ P._scheduleAsyncCallback(new P._Future__asyncComplete_closure(this, value));
+ },
+ _asyncCompleteError$2: function(error, stackTrace) {
+ if (this._state !== 0)
+ H.throwExpression(P.StateError$("Future already completed"));
+ this._state = 1;
+ this._zone.toString;
+ P._scheduleAsyncCallback(new P._Future__asyncCompleteError_closure(this, error, stackTrace));
+ },
+ _async$_Future$immediate$1: function(value, $T) {
+ this._asyncComplete$1(value);
+ },
+ $is_Future: true,
+ $isFuture: true,
+ static: {
+"": "_Future__INCOMPLETE,_Future__PENDING_COMPLETE,_Future__CHAINED,_Future__VALUE,_Future__ERROR",
+_Future$: function($T) {
+ var t1 = new P._Future(0, $.Zone__current, null, null, null, null, null, null);
+ H.setRuntimeTypeInfo(t1, [$T]);
+ return t1;
+},
+
+_Future$immediate: function(value, $T) {
+ var t1 = new P._Future(0, $.Zone__current, null, null, null, null, null, null);
+ H.setRuntimeTypeInfo(t1, [$T]);
+ t1._async$_Future$immediate$1(value, $T);
+ return t1;
+},
+
+_Future$_then: function(onValueCallback, onErrorCallback, $T) {
+ var t1 = $.Zone__current;
+ t1.toString;
+ t1 = new P._Future(0, t1, null, null, onValueCallback, null, P._registerErrorHandler(onErrorCallback, t1), null);
+ H.setRuntimeTypeInfo(t1, [$T]);
+ return t1;
+},
+
+_Future$_catchError: function(onErrorCallback, errorTestCallback, $T) {
+ var t1, t2;
+ t1 = $.Zone__current;
+ t2 = P._registerErrorHandler(onErrorCallback, t1);
+ $.Zone__current.toString;
+ t2 = new P._Future(0, t1, null, null, null, errorTestCallback, t2, null);
+ H.setRuntimeTypeInfo(t2, [$T]);
+ return t2;
+},
+
+_Future$_whenComplete: function(whenCompleteActionCallback, $T) {
+ var t1 = $.Zone__current;
+ t1.toString;
+ t1 = new P._Future(0, t1, null, null, null, null, null, whenCompleteActionCallback);
+ H.setRuntimeTypeInfo(t1, [$T]);
+ return t1;
+},
+
+_Future__chainFutures: function(source, target) {
+ var t1;
+ target.set$_isChained(true);
+ t1 = J.getInterceptor(source);
+ if (typeof source === "object" && source !== null && !!t1.$is_Future)
+ if (source._state >= 4)
+ P._Future__propagateToListeners(source, target);
+ else
+ source._addListener$1(target);
+ else
+ source.then$2$onError(new P._Future__chainFutures_closure(target), new P._Future__chainFutures_closure0(target));
+},
+
+_Future__propagateMultipleListeners: function(source, listeners) {
+ var listeners0;
+ do {
+ listeners0 = listeners.get$_nextListener();
+ listeners.set$_nextListener(null);
+ P._Future__propagateToListeners(source, listeners);
+ if (listeners0 != null) {
+ listeners = listeners0;
+ continue;
+ } else
+ break;
+ } while (true);
+},
+
+_Future__propagateToListeners: function(source, listeners) {
+ var t1, t2, hasError, asyncError, t3, t4, t5, chainSource, listeners0;
+ t1 = {};
+ t1.source_4 = source;
+ for (; true;) {
+ t2 = {};
+ if (!t1.source_4.get$_isComplete())
+ return;
+ hasError = t1.source_4.get$_hasError();
+ if (hasError && listeners == null) {
+ asyncError = t1.source_4.get$_error();
+ t2 = t1.source_4.get$_zone();
+ t3 = J.get$error$x(asyncError);
+ t4 = asyncError.get$stackTrace();
+ t2.toString;
+ P._rootHandleUncaughtError(t2, null, t2, t3, t4);
+ return;
+ }
+ if (listeners == null)
+ return;
+ if (listeners.get$_nextListener() != null) {
+ P._Future__propagateMultipleListeners(t1.source_4, listeners);
+ return;
+ }
+ if (hasError) {
+ t3 = t1.source_4.get$_zone();
+ t4 = listeners.get$_zone();
+ t3.toString;
+ t4.toString;
+ t3 = t4 == null ? t3 != null : t4 !== t3;
+ } else
+ t3 = false;
+ if (t3) {
+ asyncError = t1.source_4.get$_error();
+ t2 = t1.source_4.get$_zone();
+ t3 = J.get$error$x(asyncError);
+ t4 = asyncError.get$stackTrace();
+ t2.toString;
+ P._rootHandleUncaughtError(t2, null, t2, t3, t4);
+ return;
+ }
+ t3 = $.Zone__current;
+ t4 = listeners.get$_zone();
+ if (t3 == null ? t4 != null : t3 !== t4) {
+ t4.toString;
+ P._rootRun(t4, null, t4, new P._Future__propagateToListeners_closure(t1, listeners));
+ return;
+ }
+ t2.listenerHasValue_1 = null;
+ t2.listenerValueOrError_2 = null;
+ t2.isPropagationAborted_3 = false;
+ t3 = listeners.get$_zone();
+ t3.toString;
+ P._rootRun(t3, null, t3, new P._Future__propagateToListeners_closure0(t1, t2, hasError, listeners));
+ if (t2.isPropagationAborted_3)
+ return;
+ t3 = t2.listenerHasValue_1 === true;
+ if (t3) {
+ t4 = t2.listenerValueOrError_2;
+ t5 = J.getInterceptor(t4);
+ t5 = typeof t4 === "object" && t4 !== null && !!t5.$isFuture;
+ t4 = t5;
+ } else
+ t4 = false;
+ if (t4) {
+ chainSource = t2.listenerValueOrError_2;
+ t2 = J.getInterceptor(chainSource);
+ if (typeof chainSource === "object" && chainSource !== null && !!t2.$is_Future && chainSource._state >= 4) {
+ listeners.set$_isChained(true);
+ t1.source_4 = chainSource;
+ continue;
+ }
+ P._Future__chainFutures(chainSource, listeners);
+ return;
+ }
+ if (t3) {
+ listeners0 = listeners._removeListeners$0();
+ listeners._setValue$1(t2.listenerValueOrError_2);
+ } else {
+ listeners0 = listeners._removeListeners$0();
+ asyncError = t2.listenerValueOrError_2;
+ listeners._setError$2(J.get$error$x(asyncError), asyncError.get$stackTrace());
+ }
+ t1.source_4 = listeners;
+ listeners = listeners0;
+ }
+}}
+
+},
+
+_Future__addListener_closure: {"": "Closure;this_0,listener_1",
+ call$0: function() {
+ P._Future__propagateToListeners(this.this_0, this.listener_1);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_Future__chainFutures_closure: {"": "Closure;target_0",
+ call$1: function(value) {
+ this.target_0._complete$1(value);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+_Future__chainFutures_closure0: {"": "Closure;target_1",
+ call$2: function(error, stackTrace) {
+ this.target_1._completeError$2(error, stackTrace);
+ },
+ "+call:2:0": 0,
+ "*call": [0],
+ call$1: function(error) {
+ return this.call$2(error, null);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args2: true,
+ $is_args1: true
+},
+
+_Future__asyncComplete_closure: {"": "Closure;this_0,value_1",
+ call$0: function() {
+ this.this_0._complete$1(this.value_1);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_Future__asyncCompleteError_closure: {"": "Closure;this_0,error_1,stackTrace_2",
+ call$0: function() {
+ this.this_0._completeError$2(this.error_1, this.stackTrace_2);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_Future__propagateToListeners_closure: {"": "Closure;box_2,listener_3",
+ call$0: function() {
+ P._Future__propagateToListeners(this.box_2.source_4, this.listener_3);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_Future__propagateToListeners_closure0: {"": "Closure;box_2,box_1,hasError_4,listener_5",
+ call$0: function() {
+ var t1, value, asyncError, test, matchesTest, errorCallback, e, s, t2, t3, t4, exception;
+ t1 = {};
+ try {
+ t2 = this.box_2;
+ if (!this.hasError_4) {
+ value = t2.source_4.get$_value();
+ t2 = this.listener_5;
+ t3 = this.box_1;
+ if (t2.get$_onValue() != null) {
+ t3.listenerValueOrError_2 = t2._onValue$1(value);
+ t3.listenerHasValue_1 = true;
+ } else {
+ t3.listenerValueOrError_2 = value;
+ t3.listenerHasValue_1 = true;
+ }
+ } else {
+ asyncError = t2.source_4.get$_error();
+ t2 = this.listener_5;
+ test = t2.get$_errorTest();
+ matchesTest = true;
+ if (test != null)
+ matchesTest = test.call$1(J.get$error$x(asyncError));
+ t3 = matchesTest === true && t2.get$_onError() != null;
+ t4 = this.box_1;
+ if (t3) {
+ errorCallback = t2.get$_onError();
+ t4.listenerValueOrError_2 = P._invokeErrorHandler(errorCallback, J.get$error$x(asyncError), asyncError.get$stackTrace());
+ t4.listenerHasValue_1 = true;
+ } else {
+ t4.listenerValueOrError_2 = asyncError;
+ t4.listenerHasValue_1 = false;
+ }
+ }
+ t2 = this.listener_5;
+ if (t2.get$_whenCompleteAction() != null) {
+ t1.completeResult_0 = t2._whenCompleteAction$0();
+ t3 = t1.completeResult_0;
+ t4 = J.getInterceptor(t3);
+ if (typeof t3 === "object" && t3 !== null && !!t4.$isFuture) {
+ t2.set$_isChained(true);
+ t1.completeResult_0.then$2$onError(new P._Future__propagateToListeners__closure(this.box_2, t2), new P._Future__propagateToListeners__closure0(t1, t2));
+ this.box_1.isPropagationAborted_3 = true;
+ }
+ }
+ } catch (exception) {
+ t1 = H.unwrapException(exception);
+ e = t1;
+ s = new H._StackTrace(exception, null);
+ if (this.hasError_4) {
+ t1 = J.get$error$x(this.box_2.source_4.get$_error());
+ t2 = e;
+ t2 = t1 == null ? t2 == null : t1 === t2;
+ t1 = t2;
+ } else
+ t1 = false;
+ t2 = this.box_1;
+ if (t1)
+ t2.listenerValueOrError_2 = this.box_2.source_4.get$_error();
+ else
+ t2.listenerValueOrError_2 = new P._AsyncError(e, s);
+ this.box_1.listenerHasValue_1 = false;
+ }
+
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_Future__propagateToListeners__closure: {"": "Closure;box_2,listener_6",
+ call$1: function(ignored) {
+ P._Future__propagateToListeners(this.box_2.source_4, this.listener_6);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+_Future__propagateToListeners__closure0: {"": "Closure;box_0,listener_7",
+ call$2: function(error, stackTrace) {
+ var t1, t2, t3;
+ t1 = this.box_0;
+ t2 = t1.completeResult_0;
+ t3 = J.getInterceptor(t2);
+ if (typeof t2 !== "object" || t2 === null || !t3.$is_Future) {
+ t1.completeResult_0 = P._Future$(null);
+ t1.completeResult_0._setError$2(error, stackTrace);
+ }
+ P._Future__propagateToListeners(t1.completeResult_0, this.listener_7);
+ },
+ "+call:2:0": 0,
+ "*call": [0],
+ call$1: function(error) {
+ return this.call$2(error, null);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args2: true,
+ $is_args1: true
+},
+
+Stream: {"": "Object;",
+ map$1: function(_, convert) {
+ var t1 = new P._MapStream(convert, this);
+ H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "Stream", 0), null]);
+ return t1;
+ },
+ forEach$1: function(_, action) {
+ var t1, future;
+ t1 = {};
+ future = P._Future$(null);
+ t1.subscription_0 = null;
+ t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Stream_forEach_closure(t1, this, action, future), true, new P.Stream_forEach_closure0(future), future.get$_completeError());
+ return future;
+ },
+ get$length: function(_) {
+ var t1, future;
+ t1 = {};
+ future = P._Future$(J.JSInt);
+ t1.count_0 = 0;
+ this.listen$4$cancelOnError$onDone$onError(new P.Stream_length_closure(t1), true, new P.Stream_length_closure0(t1, future), future.get$_completeError());
+ return future;
+ }
+},
+
+Stream_forEach_closure: {"": "Closure;box_0,this_1,action_2,future_3",
+ call$1: function(element) {
+ P._runUserCode(new P.Stream_forEach__closure(this.action_2, element), new P.Stream_forEach__closure0(), P._cancelAndErrorClosure(this.box_0.subscription_0, this.future_3));
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+Stream_forEach__closure: {"": "Closure;action_4,element_5",
+ call$0: function() {
+ return this.action_4.call$1(this.element_5);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+Stream_forEach__closure0: {"": "Closure;",
+ call$1: function(_) {
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+Stream_forEach_closure0: {"": "Closure;future_6",
+ call$0: function() {
+ this.future_6._complete$1(null);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+Stream_length_closure: {"": "Closure;box_0",
+ call$1: function(_) {
+ var t1 = this.box_0;
+ t1.count_0 = t1.count_0 + 1;
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+Stream_length_closure0: {"": "Closure;box_0,future_1",
+ call$0: function() {
+ this.future_1._complete$1(this.box_0.count_0);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+StreamSubscription: {"": "Object;"},
+
+_StreamController: {"": "Object;",
+ get$_pendingEvents: function() {
+ if ((this._state & 8) === 0)
+ return this._varData;
+ return this._varData.get$varData();
+ },
+ _ensurePendingEvents$0: function() {
+ if ((this._state & 8) === 0) {
+ if (this._varData == null)
+ this._varData = new P._StreamImplEvents(null, null, 0);
+ return this._varData;
+ }
+ var t1 = this._varData.get$varData();
+ return t1;
+ },
+ get$_subscription: function() {
+ if ((this._state & 8) !== 0)
+ return this._varData.get$varData();
+ return this._varData;
+ },
+ _badEventState$0: function() {
+ if ((this._state & 4) !== 0)
+ return new P.StateError("Cannot add event after closing");
+ return new P.StateError("Cannot add event while adding a stream");
+ },
+ _ensureDoneFuture$0: function() {
+ if (this._doneFuture == null) {
+ this._doneFuture = P._Future$(null);
+ if ((this._state & 2) !== 0)
+ this._doneFuture._complete$1(null);
+ }
+ return this._doneFuture;
+ },
+ close$0: function(_) {
+ var t1 = this._state;
+ if ((t1 & 4) !== 0)
+ return this._doneFuture;
+ if (t1 >= 4)
+ throw H.wrapException(this._badEventState$0());
+ this._state = (t1 | 4) >>> 0;
+ this._ensureDoneFuture$0();
+ t1 = this._state;
+ if ((t1 & 1) !== 0)
+ this._sendDone$0();
+ else if ((t1 & 3) === 0) {
+ t1 = this._ensurePendingEvents$0();
+ t1.add$1(t1, C.C__DelayedDone);
+ }
+ return this._doneFuture;
+ },
+ _async$_add$1: function(value) {
+ var t1 = this._state;
+ if ((t1 & 1) !== 0)
+ this._sendData$1(value);
+ else if ((t1 & 3) === 0) {
+ t1 = this._ensurePendingEvents$0();
+ t1.add$1(t1, new P._DelayedData(value, null));
+ }
+ },
+ _addError$2: function(error, stackTrace) {
+ var t1 = this._state;
+ if ((t1 & 1) !== 0)
+ this._sendError$2(error, stackTrace);
+ else if ((t1 & 3) === 0) {
+ t1 = this._ensurePendingEvents$0();
+ t1.add$1(t1, new P._DelayedError(error, stackTrace, null));
+ }
+ },
+ _subscribe$1: function(cancelOnError) {
+ var t1, t2, subscription, pendingEvents, addState;
+ if ((this._state & 3) !== 0)
+ throw H.wrapException(P.StateError$("Stream has already been listened to."));
+ t1 = $.Zone__current;
+ t2 = cancelOnError ? 1 : 0;
+ subscription = new P._ControllerSubscription(this, null, null, null, t1, t2, null, null);
+ H.setRuntimeTypeInfo(subscription, [null]);
+ pendingEvents = this.get$_pendingEvents();
+ this._state = (this._state | 1) >>> 0;
+ if ((this._state & 8) !== 0) {
+ addState = this._varData;
+ addState.set$varData(subscription);
+ addState.resume$0();
+ } else
+ this._varData = subscription;
+ subscription._setPendingEvents$1(pendingEvents);
+ subscription._guardCallback$1(new P._StreamController__subscribe_closure(this));
+ return subscription;
+ },
+ _recordCancel$1: function(subscription) {
+ var t1, future;
+ if ((this._state & 8) !== 0)
+ this._varData.cancel$0();
+ this._varData = null;
+ this._state = (this._state & 4294967286 | 2) >>> 0;
+ t1 = new P._StreamController__recordCancel_complete(this);
+ future = P._runGuarded(this.get$_onCancel());
+ if (future != null)
+ future = future.whenComplete$1(t1);
+ else
+ t1.call$0();
+ return future;
+ }
+},
+
+_StreamController__subscribe_closure: {"": "Closure;this_0",
+ call$0: function() {
+ P._runGuarded(this.this_0.get$_onListen());
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_StreamController__recordCancel_complete: {"": "Closure;this_0",
+ call$0: function() {
+ var t1 = this.this_0._doneFuture;
+ if (t1 != null && t1._state === 0)
+ t1._asyncComplete$1(null);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_SyncStreamControllerDispatch: {"": "Object;",
+ _sendData$1: function(data) {
+ this.get$_subscription()._async$_add$1(data);
+ },
+ _sendError$2: function(error, stackTrace) {
+ this.get$_subscription()._addError$2(error, stackTrace);
+ },
+ _sendDone$0: function() {
+ this.get$_subscription()._close$0();
+ }
+},
+
+_AsyncStreamControllerDispatch: {"": "Object;",
+ _sendData$1: function(data) {
+ this.get$_subscription()._addPending$1(new P._DelayedData(data, null));
+ },
+ _sendError$2: function(error, stackTrace) {
+ this.get$_subscription()._addPending$1(new P._DelayedError(error, stackTrace, null));
+ },
+ _sendDone$0: function() {
+ this.get$_subscription()._addPending$1(C.C__DelayedDone);
+ }
+},
+
+_AsyncStreamController: {"": "_StreamController__AsyncStreamControllerDispatch;_onListen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture"},
+
+_StreamController__AsyncStreamControllerDispatch: {"": "_StreamController+_AsyncStreamControllerDispatch;"},
+
+_SyncStreamController: {"": "_StreamController__SyncStreamControllerDispatch;_onListen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture"},
+
+_StreamController__SyncStreamControllerDispatch: {"": "_StreamController+_SyncStreamControllerDispatch;"},
+
+_ControllerStream: {"": "_StreamImpl;_async$_controller",
+ _createSubscription$1: function(cancelOnError) {
+ return this._async$_controller._subscribe$1(cancelOnError);
+ },
+ get$hashCode: function(_) {
+ return (H.Primitives_objectHashCode(this._async$_controller) ^ 892482866) >>> 0;
+ },
+ $eq: function(_, other) {
+ var t1;
+ if (other == null)
+ return false;
+ if (this === other)
+ return true;
+ t1 = J.getInterceptor(other);
+ if (typeof other !== "object" || other === null || !t1.$is_ControllerStream)
+ return false;
+ return other._async$_controller === this._async$_controller;
+ },
+ $is_ControllerStream: true,
+ $as_StreamImpl: null
+},
+
+_ControllerSubscription: {"": "_BufferingStreamSubscription;_async$_controller,_async$_onData,_onError,_onDone,_zone,_state,_cancelFuture,_pending",
+ _onCancel$0: function() {
+ return this._async$_controller._recordCancel$1(this);
+ },
+ _onPause$0: function() {
+ var t1, addState;
+ t1 = this._async$_controller;
+ if ((t1._state & 8) !== 0) {
+ addState = t1._varData;
+ addState.pause$0(addState);
+ }
+ P._runGuarded(t1.get$_onPause());
+ },
+ get$_onPause: function() {
+ return new P.BoundClosure$0(this, P._ControllerSubscription.prototype._onPause$0, null, "_onPause$0");
+ },
+ _onResume$0: function() {
+ var t1 = this._async$_controller;
+ if ((t1._state & 8) !== 0)
+ t1._varData.resume$0();
+ P._runGuarded(t1.get$_onResume());
+ },
+ get$_onResume: function() {
+ return new P.BoundClosure$0(this, P._ControllerSubscription.prototype._onResume$0, null, "_onResume$0");
+ },
+ $as_BufferingStreamSubscription: null
+},
+
+_EventSink: {"": "Object;"},
+
+_BufferingStreamSubscription: {"": "Object;_async$_onData,_onError<,_onDone,_zone<,_state,_cancelFuture,_pending",
+ _setPendingEvents$1: function(pendingEvents) {
+ if (pendingEvents == null)
+ return;
+ this._pending = pendingEvents;
+ if (!pendingEvents.get$isEmpty(pendingEvents)) {
+ this._state = (this._state | 64) >>> 0;
+ this._pending.schedule$1(this);
+ }
+ },
+ onData$1: function(handleData) {
+ $.Zone__current.toString;
+ this._async$_onData = handleData;
+ },
+ onError$1: function(_, handleError) {
+ this._onError = P._registerErrorHandler(handleError, $.Zone__current);
+ },
+ onDone$1: function(handleDone) {
+ $.Zone__current.toString;
+ this._onDone = handleDone;
+ },
+ pause$1: function(_, resumeSignal) {
+ var t1 = this._state;
+ if ((t1 & 8) !== 0)
+ return;
+ this._state = (t1 + 128 | 4) >>> 0;
+ if (t1 < 128 && this._pending != null)
+ this._pending.cancelSchedule$0();
+ if ((t1 & 4) === 0 && (this._state & 32) === 0)
+ this._guardCallback$1(this.get$_onPause());
+ },
+ pause$0: function($receiver) {
+ return this.pause$1($receiver, null);
+ },
+ resume$0: function() {
+ var t1 = this._state;
+ if ((t1 & 8) !== 0)
+ return;
+ if (t1 >= 128) {
+ this._state = t1 - 128;
+ t1 = this._state;
+ if (t1 < 128) {
+ if ((t1 & 64) !== 0) {
+ t1 = this._pending;
+ t1 = !t1.get$isEmpty(t1);
+ } else
+ t1 = false;
+ if (t1)
+ this._pending.schedule$1(this);
+ else {
+ this._state = (this._state & 4294967291) >>> 0;
+ if ((this._state & 32) === 0)
+ this._guardCallback$1(this.get$_onResume());
+ }
+ }
+ }
+ },
+ cancel$0: function() {
+ this._state = (this._state & 4294967279) >>> 0;
+ if ((this._state & 8) !== 0)
+ return this._cancelFuture;
+ this._cancel$0();
+ return this._cancelFuture;
+ },
+ get$_mayResumeInput: function() {
+ if (this._state < 128) {
+ var t1 = this._pending;
+ t1 = t1 == null || t1.get$isEmpty(t1);
+ } else
+ t1 = false;
+ return t1;
+ },
+ _cancel$0: function() {
+ this._state = (this._state | 8) >>> 0;
+ if ((this._state & 64) !== 0)
+ this._pending.cancelSchedule$0();
+ if ((this._state & 32) === 0)
+ this._pending = null;
+ this._cancelFuture = this._onCancel$0();
+ },
+ _async$_add$1: function(data) {
+ var t1 = this._state;
+ if ((t1 & 8) !== 0)
+ return;
+ if (t1 < 32)
+ this._sendData$1(data);
+ else
+ this._addPending$1(new P._DelayedData(data, null));
+ },
+ _addError$2: function(error, stackTrace) {
+ var t1 = this._state;
+ if ((t1 & 8) !== 0)
+ return;
+ if (t1 < 32)
+ this._sendError$2(error, stackTrace);
+ else
+ this._addPending$1(new P._DelayedError(error, stackTrace, null));
+ },
+ _close$0: function() {
+ var t1 = this._state;
+ if ((t1 & 8) !== 0)
+ return;
+ this._state = (t1 | 2) >>> 0;
+ if (this._state < 32)
+ this._sendDone$0();
+ else
+ this._addPending$1(C.C__DelayedDone);
+ },
+ _onPause$0: function() {
+ },
+ get$_onPause: function() {
+ return new P.BoundClosure$0(this, P._BufferingStreamSubscription.prototype._onPause$0, null, "_onPause$0");
+ },
+ _onResume$0: function() {
+ },
+ get$_onResume: function() {
+ return new P.BoundClosure$0(this, P._BufferingStreamSubscription.prototype._onResume$0, null, "_onResume$0");
+ },
+ _onCancel$0: function() {
+ },
+ _addPending$1: function($event) {
+ var pending, t1;
+ pending = this._pending;
+ if (pending == null) {
+ pending = new P._StreamImplEvents(null, null, 0);
+ this._pending = pending;
+ }
+ pending.add$1(pending, $event);
+ t1 = this._state;
+ if ((t1 & 64) === 0) {
+ this._state = (t1 | 64) >>> 0;
+ if (this._state < 128)
+ this._pending.schedule$1(this);
+ }
+ },
+ _sendData$1: function(data) {
+ var t1 = this._state;
+ this._state = (t1 | 32) >>> 0;
+ this._zone.runUnaryGuarded$2(this._async$_onData, data);
+ this._state = (this._state & 4294967263) >>> 0;
+ this._checkState$1((t1 & 4) !== 0);
+ },
+ _sendError$2: function(error, stackTrace) {
+ var t1, t2, t3;
+ t1 = this._state;
+ t2 = new P._BufferingStreamSubscription__sendError_sendError(this, error, stackTrace);
+ if ((t1 & 1) !== 0) {
+ this._state = (t1 | 16) >>> 0;
+ this._cancel$0();
+ t1 = this._cancelFuture;
+ t3 = J.getInterceptor(t1);
+ if (typeof t1 === "object" && t1 !== null && !!t3.$isFuture)
+ t1.whenComplete$1(t2);
+ else
+ t2.call$0();
+ } else {
+ t2.call$0();
+ this._checkState$1((t1 & 4) !== 0);
+ }
+ },
+ _sendDone$0: function() {
+ var t1, t2, t3;
+ t1 = new P._BufferingStreamSubscription__sendDone_sendDone(this);
+ this._cancel$0();
+ this._state = (this._state | 16) >>> 0;
+ t2 = this._cancelFuture;
+ t3 = J.getInterceptor(t2);
+ if (typeof t2 === "object" && t2 !== null && !!t3.$isFuture)
+ t2.whenComplete$1(t1);
+ else
+ t1.call$0();
+ },
+ _guardCallback$1: function(callback) {
+ var t1 = this._state;
+ this._state = (t1 | 32) >>> 0;
+ callback.call$0();
+ this._state = (this._state & 4294967263) >>> 0;
+ this._checkState$1((t1 & 4) !== 0);
+ },
+ _checkState$1: function(wasInputPaused) {
+ var t1, isInputPaused;
+ if ((this._state & 64) !== 0) {
+ t1 = this._pending;
+ t1 = t1.get$isEmpty(t1);
+ } else
+ t1 = false;
+ if (t1) {
+ this._state = (this._state & 4294967231) >>> 0;
+ if ((this._state & 4) !== 0 && this.get$_mayResumeInput())
+ this._state = (this._state & 4294967291) >>> 0;
+ }
+ for (; true; wasInputPaused = isInputPaused) {
+ t1 = this._state;
+ if ((t1 & 8) !== 0) {
+ this._pending = null;
+ return;
+ }
+ isInputPaused = (t1 & 4) !== 0;
+ if (wasInputPaused === isInputPaused)
+ break;
+ this._state = (t1 ^ 32) >>> 0;
+ if (isInputPaused)
+ this._onPause$0();
+ else
+ this._onResume$0();
+ this._state = (this._state & 4294967263) >>> 0;
+ }
+ t1 = this._state;
+ if ((t1 & 64) !== 0 && t1 < 128)
+ this._pending.schedule$1(this);
+ },
+ static: {
+"": "_BufferingStreamSubscription__STATE_CANCEL_ON_ERROR,_BufferingStreamSubscription__STATE_CLOSED,_BufferingStreamSubscription__STATE_INPUT_PAUSED,_BufferingStreamSubscription__STATE_CANCELED,_BufferingStreamSubscription__STATE_WAIT_FOR_CANCEL,_BufferingStreamSubscription__STATE_IN_CALLBACK,_BufferingStreamSubscription__STATE_HAS_PENDING,_BufferingStreamSubscription__STATE_PAUSE_COUNT,_BufferingStreamSubscription__STATE_PAUSE_COUNT_SHIFT",
+}
+
+},
+
+_BufferingStreamSubscription__sendError_sendError: {"": "Closure;this_0,error_1,stackTrace_2",
+ call$0: function() {
+ var t1, t2, t3, t4, t5;
+ t1 = this.this_0;
+ t2 = t1._state;
+ if ((t2 & 8) !== 0 && (t2 & 16) === 0)
+ return;
+ t1._state = (t2 | 32) >>> 0;
+ t2 = t1._zone;
+ t3 = $.Zone__current;
+ t2.toString;
+ t3.toString;
+ if (t3 == null ? t2 != null : t3 !== t2)
+ P._rootHandleUncaughtError(t3, null, t3, this.error_1, this.stackTrace_2);
+ else {
+ t3 = t1._onError;
+ t4 = J.getInterceptor(t3);
+ t5 = this.error_1;
+ if (!!t4.$is_args2)
+ t2.runBinaryGuarded$3(t3, t5, this.stackTrace_2);
+ else
+ t2.runUnaryGuarded$2(t3, t5);
+ }
+ t1._state = (t1._state & 4294967263) >>> 0;
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_BufferingStreamSubscription__sendDone_sendDone: {"": "Closure;this_0",
+ call$0: function() {
+ var t1, t2;
+ t1 = this.this_0;
+ t2 = t1._state;
+ if ((t2 & 16) === 0)
+ return;
+ t1._state = (t2 | 42) >>> 0;
+ t1._zone.runGuarded$1(t1._onDone);
+ t1._state = (t1._state & 4294967263) >>> 0;
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_StreamImpl: {"": "Stream;",
+ listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) {
+ var subscription = this._createSubscription$1(true === cancelOnError);
+ subscription.onData$1(onData);
+ subscription.onError$1(subscription, onError);
+ subscription.onDone$1(onDone);
+ return subscription;
+ },
+ listen$3$onDone$onError: function(onData, onDone, onError) {
+ return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError);
+ },
+ _createSubscription$1: function(cancelOnError) {
+ var t1, t2;
+ t1 = $.Zone__current;
+ t2 = cancelOnError ? 1 : 0;
+ return new P._BufferingStreamSubscription(null, null, null, t1, t2, null, null);
+ },
+ $asStream: null
+},
+
+_DelayedEvent: {"": "Object;next@"},
+
+_DelayedData: {"": "_DelayedEvent;value,next",
+ perform$1: function(dispatch) {
+ dispatch._sendData$1(this.value);
+ }
+},
+
+_DelayedError: {"": "_DelayedEvent;error>,stackTrace<,next",
+ perform$1: function(dispatch) {
+ dispatch._sendError$2(this.error, this.stackTrace);
+ }
+},
+
+_DelayedDone: {"": "Object;",
+ perform$1: function(dispatch) {
+ dispatch._sendDone$0();
+ },
+ get$next: function() {
+ return;
+ },
+ set$next: function(_) {
+ throw H.wrapException(P.StateError$("No events after a done."));
+ }
+},
+
+_PendingEvents: {"": "Object;",
+ schedule$1: function(dispatch) {
+ var t1 = this._state;
+ if (t1 === 1)
+ return;
+ if (t1 >= 1) {
+ this._state = 1;
+ return;
+ }
+ P.scheduleMicrotask(new P._PendingEvents_schedule_closure(this, dispatch));
+ this._state = 1;
+ },
+ cancelSchedule$0: function() {
+ if (this._state === 1)
+ this._state = 3;
+ }
+},
+
+_PendingEvents_schedule_closure: {"": "Closure;this_0,dispatch_1",
+ call$0: function() {
+ var t1, oldState;
+ t1 = this.this_0;
+ oldState = t1._state;
+ t1._state = 0;
+ if (oldState === 3)
+ return;
+ t1.handleNext$1(this.dispatch_1);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_StreamImplEvents: {"": "_PendingEvents;firstPendingEvent,lastPendingEvent,_state",
+ get$isEmpty: function(_) {
+ return this.lastPendingEvent == null;
+ },
+ add$1: function(_, $event) {
+ var t1 = this.lastPendingEvent;
+ if (t1 == null) {
+ this.lastPendingEvent = $event;
+ this.firstPendingEvent = $event;
+ } else {
+ t1.set$next($event);
+ this.lastPendingEvent = $event;
+ }
+ },
+ handleNext$1: function(dispatch) {
+ var $event = this.firstPendingEvent;
+ this.firstPendingEvent = $event.get$next();
+ if (this.firstPendingEvent == null)
+ this.lastPendingEvent = null;
+ $event.perform$1(dispatch);
+ }
+},
+
+_cancelAndError_closure: {"": "Closure;future_0,error_1,stackTrace_2",
+ call$0: function() {
+ return this.future_0._completeError$2(this.error_1, this.stackTrace_2);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_cancelAndErrorClosure_closure: {"": "Closure;subscription_0,future_1",
+ call$2: function(error, stackTrace) {
+ return P._cancelAndError(this.subscription_0, this.future_1, error, stackTrace);
+ },
+ "+call:2:0": 0,
+ $isFunction: true,
+ $is_args2: true
+},
+
+_ForwardingStream: {"": "Stream;",
+ listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) {
+ var result = P._ForwardingStreamSubscription$(this, true === cancelOnError, H.getRuntimeTypeArgument(this, "_ForwardingStream", 0), H.getRuntimeTypeArgument(this, "_ForwardingStream", 1));
+ result.onData$1(onData);
+ result.onError$1(result, onError);
+ result.onDone$1(onDone);
+ return result;
+ },
+ listen$3$onDone$onError: function(onData, onDone, onError) {
+ return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError);
+ },
+ _handleData$2: function(data, sink) {
+ sink._async$_add$1(data);
+ },
+ $asStream: function($S, $T) {
+ return [$T];
+ }
+},
+
+_ForwardingStreamSubscription: {"": "_BufferingStreamSubscription;_stream,_subscription,_async$_onData,_onError,_onDone,_zone,_state,_cancelFuture,_pending",
+ _async$_add$1: function(data) {
+ if ((this._state & 2) !== 0)
+ return;
+ P._BufferingStreamSubscription.prototype._async$_add$1.call(this, data);
+ },
+ _addError$2: function(error, stackTrace) {
+ if ((this._state & 2) !== 0)
+ return;
+ P._BufferingStreamSubscription.prototype._addError$2.call(this, error, stackTrace);
+ },
+ _onPause$0: function() {
+ var t1 = this._subscription;
+ if (t1 == null)
+ return;
+ t1.pause$0(t1);
+ },
+ get$_onPause: function() {
+ return new P.BoundClosure$0(this, P._ForwardingStreamSubscription.prototype._onPause$0, null, "_onPause$0");
+ },
+ _onResume$0: function() {
+ var t1 = this._subscription;
+ if (t1 == null)
+ return;
+ t1.resume$0();
+ },
+ get$_onResume: function() {
+ return new P.BoundClosure$0(this, P._ForwardingStreamSubscription.prototype._onResume$0, null, "_onResume$0");
+ },
+ _onCancel$0: function() {
+ var t1 = this._subscription;
+ if (t1 != null) {
+ this._subscription = null;
+ t1.cancel$0();
+ }
+ return;
+ },
+ _handleData$1: function(data) {
+ this._stream._handleData$2(data, this);
+ },
+ get$_handleData: function() {
+ return new H.BoundClosure$1(this, P._ForwardingStreamSubscription.prototype._handleData$1, null, "_handleData$1");
+ },
+ _handleError$2: function(error, stackTrace) {
+ this._addError$2(error, stackTrace);
+ },
+ get$_handleError: function() {
+ return new P.BoundClosure$20(this, P._ForwardingStreamSubscription.prototype._handleError$2, null, "_handleError$2");
+ },
+ _handleDone$0: function() {
+ this._close$0();
+ },
+ get$_handleDone: function() {
+ return new P.BoundClosure$0(this, P._ForwardingStreamSubscription.prototype._handleDone$0, null, "_handleDone$0");
+ },
+ _ForwardingStreamSubscription$2: function(_stream, cancelOnError, $S, $T) {
+ var t1, t2;
+ t1 = this.get$_handleData();
+ t2 = this.get$_handleError();
+ this._subscription = this._stream._source.listen$3$onDone$onError(t1, this.get$_handleDone(), t2);
+ },
+ $as_BufferingStreamSubscription: function($S, $T) {
+ return [$T];
+ },
+ static: {
+_ForwardingStreamSubscription$: function(_stream, cancelOnError, $S, $T) {
+ var t1, t2;
+ t1 = $.Zone__current;
+ t2 = cancelOnError ? 1 : 0;
+ t2 = new P._ForwardingStreamSubscription(_stream, null, null, null, null, t1, t2, null, null);
+ H.setRuntimeTypeInfo(t2, [$S, $T]);
+ t2._ForwardingStreamSubscription$2(_stream, cancelOnError, $S, $T);
+ return t2;
+}}
+
+},
+
+_MapStream: {"": "_ForwardingStream;_transform,_source",
+ _transform$1: function(arg0) {
+ return this._transform.call$1(arg0);
+ },
+ _handleData$2: function(inputEvent, sink) {
+ var outputEvent, e, s, exception, t1;
+ outputEvent = null;
+ try {
+ outputEvent = this._transform$1(inputEvent);
+ } catch (exception) {
+ t1 = H.unwrapException(exception);
+ e = t1;
+ s = new H._StackTrace(exception, null);
+ sink._addError$2(e, s);
+ return;
+ }
+
+ sink._async$_add$1(outputEvent);
+ },
+ $as_ForwardingStream: null
+},
+
+_BaseZone: {"": "Object;",
+ runGuarded$1: function(f) {
+ var e, s, t1, exception;
+ try {
+ t1 = this.run$1(f);
+ return t1;
+ } catch (exception) {
+ t1 = H.unwrapException(exception);
+ e = t1;
+ s = new H._StackTrace(exception, null);
+ return this.handleUncaughtError$2(e, s);
+ }
+
+ },
+ runUnaryGuarded$2: function(f, arg) {
+ var e, s, t1, exception;
+ try {
+ t1 = this.runUnary$2(f, arg);
+ return t1;
+ } catch (exception) {
+ t1 = H.unwrapException(exception);
+ e = t1;
+ s = new H._StackTrace(exception, null);
+ return this.handleUncaughtError$2(e, s);
+ }
+
+ },
+ runBinaryGuarded$3: function(f, arg1, arg2) {
+ var e, s, t1, exception;
+ try {
+ t1 = this.runBinary$3(f, arg1, arg2);
+ return t1;
+ } catch (exception) {
+ t1 = H.unwrapException(exception);
+ e = t1;
+ s = new H._StackTrace(exception, null);
+ return this.handleUncaughtError$2(e, s);
+ }
+
+ },
+ bindCallback$2$runGuarded: function(f, runGuarded) {
+ var registered = this.registerCallback$1(f);
+ if (runGuarded)
+ return new P._BaseZone_bindCallback_closure(this, registered);
+ else
+ return new P._BaseZone_bindCallback_closure0(this, registered);
+ },
+ bindUnaryCallback$2$runGuarded: function(f, runGuarded) {
+ var registered = this.registerUnaryCallback$1(f);
+ if (runGuarded)
+ return new P._BaseZone_bindUnaryCallback_closure(this, registered);
+ else
+ return new P._BaseZone_bindUnaryCallback_closure0(this, registered);
+ }
+},
+
+_BaseZone_bindCallback_closure: {"": "Closure;this_0,registered_1",
+ call$0: function() {
+ return this.this_0.runGuarded$1(this.registered_1);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_BaseZone_bindCallback_closure0: {"": "Closure;this_2,registered_3",
+ call$0: function() {
+ return this.this_2.run$1(this.registered_3);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_BaseZone_bindUnaryCallback_closure: {"": "Closure;this_0,registered_1",
+ call$1: function(arg) {
+ return this.this_0.runUnaryGuarded$2(this.registered_1, arg);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+_BaseZone_bindUnaryCallback_closure0: {"": "Closure;this_2,registered_3",
+ call$1: function(arg) {
+ return this.this_2.runUnary$2(this.registered_3, arg);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+_rootHandleUncaughtError_closure: {"": "Closure;error_0,stackTrace_1",
+ call$0: function() {
+ P._scheduleAsyncCallback(new P._rootHandleUncaughtError__closure(this.error_0, this.stackTrace_1));
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_rootHandleUncaughtError__closure: {"": "Closure;error_2,stackTrace_3",
+ call$0: function() {
+ var t1, trace, t2;
+ t1 = this.error_2;
+ P.print("Uncaught Error: " + H.S(t1));
+ trace = this.stackTrace_3;
+ if (trace == null) {
+ t2 = J.getInterceptor(t1);
+ t2 = typeof t1 === "object" && t1 !== null && !!t2.$isError;
+ } else
+ t2 = false;
+ if (t2)
+ trace = t1.get$stackTrace();
+ if (trace != null)
+ P.print("Stack Trace: \n" + H.S(trace) + "\n");
+ throw H.wrapException(t1);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+_RootZone: {"": "_BaseZone;",
+ $index: function(_, key) {
+ return;
+ },
+ handleUncaughtError$2: function(error, stackTrace) {
+ return P._rootHandleUncaughtError(this, null, this, error, stackTrace);
+ },
+ run$1: function(f) {
+ return P._rootRun(this, null, this, f);
+ },
+ runUnary$2: function(f, arg) {
+ return P._rootRunUnary(this, null, this, f, arg);
+ },
+ runBinary$3: function(f, arg1, arg2) {
+ return P._rootRunBinary(this, null, this, f, arg1, arg2);
+ },
+ registerCallback$1: function(f) {
+ return f;
+ },
+ registerUnaryCallback$1: function(f) {
+ return f;
+ }
+}}],
+["dart.collection", "dart:collection", , P, {
+_defaultEquals: function(a, b) {
+ return J.$eq(a, b);
+},
+
+_defaultHashCode: function(a) {
+ return J.get$hashCode$(a);
+},
+
+HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) {
+ var t1 = new P._HashMap(0, null, null, null, null);
+ H.setRuntimeTypeInfo(t1, [$K, $V]);
+ return t1;
+},
+
+HashMap_HashMap$identity: function($K, $V) {
+ var t1 = new P._IdentityHashMap(0, null, null, null, null);
+ H.setRuntimeTypeInfo(t1, [$K, $V]);
+ return t1;
+},
+
+HashSet_HashSet$identity: function($E) {
+ var t1 = new P._IdentityHashSet(0, null, null, null, null);
+ H.setRuntimeTypeInfo(t1, [$E]);
+ return t1;
+},
+
+_iterableToString: function(iterable) {
+ var parts, t1;
+ t1 = $.get$_toStringVisiting();
+ if (t1.contains$1(t1, iterable))
+ return "(...)";
+ t1 = $.get$_toStringVisiting();
+ t1.add$1(t1, iterable);
+ parts = [];
+ try {
+ P._iterablePartsToStrings(iterable, parts);
+ } finally {
+ t1 = $.get$_toStringVisiting();
+ t1.remove$1(t1, iterable);
+ }
+ t1 = P.StringBuffer$("(");
+ t1.writeAll$2(parts, ", ");
+ t1.write$1(")");
+ return t1._contents;
+},
+
+_iterablePartsToStrings: function(iterable, parts) {
+ var it, $length, count, next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision;
+ it = iterable.get$iterator(iterable);
+ $length = 0;
+ count = 0;
+ while (true) {
+ if (!($length < 80 || count < 3))
+ break;
+ if (!it.moveNext$0())
+ return;
+ next = H.S(it.get$current());
+ parts.push(next);
+ $length += next.length + 2;
+ ++count;
+ }
+ if (!it.moveNext$0()) {
+ if (count <= 5)
+ return;
+ if (0 >= parts.length)
+ throw H.ioore(parts, 0);
+ ultimateString = parts.pop();
+ if (0 >= parts.length)
+ throw H.ioore(parts, 0);
+ penultimateString = parts.pop();
+ } else {
+ penultimate = it.get$current();
+ ++count;
+ if (!it.moveNext$0()) {
+ if (count <= 4) {
+ parts.push(H.S(penultimate));
+ return;
+ }
+ ultimateString = H.S(penultimate);
+ if (0 >= parts.length)
+ throw H.ioore(parts, 0);
+ penultimateString = parts.pop();
+ $length += ultimateString.length + 2;
+ } else {
+ ultimate = it.get$current();
+ ++count;
+ for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
+ ultimate0 = it.get$current();
+ ++count;
+ if (count > 100) {
+ while (true) {
+ if (!($length > 75 && count > 3))
+ break;
+ if (0 >= parts.length)
+ throw H.ioore(parts, 0);
+ $length -= parts.pop().length + 2;
+ --count;
+ }
+ parts.push("...");
+ return;
+ }
+ }
+ penultimateString = H.S(penultimate);
+ ultimateString = H.S(ultimate);
+ $length += ultimateString.length + penultimateString.length + 4;
+ }
+ }
+ if (count > parts.length + 2) {
+ $length += 5;
+ elision = "...";
+ } else
+ elision = null;
+ while (true) {
+ if (!($length > 80 && parts.length > 3))
+ break;
+ if (0 >= parts.length)
+ throw H.ioore(parts, 0);
+ $length -= parts.pop().length + 2;
+ if (elision == null) {
+ $length += 5;
+ elision = "...";
+ }
+ }
+ if (elision != null)
+ parts.push(elision);
+ parts.push(penultimateString);
+ parts.push(ultimateString);
+},
+
+LinkedHashMap_LinkedHashMap: function(equals, hashCode, isValidKey, $K, $V) {
+ var t1 = new P._LinkedHashMap(0, null, null, null, null, null, 0);
+ H.setRuntimeTypeInfo(t1, [$K, $V]);
+ return t1;
+},
+
+Maps_mapToString: function(m) {
+ var t1, result, i, t2;
+ t1 = {};
+ for (i = 0; i < $.get$Maps__toStringList().length; ++i) {
+ t2 = $.get$Maps__toStringList();
+ if (i >= t2.length)
+ throw H.ioore(t2, i);
+ if (t2[i] === m)
+ return "{...}";
+ }
+ result = P.StringBuffer$("");
+ try {
+ $.get$Maps__toStringList().push(m);
+ result.write$1("{");
+ t1.first_0 = true;
+ J.forEach$1$ax(m, new P.Maps_mapToString_closure(t1, result));
+ result.write$1("}");
+ } finally {
+ t1 = $.get$Maps__toStringList();
+ if (0 >= t1.length)
+ throw H.ioore(t1, 0);
+ t1.pop();
+ }
+ return result.get$_contents();
+},
+
+_HashMap: {"": "Object;_collection$_length,_strings,_nums,_rest,_keys",
+ get$length: function(_) {
+ return this._collection$_length;
+ },
+ get$keys: function() {
+ var t1 = new P.HashMapKeyIterable(this);
+ H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_HashMap", 0)]);
+ return t1;
+ },
+ get$values: function(_) {
+ var t1 = new P.HashMapKeyIterable(this);
+ H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_HashMap", 0)]);
+ return H.MappedIterable_MappedIterable(t1, new P._HashMap_values_closure(this), H.getRuntimeTypeArgument(t1, "IterableBase", 0), null);
+ },
+ containsKey$1: function(key) {
+ var strings, nums, rest;
+ if (typeof key === "string" && key !== "__proto__") {
+ strings = this._strings;
+ return strings == null ? false : strings[key] != null;
+ } else if (typeof key === "number" && (key & 0x3ffffff) === key) {
+ nums = this._nums;
+ return nums == null ? false : nums[key] != null;
+ } else {
+ rest = this._rest;
+ if (rest == null)
+ return false;
+ return this._findBucketIndex$2(rest[this._computeHashCode$1(key)], key) >= 0;
+ }
+ },
+ $index: function(_, key) {
+ var strings, t1, entry, nums, rest, bucket, index;
+ if (typeof key === "string" && key !== "__proto__") {
+ strings = this._strings;
+ if (strings == null)
+ t1 = null;
+ else {
+ entry = strings[key];
+ t1 = entry === strings ? null : entry;
+ }
+ return t1;
+ } else if (typeof key === "number" && (key & 0x3ffffff) === key) {
+ nums = this._nums;
+ if (nums == null)
+ t1 = null;
+ else {
+ entry = nums[key];
+ t1 = entry === nums ? null : entry;
+ }
+ return t1;
+ } else {
+ rest = this._rest;
+ if (rest == null)
+ return;
+ bucket = rest[this._computeHashCode$1(key)];
+ index = this._findBucketIndex$2(bucket, key);
+ return index < 0 ? null : bucket[index + 1];
+ }
+ },
+ $indexSet: function(_, key, value) {
+ var strings, nums, rest, hash, bucket, index;
+ if (typeof key === "string" && key !== "__proto__") {
+ strings = this._strings;
+ if (strings == null) {
+ strings = P._HashMap__newHashTable();
+ this._strings = strings;
+ }
+ this._addHashTableEntry$3(strings, key, value);
+ } else if (typeof key === "number" && (key & 0x3ffffff) === key) {
+ nums = this._nums;
+ if (nums == null) {
+ nums = P._HashMap__newHashTable();
+ this._nums = nums;
+ }
+ this._addHashTableEntry$3(nums, key, value);
+ } else {
+ rest = this._rest;
+ if (rest == null) {
+ rest = P._HashMap__newHashTable();
+ this._rest = rest;
+ }
+ hash = this._computeHashCode$1(key);
+ bucket = rest[hash];
+ if (bucket == null) {
+ P._HashMap__setTableEntry(rest, hash, [key, value]);
+ this._collection$_length = this._collection$_length + 1;
+ this._keys = null;
+ } else {
+ index = this._findBucketIndex$2(bucket, key);
+ if (index >= 0)
+ bucket[index + 1] = value;
+ else {
+ bucket.push(key, value);
+ this._collection$_length = this._collection$_length + 1;
+ this._keys = null;
+ }
+ }
+ }
+ },
+ forEach$1: function(_, action) {
+ var keys, $length, i, key;
+ keys = this._computeKeys$0();
+ for ($length = keys.length, i = 0; i < $length; ++i) {
+ key = keys[i];
+ action.call$2(key, this.$index(this, key));
+ if (keys !== this._keys)
+ throw H.wrapException(P.ConcurrentModificationError$(this));
+ }
+ },
+ _computeKeys$0: function() {
+ var t1, result, strings, names, entries, index, i, nums, rest, bucket, $length, i0;
+ t1 = this._keys;
+ if (t1 != null)
+ return t1;
+ result = P.List_List(this._collection$_length, null);
+ strings = this._strings;
+ if (strings != null) {
+ names = Object.getOwnPropertyNames(strings);
+ entries = names.length;
+ for (index = 0, i = 0; i < entries; ++i) {
+ result[index] = names[i];
+ ++index;
+ }
+ } else
+ index = 0;
+ nums = this._nums;
+ if (nums != null) {
+ names = Object.getOwnPropertyNames(nums);
+ entries = names.length;
+ for (i = 0; i < entries; ++i) {
+ result[index] = +names[i];
+ ++index;
+ }
+ }
+ rest = this._rest;
+ if (rest != null) {
+ names = Object.getOwnPropertyNames(rest);
+ entries = names.length;
+ for (i = 0; i < entries; ++i) {
+ bucket = rest[names[i]];
+ $length = bucket.length;
+ for (i0 = 0; i0 < $length; i0 += 2) {
+ result[index] = bucket[i0];
+ ++index;
+ }
+ }
+ }
+ this._keys = result;
+ return result;
+ },
+ _addHashTableEntry$3: function(table, key, value) {
+ if (table[key] == null) {
+ this._collection$_length = this._collection$_length + 1;
+ this._keys = null;
+ }
+ P._HashMap__setTableEntry(table, key, value);
+ },
+ _computeHashCode$1: function(key) {
+ return J.get$hashCode$(key) & 0x3ffffff;
+ },
+ _findBucketIndex$2: function(bucket, key) {
+ var $length, i;
+ if (bucket == null)
+ return -1;
+ $length = bucket.length;
+ for (i = 0; i < $length; i += 2)
+ if (J.$eq(bucket[i], key))
+ return i;
+ return -1;
+ },
+ $isMap: true,
+ static: {
+_HashMap__setTableEntry: function(table, key, value) {
+ if (value == null)
+ table[key] = table;
+ else
+ table[key] = value;
+},
+
+_HashMap__newHashTable: function() {
+ var table = Object.create(null);
+ P._HashMap__setTableEntry(table, "<non-identifier-key>", table);
+ delete table["<non-identifier-key>"];
+ return table;
+}}
+
+},
+
+_HashMap_values_closure: {"": "Closure;this_0",
+ call$1: function(each) {
+ var t1 = this.this_0;
+ return t1.$index(t1, each);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+_IdentityHashMap: {"": "_HashMap;_collection$_length,_strings,_nums,_rest,_keys",
+ _computeHashCode$1: function(key) {
+ return H.objectHashCode(key) & 0x3ffffff;
+ },
+ _findBucketIndex$2: function(bucket, key) {
+ var $length, i, t1;
+ if (bucket == null)
+ return -1;
+ $length = bucket.length;
+ for (i = 0; i < $length; i += 2) {
+ t1 = bucket[i];
+ if (t1 == null ? key == null : t1 === key)
+ return i;
+ }
+ return -1;
+ },
+ $as_HashMap: null,
+ $asMap: null
+},
+
+HashMapKeyIterable: {"": "IterableBase;_map",
+ get$length: function(_) {
+ return this._map._collection$_length;
+ },
+ get$iterator: function(_) {
+ var t1 = this._map;
+ return new P.HashMapKeyIterator(t1, t1._computeKeys$0(), 0, null);
+ },
+ forEach$1: function(_, f) {
+ var t1, keys, $length, i;
+ t1 = this._map;
+ keys = t1._computeKeys$0();
+ for ($length = keys.length, i = 0; i < $length; ++i) {
+ f.call$1(keys[i]);
+ if (keys !== t1._keys)
+ throw H.wrapException(P.ConcurrentModificationError$(t1));
+ }
+ },
+ $asIterableBase: null,
+ $asIterable: null,
+ $isEfficientLength: true
+},
+
+HashMapKeyIterator: {"": "Object;_map,_keys,_offset,_collection$_current",
+ get$current: function() {
+ return this._collection$_current;
+ },
+ moveNext$0: function() {
+ var keys, offset, t1;
+ keys = this._keys;
+ offset = this._offset;
+ t1 = this._map;
+ if (keys !== t1._keys)
+ throw H.wrapException(P.ConcurrentModificationError$(t1));
+ else if (offset >= keys.length) {
+ this._collection$_current = null;
+ return false;
+ } else {
+ this._collection$_current = keys[offset];
+ this._offset = offset + 1;
+ return true;
+ }
+ }
+},
+
+_LinkedHashMap: {"": "Object;_collection$_length,_strings,_nums,_rest,_first,_last,_modifications",
+ get$length: function(_) {
+ return this._collection$_length;
+ },
+ get$isEmpty: function(_) {
+ return this._collection$_length === 0;
+ },
+ get$keys: function() {
+ var t1 = new P.LinkedHashMapKeyIterable(this);
+ H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_LinkedHashMap", 0)]);
+ return t1;
+ },
+ get$values: function(_) {
+ var t1 = new P.LinkedHashMapKeyIterable(this);
+ H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_LinkedHashMap", 0)]);
+ return H.MappedIterable_MappedIterable(t1, new P._LinkedHashMap_values_closure(this), H.getRuntimeTypeArgument(t1, "IterableBase", 0), null);
+ },
+ containsKey$1: function(key) {
+ var nums, rest;
+ if ((key & 0x3ffffff) === key) {
+ nums = this._nums;
+ if (nums == null)
+ return false;
+ return nums[key] != null;
+ } else {
+ rest = this._rest;
+ if (rest == null)
+ return false;
+ return this._findBucketIndex$2(rest[this._computeHashCode$1(key)], key) >= 0;
+ }
+ },
+ $index: function(_, key) {
+ var strings, cell, nums, rest, bucket, index;
+ if (typeof key === "string" && key !== "__proto__") {
+ strings = this._strings;
+ if (strings == null)
+ return;
+ cell = strings[key];
+ return cell == null ? null : cell.get$_collection$_value();
+ } else if (typeof key === "number" && (key & 0x3ffffff) === key) {
+ nums = this._nums;
+ if (nums == null)
+ return;
+ cell = nums[key];
+ return cell == null ? null : cell.get$_collection$_value();
+ } else {
+ rest = this._rest;
+ if (rest == null)
+ return;
+ bucket = rest[this._computeHashCode$1(key)];
+ index = this._findBucketIndex$2(bucket, key);
+ if (index < 0)
+ return;
+ return bucket[index].get$_collection$_value();
+ }
+ },
+ $indexSet: function(_, key, value) {
+ var strings, nums, rest, hash, bucket, index;
+ if (typeof key === "string" && key !== "__proto__") {
+ strings = this._strings;
+ if (strings == null) {
+ strings = P._LinkedHashMap__newHashTable();
+ this._strings = strings;
+ }
+ this._addHashTableEntry$3(strings, key, value);
+ } else if (typeof key === "number" && (key & 0x3ffffff) === key) {
+ nums = this._nums;
+ if (nums == null) {
+ nums = P._LinkedHashMap__newHashTable();
+ this._nums = nums;
+ }
+ this._addHashTableEntry$3(nums, key, value);
+ } else {
+ rest = this._rest;
+ if (rest == null) {
+ rest = P._LinkedHashMap__newHashTable();
+ this._rest = rest;
+ }
+ hash = this._computeHashCode$1(key);
+ bucket = rest[hash];
+ if (bucket == null)
+ rest[hash] = [this._newLinkedCell$2(key, value)];
+ else {
+ index = this._findBucketIndex$2(bucket, key);
+ if (index >= 0)
+ bucket[index].set$_collection$_value(value);
+ else
+ bucket.push(this._newLinkedCell$2(key, value));
+ }
+ }
+ },
+ remove$1: function(_, key) {
+ var rest, bucket, index, cell;
+ if (typeof key === "string" && key !== "__proto__")
+ return this._removeHashTableEntry$2(this._strings, key);
+ else if (typeof key === "number" && (key & 0x3ffffff) === key)
+ return this._removeHashTableEntry$2(this._nums, key);
+ else {
+ rest = this._rest;
+ if (rest == null)
+ return;
+ bucket = rest[this._computeHashCode$1(key)];
+ index = this._findBucketIndex$2(bucket, key);
+ if (index < 0)
+ return;
+ cell = bucket.splice(index, 1)[0];
+ this._unlinkCell$1(cell);
+ return cell.get$_collection$_value();
+ }
+ },
+ forEach$1: function(_, action) {
+ var cell, modifications;
+ cell = this._first;
+ modifications = this._modifications;
+ for (; cell != null;) {
+ action.call$2(cell._key, cell._collection$_value);
+ if (modifications !== this._modifications)
+ throw H.wrapException(P.ConcurrentModificationError$(this));
+ cell = cell._next;
+ }
+ },
+ _addHashTableEntry$3: function(table, key, value) {
+ var cell = table[key];
+ if (cell == null)
+ table[key] = this._newLinkedCell$2(key, value);
+ else
+ cell.set$_collection$_value(value);
+ },
+ _removeHashTableEntry$2: function(table, key) {
+ var cell;
+ if (table == null)
+ return;
+ cell = table[key];
+ if (cell == null)
+ return;
+ this._unlinkCell$1(cell);
+ delete table[key];
+ return cell.get$_collection$_value();
+ },
+ _newLinkedCell$2: function(key, value) {
+ var cell, last;
+ cell = new P.LinkedHashMapCell(key, value, null, null);
+ if (this._first == null) {
+ this._last = cell;
+ this._first = cell;
+ } else {
+ last = this._last;
+ cell._previous = last;
+ last._next = cell;
+ this._last = cell;
+ }
+ this._collection$_length = this._collection$_length + 1;
+ this._modifications = this._modifications + 1 & 67108863;
+ return cell;
+ },
+ _unlinkCell$1: function(cell) {
+ var previous, next;
+ previous = cell.get$_previous();
+ next = cell.get$_next();
+ if (previous == null)
+ this._first = next;
+ else
+ previous._next = next;
+ if (next == null)
+ this._last = previous;
+ else
+ next._previous = previous;
+ this._collection$_length = this._collection$_length - 1;
+ this._modifications = this._modifications + 1 & 67108863;
+ },
+ _computeHashCode$1: function(key) {
+ return J.get$hashCode$(key) & 0x3ffffff;
+ },
+ _findBucketIndex$2: function(bucket, key) {
+ var $length, i;
+ if (bucket == null)
+ return -1;
+ $length = bucket.length;
+ for (i = 0; i < $length; ++i)
+ if (J.$eq(bucket[i].get$_key(), key))
+ return i;
+ return -1;
+ },
+ toString$0: function(_) {
+ return P.Maps_mapToString(this);
+ },
+ $isMap: true,
+ static: {
+_LinkedHashMap__newHashTable: function() {
+ var table = Object.create(null);
+ table["<non-identifier-key>"] = table;
+ delete table["<non-identifier-key>"];
+ return table;
+}}
+
+},
+
+_LinkedHashMap_values_closure: {"": "Closure;this_0",
+ call$1: function(each) {
+ var t1 = this.this_0;
+ return t1.$index(t1, each);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+LinkedHashMapCell: {"": "Object;_key<,_collection$_value@,_next<,_previous<"},
+
+LinkedHashMapKeyIterable: {"": "IterableBase;_map",
+ get$length: function(_) {
+ return this._map._collection$_length;
+ },
+ get$iterator: function(_) {
+ var t1 = this._map;
+ t1 = new P.LinkedHashMapKeyIterator(t1, t1._modifications, null, null);
+ t1._cell = t1._map._first;
+ return t1;
+ },
+ forEach$1: function(_, f) {
+ var t1, cell, modifications;
+ t1 = this._map;
+ cell = t1._first;
+ modifications = t1._modifications;
+ for (; cell != null;) {
+ f.call$1(cell._key);
+ if (modifications !== t1._modifications)
+ throw H.wrapException(P.ConcurrentModificationError$(t1));
+ cell = cell._next;
+ }
+ },
+ $asIterableBase: null,
+ $asIterable: null,
+ $isEfficientLength: true
+},
+
+LinkedHashMapKeyIterator: {"": "Object;_map,_modifications,_cell,_collection$_current",
+ get$current: function() {
+ return this._collection$_current;
+ },
+ moveNext$0: function() {
+ var t1 = this._map;
+ if (this._modifications !== t1._modifications)
+ throw H.wrapException(P.ConcurrentModificationError$(t1));
+ else {
+ t1 = this._cell;
+ if (t1 == null) {
+ this._collection$_current = null;
+ return false;
+ } else {
+ this._collection$_current = t1._key;
+ this._cell = this._cell._next;
+ return true;
+ }
+ }
+ }
+},
+
+_HashSet: {"": "_HashSetBase;",
+ get$iterator: function(_) {
+ return new P.HashSetIterator(this, this._computeElements$0(), 0, null);
+ },
+ get$length: function(_) {
+ return this._collection$_length;
+ },
+ contains$1: function(_, object) {
+ var strings, nums, rest;
+ if (typeof object === "string" && object !== "__proto__") {
+ strings = this._strings;
+ return strings == null ? false : strings[object] != null;
+ } else if (typeof object === "number" && (object & 0x3ffffff) === object) {
+ nums = this._nums;
+ return nums == null ? false : nums[object] != null;
+ } else {
+ rest = this._rest;
+ if (rest == null)
+ return false;
+ return this._findBucketIndex$2(rest[this._computeHashCode$1(object)], object) >= 0;
+ }
+ },
+ lookup$1: function(object) {
+ var t1, rest, bucket, index;
+ if (!(typeof object === "string" && object !== "__proto__"))
+ t1 = typeof object === "number" && (object & 0x3ffffff) === object;
+ else
+ t1 = true;
+ if (t1)
+ return this.contains$1(this, object) ? object : null;
+ rest = this._rest;
+ if (rest == null)
+ return;
+ bucket = rest[this._computeHashCode$1(object)];
+ index = this._findBucketIndex$2(bucket, object);
+ if (index < 0)
+ return;
+ return J.$index$asx(bucket, index);
+ },
+ add$1: function(_, element) {
+ var rest, table, hash, bucket;
+ rest = this._rest;
+ if (rest == null) {
+ table = Object.create(null);
+ table["<non-identifier-key>"] = table;
+ delete table["<non-identifier-key>"];
+ this._rest = table;
+ rest = table;
+ }
+ hash = this._computeHashCode$1(element);
+ bucket = rest[hash];
+ if (bucket == null)
+ rest[hash] = [element];
+ else {
+ if (this._findBucketIndex$2(bucket, element) >= 0)
+ return false;
+ bucket.push(element);
+ }
+ this._collection$_length = this._collection$_length + 1;
+ this._elements = null;
+ return true;
+ },
+ remove$1: function(_, object) {
+ var rest, bucket, index;
+ rest = this._rest;
+ if (rest == null)
+ return false;
+ bucket = rest[this._computeHashCode$1(object)];
+ index = this._findBucketIndex$2(bucket, object);
+ if (index < 0)
+ return false;
+ this._collection$_length = this._collection$_length - 1;
+ this._elements = null;
+ bucket.splice(index, 1);
+ return true;
+ },
+ _computeElements$0: function() {
+ var t1, result, strings, names, entries, index, i, nums, rest, bucket, $length, i0;
+ t1 = this._elements;
+ if (t1 != null)
+ return t1;
+ result = P.List_List(this._collection$_length, null);
+ strings = this._strings;
+ if (strings != null) {
+ names = Object.getOwnPropertyNames(strings);
+ entries = names.length;
+ for (index = 0, i = 0; i < entries; ++i) {
+ result[index] = names[i];
+ ++index;
+ }
+ } else
+ index = 0;
+ nums = this._nums;
+ if (nums != null) {
+ names = Object.getOwnPropertyNames(nums);
+ entries = names.length;
+ for (i = 0; i < entries; ++i) {
+ result[index] = +names[i];
+ ++index;
+ }
+ }
+ rest = this._rest;
+ if (rest != null) {
+ names = Object.getOwnPropertyNames(rest);
+ entries = names.length;
+ for (i = 0; i < entries; ++i) {
+ bucket = rest[names[i]];
+ $length = bucket.length;
+ for (i0 = 0; i0 < $length; ++i0) {
+ result[index] = bucket[i0];
+ ++index;
+ }
+ }
+ }
+ this._elements = result;
+ return result;
+ },
+ _computeHashCode$1: function(element) {
+ return J.get$hashCode$(element) & 0x3ffffff;
+ },
+ _findBucketIndex$2: function(bucket, element) {
+ var $length, i;
+ if (bucket == null)
+ return -1;
+ $length = bucket.length;
+ for (i = 0; i < $length; ++i)
+ if (J.$eq(bucket[i], element))
+ return i;
+ return -1;
+ },
+ $as_HashSetBase: null,
+ $asIterable: null,
+ $isEfficientLength: true,
+ $isIterable: true
+},
+
+_IdentityHashSet: {"": "_HashSet;_collection$_length,_strings,_nums,_rest,_elements",
+ _computeHashCode$1: function(key) {
+ return H.objectHashCode(key) & 0x3ffffff;
+ },
+ _findBucketIndex$2: function(bucket, element) {
+ var $length, i, t1;
+ if (bucket == null)
+ return -1;
+ $length = bucket.length;
+ for (i = 0; i < $length; ++i) {
+ t1 = bucket[i];
+ if (t1 == null ? element == null : t1 === element)
+ return i;
+ }
+ return -1;
+ },
+ $as_HashSet: null,
+ $asIterable: null
+},
+
+HashSetIterator: {"": "Object;_set,_elements,_offset,_collection$_current",
+ get$current: function() {
+ return this._collection$_current;
+ },
+ moveNext$0: function() {
+ var elements, offset, t1;
+ elements = this._elements;
+ offset = this._offset;
+ t1 = this._set;
+ if (elements !== t1._elements)
+ throw H.wrapException(P.ConcurrentModificationError$(t1));
+ else if (offset >= elements.length) {
+ this._collection$_current = null;
+ return false;
+ } else {
+ this._collection$_current = elements[offset];
+ this._offset = offset + 1;
+ return true;
+ }
+ }
+},
+
+_HashSetBase: {"": "IterableBase;",
+ toString$0: function(_) {
+ return H.IterableMixinWorkaround_toStringIterable(this, "{", "}");
+ },
+ $asIterableBase: null,
+ $asIterable: null,
+ $isEfficientLength: true,
+ $isIterable: true
+},
+
+IterableBase: {"": "Object;",
+ map$1: function(_, f) {
+ return H.MappedIterable_MappedIterable(this, f, H.getRuntimeTypeArgument(this, "IterableBase", 0), null);
+ },
+ forEach$1: function(_, f) {
+ var t1;
+ for (t1 = this.get$iterator(this); t1.moveNext$0();)
+ f.call$1(t1.get$current());
+ },
+ get$length: function(_) {
+ var it, count;
+ it = this.get$iterator(this);
+ for (count = 0; it.moveNext$0();)
+ ++count;
+ return count;
+ },
+ elementAt$1: function(_, index) {
+ var t1, remaining, element, t2;
+ if (typeof index !== "number" || Math.floor(index) !== index || index < 0)
+ throw H.wrapException(P.RangeError$value(index));
+ for (t1 = this.get$iterator(this), remaining = index; t1.moveNext$0();) {
+ element = t1.get$current();
+ t2 = J.getInterceptor(remaining);
+ if (t2.$eq(remaining, 0))
+ return element;
+ remaining = t2.$sub(remaining, 1);
+ }
+ throw H.wrapException(P.RangeError$value(index));
+ },
+ toString$0: function(_) {
+ return P._iterableToString(this);
+ },
+ $isIterable: true,
+ $asIterable: null
+},
+
+ListMixin: {"": "Object;",
+ get$iterator: function(receiver) {
+ return new H.ListIterator(receiver, this.get$length(receiver), 0, null);
+ },
+ elementAt$1: function(receiver, index) {
+ return this.$index(receiver, index);
+ },
+ forEach$1: function(receiver, action) {
+ var $length, i;
+ $length = this.get$length(receiver);
+ if (typeof $length !== "number")
+ throw H.iae($length);
+ i = 0;
+ for (; i < $length; ++i) {
+ action.call$1(this.$index(receiver, i));
+ if ($length !== this.get$length(receiver))
+ throw H.wrapException(P.ConcurrentModificationError$(receiver));
+ }
+ },
+ map$1: function(receiver, f) {
+ var t1 = new H.MappedListIterable(receiver, f);
+ H.setRuntimeTypeInfo(t1, [null, null]);
+ return t1;
+ },
+ toString$0: function(receiver) {
+ var result, t1;
+ t1 = $.get$_toStringVisiting();
+ if (t1.contains$1(t1, receiver))
+ return "[...]";
+ result = P.StringBuffer$("");
+ try {
+ t1 = $.get$_toStringVisiting();
+ t1.add$1(t1, receiver);
+ result.write$1("[");
+ result.writeAll$2(receiver, ", ");
+ result.write$1("]");
+ } finally {
+ t1 = $.get$_toStringVisiting();
+ t1.remove$1(t1, receiver);
+ }
+ return result.get$_contents();
+ },
+ $isList: true,
+ $asList: null,
+ $isEfficientLength: true,
+ $isIterable: true,
+ $asIterable: null
+},
+
+Maps_mapToString_closure: {"": "Closure;box_0,result_1",
+ call$2: function(k, v) {
+ var t1 = this.box_0;
+ if (!t1.first_0)
+ this.result_1.write$1(", ");
+ t1.first_0 = false;
+ t1 = this.result_1;
+ t1.write$1(k);
+ t1.write$1(": ");
+ t1.write$1(v);
+ },
+ "+call:2:0": 0,
+ $isFunction: true,
+ $is_args2: true
+},
+
+ListQueue: {"": "IterableBase;_table,_head,_tail,_modificationCount",
+ get$iterator: function(_) {
+ return P._ListQueueIterator$(this);
+ },
+ forEach$1: function(_, action) {
+ var modificationCount, i, t1;
+ modificationCount = this._modificationCount;
+ for (i = this._head; i !== this._tail; i = (i + 1 & this._table.length - 1) >>> 0) {
+ t1 = this._table;
+ if (i < 0 || i >= t1.length)
+ throw H.ioore(t1, i);
+ action.call$1(t1[i]);
+ if (modificationCount !== this._modificationCount)
+ H.throwExpression(P.ConcurrentModificationError$(this));
+ }
+ },
+ get$length: function(_) {
+ return (this._tail - this._head & this._table.length - 1) >>> 0;
+ },
+ toString$0: function(_) {
+ return H.IterableMixinWorkaround_toStringIterable(this, "{", "}");
+ },
+ removeFirst$0: function() {
+ var t1, t2, t3, result;
+ if (this._head === this._tail)
+ throw H.wrapException(P.StateError$("No elements"));
+ this._modificationCount = this._modificationCount + 1;
+ t1 = this._table;
+ t2 = this._head;
+ t3 = t1.length;
+ if (t2 < 0 || t2 >= t3)
+ throw H.ioore(t1, t2);
+ result = t1[t2];
+ this._head = (t2 + 1 & t3 - 1) >>> 0;
+ return result;
+ },
+ _add$1: function(element) {
+ var t1, t2, t3;
+ t1 = this._table;
+ t2 = this._tail;
+ t3 = t1.length;
+ if (t2 < 0 || t2 >= t3)
+ throw H.ioore(t1, t2);
+ t1[t2] = element;
+ this._tail = (t2 + 1 & t3 - 1) >>> 0;
+ if (this._head === this._tail)
+ this._grow$0();
+ this._modificationCount = this._modificationCount + 1;
+ },
+ _grow$0: function() {
+ var newTable, t1, t2, split;
+ newTable = P.List_List(this._table.length * 2, H.getRuntimeTypeArgument(this, "ListQueue", 0));
+ H.setRuntimeTypeInfo(newTable, [H.getRuntimeTypeArgument(this, "ListQueue", 0)]);
+ t1 = this._table;
+ t2 = this._head;
+ split = t1.length - t2;
+ H.IterableMixinWorkaround_setRangeList(newTable, 0, split, t1, t2);
+ t1 = this._head;
+ t2 = this._table;
+ H.IterableMixinWorkaround_setRangeList(newTable, split, split + t1, t2, 0);
+ this._head = 0;
+ this._tail = this._table.length;
+ this._table = newTable;
+ },
+ ListQueue$1: function(initialCapacity, $E) {
+ var t1 = P.List_List(8, $E);
+ H.setRuntimeTypeInfo(t1, [$E]);
+ this._table = t1;
+ },
+ $asIterableBase: null,
+ $asIterable: null,
+ $isEfficientLength: true,
+ $isIterable: true,
+ static: {
+"": "ListQueue__INITIAL_CAPACITY",
+ListQueue$: function(initialCapacity, $E) {
+ var t1 = new P.ListQueue(null, 0, 0, 0);
+ H.setRuntimeTypeInfo(t1, [$E]);
+ t1.ListQueue$1(initialCapacity, $E);
+ return t1;
+}}
+
+},
+
+_ListQueueIterator: {"": "Object;_queue,_end,_modificationCount,_position,_collection$_current",
+ get$current: function() {
+ return this._collection$_current;
+ },
+ moveNext$0: function() {
+ var t1, t2, t3;
+ t1 = this._queue;
+ if (this._modificationCount !== t1._modificationCount)
+ H.throwExpression(P.ConcurrentModificationError$(t1));
+ t2 = this._position;
+ if (t2 === this._end) {
+ this._collection$_current = null;
+ return false;
+ }
+ t3 = t1._table;
+ if (t2 < 0 || t2 >= t3.length)
+ throw H.ioore(t3, t2);
+ this._collection$_current = t3[t2];
+ this._position = (this._position + 1 & t1._table.length - 1) >>> 0;
+ return true;
+ },
+ static: {
+_ListQueueIterator$: function(queue) {
+ return new P._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head, null);
+}}
+
+}}],
+["dart.core", "dart:core", , P, {
+Function__toMangledNames: function(namedArguments) {
+ return;
+},
+
+Error_safeToString: function(object) {
+ var buffer, t1, i, codeUnit, t2, charCodes;
+ if (typeof object === "number" || typeof object === "boolean" || null == object)
+ return J.toString$0(object);
+ if (typeof object === "string") {
+ buffer = new P.StringBuffer("");
+ buffer._contents = "\"";
+ for (t1 = object.length, i = 0; i < t1; ++i) {
+ codeUnit = C.JSString_methods.codeUnitAt$1(object, i);
+ if (codeUnit <= 31)
+ if (codeUnit === 10)
+ buffer._contents = buffer._contents + "\\n";
+ else if (codeUnit === 13)
+ buffer._contents = buffer._contents + "\\r";
+ else if (codeUnit === 9)
+ buffer._contents = buffer._contents + "\\t";
+ else {
+ buffer._contents = buffer._contents + "\\x";
+ if (codeUnit < 16)
+ buffer._contents = buffer._contents + "0";
+ else {
+ buffer._contents = buffer._contents + "1";
+ codeUnit -= 16;
+ }
+ t2 = codeUnit < 10 ? 48 + codeUnit : 87 + codeUnit;
+ charCodes = P.List_List$filled(1, t2, J.JSInt);
+ charCodes.$builtinTypeInfo = [J.JSInt];
+ t2 = H.Primitives_stringFromCharCodes(charCodes);
+ buffer._contents = buffer._contents + t2;
+ }
+ else if (codeUnit === 92)
+ buffer._contents = buffer._contents + "\\\\";
+ else if (codeUnit === 34)
+ buffer._contents = buffer._contents + "\\\"";
+ else {
+ charCodes = P.List_List$filled(1, codeUnit, J.JSInt);
+ charCodes.$builtinTypeInfo = [J.JSInt];
+ t2 = H.Primitives_stringFromCharCodes(charCodes);
+ buffer._contents = buffer._contents + t2;
+ }
+ }
+ buffer._contents = buffer._contents + "\"";
+ return buffer._contents;
+ }
+ return "Instance of '" + H.Primitives_objectTypeName(object) + "'";
+},
+
+Exception_Exception: function(message) {
+ return new P._ExceptionImplementation(message);
+},
+
+identical: function(a, b) {
+ return a == null ? b == null : a === b;
+},
+
+identityHashCode: function(object) {
+ return H.objectHashCode(object);
+},
+
+List_List: function($length, $E) {
+ if ($length == null)
+ return new Array(0);
+ if (typeof $length !== "number" || Math.floor($length) !== $length || $length < 0)
+ throw H.wrapException(new P.ArgumentError("Length must be a positive integer: " + H.S($length) + "."));
+ return H.Primitives_newFixedList($length);
+},
+
+List_List$filled: function($length, fill, $E) {
+ var result, t1, i;
+ if ($length < 0)
+ throw H.wrapException(new P.ArgumentError("Length must be a positive integer: " + $length + "."));
+ result = H.Primitives_newFixedList($length);
+ if ($length !== 0 && true)
+ for (t1 = result.length, i = 0; i < t1; ++i)
+ result[i] = fill;
+ return result;
+},
+
+List_List$from: function(other, growable, $E) {
+ var list, t1, $length, fixedList, i;
+ list = P.List_List(null, $E);
+ H.setRuntimeTypeInfo(list, [$E]);
+ for (t1 = J.get$iterator$ax(other); t1.moveNext$0();)
+ list.push(t1.get$current());
+ if (growable)
+ return list;
+ $length = list.length;
+ fixedList = P.List_List($length, $E);
+ H.setRuntimeTypeInfo(fixedList, [$E]);
+ for (t1 = list.length, i = 0; i < $length; ++i) {
+ if (i >= t1)
+ throw H.ioore(list, i);
+ fixedList[i] = list[i];
+ }
+ return fixedList;
+},
+
+print: function(object) {
+ var line = J.toString$0(object);
+ H.printToConsole(line);
+},
+
+Function__toMangledNames_closure: {"": "Closure;result_0",
+ call$2: function(symbol, value) {
+ var t1 = this.result_0;
+ t1.$indexSet(t1, symbol.get$_name(), value);
+ },
+ "+call:2:0": 0,
+ $isFunction: true,
+ $is_args2: true
+},
+
+NoSuchMethodError_toString_closure: {"": "Closure;box_0",
+ call$2: function(key, value) {
+ var t1 = this.box_0;
+ if (t1.i_1 > 0)
+ t1.sb_0.write$1(", ");
+ t1.sb_0.write$1(key.get$_name());
+ t1.sb_0.write$1(": ");
+ t1.sb_0.write$1(P.Error_safeToString(value));
+ t1.i_1 = t1.i_1 + 1;
+ },
+ "+call:2:0": 0,
+ $isFunction: true,
+ $is_args2: true
+},
+
+DateTime: {"": "Object;millisecondsSinceEpoch,isUtc",
+ $eq: function(_, other) {
+ var t1;
+ if (other == null)
+ return false;
+ t1 = J.getInterceptor(other);
+ if (typeof other !== "object" || other === null || !t1.$isDateTime)
+ return false;
+ return this.millisecondsSinceEpoch === other.millisecondsSinceEpoch && this.isUtc === other.isUtc;
+ },
+ get$hashCode: function(_) {
+ return this.millisecondsSinceEpoch;
+ },
+ toString$0: function(_) {
+ var t1, y, m, d, h, min, sec, ms;
+ t1 = new P.DateTime_toString_twoDigits();
+ y = new P.DateTime_toString_fourDigits().call$1(H.Primitives_getYear(this));
+ m = t1.call$1(H.Primitives_getMonth(this));
+ d = t1.call$1(H.Primitives_getDay(this));
+ h = t1.call$1(H.Primitives_getHours(this));
+ min = t1.call$1(H.Primitives_getMinutes(this));
+ sec = t1.call$1(H.Primitives_getSeconds(this));
+ ms = new P.DateTime_toString_threeDigits().call$1(H.Primitives_getMilliseconds(this));
+ if (this.isUtc)
+ return H.S(y) + "-" + H.S(m) + "-" + H.S(d) + " " + H.S(h) + ":" + H.S(min) + ":" + H.S(sec) + "." + H.S(ms) + "Z";
+ else
+ return H.S(y) + "-" + H.S(m) + "-" + H.S(d) + " " + H.S(h) + ":" + H.S(min) + ":" + H.S(sec) + "." + H.S(ms);
+ },
+ DateTime$fromMillisecondsSinceEpoch$2$isUtc: function(millisecondsSinceEpoch, isUtc) {
+ if (Math.abs(millisecondsSinceEpoch) > 8640000000000000)
+ throw H.wrapException(new P.ArgumentError(millisecondsSinceEpoch));
+ },
+ $isDateTime: true,
+ static: {
+"": "DateTime_MONDAY,DateTime_TUESDAY,DateTime_WEDNESDAY,DateTime_THURSDAY,DateTime_FRIDAY,DateTime_SATURDAY,DateTime_SUNDAY,DateTime_DAYS_PER_WEEK,DateTime_JANUARY,DateTime_FEBRUARY,DateTime_MARCH,DateTime_APRIL,DateTime_MAY,DateTime_JUNE,DateTime_JULY,DateTime_AUGUST,DateTime_SEPTEMBER,DateTime_OCTOBER,DateTime_NOVEMBER,DateTime_DECEMBER,DateTime_MONTHS_PER_YEAR,DateTime__MAX_MILLISECONDS_SINCE_EPOCH",
+DateTime$fromMillisecondsSinceEpoch: function(millisecondsSinceEpoch, isUtc) {
+ var t1 = new P.DateTime(millisecondsSinceEpoch, isUtc);
+ t1.DateTime$fromMillisecondsSinceEpoch$2$isUtc(millisecondsSinceEpoch, isUtc);
+ return t1;
+}}
+
+},
+
+DateTime_toString_fourDigits: {"": "Closure;",
+ call$1: function(n) {
+ var t1, absN, sign;
+ t1 = J.getInterceptor$n(n);
+ absN = t1.abs$0(n);
+ sign = t1.$lt(n, 0) ? "-" : "";
+ if (absN >= 1000)
+ return H.S(n);
+ if (absN >= 100)
+ return sign + "0" + H.S(absN);
+ if (absN >= 10)
+ return sign + "00" + H.S(absN);
+ return sign + "000" + H.S(absN);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+DateTime_toString_threeDigits: {"": "Closure;",
+ call$1: function(n) {
+ var t1 = J.getInterceptor$n(n);
+ if (t1.$ge(n, 100))
+ return H.S(n);
+ if (t1.$ge(n, 10))
+ return "0" + H.S(n);
+ return "00" + H.S(n);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+DateTime_toString_twoDigits: {"": "Closure;",
+ call$1: function(n) {
+ if (J.$ge$n(n, 10))
+ return H.S(n);
+ return "0" + H.S(n);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+Duration: {"": "Object;_duration<",
+ $sub: function(_, other) {
+ return P.Duration$(0, 0, C.JSNumber_methods.$sub(this._duration, other.get$_duration()), 0, 0, 0);
+ },
+ $lt: function(_, other) {
+ return C.JSNumber_methods.$lt(this._duration, other.get$_duration());
+ },
+ $gt: function(_, other) {
+ return this._duration > other.get$_duration();
+ },
+ $ge: function(_, other) {
+ return this._duration >= other.get$_duration();
+ },
+ $eq: function(_, other) {
+ var t1;
+ if (other == null)
+ return false;
+ t1 = J.getInterceptor(other);
+ if (typeof other !== "object" || other === null || !t1.$isDuration)
+ return false;
+ return this._duration === other._duration;
+ },
+ get$hashCode: function(_) {
+ return this._duration & 0x1FFFFFFF;
+ },
+ toString$0: function(_) {
+ var t1, t2, twoDigitMinutes, twoDigitSeconds, sixDigitUs;
+ t1 = new P.Duration_toString_twoDigits();
+ t2 = this._duration;
+ if (t2 < 0)
+ return "-" + H.S(P.Duration$(0, 0, -t2, 0, 0, 0));
+ twoDigitMinutes = t1.call$1(C.JSNumber_methods.remainder$1(C.JSNumber_methods.$tdiv(t2, 60000000), 60));
+ twoDigitSeconds = t1.call$1(C.JSNumber_methods.remainder$1(C.JSNumber_methods.$tdiv(t2, 1000000), 60));
+ sixDigitUs = new P.Duration_toString_sixDigits().call$1(C.JSNumber_methods.remainder$1(t2, 1000000));
+ return H.S(C.JSNumber_methods.$tdiv(t2, 3600000000)) + ":" + H.S(twoDigitMinutes) + ":" + H.S(twoDigitSeconds) + "." + H.S(sixDigitUs);
+ },
+ $isDuration: true,
+ static: {
+"": "Duration_MICROSECONDS_PER_MILLISECOND,Duration_MILLISECONDS_PER_SECOND,Duration_SECONDS_PER_MINUTE,Duration_MINUTES_PER_HOUR,Duration_HOURS_PER_DAY,Duration_MICROSECONDS_PER_SECOND,Duration_MICROSECONDS_PER_MINUTE,Duration_MICROSECONDS_PER_HOUR,Duration_MICROSECONDS_PER_DAY,Duration_MILLISECONDS_PER_MINUTE,Duration_MILLISECONDS_PER_HOUR,Duration_MILLISECONDS_PER_DAY,Duration_SECONDS_PER_HOUR,Duration_SECONDS_PER_DAY,Duration_MINUTES_PER_DAY,Duration_ZERO",
+Duration$: function(days, hours, microseconds, milliseconds, minutes, seconds) {
+ return new P.Duration(days * 86400000000 + hours * 3600000000 + minutes * 60000000 + seconds * 1000000 + milliseconds * 1000 + microseconds);
+}}
+
+},
+
+Duration_toString_sixDigits: {"": "Closure;",
+ call$1: function(n) {
+ var t1 = J.getInterceptor$n(n);
+ if (t1.$ge(n, 100000))
+ return H.S(n);
+ if (t1.$ge(n, 10000))
+ return "0" + H.S(n);
+ if (t1.$ge(n, 1000))
+ return "00" + H.S(n);
+ if (t1.$ge(n, 100))
+ return "000" + H.S(n);
+ if (t1.$gt(n, 10))
+ return "0000" + H.S(n);
+ return "00000" + H.S(n);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+Duration_toString_twoDigits: {"": "Closure;",
+ call$1: function(n) {
+ if (J.$ge$n(n, 10))
+ return H.S(n);
+ return "0" + H.S(n);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+Error: {"": "Object;",
+ get$stackTrace: function() {
+ return new H._StackTrace(this.$thrownJsError, null);
+ },
+ $isError: true
+},
+
+NullThrownError: {"": "Error;",
+ toString$0: function(_) {
+ return "Throw of null.";
+ }
+},
+
+ArgumentError: {"": "Error;message",
+ toString$0: function(_) {
+ var t1 = this.message;
+ if (t1 != null)
+ return "Illegal argument(s): " + H.S(t1);
+ return "Illegal argument(s)";
+ },
+ static: {
+ArgumentError$: function(message) {
+ return new P.ArgumentError(message);
+}}
+
+},
+
+RangeError: {"": "ArgumentError;message",
+ toString$0: function(_) {
+ return "RangeError: " + H.S(this.message);
+ },
+ static: {
+RangeError$value: function(value) {
+ return new P.RangeError("value " + H.S(value));
+},
+
+RangeError$range: function(value, start, end) {
+ return new P.RangeError("value " + H.S(value) + " not in range " + start + ".." + H.S(end));
+}}
+
+},
+
+NoSuchMethodError: {"": "Error;_core$_receiver,_memberName,_core$_arguments,_namedArguments,_existingArgumentNames",
+ toString$0: function(_) {
+ var t1, t2, t3, t4, str;
+ t1 = {};
+ t1.sb_0 = P.StringBuffer$("");
+ t1.i_1 = 0;
+ for (t2 = this._core$_arguments; t3 = t1.i_1, t3 < t2.length; t1.i_1 = t1.i_1 + 1) {
+ if (t3 > 0) {
+ t3 = t1.sb_0;
+ t3._contents = t3._contents + ", ";
+ }
+ t3 = t1.sb_0;
+ t4 = t1.i_1;
+ if (t4 < 0 || t4 >= t2.length)
+ throw H.ioore(t2, t4);
+ str = P.Error_safeToString(t2[t4]);
+ str = typeof str === "string" ? str : H.S(str);
+ t3._contents = t3._contents + str;
+ }
+ t2 = this._namedArguments;
+ t2.forEach$1(t2, new P.NoSuchMethodError_toString_closure(t1));
+ return "NoSuchMethodError : method not found: '" + H.S(this._memberName) + "'\nReceiver: " + H.S(P.Error_safeToString(this._core$_receiver)) + "\nArguments: [" + H.S(t1.sb_0) + "]";
+ },
+ static: {
+NoSuchMethodError$: function(receiver, memberName, positionalArguments, namedArguments, existingArgumentNames) {
+ return new P.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments, existingArgumentNames);
+}}
+
+},
+
+UnsupportedError: {"": "Error;message",
+ toString$0: function(_) {
+ return "Unsupported operation: " + this.message;
+ },
+ static: {
+UnsupportedError$: function(message) {
+ return new P.UnsupportedError(message);
+}}
+
+},
+
+UnimplementedError: {"": "Error;message",
+ toString$0: function(_) {
+ var t1 = this.message;
+ return t1 != null ? "UnimplementedError: " + H.S(t1) : "UnimplementedError";
+ },
+ $isError: true,
+ static: {
+UnimplementedError$: function(message) {
+ return new P.UnimplementedError(message);
+}}
+
+},
+
+StateError: {"": "Error;message",
+ toString$0: function(_) {
+ return "Bad state: " + this.message;
+ },
+ static: {
+StateError$: function(message) {
+ return new P.StateError(message);
+}}
+
+},
+
+ConcurrentModificationError: {"": "Error;modifiedObject",
+ toString$0: function(_) {
+ var t1 = this.modifiedObject;
+ if (t1 == null)
+ return "Concurrent modification during iteration.";
+ return "Concurrent modification during iteration: " + H.S(P.Error_safeToString(t1)) + ".";
+ },
+ static: {
+ConcurrentModificationError$: function(modifiedObject) {
+ return new P.ConcurrentModificationError(modifiedObject);
+}}
+
+},
+
+StackOverflowError: {"": "Object;",
+ toString$0: function(_) {
+ return "Stack Overflow";
+ },
+ get$stackTrace: function() {
+ return;
+ },
+ $isError: true
+},
+
+CyclicInitializationError: {"": "Error;variableName",
+ toString$0: function(_) {
+ return "Reading static variable '" + this.variableName + "' during its initialization";
+ },
+ static: {
+CyclicInitializationError$: function(variableName) {
+ return new P.CyclicInitializationError(variableName);
+}}
+
+},
+
+_ExceptionImplementation: {"": "Object;message",
+ toString$0: function(_) {
+ var t1 = this.message;
+ if (t1 == null)
+ return "Exception";
+ return "Exception: " + H.S(t1);
}
-})([["_foreign_helper","dart:_foreign_helper",,H,{FK:{"":"a;tT"}}],["_interceptors","dart:_interceptors",,J,{x:function(a){return void 0},Qu:function(a,b,c,d){return{i: a, p: b, e: c, x: d}},ks:function(a){var z,y,x,w
-z=a[init.dispatchPropertyName]
-if(z==null)if($.Bv==null){H.XD()
-z=a[init.dispatchPropertyName]}if(z!=null){y=z.p
-if(!1===y)return z.i
-if(!0===y)return a
-x=Object.getPrototypeOf(a)
-if(y===x)return z.i
-if(z.e===x)throw H.b(P.SY("Return interceptor for "+H.d(y(a,z))))}w=H.w3(a)
-if(w==null)return C.vB
-return w},Gv:{"":"a;",
-n:function(a,b){return a===b},
-gtU:function(a){return H.eQ(a)},
-bu:function(a){return H.a5(a)},
-T:function(a,b){throw H.b(P.lr(a,b.gWa(),b.gnd(),b.gVm(),null))},
-"%":"DOMError|FileError|MediaError|MediaKeyError|Navigator|NavigatorUserMediaError|PositionError|SQLError|SVGAnimatedNumberList"},kn:{"":"bool/Gv;",
-bu:function(a){return String(a)},
-gtU:function(a){return a?519018:218159},
-$isbool:true},PE:{"":"Gv;",
-n:function(a,b){return null==b},
-bu:function(a){return"null"},
-gtU:function(a){return 0}},Ue:{"":"Gv;",
-gtU:function(a){return 0}},iC:{"":"Ue;"},is:{"":"Ue;"},Q:{"":"List/Gv;",
-h:function(a,b){if(!!a.fixed$length)H.vh(P.f("add"))
-a.push(b)},
-FV:function(a,b){var z
-for(z=J.GP(b);z.G();)this.h(a,z.gl())},
-aN:function(a,b){return H.bQ(a,b)},
-ez:function(a,b){var z=new H.A8(a,b)
-H.VM(z,[null,null])
-return z},
-Zv:function(a,b){if(b>>>0!==b||b>=a.length)throw H.e(a,b)
-return a[b]},
-bu:function(a){return H.mx(a,"[","]")},
-gA:function(a){return new H.a7(a,a.length,0,null)},
-gtU:function(a){return H.eQ(a)},
-gB:function(a){return a.length},
-t:function(a,b){if(typeof b!=="number"||Math.floor(b)!==b)throw H.b(new P.AT(b))
-if(b>=a.length||b<0)throw H.b(P.N(b))
-return a[b]},
-u:function(a,b,c){if(!!a.immutable$list)H.vh(P.f("indexed set"))
-if(typeof b!=="number"||Math.floor(b)!==b)throw H.b(new P.AT(b))
-if(b>=a.length||b<0)throw H.b(P.N(b))
-a[b]=c},
-$isList:true,
-$asWO:null,
-$ascX:null,
-$isList:true,
-$isqC:true,
-$iscX:true},nM:{"":"Q;",$isnM:true,
-$asQ:function(){return[null]},
-$asWO:function(){return[null]},
-$ascX:function(){return[null]}},tN:{"":"nM;"},Jt:{"":"nM;",$isJt:true},P:{"":"num/Gv;",
-JV:function(a,b){return a%b},
-Vy:function(a){return Math.abs(a)},
-yu:function(a){var z
-if(a>=-2147483648&&a<=2147483647)return a|0
-if(isFinite(a)){z=a<0?Math.ceil(a):Math.floor(a)
-return z+0}throw H.b(P.f(''+a))},
-bu:function(a){if(a===0&&1/a<0)return"-0.0"
-else return""+a},
-gtU:function(a){return a&0x1FFFFFFF},
-W:function(a,b){return a-b},
-Z:function(a,b){if((a|0)===a&&(b|0)===b&&0!==b&&-1!==b)return a/b|0
-else return this.ZP(a,b)},
-ZP:function(a,b){return this.yu(a/b)},
-O:function(a,b){if(b<0)throw H.b(new P.AT(b))
-if(b>31)return 0
-return a<<b>>>0},
-m:function(a,b){if(b<0)throw H.b(new P.AT(b))
-if(a>0){if(b>31)return 0
-return a>>>b}if(b>31)b=31
-return a>>b>>>0},
-C:function(a,b){if(typeof b!=="number")throw H.b(P.u(b))
-return a<b},
-D:function(a,b){if(typeof b!=="number")throw H.b(P.u(b))
-return a>b},
-F:function(a,b){if(typeof b!=="number")throw H.b(new P.AT(b))
-return a>=b},
-$isnum:true,
-static:{"":"SA,nr",}},im:{"":"int/P;",$isnum:true,$isint:true},VA:{"":"double/P;",$isnum:true},O:{"":"String/Gv;",
-j:function(a,b){if(typeof b!=="number"||Math.floor(b)!==b)throw H.b(P.u(b))
-if(b<0)throw H.b(P.N(b))
-if(b>=a.length)throw H.b(P.N(b))
-return a.charCodeAt(b)},
-Nj:function(a,b,c){var z
-if(typeof b!=="number"||Math.floor(b)!==b)H.vh(P.u(b))
-if(c==null)c=a.length
-if(typeof c!=="number"||Math.floor(c)!==c)H.vh(P.u(c))
-z=J.Wx(b)
-if(z.C(b,0))throw H.b(P.N(b))
-if(z.D(b,c))throw H.b(P.N(b))
-if(J.xZ(c,a.length))throw H.b(P.N(c))
-return a.substring(b,c)},
-yn:function(a,b){return this.Nj(a,b,null)},
-gl0:function(a){return a.length===0},
-bu:function(a){return a},
-gtU:function(a){var z,y,x
-for(z=a.length,y=0,x=0;x<z;++x){y=536870911&y+a.charCodeAt(x)
-y=536870911&y+((524287&y)<<10>>>0)
-y^=y>>6}y=536870911&y+((67108863&y)<<3>>>0)
-y^=y>>11
-return 536870911&y+((16383&y)<<15>>>0)},
-gB:function(a){return a.length},
-t:function(a,b){if(typeof b!=="number"||Math.floor(b)!==b)throw H.b(new P.AT(b))
-if(b>=a.length||b<0)throw H.b(P.N(b))
-return a[b]},
-$isString:true}}],["_isolate_helper","dart:_isolate_helper",,H,{zd:function(a,b){var z=a.vV(b)
-$globalState.Xz.bL()
-return z},Rq:function(a){var z
-$globalState=H.Zh(a)
-if($globalState.EF===!0)return
-z=H.TJ()
-$globalState.yc=z
-$globalState.N0=z
-if(!!a.$is_aB)z.vV(new H.PK(a))
-else if(!!a.$is_bh)z.vV(new H.JO(a))
-else z.vV(a)
-$globalState.Xz.bL()},Td:function(){var z=init.currentScript
-if(z!=null)return String(z.src)
-if(typeof version=="function"&&typeof os=="object"&&"system" in os)return H.ZV()
-if(typeof version=="function"&&typeof system=="function")return thisFilename()
-return},ZV:function(){var z,y
-z=new Error().stack
-if(z==null){z=(function() {try { throw new Error() } catch(e) { return e.stack }})()
-if(z==null)throw H.b(P.f("No stack trace"))}y=z.match(new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$","m"))
-if(y!=null)return y[1]
-y=z.match(new RegExp("^[^@]*@(.*):[0-9]*$","m"))
-if(y!=null)return y[1]
-throw H.b(P.f("Cannot extract URI from \""+z+"\""))},Mg:function(a,b){var z,y,x,w,v,u,t,s,r,q
-z=H.Hh(b.data)
-y=J.U6(z)
-switch(y.t(z,"command")){case"start":$globalState.oL=y.t(z,"id")
-x=y.t(z,"functionName")
-w=x==null?$globalState.w2:init.globalFunctions[x]
-v=y.t(z,"args")
-u=H.Hh(y.t(z,"msg"))
-t=y.t(z,"isSpawnUri")
-s=H.Hh(y.t(z,"replyTo"))
-r=H.TJ()
-$globalState.Xz.Rk.NZ(new H.IY(r,new H.jl(w,v,u,t,s),"worker-start"))
-$globalState.N0=r
-$globalState.Xz.bL()
-break
-case"spawn-worker":H.oT(y.t(z,"functionName"),y.t(z,"uri"),y.t(z,"args"),y.t(z,"msg"),y.t(z,"isSpawnUri"),y.t(z,"replyPort"))
-break
-case"message":if(y.t(z,"port")!=null)y.t(z,"port").wR(y.t(z,"msg"))
-$globalState.Xz.bL()
-break
-case"close":y=$globalState.XC
-q=$.p6()
-y.Rz(y,q.t(q,a))
-a.terminate()
-$globalState.Xz.bL()
-break
-case"log":H.VL(y.t(z,"msg"))
-break
-case"print":if($globalState.EF===!0){y=$globalState.vd
-q=H.Gy(H.B7(["command","print","msg",z],P.L5(null,null,null,null,null)))
-y.toString
-self.postMessage(q)}else P.JS(y.t(z,"msg"))
-break
-case"error":throw H.b(y.t(z,"msg"))
-default:}},VL:function(a){var z,y,x,w
-if($globalState.EF===!0){y=$globalState.vd
-x=H.Gy(H.B7(["command","log","msg",a],P.L5(null,null,null,null,null)))
-y.toString
-self.postMessage(x)}else try{$.jk().console.log(a)}catch(w){H.Ru(w)
-z=new H.XO(w,null)
-throw H.b(P.FM(z))}},Z7:function(a,b,c,d,e){var z
-H.Ku($globalState.N0.jO)
-$.Dz=H.Ty()
-z=$.Dz
-z.toString
-e.wR(["spawned",new H.JM(z,$globalState.N0.jO)])
-if(d!==!0)a.call$1(c)
-else{z=J.x(a)
-if(!!z.$is_bh)a.call$2(b,c)
-else if(!!z.$is_aB)a.call$1(b)
-else a.call$0()}},oT:function(a,b,c,d,e,f){var z,y,x
-if(b==null)b=$.Rs()
-z=new Worker(b)
-z.onmessage=function(e) { H.NB.call$2(z, e); }
-y=$globalState
-x=y.Y7
-y.Y7=x+1
-y=$.p6()
-y.u(y,z,x)
-y=$globalState.XC
-y.u(y,x,z)
-z.postMessage(H.Gy(H.B7(["command","start","id",x,"replyTo",H.Gy(f),"args",c,"msg",H.Gy(d),"isSpawnUri",e,"functionName",a],P.L5(null,null,null,null,null))))},ff:function(a,b){var z=H.ZF()
-z.h7(a)
-P.pH(z.Gx).ml(new H.yc(b))},Gy:function(a){var z
-if($globalState.ji===!0){z=new H.Bj(0,new H.X1())
-z.iq=new H.fP(null)
-return z.h7(a)}else{z=new H.NO(new H.X1())
-z.iq=new H.fP(null)
-return z.h7(a)}},Hh:function(a){if($globalState.ji===!0)return new H.II(null).QS(a)
-else return a},vM:function(a){return a==null||typeof a==="string"||typeof a==="number"||typeof a==="boolean"},kV:function(a){return a==null||typeof a==="string"||typeof a==="number"||typeof a==="boolean"},PK:{"":"Tp;a",
-call$0:function(){this.a.call$1([])},
-"+call:0:0":0,
-$isEH:true},JO:{"":"Tp;b",
-call$0:function(){this.b.call$2([],null)},
-"+call:0:0":0,
-$isEH:true},O2:{"":"a;Hg,oL,Y7,N0,yc,Xz,Ai,EF,ji,i2,vd,XC,w2",
-N1:function(){var z,y
-z=$.C5()==null
-y=$.Nl()
-this.EF=z&&$.Iz()===!0
-if(this.EF!==!0)y=y!=null&&$.Rs()!=null
-else y=!0
-this.ji=y
-this.Ai=z&&this.EF!==!0},
-hn:function(){var z=function (e) { H.NB.call$2(this.vd, e); }
-$.jk().onmessage=z
-$.jk().dartPrint = function (object) {}},
-i6:function(a){this.N1()
-this.Xz=new H.cC(P.NZ(null,H.IY),0)
-this.i2=P.L5(null,null,null,J.im,H.aX)
-this.XC=P.L5(null,null,null,J.im,null)
-if(this.EF===!0){this.vd=new H.JH()
-this.hn()}},
-static:{Zh:function(a){var z=new H.O2(0,0,1,null,null,null,null,null,null,null,null,null,a)
-z.i6(a)
-return z}}},aX:{"":"a;jO,Gx,En<",
-vV:function(a){var z,y
-z=$globalState.N0
-$globalState.N0=this
-$=this.En
-y=null
-try{y=a.call$0()}finally{$globalState.N0=z
-if(z!=null)$=z.gEn()}return y},
-Zt:function(a){var z=this.Gx
-return z.t(z,a)},
-jT:function(a,b,c){var z
-if(this.Gx.x4(b))throw H.b(P.FM("Registry: ports must be registered only once."))
-z=this.Gx
-z.u(z,b,c)
-z=$globalState.i2
-z.u(z,this.jO,this)},
-IJ:function(a){var z=this.Gx
-z.Rz(z,a)
-if(this.Gx.MU===0){z=$globalState.i2
-z.Rz(z,this.jO)}},
-iZ:function(){var z,y
-z=$globalState
-y=z.Hg
-z.Hg=y+1
-this.jO=y
-this.Gx=P.L5(null,null,null,J.im,P.rR)
-this.En=new I()},
-static:{TJ:function(){var z=new H.aX(null,null,null)
-z.iZ()
-return z}}},cC:{"":"a;Rk,bZ",
-Jc:function(){var z=this.Rk
-if(z.av===z.HV)return
-return z.Ux()},
-LM:function(){if($globalState.yc!=null&&$globalState.i2.x4($globalState.yc.jO)&&$globalState.Ai===!0&&$globalState.yc.Gx.MU===0)throw H.b(P.FM("Program exited with open ReceivePorts."))},
-xB:function(){var z,y,x
-z=this.Jc()
-if(z==null){this.LM()
-y=$globalState
-if(y.EF===!0&&y.i2.MU===0&&y.Xz.bZ===0){y=y.vd
-x=H.Gy(H.B7(["command","close"],P.L5(null,null,null,null,null)))
-y.toString
-self.postMessage(x)}return!1}z.VU()
-return!0},
-Wu:function(){if($.C5()!=null)new H.RA(this).call$0()
-else for(;this.xB(););},
-bL:function(){var z,y,x,w,v
-if($globalState.EF!==!0)this.Wu()
-else try{this.Wu()}catch(x){w=H.Ru(x)
-z=w
-y=new H.XO(x,null)
-w=$globalState.vd
-v=H.Gy(H.B7(["command","error","msg",H.d(z)+"\n"+H.d(y)],P.L5(null,null,null,null,null)))
-w.toString
-self.postMessage(v)}}},RA:{"":"Tp;a",
-call$0:function(){if(!this.a.xB())return
-P.rT(C.RT,this)},
-"+call:0:0":0,
-$isEH:true},IY:{"":"a;od,i3,G1",
-VU:function(){this.od.vV(this.i3)}},JH:{"":"a;"},jl:{"":"Tp;a,b,c,d,e",
-call$0:function(){H.Z7(this.a,this.b,this.c,this.d,this.e)},
-"+call:0:0":0,
-$isEH:true},Iy:{"":"a;",$isbC:true},JM:{"":"Iy;JE,Jz",
-LV:function(a,b){H.ff(a,new H.Ua(this,a))},
-wR:function(a){return this.LV(a,null)},
-n:function(a,b){var z
-if(b==null)return!1
-z=J.x(b)
-return typeof b==="object"&&b!==null&&!!z.$isJM&&J.de(this.JE,b.JE)},
-gtU:function(a){return this.JE.gx6()},
-$isJM:true,
-$isbC:true},Ua:{"":"Tp;b,c",
-call$0:function(){var z,y,x,w,v,u,t
-z={}
-y=$globalState.i2
-x=this.b
-w=x.Jz
-v=y.t(y,w)
-if(v==null)return
-if((x.JE.gda().Gv&4)!==0)return
-u=$globalState.N0!=null&&$globalState.N0.jO!==w
-t=this.c
-z.a=t
-if(u)z.a=H.Gy(z.a)
-y=$globalState.Xz
-w="receive "+H.d(t)
-y.Rk.NZ(new H.IY(v,new H.JG(z,x,u),w))},
-"+call:0:0":0,
-$isEH:true},JG:{"":"Tp;a,d,e",
-call$0:function(){var z,y
-z=this.d.JE
-if((z.gda().Gv&4)===0){if(this.e){y=this.a
-y.a=H.Hh(y.a)}z=z.gda()
-y=this.a.a
-if(z.Gv>=4)H.vh(z.nG())
-z.Rg(y)}},
-"+call:0:0":0,
-$isEH:true},ns:{"":"Iy;Ws,bv,Jz",
-LV:function(a,b){H.ff(a,new H.wd(this,a))},
-wR:function(a){return this.LV(a,null)},
-n:function(a,b){var z
-if(b==null)return!1
-z=J.x(b)
-return typeof b==="object"&&b!==null&&!!z.$isns&&J.de(this.Ws,b.Ws)&&J.de(this.Jz,b.Jz)&&J.de(this.bv,b.bv)},
-gtU:function(a){var z,y,x
-z=J.c1(this.Ws,16)
-y=J.c1(this.Jz,8)
-x=this.bv
-if(typeof x!=="number")throw H.s(x)
-return(z^y^x)>>>0},
-$isns:true,
-$isbC:true},wd:{"":"Tp;a,b",
-call$0:function(){var z,y,x,w
-z=this.a
-y=H.Gy(H.B7(["command","message","port",z,"msg",this.b],P.L5(null,null,null,null,null)))
-if($globalState.EF===!0){$globalState.vd.toString
-self.postMessage(y)}else{x=$globalState.XC
-w=x.t(x,z.Ws)
-if(w!=null)w.postMessage(y)}},
-"+call:0:0":0,
-$isEH:true},fc:{"":"qh;x6<,da<",
-X5:function(a,b,c,d){var z=this.da
-z.toString
-z=new P.O9(z)
-H.VM(z,[null])
-return z.X5(a,b,c,d)},
-zC:function(a,b,c){return this.X5(a,null,b,c)},
-xO:function(a){var z=this.da
-if((z.Gv&4)!==0)return
-z.xO(z)
-$globalState.N0.IJ(this.x6)},
-gJK:function(a){return new H.YP(this,H.fc.prototype.xO,a,"xO")},
-zH:function(){this.da=P.x2(this.gJK(this),null,null,null,!0,null)
-var z=$globalState.N0
-z.jT(z,this.x6,this)},
-static:{"":"b9",Ty:function(){var z=$.b9
-$.b9=z+1
-z=new H.fc(z,null)
-z.zH()
-return z}}},yc:{"":"Tp;a",
-call$1:function(a){return this.a.call$0()},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},I9:{"":"HU;Gx,iq",
-Pq:function(a){},
-wb:function(a){var z=this.iq
-if(z.t(z,a)!=null)return
-z=this.iq
-z.u(z,a,!0)
-J.Me(a,this.gRQ())},
-w5:function(a){var z=this.iq
-if(z.t(z,a)!=null)return
-z=this.iq
-z.u(z,a,!0)
-z=a.gUQ(a)
-z.aN(z,this.gRQ())},
-aC:function(a){},
-IW:function(){this.iq=new H.fP(null)},
-static:{ZF:function(){var z=new H.I9([],new H.X1())
-z.IW()
-return z}}},Bj:{"":"Tf;CN,iq",
-aC:function(a){if(!!a.$isJM)return["sendport",$globalState.oL,a.Jz,a.JE.gx6()]
-if(!!a.$isns)return["sendport",a.Ws,a.Jz,a.bv]
-throw H.b("Illegal underlying port "+H.d(a))}},NO:{"":"oo;iq",
-aC:function(a){if(!!a.$isJM)return new H.JM(a.JE,a.Jz)
-if(!!a.$isns)return new H.ns(a.Ws,a.bv,a.Jz)
-throw H.b("Illegal underlying port "+H.d(a))}},II:{"":"iY;RZ",
-Vf:function(a){var z,y,x,w,v,u
-z=J.U6(a)
-y=z.t(a,1)
-x=z.t(a,2)
-w=z.t(a,3)
-if(J.de(y,$globalState.oL)){z=$globalState.i2
-v=z.t(z,x)
-if(v==null)return
-u=v.Zt(w)
-if(u==null)return
-return new H.JM(u,x)}else return new H.ns(y,w,x)}},fP:{"":"a;kw",
-t:function(a,b){return b.__MessageTraverser__attached_info__},
-u:function(a,b,c){this.kw.push(b)
-b.__MessageTraverser__attached_info__=c},
-CH:function(a){this.kw=P.A(null,null)},
-F4:function(){var z,y,x
-for(z=this.kw.length,y=0;y<z;++y){x=this.kw
-if(y>=x.length)throw H.e(x,y)
-x[y].__MessageTraverser__attached_info__=null}this.kw=null}},X1:{"":"a;",
-t:function(a,b){return},
-u:function(a,b,c){},
-CH:function(a){},
-F4:function(){}},HU:{"":"a;",
-h7:function(a){var z,y
-if(H.vM(a))return this.Pq(a)
-y=this.iq
-y.CH(y)
-z=null
-try{z=this.I8(a)}finally{this.iq.F4()}return z},
-I8:function(a){var z
-if(a==null||typeof a==="string"||typeof a==="number"||typeof a==="boolean")return this.Pq(a)
-z=J.x(a)
-if(typeof a==="object"&&a!==null&&(a.constructor===Array||!!z.$isList))return this.wb(a)
-if(typeof a==="object"&&a!==null&&!!z.$isZ0)return this.w5(a)
-if(typeof a==="object"&&a!==null&&!!z.$isbC)return this.aC(a)
-return this.YZ(a)},
-gRQ:function(){return new H.Pm(this,H.HU.prototype.I8,null,"I8")},
-YZ:function(a){throw H.b("Message serialization: Illegal value "+H.d(a)+" passed")}},oo:{"":"HU;",
-Pq:function(a){return a},
-wb:function(a){var z,y,x,w,v,u
-z=this.iq
-y=z.t(z,a)
-if(y!=null)return y
-z=J.U6(a)
-x=z.gB(a)
-y=P.A(x,null)
-w=this.iq
-w.u(w,a,y)
-if(typeof x!=="number")throw H.s(x)
-w=y.length
-v=0
-for(;v<x;++v){u=this.I8(z.t(a,v))
-if(v>=w)throw H.e(y,v)
-y[v]=u}return y},
-w5:function(a){var z,y
-z={}
-y=this.iq
-z.a=y.t(y,a)
-y=z.a
-if(y!=null)return y
-z.a=P.L5(null,null,null,null,null)
-y=this.iq
-y.u(y,a,z.a)
-a.aN(a,new H.OW(z,this))
-return z.a}},OW:{"":"Tp;a,b",
-call$2:function(a,b){var z=this.b
-J.kW(this.a.a,z.I8(a),z.I8(b))},
-"+call:2:0":0,
-$isEH:true,
-$is_bh:true},Tf:{"":"HU;",
-Pq:function(a){return a},
-wb:function(a){var z,y,x
-z=this.iq
-y=z.t(z,a)
-if(y!=null)return["ref",y]
-x=this.CN
-this.CN=x+1
-z=this.iq
-z.u(z,a,x)
-return["list",x,this.mE(a)]},
-w5:function(a){var z,y,x,w
-z=this.iq
-y=z.t(z,a)
-if(y!=null)return["ref",y]
-x=this.CN
-this.CN=x+1
-z=this.iq
-z.u(z,a,x)
-z=a.gvc()
-w=this.mE(P.F(z,!0,H.W8(z,"mW",0)))
-z=a.gUQ(a)
-return["map",x,w,this.mE(P.F(z,!0,H.W8(z,"mW",0)))]},
-mE:function(a){var z,y,x,w,v,u
-z=J.U6(a)
-y=z.gB(a)
-x=P.A(y,null)
-if(typeof y!=="number")throw H.s(y)
-w=x.length
-v=0
-for(;v<y;++v){u=this.I8(z.t(a,v))
-if(v>=w)throw H.e(x,v)
-x[v]=u}return x}},iY:{"":"a;",
-QS:function(a){if(H.kV(a))return a
-this.RZ=P.Py(null,null,null,null,null)
-return this.XE(a)},
-XE:function(a){var z,y
-if(a==null||typeof a==="string"||typeof a==="number"||typeof a==="boolean")return a
-z=J.U6(a)
-switch(z.t(a,0)){case"ref":y=z.t(a,1)
-z=this.RZ
-return z.t(z,y)
-case"list":return this.Dj(a)
-case"map":return this.tv(a)
-case"sendport":return this.Vf(a)
-default:return this.PR(a)}},
-Dj:function(a){var z,y,x,w,v
-z=J.U6(a)
-y=z.t(a,1)
-x=z.t(a,2)
-z=this.RZ
-z.u(z,y,x)
-z=J.U6(x)
-w=z.gB(x)
-if(typeof w!=="number")throw H.s(w)
-v=0
-for(;v<w;++v)z.u(x,v,this.XE(z.t(x,v)))
-return x},
-tv:function(a){var z,y,x,w,v,u,t,s
-z=P.L5(null,null,null,null,null)
-y=J.U6(a)
-x=y.t(a,1)
-w=this.RZ
-w.u(w,x,z)
-v=y.t(a,2)
-u=y.t(a,3)
-y=J.U6(v)
-t=y.gB(v)
-if(typeof t!=="number")throw H.s(t)
-w=J.U6(u)
-s=0
-for(;s<t;++s)z.u(z,this.XE(y.t(v,s)),this.XE(w.t(u,s)))
-return z},
-PR:function(a){throw H.b("Unexpected serialized object")}},yH:{"":"a;Kf,zu,p9",
-Qa:function(a,b){var z,y
-if(a===0)z=$.jk().setTimeout==null||$globalState.EF===!0
-else z=!1
-if(z){this.p9=1
-z=$globalState.Xz
-y=$globalState.N0
-z.Rk.NZ(new H.IY(y,new H.FA(this,b),"timer"))
-this.zu=!0}else if($.jk().setTimeout!=null){z=$globalState.Xz
-z.bZ=z.bZ+1
-this.p9=$.jk().setTimeout(H.tR(new H.Av(this,b),0),a)}else throw H.b(P.f("Timer greater than 0."))},
-static:{cy:function(a,b){var z=new H.yH(!0,!1,null)
-z.Qa(a,b)
-return z}}},FA:{"":"Tp;a,b",
-call$0:function(){this.a.p9=null
-this.b.call$0()},
-"+call:0:0":0,
-$isEH:true},Av:{"":"Tp;c,d",
-call$0:function(){this.c.p9=null
-var z=$globalState.Xz
-z.bZ=z.bZ-1
-this.d.call$0()},
-"+call:0:0":0,
-$isEH:true}}],["_js_helper","dart:_js_helper",,H,{wV:function(a,b){var z,y
-if(b!=null){z=b.x
-if(z!=null)return z}y=J.x(a)
-return typeof a==="object"&&a!==null&&!!y.$isXj},d:function(a){var z
-if(typeof a==="string")return a
-if(typeof a==="number"){if(a!==0)return""+a}else if(!0===a)return"true"
-else if(!1===a)return"false"
-else if(a==null)return"null"
-z=J.AG(a)
-if(typeof z!=="string")throw H.b(P.u(a))
-return z},Ku:function(a){$.te=$.te+("_"+H.d(a))
-$.eb=$.eb+("_"+H.d(a))},eQ:function(a){var z=a.$identityHash
-if(z==null){z=Math.random()*0x3fffffff|0
-a.$identityHash=z}return z},vx:function(a){throw H.b(P.rr(a))},Hp:function(a,b,c){var z,y
-c=H.Rm
-if(typeof a!=="string")H.vh(new P.AT(a))
-z=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(a)
-if(z!=null){y=z.length
-if(2>=y)throw H.e(z,2)
-if(z[2]!=null)return parseInt(a,16)
-if(3>=y)throw H.e(z,3)
-if(z[3]!=null)return parseInt(a,10)
-return c.call$1(a)}if(z==null)return c.call$1(a)
-return parseInt(a,10)},lh:function(a){var z,y,x
-z=C.Mo(J.x(a))
-if(z==="Object"){y=String(a.constructor).match(/^\s*function\s*(\S*)\s*\(/)[1]
-if(typeof y==="string")z=y}x=J.rY(z)
-if(x.j(z,0)===36)z=x.yn(z,1)
-x=H.oX(a)
-return H.d(z)+H.ia(x,0,null)},a5:function(a){return"Instance of '"+H.lh(a)+"'"},rD:function(a){var z=new Array(a)
-z.fixed$length=!0
-return z},VK:function(a){var z,y,x,w,v,u
-z=a.length
-for(y=z<=500,x="",w=0;w<z;w+=500){if(y)v=a
-else{u=w+500
-u=u<z?u:z
-v=a.slice(w,u)}x+=String.fromCharCode.apply(null,v)}return x},PL:function(a){var z,y,x
-z=[]
-for(y=new H.a7(a,a.length,0,null);y.G();){x=y.mD
-if(typeof x!=="number"||Math.floor(x)!==x)throw H.b(new P.AT(x))
-if(x<=65535)z.push(x)
-else if(x<=1114111){z.push(55296+(C.jn.m(x-65536,10)&1023))
-z.push(56320+(x&1023))}else throw H.b(new P.AT(x))}return H.VK(z)},eT:function(a){var z,y
-for(z=new H.a7(a,a.length,0,null);z.G();){y=z.mD
-if(typeof y!=="number"||Math.floor(y)!==y)throw H.b(new P.AT(y))
-if(y<0)throw H.b(new P.AT(y))
-if(y>65535)return H.PL(a)}return H.VK(a)},o2:function(a){if(a.date===void 0)a.date=new Date(a.rq)
-return a.date},tJ:function(a){return a.aL?H.o2(a).getUTCFullYear()+0:H.o2(a).getFullYear()+0},NS:function(a){return a.aL?H.o2(a).getUTCMonth()+1:H.o2(a).getMonth()+1},jA:function(a){return a.aL?H.o2(a).getUTCDate()+0:H.o2(a).getDate()+0},KL:function(a){return a.aL?H.o2(a).getUTCHours()+0:H.o2(a).getHours()+0},ch:function(a){return a.aL?H.o2(a).getUTCMinutes()+0:H.o2(a).getMinutes()+0},XJ:function(a){return a.aL?H.o2(a).getUTCSeconds()+0:H.o2(a).getSeconds()+0},o1:function(a){return a.aL?H.o2(a).getUTCMilliseconds()+0:H.o2(a).getMilliseconds()+0},of:function(a,b){if(a==null||typeof a==="boolean"||typeof a==="number"||typeof a==="string")throw H.b(new P.AT(a))
-return a[b]},aw:function(a,b,c){if(a==null||typeof a==="boolean"||typeof a==="number"||typeof a==="string")throw H.b(new P.AT(a))
-a[b]=c},Ek:function(a,b,c){var z,y,x,w,v,u,t,s,r,q
-z={}
-z.a=0
-y=P.p9("")
-x=[]
-z.a=z.a+b.length
-C.Nm.FV(x,b)
-if("call$catchAll" in a){w=a.call$catchAll()
-if(c!=null&&!c.gl0(c))c.aN(c,new H.u8(w))
-v=Object.getOwnPropertyNames(w)
-u=z.a
-t=J.U6(v)
-s=t.gB(v)
-if(typeof s!=="number")throw H.s(s)
-z.a=u+s
-t.aN(v,new H.Gi(y,x,w))}else if(c!=null&&!c.gl0(c))c.aN(c,new H.t2(z,y,x))
-r="call$"+H.d(z.a)+H.d(y)
-q=a[r]
-if(q==null){if(c==null)z=[]
-else{z=c.gvc()
-z=P.F(z,!0,H.W8(z,"mW",0))}return J.jf(a,new H.LI(C.Ka,r,0,x,z,null))}return q.apply(a,x)},s:function(a){throw H.b(P.u(a))},e:function(a,b){if(a==null)J.q8(a)
-if(typeof b!=="number"||Math.floor(b)!==b)H.s(b)
-throw H.b(P.N(b))},b:function(a){var z
-if(a==null)a=new P.LK()
-z=new Error()
-z.dartException=a
-if("defineProperty" in Object){Object.defineProperty(z, "message", { get: H.Eu.call$0 })
-z.name=""}else z.toString=H.Eu.call$0
-return z},Ju:function(){return J.AG(this.dartException)},vh:function(a){throw H.b(a)},m9:function(a){a.immutable$list=!0
-a.fixed$length=!0
-return a},Ru:function(a){var z,y,x,w,v,u,t,s,r,q,p,o,n,m
-z=new H.Am(a)
-if(a==null)return
-if(typeof a!=="object")return a
-if("dartException" in a)return z.call$1(a.dartException)
-else if(!("message" in a))return a
-y=a.message
-if("number" in a&&typeof a.number=="number"){x=a.number
-w=x&65535
-if((C.jn.m(x,16)&8191)===10)switch(w){case 438:return z.call$1(H.T3(H.d(y)+" (Error "+w+")",null))
-case 445:case 5007:v=H.d(y)+" (Error "+w+")"
-return z.call$1(new H.W0(v,null))
-default:}}if(a instanceof TypeError){v=$.WD()
-u=$.OI()
-t=$.PH()
-s=$.D1()
-r=$.rx()
-q=$.Kr()
-p=$.zO()
-$.Bi()
-o=$.eA()
-n=$.ko()
-m=v.qS(y)
-if(m!=null)return z.call$1(H.T3(y,m))
-else{m=u.qS(y)
-if(m!=null){m.method="call"
-return z.call$1(H.T3(y,m))}else{m=t.qS(y)
-if(m==null){m=s.qS(y)
-if(m==null){m=r.qS(y)
-if(m==null){m=q.qS(y)
-if(m==null){m=p.qS(y)
-if(m==null){m=s.qS(y)
-if(m==null){m=o.qS(y)
-if(m==null){m=n.qS(y)
-v=m!=null}else v=!0}else v=!0}else v=!0}else v=!0}else v=!0}else v=!0}else v=!0
-if(v){v=m==null?null:m.method
-return z.call$1(new H.W0(y,v))}}}v=typeof y==="string"?y:""
-return z.call$1(new H.vV(v))}if(a instanceof RangeError){if(typeof y==="string"&&y.indexOf("call stack")!==-1)return new P.VS()
-return z.call$1(new P.AT(null))}if(typeof InternalError=="function"&&a instanceof InternalError)if(typeof y==="string"&&y==="too much recursion")return new P.VS()
-return a},CU:function(a){if(a==null||typeof a!='object')return J.Dk(a)
-else return H.eQ(a)},B7:function(a,b){var z,y,x,w
-z=a.length
-for(y=0;y<z;y=w){x=y+1
-w=x+1
-b.u(b,a[y],a[x])}return b},ft:function(a,b,c,d,e,f,g){var z=J.x(c)
-if(z.n(c,0))return H.zd(b,new H.dr(a))
-else if(z.n(c,1))return H.zd(b,new H.TL(a,d))
-else if(z.n(c,2))return H.zd(b,new H.KX(a,d,e))
-else if(z.n(c,3))return H.zd(b,new H.uZ(a,d,e,f))
-else if(z.n(c,4))return H.zd(b,new H.OQ(a,d,e,f,g))
-else throw H.b(P.FM("Unsupported number of arguments for wrapped closure"))},tR:function(a,b){var z
-if(a==null)return
-z=a.$identity
-if(!!z)return z
-z=(function(closure, arity, context, invoke) { return function(a1, a2, a3, a4) { return invoke(closure, context, arity, a1, a2, a3, a4); };})(a,b,$globalState.N0,H.eH.call$7)
-a.$identity=z
-return z},ag:function(a){throw H.b(P.Gz("Cyclic initialization for static "+H.d(a)))},Kx:function(a){return new H.cu(a,null)},VM:function(a,b){if(a!=null)a.$builtinTypeInfo=b
-return a},oX:function(a){if(a==null)return
-return a.$builtinTypeInfo},IM:function(a,b){return H.Y9(a["$as"+H.d(b)],H.oX(a))},W8:function(a,b,c){var z=H.IM(a,b)
-return z==null?null:z[c]},mS:function(a,b){return a[0].builtin$cls+H.ia(a,1,b)},Ko:function(a,b){if(a==null)return"dynamic"
-else if(typeof a==="object"&&a!==null&&a.constructor===Array)return H.mS(a,b)
-else if(typeof a=="function")return a.builtin$cls
-else if(typeof a==="number"&&Math.floor(a)===a)return C.jn.bu(a)
-else return},ia:function(a,b,c){var z,y,x,w,v,u
-if(a==null)return""
-z=P.p9("")
-for(y=b,x=!0,w=!0;y<a.length;++y){if(x)x=!1
-else z.vM=z.vM+", "
-v=a[y]
-if(v!=null)w=!1
-u=H.Ko(v,c)
-u=typeof u==="string"?u:H.d(u)
-z.vM=z.vM+u}return w?"":"<"+H.d(z)+">"},Y9:function(a,b){if(typeof a==="object"&&a!==null&&a.constructor===Array)b=a
-else if(typeof a=="function"){a=H.ml(a,null,b)
-if(typeof a==="object"&&a!==null&&a.constructor===Array)b=a
-else if(typeof a=="function")b=H.ml(a,null,b)}return b},IG:function(a,b,c){return H.ml(a,b,H.IM(b,c))},ml:function(a,b,c){return a.apply(b,c)},or:function(a){var z=$.NF
-return"Instance of "+(z==null?"<Unknown>":z.call$1(a))},wz:function(a){return H.eQ(a)},iw:function(a,b,c){Object.defineProperty(a, b, {value: c, enumerable: false, writable: true, configurable: true})},w3:function(a){var z,y,x,w,v,u
-z=$.NF.call$1(a)
-y=$.nw[z]
-if(y!=null){Object.defineProperty(a, init.dispatchPropertyName, {value: y, enumerable: false, writable: true, configurable: true})
-return y.i}x=$.vv[z]
-if(x!=null)return x
-w=init.interceptorsByTag[z]
-if(w==null){z=$.TX.call$2(a,z)
-if(z!=null){y=$.nw[z]
-if(y!=null){Object.defineProperty(a, init.dispatchPropertyName, {value: y, enumerable: false, writable: true, configurable: true})
-return y.i}x=$.vv[z]
-if(x!=null)return x
-w=init.interceptorsByTag[z]}}if(w==null)return
-x=w.prototype
-v=z[0]
-if(v==="!"){y=H.Va(x)
-$.nw[z]=y
-Object.defineProperty(a, init.dispatchPropertyName, {value: y, enumerable: false, writable: true, configurable: true})
-return y.i}if(v==="~"){$.vv[z]=x
-return x}if(v==="-"){u=H.Va(x)
-Object.defineProperty(Object.getPrototypeOf(a), init.dispatchPropertyName, {value: u, enumerable: false, writable: true, configurable: true})
-return u.i}if(v==="+")return H.Lc(a,x)
-if(v==="*")throw H.b(P.SY(z))
-if(init.leafTags[z]===true){u=H.Va(x)
-Object.defineProperty(Object.getPrototypeOf(a), init.dispatchPropertyName, {value: u, enumerable: false, writable: true, configurable: true})
-return u.i}else return H.Lc(a,x)},Lc:function(a,b){var z,y
-z=Object.getPrototypeOf(a)
-y=J.Qu(b,z,null,null)
-Object.defineProperty(z, init.dispatchPropertyName, {value: y, enumerable: false, writable: true, configurable: true})
-return b},Va:function(a){return J.Qu(a,!1,null,!!a.$isXj)},ow:function(a,b,c){var z=b.prototype
-if(init.leafTags[a]===true)return J.Qu(z,!1,null,!!z.$isXj)
-else return J.Qu(z,c,null,null)},XD:function(){if(!0===$.Bv)return
-$.Bv=!0
-H.Z1()},Z1:function(){var z,y,x,w,v,u,t
-$.nw=Object.create(null)
-$.vv=Object.create(null)
-H.kO()
-z=init.interceptorsByTag
-y=Object.getOwnPropertyNames(z)
-if(typeof window!="undefined"){window
-for(x=0;x<y.length;++x){w=y[x]
-v=$.x7.call$1(w)
-if(v!=null){u=H.ow(w,z[w],v)
-if(u!=null)Object.defineProperty(v, init.dispatchPropertyName, {value: u, enumerable: false, writable: true, configurable: true})}}}for(x=0;x<y.length;++x){w=y[x]
-if(/^[A-Za-z_]/.test(w)){t=z[w]
-z["!"+w]=t
-z["~"+w]=t
-z["-"+w]=t
-z["+"+w]=t
-z["*"+w]=t}}},kO:function(){var z,y,x,w,v,u,t
-z=C.HX()
-z=H.ud(C.Mc,H.ud(C.XQ,H.ud(C.XQ,H.ud(C.Px,H.ud(C.dE,H.ud(C.dK(C.Mo),z))))))
-if(typeof dartNativeDispatchHooksTransformer!="undefined"){y=dartNativeDispatchHooksTransformer
-if(typeof y=="function")y=[y]
-if(y.constructor==Array)for(x=0;x<y.length;++x){w=y[x]
-if(typeof w=="function")z=w(z)||z}}v=z.getTag
-u=z.getUnknownTag
-t=z.prototypeForTag
-$.NF=new H.dC(v)
-$.TX=new H.wN(u)
-$.x7=new H.VX(t)},ud:function(a,b){return a(b)||b},LI:{"":"a;t5,Qp,GF,FQ,md,mG",
-gWa:function(){return this.t5},
-gnd:function(){var z,y,x,w
-if(this.GF===1)return C.xD
-z=this.FQ
-y=z.length-this.md.length
-if(y===0)return C.xD
-x=[]
-for(w=0;w<y;++w){if(w>=z.length)throw H.e(z,w)
-x.push(z[w])}return H.m9(x)},
-gVm:function(){var z,y,x,w,v,u,t,s
-if(this.GF!==0)return H.B7([],P.L5(null,null,null,null,null))
-z=this.md
-y=z.length
-x=this.FQ
-w=x.length-y
-if(y===0)return H.B7([],P.L5(null,null,null,null,null))
-v=P.L5(null,null,null,P.wv,null)
-for(u=0;u<y;++u){if(u>=z.length)throw H.e(z,u)
-t=z[u]
-s=w+u
-if(s<0||s>=x.length)throw H.e(x,s)
-v.u(v,new H.GD(t),x[s])}return v},
-static:{"":"hA,Le,De",}},u8:{"":"Tp;b",
-call$2:function(a,b){this.b[a]=b},
-"+call:2:0":0,
-$isEH:true,
-$is_bh:true},Gi:{"":"Tp;c,d,e",
-call$1:function(a){this.c.KF("$"+H.d(a))
-this.d.push(this.e[a])},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},t2:{"":"Tp;a,f,g",
-call$2:function(a,b){var z
-this.f.KF("$"+H.d(a))
-this.g.push(b)
-z=this.a
-z.a=z.a+1},
-"+call:2:0":0,
-$isEH:true,
-$is_bh:true},Zr:{"":"a;vv,FQ,Vv,yB,Sp,lv",
-qS:function(a){var z,y,x
-z=new RegExp(this.vv).exec(a)
-if(z==null)return
-y={}
-x=this.FQ
-if(x!==-1)y.arguments=z[x+1]
-x=this.Vv
-if(x!==-1)y.argumentsExpr=z[x+1]
-x=this.yB
-if(x!==-1)y.expr=z[x+1]
-x=this.Sp
-if(x!==-1)y.method=z[x+1]
-x=this.lv
-if(x!==-1)y.receiver=z[x+1]
-return y},
-static:{"":"lm,k1,Re,fN,qi,rZ,BX,tt,dt,A7",cM:function(a){var z,y,x,w,v,u
-a=a.replace(String({}), '$receiver$').replace(new RegExp("[[\\]{}()*+?.\\\\^$|]",'g'),'\\$&')
-z=a.match(/\\\$[a-zA-Z]+\\\$/g)
-if(z==null)z=[]
-y=z.indexOf("\\$arguments\\$")
-x=z.indexOf("\\$argumentsExpr\\$")
-w=z.indexOf("\\$expr\\$")
-v=z.indexOf("\\$method\\$")
-u=z.indexOf("\\$receiver\\$")
-return new H.Zr(a.replace('\\$arguments\\$','((?:x|[^x])*)').replace('\\$argumentsExpr\\$','((?:x|[^x])*)').replace('\\$expr\\$','((?:x|[^x])*)').replace('\\$method\\$','((?:x|[^x])*)').replace('\\$receiver\\$','((?:x|[^x])*)'),y,x,w,v,u)},S7:function(a){return function($expr$) {
- var $argumentsExpr$ = '$arguments$'
- try {
- $expr$.$method$($argumentsExpr$);
- } catch (e) {
- return e.message;
+},
+
+FormatException: {"": "Object;message",
+ toString$0: function(_) {
+ return "FormatException: " + H.S(this.message);
+ },
+ static: {
+FormatException$: function(message) {
+ return new P.FormatException(message);
+}}
+
+},
+
+Expando: {"": "Object;name",
+ toString$0: function(_) {
+ return "Expando:" + H.S(this.name);
+ },
+ $index: function(_, object) {
+ var values = H.Primitives_getProperty(object, "expando$values");
+ return values == null ? null : H.Primitives_getProperty(values, this._getKey$0());
+ },
+ $indexSet: function(_, object, value) {
+ var values = H.Primitives_getProperty(object, "expando$values");
+ if (values == null) {
+ values = new P.Object();
+ H.Primitives_setProperty(object, "expando$values", values);
+ }
+ H.Primitives_setProperty(values, this._getKey$0(), value);
+ },
+ _getKey$0: function() {
+ var key, t1;
+ key = H.Primitives_getProperty(this, "expando$key");
+ if (key == null) {
+ t1 = $.Expando__keyCount;
+ $.Expando__keyCount = t1 + 1;
+ key = "expando$key$" + t1;
+ H.Primitives_setProperty(this, "expando$key", key);
+ }
+ return key;
+ },
+ static: {
+"": "Expando__KEY_PROPERTY_NAME,Expando__EXPANDO_PROPERTY_NAME,Expando__keyCount",
+}
+
+},
+
+Function: {"": "Object;", $isFunction: true},
+
+Iterator: {"": "Object;"},
+
+Null: {"": "Object;",
+ toString$0: function(_) {
+ return "null";
}
-}(a)},pb:function(){return function() {
- var $argumentsExpr$ = '$arguments$'
- try {
- null.$method$($argumentsExpr$);
- } catch (e) {
- return e.message;
+},
+
+Object: {"": ";",
+ $eq: function(_, other) {
+ return this === other;
+ },
+ get$hashCode: function(_) {
+ return H.Primitives_objectHashCode(this);
+ },
+ toString$0: function(_) {
+ return H.Primitives_objectToString(this);
+ },
+ noSuchMethod$1: function(_, invocation) {
+ throw H.wrapException(P.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments(), null));
}
-}()},u9:function(){return function() {
- var $argumentsExpr$ = '$arguments$'
- try {
- (void 0).$method$($argumentsExpr$);
- } catch (e) {
- return e.message;
+},
+
+StackTrace: {"": "Object;"},
+
+StringBuffer: {"": "Object;_contents<",
+ get$length: function(_) {
+ return this._contents.length;
+ },
+ write$1: function(obj) {
+ var str = typeof obj === "string" ? obj : H.S(obj);
+ this._contents = this._contents + str;
+ },
+ writeAll$2: function(objects, separator) {
+ var iterator, str;
+ iterator = J.get$iterator$ax(objects);
+ if (!iterator.moveNext$0())
+ return;
+ if (separator.length === 0)
+ do {
+ str = iterator.get$current();
+ str = typeof str === "string" ? str : H.S(str);
+ this._contents = this._contents + str;
+ } while (iterator.moveNext$0());
+ else {
+ this.write$1(iterator.get$current());
+ for (; iterator.moveNext$0();) {
+ this._contents = this._contents + separator;
+ str = iterator.get$current();
+ str = typeof str === "string" ? str : H.S(str);
+ this._contents = this._contents + str;
+ }
+ }
+ },
+ toString$0: function(_) {
+ return this._contents;
+ },
+ StringBuffer$1: function($content) {
+ this._contents = $content;
+ },
+ static: {
+StringBuffer$: function($content) {
+ var t1 = new P.StringBuffer("");
+ t1.StringBuffer$1($content);
+ return t1;
+}}
+
+},
+
+Symbol: {"": "Object;"}}],
+["dart.dom.html", "dart:html", , W, {
+_wrapZone: function(callback) {
+ var t1 = $.Zone__current;
+ if (t1 === C.C__RootZone)
+ return callback;
+ return t1.bindUnaryCallback$2$runGuarded(callback, true);
+},
+
+HtmlElement: {"": "Element;", "%": "HTMLAppletElement|HTMLAreaElement|HTMLBRElement|HTMLBaseElement|HTMLBaseFontElement|HTMLBodyElement|HTMLCanvasElement|HTMLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDetailsElement|HTMLDialogElement|HTMLDirectoryElement|HTMLDivElement|HTMLEmbedElement|HTMLFieldSetElement|HTMLFontElement|HTMLFrameElement|HTMLFrameSetElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTMLKeygenElement|HTMLLabelElement|HTMLLegendElement|HTMLLinkElement|HTMLMapElement|HTMLMarqueeElement|HTMLMenuElement|HTMLMetaElement|HTMLModElement|HTMLOListElement|HTMLObjectElement|HTMLOptGroupElement|HTMLParagraphElement|HTMLPreElement|HTMLQuoteElement|HTMLScriptElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTMLStyleElement|HTMLTableCaptionElement|HTMLTableCellElement|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHeaderCellElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTemplateElement|HTMLTitleElement|HTMLTrackElement|HTMLUListElement|HTMLUnknownElement;HTMLElement"},
+
+AnchorElement: {"": "HtmlElement;",
+ toString$0: function(receiver) {
+ return receiver.toString();
+ },
+ "%": "HTMLAnchorElement"
+},
+
+Blob: {"": "Interceptor;", $isBlob: true, "%": "Blob|File"},
+
+ButtonElement: {"": "HtmlElement;value=", "%": "HTMLButtonElement"},
+
+CharacterData: {"": "Node;length=", "%": "CDATASection|CharacterData|Comment|ProcessingInstruction|Text"},
+
+DomException: {"": "Interceptor;",
+ toString$0: function(receiver) {
+ return receiver.toString();
+ },
+ "%": "DOMException"
+},
+
+Element: {"": "Node;",
+ toString$0: function(receiver) {
+ return receiver.localName;
+ },
+ "%": "SVGAElement|SVGAltGlyphDefElement|SVGAltGlyphElement|SVGAltGlyphItemElement|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTransformElement|SVGAnimationElement|SVGCircleElement|SVGClipPathElement|SVGComponentTransferFunctionElement|SVGCursorElement|SVGDefsElement|SVGDescElement|SVGElement|SVGEllipseElement|SVGFEBlendElement|SVGFEColorMatrixElement|SVGFEComponentTransferElement|SVGFECompositeElement|SVGFEConvolveMatrixElement|SVGFEDiffuseLightingElement|SVGFEDisplacementMapElement|SVGFEDistantLightElement|SVGFEDropShadowElement|SVGFEFloodElement|SVGFEFuncAElement|SVGFEFuncBElement|SVGFEFuncGElement|SVGFEFuncRElement|SVGFEGaussianBlurElement|SVGFEImageElement|SVGFEMergeElement|SVGFEMergeNodeElement|SVGFEMorphologyElement|SVGFEOffsetElement|SVGFEPointLightElement|SVGFESpecularLightingElement|SVGFESpotLightElement|SVGFETileElement|SVGFETurbulenceElement|SVGFilterElement|SVGFontElement|SVGFontFaceElement|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement|SVGForeignObjectElement|SVGGElement|SVGGlyphElement|SVGGlyphRefElement|SVGGradientElement|SVGGraphicsElement|SVGHKernElement|SVGImageElement|SVGLineElement|SVGLinearGradientElement|SVGMPathElement|SVGMarkerElement|SVGMaskElement|SVGMetadataElement|SVGMissingGlyphElement|SVGPathElement|SVGPatternElement|SVGPolygonElement|SVGPolylineElement|SVGRadialGradientElement|SVGRectElement|SVGSVGElement|SVGScriptElement|SVGSetElement|SVGStopElement|SVGStyleElement|SVGSwitchElement|SVGSymbolElement|SVGTSpanElement|SVGTextContentElement|SVGTextElement|SVGTextPathElement|SVGTextPositioningElement|SVGTitleElement|SVGUseElement|SVGVKernElement|SVGViewElement;Element"
+},
+
+ErrorEvent: {"": "Event;error=", "%": "ErrorEvent"},
+
+Event: {"": "Interceptor;", $isEvent: true, "%": "AudioProcessingEvent|AutocompleteErrorEvent|BeforeLoadEvent|BeforeUnloadEvent|CSSFontFaceLoadEvent|CloseEvent|CompositionEvent|CustomEvent|DeviceMotionEvent|DeviceOrientationEvent|DragEvent|FocusEvent|HashChangeEvent|IDBVersionChangeEvent|KeyboardEvent|MIDIConnectionEvent|MIDIMessageEvent|MSPointerEvent|MediaKeyEvent|MediaKeyMessageEvent|MediaKeyNeededEvent|MediaStreamEvent|MediaStreamTrackEvent|MessageEvent|MouseEvent|MouseScrollEvent|MouseWheelEvent|MutationEvent|OfflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|PointerEvent|PopStateEvent|ProgressEvent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|ResourceProgressEvent|SVGZoomEvent|SecurityPolicyViolationEvent|SpeechInputEvent|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent|TextEvent|TouchEvent|TrackEvent|TransitionEvent|UIEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|WheelEvent|XMLHttpRequestProgressEvent;Event"},
+
+EventTarget: {"": "Interceptor;",
+ addEventListener$3: function(receiver, type, listener, useCapture) {
+ return receiver.addEventListener(type, H.convertDartClosureToJS(listener, 1), useCapture);
+ },
+ removeEventListener$3: function(receiver, type, listener, useCapture) {
+ return receiver.removeEventListener(type, H.convertDartClosureToJS(listener, 1), useCapture);
+ },
+ "%": "MediaStream;EventTarget"
+},
+
+FormElement: {"": "HtmlElement;length=", "%": "HTMLFormElement"},
+
+ImageData: {"": "Interceptor;", $isImageData: true, "%": "ImageData"},
+
+InputElement: {"": "HtmlElement;value=", $isNode: true, "%": "HTMLInputElement"},
+
+LIElement: {"": "HtmlElement;value=", "%": "HTMLLIElement"},
+
+MediaElement: {"": "HtmlElement;error=", "%": "HTMLAudioElement|HTMLMediaElement|HTMLVideoElement"},
+
+MeterElement: {"": "HtmlElement;value=", "%": "HTMLMeterElement"},
+
+Node: {"": "EventTarget;",
+ toString$0: function(receiver) {
+ var t1 = receiver.nodeValue;
+ return t1 == null ? J.Interceptor.prototype.toString$0.call(this, receiver) : t1;
+ },
+ $isNode: true,
+ "%": "Attr|Document|DocumentFragment|DocumentType|Entity|HTMLDocument|Notation|SVGDocument|ShadowRoot;Node"
+},
+
+OptionElement: {"": "HtmlElement;value=", "%": "HTMLOptionElement"},
+
+OutputElement: {"": "HtmlElement;value=", "%": "HTMLOutputElement"},
+
+ParamElement: {"": "HtmlElement;value=", "%": "HTMLParamElement"},
+
+ProgressElement: {"": "HtmlElement;value=", "%": "HTMLProgressElement"},
+
+SelectElement: {"": "HtmlElement;length=,value=", "%": "HTMLSelectElement"},
+
+SpeechRecognitionError: {"": "Event;error=", "%": "SpeechRecognitionError"},
+
+TextAreaElement: {"": "HtmlElement;value=", "%": "HTMLTextAreaElement"},
+
+Window: {"": "EventTarget;",
+ toString$0: function(receiver) {
+ return receiver.toString();
+ },
+ $isWindow: true,
+ "%": "DOMWindow|Window"
+},
+
+EventStreamProvider: {"": "Object;_eventType"},
+
+_EventStream: {"": "Stream;",
+ listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) {
+ var t1 = new W._EventStreamSubscription(0, this._target, this._eventType, W._wrapZone(onData), this._useCapture);
+ H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_EventStream", 0)]);
+ t1._tryResume$0();
+ return t1;
+ },
+ listen$3$onDone$onError: function(onData, onDone, onError) {
+ return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError);
+ },
+ $asStream: null
+},
+
+_ElementEventStreamImpl: {"": "_EventStream;_target,_eventType,_useCapture", $as_EventStream: null},
+
+_EventStreamSubscription: {"": "StreamSubscription;_pauseCount,_target,_eventType,_onData,_useCapture",
+ cancel$0: function() {
+ if (this._target == null)
+ return;
+ this._unlisten$0();
+ this._target = null;
+ this._onData = null;
+ },
+ pause$1: function(_, resumeSignal) {
+ if (this._target == null)
+ return;
+ this._pauseCount = this._pauseCount + 1;
+ this._unlisten$0();
+ },
+ pause$0: function($receiver) {
+ return this.pause$1($receiver, null);
+ },
+ resume$0: function() {
+ if (this._target == null || this._pauseCount <= 0)
+ return;
+ this._pauseCount = this._pauseCount - 1;
+ this._tryResume$0();
+ },
+ _tryResume$0: function() {
+ var t1 = this._onData;
+ if (t1 != null && this._pauseCount <= 0)
+ J.addEventListener$3$x(this._target, this._eventType, t1, this._useCapture);
+ },
+ _unlisten$0: function() {
+ var t1 = this._onData;
+ if (t1 != null)
+ J.removeEventListener$3$x(this._target, this._eventType, t1, this._useCapture);
+ },
+ $asStreamSubscription: null
+}}],
+["dart.dom.indexed_db", "dart:indexed_db", , P, {
+KeyRange: {"": "Interceptor;", $isKeyRange: true, "%": "IDBKeyRange"}}],
+["dart.isolate", "dart:isolate", , P, {
+ReceivePort: {"": "Object;"}}],
+["dart.js", "dart:js", , P, {
+_convertDartFunction: function(f, captureThis) {
+ return function(_call, f, captureThis) {return function() {return _call(f, captureThis, this, Array.prototype.slice.apply(arguments));}}(P._callDartFunction$closure.call$4, f, captureThis);
+},
+
+_callDartFunction: function(callback, captureThis, $self, $arguments) {
+ var arguments0;
+ if (captureThis === true) {
+ arguments0 = [$self];
+ C.JSArray_methods.addAll$1(arguments0, $arguments);
+ $arguments = arguments0;
}
-}()},Mj:function(a){return function($expr$) {
- try {
- $expr$.$method$;
- } catch (e) {
- return e.message;
+ return P._convertToJS(H.Primitives_applyFunction(callback, P.List_List$from(J.map$1$ax($arguments, P._convertToDart$closure), true, null), P.Function__toMangledNames(null)));
+},
+
+_defineProperty: function(o, $name, value) {
+ var exception;
+ if (Object.isExtensible(o))
+ try {
+ Object.defineProperty(o, $name, { value: value});
+ return true;
+ } catch (exception) {
+ H.unwrapException(exception);
+ }
+
+ return false;
+},
+
+_convertToJS: function(o) {
+ var t1;
+ if (o == null)
+ return;
+ else {
+ if (typeof o !== "string")
+ if (typeof o !== "number")
+ if (typeof o !== "boolean") {
+ t1 = J.getInterceptor(o);
+ t1 = typeof o === "object" && o !== null && !!t1.$isBlob || typeof o === "object" && o !== null && !!t1.$isEvent || typeof o === "object" && o !== null && !!t1.$isKeyRange || typeof o === "object" && o !== null && !!t1.$isImageData || typeof o === "object" && o !== null && !!t1.$isNode || typeof o === "object" && o !== null && !!t1.$isTypedData || typeof o === "object" && o !== null && !!t1.$isWindow;
+ } else
+ t1 = true;
+ else
+ t1 = true;
+ else
+ t1 = true;
+ if (t1)
+ return o;
+ else {
+ t1 = J.getInterceptor(o);
+ if (typeof o === "object" && o !== null && !!t1.$isDateTime)
+ return H.Primitives_lazyAsJsDate(o);
+ else if (typeof o === "object" && o !== null && !!t1.$isJsObject)
+ return o._jsObject;
+ else if (typeof o === "object" && o !== null && !!t1.$isFunction)
+ return P._getJsProxy(o, "$dart_jsFunction", new P._convertToJS_closure());
+ else
+ return P._getJsProxy(o, "_$dart_jsObject", new P._convertToJS_closure0());
+ }
}
-}(a)},Qd:function(){return function() {
- try {
- null.$method$;
- } catch (e) {
- return e.message;
+},
+
+_getJsProxy: function(o, propertyName, createProxy) {
+ var jsProxy = o[propertyName];
+ if (jsProxy == null) {
+ jsProxy = createProxy.call$1(o);
+ P._defineProperty(o, propertyName, jsProxy);
}
-}()},m0:function(){return function() {
- try {
- (void 0).$method$;
- } catch (e) {
- return e.message;
+ return jsProxy;
+},
+
+_convertToDart: function(o) {
+ var t1;
+ if (o == null || typeof o == "string" || typeof o == "number" || typeof o == "boolean")
+ return o;
+ else {
+ if (o instanceof Object) {
+ t1 = J.getInterceptor(o);
+ t1 = typeof o === "object" && o !== null && !!t1.$isBlob || typeof o === "object" && o !== null && !!t1.$isEvent || typeof o === "object" && o !== null && !!t1.$isKeyRange || typeof o === "object" && o !== null && !!t1.$isImageData || typeof o === "object" && o !== null && !!t1.$isNode || typeof o === "object" && o !== null && !!t1.$isTypedData || typeof o === "object" && o !== null && !!t1.$isWindow;
+ } else
+ t1 = false;
+ if (t1)
+ return o;
+ else if (o instanceof Date)
+ return P.DateTime$fromMillisecondsSinceEpoch(o.getMilliseconds(), false);
+ else if (o.constructor === DartObject)
+ return o.o;
+ else
+ return P._wrapToDart(o);
+ }
+},
+
+_wrapToDart: function(o) {
+ if (typeof o == "function")
+ return P._getDartProxy(o, "_$dart_dartClosure", new P._wrapToDart_closure());
+ else if (o instanceof Array)
+ return P._getDartProxy(o, "_$dart_dartObject", new P._wrapToDart_closure0());
+ else
+ return P._getDartProxy(o, "_$dart_dartObject", new P._wrapToDart_closure1());
+},
+
+_getDartProxy: function(o, propertyName, createProxy) {
+ var dartProxy = o[propertyName];
+ if (dartProxy == null) {
+ dartProxy = createProxy.call$1(o);
+ P._defineProperty(o, propertyName, dartProxy);
+ }
+ return dartProxy;
+},
+
+JsObject: {"": "Object;_jsObject",
+ $index: function(_, property) {
+ if (typeof property !== "string" && typeof property !== "number")
+ throw H.wrapException(new P.ArgumentError("property is not a String or num"));
+ return P._convertToDart(this._jsObject[property]);
+ },
+ $indexSet: function(_, property, value) {
+ if (typeof property !== "string" && typeof property !== "number")
+ throw H.wrapException(new P.ArgumentError("property is not a String or num"));
+ this._jsObject[property] = P._convertToJS(value);
+ },
+ get$hashCode: function(_) {
+ return 0;
+ },
+ $eq: function(_, other) {
+ var t1;
+ if (other == null)
+ return false;
+ t1 = J.getInterceptor(other);
+ return typeof other === "object" && other !== null && !!t1.$isJsObject && this._jsObject === other._jsObject;
+ },
+ toString$0: function(_) {
+ var t1, exception;
+ try {
+ t1 = String(this._jsObject);
+ return t1;
+ } catch (exception) {
+ H.unwrapException(exception);
+ return P.Object.prototype.toString$0.call(this, this);
+ }
+
+ },
+ callMethod$2: function(method, args) {
+ var t1, t2;
+ t1 = this._jsObject;
+ if (args == null)
+ t2 = null;
+ else {
+ args.toString;
+ t2 = new H.MappedListIterable(args, P._convertToJS$closure);
+ H.setRuntimeTypeInfo(t2, [null, null]);
+ t2 = P.List_List$from(t2, true, null);
+ }
+ return P._convertToDart(t1[method].apply(t1, t2));
+ },
+ $isJsObject: true,
+ static: {
+JsObject_JsObject: function($constructor, $arguments) {
+ var constr, args, t1, factoryFunction;
+ constr = P._convertToJS($constructor);
+ args = [null];
+ t1 = new H.MappedListIterable($arguments, P._convertToJS$closure);
+ H.setRuntimeTypeInfo(t1, [null, null]);
+ C.JSArray_methods.addAll$1(args, t1);
+ factoryFunction = constr.bind.apply(constr, args);
+ String(factoryFunction);
+ return P._wrapToDart(new factoryFunction());
+},
+
+JsObject_JsObject$jsify: function(object) {
+ var t1 = J.getInterceptor(object);
+ if (!t1.$isMap && (typeof object !== "object" || object === null || object.constructor !== Array && !t1.$isIterable))
+ throw H.wrapException(new P.ArgumentError("object must be a Map or Iterable"));
+ return P._wrapToDart(P.JsObject__convertDataTree(object));
+},
+
+JsObject__convertDataTree: function(data) {
+ return new P.JsObject__convertDataTree__convert(P.HashMap_HashMap$identity(null, null)).call$1(data);
+}}
+
+},
+
+JsObject__convertDataTree__convert: {"": "Closure;_convertedObjects_0",
+ call$1: function(o) {
+ var t1, t2, convertedMap, key, convertedList;
+ t1 = this._convertedObjects_0;
+ if (t1.containsKey$1(o))
+ return t1.$index(t1, o);
+ t2 = J.getInterceptor(o);
+ if (typeof o === "object" && o !== null && !!t2.$isMap) {
+ convertedMap = {};
+ t1.$indexSet(t1, o, convertedMap);
+ for (t1 = o.get$keys(), t1 = t1.get$iterator(t1); t1.moveNext$0();) {
+ key = t1.get$current();
+ convertedMap[key] = this.call$1(t2.$index(o, key));
+ }
+ return convertedMap;
+ } else if (typeof o === "object" && o !== null && (o.constructor === Array || !!t2.$isIterable)) {
+ convertedList = [];
+ t1.$indexSet(t1, o, convertedList);
+ C.JSArray_methods.addAll$1(convertedList, t2.map$1(o, this));
+ return convertedList;
+ } else
+ return P._convertToJS(o);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+JsFunction: {"": "JsObject;_jsObject", static: {
+JsFunction_JsFunction$withThis: function(f) {
+ return new P.JsFunction(P._convertDartFunction(f, true));
+}}
+},
+
+JsArray: {"": "JsObject_ListMixin;_jsObject",
+ $index: function(_, index) {
+ var t1;
+ if (typeof index === "number" && index === C.JSNumber_methods.toInt$0(index)) {
+ if (typeof index === "number" && Math.floor(index) === index)
+ if (!(index < 0)) {
+ t1 = P.JsObject.prototype.$index.call(this, this, "length");
+ if (typeof t1 !== "number")
+ throw H.iae(t1);
+ t1 = index >= t1;
+ } else
+ t1 = true;
+ else
+ t1 = false;
+ if (t1)
+ H.throwExpression(P.RangeError$range(index, 0, P.JsObject.prototype.$index.call(this, this, "length")));
+ }
+ return P.JsObject.prototype.$index.call(this, this, index);
+ },
+ $indexSet: function(_, index, value) {
+ var t1;
+ if (typeof index === "number" && index === C.JSNumber_methods.toInt$0(index)) {
+ if (typeof index === "number" && Math.floor(index) === index)
+ if (!(index < 0)) {
+ t1 = P.JsObject.prototype.$index.call(this, this, "length");
+ if (typeof t1 !== "number")
+ throw H.iae(t1);
+ t1 = index >= t1;
+ } else
+ t1 = true;
+ else
+ t1 = false;
+ if (t1)
+ H.throwExpression(P.RangeError$range(index, 0, P.JsObject.prototype.$index.call(this, this, "length")));
+ }
+ P.JsObject.prototype.$indexSet.call(this, this, index, value);
+ },
+ get$length: function(_) {
+ return P.JsObject.prototype.$index.call(this, this, "length");
+ },
+ $asList: null,
+ $asIterable: null
+},
+
+JsObject_ListMixin: {"": "JsObject+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true, $isIterable: true, $asIterable: null},
+
+_convertToJS_closure: {"": "Closure;",
+ call$1: function(o) {
+ var jsFunction = P._convertDartFunction(o, false);
+ P._defineProperty(jsFunction, "_$dart_dartClosure", o);
+ return jsFunction;
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+_convertToJS_closure0: {"": "Closure;",
+ call$1: function(o) {
+ return new DartObject(o);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+_wrapToDart_closure: {"": "Closure;",
+ call$1: function(o) {
+ return new P.JsFunction(o);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+_wrapToDart_closure0: {"": "Closure;",
+ call$1: function(o) {
+ var t1 = new P.JsArray(o);
+ H.setRuntimeTypeInfo(t1, [null]);
+ return t1;
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+_wrapToDart_closure1: {"": "Closure;",
+ call$1: function(o) {
+ return new P.JsObject(o);
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+}}],
+["dart.typed_data", "dart:typed_data", , P, {
+TypedData: {"": "Interceptor;",
+ _invalidIndex$2: function(receiver, index, $length) {
+ var t1 = J.getInterceptor$n(index);
+ if (t1.$lt(index, 0) || t1.$ge(index, $length))
+ throw H.wrapException(P.RangeError$range(index, 0, $length));
+ else
+ throw H.wrapException(new P.ArgumentError("Invalid list index " + H.S(index)));
+ },
+ $isTypedData: true,
+ "%": "DataView;ArrayBufferView;TypedData_ListMixin|TypedData_ListMixin_FixedLengthListMixin|TypedData_ListMixin0|TypedData_ListMixin_FixedLengthListMixin0|TypedData_ListMixin1|TypedData_ListMixin_FixedLengthListMixin1|TypedData_ListMixin2|TypedData_ListMixin_FixedLengthListMixin2|TypedData_ListMixin3|TypedData_ListMixin_FixedLengthListMixin3|TypedData_ListMixin4|TypedData_ListMixin_FixedLengthListMixin4|TypedData_ListMixin5|TypedData_ListMixin_FixedLengthListMixin5|TypedData_ListMixin6|TypedData_ListMixin_FixedLengthListMixin6|TypedData_ListMixin7|TypedData_ListMixin_FixedLengthListMixin7|Int64List|Uint64List"
+},
+
+Float32List: {"": "TypedData_ListMixin_FixedLengthListMixin;",
+ get$length: function(receiver) {
+ return C.JS_CONST_ZYJ(receiver);
+ },
+ $index: function(receiver, index) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ return receiver[index];
+ },
+ $indexSet: function(receiver, index, value) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ receiver[index] = value;
+ },
+ $asList: function() {
+ return [J.JSDouble];
+ },
+ $asIterable: function() {
+ return [J.JSDouble];
+ },
+ $isList: true,
+ $isEfficientLength: true,
+ $isIterable: true,
+ $isJavaScriptIndexingBehavior: true,
+ "%": "Float32Array"
+},
+
+Float64List: {"": "TypedData_ListMixin_FixedLengthListMixin0;",
+ get$length: function(receiver) {
+ return C.JS_CONST_ZYJ(receiver);
+ },
+ $index: function(receiver, index) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ return receiver[index];
+ },
+ $indexSet: function(receiver, index, value) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ receiver[index] = value;
+ },
+ $asList: function() {
+ return [J.JSDouble];
+ },
+ $asIterable: function() {
+ return [J.JSDouble];
+ },
+ $isList: true,
+ $isEfficientLength: true,
+ $isIterable: true,
+ $isJavaScriptIndexingBehavior: true,
+ "%": "Float64Array"
+},
+
+Int16List: {"": "TypedData_ListMixin_FixedLengthListMixin1;",
+ get$length: function(receiver) {
+ return C.JS_CONST_ZYJ(receiver);
+ },
+ $index: function(receiver, index) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ return receiver[index];
+ },
+ $indexSet: function(receiver, index, value) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ receiver[index] = value;
+ },
+ $asList: function() {
+ return [J.JSInt];
+ },
+ $asIterable: function() {
+ return [J.JSInt];
+ },
+ $isList: true,
+ $isEfficientLength: true,
+ $isIterable: true,
+ $isJavaScriptIndexingBehavior: true,
+ "%": "Int16Array"
+},
+
+Int32List: {"": "TypedData_ListMixin_FixedLengthListMixin2;",
+ get$length: function(receiver) {
+ return C.JS_CONST_ZYJ(receiver);
+ },
+ $index: function(receiver, index) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ return receiver[index];
+ },
+ $indexSet: function(receiver, index, value) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ receiver[index] = value;
+ },
+ $asList: function() {
+ return [J.JSInt];
+ },
+ $asIterable: function() {
+ return [J.JSInt];
+ },
+ $isList: true,
+ $isEfficientLength: true,
+ $isIterable: true,
+ $isJavaScriptIndexingBehavior: true,
+ "%": "Int32Array"
+},
+
+Int8List: {"": "TypedData_ListMixin_FixedLengthListMixin3;",
+ get$length: function(receiver) {
+ return C.JS_CONST_ZYJ(receiver);
+ },
+ $index: function(receiver, index) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ return receiver[index];
+ },
+ $indexSet: function(receiver, index, value) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ receiver[index] = value;
+ },
+ $asList: function() {
+ return [J.JSInt];
+ },
+ $asIterable: function() {
+ return [J.JSInt];
+ },
+ $isList: true,
+ $isEfficientLength: true,
+ $isIterable: true,
+ $isJavaScriptIndexingBehavior: true,
+ "%": "Int8Array"
+},
+
+Uint16List: {"": "TypedData_ListMixin_FixedLengthListMixin4;",
+ get$length: function(receiver) {
+ return C.JS_CONST_ZYJ(receiver);
+ },
+ $index: function(receiver, index) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ return receiver[index];
+ },
+ $indexSet: function(receiver, index, value) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ receiver[index] = value;
+ },
+ $asList: function() {
+ return [J.JSInt];
+ },
+ $asIterable: function() {
+ return [J.JSInt];
+ },
+ $isList: true,
+ $isEfficientLength: true,
+ $isIterable: true,
+ $isJavaScriptIndexingBehavior: true,
+ "%": "Uint16Array"
+},
+
+Uint32List: {"": "TypedData_ListMixin_FixedLengthListMixin5;",
+ get$length: function(receiver) {
+ return C.JS_CONST_ZYJ(receiver);
+ },
+ $index: function(receiver, index) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ return receiver[index];
+ },
+ $indexSet: function(receiver, index, value) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ receiver[index] = value;
+ },
+ $asList: function() {
+ return [J.JSInt];
+ },
+ $asIterable: function() {
+ return [J.JSInt];
+ },
+ $isList: true,
+ $isEfficientLength: true,
+ $isIterable: true,
+ $isJavaScriptIndexingBehavior: true,
+ "%": "Uint32Array"
+},
+
+Uint8ClampedList: {"": "TypedData_ListMixin_FixedLengthListMixin6;",
+ get$length: function(receiver) {
+ return C.JS_CONST_ZYJ(receiver);
+ },
+ $index: function(receiver, index) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ return receiver[index];
+ },
+ $indexSet: function(receiver, index, value) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ receiver[index] = value;
+ },
+ $asList: function() {
+ return [J.JSInt];
+ },
+ $asIterable: function() {
+ return [J.JSInt];
+ },
+ $isList: true,
+ $isEfficientLength: true,
+ $isIterable: true,
+ $isJavaScriptIndexingBehavior: true,
+ "%": "CanvasPixelArray|Uint8ClampedArray"
+},
+
+Uint8List: {"": "TypedData_ListMixin_FixedLengthListMixin7;",
+ get$length: function(receiver) {
+ return C.JS_CONST_ZYJ(receiver);
+ },
+ $index: function(receiver, index) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ return receiver[index];
+ },
+ $indexSet: function(receiver, index, value) {
+ var t1 = C.JS_CONST_ZYJ(receiver);
+ if (index >>> 0 != index || J.$ge$n(index, t1))
+ this._invalidIndex$2(receiver, index, t1);
+ receiver[index] = value;
+ },
+ $asList: function() {
+ return [J.JSInt];
+ },
+ $asIterable: function() {
+ return [J.JSInt];
+ },
+ $isList: true,
+ $isEfficientLength: true,
+ $isIterable: true,
+ $isJavaScriptIndexingBehavior: true,
+ "%": ";Uint8Array"
+},
+
+TypedData_ListMixin: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true, $isIterable: true, $asIterable: null},
+
+TypedData_ListMixin_FixedLengthListMixin: {"": "TypedData_ListMixin+FixedLengthListMixin;", $asList: null, $asIterable: null},
+
+TypedData_ListMixin0: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true, $isIterable: true, $asIterable: null},
+
+TypedData_ListMixin_FixedLengthListMixin0: {"": "TypedData_ListMixin0+FixedLengthListMixin;", $asList: null, $asIterable: null},
+
+TypedData_ListMixin1: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true, $isIterable: true, $asIterable: null},
+
+TypedData_ListMixin_FixedLengthListMixin1: {"": "TypedData_ListMixin1+FixedLengthListMixin;", $asList: null, $asIterable: null},
+
+TypedData_ListMixin2: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true, $isIterable: true, $asIterable: null},
+
+TypedData_ListMixin_FixedLengthListMixin2: {"": "TypedData_ListMixin2+FixedLengthListMixin;", $asList: null, $asIterable: null},
+
+TypedData_ListMixin3: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true, $isIterable: true, $asIterable: null},
+
+TypedData_ListMixin_FixedLengthListMixin3: {"": "TypedData_ListMixin3+FixedLengthListMixin;", $asList: null, $asIterable: null},
+
+TypedData_ListMixin4: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true, $isIterable: true, $asIterable: null},
+
+TypedData_ListMixin_FixedLengthListMixin4: {"": "TypedData_ListMixin4+FixedLengthListMixin;", $asList: null, $asIterable: null},
+
+TypedData_ListMixin5: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true, $isIterable: true, $asIterable: null},
+
+TypedData_ListMixin_FixedLengthListMixin5: {"": "TypedData_ListMixin5+FixedLengthListMixin;", $asList: null, $asIterable: null},
+
+TypedData_ListMixin6: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true, $isIterable: true, $asIterable: null},
+
+TypedData_ListMixin_FixedLengthListMixin6: {"": "TypedData_ListMixin6+FixedLengthListMixin;", $asList: null, $asIterable: null},
+
+TypedData_ListMixin7: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true, $isIterable: true, $asIterable: null},
+
+TypedData_ListMixin_FixedLengthListMixin7: {"": "TypedData_ListMixin7+FixedLengthListMixin;", $asList: null, $asIterable: null},
+
+Int64List: {"": "TypedData;", $isList: true,
+ $asList: function() {
+ return [J.JSInt];
+ },
+ $isEfficientLength: true,
+ $isIterable: true,
+ $asIterable: function() {
+ return [J.JSInt];
+ },
+ $isJavaScriptIndexingBehavior: true,
+ static: {
+"": "Int64List_BYTES_PER_ELEMENT",
+}
+
+},
+
+Uint64List: {"": "TypedData;", $isList: true,
+ $asList: function() {
+ return [J.JSInt];
+ },
+ $isEfficientLength: true,
+ $isIterable: true,
+ $asIterable: function() {
+ return [J.JSInt];
+ },
+ $isJavaScriptIndexingBehavior: true,
+ static: {
+"": "Uint64List_BYTES_PER_ELEMENT",
+}
+
+}}],
+["", "gauge.dart", , Y, {
+main: function() {
+ Y.Gauge_load().then$1(new Y.main_closure());
+},
+
+Gauge: {"": "Object;jsOptions,jsTable,jsChart,_gauge$_value",
+ draw$0: function() {
+ this.jsTable.callMethod$2("setValue", [0, 1, this._gauge$_value]);
+ this.jsChart.callMethod$2("draw", [this.jsTable, this.jsOptions]);
+ },
+ Gauge$4: function(element, title, _value, options) {
+ var t1, vis;
+ t1 = this._gauge$_value;
+ vis = J.$index$asx(J.$index$asx($.get$context(), "google"), "visualization");
+ this.jsTable = vis.callMethod$2("arrayToDataTable", [P.JsObject_JsObject$jsify([["Label", "Value"], [title, t1]])]);
+ this.jsChart = P.JsObject_JsObject(J.$index$asx(vis, "Gauge"), [element]);
+ this.jsOptions = P.JsObject_JsObject$jsify(options);
+ this.draw$0();
+ },
+ static: {
+Gauge$: function(element, title, _value, options) {
+ var t1 = new Y.Gauge(null, null, null, _value);
+ t1.Gauge$4(element, title, _value, options);
+ return t1;
+},
+
+Gauge_load: function() {
+ var t1, c;
+ t1 = null;
+ c = new P._AsyncCompleter(P._Future$(t1));
+ H.setRuntimeTypeInfo(c, [t1]);
+ J.$index$asx($.get$context(), "google").callMethod$2("load", ["visualization", "1", P.JsObject_JsObject$jsify(H.fillLiteralMap(["packages", ["gauge"], "callback", P.JsFunction_JsFunction$withThis(c.get$complete(c))], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)))]);
+ return c.future;
+}}
+
+},
+
+main_closure: {"": "Closure;",
+ call$1: function(_) {
+ var t1, gauge, t2;
+ t1 = new Y.main__sliderValue();
+ gauge = Y.Gauge$($.get$visualization(), "Slider", t1.call$0(), H.fillLiteralMap(["min", 0, "max", 280, "yellowFrom", 200, "yellowTo", 250, "redFrom", 250, "redTo", 280, "minorTicks", 5], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)));
+ t2 = $.get$slider();
+ t2.toString;
+ t2 = new W._ElementEventStreamImpl(t2, C.EventStreamProvider_change._eventType, false);
+ H.setRuntimeTypeInfo(t2, [null]);
+ t1 = new W._EventStreamSubscription(0, t2._target, t2._eventType, W._wrapZone(new Y.main__closure(t1, gauge)), t2._useCapture);
+ H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(t2, "_EventStream", 0)]);
+ t1._tryResume$0();
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+},
+
+main__sliderValue: {"": "Closure;",
+ call$0: function() {
+ return H.Primitives_parseInt(J.get$value$x($.get$slider()), null, null);
+ },
+ "+call:0:0": 0,
+ $isFunction: true
+},
+
+main__closure: {"": "Closure;sliderValue_0,gauge_1",
+ call$1: function(_) {
+ var t1, t2;
+ t1 = this.gauge_1;
+ t2 = this.sliderValue_0.call$0();
+ t1._gauge$_value = t2;
+ t1.draw$0();
+ return t2;
+ },
+ "+call:1:0": 0,
+ $isFunction: true,
+ $is_args1: true
+}},
+1],
+]);
+Isolate.$finishClasses($$, $, null);
+$$ = null;
+
+// Static function getters
+init.globalFunctions.IsolateNatives__processWorkerMessage$closure = H.IsolateNatives__processWorkerMessage$closure = new H.Closure$2(H.IsolateNatives__processWorkerMessage, "IsolateNatives__processWorkerMessage$closure");
+init.globalFunctions.Primitives__throwFormatException$closure = H.Primitives__throwFormatException$closure = new H.Closure$1(H.Primitives__throwFormatException, "Primitives__throwFormatException$closure");
+init.globalFunctions.toStringWrapper$closure = H.toStringWrapper$closure = new H.Closure$0(H.toStringWrapper, "toStringWrapper$closure");
+init.globalFunctions.invokeClosure$closure = H.invokeClosure$closure = new H.Closure$7(H.invokeClosure, "invokeClosure$closure");
+init.globalFunctions._asyncRunCallback$closure = P._asyncRunCallback$closure = new H.Closure$0(P._asyncRunCallback, "_asyncRunCallback$closure");
+init.globalFunctions._nullDataHandler$closure = P._nullDataHandler$closure = new H.Closure$1(P._nullDataHandler, "_nullDataHandler$closure");
+init.globalFunctions._nullErrorHandler$closure = P._nullErrorHandler$closure = new P.Closure$20(P._nullErrorHandler, "_nullErrorHandler$closure");
+init.globalFunctions._nullDoneHandler$closure = P._nullDoneHandler$closure = new H.Closure$0(P._nullDoneHandler, "_nullDoneHandler$closure");
+init.globalFunctions._defaultEquals$closure = P._defaultEquals$closure = new H.Closure$2(P._defaultEquals, "_defaultEquals$closure");
+init.globalFunctions._defaultHashCode$closure = P._defaultHashCode$closure = new H.Closure$1(P._defaultHashCode, "_defaultHashCode$closure");
+init.globalFunctions.identical$closure = P.identical$closure = new H.Closure$2(P.identical, "identical$closure");
+init.globalFunctions.identityHashCode$closure = P.identityHashCode$closure = new H.Closure$1(P.identityHashCode, "identityHashCode$closure");
+init.globalFunctions._callDartFunction$closure = P._callDartFunction$closure = new P.Closure$4(P._callDartFunction, "_callDartFunction$closure");
+init.globalFunctions._convertToJS$closure = P._convertToJS$closure = new H.Closure$1(P._convertToJS, "_convertToJS$closure");
+init.globalFunctions._convertToDart$closure = P._convertToDart$closure = new H.Closure$1(P._convertToDart, "_convertToDart$closure");
+init.globalFunctions.main$closure = Y.main$closure = new H.Closure$0(Y.main, "main$closure");
+// Runtime type support
+J.JSInt.$isint = true;
+J.JSInt.$isObject = true;
+J.JSDouble.$isObject = true;
+J.JSString.$isString = true;
+J.JSString.$isObject = true;
+J.JSNumber.$isObject = true;
+P.Duration.$isObject = true;
+W.Event.$isObject = true;
+P.Symbol.$isSymbol = true;
+P.Symbol.$isObject = true;
+P.ReceivePort.$isObject = true;
+H._IsolateEvent.$isObject = true;
+H._IsolateContext.$isObject = true;
+J.JSArray.$isList = true;
+J.JSArray.$isObject = true;
+P.StackTrace.$isStackTrace = true;
+P.StackTrace.$isObject = true;
+P.Object.$isObject = true;
+P.Function.$isFunction = true;
+P.Function.$isObject = true;
+J.JSBool.$isbool = true;
+J.JSBool.$isObject = true;
+P._EventSink.$is_EventSink = true;
+P._EventSink.$isObject = true;
+P.Future.$isFuture = true;
+P.Future.$isObject = true;
+P.StreamSubscription.$isStreamSubscription = true;
+P.StreamSubscription.$isObject = true;
+// getInterceptor methods
+J.getInterceptor = function(receiver) {
+ if (typeof receiver == "number") {
+ if (Math.floor(receiver) == receiver)
+ return J.JSInt.prototype;
+ return J.JSDouble.prototype;
}
-}()}}},W0:{"":"Ge;Zf,Sp",
-bu:function(a){var z=this.Sp
-if(z==null)return"NullError: "+H.d(this.Zf)
-return"NullError: Cannot call \""+H.d(z)+"\" on null"},
-$isGe:true},az:{"":"Ge;Zf,Sp,lv",
-bu:function(a){var z,y
-z=this.Sp
-if(z==null)return"NoSuchMethodError: "+H.d(this.Zf)
-y=this.lv
-if(y==null)return"NoSuchMethodError: Cannot call \""+z+"\" ("+H.d(this.Zf)+")"
-return"NoSuchMethodError: Cannot call \""+z+"\" on \""+y+"\" ("+H.d(this.Zf)+")"},
-$isGe:true,
-static:{T3:function(a,b){var z,y
-z=b==null
-y=z?null:b.method
-z=z?null:b.receiver
-return new H.az(a,y,z)}}},vV:{"":"Ge;Zf",
-bu:function(a){var z=this.Zf
-return C.xB.gl0(z)?"Error":"Error: "+z}},Am:{"":"Tp;a",
-call$1:function(a){var z=J.x(a)
-if(typeof a==="object"&&a!==null&&!!z.$isGe)if(a.$thrownJsError==null)a.$thrownJsError=this.a
-return a},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},XO:{"":"a;MP,nU",
-bu:function(a){var z,y
-z=this.nU
-if(z!=null)return z
-z=this.MP
-y=typeof z==="object"?z.stack:null
-z=y==null?"":y
-this.nU=z
-return z}},dr:{"":"Tp;a",
-call$0:function(){return this.a.call$0()},
-"+call:0:0":0,
-$isEH:true},TL:{"":"Tp;b,c",
-call$0:function(){return this.b.call$1(this.c)},
-"+call:0:0":0,
-$isEH:true},KX:{"":"Tp;d,e,f",
-call$0:function(){return this.d.call$2(this.e,this.f)},
-"+call:0:0":0,
-$isEH:true},uZ:{"":"Tp;g,h,i,j",
-call$0:function(){return this.g.call$3(this.h,this.i,this.j)},
-"+call:0:0":0,
-$isEH:true},OQ:{"":"Tp;k,l,m,n,o",
-call$0:function(){return this.k.call$4(this.l,this.m,this.n,this.o)},
-"+call:0:0":0,
-$isEH:true},Tp:{"":"a;",
-bu:function(a){return"Closure"},
-$isEH:true},v:{"":"Tp;wc,nn,lv,Pp",
-n:function(a,b){var z
-if(b==null)return!1
-if(this===b)return!0
-z=J.x(b)
-if(typeof b!=="object"||b===null||!z.$isv)return!1
-return this.wc===b.wc&&this.nn===b.nn&&this.lv===b.lv},
-gtU:function(a){var z,y
-z=this.lv
-if(z==null)y=H.eQ(this.wc)
-else y=typeof z!=="object"?J.Dk(z):H.eQ(z)
-return(y^H.eQ(this.nn))>>>0},
-$isv:true},cu:{"":"a;IE,rE",
-bu:function(a){var z,y,x
-z=this.rE
-if(z!=null)return z
-y=this.IE
-x=H.Jg(y)
-y=x==null?y:x
-this.rE=y
-return y},
-gtU:function(a){return J.Dk(this.IE)},
-n:function(a,b){var z
-if(b==null)return!1
-z=J.x(b)
-return typeof b==="object"&&b!==null&&!!z.$iscu&&J.de(this.IE,b.IE)},
-$iscu:true},dC:{"":"Tp;a",
-call$1:function(a){return this.a(a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},wN:{"":"Tp;b",
-call$2:function(a,b){return this.b(a,b)},
-"+call:2:0":0,
-$isEH:true,
-$is_bh:true},VX:{"":"Tp;c",
-call$1:function(a){return this.c(a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true}}],["dart._collection.dev","dart:_collection-dev",,H,{Zi:function(a,b,c,d,e){var z,y,x
-if(b<d)for(z=b+e-1,y=d+e-1;z>=b;--z,--y){if(z<0||z>=a.length)throw H.e(a,z)
-C.Nm.u(c,y,a[z])}else for(x=b+e,y=d,z=b;z<x;++z,++y){if(z<0||z>=a.length)throw H.e(a,z)
-C.Nm.u(c,y,a[z])}},bQ:function(a,b){var z
-for(z=new H.a7(a,a.length,0,null);z.G();)b.call$1(z.mD)},mx:function(a,b,c){var z,y,x
-for(y=0;y<$.RM().length;++y){x=$.RM()
-if(y>=x.length)throw H.e(x,y)
-if(x[y]===a)return H.d(b)+"..."+H.d(c)}z=P.p9("")
-try{$.RM().push(a)
-z.KF(b)
-z.We(a,", ")
-z.KF(c)}finally{x=$.RM()
-if(0>=x.length)throw H.e(x,0)
-x.pop()}return z.gvM()},S6:function(a,b,c){if(b<0||b>a.length)throw H.b(P.TE(b,0,a.length))
-if(c<b||c>a.length)throw H.b(P.TE(c,b,a.length))},qG:function(a,b,c,d,e){var z
-H.S6(a,b,c)
-z=c-b
-if(z===0)return
-if(e<0)throw H.b(new P.AT(e))
-if(e+z>d.length)throw H.b(P.w("Not enough elements"))
-H.Zi(d,e,a,b,z)},LJ:function(a){if(typeof dartPrint=="function"){dartPrint(a)
-return}if(typeof console=="object"&&typeof console.log=="function"){console.log(a)
-return}if(typeof window=="object")return
-if(typeof print=="function"){print(a)
-return}throw "Unable to print message: " + String(a)},aL:{"":"mW;",
-gA:function(a){return new H.a7(this,this.gB(this),0,null)},
-aN:function(a,b){var z,y
-z=this.gB(this)
-if(typeof z!=="number")throw H.s(z)
-y=0
-for(;y<z;++y){b.call$1(this.Zv(this,y))
-if(z!==this.gB(this))throw H.b(P.a4(this))}},
-ez:function(a,b){var z=new H.A8(this,b)
-H.VM(z,[null,null])
-return z},
-$asmW:null,
-$ascX:null,
-$isqC:true},a7:{"":"a;Kw,qn,j2,mD",
-gl:function(){return this.mD},
-G:function(){var z,y,x,w
-z=this.Kw
-y=J.U6(z)
-x=y.gB(z)
-if(!J.de(this.qn,x))throw H.b(P.a4(z))
-w=this.j2
-if(typeof x!=="number")throw H.s(x)
-if(w>=x){this.mD=null
-return!1}this.mD=y.Zv(z,w)
-this.j2=this.j2+1
-return!0}},i1:{"":"mW;Kw,ew",
-gA:function(a){var z=this.Kw
-z=z.gA(z)
-z=new H.MH(null,z,this.ew)
-H.VM(z,[H.W8(this,"i1",0),H.W8(this,"i1",1)])
-return z},
-gB:function(a){var z=this.Kw
-return z.gB(z)},
-$asmW:function(a,b){return[b]},
-$ascX:function(a,b){return[b]},
-static:{K1:function(a,b,c,d){var z
-if(!!a.$isqC){z=new H.xy(a,b)
-H.VM(z,[c,d])
-return z}z=new H.i1(a,b)
-H.VM(z,[c,d])
-return z}}},xy:{"":"i1;Kw,ew",$asi1:null,
-$ascX:function(a,b){return[b]},
-$isqC:true},MH:{"":"An;mD,RX,ew",
-ei:function(a){return this.ew.call$1(a)},
-G:function(){var z=this.RX
-if(z.G()){this.mD=this.ei(z.gl())
-return!0}this.mD=null
-return!1},
-gl:function(){return this.mD},
-$asAn:function(a,b){return[b]}},A8:{"":"aL;qb,ew",
-ei:function(a){return this.ew.call$1(a)},
-gB:function(a){return J.q8(this.qb)},
-Zv:function(a,b){return this.ei(J.i4(this.qb,b))},
-$asaL:function(a,b){return[b]},
-$ascX:function(a,b){return[b]},
-$isqC:true},SU:{"":"a;"},GD:{"":"a;hr<",
-n:function(a,b){var z
-if(b==null)return!1
-z=J.x(b)
-return typeof b==="object"&&b!==null&&!!z.$isGD&&J.de(this.hr,b.hr)},
-gtU:function(a){return 536870911&664597*J.Dk(this.hr)},
-bu:function(a){return"Symbol(\""+H.d(this.hr)+"\")"},
-$isGD:true,
-static:{"":"yQ",}}}],["dart._js_names","dart:_js_names",,H,{Jg:function(a){return init.mangledGlobalNames[a]}}],["dart.async","dart:async",,P,{K2:function(a,b,c){var z=J.x(a)
-if(!!z.$is_bh)return a.call$2(b,c)
-else return a.call$1(b)},VH:function(a,b){var z=J.x(a)
-b.toString
-if(!!z.$is_bh)return a
-else return a},pH:function(a){var z,y,x,w,v,u,t,s,r
-z={}
-z.a=null
-z.b=null
-y=new P.VN(z)
-z.c=0
-for(x=new H.a7(a,a.length,0,null);x.G();){w=x.mD
-v=z.c
-z.c=v+1
-u=w.OA(y)
-t=$.X3
-t.toString
-s=new P.vs(0,t,null,null,new P.iK(z,v),null,P.VH(null,t),null)
-s.$builtinTypeInfo=[null]
-u.au(s)}y=z.c
-if(y===0)return P.Ab(C.xD,null)
-z.b=P.A(y,null)
-y=J.Q
-r=new P.Zf(P.Dt(y))
-H.VM(r,[y])
-z.a=r
-return z.a.MM},BG:function(){var z,y,x,w
-for(;y=$.P8(),y.av!==y.HV;){z=$.P8().Ux()
-try{z.call$0()}catch(x){H.Ru(x)
-w=C.CD.Z(C.RT.Fq,1000)
-H.cy(w<0?0:w,P.qZ)
-throw x}}$.TH=!1},IA:function(a){$.P8().NZ(a)
-if(!$.TH){P.jL(C.RT,P.qZ)
-$.TH=!0}},rb:function(a){var z=$.X3
-if(z===C.NU){z.toString
-P.IA(a)
-return}P.IA(z.xi(a,!0))},x2:function(a,b,c,d,e,f){var z
-if(e){z=new P.ly(b,c,d,a,null,0,null)
-H.VM(z,[f])}else{z=new P.q1(b,c,d,a,null,0,null)
-H.VM(z,[f])}return z},ot:function(a){var z,y,x,w,v,u
-if(a==null)return
-try{z=a.call$0()
-w=z
-v=J.x(w)
-if(typeof w==="object"&&w!==null&&!!v.$isb8)return z
-return}catch(u){w=H.Ru(u)
-y=w
-x=new H.XO(u,null)
-w=$.X3
-w.toString
-P.L2(w,null,w,y,x)}},QE:function(a){},SZ:function(a,b){var z=$.X3
-z.toString
-P.L2(z,null,z,a,b)},dL:function(){},FE:function(a,b,c){var z,y,x,w
-try{b.call$1(a.call$0())}catch(x){w=H.Ru(x)
-z=w
-y=new H.XO(x,null)
-c.call$2(z,y)}},NX:function(a,b,c,d){var z,y
-z=a.ed()
-y=J.x(z)
-if(typeof z==="object"&&z!==null&&!!y.$isb8)z.wM(new P.v1(b,c,d))
-else b.K5(c,d)},TB:function(a,b){return new P.uR(a,b)},rT:function(a,b){var z=$.X3
-if(z===C.NU){z.toString
-return P.jL(a,b)}return P.jL(a,z.xi(b,!0))},jL:function(a,b){var z=C.CD.Z(a.Fq,1000)
-return H.cy(z<0?0:z,b)},L2:function(a,b,c,d,e){P.T8(a,null,a,new P.pK(d,e))},T8:function(a,b,c,d){var z,y,x
-y=$.X3
-x=c
-if(y==null?x==null:y===x)return d.call$0()
-z=y
-try{$.X3=c
-y=d.call$0()
-return y}finally{$.X3=z}},yv:function(a,b,c,d,e){var z,y,x
-y=$.X3
-x=c
-if(y==null?x==null:y===x)return d.call$1(e)
-z=y
-try{$.X3=c
-y=d.call$1(e)
-return y}finally{$.X3=z}},Qx:function(a,b,c,d,e,f){var z,y,x
-y=$.X3
-x=c
-if(y==null?x==null:y===x)return d.call$2(e,f)
-z=y
-try{$.X3=c
-y=d.call$2(e,f)
-return y}finally{$.X3=z}},Ca:{"":"a;kc>,I4<",$isGe:true},b8:{"":"a;",$isb8:true},VN:{"":"Tp;a",
-call$1:function(a){var z=this.a
-if(z.b!=null){z.b=null
-z.a.pm(a)}return},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},iK:{"":"Tp;a,b",
-call$1:function(a){var z,y,x
-z=this.a
-y=z.b
-if(y==null)return
-x=this.b
-if(x<0||x>=y.length)throw H.e(y,x)
-y[x]=a
-z.c=z.c-1
-if(z.c===0){y=z.a
-z=z.b
-y=y.MM
-if(y.Gv!==0)H.vh(P.w("Future already completed"))
-y.OH(z)}},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},Pf:{"":"a;"},Zf:{"":"Pf;MM",
-aM:function(a,b){var z=this.MM
-if(z.Gv!==0)throw H.b(P.w("Future already completed"))
-z.OH(b)},
-gv6:function(a){return new P.C7(this,P.Zf.prototype.aM,a,"aM")},
-w0:function(a,b){var z
-if(a==null)throw H.b(new P.AT("Error must not be null"))
-z=this.MM
-if(z.Gv!==0)throw H.b(P.w("Future already completed"))
-z.CG(a,b)},
-pm:function(a){return this.w0(a,null)},
-$asPf:null},vs:{"":"a;Gv,Lj<,jk,BQ@,OY,As,qV,o4",
-gcg:function(){return this.Gv>=4},
-gNm:function(){return this.Gv===8},
-swG:function(a){if(a)this.Gv=2
-else this.Gv=0},
-gO1:function(){return this.Gv===2?null:this.OY},
-GP:function(a){return this.gO1().call$1(a)},
-gyK:function(){return this.Gv===2?null:this.As},
-go7:function(){return this.Gv===2?null:this.qV},
-gIa:function(){return this.Gv===2?null:this.o4},
-xY:function(){return this.gIa().call$0()},
-Rx:function(a,b){var z=P.Y8(a,b,null)
-this.au(z)
-return z},
-ml:function(a){return this.Rx(a,null)},
-co:function(a,b){var z=P.RP(a,b,null)
-this.au(z)
-return z},
-OA:function(a){return this.co(a,null)},
-wM:function(a){var z=P.X4(a,H.W8(this,"vs",0))
-this.au(z)
-return z},
-gDL:function(){return this.jk},
-gcG:function(){return this.jk},
-Am:function(a){this.Gv=4
-this.jk=a},
-E6:function(a,b){this.Gv=8
-this.jk=new P.Ca(a,b)},
-au:function(a){if(this.Gv>=4){this.Lj.toString
-P.IA(new P.da(this,a))}else{a.sBQ(this.jk)
-this.jk=a}},
-L3:function(){var z,y,x
-z=this.jk
-this.jk=null
-for(y=null;z!=null;y=z,z=x){x=z.gBQ()
-z.sBQ(y)}return y},
-rX:function(a){var z,y
-z=J.x(a)
-if(typeof a==="object"&&a!==null&&!!z.$isb8){P.GZ(a,this)
-return}y=this.L3()
-this.Am(a)
-P.HZ(this,y)},
-K5:function(a,b){var z=this.L3()
-this.E6(a,b)
-P.HZ(this,z)},
-giO:function(){return new P.CQ(this,P.vs.prototype.K5,null,"K5")},
-OH:function(a){var z,y
-z=J.x(a)
-y=typeof a==="object"&&a!==null&&!!z.$isb8
-if(y);if(y)z=typeof a!=="object"||a===null||!z.$isvs||a.Gv<4
-else z=!1
-if(z){this.rX(a)
-return}if(this.Gv!==0)H.vh(P.w("Future already completed"))
-this.Gv=1
-this.Lj.toString
-P.IA(new P.rH(this,a))},
-CG:function(a,b){if(this.Gv!==0)H.vh(P.w("Future already completed"))
-this.Gv=1
-this.Lj.toString
-P.IA(new P.ZL(this,a,b))},
-L7:function(a,b){this.OH(a)},
-$isvs:true,
-$isb8:true,
-static:{"":"a9,Ry,C3,oN,NK",Dt:function(a){var z=new P.vs(0,$.X3,null,null,null,null,null,null)
-H.VM(z,[a])
-return z},Ab:function(a,b){var z=new P.vs(0,$.X3,null,null,null,null,null,null)
-H.VM(z,[b])
-z.L7(a,b)
-return z},Y8:function(a,b,c){var z=$.X3
-z.toString
-z=new P.vs(0,z,null,null,a,null,P.VH(b,z),null)
-H.VM(z,[c])
-return z},RP:function(a,b,c){var z,y
-z=$.X3
-y=P.VH(a,z)
-$.X3.toString
-y=new P.vs(0,z,null,null,null,b,y,null)
-H.VM(y,[c])
-return y},X4:function(a,b){var z=$.X3
-z.toString
-z=new P.vs(0,z,null,null,null,null,null,a)
-H.VM(z,[b])
-return z},GZ:function(a,b){var z
-b.swG(!0)
-z=J.x(a)
-if(typeof a==="object"&&a!==null&&!!z.$isvs)if(a.Gv>=4)P.HZ(a,b)
-else a.au(b)
-else a.Rx(new P.xw(b),new P.dm(b))},yE:function(a,b){var z
-do{z=b.gBQ()
-b.sBQ(null)
-P.HZ(a,b)
-if(z!=null){b=z
-continue}else break}while(!0)},HZ:function(a,b){var z,y,x,w,v,u,t,s,r
-z={}
-z.e=a
-for(;!0;){y={}
-if(!z.e.gcg())return
-x=z.e.gNm()
-if(x&&b==null){w=z.e.gcG()
-y=z.e.gLj()
-v=J.w8(w)
-u=w.gI4()
-y.toString
-P.L2(y,null,y,v,u)
-return}if(b==null)return
-if(b.gBQ()!=null){P.yE(z.e,b)
-return}if(x){v=z.e.gLj()
-u=b.gLj()
-v.toString
-u.toString
-v=u==null?v!=null:u!==v}else v=!1
-if(v){w=z.e.gcG()
-y=z.e.gLj()
-v=J.w8(w)
-u=w.gI4()
-y.toString
-P.L2(y,null,y,v,u)
-return}v=$.X3
-u=b.gLj()
-if(v==null?u!=null:v!==u){u.toString
-P.T8(u,null,u,new P.mi(z,b))
-return}y.b=null
-y.c=null
-y.d=!1
-v=b.gLj()
-v.toString
-P.T8(v,null,v,new P.jb(z,y,x,b))
-if(y.d)return
-v=y.b===!0
-if(v){u=y.c
-t=J.x(u)
-t=typeof u==="object"&&u!==null&&!!t.$isb8
-u=t}else u=!1
-if(u){s=y.c
-y=J.x(s)
-if(typeof s==="object"&&s!==null&&!!y.$isvs&&s.Gv>=4){b.swG(!0)
-z.e=s
-continue}P.GZ(s,b)
-return}if(v){r=b.L3()
-b.Am(y.c)}else{r=b.L3()
-w=y.c
-b.E6(J.w8(w),w.gI4())}z.e=b
-b=r}}}},da:{"":"Tp;a,b",
-call$0:function(){P.HZ(this.a,this.b)},
-"+call:0:0":0,
-$isEH:true},xw:{"":"Tp;a",
-call$1:function(a){this.a.rX(a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},dm:{"":"Tp;b",
-call$2:function(a,b){this.b.K5(a,b)},
-"+call:2:0":0,
-"*call":[0],
-call$1:function(a){return this.call$2(a,null)},
-"+call:1:0":0,
-$isEH:true,
-$is_bh:true,
-$is_aB:true},rH:{"":"Tp;a,b",
-call$0:function(){this.a.rX(this.b)},
-"+call:0:0":0,
-$isEH:true},ZL:{"":"Tp;a,b,c",
-call$0:function(){this.a.K5(this.b,this.c)},
-"+call:0:0":0,
-$isEH:true},mi:{"":"Tp;c,d",
-call$0:function(){P.HZ(this.c.e,this.d)},
-"+call:0:0":0,
-$isEH:true},jb:{"":"Tp;c,b,e,f",
-call$0:function(){var z,y,x,w,v,u,t,s,r,q,p,o
-z={}
-try{r=this.c
-if(!this.e){y=r.e.gDL()
-r=this.f
-q=this.b
-if(r.gO1()!=null){q.c=r.GP(y)
-q.b=!0}else{q.c=y
-q.b=!0}}else{x=r.e.gcG()
-r=this.f
-w=r.gyK()
-v=!0
-if(w!=null)v=w.call$1(J.w8(x))
-q=v===!0&&r.go7()!=null
-p=this.b
-if(q){u=r.go7()
-p.c=P.K2(u,J.w8(x),x.gI4())
-p.b=!0}else{p.c=x
-p.b=!1}}r=this.f
-if(r.gIa()!=null){z.a=r.xY()
-q=z.a
-p=J.x(q)
-if(typeof q==="object"&&q!==null&&!!p.$isb8){r.swG(!0)
-z.a.Rx(new P.wB(this.c,r),new P.Pu(z,r))
-this.b.d=!0}}}catch(o){z=H.Ru(o)
-t=z
-s=new H.XO(o,null)
-if(this.e){z=J.w8(this.c.e.gcG())
-r=t
-r=z==null?r==null:z===r
-z=r}else z=!1
-r=this.b
-if(z)r.c=this.c.e.gcG()
-else r.c=new P.Ca(t,s)
-this.b.b=!1}},
-"+call:0:0":0,
-$isEH:true},wB:{"":"Tp;c,g",
-call$1:function(a){P.HZ(this.c.e,this.g)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},Pu:{"":"Tp;a,h",
-call$2:function(a,b){var z,y,x
-z=this.a
-y=z.a
-x=J.x(y)
-if(typeof y!=="object"||y===null||!x.$isvs){z.a=P.Dt(null)
-z.a.E6(a,b)}P.HZ(z.a,this.h)},
-"+call:2:0":0,
-"*call":[0],
-call$1:function(a){return this.call$2(a,null)},
-"+call:1:0":0,
-$isEH:true,
-$is_bh:true,
-$is_aB:true},qh:{"":"a;",
-ez:function(a,b){var z=new P.t3(b,this)
-H.VM(z,[H.W8(this,"qh",0),null])
-return z},
-aN:function(a,b){var z,y
-z={}
-y=P.Dt(null)
-z.a=null
-z.a=this.X5(new P.lz(z,this,b,y),!0,new P.M4(y),y.giO())
-return y},
-gB:function(a){var z,y
-z={}
-y=P.Dt(J.im)
-z.a=0
-this.X5(new P.B5(z),!0,new P.PI(z,y),y.giO())
-return y}},lz:{"":"Tp;a,b,c,d",
-call$1:function(a){P.FE(new P.Rl(this.c,a),new P.Jb(),P.TB(this.a.a,this.d))},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},Rl:{"":"Tp;e,f",
-call$0:function(){return this.e.call$1(this.f)},
-"+call:0:0":0,
-$isEH:true},Jb:{"":"Tp;",
-call$1:function(a){},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},M4:{"":"Tp;g",
-call$0:function(){this.g.rX(null)},
-"+call:0:0":0,
-$isEH:true},B5:{"":"Tp;a",
-call$1:function(a){var z=this.a
-z.a=z.a+1},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},PI:{"":"Tp;a,b",
-call$0:function(){this.b.rX(this.a.a)},
-"+call:0:0":0,
-$isEH:true},MO:{"":"a;"},Kd:{"":"a;",
-gh6:function(){if((this.Gv&8)===0)return this.iP
-return this.iP.gJg()},
-kW:function(){if((this.Gv&8)===0){if(this.iP==null)this.iP=new P.Qk(null,null,0)
-return this.iP}var z=this.iP.gJg()
-return z},
-ghG:function(){if((this.Gv&8)!==0)return this.iP.gJg()
-return this.iP},
-nG:function(){if((this.Gv&4)!==0)return new P.lj("Cannot add event after closing")
-return new P.lj("Cannot add event while adding a stream")},
-SL:function(){if(this.yx==null){this.yx=P.Dt(null)
-if((this.Gv&2)!==0)this.yx.rX(null)}return this.yx},
-xO:function(a){var z=this.Gv
-if((z&4)!==0)return this.yx
-if(z>=4)throw H.b(this.nG())
-this.Gv=(z|4)>>>0
-this.SL()
-z=this.Gv
-if((z&1)!==0)this.SY()
-else if((z&3)===0){z=this.kW()
-z.h(z,C.Wj)}return this.yx},
-Rg:function(a){var z=this.Gv
-if((z&1)!==0)this.Iv(a)
-else if((z&3)===0){z=this.kW()
-z.h(z,new P.LV(a,null))}},
-V8:function(a,b){var z=this.Gv
-if((z&1)!==0)this.pb(a,b)
-else if((z&3)===0){z=this.kW()
-z.h(z,new P.DS(a,b,null))}},
-ET:function(a){var z,y,x,w,v
-if((this.Gv&3)!==0)throw H.b(P.w("Stream has already been listened to."))
-z=$.X3
-y=a?1:0
-x=new P.yU(this,null,null,null,z,y,null,null)
-H.VM(x,[null])
-w=this.gh6()
-this.Gv=(this.Gv|1)>>>0
-if((this.Gv&8)!==0){v=this.iP
-v.sJg(x)
-v.QE()}else this.iP=x
-x.WN(w)
-x.J7(new P.UO(this))
-return x},
-j0:function(a){var z,y
-if((this.Gv&8)!==0)this.iP.ed()
-this.iP=null
-this.Gv=(this.Gv&4294967286|2)>>>0
-z=new P.Bc(this)
-y=P.ot(this.gQC())
-if(y!=null)y=y.wM(z)
-else z.call$0()
-return y}},UO:{"":"Tp;a",
-call$0:function(){P.ot(this.a.gnL())},
-"+call:0:0":0,
-$isEH:true},Bc:{"":"Tp;a",
-call$0:function(){var z=this.a.yx
-if(z!=null&&z.Gv===0)z.OH(null)},
-"+call:0:0":0,
-$isEH:true},VT:{"":"a;",
-Iv:function(a){this.ghG().Rg(a)},
-pb:function(a,b){this.ghG().V8(a,b)},
-SY:function(){this.ghG().Qj()}},Fj:{"":"a;",
-Iv:function(a){this.ghG().w6(new P.LV(a,null))},
-pb:function(a,b){this.ghG().w6(new P.DS(a,b,null))},
-SY:function(){this.ghG().w6(C.Wj)}},q1:{"":"Zz;nL<,p4<,Z9<,QC<,iP,Gv,yx"},Zz:{"":"Kd+Fj;"},ly:{"":"MF;nL<,p4<,Z9<,QC<,iP,Gv,yx"},MF:{"":"Kd+VT;"},O9:{"":"ez;Y8",
-w4:function(a){return this.Y8.ET(a)},
-gtU:function(a){return(H.eQ(this.Y8)^892482866)>>>0},
-n:function(a,b){var z
-if(b==null)return!1
-if(this===b)return!0
-z=J.x(b)
-if(typeof b!=="object"||b===null||!z.$isO9)return!1
-return b.Y8===this.Y8},
-$isO9:true,
-$asez:null},yU:{"":"KA;Y8,dB,o7,Bd,Lj,Gv,lz,Ri",
-tA:function(){return this.Y8.j0(this)},
-uO:function(){var z,y
-z=this.Y8
-if((z.Gv&8)!==0){y=z.iP
-y.yy(y)}P.ot(z.gp4())},
-gp4:function(){return new P.EV(this,P.yU.prototype.uO,null,"uO")},
-LP:function(){var z=this.Y8
-if((z.Gv&8)!==0)z.iP.QE()
-P.ot(z.gZ9())},
-gZ9:function(){return new P.EV(this,P.yU.prototype.LP,null,"LP")},
-$asKA:null},nP:{"":"a;"},KA:{"":"a;dB,o7<,Bd,Lj<,Gv,lz,Ri",
-WN:function(a){if(a==null)return
-this.Ri=a
-if(!a.gl0(a)){this.Gv=(this.Gv|64)>>>0
-this.Ri.t2(this)}},
-fe:function(a){$.X3.toString
-this.dB=a},
-fm:function(a,b){this.o7=P.VH(b,$.X3)},
-y5:function(a){$.X3.toString
-this.Bd=a},
-nB:function(a,b){var z=this.Gv
-if((z&8)!==0)return
-this.Gv=(z+128|4)>>>0
-if(z<128&&this.Ri!=null)this.Ri.FK()
-if((z&4)===0&&(this.Gv&32)===0)this.J7(this.gp4())},
-yy:function(a){return this.nB(a,null)},
-QE:function(){var z=this.Gv
-if((z&8)!==0)return
-if(z>=128){this.Gv=z-128
-z=this.Gv
-if(z<128){if((z&64)!==0){z=this.Ri
-z=!z.gl0(z)}else z=!1
-if(z)this.Ri.t2(this)
-else{this.Gv=(this.Gv&4294967291)>>>0
-if((this.Gv&32)===0)this.J7(this.gZ9())}}}},
-ed:function(){this.Gv=(this.Gv&4294967279)>>>0
-if((this.Gv&8)!==0)return this.lz
-this.Ek()
-return this.lz},
-gzG:function(){if(this.Gv<128){var z=this.Ri
-z=z==null||z.gl0(z)}else z=!1
-return z},
-Ek:function(){this.Gv=(this.Gv|8)>>>0
-if((this.Gv&64)!==0)this.Ri.FK()
-if((this.Gv&32)===0)this.Ri=null
-this.lz=this.tA()},
-Rg:function(a){var z=this.Gv
-if((z&8)!==0)return
-if(z<32)this.Iv(a)
-else this.w6(new P.LV(a,null))},
-V8:function(a,b){var z=this.Gv
-if((z&8)!==0)return
-if(z<32)this.pb(a,b)
-else this.w6(new P.DS(a,b,null))},
-Qj:function(){var z=this.Gv
-if((z&8)!==0)return
-this.Gv=(z|2)>>>0
-if(this.Gv<32)this.SY()
-else this.w6(C.Wj)},
-uO:function(){},
-gp4:function(){return new P.EV(this,P.KA.prototype.uO,null,"uO")},
-LP:function(){},
-gZ9:function(){return new P.EV(this,P.KA.prototype.LP,null,"LP")},
-tA:function(){},
-w6:function(a){var z,y
-z=this.Ri
-if(z==null){z=new P.Qk(null,null,0)
-this.Ri=z}z.h(z,a)
-y=this.Gv
-if((y&64)===0){this.Gv=(y|64)>>>0
-if(this.Gv<128)this.Ri.t2(this)}},
-Iv:function(a){var z=this.Gv
-this.Gv=(z|32)>>>0
-this.Lj.m1(this.dB,a)
-this.Gv=(this.Gv&4294967263)>>>0
-this.Kl((z&4)!==0)},
-pb:function(a,b){var z,y,x
-z=this.Gv
-y=new P.Vo(this,a,b)
-if((z&1)!==0){this.Gv=(z|16)>>>0
-this.Ek()
-z=this.lz
-x=J.x(z)
-if(typeof z==="object"&&z!==null&&!!x.$isb8)z.wM(y)
-else y.call$0()}else{y.call$0()
-this.Kl((z&4)!==0)}},
-SY:function(){var z,y,x
-z=new P.qB(this)
-this.Ek()
-this.Gv=(this.Gv|16)>>>0
-y=this.lz
-x=J.x(y)
-if(typeof y==="object"&&y!==null&&!!x.$isb8)y.wM(z)
-else z.call$0()},
-J7:function(a){var z=this.Gv
-this.Gv=(z|32)>>>0
-a.call$0()
-this.Gv=(this.Gv&4294967263)>>>0
-this.Kl((z&4)!==0)},
-Kl:function(a){var z,y
-if((this.Gv&64)!==0){z=this.Ri
-z=z.gl0(z)}else z=!1
-if(z){this.Gv=(this.Gv&4294967231)>>>0
-if((this.Gv&4)!==0&&this.gzG())this.Gv=(this.Gv&4294967291)>>>0}for(;!0;a=y){z=this.Gv
-if((z&8)!==0){this.Ri=null
-return}y=(z&4)!==0
-if(a===y)break
-this.Gv=(z^32)>>>0
-if(y)this.uO()
-else this.LP()
-this.Gv=(this.Gv&4294967263)>>>0}z=this.Gv
-if((z&64)!==0&&z<128)this.Ri.t2(this)},
-static:{"":"ry,bG,Q9,Ir,yJ,lk,JA,N3,bs",}},Vo:{"":"Tp;a,b,c",
-call$0:function(){var z,y,x,w,v
-z=this.a
-y=z.Gv
-if((y&8)!==0&&(y&16)===0)return
-z.Gv=(y|32)>>>0
-y=z.Lj
-x=$.X3
-y.toString
-x.toString
-if(x==null?y!=null:x!==y)P.L2(x,null,x,this.b,this.c)
-else{x=z.o7
-w=J.x(x)
-v=this.b
-if(!!w.$is_bh)y.z8(x,v,this.c)
-else y.m1(x,v)}z.Gv=(z.Gv&4294967263)>>>0},
-"+call:0:0":0,
-$isEH:true},qB:{"":"Tp;a",
-call$0:function(){var z,y
-z=this.a
-y=z.Gv
-if((y&16)===0)return
-z.Gv=(y|42)>>>0
-z.Lj.bH(z.Bd)
-z.Gv=(z.Gv&4294967263)>>>0},
-"+call:0:0":0,
-$isEH:true},ez:{"":"qh;",
-X5:function(a,b,c,d){var z=this.w4(!0===b)
-z.fe(a)
-z.fm(z,d)
-z.y5(c)
-return z},
-zC:function(a,b,c){return this.X5(a,null,b,c)},
-w4:function(a){var z,y
-z=$.X3
-y=a?1:0
-return new P.KA(null,null,null,z,y,null,null)},
-$asqh:null},fI:{"":"a;LD@"},LV:{"":"fI;P,LD",
-pP:function(a){a.Iv(this.P)}},DS:{"":"fI;kc>,I4<,LD",
-pP:function(a){a.pb(this.kc,this.I4)}},dp:{"":"a;",
-pP:function(a){a.SY()},
-gLD:function(){return},
-sLD:function(a){throw H.b(P.w("No events after a done."))}},B3:{"":"a;",
-t2:function(a){var z=this.Gv
-if(z===1)return
-if(z>=1){this.Gv=1
-return}P.rb(new P.CR(this,a))
-this.Gv=1},
-FK:function(){if(this.Gv===1)this.Gv=3}},CR:{"":"Tp;a,b",
-call$0:function(){var z,y
-z=this.a
-y=z.Gv
-z.Gv=0
-if(y===3)return
-z.TO(this.b)},
-"+call:0:0":0,
-$isEH:true},Qk:{"":"B3;zR,N6,Gv",
-gl0:function(a){return this.N6==null},
-h:function(a,b){var z=this.N6
-if(z==null){this.N6=b
-this.zR=b}else{z.sLD(b)
-this.N6=b}},
-TO:function(a){var z=this.zR
-this.zR=z.gLD()
-if(this.zR==null)this.N6=null
-z.pP(a)}},v1:{"":"Tp;a,b,c",
-call$0:function(){return this.a.K5(this.b,this.c)},
-"+call:0:0":0,
-$isEH:true},uR:{"":"Tp;a,b",
-call$2:function(a,b){return P.NX(this.a,this.b,a,b)},
-"+call:2:0":0,
-$isEH:true,
-$is_bh:true},YR:{"":"qh;",
-X5:function(a,b,c,d){var z=P.zK(this,!0===b,H.W8(this,"YR",0),H.W8(this,"YR",1))
-z.fe(a)
-z.fm(z,d)
-z.y5(c)
-return z},
-zC:function(a,b,c){return this.X5(a,null,b,c)},
-Ml:function(a,b){b.Rg(a)},
-$asqh:function(a,b){return[b]}},fB:{"":"KA;UY,hG,dB,o7,Bd,Lj,Gv,lz,Ri",
-Rg:function(a){if((this.Gv&2)!==0)return
-P.KA.prototype.Rg.call(this,a)},
-V8:function(a,b){if((this.Gv&2)!==0)return
-P.KA.prototype.V8.call(this,a,b)},
-uO:function(){var z=this.hG
-if(z==null)return
-z.yy(z)},
-gp4:function(){return new P.EV(this,P.fB.prototype.uO,null,"uO")},
-LP:function(){var z=this.hG
-if(z==null)return
-z.QE()},
-gZ9:function(){return new P.EV(this,P.fB.prototype.LP,null,"LP")},
-tA:function(){var z=this.hG
-if(z!=null){this.hG=null
-z.ed()}return},
-vx:function(a){this.UY.Ml(a,this)},
-gOa:function(){return new H.Pm(this,P.fB.prototype.vx,null,"vx")},
-xL:function(a,b){this.V8(a,b)},
-gRE:function(){return new P.eO(this,P.fB.prototype.xL,null,"xL")},
-fE:function(){this.Qj()},
-gH1:function(){return new P.EV(this,P.fB.prototype.fE,null,"fE")},
-S8:function(a,b,c,d){var z,y
-z=this.gOa()
-y=this.gRE()
-this.hG=this.UY.Sb.zC(z,this.gH1(),y)},
-$asKA:function(a,b){return[b]},
-static:{zK:function(a,b,c,d){var z,y
-z=$.X3
-y=b?1:0
-y=new P.fB(a,null,null,null,null,z,y,null,null)
-H.VM(y,[c,d])
-y.S8(a,b,c,d)
-return y}}},t3:{"":"YR;TN,Sb",
-kn:function(a){return this.TN.call$1(a)},
-Ml:function(a,b){var z,y,x,w,v
-z=null
-try{z=this.kn(a)}catch(w){v=H.Ru(w)
-y=v
-x=new H.XO(w,null)
-b.V8(y,x)
-return}b.Rg(z)},
-$asYR:null},fZ:{"":"a;",
-bH:function(a){var z,y,x,w
-try{x=this.Gr(a)
-return x}catch(w){x=H.Ru(w)
-z=x
-y=new H.XO(w,null)
-return this.hk(z,y)}},
-m1:function(a,b){var z,y,x,w
-try{x=this.FI(a,b)
-return x}catch(w){x=H.Ru(w)
-z=x
-y=new H.XO(w,null)
-return this.hk(z,y)}},
-z8:function(a,b,c){var z,y,x,w
-try{x=this.mg(a,b,c)
-return x}catch(w){x=H.Ru(w)
-z=x
-y=new H.XO(w,null)
-return this.hk(z,y)}},
-xi:function(a,b){var z=this.Al(a)
-if(b)return new P.TF(this,z)
-else return new P.Xz(this,z)},
-oj:function(a,b){var z=this.cR(a)
-if(b)return new P.Cg(this,z)
-else return new P.Hs(this,z)}},TF:{"":"Tp;a,b",
-call$0:function(){return this.a.bH(this.b)},
-"+call:0:0":0,
-$isEH:true},Xz:{"":"Tp;c,d",
-call$0:function(){return this.c.Gr(this.d)},
-"+call:0:0":0,
-$isEH:true},Cg:{"":"Tp;a,b",
-call$1:function(a){return this.a.m1(this.b,a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},Hs:{"":"Tp;c,d",
-call$1:function(a){return this.c.FI(this.d,a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},pK:{"":"Tp;a,b",
-call$0:function(){P.IA(new P.eM(this.a,this.b))},
-"+call:0:0":0,
-$isEH:true},eM:{"":"Tp;c,d",
-call$0:function(){var z,y,x
-z=this.c
-P.JS("Uncaught Error: "+H.d(z))
-y=this.d
-if(y==null){x=J.x(z)
-x=typeof z==="object"&&z!==null&&!!x.$isGe}else x=!1
-if(x)y=z.gI4()
-if(y!=null)P.JS("Stack Trace: \n"+H.d(y)+"\n")
-throw H.b(z)},
-"+call:0:0":0,
-$isEH:true},R8:{"":"fZ;",
-t:function(a,b){return},
-hk:function(a,b){return P.L2(this,null,this,a,b)},
-Gr:function(a){return P.T8(this,null,this,a)},
-FI:function(a,b){return P.yv(this,null,this,a,b)},
-mg:function(a,b,c){return P.Qx(this,null,this,a,b,c)},
-Al:function(a){return a},
-cR:function(a){return a}}}],["dart.collection","dart:collection",,P,{Ou:function(a,b){return J.de(a,b)},T9:function(a){return J.Dk(a)},Py:function(a,b,c,d,e){var z=new P.k6(0,null,null,null,null)
-H.VM(z,[d,e])
-return z},UD:function(a,b){var z=new P.YF(0,null,null,null,null)
-H.VM(z,[a,b])
-return z},zM:function(a){var z=new P.YO(0,null,null,null,null)
-H.VM(z,[a])
-return z},FO:function(a){var z,y
-y=$.xb()
-if(y.tg(y,a))return"(...)"
-y=$.xb()
-y.h(y,a)
-z=[]
-try{P.Vr(a,z)}finally{y=$.xb()
-y.Rz(y,a)}y=P.p9("(")
-y.We(z,", ")
-y.KF(")")
-return y.vM},Vr:function(a,b){var z,y,x,w,v,u,t,s,r,q
-z=a.gA(a)
-y=0
-x=0
-while(!0){if(!(y<80||x<3))break
-if(!z.G())return
-w=H.d(z.gl())
-b.push(w)
-y+=w.length+2;++x}if(!z.G()){if(x<=5)return
-if(0>=b.length)throw H.e(b,0)
-v=b.pop()
-if(0>=b.length)throw H.e(b,0)
-u=b.pop()}else{t=z.gl();++x
-if(!z.G()){if(x<=4){b.push(H.d(t))
-return}v=H.d(t)
-if(0>=b.length)throw H.e(b,0)
-u=b.pop()
-y+=v.length+2}else{s=z.gl();++x
-for(;z.G();t=s,s=r){r=z.gl();++x
-if(x>100){while(!0){if(!(y>75&&x>3))break
-if(0>=b.length)throw H.e(b,0)
-y-=b.pop().length+2;--x}b.push("...")
-return}}u=H.d(t)
-v=H.d(s)
-y+=v.length+u.length+4}}if(x>b.length+2){y+=5
-q="..."}else q=null
-while(!0){if(!(y>80&&b.length>3))break
-if(0>=b.length)throw H.e(b,0)
-y-=b.pop().length+2
-if(q==null){y+=5
-q="..."}}if(q!=null)b.push(q)
-b.push(u)
-b.push(v)},L5:function(a,b,c,d,e){var z=new P.YB(0,null,null,null,null,null,0)
-H.VM(z,[d,e])
-return z},vW:function(a){var z,y,x,w
-z={}
-for(x=0;x<$.tw().length;++x){w=$.tw()
-if(x>=w.length)throw H.e(w,x)
-if(w[x]===a)return"{...}"}y=P.p9("")
-try{$.tw().push(a)
-y.KF("{")
-z.a=!0
-J.Me(a,new P.ZQ(z,y))
-y.KF("}")}finally{z=$.tw()
-if(0>=z.length)throw H.e(z,0)
-z.pop()}return y.gvM()},k6:{"":"a;MU,zM,OX,OB,aw",
-gB:function(a){return this.MU},
-gvc:function(){var z=new P.fG(this)
-H.VM(z,[H.W8(this,"k6",0)])
-return z},
-gUQ:function(a){var z=new P.fG(this)
-H.VM(z,[H.W8(this,"k6",0)])
-return H.K1(z,new P.oi(this),H.W8(z,"mW",0),null)},
-x4:function(a){var z,y,x
-if(typeof a==="string"&&a!=="__proto__"){z=this.zM
-return z==null?!1:z[a]!=null}else if(typeof a==="number"&&(a&0x3ffffff)===a){y=this.OX
-return y==null?!1:y[a]!=null}else{x=this.OB
-if(x==null)return!1
-return this.aH(x[this.nm(a)],a)>=0}},
-t:function(a,b){var z,y,x,w,v,u,t
-if(typeof b==="string"&&b!=="__proto__"){z=this.zM
-if(z==null)y=null
-else{x=z[b]
-y=x===z?null:x}return y}else if(typeof b==="number"&&(b&0x3ffffff)===b){w=this.OX
-if(w==null)y=null
-else{x=w[b]
-y=x===w?null:x}return y}else{v=this.OB
-if(v==null)return
-u=v[this.nm(b)]
-t=this.aH(u,b)
-return t<0?null:u[t+1]}},
-u:function(a,b,c){var z,y,x,w,v,u
-if(typeof b==="string"&&b!=="__proto__"){z=this.zM
-if(z==null){z=P.a0()
-this.zM=z}this.dg(z,b,c)}else if(typeof b==="number"&&(b&0x3ffffff)===b){y=this.OX
-if(y==null){y=P.a0()
-this.OX=y}this.dg(y,b,c)}else{x=this.OB
-if(x==null){x=P.a0()
-this.OB=x}w=this.nm(b)
-v=x[w]
-if(v==null){P.cW(x,w,[b,c])
-this.MU=this.MU+1
-this.aw=null}else{u=this.aH(v,b)
-if(u>=0)v[u+1]=c
-else{v.push(b,c)
-this.MU=this.MU+1
-this.aw=null}}}},
-aN:function(a,b){var z,y,x,w
-z=this.Ig()
-for(y=z.length,x=0;x<y;++x){w=z[x]
-b.call$2(w,this.t(this,w))
-if(z!==this.aw)throw H.b(P.a4(this))}},
-Ig:function(){var z,y,x,w,v,u,t,s,r,q,p,o
-z=this.aw
-if(z!=null)return z
-y=P.A(this.MU,null)
-x=this.zM
-if(x!=null){w=Object.getOwnPropertyNames(x)
-v=w.length
-for(u=0,t=0;t<v;++t){y[u]=w[t];++u}}else u=0
-s=this.OX
-if(s!=null){w=Object.getOwnPropertyNames(s)
-v=w.length
-for(t=0;t<v;++t){y[u]=+w[t];++u}}r=this.OB
-if(r!=null){w=Object.getOwnPropertyNames(r)
-v=w.length
-for(t=0;t<v;++t){q=r[w[t]]
-p=q.length
-for(o=0;o<p;o+=2){y[u]=q[o];++u}}}this.aw=y
-return y},
-dg:function(a,b,c){if(a[b]==null){this.MU=this.MU+1
-this.aw=null}P.cW(a,b,c)},
-nm:function(a){return J.Dk(a)&0x3ffffff},
-aH:function(a,b){var z,y
-if(a==null)return-1
-z=a.length
-for(y=0;y<z;y+=2)if(J.de(a[y],b))return y
-return-1},
-$isZ0:true,
-static:{cW:function(a,b,c){if(c==null)a[b]=a
-else a[b]=c},a0:function(){var z=Object.create(null)
-P.cW(z,"<non-identifier-key>",z)
-delete z["<non-identifier-key>"]
-return z}}},oi:{"":"Tp;a",
-call$1:function(a){var z=this.a
-return z.t(z,a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},YF:{"":"k6;MU,zM,OX,OB,aw",
-nm:function(a){return H.CU(a)&0x3ffffff},
-aH:function(a,b){var z,y,x
-if(a==null)return-1
-z=a.length
-for(y=0;y<z;y+=2){x=a[y]
-if(x==null?b==null:x===b)return y}return-1},
-$ask6:null,
-$asZ0:null},fG:{"":"mW;Fb",
-gB:function(a){return this.Fb.MU},
-gA:function(a){var z=this.Fb
-return new P.EQ(z,z.Ig(),0,null)},
-aN:function(a,b){var z,y,x,w
-z=this.Fb
-y=z.Ig()
-for(x=y.length,w=0;w<x;++w){b.call$1(y[w])
-if(y!==z.aw)throw H.b(P.a4(z))}},
-$asmW:null,
-$ascX:null,
-$isqC:true},EQ:{"":"a;Fb,aw,zi,fD",
-gl:function(){return this.fD},
-G:function(){var z,y,x
-z=this.aw
-y=this.zi
-x=this.Fb
-if(z!==x.aw)throw H.b(P.a4(x))
-else if(y>=z.length){this.fD=null
-return!1}else{this.fD=z[y]
-this.zi=y+1
-return!0}}},YB:{"":"a;MU,zM,OX,OB,H9,lX,zN",
-gB:function(a){return this.MU},
-gl0:function(a){return this.MU===0},
-gvc:function(){var z=new P.i5(this)
-H.VM(z,[H.W8(this,"YB",0)])
-return z},
-gUQ:function(a){var z=new P.i5(this)
-H.VM(z,[H.W8(this,"YB",0)])
-return H.K1(z,new P.a1(this),H.W8(z,"mW",0),null)},
-x4:function(a){var z,y
-if((a&0x3ffffff)===a){z=this.OX
-if(z==null)return!1
-return z[a]!=null}else{y=this.OB
-if(y==null)return!1
-return this.aH(y[this.nm(a)],a)>=0}},
-t:function(a,b){var z,y,x,w,v,u
-if(typeof b==="string"&&b!=="__proto__"){z=this.zM
-if(z==null)return
-y=z[b]
-return y==null?null:y.gcA()}else if(typeof b==="number"&&(b&0x3ffffff)===b){x=this.OX
-if(x==null)return
-y=x[b]
-return y==null?null:y.gcA()}else{w=this.OB
-if(w==null)return
-v=w[this.nm(b)]
-u=this.aH(v,b)
-if(u<0)return
-return v[u].gcA()}},
-u:function(a,b,c){var z,y,x,w,v,u
-if(typeof b==="string"&&b!=="__proto__"){z=this.zM
-if(z==null){z=P.Qs()
-this.zM=z}this.dg(z,b,c)}else if(typeof b==="number"&&(b&0x3ffffff)===b){y=this.OX
-if(y==null){y=P.Qs()
-this.OX=y}this.dg(y,b,c)}else{x=this.OB
-if(x==null){x=P.Qs()
-this.OB=x}w=this.nm(b)
-v=x[w]
-if(v==null)x[w]=[this.pE(b,c)]
-else{u=this.aH(v,b)
-if(u>=0)v[u].scA(c)
-else v.push(this.pE(b,c))}}},
-Rz:function(a,b){var z,y,x,w
-if(typeof b==="string"&&b!=="__proto__")return this.Nv(this.zM,b)
-else if(typeof b==="number"&&(b&0x3ffffff)===b)return this.Nv(this.OX,b)
-else{z=this.OB
-if(z==null)return
-y=z[this.nm(b)]
-x=this.aH(y,b)
-if(x<0)return
-w=y.splice(x,1)[0]
-this.Vb(w)
-return w.gcA()}},
-aN:function(a,b){var z,y
-z=this.H9
-y=this.zN
-for(;z!=null;){b.call$2(z.kh,z.cA)
-if(y!==this.zN)throw H.b(P.a4(this))
-z=z.DG}},
-dg:function(a,b,c){var z=a[b]
-if(z==null)a[b]=this.pE(b,c)
-else z.scA(c)},
-Nv:function(a,b){var z
-if(a==null)return
-z=a[b]
-if(z==null)return
-this.Vb(z)
-delete a[b]
-return z.gcA()},
-pE:function(a,b){var z,y
-z=new P.db(a,b,null,null)
-if(this.H9==null){this.lX=z
-this.H9=z}else{y=this.lX
-z.zQ=y
-y.DG=z
-this.lX=z}this.MU=this.MU+1
-this.zN=this.zN+1&67108863
-return z},
-Vb:function(a){var z,y
-z=a.gzQ()
-y=a.gDG()
-if(z==null)this.H9=y
-else z.DG=y
-if(y==null)this.lX=z
-else y.zQ=z
-this.MU=this.MU-1
-this.zN=this.zN+1&67108863},
-nm:function(a){return J.Dk(a)&0x3ffffff},
-aH:function(a,b){var z,y
-if(a==null)return-1
-z=a.length
-for(y=0;y<z;++y)if(J.de(a[y].gkh(),b))return y
-return-1},
-bu:function(a){return P.vW(this)},
-$isZ0:true,
-static:{Qs:function(){var z=Object.create(null)
-z["<non-identifier-key>"]=z
-delete z["<non-identifier-key>"]
-return z}}},a1:{"":"Tp;a",
-call$1:function(a){var z=this.a
-return z.t(z,a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},db:{"":"a;kh<,cA@,DG<,zQ<"},i5:{"":"mW;Fb",
-gB:function(a){return this.Fb.MU},
-gA:function(a){var z=this.Fb
-z=new P.N6(z,z.zN,null,null)
-z.zq=z.Fb.H9
-return z},
-aN:function(a,b){var z,y,x
-z=this.Fb
-y=z.H9
-x=z.zN
-for(;y!=null;){b.call$1(y.kh)
-if(x!==z.zN)throw H.b(P.a4(z))
-y=y.DG}},
-$asmW:null,
-$ascX:null,
-$isqC:true},N6:{"":"a;Fb,zN,zq,fD",
-gl:function(){return this.fD},
-G:function(){var z=this.Fb
-if(this.zN!==z.zN)throw H.b(P.a4(z))
-else{z=this.zq
-if(z==null){this.fD=null
-return!1}else{this.fD=z.kh
-this.zq=this.zq.DG
-return!0}}}},jg:{"":"u3;",
-gA:function(a){return new P.oz(this,this.Zl(),0,null)},
-gB:function(a){return this.MU},
-tg:function(a,b){var z,y,x
-if(typeof b==="string"&&b!=="__proto__"){z=this.zM
-return z==null?!1:z[b]!=null}else if(typeof b==="number"&&(b&0x3ffffff)===b){y=this.OX
-return y==null?!1:y[b]!=null}else{x=this.OB
-if(x==null)return!1
-return this.aH(x[this.nm(b)],b)>=0}},
-Zt:function(a){var z,y,x,w
-if(!(typeof a==="string"&&a!=="__proto__"))z=typeof a==="number"&&(a&0x3ffffff)===a
-else z=!0
-if(z)return this.tg(this,a)?a:null
-y=this.OB
-if(y==null)return
-x=y[this.nm(a)]
-w=this.aH(x,a)
-if(w<0)return
-return J.UQ(x,w)},
-h:function(a,b){var z,y,x,w
-z=this.OB
-if(z==null){y=Object.create(null)
-y["<non-identifier-key>"]=y
-delete y["<non-identifier-key>"]
-this.OB=y
-z=y}x=this.nm(b)
-w=z[x]
-if(w==null)z[x]=[b]
-else{if(this.aH(w,b)>=0)return!1
-w.push(b)}this.MU=this.MU+1
-this.DM=null
-return!0},
-Rz:function(a,b){var z,y,x
-z=this.OB
-if(z==null)return!1
-y=z[this.nm(b)]
-x=this.aH(y,b)
-if(x<0)return!1
-this.MU=this.MU-1
-this.DM=null
-y.splice(x,1)
-return!0},
-Zl:function(){var z,y,x,w,v,u,t,s,r,q,p,o
-z=this.DM
-if(z!=null)return z
-y=P.A(this.MU,null)
-x=this.zM
-if(x!=null){w=Object.getOwnPropertyNames(x)
-v=w.length
-for(u=0,t=0;t<v;++t){y[u]=w[t];++u}}else u=0
-s=this.OX
-if(s!=null){w=Object.getOwnPropertyNames(s)
-v=w.length
-for(t=0;t<v;++t){y[u]=+w[t];++u}}r=this.OB
-if(r!=null){w=Object.getOwnPropertyNames(r)
-v=w.length
-for(t=0;t<v;++t){q=r[w[t]]
-p=q.length
-for(o=0;o<p;++o){y[u]=q[o];++u}}}this.DM=y
-return y},
-nm:function(a){return J.Dk(a)&0x3ffffff},
-aH:function(a,b){var z,y
-if(a==null)return-1
-z=a.length
-for(y=0;y<z;++y)if(J.de(a[y],b))return y
-return-1},
-$asu3:null,
-$ascX:null,
-$isqC:true,
-$iscX:true},YO:{"":"jg;MU,zM,OX,OB,DM",
-nm:function(a){return H.CU(a)&0x3ffffff},
-aH:function(a,b){var z,y,x
-if(a==null)return-1
-z=a.length
-for(y=0;y<z;++y){x=a[y]
-if(x==null?b==null:x===b)return y}return-1},
-$asjg:null,
-$ascX:null},oz:{"":"a;O2,DM,zi,fD",
-gl:function(){return this.fD},
-G:function(){var z,y,x
-z=this.DM
-y=this.zi
-x=this.O2
-if(z!==x.DM)throw H.b(P.a4(x))
-else if(y>=z.length){this.fD=null
-return!1}else{this.fD=z[y]
-this.zi=y+1
-return!0}}},u3:{"":"mW;",
-bu:function(a){return H.mx(this,"{","}")},
-$asmW:null,
-$ascX:null,
-$isqC:true,
-$iscX:true},mW:{"":"a;",
-ez:function(a,b){return H.K1(this,b,H.W8(this,"mW",0),null)},
-aN:function(a,b){var z
-for(z=this.gA(this);z.G();)b.call$1(z.gl())},
-gB:function(a){var z,y
-z=this.gA(this)
-for(y=0;z.G();)++y
-return y},
-Zv:function(a,b){var z,y,x,w
-if(typeof b!=="number"||Math.floor(b)!==b||b<0)throw H.b(P.N(b))
-for(z=this.gA(this),y=b;z.G();){x=z.gl()
-w=J.x(y)
-if(w.n(y,0))return x
-y=w.W(y,1)}throw H.b(P.N(b))},
-bu:function(a){return P.FO(this)},
-$iscX:true,
-$ascX:null},lD:{"":"a;",
-gA:function(a){return new H.a7(a,this.gB(a),0,null)},
-Zv:function(a,b){return this.t(a,b)},
-aN:function(a,b){var z,y
-z=this.gB(a)
-if(typeof z!=="number")throw H.s(z)
-y=0
-for(;y<z;++y){b.call$1(this.t(a,y))
-if(z!==this.gB(a))throw H.b(P.a4(a))}},
-ez:function(a,b){var z=new H.A8(a,b)
-H.VM(z,[null,null])
-return z},
-bu:function(a){var z,y
-y=$.xb()
-if(y.tg(y,a))return"[...]"
-z=P.p9("")
-try{y=$.xb()
-y.h(y,a)
-z.KF("[")
-z.We(a,", ")
-z.KF("]")}finally{y=$.xb()
-y.Rz(y,a)}return z.gvM()},
-$isList:true,
-$asWO:null,
-$isqC:true,
-$iscX:true,
-$ascX:null},ZQ:{"":"Tp;a,b",
-call$2:function(a,b){var z=this.a
-if(!z.a)this.b.KF(", ")
-z.a=!1
-z=this.b
-z.KF(a)
-z.KF(": ")
-z.KF(b)},
-"+call:2:0":0,
-$isEH:true,
-$is_bh:true},Sw:{"":"mW;v5,av,HV,qT",
-gA:function(a){return P.MW(this)},
-aN:function(a,b){var z,y,x
-z=this.qT
-for(y=this.av;y!==this.HV;y=(y+1&this.v5.length-1)>>>0){x=this.v5
-if(y<0||y>=x.length)throw H.e(x,y)
-b.call$1(x[y])
-if(z!==this.qT)H.vh(P.a4(this))}},
-gB:function(a){return(this.HV-this.av&this.v5.length-1)>>>0},
-bu:function(a){return H.mx(this,"{","}")},
-Ux:function(){var z,y,x,w
-if(this.av===this.HV)throw H.b(P.w("No elements"))
-this.qT=this.qT+1
-z=this.v5
-y=this.av
-x=z.length
-if(y<0||y>=x)throw H.e(z,y)
-w=z[y]
-this.av=(y+1&x-1)>>>0
-return w},
-NZ:function(a){var z,y,x
-z=this.v5
-y=this.HV
-x=z.length
-if(y<0||y>=x)throw H.e(z,y)
-z[y]=a
-this.HV=(y+1&x-1)>>>0
-if(this.av===this.HV)this.VW()
-this.qT=this.qT+1},
-VW:function(){var z,y,x,w
-z=P.A(this.v5.length*2,H.W8(this,"Sw",0))
-H.VM(z,[H.W8(this,"Sw",0)])
-y=this.v5
-x=this.av
-w=y.length-x
-H.qG(z,0,w,y,x)
-y=this.av
-x=this.v5
-H.qG(z,w,w+y,x,0)
-this.av=0
-this.HV=this.v5.length
-this.v5=z},
-Eo:function(a,b){var z=P.A(8,b)
-H.VM(z,[b])
-this.v5=z},
-$asmW:null,
-$ascX:null,
-$isqC:true,
-$iscX:true,
-static:{"":"TN",NZ:function(a,b){var z=new P.Sw(null,0,0,0)
-H.VM(z,[b])
-z.Eo(a,b)
-return z}}},o0:{"":"a;Lz,dP,qT,Dc,fD",
-gl:function(){return this.fD},
-G:function(){var z,y,x
-z=this.Lz
-if(this.qT!==z.qT)H.vh(P.a4(z))
-y=this.Dc
-if(y===this.dP){this.fD=null
-return!1}x=z.v5
-if(y<0||y>=x.length)throw H.e(x,y)
-this.fD=x[y]
-this.Dc=(this.Dc+1&z.v5.length-1)>>>0
-return!0},
-static:{MW:function(a){return new P.o0(a,a.HV,a.qT,a.av,null)}}}}],["dart.core","dart:core",,P,{Te:function(a){return},hl:function(a){var z,y,x,w,v,u
-if(typeof a==="number"||typeof a==="boolean"||null==a)return J.AG(a)
-if(typeof a==="string"){z=new P.Rn("")
-z.vM="\""
-for(y=a.length,x=0;x<y;++x){w=C.xB.j(a,x)
-if(w<=31)if(w===10)z.vM=z.vM+"\\n"
-else if(w===13)z.vM=z.vM+"\\r"
-else if(w===9)z.vM=z.vM+"\\t"
-else{z.vM=z.vM+"\\x"
-if(w<16)z.vM=z.vM+"0"
-else{z.vM=z.vM+"1"
-w-=16}v=w<10?48+w:87+w
-u=P.O8(1,v,J.im)
-u.$builtinTypeInfo=[J.im]
-v=H.eT(u)
-z.vM=z.vM+v}else if(w===92)z.vM=z.vM+"\\\\"
-else if(w===34)z.vM=z.vM+"\\\""
-else{u=P.O8(1,w,J.im)
-u.$builtinTypeInfo=[J.im]
-v=H.eT(u)
-z.vM=z.vM+v}}z.vM=z.vM+"\""
-return z.vM}return"Instance of '"+H.lh(a)+"'"},FM:function(a){return new P.HG(a)},ad:function(a,b){return a==null?b==null:a===b},xv:function(a){return H.CU(a)},A:function(a,b){if(a==null)return new Array(0)
-if(typeof a!=="number"||Math.floor(a)!==a||a<0)throw H.b(new P.AT("Length must be a positive integer: "+H.d(a)+"."))
-return H.rD(a)},O8:function(a,b,c){var z,y,x
-if(a<0)throw H.b(new P.AT("Length must be a positive integer: "+a+"."))
-z=H.rD(a)
-if(a!==0&&!0)for(y=z.length,x=0;x<y;++x)z[x]=b
-return z},F:function(a,b,c){var z,y,x,w,v
-z=P.A(null,c)
-H.VM(z,[c])
-for(y=J.GP(a);y.G();)z.push(y.gl())
-if(b)return z
-x=z.length
-w=P.A(x,c)
-H.VM(w,[c])
-for(y=z.length,v=0;v<x;++v){if(v>=y)throw H.e(z,v)
-w[v]=z[v]}return w},JS:function(a){var z=J.AG(a)
-H.LJ(z)},Y2:{"":"Tp;a",
-call$2:function(a,b){var z=this.a
-z.u(z,a.ghr(),b)},
-"+call:2:0":0,
-$isEH:true,
-$is_bh:true},CL:{"":"Tp;a",
-call$2:function(a,b){var z=this.a
-if(z.b>0)z.a.KF(", ")
-z.a.KF(a.ghr())
-z.a.KF(": ")
-z.a.KF(P.hl(b))
-z.b=z.b+1},
-"+call:2:0":0,
-$isEH:true,
-$is_bh:true},iP:{"":"a;rq,aL",
-n:function(a,b){var z
-if(b==null)return!1
-z=J.x(b)
-if(typeof b!=="object"||b===null||!z.$isiP)return!1
-return this.rq===b.rq&&this.aL===b.aL},
-gtU:function(a){return this.rq},
-bu:function(a){var z,y,x,w,v,u,t,s
-z=new P.pl()
-y=new P.Hn().call$1(H.tJ(this))
-x=z.call$1(H.NS(this))
-w=z.call$1(H.jA(this))
-v=z.call$1(H.KL(this))
-u=z.call$1(H.ch(this))
-t=z.call$1(H.XJ(this))
-s=new P.Zl().call$1(H.o1(this))
-if(this.aL)return H.d(y)+"-"+H.d(x)+"-"+H.d(w)+" "+H.d(v)+":"+H.d(u)+":"+H.d(t)+"."+H.d(s)+"Z"
-else return H.d(y)+"-"+H.d(x)+"-"+H.d(w)+" "+H.d(v)+":"+H.d(u)+":"+H.d(t)+"."+H.d(s)},
-RM:function(a,b){if(Math.abs(a)>8640000000000000)throw H.b(new P.AT(a))},
-$isiP:true,
-static:{"":"Oj,Vp,df,p2,h2,QC,nm,Yp,kc,Xs,k3,cR,E0,Ke,lT,Nr,bm,o4,Kz,ek,yf,Fk",Wu:function(a,b){var z=new P.iP(a,b)
-z.RM(a,b)
-return z}}},Hn:{"":"Tp;",
-call$1:function(a){var z,y,x
-z=J.Wx(a)
-y=z.Vy(a)
-x=z.C(a,0)?"-":""
-if(y>=1000)return H.d(a)
-if(y>=100)return x+"0"+H.d(y)
-if(y>=10)return x+"00"+H.d(y)
-return x+"000"+H.d(y)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},Zl:{"":"Tp;",
-call$1:function(a){var z=J.Wx(a)
-if(z.F(a,100))return H.d(a)
-if(z.F(a,10))return"0"+H.d(a)
-return"00"+H.d(a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},pl:{"":"Tp;",
-call$1:function(a){if(J.J5(a,10))return H.d(a)
-return"0"+H.d(a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},a6:{"":"a;Fq<",
-W:function(a,b){return P.k5(0,0,C.CD.W(this.Fq,b.gFq()),0,0,0)},
-C:function(a,b){return C.CD.C(this.Fq,b.gFq())},
-D:function(a,b){return this.Fq>b.gFq()},
-F:function(a,b){return this.Fq>=b.gFq()},
-n:function(a,b){var z
-if(b==null)return!1
-z=J.x(b)
-if(typeof b!=="object"||b===null||!z.$isa6)return!1
-return this.Fq===b.Fq},
-gtU:function(a){return this.Fq&0x1FFFFFFF},
-bu:function(a){var z,y,x,w,v
-z=new P.DW()
-y=this.Fq
-if(y<0)return"-"+H.d(P.k5(0,0,-y,0,0,0))
-x=z.call$1(C.CD.JV(C.CD.Z(y,60000000),60))
-w=z.call$1(C.CD.JV(C.CD.Z(y,1000000),60))
-v=new P.P7().call$1(C.CD.JV(y,1000000))
-return H.d(C.CD.Z(y,3600000000))+":"+H.d(x)+":"+H.d(w)+"."+H.d(v)},
-$isa6:true,
-static:{"":"Bp,S4,dk,Lo,zj,b2,q9,Ie,Do,Cv,kT,IJ,V6,Vk,S8,rG",k5:function(a,b,c,d,e,f){return new P.a6(a*86400000000+b*3600000000+e*60000000+f*1000000+d*1000+c)}}},P7:{"":"Tp;",
-call$1:function(a){var z=J.Wx(a)
-if(z.F(a,100000))return H.d(a)
-if(z.F(a,10000))return"0"+H.d(a)
-if(z.F(a,1000))return"00"+H.d(a)
-if(z.F(a,100))return"000"+H.d(a)
-if(z.D(a,10))return"0000"+H.d(a)
-return"00000"+H.d(a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},DW:{"":"Tp;",
-call$1:function(a){if(J.J5(a,10))return H.d(a)
-return"0"+H.d(a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},Ge:{"":"a;",
-gI4:function(){return new H.XO(this.$thrownJsError,null)},
-$isGe:true},LK:{"":"Ge;",
-bu:function(a){return"Throw of null."}},AT:{"":"Ge;G1",
-bu:function(a){var z=this.G1
-if(z!=null)return"Illegal argument(s): "+H.d(z)
-return"Illegal argument(s)"},
-static:{u:function(a){return new P.AT(a)}}},bJ:{"":"AT;G1",
-bu:function(a){return"RangeError: "+H.d(this.G1)},
-static:{N:function(a){return new P.bJ("value "+H.d(a))},TE:function(a,b,c){return new P.bJ("value "+H.d(a)+" not in range "+b+".."+H.d(c))}}},mp:{"":"Ge;uF,UP,mP,SA,vG",
-bu:function(a){var z,y,x,w,v
-z={}
-z.a=P.p9("")
-z.b=0
-for(y=this.mP;x=z.b,x<y.length;z.b=z.b+1){if(x>0){x=z.a
-x.vM=x.vM+", "}x=z.a
-w=z.b
-if(w<0||w>=y.length)throw H.e(y,w)
-v=P.hl(y[w])
-v=typeof v==="string"?v:H.d(v)
-x.vM=x.vM+v}y=this.SA
-y.aN(y,new P.CL(z))
-return"NoSuchMethodError : method not found: '"+H.d(this.UP)+"'\nReceiver: "+H.d(P.hl(this.uF))+"\nArguments: ["+H.d(z.a)+"]"},
-static:{lr:function(a,b,c,d,e){return new P.mp(a,b,c,d,e)}}},ub:{"":"Ge;G1",
-bu:function(a){return"Unsupported operation: "+this.G1},
-static:{f:function(a){return new P.ub(a)}}},ds:{"":"Ge;G1",
-bu:function(a){var z=this.G1
-return z!=null?"UnimplementedError: "+H.d(z):"UnimplementedError"},
-$isGe:true,
-static:{SY:function(a){return new P.ds(a)}}},lj:{"":"Ge;G1",
-bu:function(a){return"Bad state: "+this.G1},
-static:{w:function(a){return new P.lj(a)}}},UV:{"":"Ge;YA",
-bu:function(a){var z=this.YA
-if(z==null)return"Concurrent modification during iteration."
-return"Concurrent modification during iteration: "+H.d(P.hl(z))+"."},
-static:{a4:function(a){return new P.UV(a)}}},VS:{"":"a;",
-bu:function(a){return"Stack Overflow"},
-gI4:function(){return},
-$isGe:true},t7:{"":"Ge;Wo",
-bu:function(a){return"Reading static variable '"+this.Wo+"' during its initialization"},
-static:{Gz:function(a){return new P.t7(a)}}},HG:{"":"a;G1",
-bu:function(a){var z=this.G1
-if(z==null)return"Exception"
-return"Exception: "+H.d(z)}},aE:{"":"a;G1",
-bu:function(a){return"FormatException: "+H.d(this.G1)},
-static:{rr:function(a){return new P.aE(a)}}},kM:{"":"a;oc",
-bu:function(a){return"Expando:"+H.d(this.oc)},
-t:function(a,b){var z=H.of(b,"expando$values")
-return z==null?null:H.of(z,this.J4())},
-u:function(a,b,c){var z=H.of(b,"expando$values")
-if(z==null){z=new P.a()
-H.aw(b,"expando$values",z)}H.aw(z,this.J4(),c)},
-J4:function(){var z,y
-z=H.of(this,"expando$key")
-if(z==null){y=$.Ss
-$.Ss=y+1
-z="expando$key$"+y
-H.aw(this,"expando$key",z)}return z},
-static:{"":"bZ,rl,Ss",}},EH:{"":"a;",$isEH:true},An:{"":"a;"},c8:{"":"a;",
-bu:function(a){return"null"}},a:{"":";",
-n:function(a,b){return this===b},
-gtU:function(a){return H.eQ(this)},
-bu:function(a){return H.a5(this)},
-T:function(a,b){throw H.b(P.lr(this,b.gWa(),b.gnd(),b.gVm(),null))}},mE:{"":"a;"},Rn:{"":"a;vM<",
-gB:function(a){return this.vM.length},
-KF:function(a){var z=typeof a==="string"?a:H.d(a)
-this.vM=this.vM+z},
-We:function(a,b){var z,y
-z=J.GP(a)
-if(!z.G())return
-if(b.length===0)do{y=z.gl()
-y=typeof y==="string"?y:H.d(y)
-this.vM=this.vM+y}while(z.G())
-else{this.KF(z.gl())
-for(;z.G();){this.vM=this.vM+b
-y=z.gl()
-y=typeof y==="string"?y:H.d(y)
-this.vM=this.vM+y}}},
-bu:function(a){return this.vM},
-PD:function(a){this.vM=a},
-static:{p9:function(a){var z=new P.Rn("")
-z.PD(a)
-return z}}},wv:{"":"a;"}}],["dart.dom.html","dart:html",,W,{VF:function(a){var z=$.X3
-if(z===C.NU)return a
-return z.oj(a,!0)},qE:{"":"cv;","%":"HTMLAppletElement|HTMLAreaElement|HTMLBRElement|HTMLBaseElement|HTMLBaseFontElement|HTMLBodyElement|HTMLCanvasElement|HTMLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDetailsElement|HTMLDialogElement|HTMLDirectoryElement|HTMLDivElement|HTMLEmbedElement|HTMLFieldSetElement|HTMLFontElement|HTMLFrameElement|HTMLFrameSetElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTMLKeygenElement|HTMLLabelElement|HTMLLegendElement|HTMLLinkElement|HTMLMapElement|HTMLMarqueeElement|HTMLMenuElement|HTMLMetaElement|HTMLModElement|HTMLOListElement|HTMLObjectElement|HTMLOptGroupElement|HTMLParagraphElement|HTMLPreElement|HTMLQuoteElement|HTMLScriptElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTMLStyleElement|HTMLTableCaptionElement|HTMLTableCellElement|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHeaderCellElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTemplateElement|HTMLTitleElement|HTMLTrackElement|HTMLUListElement|HTMLUnknownElement;HTMLElement"},Gh:{"":"qE;",
-bu:function(a){return a.toString()},
-"%":"HTMLAnchorElement"},Az:{"":"Gv;",$isAz:true,"%":"Blob|File"},IF:{"":"qE;P:value=","%":"HTMLButtonElement"},OM:{"":"KV;B:length=","%":"CDATASection|CharacterData|Comment|ProcessingInstruction|Text"},Nh:{"":"Gv;",
-bu:function(a){return a.toString()},
-"%":"DOMException"},cv:{"":"KV;",
-bu:function(a){return a.localName},
-"%":"SVGAElement|SVGAltGlyphDefElement|SVGAltGlyphElement|SVGAltGlyphItemElement|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTransformElement|SVGAnimationElement|SVGCircleElement|SVGClipPathElement|SVGComponentTransferFunctionElement|SVGCursorElement|SVGDefsElement|SVGDescElement|SVGElement|SVGEllipseElement|SVGFEBlendElement|SVGFEColorMatrixElement|SVGFEComponentTransferElement|SVGFECompositeElement|SVGFEConvolveMatrixElement|SVGFEDiffuseLightingElement|SVGFEDisplacementMapElement|SVGFEDistantLightElement|SVGFEDropShadowElement|SVGFEFloodElement|SVGFEFuncAElement|SVGFEFuncBElement|SVGFEFuncGElement|SVGFEFuncRElement|SVGFEGaussianBlurElement|SVGFEImageElement|SVGFEMergeElement|SVGFEMergeNodeElement|SVGFEMorphologyElement|SVGFEOffsetElement|SVGFEPointLightElement|SVGFESpecularLightingElement|SVGFESpotLightElement|SVGFETileElement|SVGFETurbulenceElement|SVGFilterElement|SVGFontElement|SVGFontFaceElement|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement|SVGForeignObjectElement|SVGGElement|SVGGlyphElement|SVGGlyphRefElement|SVGGradientElement|SVGGraphicsElement|SVGHKernElement|SVGImageElement|SVGLineElement|SVGLinearGradientElement|SVGMPathElement|SVGMarkerElement|SVGMaskElement|SVGMetadataElement|SVGMissingGlyphElement|SVGPathElement|SVGPatternElement|SVGPolygonElement|SVGPolylineElement|SVGRadialGradientElement|SVGRectElement|SVGSVGElement|SVGScriptElement|SVGSetElement|SVGStopElement|SVGStyleElement|SVGSwitchElement|SVGSymbolElement|SVGTSpanElement|SVGTextContentElement|SVGTextElement|SVGTextPathElement|SVGTextPositioningElement|SVGTitleElement|SVGUseElement|SVGVKernElement|SVGViewElement;Element"},hY:{"":"ea;kc:error=","%":"ErrorEvent"},ea:{"":"Gv;",$isea:true,"%":"AudioProcessingEvent|AutocompleteErrorEvent|BeforeLoadEvent|BeforeUnloadEvent|CSSFontFaceLoadEvent|CloseEvent|CompositionEvent|CustomEvent|DeviceMotionEvent|DeviceOrientationEvent|DragEvent|FocusEvent|HashChangeEvent|IDBVersionChangeEvent|KeyboardEvent|MIDIConnectionEvent|MIDIMessageEvent|MSPointerEvent|MediaKeyEvent|MediaKeyMessageEvent|MediaKeyNeededEvent|MediaStreamEvent|MediaStreamTrackEvent|MessageEvent|MouseEvent|MouseScrollEvent|MouseWheelEvent|MutationEvent|OfflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|PointerEvent|PopStateEvent|ProgressEvent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|ResourceProgressEvent|SVGZoomEvent|SecurityPolicyViolationEvent|SpeechInputEvent|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent|TextEvent|TouchEvent|TrackEvent|TransitionEvent|UIEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|WheelEvent|XMLHttpRequestProgressEvent;Event"},D0:{"":"Gv;",
-On:function(a,b,c,d){return a.addEventListener(b,H.tR(c,1),d)},
-Y9:function(a,b,c,d){return a.removeEventListener(b,H.tR(c,1),d)},
-"%":"MediaStream;EventTarget"},Yu:{"":"qE;B:length=","%":"HTMLFormElement"},Sg:{"":"Gv;",$isSg:true,"%":"ImageData"},Mi:{"":"qE;P:value=",$isKV:true,"%":"HTMLInputElement"},wP:{"":"qE;P:value=","%":"HTMLLIElement"},El:{"":"qE;kc:error=","%":"HTMLAudioElement|HTMLMediaElement|HTMLVideoElement"},Qb:{"":"qE;P:value=","%":"HTMLMeterElement"},KV:{"":"D0;",
-bu:function(a){var z=a.nodeValue
-return z==null?J.Gv.prototype.bu.call(this,a):z},
-$isKV:true,
-"%":"Attr|Document|DocumentFragment|DocumentType|Entity|HTMLDocument|Notation|SVGDocument|ShadowRoot;Node"},Ql:{"":"qE;P:value=","%":"HTMLOptionElement"},wL:{"":"qE;P:value=","%":"HTMLOutputElement"},HD:{"":"qE;P:value=","%":"HTMLParamElement"},KR:{"":"qE;P:value=","%":"HTMLProgressElement"},lp:{"":"qE;B:length=,P:value=","%":"HTMLSelectElement"},zD:{"":"ea;kc:error=","%":"SpeechRecognitionError"},FB:{"":"qE;P:value=","%":"HTMLTextAreaElement"},K5:{"":"D0;",
-bu:function(a){return a.toString()},
-$isK5:true,
-"%":"DOMWindow|Window"},I2:{"":"a;Ph"},RO:{"":"qh;",
-X5:function(a,b,c,d){var z=new W.xC(0,this.uv,this.Ph,W.VF(a),this.Sg)
-H.VM(z,[H.W8(this,"RO",0)])
-z.Zz()
-return z},
-zC:function(a,b,c){return this.X5(a,null,b,c)},
-$asqh:null},Cq:{"":"RO;uv,Ph,Sg",$asRO:null},xC:{"":"MO;VP,uv,Ph,u7,Sg",
-ed:function(){if(this.uv==null)return
-this.Ns()
-this.uv=null
-this.u7=null},
-nB:function(a,b){if(this.uv==null)return
-this.VP=this.VP+1
-this.Ns()},
-yy:function(a){return this.nB(a,null)},
-QE:function(){if(this.uv==null||this.VP<=0)return
-this.VP=this.VP-1
-this.Zz()},
-Zz:function(){var z=this.u7
-if(z!=null&&this.VP<=0)J.qV(this.uv,this.Ph,z,this.Sg)},
-Ns:function(){var z=this.u7
-if(z!=null)J.GJ(this.uv,this.Ph,z,this.Sg)},
-$asMO:null}}],["dart.dom.indexed_db","dart:indexed_db",,P,{hF:{"":"Gv;",$ishF:true,"%":"IDBKeyRange"}}],["dart.isolate","dart:isolate",,P,{rR:{"":"a;"}}],["dart.js","dart:js",,P,{z8:function(a,b){return function(_call, f, captureThis) {return function() {return _call(f, captureThis, this, Array.prototype.slice.apply(arguments));}}(P.uu.call$4, a, b)},R4:function(a,b,c,d){var z
-if(b===!0){z=[c]
-C.Nm.FV(z,d)
-d=z}return P.wY(H.Ek(a,P.F(J.C0(d,P.Xl),!0,null),P.Te(null)))},Dm:function(a,b,c){var z
-if(Object.isExtensible(a))try{Object.defineProperty(a, b, { value: c})
-return!0}catch(z){H.Ru(z)}return!1},wY:function(a){var z
-if(a==null)return
-else{if(typeof a!=="string")if(typeof a!=="number")if(typeof a!=="boolean"){z=J.x(a)
-z=typeof a==="object"&&a!==null&&!!z.$isAz||typeof a==="object"&&a!==null&&!!z.$isea||typeof a==="object"&&a!==null&&!!z.$ishF||typeof a==="object"&&a!==null&&!!z.$isSg||typeof a==="object"&&a!==null&&!!z.$isKV||typeof a==="object"&&a!==null&&!!z.$isAS||typeof a==="object"&&a!==null&&!!z.$isK5}else z=!0
-else z=!0
-else z=!0
-if(z)return a
-else{z=J.x(a)
-if(typeof a==="object"&&a!==null&&!!z.$isiP)return H.o2(a)
-else if(typeof a==="object"&&a!==null&&!!z.$isE4)return a.eh
-else if(typeof a==="object"&&a!==null&&!!z.$isEH)return P.hE(a,"$dart_jsFunction",new P.DV())
-else return P.hE(a,"_$dart_jsObject",new P.PC())}}},hE:function(a,b,c){var z=a[b]
-if(z==null){z=c.call$1(a)
-P.Dm(a,b,z)}return z},dU:function(a){var z
-if(a==null||typeof a=="string"||typeof a=="number"||typeof a=="boolean")return a
-else{if(a instanceof Object){z=J.x(a)
-z=typeof a==="object"&&a!==null&&!!z.$isAz||typeof a==="object"&&a!==null&&!!z.$isea||typeof a==="object"&&a!==null&&!!z.$ishF||typeof a==="object"&&a!==null&&!!z.$isSg||typeof a==="object"&&a!==null&&!!z.$isKV||typeof a==="object"&&a!==null&&!!z.$isAS||typeof a==="object"&&a!==null&&!!z.$isK5}else z=!1
-if(z)return a
-else if(a instanceof Date)return P.Wu(a.getMilliseconds(),!1)
-else if(a.constructor===DartObject)return a.o
-else return P.ND(a)}},ND:function(a){if(typeof a=="function")return P.iQ(a,"_$dart_dartClosure",new P.Nz())
-else if(a instanceof Array)return P.iQ(a,"_$dart_dartObject",new P.Jd())
-else return P.iQ(a,"_$dart_dartObject",new P.QS())},iQ:function(a,b,c){var z=a[b]
-if(z==null){z=c.call$1(a)
-P.Dm(a,b,z)}return z},E4:{"":"a;eh",
-t:function(a,b){if(typeof b!=="string"&&typeof b!=="number")throw H.b(new P.AT("property is not a String or num"))
-return P.dU(this.eh[b])},
-u:function(a,b,c){if(typeof b!=="string"&&typeof b!=="number")throw H.b(new P.AT("property is not a String or num"))
-this.eh[b]=P.wY(c)},
-gtU:function(a){return 0},
-n:function(a,b){var z
-if(b==null)return!1
-z=J.x(b)
-return typeof b==="object"&&b!==null&&!!z.$isE4&&this.eh===b.eh},
-bu:function(a){var z,y
-try{z=String(this.eh)
-return z}catch(y){H.Ru(y)
-return P.a.prototype.bu.call(this,this)}},
-V7:function(a,b){var z,y
-z=this.eh
-if(b==null)y=null
-else{b.toString
-y=new H.A8(b,P.En)
-H.VM(y,[null,null])
-y=P.F(y,!0,null)}return P.dU(z[a].apply(z,y))},
-$isE4:true,
-static:{uw:function(a,b){var z,y,x,w
-z=P.wY(a)
-y=[null]
-x=new H.A8(b,P.En)
-H.VM(x,[null,null])
-C.Nm.FV(y,x)
-w=z.bind.apply(z,y)
-String(w)
-return P.ND(new w())},jT:function(a){var z=J.x(a)
-if(!z.$isZ0&&(typeof a!=="object"||a===null||a.constructor!==Array&&!z.$iscX))throw H.b(new P.AT("object must be a Map or Iterable"))
-return P.ND(P.M0(a))},M0:function(a){return new P.Gn(P.UD(null,null)).call$1(a)}}},Gn:{"":"Tp;a",
-call$1:function(a){var z,y,x,w,v
-z=this.a
-if(z.x4(a))return z.t(z,a)
-y=J.x(a)
-if(typeof a==="object"&&a!==null&&!!y.$isZ0){x={}
-z.u(z,a,x)
-for(z=a.gvc(),z=z.gA(z);z.G();){w=z.gl()
-x[w]=this.call$1(y.t(a,w))}return x}else if(typeof a==="object"&&a!==null&&(a.constructor===Array||!!y.$iscX)){v=[]
-z.u(z,a,v)
-C.Nm.FV(v,y.ez(a,this))
-return v}else return P.wY(a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},r7:{"":"E4;eh",static:{bV:function(a){return new P.r7(P.z8(a,!0))}}},Tz:{"":"Wk;eh",
-t:function(a,b){var z
-if(typeof b==="number"&&b===C.CD.yu(b)){if(typeof b==="number"&&Math.floor(b)===b)if(!(b<0)){z=P.E4.prototype.t.call(this,this,"length")
-if(typeof z!=="number")throw H.s(z)
-z=b>=z}else z=!0
-else z=!1
-if(z)H.vh(P.TE(b,0,P.E4.prototype.t.call(this,this,"length")))}return P.E4.prototype.t.call(this,this,b)},
-u:function(a,b,c){var z
-if(typeof b==="number"&&b===C.CD.yu(b)){if(typeof b==="number"&&Math.floor(b)===b)if(!(b<0)){z=P.E4.prototype.t.call(this,this,"length")
-if(typeof z!=="number")throw H.s(z)
-z=b>=z}else z=!0
-else z=!1
-if(z)H.vh(P.TE(b,0,P.E4.prototype.t.call(this,this,"length")))}P.E4.prototype.u.call(this,this,b,c)},
-gB:function(a){return P.E4.prototype.t.call(this,this,"length")},
-$asWO:null,
-$ascX:null},Wk:{"":"E4+lD;",$isList:true,$asWO:null,$isqC:true,$iscX:true,$ascX:null},DV:{"":"Tp;",
-call$1:function(a){var z=P.z8(a,!1)
-P.Dm(z,"_$dart_dartClosure",a)
-return z},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},PC:{"":"Tp;",
-call$1:function(a){return new DartObject(a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},Nz:{"":"Tp;",
-call$1:function(a){return new P.r7(a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},Jd:{"":"Tp;",
-call$1:function(a){var z=new P.Tz(a)
-H.VM(z,[null])
-return z},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},QS:{"":"Tp;",
-call$1:function(a){return new P.E4(a)},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true}}],["dart.typed_data","dart:typed_data",,P,{AS:{"":"Gv;",
-aq:function(a,b,c){var z=J.Wx(b)
-if(z.C(b,0)||z.F(b,c))throw H.b(P.TE(b,0,c))
-else throw H.b(new P.AT("Invalid list index "+H.d(b)))},
-$isAS:true,
-"%":"DataView;ArrayBufferView;xG|Vj|DH|RK|e3|Tk|Th|ZK|KB|z9|na|W9|xGn|Si|VWk|nb|DHb|Vju|u0|fb"},oI:{"":"Vj;",
-gB:function(a){return C.i7(a)},
-t:function(a,b){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-return a[b]},
-u:function(a,b,c){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-a[b]=c},
-$asWO:function(){return[J.VA]},
-$ascX:function(){return[J.VA]},
-$isList:true,
-$isqC:true,
-$iscX:true,
-$isXj:true,
-"%":"Float32Array"},mJ:{"":"RK;",
-gB:function(a){return C.i7(a)},
-t:function(a,b){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-return a[b]},
-u:function(a,b,c){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-a[b]=c},
-$asWO:function(){return[J.VA]},
-$ascX:function(){return[J.VA]},
-$isList:true,
-$isqC:true,
-$iscX:true,
-$isXj:true,
-"%":"Float64Array"},rF:{"":"Tk;",
-gB:function(a){return C.i7(a)},
-t:function(a,b){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-return a[b]},
-u:function(a,b,c){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-a[b]=c},
-$asWO:function(){return[J.im]},
-$ascX:function(){return[J.im]},
-$isList:true,
-$isqC:true,
-$iscX:true,
-$isXj:true,
-"%":"Int16Array"},X6:{"":"ZK;",
-gB:function(a){return C.i7(a)},
-t:function(a,b){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-return a[b]},
-u:function(a,b,c){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-a[b]=c},
-$asWO:function(){return[J.im]},
-$ascX:function(){return[J.im]},
-$isList:true,
-$isqC:true,
-$iscX:true,
-$isXj:true,
-"%":"Int32Array"},ZX:{"":"z9;",
-gB:function(a){return C.i7(a)},
-t:function(a,b){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-return a[b]},
-u:function(a,b,c){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-a[b]=c},
-$asWO:function(){return[J.im]},
-$ascX:function(){return[J.im]},
-$isList:true,
-$isqC:true,
-$iscX:true,
-$isXj:true,
-"%":"Int8Array"},HS:{"":"W9;",
-gB:function(a){return C.i7(a)},
-t:function(a,b){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-return a[b]},
-u:function(a,b,c){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-a[b]=c},
-$asWO:function(){return[J.im]},
-$ascX:function(){return[J.im]},
-$isList:true,
-$isqC:true,
-$iscX:true,
-$isXj:true,
-"%":"Uint16Array"},Pz:{"":"Si;",
-gB:function(a){return C.i7(a)},
-t:function(a,b){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-return a[b]},
-u:function(a,b,c){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-a[b]=c},
-$asWO:function(){return[J.im]},
-$ascX:function(){return[J.im]},
-$isList:true,
-$isqC:true,
-$iscX:true,
-$isXj:true,
-"%":"Uint32Array"},zt:{"":"nb;",
-gB:function(a){return C.i7(a)},
-t:function(a,b){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-return a[b]},
-u:function(a,b,c){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-a[b]=c},
-$asWO:function(){return[J.im]},
-$ascX:function(){return[J.im]},
-$isList:true,
-$isqC:true,
-$iscX:true,
-$isXj:true,
-"%":"CanvasPixelArray|Uint8ClampedArray"},F0:{"":"Vju;",
-gB:function(a){return C.i7(a)},
-t:function(a,b){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-return a[b]},
-u:function(a,b,c){var z=C.i7(a)
-if(b>>>0!=b||J.J5(b,z))this.aq(a,b,z)
-a[b]=c},
-$asWO:function(){return[J.im]},
-$ascX:function(){return[J.im]},
-$isList:true,
-$isqC:true,
-$iscX:true,
-$isXj:true,
-"%":";Uint8Array"},xG:{"":"AS+lD;",$isList:true,$asWO:null,$isqC:true,$iscX:true,$ascX:null},Vj:{"":"xG+SU;",$asWO:null,$ascX:null},DH:{"":"AS+lD;",$isList:true,$asWO:null,$isqC:true,$iscX:true,$ascX:null},RK:{"":"DH+SU;",$asWO:null,$ascX:null},e3:{"":"AS+lD;",$isList:true,$asWO:null,$isqC:true,$iscX:true,$ascX:null},Tk:{"":"e3+SU;",$asWO:null,$ascX:null},Th:{"":"AS+lD;",$isList:true,$asWO:null,$isqC:true,$iscX:true,$ascX:null},ZK:{"":"Th+SU;",$asWO:null,$ascX:null},KB:{"":"AS+lD;",$isList:true,$asWO:null,$isqC:true,$iscX:true,$ascX:null},z9:{"":"KB+SU;",$asWO:null,$ascX:null},na:{"":"AS+lD;",$isList:true,$asWO:null,$isqC:true,$iscX:true,$ascX:null},W9:{"":"na+SU;",$asWO:null,$ascX:null},xGn:{"":"AS+lD;",$isList:true,$asWO:null,$isqC:true,$iscX:true,$ascX:null},Si:{"":"xGn+SU;",$asWO:null,$ascX:null},VWk:{"":"AS+lD;",$isList:true,$asWO:null,$isqC:true,$iscX:true,$ascX:null},nb:{"":"VWk+SU;",$asWO:null,$ascX:null},DHb:{"":"AS+lD;",$isList:true,$asWO:null,$isqC:true,$iscX:true,$ascX:null},Vju:{"":"DHb+SU;",$asWO:null,$ascX:null},u0:{"":"AS;",$isList:true,
-$asWO:function(){return[J.im]},
-$isqC:true,
-$iscX:true,
-$ascX:function(){return[J.im]},
-$isXj:true,
-static:{"":"zi",}},fb:{"":"AS;",$isList:true,
-$asWO:function(){return[J.im]},
-$isqC:true,
-$iscX:true,
-$ascX:function(){return[J.im]},
-$isXj:true,
-static:{"":"H4",}}}],["","file:///Users/shailentuli/Desktop/deploy_dart_js/gauge/web/gauge.dart",,Y,{E2:function(){Y.kB().ml(new Y.em())},Jq:{"":"a;SW,ki,Yh,rn",
-T1:function(){this.ki.V7("setValue",[0,1,this.rn])
-this.Yh.V7("draw",[this.ki,this.SW])},
-Yf:function(a,b,c,d){var z,y
-z=this.rn
-y=J.UQ(J.UQ($.LX(),"google"),"visualization")
-this.ki=y.V7("arrayToDataTable",[P.jT([["Label","Value"],[b,z]])])
-this.Yh=P.uw(J.UQ(y,"Gauge"),[a])
-this.SW=P.jT(d)
-this.T1()},
-static:{xd:function(a,b,c,d){var z=new Y.Jq(null,null,null,c)
-z.Yf(a,b,c,d)
-return z},kB:function(){var z,y
-z=null
-y=new P.Zf(P.Dt(z))
-H.VM(y,[z])
-J.UQ($.LX(),"google").V7("load",["visualization","1",P.jT(H.B7(["packages",["gauge"],"callback",P.bV(y.gv6(y))],P.L5(null,null,null,null,null)))])
-return y.MM}}},em:{"":"Tp;",
-call$1:function(a){var z,y,x
-z=new Y.Um()
-y=Y.xd($.NM(),"Slider",z.call$0(),H.B7(["min",0,"max",280,"yellowFrom",200,"yellowTo",250,"redFrom",250,"redTo",280,"minorTicks",5],P.L5(null,null,null,null,null)))
-x=$.Aj()
-x.toString
-x=new W.Cq(x,C.mt.Ph,!1)
-H.VM(x,[null])
-z=new W.xC(0,x.uv,x.Ph,W.VF(new Y.VW(z,y)),x.Sg)
-H.VM(z,[H.W8(x,"RO",0)])
-z.Zz()},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true},Um:{"":"Tp;",
-call$0:function(){return H.Hp(J.Vm($.Aj()),null,null)},
-"+call:0:0":0,
-$isEH:true},VW:{"":"Tp;a,b",
-call$1:function(a){var z,y
-z=this.b
-y=this.a.call$0()
-z.rn=y
-z.T1()
-return y},
-"+call:1:0":0,
-$isEH:true,
-$is_aB:true}},1],])
-I.$finishClasses($$,$,null)
-$$=null
-init.globalFunctions.NB=H.NB=new H.Wv(H.Mg,"NB")
-init.globalFunctions.Rm=H.Rm=new H.vE(H.vx,"Rm")
-init.globalFunctions.Eu=H.Eu=new H.yh(H.Ju,"Eu")
-init.globalFunctions.eH=H.eH=new H.Cm(H.ft,"eH")
-init.globalFunctions.qZ=P.qZ=new H.yh(P.BG,"qZ")
-init.globalFunctions.QN=P.QN=new H.vE(P.QE,"QN")
-init.globalFunctions.AY=P.AY=new P.zy(P.SZ,"AY")
-init.globalFunctions.v3=P.v3=new H.yh(P.dL,"v3")
-init.globalFunctions.iv=P.iv=new H.Wv(P.Ou,"iv")
-init.globalFunctions.rm=P.rm=new H.vE(P.T9,"rm")
-init.globalFunctions.n0=P.n0=new H.Wv(P.ad,"n0")
-init.globalFunctions.J2=P.J2=new H.vE(P.xv,"J2")
-init.globalFunctions.uu=P.uu=new P.kq(P.R4,"uu")
-init.globalFunctions.En=P.En=new H.vE(P.wY,"En")
-init.globalFunctions.Xl=P.Xl=new H.vE(P.dU,"Xl")
-init.globalFunctions.lS=Y.lS=new H.yh(Y.E2,"lS")
-J.im.$isint=true
-J.im.$isa=true
-J.VA.$isa=true
-J.O.$isString=true
-J.O.$isa=true
-J.P.$isa=true
-P.a6.$isa=true
-W.ea.$isa=true
-P.wv.$iswv=true
-P.wv.$isa=true
-P.rR.$isa=true
-H.IY.$isa=true
-H.aX.$isa=true
-J.Q.$isList=true
-J.Q.$isa=true
-P.mE.$ismE=true
-P.mE.$isa=true
-P.a.$isa=true
-P.EH.$isEH=true
-P.EH.$isa=true
-J.kn.$isbool=true
-J.kn.$isa=true
-P.nP.$isnP=true
-P.nP.$isa=true
-P.b8.$isb8=true
-P.b8.$isa=true
-P.MO.$isMO=true
-P.MO.$isa=true
-J.RE=function(a){if(a==null)return a
-if(typeof a!="object")return a
-if(a instanceof P.a)return a
-return J.ks(a)}
-J.U6=function(a){if(typeof a=="string")return J.O.prototype
-if(a==null)return a
-if(a.constructor==Array)return J.Q.prototype
-if(typeof a!="object")return a
-if(a instanceof P.a)return a
-return J.ks(a)}
-J.Wx=function(a){if(typeof a=="number")return J.P.prototype
-if(a==null)return a
-if(!(a instanceof P.a))return J.is.prototype
-return a}
-J.rY=function(a){if(typeof a=="string")return J.O.prototype
-if(a==null)return a
-if(!(a instanceof P.a))return J.is.prototype
-return a}
-J.w1=function(a){if(a==null)return a
-if(a.constructor==Array)return J.Q.prototype
-if(typeof a!="object")return a
-if(a instanceof P.a)return a
-return J.ks(a)}
-J.x=function(a){if(typeof a=="number"){if(Math.floor(a)==a)return J.im.prototype
-return J.VA.prototype}if(typeof a=="string")return J.O.prototype
-if(a==null)return J.PE.prototype
-if(typeof a=="boolean")return J.kn.prototype
-if(a.constructor==Array)return J.Q.prototype
-if(typeof a!="object")return a
-if(a instanceof P.a)return a
-return J.ks(a)}
-C.Wj=new P.dp()
-C.NU=new P.R8()
-C.RT=new P.a6(0)
-C.mt=new W.I2("change")
-C.Nm=J.Q.prototype
-C.jn=J.im.prototype
-C.CD=J.P.prototype
-C.xB=J.O.prototype
-C.Mc=function(hooks) {
+ if (typeof receiver == "string")
+ return J.JSString.prototype;
+ if (receiver == null)
+ return J.JSNull.prototype;
+ if (typeof receiver == "boolean")
+ return J.JSBool.prototype;
+ if (receiver.constructor == Array)
+ return J.JSArray.prototype;
+ if (typeof receiver != "object")
+ return receiver;
+ if (receiver instanceof P.Object)
+ return receiver;
+ return J.getNativeInterceptor(receiver);
+};
+J.getInterceptor$asx = function(receiver) {
+ if (typeof receiver == "string")
+ return J.JSString.prototype;
+ if (receiver == null)
+ return receiver;
+ if (receiver.constructor == Array)
+ return J.JSArray.prototype;
+ if (typeof receiver != "object")
+ return receiver;
+ if (receiver instanceof P.Object)
+ return receiver;
+ return J.getNativeInterceptor(receiver);
+};
+J.getInterceptor$ax = function(receiver) {
+ if (receiver == null)
+ return receiver;
+ if (receiver.constructor == Array)
+ return J.JSArray.prototype;
+ if (typeof receiver != "object")
+ return receiver;
+ if (receiver instanceof P.Object)
+ return receiver;
+ return J.getNativeInterceptor(receiver);
+};
+J.getInterceptor$n = function(receiver) {
+ if (typeof receiver == "number")
+ return J.JSNumber.prototype;
+ if (receiver == null)
+ return receiver;
+ if (!(receiver instanceof P.Object))
+ return J.UnknownJavaScriptObject.prototype;
+ return receiver;
+};
+J.getInterceptor$s = function(receiver) {
+ if (typeof receiver == "string")
+ return J.JSString.prototype;
+ if (receiver == null)
+ return receiver;
+ if (!(receiver instanceof P.Object))
+ return J.UnknownJavaScriptObject.prototype;
+ return receiver;
+};
+J.getInterceptor$x = function(receiver) {
+ if (receiver == null)
+ return receiver;
+ if (typeof receiver != "object")
+ return receiver;
+ if (receiver instanceof P.Object)
+ return receiver;
+ return J.getNativeInterceptor(receiver);
+};
+C.C__DelayedDone = new P._DelayedDone();
+C.C__RootZone = new P._RootZone();
+C.Duration_0 = new P.Duration(0);
+C.EventStreamProvider_change = new W.EventStreamProvider("change");
+C.JSArray_methods = J.JSArray.prototype;
+C.JSInt_methods = J.JSInt.prototype;
+C.JSNumber_methods = J.JSNumber.prototype;
+C.JSString_methods = J.JSString.prototype;
+C.JS_CONST_0 = function(hooks) {
if (typeof dartExperimentalFixupGetTag != "function") return hooks;
hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);
-}
-C.dE=function(hooks) {
+};
+C.JS_CONST_6qb = function(hooks) {
var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
if (userAgent.indexOf("Firefox") == -1) return hooks;
var getTag = hooks.getTag;
@@ -3120,8 +7028,8 @@ C.dE=function(hooks) {
return quickMap[tag] || tag;
}
hooks.getTag = getTagFirefox;
-}
-C.Mo=function getTagFallback(o) {
+};
+C.JS_CONST_86y = function getTagFallback(o) {
if (o == null) return "Null";
var constructor = o.constructor;
if (typeof constructor == "function") {
@@ -3137,8 +7045,8 @@ C.Mo=function getTagFallback(o) {
}
var s = Object.prototype.toString.call(o);
return s.substring(8, s.length - 1);
-}
-C.dK=function(getTagFallback) {
+};
+C.JS_CONST_Cbr = function(getTagFallback) {
return function(hooks) {
if (typeof navigator != "object") return hooks;
var userAgent = navigator.userAgent;
@@ -3148,10 +7056,10 @@ C.dK=function(getTagFallback) {
}
hooks.getTag = getTagFallback;
};
-}
-C.XQ=function(hooks) { return hooks; }
-
-C.HX=function() {
+};
+C.JS_CONST_Fs4 = function(hooks) { return hooks; }
+;
+C.JS_CONST_TtD = function() {
function typeNameInChrome(obj) { return obj.constructor.name; }
function getUnknownTag(object, tag) {
if (/^HTML[A-Z].*Element$/.test(tag)) {
@@ -3178,14 +7086,14 @@ C.HX=function() {
getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
prototypeForTag: prototypeForTag,
discriminator: discriminator };
-}
-C.i7= ((typeof version == "function" && typeof os == "object" && "system" in os)
+};
+C.JS_CONST_ZYJ = ((typeof version == "function" && typeof os == "object" && "system" in os)
|| (typeof navigator == "object"
&& navigator.userAgent.indexOf('Chrome') != -1))
? function(x) { return x.$dartCachedLength || x.length; }
: function(x) { return x.length; };
-
-C.Px=function(hooks) {
+;
+C.JS_CONST_rD3 = function(hooks) {
var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
if (userAgent.indexOf("Trident/") == -1) return hooks;
var getTag = hooks.getTag;
@@ -3218,120 +7126,220 @@ C.Px=function(hooks) {
}
hooks.getTag = getTagIE;
hooks.prototypeForTag = prototypeForTagIE;
-}
-I.makeConstantList = function(list) {
+};
+Isolate.makeConstantList = function(list) {
list.immutable$list = true;
list.fixed$length = true;
return list;
};
-C.xD=I.makeConstantList([])
-C.Ka=new H.GD("call")
-C.WI=H.Kx('fb')
-C.pU=H.Kx('u0')
-C.vB=J.is.prototype
-$.Dz=null
-$.b9=1
-$.te="$cachedFunction"
-$.eb="$cachedInvocation"
-$.NF=null
-$.TX=null
-$.x7=null
-$.nw=null
-$.vv=null
-$.Bv=null
-$.oK=null
-$.TH=!1
-$.X3=C.NU
-$.Ss=0
-$.L4=null
-$.PN=null
-J.AG=function(a){return J.x(a).bu(a)}
-J.C0=function(a,b){return J.w1(a).ez(a,b)}
-J.Dk=function(a){return J.x(a).gtU(a)}
-J.GJ=function(a,b,c,d){return J.RE(a).Y9(a,b,c,d)}
-J.GP=function(a){return J.w1(a).gA(a)}
-J.J5=function(a,b){if(typeof a=="number"&&typeof b=="number")return a>=b
-return J.Wx(a).F(a,b)}
-J.Me=function(a,b){return J.w1(a).aN(a,b)}
-J.UQ=function(a,b){if(a.constructor==Array||typeof a=="string"||H.wV(a,a[init.dispatchPropertyName]))if(b>>>0===b&&b<a.length)return a[b]
-return J.U6(a).t(a,b)}
-J.Vm=function(a){return J.RE(a).gP(a)}
-J.c1=function(a,b){return J.Wx(a).O(a,b)}
-J.de=function(a,b){if(a==null)return b==null
-if(typeof a!="object")return b!=null&&a===b
-return J.x(a).n(a,b)}
-J.i4=function(a,b){return J.w1(a).Zv(a,b)}
-J.jf=function(a,b){return J.x(a).T(a,b)}
-J.kW=function(a,b,c){if((a.constructor==Array||H.wV(a,a[init.dispatchPropertyName]))&&!a.immutable$list&&b>>>0===b&&b<a.length)return a[b]=c
-return J.w1(a).u(a,b,c)}
-J.q8=function(a){return J.U6(a).gB(a)}
-J.qV=function(a,b,c,d){return J.RE(a).On(a,b,c,d)}
-J.w8=function(a){return J.RE(a).gkc(a)}
-J.xZ=function(a,b){if(typeof a=="number"&&typeof b=="number")return a>b
-return J.Wx(a).D(a,b)}
-I.$lazy($,"globalThis","DX","jk",function(){return function() { return this; }()})
-I.$lazy($,"globalWindow","cO","C5",function(){return $.jk().window})
-I.$lazy($,"globalWorker","zA","Nl",function(){return $.jk().Worker})
-I.$lazy($,"globalPostMessageDefined","Wd","Iz",function(){return $.jk().postMessage!==void 0})
-I.$lazy($,"thisScript","Kb","Rs",function(){return H.Td()})
-I.$lazy($,"workerIds","rS","p6",function(){return new P.kM(null)})
-I.$lazy($,"noSuchMethodPattern","lm","WD",function(){return H.cM(H.S7({ toString: function() { return "$receiver$"; } }))})
-I.$lazy($,"notClosurePattern","k1","OI",function(){return H.cM(H.S7({ $method$: null, toString: function() { return "$receiver$"; } }))})
-I.$lazy($,"nullCallPattern","Re","PH",function(){return H.cM(H.S7(null))})
-I.$lazy($,"nullLiteralCallPattern","fN","D1",function(){return H.cM(H.pb())})
-I.$lazy($,"undefinedCallPattern","qi","rx",function(){return H.cM(H.S7(void 0))})
-I.$lazy($,"undefinedLiteralCallPattern","rZ","Kr",function(){return H.cM(H.u9())})
-I.$lazy($,"nullPropertyPattern","BX","zO",function(){return H.cM(H.Mj(null))})
-I.$lazy($,"nullLiteralPropertyPattern","tt","Bi",function(){return H.cM(H.Qd())})
-I.$lazy($,"undefinedPropertyPattern","dt","eA",function(){return H.cM(H.Mj(void 0))})
-I.$lazy($,"undefinedLiteralPropertyPattern","A7","ko",function(){return H.cM(H.m0())})
-I.$lazy($,"_toStringList","Ml","RM",function(){return P.A(null,null)})
-I.$lazy($,"_asyncCallbacks","r1","P8",function(){return P.NZ(null,{func:"X0",void:true})})
-I.$lazy($,"_toStringVisiting","xg","xb",function(){return P.zM(null)})
-I.$lazy($,"_toStringList","yu","tw",function(){return P.A(null,null)})
-I.$lazy($,"context","eo","LX",function(){return P.ND(function() { return this; }())})
-I.$lazy($,"visualization","dB","NM",function(){return document.querySelector("#gauge")})
-I.$lazy($,"slider","kH","Aj",function(){return document.querySelector("#slider")})
-
-init.functionAliases={}
-init.metadata=[,];$=null
-I = I.$finishIsolateConstructor(I)
-$=new I()
+C.List_empty = Isolate.makeConstantList([]);
+C.Symbol_call = new H.Symbol0("call");
+C.Type_oqh = H.createRuntimeType('Uint64List');
+C.Type_qxd = H.createRuntimeType('Int64List');
+C.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;
+$.lazyPort = null;
+$.ReceivePortImpl__nextFreeId = 1;
+$.Primitives_mirrorFunctionCacheName = "$cachedFunction";
+$.Primitives_mirrorInvokeCacheName = "$cachedInvocation";
+$.getTagFunction = null;
+$.alternateTagFunction = null;
+$.prototypeForTagFunction = null;
+$.dispatchRecordsForInstanceTags = null;
+$.interceptorsForUncacheableTags = null;
+$.initNativeDispatchFlag = null;
+$.printToZone = null;
+$._callbacksAreEnqueued = false;
+$.Zone__current = C.C__RootZone;
+$.Expando__keyCount = 0;
+$.Device__isOpera = null;
+$.Device__isWebKit = null;
+J.$eq = function(receiver, a0) {
+ if (receiver == null)
+ return a0 == null;
+ if (typeof receiver != "object")
+ return a0 != null && receiver === a0;
+ return J.getInterceptor(receiver).$eq(receiver, a0);
+};
+J.$ge$n = function(receiver, a0) {
+ if (typeof receiver == "number" && typeof a0 == "number")
+ return receiver >= a0;
+ return J.getInterceptor$n(receiver).$ge(receiver, a0);
+};
+J.$gt$n = function(receiver, a0) {
+ if (typeof receiver == "number" && typeof a0 == "number")
+ return receiver > a0;
+ return J.getInterceptor$n(receiver).$gt(receiver, a0);
+};
+J.$index$asx = function(receiver, a0) {
+ if (receiver.constructor == Array || typeof receiver == "string" || H.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))
+ if (a0 >>> 0 === a0 && a0 < receiver.length)
+ return receiver[a0];
+ return J.getInterceptor$asx(receiver).$index(receiver, a0);
+};
+J.$indexSet$ax = function(receiver, a0, a1) {
+ if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length)
+ return receiver[a0] = a1;
+ return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
+};
+J.$shl$n = function(receiver, a0) {
+ return J.getInterceptor$n(receiver).$shl(receiver, a0);
+};
+J.addEventListener$3$x = function(receiver, a0, a1, a2) {
+ return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2);
+};
+J.elementAt$1$ax = function(receiver, a0) {
+ return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0);
+};
+J.forEach$1$ax = function(receiver, a0) {
+ return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
+};
+J.get$error$x = function(receiver) {
+ return J.getInterceptor$x(receiver).get$error(receiver);
+};
+J.get$hashCode$ = function(receiver) {
+ return J.getInterceptor(receiver).get$hashCode(receiver);
+};
+J.get$iterator$ax = function(receiver) {
+ return J.getInterceptor$ax(receiver).get$iterator(receiver);
+};
+J.get$length$asx = function(receiver) {
+ return J.getInterceptor$asx(receiver).get$length(receiver);
+};
+J.get$value$x = function(receiver) {
+ return J.getInterceptor$x(receiver).get$value(receiver);
+};
+J.map$1$ax = function(receiver, a0) {
+ return J.getInterceptor$ax(receiver).map$1(receiver, a0);
+};
+J.noSuchMethod$1 = function(receiver, a0) {
+ return J.getInterceptor(receiver).noSuchMethod$1(receiver, a0);
+};
+J.removeEventListener$3$x = function(receiver, a0, a1, a2) {
+ return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2);
+};
+J.toString$0 = function(receiver) {
+ return J.getInterceptor(receiver).toString$0(receiver);
+};
+Isolate.$lazy($, "globalThis", "globalThis", "get$globalThis", function() {
+ return function() { return this; }();
+});
+Isolate.$lazy($, "globalWindow", "globalWindow", "get$globalWindow", function() {
+ return $.get$globalThis().window;
+});
+Isolate.$lazy($, "globalWorker", "globalWorker", "get$globalWorker", function() {
+ return $.get$globalThis().Worker;
+});
+Isolate.$lazy($, "globalPostMessageDefined", "globalPostMessageDefined", "get$globalPostMessageDefined", function() {
+ return $.get$globalThis().postMessage !== void 0;
+});
+Isolate.$lazy($, "thisScript", "IsolateNatives_thisScript", "get$IsolateNatives_thisScript", function() {
+ return H.IsolateNatives_computeThisScript();
+});
+Isolate.$lazy($, "workerIds", "IsolateNatives_workerIds", "get$IsolateNatives_workerIds", function() {
+ return new P.Expando(null);
+});
+Isolate.$lazy($, "noSuchMethodPattern", "TypeErrorDecoder_noSuchMethodPattern", "get$TypeErrorDecoder_noSuchMethodPattern", function() {
+ return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn({ toString: function() { return "$receiver$"; } }));
+});
+Isolate.$lazy($, "notClosurePattern", "TypeErrorDecoder_notClosurePattern", "get$TypeErrorDecoder_notClosurePattern", function() {
+ return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn({ $method$: null, toString: function() { return "$receiver$"; } }));
+});
+Isolate.$lazy($, "nullCallPattern", "TypeErrorDecoder_nullCallPattern", "get$TypeErrorDecoder_nullCallPattern", function() {
+ return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn(null));
+});
+Isolate.$lazy($, "nullLiteralCallPattern", "TypeErrorDecoder_nullLiteralCallPattern", "get$TypeErrorDecoder_nullLiteralCallPattern", function() {
+ return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOnNull());
+});
+Isolate.$lazy($, "undefinedCallPattern", "TypeErrorDecoder_undefinedCallPattern", "get$TypeErrorDecoder_undefinedCallPattern", function() {
+ return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOn(void 0));
+});
+Isolate.$lazy($, "undefinedLiteralCallPattern", "TypeErrorDecoder_undefinedLiteralCallPattern", "get$TypeErrorDecoder_undefinedLiteralCallPattern", function() {
+ return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokeCallErrorOnUndefined());
+});
+Isolate.$lazy($, "nullPropertyPattern", "TypeErrorDecoder_nullPropertyPattern", "get$TypeErrorDecoder_nullPropertyPattern", function() {
+ return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOn(null));
+});
+Isolate.$lazy($, "nullLiteralPropertyPattern", "TypeErrorDecoder_nullLiteralPropertyPattern", "get$TypeErrorDecoder_nullLiteralPropertyPattern", function() {
+ return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOnNull());
+});
+Isolate.$lazy($, "undefinedPropertyPattern", "TypeErrorDecoder_undefinedPropertyPattern", "get$TypeErrorDecoder_undefinedPropertyPattern", function() {
+ return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOn(void 0));
+});
+Isolate.$lazy($, "undefinedLiteralPropertyPattern", "TypeErrorDecoder_undefinedLiteralPropertyPattern", "get$TypeErrorDecoder_undefinedLiteralPropertyPattern", function() {
+ return H.TypeErrorDecoder_extractPattern(H.TypeErrorDecoder_provokePropertyErrorOnUndefined());
+});
+Isolate.$lazy($, "_toStringList", "IterableMixinWorkaround__toStringList", "get$IterableMixinWorkaround__toStringList", function() {
+ return P.List_List(null, null);
+});
+Isolate.$lazy($, "_asyncCallbacks", "_asyncCallbacks", "get$_asyncCallbacks", function() {
+ return P.ListQueue$(null, {func: "void_", void: true});
+});
+Isolate.$lazy($, "_toStringVisiting", "_toStringVisiting", "get$_toStringVisiting", function() {
+ return P.HashSet_HashSet$identity(null);
+});
+Isolate.$lazy($, "_toStringList", "Maps__toStringList", "get$Maps__toStringList", function() {
+ return P.List_List(null, null);
+});
+Isolate.$lazy($, "context", "context", "get$context", function() {
+ return P._wrapToDart(function() { return this; }());
+});
+Isolate.$lazy($, "visualization", "visualization", "get$visualization", function() {
+ return document.querySelector("#gauge");
+});
+Isolate.$lazy($, "slider", "slider", "get$slider", function() {
+ return document.querySelector("#slider");
+});
+// Native classes
+
+init.functionAliases = {};
+;
+init.metadata = [,
+];
+$ = null;
+Isolate = Isolate.$finishIsolateConstructor(Isolate);
+$ = new Isolate();
function convertToFastObject(properties) {
function MyClass() {};
MyClass.prototype = properties;
new MyClass();
return properties;
}
-A = convertToFastObject(A)
-B = convertToFastObject(B)
-C = convertToFastObject(C)
-D = convertToFastObject(D)
-E = convertToFastObject(E)
-F = convertToFastObject(F)
-G = convertToFastObject(G)
-H = convertToFastObject(H)
-J = convertToFastObject(J)
-K = convertToFastObject(K)
-L = convertToFastObject(L)
-M = convertToFastObject(M)
-N = convertToFastObject(N)
-O = convertToFastObject(O)
-P = convertToFastObject(P)
-Q = convertToFastObject(Q)
-R = convertToFastObject(R)
-S = convertToFastObject(S)
-T = convertToFastObject(T)
-U = convertToFastObject(U)
-V = convertToFastObject(V)
-W = convertToFastObject(W)
-X = convertToFastObject(X)
-Y = convertToFastObject(Y)
-Z = convertToFastObject(Z)
-!function(){var z=Object.prototype
-for(var y=0;;y++){var x="___dart_dispatch_record_ZxYxX_0_"
-if(y>0)x=rootProperty+"_"+y
-if(!(x in z))return init.dispatchPropertyName=x}}()
+A = convertToFastObject(A);
+B = convertToFastObject(B);
+C = convertToFastObject(C);
+D = convertToFastObject(D);
+E = convertToFastObject(E);
+F = convertToFastObject(F);
+G = convertToFastObject(G);
+H = convertToFastObject(H);
+J = convertToFastObject(J);
+K = convertToFastObject(K);
+L = convertToFastObject(L);
+M = convertToFastObject(M);
+N = convertToFastObject(N);
+O = convertToFastObject(O);
+P = convertToFastObject(P);
+Q = convertToFastObject(Q);
+R = convertToFastObject(R);
+S = convertToFastObject(S);
+T = convertToFastObject(T);
+U = convertToFastObject(U);
+V = convertToFastObject(V);
+W = convertToFastObject(W);
+X = convertToFastObject(X);
+Y = convertToFastObject(Y);
+Z = convertToFastObject(Z);
+!function() {
+ var objectProto = Object.prototype;
+ for (var i = 0;; i++) {
+ var property = "___dart_dispatch_record_ZxYxX_0_";
+ if (i > 0)
+ property = rootProperty + "_" + i;
+ if (!(property in objectProto))
+ return init.dispatchPropertyName = property;
+ }
+}();
+// BEGIN invoke [main].
;(function (callback) {
if (typeof document === "undefined") {
callback(null);
@@ -3356,120 +7364,260 @@ if(!(x in z))return init.dispatchPropertyName=x}}()
init.currentScript = currentScript;
if (typeof dartMainRunner === "function") {
- dartMainRunner(function() { H.Rq(Y.lS); });
+ dartMainRunner(function() { H.startRootIsolate(Y.main$closure); });
} else {
- H.Rq(Y.lS);
- }
-})
-function init(){I.p={}
-function generateAccessor(a,b,c){var y=a.length
-var x=a.charCodeAt(y-1)
-var w=false
-if(x==45){y--
-x=a.charCodeAt(y-1)
-a=a.substring(0,y)
-w=true}x=x>=60&&x<=64?x-59:x>=123&&x<=126?x-117:x>=37&&x<=43?x-27:0
-if(x){var v=x&3
-var u=x>>2
-var t=a=a.substring(0,y-1)
-var s=a.indexOf(":")
-if(s>0){t=a.substring(0,s)
-a=a.substring(s+1)}if(v){var r=v&2?"r":""
-var q=v&1?"this":"r"
-var p="return "+q+"."+a
-var o=c+".prototype.g"+t+"="
-var n="function("+r+"){"+p+"}"
-if(w)b.push(o+"$reflectable("+n+");\n")
-else b.push(o+n+";\n")}if(u){var r=u&2?"r,v":"v"
-var q=u&1?"this":"r"
-var p=q+"."+a+"=v"
-var o=c+".prototype.s"+t+"="
-var n="function("+r+"){"+p+"}"
-if(w)b.push(o+"$reflectable("+n+");\n")
-else b.push(o+n+";\n")}}return a}I.p.$generateAccessor=generateAccessor
-function defineClass(a,b,c){var y=[]
-var x="function "+b+"("
-var w=""
-for(var v=0;v<c.length;v++){if(v!=0)x+=", "
-var u=generateAccessor(c[v],y,b)
-var t="parameter_"+u
-x+=t
-w+="this."+u+" = "+t+";\n"}x+=") {\n"+w+"}\n"
-x+=b+".builtin$cls=\""+a+"\";\n"
-x+="$desc=$collectedClasses."+b+";\n"
-x+="if($desc instanceof Array) $desc = $desc[1];\n"
-x+=b+".prototype = $desc;\n"
-if(typeof defineClass.name!="string"){x+=b+".name=\""+b+"\";\n"}x+=y.join("")
-return x}var z=function(){function tmp(){}var y=Object.prototype.hasOwnProperty
-return function(a,b){tmp.prototype=b.prototype
-var x=new tmp()
-var w=a.prototype
-for(var v in w)if(y.call(w,v))x[v]=w[v]
-x.constructor=a
-a.prototype=x
-return x}}()
-I.$finishClasses=function(a,b,c){var y={}
-if(!init.allClasses)init.allClasses={}
-var x=init.allClasses
-var w=Object.prototype.hasOwnProperty
-if(typeof dart_precompiled=="function"){var v=dart_precompiled(a)}else{var u="function $reflectable(fn){fn.$reflectable=1;return fn};\n"+"var $desc;\n"
-var t=[]}for(var s in a){if(w.call(a,s)){var r=a[s]
-if(r instanceof Array)r=r[1]
-var q=r[""],p,o=s,n=q
-if(typeof q=="string"){var m=q.split("/")
-if(m.length==2){o=m[0]
-n=m[1]}}var l=n.split(";")
-n=l[1]==""?[]:l[1].split(",")
-p=l[0]
-if(p&&p.indexOf("+")>0){l=p.split("+")
-p=l[0]
-var k=a[l[1]]
-if(k instanceof Array)k=k[1]
-for(var j in k){if(w.call(k,j)&&!w.call(r,j))r[j]=k[j]}}if(typeof dart_precompiled!="function"){u+=defineClass(o,s,n)
-t.push(s)}if(p)y[s]=p}}if(typeof dart_precompiled!="function"){u+="return [\n "+t.join(",\n ")+"\n]"
-var v=new Function("$collectedClasses",u)(a)
-u=null}for(var i=0;i<v.length;i++){var h=v[i]
-var s=h.name
-var r=a[s]
-var g=b
-if(r instanceof Array){g=r[0]||b
-r=r[1]}x[s]=h
-g[s]=h}v=null
-var f={}
-init.interceptorsByTag=Object.create(null)
-init.leafTags={}
-function finishClass(a8){var e=Object.prototype.hasOwnProperty
-if(e.call(f,a8))return
-f[a8]=true
-var d=y[a8]
-if(!d||typeof d!="string")return
-finishClass(d)
-var a0=x[a8]
-var a1=x[d]
-if(!a1)a1=c[d]
-var a2=z(a0,a1)
-if(e.call(a2,"%")){var a3=a2["%"].split(";")
-if(a3[0]){var a4=a3[0].split("|")
-for(var a5=0;a5<a4.length;a5++){init.interceptorsByTag[a4[a5]]=a0
-init.leafTags[a4[a5]]=true}}if(a3[1]){a4=a3[1].split("|")
-if(a3[2]){var a6=a3[2].split("|")
-for(var a5=0;a5<a6.length;a5++){var a7=x[a6[a5]]
-a7.$nativeSuperclassTag=a4[0]}}for(a5=0;a5<a4.length;a5++){init.interceptorsByTag[a4[a5]]=a0
-init.leafTags[a4[a5]]=false}}}}for(var s in y)finishClass(s)}
-I.$lazy=function(a,b,c,d,e){var y={}
-var x={}
-a[c]=y
-a[d]=function(){var w=$[c]
-try{if(w===y){$[c]=x
-try{w=$[c]=e()}finally{if(w===y){if($[c]===x){$[c]=null}}}}else{if(w===x)H.ag(b)}return w}finally{$[d]=function(){return this[c]}}}}
-I.$finishIsolateConstructor=function(a){var y=a.p
-function Isolate(){var x=Object.prototype.hasOwnProperty
-for(var w in y)if(x.call(y,w))this[w]=y[w]
-function ForceEfficientMap(){}ForceEfficientMap.prototype=this
-new ForceEfficientMap()}Isolate.prototype=a.prototype
-Isolate.prototype.constructor=Isolate
-Isolate.p=y
-Isolate.$finishClasses=a.$finishClasses
-Isolate.makeConstantList=a.makeConstantList
-return Isolate}}
+ H.startRootIsolate(Y.main$closure);
+ }
+});
+// END invoke [main].
+function init() {
+ Isolate.$isolateProperties = {};
+ function generateAccessor(field, accessors, cls) {
+ var len = field.length;
+ var code = field.charCodeAt(len - 1);
+ var reflectable = false;
+ if (code == 45) {
+ len--;
+ code = field.charCodeAt(len - 1);
+ field = field.substring(0, len);
+ reflectable = true;
+ }
+ code = code >= 60 && code <= 64 ? code - 59 : code >= 123 && code <= 126 ? code - 117 : code >= 37 && code <= 43 ? code - 27 : 0;
+ if (code) {
+ var getterCode = code & 3;
+ var setterCode = code >> 2;
+ var accessorName = field = field.substring(0, len - 1);
+ var divider = field.indexOf(":");
+ if (divider > 0) {
+ accessorName = field.substring(0, divider);
+ field = field.substring(divider + 1);
+ }
+ if (getterCode) {
+ var args = getterCode & 2 ? "receiver" : "";
+ var receiver = getterCode & 1 ? "this" : "receiver";
+ var body = "return " + receiver + "." + field;
+ var property = cls + ".prototype.get$" + accessorName + "=";
+ var fn = "function(" + args + "){" + body + "}";
+ if (reflectable)
+ accessors.push(property + "$reflectable(" + fn + ");\n");
+ else
+ accessors.push(property + fn + ";\n");
+ }
+ if (setterCode) {
+ var args = setterCode & 2 ? "receiver, value" : "value";
+ var receiver = setterCode & 1 ? "this" : "receiver";
+ var body = receiver + "." + field + " = value";
+ var property = cls + ".prototype.set$" + accessorName + "=";
+ var fn = "function(" + args + "){" + body + "}";
+ if (reflectable)
+ accessors.push(property + "$reflectable(" + fn + ");\n");
+ else
+ accessors.push(property + fn + ";\n");
+ }
+ }
+ return field;
+ }
+ Isolate.$isolateProperties.$generateAccessor = generateAccessor;
+ function defineClass(name, cls, fields) {
+ var accessors = [];
+ var str = "function " + cls + "(";
+ var body = "";
+ for (var i = 0; i < fields.length; i++) {
+ if (i != 0)
+ str += ", ";
+ var field = generateAccessor(fields[i], accessors, cls);
+ var parameter = "parameter_" + field;
+ str += parameter;
+ body += "this." + field + " = " + parameter + ";\n";
+ }
+ str += ") {\n" + body + "}\n";
+ str += cls + ".builtin$cls=\"" + name + "\";\n";
+ str += "$desc=$collectedClasses." + cls + ";\n";
+ str += "if($desc instanceof Array) $desc = $desc[1];\n";
+ str += cls + ".prototype = $desc;\n";
+ if (typeof defineClass.name != "string") {
+ str += cls + ".name=\"" + cls + "\";\n";
+ }
+ str += accessors.join("");
+ return str;
+ }
+ var inheritFrom = function() {
+ function tmp() {
+ }
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
+ return function(constructor, superConstructor) {
+ tmp.prototype = superConstructor.prototype;
+ var object = new tmp();
+ var properties = constructor.prototype;
+ for (var member in properties)
+ if (hasOwnProperty.call(properties, member))
+ object[member] = properties[member];
+ object.constructor = constructor;
+ constructor.prototype = object;
+ return object;
+ };
+ }();
+ Isolate.$finishClasses = function(collectedClasses, isolateProperties, existingIsolateProperties) {
+ var pendingClasses = {};
+ if (!init.allClasses)
+ init.allClasses = {};
+ var allClasses = init.allClasses;
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
+ if (typeof dart_precompiled == "function") {
+ var constructors = dart_precompiled(collectedClasses);
+ } else {
+ var combinedConstructorFunction = "function $reflectable(fn){fn.$reflectable=1;return fn};\n" + "var $desc;\n";
+ var constructorsList = [];
+ }
+ for (var cls in collectedClasses) {
+ if (hasOwnProperty.call(collectedClasses, cls)) {
+ var desc = collectedClasses[cls];
+ if (desc instanceof Array)
+ desc = desc[1];
+ var classData = desc[""], supr, name = cls, fields = classData;
+ if (typeof classData == "string") {
+ var split = classData.split("/");
+ if (split.length == 2) {
+ name = split[0];
+ fields = split[1];
+ }
+ }
+ var s = fields.split(";");
+ fields = s[1] == "" ? [] : s[1].split(",");
+ supr = s[0];
+ if (supr && supr.indexOf("+") > 0) {
+ s = supr.split("+");
+ supr = s[0];
+ var mixin = collectedClasses[s[1]];
+ if (mixin instanceof Array)
+ mixin = mixin[1];
+ for (var d in mixin) {
+ if (hasOwnProperty.call(mixin, d) && !hasOwnProperty.call(desc, d))
+ desc[d] = mixin[d];
+ }
+ }
+ if (typeof dart_precompiled != "function") {
+ combinedConstructorFunction += defineClass(name, cls, fields);
+ constructorsList.push(cls);
+ }
+ if (supr)
+ pendingClasses[cls] = supr;
+ }
+ }
+ if (typeof dart_precompiled != "function") {
+ combinedConstructorFunction += "return [\n " + constructorsList.join(",\n ") + "\n]";
+ var constructors = new Function("$collectedClasses", combinedConstructorFunction)(collectedClasses);
+ combinedConstructorFunction = null;
+ }
+ for (var i = 0; i < constructors.length; i++) {
+ var constructor = constructors[i];
+ var cls = constructor.name;
+ var desc = collectedClasses[cls];
+ var globalObject = isolateProperties;
+ if (desc instanceof Array) {
+ globalObject = desc[0] || isolateProperties;
+ desc = desc[1];
+ }
+ allClasses[cls] = constructor;
+ globalObject[cls] = constructor;
+ }
+ constructors = null;
+ var finishedClasses = {};
+ init.interceptorsByTag = Object.create(null);
+ init.leafTags = {};
+ function finishClass(cls) {
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
+ if (hasOwnProperty.call(finishedClasses, cls))
+ return;
+ finishedClasses[cls] = true;
+ var superclass = pendingClasses[cls];
+ if (!superclass || typeof superclass != "string")
+ return;
+ finishClass(superclass);
+ var constructor = allClasses[cls];
+ var superConstructor = allClasses[superclass];
+ if (!superConstructor)
+ superConstructor = existingIsolateProperties[superclass];
+ var prototype = inheritFrom(constructor, superConstructor);
+ if (hasOwnProperty.call(prototype, "%")) {
+ var nativeSpec = prototype["%"].split(";");
+ if (nativeSpec[0]) {
+ var tags = nativeSpec[0].split("|");
+ for (var i = 0; i < tags.length; i++) {
+ init.interceptorsByTag[tags[i]] = constructor;
+ init.leafTags[tags[i]] = true;
+ }
+ }
+ if (nativeSpec[1]) {
+ tags = nativeSpec[1].split("|");
+ if (nativeSpec[2]) {
+ var subclasses = nativeSpec[2].split("|");
+ for (var i = 0; i < subclasses.length; i++) {
+ var subclass = allClasses[subclasses[i]];
+ subclass.$nativeSuperclassTag = tags[0];
+ }
+ }
+ for (i = 0; i < tags.length; i++) {
+ init.interceptorsByTag[tags[i]] = constructor;
+ init.leafTags[tags[i]] = false;
+ }
+ }
+ }
+ }
+ for (var cls in pendingClasses)
+ finishClass(cls);
+ };
+ Isolate.$lazy = function(prototype, staticName, fieldName, getterName, lazyValue) {
+ var sentinelUndefined = {};
+ var sentinelInProgress = {};
+ prototype[fieldName] = sentinelUndefined;
+ prototype[getterName] = function() {
+ var result = $[fieldName];
+ try {
+ if (result === sentinelUndefined) {
+ $[fieldName] = sentinelInProgress;
+ try {
+ result = $[fieldName] = lazyValue();
+ } finally {
+ if (result === sentinelUndefined) {
+ if ($[fieldName] === sentinelInProgress) {
+ $[fieldName] = null;
+ }
+ }
+ }
+ } else {
+ if (result === sentinelInProgress)
+ H.throwCyclicInit(staticName);
+ }
+ return result;
+ } finally {
+ $[getterName] = function() {
+ return this[fieldName];
+ };
+ }
+ };
+ };
+ Isolate.$finishIsolateConstructor = function(oldIsolate) {
+ var isolateProperties = oldIsolate.$isolateProperties;
+ function Isolate() {
+ var hasOwnProperty = Object.prototype.hasOwnProperty;
+ for (var staticName in isolateProperties)
+ if (hasOwnProperty.call(isolateProperties, staticName))
+ this[staticName] = isolateProperties[staticName];
+ function ForceEfficientMap() {
+ }
+ ForceEfficientMap.prototype = this;
+ new ForceEfficientMap();
+ }
+ Isolate.prototype = oldIsolate.prototype;
+ Isolate.prototype.constructor = Isolate;
+ Isolate.$isolateProperties = isolateProperties;
+ Isolate.$finishClasses = oldIsolate.$finishClasses;
+ Isolate.makeConstantList = oldIsolate.makeConstantList;
+ return Isolate;
+ };
+}
})()
+
+//# sourceMappingURL=gauge.dart.js.map
+//@ sourceMappingURL=gauge.dart.js.map
« no previous file with comments | « src/site/samples/gauge/example/gauge.html ('k') | src/site/samples/gauge/example/gauge.dart.js.deps » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698