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

Unified Diff: src/site/samples/multi_touch/example/out.precompiled.js

Issue 1387723002: Updating the samples page to reflect the examples that have been retired. (Closed) Base URL: https://github.com/dart-lang/www.dartlang.org.git@master
Patch Set: Created 5 years, 2 months 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
Index: src/site/samples/multi_touch/example/out.precompiled.js
diff --git a/src/site/samples/multi_touch/example/out.precompiled.js b/src/site/samples/multi_touch/example/out.precompiled.js
deleted file mode 100644
index 81881f2958dec2601d229674af10bbc9c85f90d8..0000000000000000000000000000000000000000
--- a/src/site/samples/multi_touch/example/out.precompiled.js
+++ /dev/null
@@ -1,10802 +0,0 @@
-// Generated by dart2js, the Dart to JavaScript compiler.
-// 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$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);
- },
- $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);
- }
-}];
-
-$$.Closure$2 = [H, {"": "Closure;call$2,$name", $is_args2: true}];
-
-$$.Closure$0 = [H, {"": "Closure;call$0,$name"}];
-
-$$.Closure$7 = [H, {"": "Closure;call$7,$name"}];
-
-$$.Closure$1 = [P, {"": "Closure;call$1,$name", $is_args1: true}];
-
-$$.Closure$20 = [P, {"": "Closure;call$2,$name",
- call$1: function(p0) {
- return this.call$2(p0, null);
- },
- $is_args2: true,
- $is_args1: true
-}];
-
-(function (reflectionData) {
- function map(x){x={x:x};delete x.x;return x}
- if (!init.libraries) init.libraries = [];
- if (!init.mangledNames) init.mangledNames = map();
- if (!init.mangledGlobalNames) init.mangledGlobalNames = map();
- if (!init.statics) init.statics = map();
- if (!init.typeInformation) init.typeInformation = map();
- if (!init.globalFunctions) init.globalFunctions = map();
- var libraries = init.libraries;
- var mangledNames = init.mangledNames;
- var mangledGlobalNames = init.mangledGlobalNames;
- var hasOwnProperty = Object.prototype.hasOwnProperty;
- var length = reflectionData.length;
- for (var i = 0; i < length; i++) {
- var data = reflectionData[i];
- var name = data[0];
- var uri = data[1];
- var metadata = data[2];
- var globalObject = data[3];
- var descriptor = data[4];
- var isRoot = !!data[5];
- var fields = descriptor && descriptor[""];
- var classes = [];
- var functions = [];
- function processStatics(descriptor) {
- for (var property in descriptor) {
- if (!hasOwnProperty.call(descriptor, property)) continue;
- if (property === "") continue;
- var element = descriptor[property];
- var firstChar = property.substring(0, 1);
- var previousProperty;
- if (firstChar === "+") {
- mangledGlobalNames[previousProperty] = property.substring(1);
- if (descriptor[property] == 1) descriptor[previousProperty].$reflectable = 1;
- if (element && element.length) init.typeInformation[previousProperty] = element;
- } else if (firstChar === "@") {
- property = property.substring(1);
- $[property]["@"] = element;
- } else if (firstChar === "*") {
- globalObject[previousProperty].$defaultValues = element;
- var optionalMethods = descriptor.$methodsWithOptionalArguments;
- if (!optionalMethods) {
- descriptor.$methodsWithOptionalArguments = optionalMethods = {}
- }
- optionalMethods[property] = previousProperty;
- } else if (typeof element === "function") {
- globalObject[previousProperty = property] = element;
- functions.push(property);
- init.globalFunctions[property] = element;
- } else {
- previousProperty = property;
- var newDesc = {};
- var previousProp;
- for (var prop in element) {
- if (!hasOwnProperty.call(element, prop)) continue;
- firstChar = prop.substring(0, 1);
- if (prop === "static") {
- processStatics(init.statics[property] = element[prop]);
- } else if (firstChar === "+") {
- mangledNames[previousProp] = prop.substring(1);
- if (element[prop] == 1) element[previousProp].$reflectable = 1;
- } else if (firstChar === "@" && prop !== "@") {
- newDesc[prop.substring(1)]["@"] = element[prop];
- } else if (firstChar === "*") {
- newDesc[previousProp].$defaultValues = element[prop];
- var optionalMethods = newDesc.$methodsWithOptionalArguments;
- if (!optionalMethods) {
- newDesc.$methodsWithOptionalArguments = optionalMethods={}
- }
- optionalMethods[prop] = previousProp;
- } else {
- newDesc[previousProp = prop] = element[prop];
- }
- }
- $$[property] = [globalObject, newDesc];
- classes.push(property);
- }
- }
- }
- 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);
- },
- "%": "CanvasGradient|CanvasPattern|DOMError|FileError|MediaError|MediaKeyError|Navigator|NavigatorUserMediaError|PositionError|SQLError|SVGAnimatedLength|SVGAnimatedLengthList|SVGAnimatedNumber|SVGAnimatedNumberList|SVGAnimatedString"
-},
-
-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;",
- forEach$1: function(receiver, f) {
- return H.IterableMixinWorkaround_forEach(receiver, f);
- },
- elementAt$1: function(receiver, index) {
- if (index < 0 || 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,
- $isList: true,
- $isEfficientLength: true
-},
-
-JSMutableArray: {"": "JSArray;", $isJSMutableArray: true,
- $asJSArray: function() {
- return [null];
- },
- $asList: function() {
- return [null];
- }
-},
-
-JSFixedArray: {"": "JSMutableArray;"},
-
-JSExtendableArray: {"": "JSMutableArray;"},
-
-JSNumber: {"": "num/Interceptor;",
- remainder$1: function(receiver, b) {
- return receiver % b;
- },
- 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;
- },
- $add: 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);
- },
- $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(new P.ArgumentError(other));
- return receiver < other;
- },
- $gt: function(receiver, other) {
- if (typeof other !== "number")
- throw H.wrapException(new 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);
- },
- $add: function(receiver, other) {
- if (typeof other !== "string")
- throw H.wrapException(new P.ArgumentError(other));
- return receiver + other;
- },
- substring$2: function(receiver, startIndex, endIndex) {
- if (endIndex == null)
- endIndex = receiver.length;
- if (typeof endIndex !== "number" || Math.floor(endIndex) !== endIndex)
- H.throwExpression(P.ArgumentError$(endIndex));
- if (startIndex < 0)
- throw H.wrapException(P.RangeError$value(startIndex));
- if (typeof endIndex !== "number")
- throw H.iae(endIndex);
- if (startIndex > endIndex)
- throw H.wrapException(P.RangeError$value(startIndex));
- if (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([]);
- }
-},
-
-startRootIsolate_closure0: {"": "Closure;entry_1",
- call$0: function() {
- this.entry_1.call$2([], null);
- }
-},
-
-_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);
- }
-},
-
-_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);
- }
-},
-
-_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));
- }
-},
-
-_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._controller;
- t2 = this.box_0.msg_0;
- if (t1._state >= 4)
- H.throwExpression(t1._badEventState$0());
- t1._async$_add$1(t2);
- }
- }
-},
-
-_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 = this._workerId;
- if (typeof t1 !== "number")
- throw t1.$shl();
- t2 = this._isolateId;
- if (typeof t2 !== "number")
- throw t2.$shl();
- t3 = this._receivePortId;
- if (typeof t3 !== "number")
- throw H.iae(t3);
- return (t1 << 16 ^ t2 << 8 ^ 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);
- }
- }
-},
-
-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);
- },
- 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();
- },
- $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, i;
- t1 = this._visited;
- copy = t1.$index(t1, list);
- if (copy != null)
- return copy;
- len = J.get$length$asx(list);
- copy = P.List_List(len, null);
- t1 = this._visited;
- t1.$indexSet(t1, list, copy);
- for (i = 0; i < len; ++i) {
- if (i >= list.length)
- throw H.ioore(list, i);
- t1 = this._dispatch$1(list[i]);
- if (i >= len)
- throw H.ioore(copy, i);
- copy[i] = t1;
- }
- 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));
- },
- $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 len, result, i, t1;
- len = J.get$length$asx(list);
- result = P.List_List(len, null);
- for (i = 0; i < len; ++i) {
- if (i >= list.length)
- throw H.ioore(list, i);
- t1 = this._dispatch$1(list[i]);
- if (i >= len)
- throw H.ioore(result, i);
- result[i] = t1;
- }
- 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();
- }
-},
-
-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();
- }
-}}],
-["_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_objectTypeName: function(object) {
- var $name, decompiled;
- $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;
- }
- if (J.getInterceptor$s($name).codeUnitAt$1($name, 0) === 36)
- $name = C.JSString_methods.substring$1($name, 1);
- return $name + H.joinArguments(H.getRuntimeTypeInfo(object), 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_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;
-},
-
-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);
-},
-
-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)));
-},
-
-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;
-},
-
-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;
- },
- $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();
- }
-},
-
-invokeClosure_closure0: {"": "Closure;closure_1,arg1_2",
- call$0: function() {
- return this.closure_1.call$1(this.arg1_2);
- }
-},
-
-invokeClosure_closure1: {"": "Closure;closure_3,arg1_4,arg2_5",
- call$0: function() {
- return this.closure_3.call$2(this.arg1_4, this.arg2_5);
- }
-},
-
-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);
- }
-},
-
-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);
- }
-},
-
-Closure: {"": "Object;",
- toString$0: function(_) {
- return "Closure";
- }
-},
-
-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
-},
-
-initHooks_closure: {"": "Closure;getTag_0",
- call$1: function(o) {
- return this.getTag_0(o);
- },
- $is_args1: true
-},
-
-initHooks_closure0: {"": "Closure;getUnknownTag_1",
- call$2: function(o, tag) {
- return this.getUnknownTag_1(o, tag);
- },
- $is_args2: true
-},
-
-initHooks_closure1: {"": "Closure;prototypeForTag_2",
- call$1: function(tag) {
- return this.prototypeForTag_2(tag);
- },
- $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);
-},
-
-Symbol_getName: function(symbol) {
- return symbol.get$_name();
-},
-
-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 (this._length !== $length)
- throw H.wrapException(P.ConcurrentModificationError$(t1));
- t3 = this._index;
- 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];
- },
- 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, $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];
- }
-},
-
-FixedLengthListMixin: {"": "Object;"}}],
-["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;
- }
-},
-
-_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;
- },
- $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);
- }
- },
- $is_args1: true
-},
-
-_Completer: {"": "Object;"},
-
-_AsyncCompleter: {"": "_Completer;future",
- 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$_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._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._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) {
- 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);
- t1.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._state = 2;
- 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._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) {
- t2 = t1.source_4;
- asyncError = t2.get$_error();
- t2 = t2._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._nextListener != null) {
- P._Future__propagateMultipleListeners(t1.source_4, listeners);
- return;
- }
- if (hasError) {
- t3 = t1.source_4.get$_zone();
- t4 = listeners._zone;
- t3.toString;
- t4.toString;
- t3 = t4 == null ? t3 != null : t4 !== t3;
- } else
- t3 = false;
- if (t3) {
- t2 = t1.source_4;
- asyncError = t2.get$_error();
- t2 = t2._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._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;
- t4.toString;
- P._rootRun(t4, null, t4, 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._state = 2;
- t1.source_4 = chainSource;
- continue;
- }
- P._Future__chainFutures(chainSource, listeners);
- return;
- }
- if (t3) {
- listeners0 = listeners._removeListeners$0();
- t2 = t2.listenerValueOrError_2;
- listeners._state = 4;
- listeners._resultOrListeners = t2;
- } else {
- listeners0 = listeners._removeListeners$0();
- asyncError = t2.listenerValueOrError_2;
- t2 = J.get$error$x(asyncError);
- t3 = asyncError.get$stackTrace();
- listeners._state = 8;
- listeners._resultOrListeners = new P._AsyncError(t2, t3);
- }
- 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);
- }
-},
-
-_Future__chainFutures_closure: {"": "Closure;target_0",
- call$1: function(value) {
- this.target_0._complete$1(value);
- },
- $is_args1: true
-},
-
-_Future__chainFutures_closure0: {"": "Closure;target_1",
- call$2: function(error, stackTrace) {
- this.target_1._completeError$2(error, stackTrace);
- },
- call$1: function(error) {
- return this.call$2(error, null);
- },
- $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);
- }
-},
-
-_Future__asyncCompleteError_closure: {"": "Closure;this_0,error_1,stackTrace_2",
- call$0: function() {
- this.this_0._completeError$2(this.error_1, this.stackTrace_2);
- }
-},
-
-_Future__propagateToListeners_closure: {"": "Closure;box_2,listener_3",
- call$0: function() {
- P._Future__propagateToListeners(this.box_2.source_4, this.listener_3);
- }
-},
-
-_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 = t2._state === 2 ? null : t2._onValueCallback;
- t4 = this.box_1;
- if (t3 != null) {
- t4.listenerValueOrError_2 = t2._onValue$1(value);
- t4.listenerHasValue_1 = true;
- } else {
- t4.listenerValueOrError_2 = value;
- t4.listenerHasValue_1 = true;
- }
- } else {
- asyncError = t2.source_4.get$_error();
- t2 = this.listener_5;
- test = t2._state === 2 ? null : t2._errorTestCallback;
- matchesTest = true;
- if (test != null)
- matchesTest = test.call$1(J.get$error$x(asyncError));
- if (matchesTest === true)
- t3 = (t2._state === 2 ? null : t2._onErrorCallback) != null;
- else
- t3 = false;
- if (t3) {
- errorCallback = t2._state === 2 ? null : t2._onErrorCallback;
- t2 = this.box_1;
- t2.listenerValueOrError_2 = P._invokeErrorHandler(errorCallback, J.get$error$x(asyncError), asyncError.get$stackTrace());
- t2.listenerHasValue_1 = true;
- } else {
- t2 = this.box_1;
- t2.listenerValueOrError_2 = asyncError;
- t2.listenerHasValue_1 = false;
- }
- }
- t2 = this.listener_5;
- if ((t2._state === 2 ? null : t2._whenCompleteActionCallback) != 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;
- }
-
- }
-},
-
-_Future__propagateToListeners__closure: {"": "Closure;box_2,listener_6",
- call$1: function(ignored) {
- P._Future__propagateToListeners(this.box_2.source_4, this.listener_6);
- },
- $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$1: function(error) {
- return this.call$2(error, null);
- },
- $is_args2: true,
- $is_args1: true
-},
-
-Stream: {"": "Object;",
- 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));
- },
- $is_args1: true
-},
-
-Stream_forEach__closure: {"": "Closure;action_4,element_5",
- call$0: function() {
- return this.action_4.call$1(this.element_5);
- }
-},
-
-Stream_forEach__closure0: {"": "Closure;",
- call$1: function(_) {
- },
- $is_args1: true
-},
-
-Stream_forEach_closure0: {"": "Closure;future_6",
- call$0: function() {
- this.future_6._complete$1(null);
- }
-},
-
-Stream_length_closure: {"": "Closure;box_0",
- call$1: function(_) {
- var t1 = this.box_0;
- t1.count_0 = t1.count_0 + 1;
- },
- $is_args1: true
-},
-
-Stream_length_closure0: {"": "Closure;box_0,future_1",
- call$0: function() {
- this.future_1._complete$1(this.box_0.count_0);
- }
-},
-
-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));
- }
- },
- _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());
- }
-},
-
-_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);
- }
-},
-
-_SyncStreamControllerDispatch: {"": "Object;",
- _sendData$1: function(data) {
- this.get$_subscription()._async$_add$1(data);
- },
- _sendDone$0: function() {
- this.get$_subscription()._close$0();
- }
-},
-
-_AsyncStreamControllerDispatch: {"": "Object;",
- _sendData$1: function(data) {
- this.get$_subscription()._addPending$1(new P._DelayedData(data, 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, t2;
- 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) {
- t2 = this._pending;
- t2 = !t2.get$isEmpty(t2);
- } else
- t2 = false;
- if (t2)
- this._pending.schedule$1(this);
- else {
- this._state = (t1 & 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));
- },
- _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);
- },
- _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, t2, isInputPaused;
- t1 = this._state;
- if ((t1 & 64) !== 0) {
- t2 = this._pending;
- t2 = t2.get$isEmpty(t2);
- } else
- t2 = false;
- if (t2) {
- this._state = (t1 & 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__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;
- }
-},
-
-_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;
- },
- _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);
- }
-},
-
-_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);
- }
-},
-
-_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);
- }
-},
-
-_cancelAndErrorClosure_closure: {"": "Closure;subscription_0,future_1",
- call$2: function(error, stackTrace) {
- return P._cancelAndError(this.subscription_0, this.future_1, error, stackTrace);
- },
- $is_args2: true
-},
-
-_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);
- }
-
- },
- 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);
- }
-},
-
-_BaseZone_bindCallback_closure0: {"": "Closure;this_2,registered_3",
- call$0: function() {
- return this.this_2.run$1(this.registered_3);
- }
-},
-
-_BaseZone_bindUnaryCallback_closure: {"": "Closure;this_0,registered_1",
- call$1: function(arg) {
- return this.this_0.runUnaryGuarded$2(this.registered_1, arg);
- },
- $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);
- },
- $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));
- }
-},
-
-_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);
- }
-},
-
-_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);
- },
- registerCallback$1: function(f) {
- return f;
- },
- registerUnaryCallback$1: function(f) {
- return f;
- }
-}}],
-["dart.collection", "dart:collection", , P, {
-_HashSet__newHashTable: function() {
- var table = Object.create(null);
- table["<non-identifier-key>"] = table;
- delete table["<non-identifier-key>"];
- return table;
-},
-
-_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;
-},
-
-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);
- },
- $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);
- },
- $is_args1: true
-},
-
-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,
- $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$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._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);
- },
- $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,
- $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, hash, bucket;
- rest = this._rest;
- if (rest == null) {
- rest = P._HashSet__newHashTable();
- this._rest = rest;
- }
- 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,
- $isEfficientLength: 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
-},
-
-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,
- $isEfficientLength: true
-},
-
-IterableBase: {"": "Object;",
- 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;
- if (index < 0)
- throw H.wrapException(P.RangeError$value(index));
- for (t1 = this.get$iterator(this), remaining = index; t1.moveNext$0();) {
- element = t1.get$current();
- if (remaining === 0)
- return element;
- --remaining;
- }
- throw H.wrapException(P.RangeError$value(index));
- },
- toString$0: function(_) {
- return P._iterableToString(this);
- }
-},
-
-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);
- for (i = 0; i < $length; ++i) {
- if (i >= receiver.length)
- throw H.ioore(receiver, i);
- action.call$1(receiver[i]);
- if ($length !== receiver.length)
- throw H.wrapException(P.ConcurrentModificationError$(receiver));
- }
- },
- 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
-},
-
-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);
- },
- $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,
- $isEfficientLength: 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, {
-_symbolToString: function(symbol) {
- return H.Symbol_getName(symbol);
-},
-
-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);
-},
-
-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(P._symbolToString(key));
- },
- $is_args2: true
-},
-
-Duration: {"": "Object;_duration",
- $add: function(_, other) {
- return P.Duration$(0, 0, C.JSNumber_methods.$add(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 C.JSNumber_methods.$gt(this._duration, other.get$_duration());
- },
- $ge: function(_, other) {
- return C.JSNumber_methods.$ge(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);
- },
- $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);
- },
- $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));
-}}
-
-},
-
-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);
- }
-},
-
-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;"},
-
-Iterator: {"": "Object;"},
-
-Null: {"": "Object;",
- toString$0: function(_) {
- return "null";
- }
-},
-
-Object: {"": ";",
- $eq: function(_, other) {
- return this === other;
- },
- get$hashCode: function(_) {
- return H.Primitives_objectHashCode(this);
- },
- toString$0: function(_) {
- return H.Primitives_objectToString(this);
- }
-},
-
-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, {
-_JenkinsSmiHash_combine: function(hash, value) {
- hash = 536870911 & hash + value;
- hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0);
- return (hash ^ C.JSInt_methods.$shr(hash, 6)) >>> 0;
-},
-
-_JenkinsSmiHash_finish: function(hash) {
- hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0);
- hash = (hash ^ C.JSInt_methods.$shr(hash, 11)) >>> 0;
- return 536870911 & hash + ((16383 & hash) << 15 >>> 0);
-},
-
-_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|HTMLButtonElement|HTMLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDetailsElement|HTMLDialogElement|HTMLDirectoryElement|HTMLDivElement|HTMLEmbedElement|HTMLFieldSetElement|HTMLFontElement|HTMLFrameElement|HTMLFrameSetElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTMLInputElement|HTMLKeygenElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElement|HTMLLinkElement|HTMLMapElement|HTMLMarqueeElement|HTMLMenuElement|HTMLMetaElement|HTMLMeterElement|HTMLModElement|HTMLOListElement|HTMLObjectElement|HTMLOptGroupElement|HTMLOptionElement|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|HTMLPreElement|HTMLProgressElement|HTMLQuoteElement|HTMLScriptElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTMLStyleElement|HTMLTableCaptionElement|HTMLTableCellElement|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableHeaderCellElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTemplateElement|HTMLTextAreaElement|HTMLTitleElement|HTMLTrackElement|HTMLUListElement|HTMLUnknownElement;HTMLElement"},
-
-AnchorElement: {"": "HtmlElement;",
- toString$0: function(receiver) {
- return receiver.toString();
- },
- "%": "HTMLAnchorElement"
-},
-
-CanvasElement: {"": "HtmlElement;",
- getContext$2: function(receiver, contextId, attrs) {
- return receiver.getContext(contextId);
- },
- getContext$1: function($receiver, contextId) {
- return this.getContext$2($receiver, contextId, null);
- },
- "%": "HTMLCanvasElement"
-},
-
-CanvasRenderingContext: {"": "Interceptor;", "%": "WebGLRenderingContext;CanvasRenderingContext"},
-
-CanvasRenderingContext2D: {"": "CanvasRenderingContext;lineCap},lineWidth},strokeStyle}",
- beginPath$0: function(receiver) {
- return receiver.beginPath();
- },
- closePath$0: function(receiver) {
- return receiver.closePath();
- },
- lineTo$2: function(receiver, x, y) {
- return receiver.lineTo(x, y);
- },
- moveTo$2: function(receiver, x, y) {
- return receiver.moveTo(x, y);
- },
- stroke$0: function(receiver) {
- return receiver.stroke();
- },
- "%": "CanvasRenderingContext2D"
-},
-
-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;",
- preventDefault$0: function(receiver) {
- return receiver.preventDefault();
- },
- "%": "AudioProcessingEvent|AutocompleteErrorEvent|BeforeLoadEvent|BeforeUnloadEvent|CSSFontFaceLoadEvent|CloseEvent|CustomEvent|DeviceMotionEvent|DeviceOrientationEvent|HashChangeEvent|IDBVersionChangeEvent|MIDIConnectionEvent|MIDIMessageEvent|MediaKeyEvent|MediaKeyMessageEvent|MediaKeyNeededEvent|MediaStreamEvent|MediaStreamTrackEvent|MessageEvent|MutationEvent|OfflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|PopStateEvent|ProgressEvent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|ResourceProgressEvent|SecurityPolicyViolationEvent|SpeechInputEvent|SpeechRecognitionEvent|SpeechSynthesisEvent|StorageEvent|TrackEvent|TransitionEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|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"},
-
-MediaElement: {"": "HtmlElement;error=", "%": "HTMLAudioElement|HTMLMediaElement|HTMLVideoElement"},
-
-Node: {"": "EventTarget;",
- toString$0: function(receiver) {
- var t1 = receiver.nodeValue;
- return t1 == null ? J.Interceptor.prototype.toString$0.call(this, receiver) : t1;
- },
- "%": "Attr|Document|DocumentFragment|DocumentType|Entity|HTMLDocument|Notation|SVGDocument|ShadowRoot;Node"
-},
-
-SelectElement: {"": "HtmlElement;length=", "%": "HTMLSelectElement"},
-
-SpeechRecognitionError: {"": "Event;error=", "%": "SpeechRecognitionError"},
-
-Touch: {"": "Interceptor;identifier=", "%": "Touch"},
-
-TouchEvent: {"": "UIEvent;touches=", "%": "TouchEvent"},
-
-TouchList: {"": "Interceptor_ListMixin_ImmutableListMixin;",
- get$length: function(receiver) {
- return receiver.length;
- },
- $index: function(receiver, index) {
- var t1 = receiver.length;
- if (index >>> 0 !== index || index >= t1)
- throw H.wrapException(P.RangeError$range(index, 0, t1));
- return receiver[index];
- },
- $indexSet: function(receiver, index, value) {
- throw H.wrapException(P.UnsupportedError$("Cannot assign element of immutable List."));
- },
- elementAt$1: function(receiver, index) {
- if (index < 0 || index >= receiver.length)
- throw H.ioore(receiver, index);
- return receiver[index];
- },
- $asList: function() {
- return [W.Touch];
- },
- $isList: true,
- $isEfficientLength: true,
- $isJavaScriptIndexingBehavior: true,
- "%": "TouchList"
-},
-
-UIEvent: {"": "Event;", "%": "CompositionEvent|DragEvent|FocusEvent|KeyboardEvent|MSPointerEvent|MouseEvent|MouseScrollEvent|MouseWheelEvent|PointerEvent|SVGZoomEvent|TextEvent|WheelEvent;UIEvent"},
-
-Window: {"": "EventTarget;",
- toString$0: function(receiver) {
- return receiver.toString();
- },
- "%": "DOMWindow|Window"
-},
-
-_ClientRect: {"": "Interceptor;height=,left=,top=,width=",
- toString$0: function(receiver) {
- return "Rectangle (" + H.S(receiver.left) + ", " + H.S(receiver.top) + ") " + H.S(receiver.width) + " x " + H.S(receiver.height);
- },
- $eq: function(receiver, other) {
- var t1, t2, t3;
- if (other == null)
- return false;
- t1 = J.getInterceptor$x(other);
- if (typeof other !== "object" || other === null || !t1.$isRectangle)
- return false;
- t2 = receiver.left;
- t3 = t1.get$left(other);
- if (t2 == null ? t3 == null : t2 === t3) {
- t2 = receiver.top;
- t3 = t1.get$top(other);
- if (t2 == null ? t3 == null : t2 === t3) {
- t2 = receiver.width;
- t3 = t1.get$width(other);
- if (t2 == null ? t3 == null : t2 === t3) {
- t2 = receiver.height;
- t1 = t1.get$height(other);
- t1 = t2 == null ? t1 == null : t2 === t1;
- } else
- t1 = false;
- } else
- t1 = false;
- } else
- t1 = false;
- return t1;
- },
- get$hashCode: function(receiver) {
- var t1, t2, t3, t4;
- t1 = J.get$hashCode$(receiver.left);
- t2 = J.get$hashCode$(receiver.top);
- t3 = J.get$hashCode$(receiver.width);
- t4 = J.get$hashCode$(receiver.height);
- return W._JenkinsSmiHash_finish(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(0, t1), t2), t3), t4));
- },
- $isRectangle: true,
- $asRectangle: function() {
- return [null];
- },
- "%": "ClientRect|DOMRect"
-},
-
-Interceptor_ListMixin: {"": "Interceptor+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true},
-
-Interceptor_ListMixin_ImmutableListMixin: {"": "Interceptor_ListMixin+ImmutableListMixin;", $asList: null, $isList: true, $isEfficientLength: true},
-
-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;
- },
- $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;
- },
- _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
-},
-
-ImmutableListMixin: {"": "Object;",
- get$iterator: function(receiver) {
- return W.FixedSizeListIterator$(receiver);
- },
- $isList: true,
- $asList: null,
- $isEfficientLength: true
-},
-
-FixedSizeListIterator: {"": "Object;_array,_html$_length,_html$_position,_html$_current",
- moveNext$0: function() {
- var nextPosition, t1;
- nextPosition = this._html$_position + 1;
- t1 = this._html$_length;
- if (nextPosition < t1) {
- this._html$_current = J.$index$asx(this._array, nextPosition);
- this._html$_position = nextPosition;
- return true;
- }
- this._html$_current = null;
- this._html$_position = t1;
- return false;
- },
- get$current: function() {
- return this._html$_current;
- },
- static: {
-FixedSizeListIterator$: function(array) {
- return new W.FixedSizeListIterator(array, J.get$length$asx(array), -1, null);
-}}
-
-}}],
-["dart.isolate", "dart:isolate", , P, {
-ReceivePort: {"": "Object;"}}],
-["dart.math", "dart:math", , P, {
-_JenkinsSmiHash_combine0: function(hash, value) {
- hash = 536870911 & hash + value;
- hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0);
- return (hash ^ C.JSInt_methods.$shr(hash, 6)) >>> 0;
-},
-
-_JenkinsSmiHash_finish0: function(hash) {
- hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0);
- hash = (hash ^ C.JSInt_methods.$shr(hash, 11)) >>> 0;
- return 536870911 & hash + ((16383 & hash) << 15 >>> 0);
-},
-
-_Random: {"": "Object;",
- nextInt$1: function(max) {
- if (max < 0)
- throw H.wrapException(new P.ArgumentError("negative max: " + max));
- if (max > 4294967295)
- max = 4294967295;
- return Math.random() * max >>> 0;
- }
-},
-
-Point: {"": "Object;x,y",
- toString$0: function(_) {
- return "Point(" + H.S(this.x) + ", " + H.S(this.y) + ")";
- },
- $eq: function(_, other) {
- var t1, t2;
- if (other == null)
- return false;
- t1 = J.getInterceptor(other);
- if (typeof other !== "object" || other === null || !t1.$isPoint)
- return false;
- t1 = this.x;
- t2 = other.x;
- if (t1 == null ? t2 == null : t1 === t2) {
- t1 = this.y;
- t2 = other.y;
- t2 = t1 == null ? t2 == null : t1 === t2;
- t1 = t2;
- } else
- t1 = false;
- return t1;
- },
- get$hashCode: function(_) {
- var t1, t2;
- t1 = J.get$hashCode$(this.x);
- t2 = J.get$hashCode$(this.y);
- return P._JenkinsSmiHash_finish0(P._JenkinsSmiHash_combine0(P._JenkinsSmiHash_combine0(0, t1), t2));
- },
- $add: function(_, other) {
- var t1, t2, t3;
- t1 = this.x;
- t2 = C.JSNumber_methods.get$x(other);
- if (typeof t1 !== "number")
- throw t1.$add();
- t2 = C.JSNumber_methods.$add(t1, t2);
- t1 = this.y;
- t3 = C.JSNumber_methods.get$y(other);
- if (typeof t1 !== "number")
- throw t1.$add();
- t3 = C.JSNumber_methods.$add(t1, t3);
- t3 = new P.Point(t2, t3);
- H.setRuntimeTypeInfo(t3, [H.getRuntimeTypeArgument(this, "Point", 0)]);
- return t3;
- },
- $isPoint: true
-},
-
-_RectangleBase: {"": "Object;",
- toString$0: function(_) {
- return "Rectangle (" + H.S(this.get$left(this)) + ", " + H.S(this.top) + ") " + H.S(this.width) + " x " + H.S(this.height);
- },
- $eq: function(_, other) {
- var t1, t2, t3;
- if (other == null)
- return false;
- t1 = J.getInterceptor$x(other);
- if (typeof other !== "object" || other === null || !t1.$isRectangle)
- return false;
- t2 = this.get$left(this);
- t3 = t1.get$left(other);
- if (t2 == null ? t3 == null : t2 === t3) {
- t2 = this.top;
- t3 = t1.get$top(other);
- if (t2 == null ? t3 == null : t2 === t3) {
- t2 = this.width;
- t3 = t1.get$width(other);
- if (t2 == null ? t3 == null : t2 === t3) {
- t2 = this.height;
- t1 = t1.get$height(other);
- t1 = t2 == null ? t1 == null : t2 === t1;
- } else
- t1 = false;
- } else
- t1 = false;
- } else
- t1 = false;
- return t1;
- },
- get$hashCode: function(_) {
- var t1, t2, t3, t4;
- t1 = J.get$hashCode$(this.get$left(this));
- t2 = J.get$hashCode$(this.top);
- t3 = J.get$hashCode$(this.width);
- t4 = J.get$hashCode$(this.height);
- return P._JenkinsSmiHash_finish0(P._JenkinsSmiHash_combine0(P._JenkinsSmiHash_combine0(P._JenkinsSmiHash_combine0(P._JenkinsSmiHash_combine0(0, t1), t2), t3), t4));
- }
-},
-
-Rectangle: {"": "_RectangleBase;left>,top>,width>,height>", $isRectangle: true, $asRectangle: null, $as_RectangleBase: null}}],
-["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)));
- },
- "%": ";ArrayBufferView;TypedData_ListMixin|TypedData_ListMixin_FixedLengthListMixin"
-},
-
-Uint8List: {"": "TypedData_ListMixin_FixedLengthListMixin;",
- get$length: function(receiver) {
- return C.JS_CONST_ZYJ(receiver);
- },
- $index: function(receiver, index) {
- var t1, t2;
- t1 = C.JS_CONST_ZYJ(receiver);
- if (!(index >>> 0 != index)) {
- if (typeof index !== "number")
- throw index.$ge();
- t2 = index >= t1;
- } else
- t2 = true;
- if (t2)
- 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];
- },
- $isList: true,
- $isEfficientLength: true,
- $isJavaScriptIndexingBehavior: true,
- "%": ";Uint8Array"
-},
-
-TypedData_ListMixin: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true},
-
-TypedData_ListMixin_FixedLengthListMixin: {"": "TypedData_ListMixin+FixedLengthListMixin;", $asList: null}}],
-["multi_touch", "index.dart", , Y, {
-main: function() {
- Y.CanvasDrawer$(document.querySelector("#example"));
-},
-
-CanvasDrawer: {"": "Object;canvas,ctxt,offset,lines",
- preDraw$1: function($event) {
- var t1 = J.getInterceptor$x($event);
- t1.preventDefault$0($event);
- J.forEach$1$ax(t1.get$touches($event), new Y.CanvasDrawer_preDraw_closure(this));
- },
- get$preDraw: function() {
- return new H.BoundClosure$1(this, Y.CanvasDrawer.prototype.preDraw$1, null, "preDraw$1");
- },
- draw$1: function($event) {
- var t1 = J.getInterceptor$x($event);
- t1.preventDefault$0($event);
- J.forEach$1$ax(t1.get$touches($event), new Y.CanvasDrawer_draw_closure(this));
- },
- get$draw: function() {
- return new H.BoundClosure$1(this, Y.CanvasDrawer.prototype.draw$1, null, "draw$1");
- },
- move$3: function(_id, changeX, changeY) {
- var t1 = this.lines;
- J.set$strokeStyle$x(this.ctxt, J.$index$asx(t1.$index(t1, _id), "color"));
- J.beginPath$0$x(this.ctxt);
- J.moveTo$2$x(this.ctxt, J.$index$asx(t1.$index(t1, _id), "x"), J.$index$asx(t1.$index(t1, _id), "y"));
- J.lineTo$2$x(this.ctxt, J.$add$ns(J.$index$asx(t1.$index(t1, _id), "x"), changeX), J.$add$ns(J.$index$asx(t1.$index(t1, _id), "y"), changeY));
- J.stroke$0$x(this.ctxt);
- J.closePath$0$x(this.ctxt);
- return H.fillLiteralMap(["x", J.$add$ns(J.$index$asx(t1.$index(t1, _id), "x"), changeX), "y", J.$add$ns(J.$index$asx(t1.$index(t1, _id), "y"), changeY)], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null));
- },
- CanvasDrawer$1: function(canvas) {
- var t1, t2, t3;
- t1 = this.canvas;
- this.ctxt = J.getContext$1$x(t1, "2d");
- t1.width = window.innerWidth;
- t1.height = window.innerHeight;
- J.set$lineWidth$x(this.ctxt, C.JSNumber_methods.toInt$0(Math.ceil(Math.random() * 10)));
- J.set$lineCap$x(this.ctxt, "round");
- t2 = new P.Rectangle(t1.offsetLeft, t1.offsetTop, t1.offsetWidth, t1.offsetHeight);
- H.setRuntimeTypeInfo(t2, [null]);
- this.offset = t2;
- t2 = new W._ElementEventStreamImpl(t1, C.EventStreamProvider_touchstart._eventType, false);
- H.setRuntimeTypeInfo(t2, [null]);
- t3 = this.get$preDraw();
- t3 = new W._EventStreamSubscription(0, t2._target, t2._eventType, W._wrapZone(t3), t2._useCapture);
- H.setRuntimeTypeInfo(t3, [H.getRuntimeTypeArgument(t2, "_EventStream", 0)]);
- t3._tryResume$0();
- t1 = new W._ElementEventStreamImpl(t1, C.EventStreamProvider_touchmove._eventType, false);
- H.setRuntimeTypeInfo(t1, [null]);
- t3 = this.get$draw();
- t3 = new W._EventStreamSubscription(0, t1._target, t1._eventType, W._wrapZone(t3), t1._useCapture);
- H.setRuntimeTypeInfo(t3, [H.getRuntimeTypeArgument(t1, "_EventStream", 0)]);
- t3._tryResume$0();
- },
- static: {
-"": "CanvasDrawer_colors",
-CanvasDrawer$: function(canvas) {
- var t1 = new Y.CanvasDrawer(canvas, null, null, H.fillLiteralMap([], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)));
- t1.CanvasDrawer$1(canvas);
- return t1;
-}}
-
-},
-
-CanvasDrawer_preDraw_closure: {"": "Closure;this_0",
- call$1: function(touch) {
- var t1, t2, t3, t4, t5, t6, t7;
- t1 = this.this_0;
- t2 = t1.lines;
- t3 = J.get$identifier$x(touch);
- t4 = new P.Point(touch.pageX, touch.pageY);
- H.setRuntimeTypeInfo(t4, [null]);
- t4 = t4.x;
- t5 = t1.offset.left;
- if (typeof t4 !== "number")
- throw t4.$sub();
- if (typeof t5 !== "number")
- throw H.iae(t5);
- t6 = new P.Point(touch.pageX, touch.pageY);
- H.setRuntimeTypeInfo(t6, [null]);
- t6 = t6.y;
- t1 = t1.offset.top;
- if (typeof t6 !== "number")
- throw t6.$sub();
- if (typeof t1 !== "number")
- throw H.iae(t1);
- t7 = C.C__Random.nextInt$1(6);
- if (t7 < 0 || t7 >= 6)
- throw H.ioore(C.List_kmp, t7);
- t2.$indexSet(t2, t3, H.fillLiteralMap(["x", t4 - t5, "y", t6 - t1, "color", C.List_kmp[t7]], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)));
- },
- $is_args1: true
-},
-
-CanvasDrawer_draw_closure: {"": "Closure;this_0",
- call$1: function(touch) {
- var _id, t1, t2, t3, t4, t5, t6, t7, t8, ret;
- _id = J.get$identifier$x(touch);
- t1 = this.this_0;
- t2 = new P.Point(touch.pageX, touch.pageY);
- H.setRuntimeTypeInfo(t2, [null]);
- t2 = t2.x;
- t3 = t1.offset.left;
- if (typeof t2 !== "number")
- throw t2.$sub();
- if (typeof t3 !== "number")
- throw H.iae(t3);
- t4 = t1.lines;
- t5 = J.$index$asx(t4.$index(t4, _id), "x");
- if (typeof t5 !== "number")
- throw H.iae(t5);
- t6 = new P.Point(touch.pageX, touch.pageY);
- H.setRuntimeTypeInfo(t6, [null]);
- t6 = t6.y;
- t7 = t1.offset.top;
- if (typeof t6 !== "number")
- throw t6.$sub();
- if (typeof t7 !== "number")
- throw H.iae(t7);
- t8 = J.$index$asx(t4.$index(t4, _id), "y");
- if (typeof t8 !== "number")
- throw H.iae(t8);
- ret = t1.move$3(_id, t2 - t3 - t5, t6 - t7 - t8);
- J.$indexSet$ax(t4.$index(t4, _id), "x", ret.$index(ret, "x"));
- J.$indexSet$ax(t4.$index(t4, _id), "y", ret.$index(ret, "y"));
- },
- $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.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 P.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 P.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 P.Closure$1(P.identityHashCode, "identityHashCode$closure");
-init.globalFunctions.main$closure = Y.main$closure = new H.Closure$0(Y.main, "main$closure");
-// Runtime type support
-W.Touch.$isObject = true;
-J.JSInt.$isint = true;
-J.JSInt.$isObject = true;
-J.JSString.$isString = true;
-J.JSString.$isObject = true;
-J.JSNumber.$isObject = true;
-P.Duration.$isObject = true;
-W.TouchEvent.$isTouchEvent = true;
-W.TouchEvent.$isObject = true;
-P.ReceivePort.$isObject = true;
-H._IsolateEvent.$isObject = true;
-H._IsolateContext.$isObject = true;
-J.JSArray.$isObject = true;
-P.Symbol.$isSymbol = true;
-P.Symbol.$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;
- }
- 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$ns = function(receiver) {
- if (typeof receiver == "number")
- return J.JSNumber.prototype;
- 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$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__Random = new P._Random();
-C.C__RootZone = new P._RootZone();
-C.Duration_0 = new P.Duration(0);
-C.EventStreamProvider_touchmove = new W.EventStreamProvider("touchmove");
-C.EventStreamProvider_touchstart = new W.EventStreamProvider("touchstart");
-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.JS_CONST_6qb = function(hooks) {
- var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
- if (userAgent.indexOf("Firefox") == -1) return hooks;
- var getTag = hooks.getTag;
- var quickMap = {
- "BeforeUnloadEvent": "Event",
- "DataTransfer": "Clipboard",
- "GeoGeolocation": "Geolocation",
- "WorkerMessageEvent": "MessageEvent",
- "XMLDocument": "Document"};
- function getTagFirefox(o) {
- var tag = getTag(o);
- return quickMap[tag] || tag;
- }
- hooks.getTag = getTagFirefox;
-};
-C.JS_CONST_86y = function getTagFallback(o) {
- if (o == null) return "Null";
- var constructor = o.constructor;
- if (typeof constructor == "function") {
- var name = constructor.builtin$cls;
- if (typeof name == "string") return name;
- name = constructor.name;
- if (typeof name == "string"
- && name !== ""
- && name !== "Object"
- && name !== "Function.prototype") {
- return name;
- }
- }
- var s = Object.prototype.toString.call(o);
- return s.substring(8, s.length - 1);
-};
-C.JS_CONST_Cbr = function(getTagFallback) {
- return function(hooks) {
- if (typeof navigator != "object") return hooks;
- var userAgent = navigator.userAgent;
- if (userAgent.indexOf("Chrome") >= 0 ||
- userAgent.indexOf("DumpRenderTree") >= 0) {
- return hooks;
- }
- hooks.getTag = getTagFallback;
- };
-};
-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)) {
- var name = Object.prototype.toString.call(object);
- if (name == "[object Object]") return null;
- return "HTMLElement";
- }
- }
- function getUnknownTagGenericBrowser(object, tag) {
- if (object instanceof HTMLElement) return "HTMLElement";
- return getUnknownTag(object, tag);
- }
- function prototypeForTag(tag) {
- if (typeof window == "undefined") return null;
- if (typeof window[tag] == "undefined") return null;
- var constructor = window[tag];
- if (typeof constructor != "function") return null;
- return constructor.prototype;
- }
- function discriminator(tag) { return null; }
- var isBrowser = typeof navigator == "object";
- return {
- getTag: typeNameInChrome,
- getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,
- prototypeForTag: prototypeForTag,
- discriminator: discriminator };
-};
-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.JS_CONST_rD3 = function(hooks) {
- var userAgent = typeof navigator == "object" ? navigator.userAgent : "";
- if (userAgent.indexOf("Trident/") == -1) return hooks;
- var getTag = hooks.getTag;
- var quickMap = {
- "BeforeUnloadEvent": "Event",
- "DataTransfer": "Clipboard",
- "HTMLDDElement": "HTMLElement",
- "HTMLDTElement": "HTMLElement",
- "HTMLPhraseElement": "HTMLElement",
- "Position": "Geoposition"
- };
- function getTagIE(o) {
- var tag = getTag(o);
- var newTag = quickMap[tag];
- if (newTag) return newTag;
- if (tag == "Document") {
- if (!!o.xmlVersion) return "!Document";
- return "!HTMLDocument";
- }
- if (tag == "Object") {
- if (window.DataView && (o instanceof window.DataView)) return "DataView";
- }
- return tag;
- }
- function prototypeForTagIE(tag) {
- if (tag == "Document") return null;
- var constructor = window[tag];
- if (constructor == null) return null;
- return constructor.prototype;
- }
- hooks.getTag = getTagIE;
- hooks.prototypeForTag = prototypeForTagIE;
-};
-Isolate.makeConstantList = function(list) {
- list.immutable$list = true;
- list.fixed$length = true;
- return list;
-};
-C.List_empty = Isolate.makeConstantList([]);
-C.List_kmp = Isolate.makeConstantList(["red", "green", "yellow", "blue", "magenta", "orangered"]);
-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.$add$ns = function(receiver, a0) {
- if (typeof receiver == "number" && typeof a0 == "number")
- return receiver + a0;
- return J.getInterceptor$ns(receiver).$add(receiver, a0);
-};
-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.$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.addEventListener$3$x = function(receiver, a0, a1, a2) {
- return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2);
-};
-J.beginPath$0$x = function(receiver) {
- return J.getInterceptor$x(receiver).beginPath$0(receiver);
-};
-J.closePath$0$x = function(receiver) {
- return J.getInterceptor$x(receiver).closePath$0(receiver);
-};
-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$identifier$x = function(receiver) {
- return J.getInterceptor$x(receiver).get$identifier(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.getContext$1$x = function(receiver, a0) {
- return J.getInterceptor$x(receiver).getContext$1(receiver, a0);
-};
-J.lineTo$2$x = function(receiver, a0, a1) {
- return J.getInterceptor$x(receiver).lineTo$2(receiver, a0, a1);
-};
-J.moveTo$2$x = function(receiver, a0, a1) {
- return J.getInterceptor$x(receiver).moveTo$2(receiver, a0, a1);
-};
-J.removeEventListener$3$x = function(receiver, a0, a1, a2) {
- return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2);
-};
-J.set$lineCap$x = function(receiver, value) {
- return J.getInterceptor$x(receiver).set$lineCap(receiver, value);
-};
-J.set$lineWidth$x = function(receiver, value) {
- return J.getInterceptor$x(receiver).set$lineWidth(receiver, value);
-};
-J.set$strokeStyle$x = function(receiver, value) {
- return J.getInterceptor$x(receiver).set$strokeStyle(receiver, value);
-};
-J.stroke$0$x = function(receiver) {
- return J.getInterceptor$x(receiver).stroke$0(receiver);
-};
-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);
-});
-// 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 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);
- return;
- }
- if (document.currentScript) {
- callback(document.currentScript);
- return;
- }
-
- var scripts = document.scripts;
- function onLoad(event) {
- for (var i = 0; i < scripts.length; ++i) {
- scripts[i].removeEventListener("load", onLoad, false);
- }
- callback(event.target);
- }
- for (var i = 0; i < scripts.length; ++i) {
- scripts[i].addEventListener("load", onLoad, false);
- }
-})(function(currentScript) {
- init.currentScript = currentScript;
-
- if (typeof dartMainRunner === "function") {
- dartMainRunner(function() { H.startRootIsolate(Y.main$closure); });
- } else {
- 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;
- };
-}
-})()
-function dart_precompiled($collectedClasses) {
- var $desc;
- function HtmlElement() {
- }
- HtmlElement.builtin$cls = "HtmlElement";
- if (!"name" in HtmlElement)
- HtmlElement.name = "HtmlElement";
- $desc = $collectedClasses.HtmlElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- HtmlElement.prototype = $desc;
- function AnchorElement() {
- }
- AnchorElement.builtin$cls = "AnchorElement";
- if (!"name" in AnchorElement)
- AnchorElement.name = "AnchorElement";
- $desc = $collectedClasses.AnchorElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AnchorElement.prototype = $desc;
- function AnimationEvent() {
- }
- AnimationEvent.builtin$cls = "AnimationEvent";
- if (!"name" in AnimationEvent)
- AnimationEvent.name = "AnimationEvent";
- $desc = $collectedClasses.AnimationEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AnimationEvent.prototype = $desc;
- function AreaElement() {
- }
- AreaElement.builtin$cls = "AreaElement";
- if (!"name" in AreaElement)
- AreaElement.name = "AreaElement";
- $desc = $collectedClasses.AreaElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AreaElement.prototype = $desc;
- function AudioElement() {
- }
- AudioElement.builtin$cls = "AudioElement";
- if (!"name" in AudioElement)
- AudioElement.name = "AudioElement";
- $desc = $collectedClasses.AudioElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AudioElement.prototype = $desc;
- function AutocompleteErrorEvent() {
- }
- AutocompleteErrorEvent.builtin$cls = "AutocompleteErrorEvent";
- if (!"name" in AutocompleteErrorEvent)
- AutocompleteErrorEvent.name = "AutocompleteErrorEvent";
- $desc = $collectedClasses.AutocompleteErrorEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AutocompleteErrorEvent.prototype = $desc;
- function BRElement() {
- }
- BRElement.builtin$cls = "BRElement";
- if (!"name" in BRElement)
- BRElement.name = "BRElement";
- $desc = $collectedClasses.BRElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- BRElement.prototype = $desc;
- function BaseElement() {
- }
- BaseElement.builtin$cls = "BaseElement";
- if (!"name" in BaseElement)
- BaseElement.name = "BaseElement";
- $desc = $collectedClasses.BaseElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- BaseElement.prototype = $desc;
- function BeforeLoadEvent() {
- }
- BeforeLoadEvent.builtin$cls = "BeforeLoadEvent";
- if (!"name" in BeforeLoadEvent)
- BeforeLoadEvent.name = "BeforeLoadEvent";
- $desc = $collectedClasses.BeforeLoadEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- BeforeLoadEvent.prototype = $desc;
- function BeforeUnloadEvent() {
- }
- BeforeUnloadEvent.builtin$cls = "BeforeUnloadEvent";
- if (!"name" in BeforeUnloadEvent)
- BeforeUnloadEvent.name = "BeforeUnloadEvent";
- $desc = $collectedClasses.BeforeUnloadEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- BeforeUnloadEvent.prototype = $desc;
- function BodyElement() {
- }
- BodyElement.builtin$cls = "BodyElement";
- if (!"name" in BodyElement)
- BodyElement.name = "BodyElement";
- $desc = $collectedClasses.BodyElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- BodyElement.prototype = $desc;
- function ButtonElement() {
- }
- ButtonElement.builtin$cls = "ButtonElement";
- if (!"name" in ButtonElement)
- ButtonElement.name = "ButtonElement";
- $desc = $collectedClasses.ButtonElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ButtonElement.prototype = $desc;
- function CDataSection() {
- }
- CDataSection.builtin$cls = "CDataSection";
- if (!"name" in CDataSection)
- CDataSection.name = "CDataSection";
- $desc = $collectedClasses.CDataSection;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CDataSection.prototype = $desc;
- function CanvasElement() {
- }
- CanvasElement.builtin$cls = "CanvasElement";
- if (!"name" in CanvasElement)
- CanvasElement.name = "CanvasElement";
- $desc = $collectedClasses.CanvasElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CanvasElement.prototype = $desc;
- function CanvasGradient() {
- }
- CanvasGradient.builtin$cls = "CanvasGradient";
- if (!"name" in CanvasGradient)
- CanvasGradient.name = "CanvasGradient";
- $desc = $collectedClasses.CanvasGradient;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CanvasGradient.prototype = $desc;
- function CanvasPattern() {
- }
- CanvasPattern.builtin$cls = "CanvasPattern";
- if (!"name" in CanvasPattern)
- CanvasPattern.name = "CanvasPattern";
- $desc = $collectedClasses.CanvasPattern;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CanvasPattern.prototype = $desc;
- function CanvasRenderingContext() {
- }
- CanvasRenderingContext.builtin$cls = "CanvasRenderingContext";
- if (!"name" in CanvasRenderingContext)
- CanvasRenderingContext.name = "CanvasRenderingContext";
- $desc = $collectedClasses.CanvasRenderingContext;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CanvasRenderingContext.prototype = $desc;
- function CanvasRenderingContext2D() {
- }
- CanvasRenderingContext2D.builtin$cls = "CanvasRenderingContext2D";
- if (!"name" in CanvasRenderingContext2D)
- CanvasRenderingContext2D.name = "CanvasRenderingContext2D";
- $desc = $collectedClasses.CanvasRenderingContext2D;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CanvasRenderingContext2D.prototype = $desc;
- CanvasRenderingContext2D.prototype.set$lineCap = function(receiver, v) {
- return receiver.lineCap = v;
- };
- CanvasRenderingContext2D.prototype.set$lineWidth = function(receiver, v) {
- return receiver.lineWidth = v;
- };
- CanvasRenderingContext2D.prototype.set$strokeStyle = function(receiver, v) {
- return receiver.strokeStyle = v;
- };
- function CharacterData() {
- }
- CharacterData.builtin$cls = "CharacterData";
- if (!"name" in CharacterData)
- CharacterData.name = "CharacterData";
- $desc = $collectedClasses.CharacterData;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CharacterData.prototype = $desc;
- CharacterData.prototype.get$length = function(receiver) {
- return receiver.length;
- };
- function CloseEvent() {
- }
- CloseEvent.builtin$cls = "CloseEvent";
- if (!"name" in CloseEvent)
- CloseEvent.name = "CloseEvent";
- $desc = $collectedClasses.CloseEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CloseEvent.prototype = $desc;
- function Comment() {
- }
- Comment.builtin$cls = "Comment";
- if (!"name" in Comment)
- Comment.name = "Comment";
- $desc = $collectedClasses.Comment;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Comment.prototype = $desc;
- function CompositionEvent() {
- }
- CompositionEvent.builtin$cls = "CompositionEvent";
- if (!"name" in CompositionEvent)
- CompositionEvent.name = "CompositionEvent";
- $desc = $collectedClasses.CompositionEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CompositionEvent.prototype = $desc;
- function ContentElement() {
- }
- ContentElement.builtin$cls = "ContentElement";
- if (!"name" in ContentElement)
- ContentElement.name = "ContentElement";
- $desc = $collectedClasses.ContentElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ContentElement.prototype = $desc;
- function CssFontFaceLoadEvent() {
- }
- CssFontFaceLoadEvent.builtin$cls = "CssFontFaceLoadEvent";
- if (!"name" in CssFontFaceLoadEvent)
- CssFontFaceLoadEvent.name = "CssFontFaceLoadEvent";
- $desc = $collectedClasses.CssFontFaceLoadEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CssFontFaceLoadEvent.prototype = $desc;
- function CustomEvent() {
- }
- CustomEvent.builtin$cls = "CustomEvent";
- if (!"name" in CustomEvent)
- CustomEvent.name = "CustomEvent";
- $desc = $collectedClasses.CustomEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CustomEvent.prototype = $desc;
- function DListElement() {
- }
- DListElement.builtin$cls = "DListElement";
- if (!"name" in DListElement)
- DListElement.name = "DListElement";
- $desc = $collectedClasses.DListElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DListElement.prototype = $desc;
- function DataListElement() {
- }
- DataListElement.builtin$cls = "DataListElement";
- if (!"name" in DataListElement)
- DataListElement.name = "DataListElement";
- $desc = $collectedClasses.DataListElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DataListElement.prototype = $desc;
- function DetailsElement() {
- }
- DetailsElement.builtin$cls = "DetailsElement";
- if (!"name" in DetailsElement)
- DetailsElement.name = "DetailsElement";
- $desc = $collectedClasses.DetailsElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DetailsElement.prototype = $desc;
- function DeviceMotionEvent() {
- }
- DeviceMotionEvent.builtin$cls = "DeviceMotionEvent";
- if (!"name" in DeviceMotionEvent)
- DeviceMotionEvent.name = "DeviceMotionEvent";
- $desc = $collectedClasses.DeviceMotionEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DeviceMotionEvent.prototype = $desc;
- function DeviceOrientationEvent() {
- }
- DeviceOrientationEvent.builtin$cls = "DeviceOrientationEvent";
- if (!"name" in DeviceOrientationEvent)
- DeviceOrientationEvent.name = "DeviceOrientationEvent";
- $desc = $collectedClasses.DeviceOrientationEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DeviceOrientationEvent.prototype = $desc;
- function DialogElement() {
- }
- DialogElement.builtin$cls = "DialogElement";
- if (!"name" in DialogElement)
- DialogElement.name = "DialogElement";
- $desc = $collectedClasses.DialogElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DialogElement.prototype = $desc;
- function DivElement() {
- }
- DivElement.builtin$cls = "DivElement";
- if (!"name" in DivElement)
- DivElement.name = "DivElement";
- $desc = $collectedClasses.DivElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DivElement.prototype = $desc;
- function Document() {
- }
- Document.builtin$cls = "Document";
- if (!"name" in Document)
- Document.name = "Document";
- $desc = $collectedClasses.Document;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Document.prototype = $desc;
- function DocumentFragment() {
- }
- DocumentFragment.builtin$cls = "DocumentFragment";
- if (!"name" in DocumentFragment)
- DocumentFragment.name = "DocumentFragment";
- $desc = $collectedClasses.DocumentFragment;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DocumentFragment.prototype = $desc;
- function DocumentType() {
- }
- DocumentType.builtin$cls = "DocumentType";
- if (!"name" in DocumentType)
- DocumentType.name = "DocumentType";
- $desc = $collectedClasses.DocumentType;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DocumentType.prototype = $desc;
- function DomError() {
- }
- DomError.builtin$cls = "DomError";
- if (!"name" in DomError)
- DomError.name = "DomError";
- $desc = $collectedClasses.DomError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DomError.prototype = $desc;
- function DomException() {
- }
- DomException.builtin$cls = "DomException";
- if (!"name" in DomException)
- DomException.name = "DomException";
- $desc = $collectedClasses.DomException;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DomException.prototype = $desc;
- function Element() {
- }
- Element.builtin$cls = "Element";
- if (!"name" in Element)
- Element.name = "Element";
- $desc = $collectedClasses.Element;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Element.prototype = $desc;
- function EmbedElement() {
- }
- EmbedElement.builtin$cls = "EmbedElement";
- if (!"name" in EmbedElement)
- EmbedElement.name = "EmbedElement";
- $desc = $collectedClasses.EmbedElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- EmbedElement.prototype = $desc;
- function ErrorEvent() {
- }
- ErrorEvent.builtin$cls = "ErrorEvent";
- if (!"name" in ErrorEvent)
- ErrorEvent.name = "ErrorEvent";
- $desc = $collectedClasses.ErrorEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ErrorEvent.prototype = $desc;
- ErrorEvent.prototype.get$error = function(receiver) {
- return receiver.error;
- };
- function Event() {
- }
- Event.builtin$cls = "Event";
- if (!"name" in Event)
- Event.name = "Event";
- $desc = $collectedClasses.Event;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Event.prototype = $desc;
- function EventTarget() {
- }
- EventTarget.builtin$cls = "EventTarget";
- if (!"name" in EventTarget)
- EventTarget.name = "EventTarget";
- $desc = $collectedClasses.EventTarget;
- if ($desc instanceof Array)
- $desc = $desc[1];
- EventTarget.prototype = $desc;
- function FieldSetElement() {
- }
- FieldSetElement.builtin$cls = "FieldSetElement";
- if (!"name" in FieldSetElement)
- FieldSetElement.name = "FieldSetElement";
- $desc = $collectedClasses.FieldSetElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FieldSetElement.prototype = $desc;
- function FileError() {
- }
- FileError.builtin$cls = "FileError";
- if (!"name" in FileError)
- FileError.name = "FileError";
- $desc = $collectedClasses.FileError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FileError.prototype = $desc;
- function FocusEvent() {
- }
- FocusEvent.builtin$cls = "FocusEvent";
- if (!"name" in FocusEvent)
- FocusEvent.name = "FocusEvent";
- $desc = $collectedClasses.FocusEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FocusEvent.prototype = $desc;
- function FormElement() {
- }
- FormElement.builtin$cls = "FormElement";
- if (!"name" in FormElement)
- FormElement.name = "FormElement";
- $desc = $collectedClasses.FormElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FormElement.prototype = $desc;
- FormElement.prototype.get$length = function(receiver) {
- return receiver.length;
- };
- function HRElement() {
- }
- HRElement.builtin$cls = "HRElement";
- if (!"name" in HRElement)
- HRElement.name = "HRElement";
- $desc = $collectedClasses.HRElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- HRElement.prototype = $desc;
- function HashChangeEvent() {
- }
- HashChangeEvent.builtin$cls = "HashChangeEvent";
- if (!"name" in HashChangeEvent)
- HashChangeEvent.name = "HashChangeEvent";
- $desc = $collectedClasses.HashChangeEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- HashChangeEvent.prototype = $desc;
- function HeadElement() {
- }
- HeadElement.builtin$cls = "HeadElement";
- if (!"name" in HeadElement)
- HeadElement.name = "HeadElement";
- $desc = $collectedClasses.HeadElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- HeadElement.prototype = $desc;
- function HeadingElement() {
- }
- HeadingElement.builtin$cls = "HeadingElement";
- if (!"name" in HeadingElement)
- HeadingElement.name = "HeadingElement";
- $desc = $collectedClasses.HeadingElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- HeadingElement.prototype = $desc;
- function HtmlDocument() {
- }
- HtmlDocument.builtin$cls = "HtmlDocument";
- if (!"name" in HtmlDocument)
- HtmlDocument.name = "HtmlDocument";
- $desc = $collectedClasses.HtmlDocument;
- if ($desc instanceof Array)
- $desc = $desc[1];
- HtmlDocument.prototype = $desc;
- function HtmlHtmlElement() {
- }
- HtmlHtmlElement.builtin$cls = "HtmlHtmlElement";
- if (!"name" in HtmlHtmlElement)
- HtmlHtmlElement.name = "HtmlHtmlElement";
- $desc = $collectedClasses.HtmlHtmlElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- HtmlHtmlElement.prototype = $desc;
- function IFrameElement() {
- }
- IFrameElement.builtin$cls = "IFrameElement";
- if (!"name" in IFrameElement)
- IFrameElement.name = "IFrameElement";
- $desc = $collectedClasses.IFrameElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- IFrameElement.prototype = $desc;
- function ImageElement() {
- }
- ImageElement.builtin$cls = "ImageElement";
- if (!"name" in ImageElement)
- ImageElement.name = "ImageElement";
- $desc = $collectedClasses.ImageElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ImageElement.prototype = $desc;
- function InputElement() {
- }
- InputElement.builtin$cls = "InputElement";
- if (!"name" in InputElement)
- InputElement.name = "InputElement";
- $desc = $collectedClasses.InputElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- InputElement.prototype = $desc;
- function KeyboardEvent() {
- }
- KeyboardEvent.builtin$cls = "KeyboardEvent";
- if (!"name" in KeyboardEvent)
- KeyboardEvent.name = "KeyboardEvent";
- $desc = $collectedClasses.KeyboardEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- KeyboardEvent.prototype = $desc;
- function KeygenElement() {
- }
- KeygenElement.builtin$cls = "KeygenElement";
- if (!"name" in KeygenElement)
- KeygenElement.name = "KeygenElement";
- $desc = $collectedClasses.KeygenElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- KeygenElement.prototype = $desc;
- function LIElement() {
- }
- LIElement.builtin$cls = "LIElement";
- if (!"name" in LIElement)
- LIElement.name = "LIElement";
- $desc = $collectedClasses.LIElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- LIElement.prototype = $desc;
- function LabelElement() {
- }
- LabelElement.builtin$cls = "LabelElement";
- if (!"name" in LabelElement)
- LabelElement.name = "LabelElement";
- $desc = $collectedClasses.LabelElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- LabelElement.prototype = $desc;
- function LegendElement() {
- }
- LegendElement.builtin$cls = "LegendElement";
- if (!"name" in LegendElement)
- LegendElement.name = "LegendElement";
- $desc = $collectedClasses.LegendElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- LegendElement.prototype = $desc;
- function LinkElement() {
- }
- LinkElement.builtin$cls = "LinkElement";
- if (!"name" in LinkElement)
- LinkElement.name = "LinkElement";
- $desc = $collectedClasses.LinkElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- LinkElement.prototype = $desc;
- function MapElement() {
- }
- MapElement.builtin$cls = "MapElement";
- if (!"name" in MapElement)
- MapElement.name = "MapElement";
- $desc = $collectedClasses.MapElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MapElement.prototype = $desc;
- function MediaElement() {
- }
- MediaElement.builtin$cls = "MediaElement";
- if (!"name" in MediaElement)
- MediaElement.name = "MediaElement";
- $desc = $collectedClasses.MediaElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MediaElement.prototype = $desc;
- MediaElement.prototype.get$error = function(receiver) {
- return receiver.error;
- };
- function MediaError() {
- }
- MediaError.builtin$cls = "MediaError";
- if (!"name" in MediaError)
- MediaError.name = "MediaError";
- $desc = $collectedClasses.MediaError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MediaError.prototype = $desc;
- function MediaKeyError() {
- }
- MediaKeyError.builtin$cls = "MediaKeyError";
- if (!"name" in MediaKeyError)
- MediaKeyError.name = "MediaKeyError";
- $desc = $collectedClasses.MediaKeyError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MediaKeyError.prototype = $desc;
- function MediaKeyEvent() {
- }
- MediaKeyEvent.builtin$cls = "MediaKeyEvent";
- if (!"name" in MediaKeyEvent)
- MediaKeyEvent.name = "MediaKeyEvent";
- $desc = $collectedClasses.MediaKeyEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MediaKeyEvent.prototype = $desc;
- function MediaKeyMessageEvent() {
- }
- MediaKeyMessageEvent.builtin$cls = "MediaKeyMessageEvent";
- if (!"name" in MediaKeyMessageEvent)
- MediaKeyMessageEvent.name = "MediaKeyMessageEvent";
- $desc = $collectedClasses.MediaKeyMessageEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MediaKeyMessageEvent.prototype = $desc;
- function MediaKeyNeededEvent() {
- }
- MediaKeyNeededEvent.builtin$cls = "MediaKeyNeededEvent";
- if (!"name" in MediaKeyNeededEvent)
- MediaKeyNeededEvent.name = "MediaKeyNeededEvent";
- $desc = $collectedClasses.MediaKeyNeededEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MediaKeyNeededEvent.prototype = $desc;
- function MediaStream() {
- }
- MediaStream.builtin$cls = "MediaStream";
- if (!"name" in MediaStream)
- MediaStream.name = "MediaStream";
- $desc = $collectedClasses.MediaStream;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MediaStream.prototype = $desc;
- function MediaStreamEvent() {
- }
- MediaStreamEvent.builtin$cls = "MediaStreamEvent";
- if (!"name" in MediaStreamEvent)
- MediaStreamEvent.name = "MediaStreamEvent";
- $desc = $collectedClasses.MediaStreamEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MediaStreamEvent.prototype = $desc;
- function MediaStreamTrackEvent() {
- }
- MediaStreamTrackEvent.builtin$cls = "MediaStreamTrackEvent";
- if (!"name" in MediaStreamTrackEvent)
- MediaStreamTrackEvent.name = "MediaStreamTrackEvent";
- $desc = $collectedClasses.MediaStreamTrackEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MediaStreamTrackEvent.prototype = $desc;
- function MenuElement() {
- }
- MenuElement.builtin$cls = "MenuElement";
- if (!"name" in MenuElement)
- MenuElement.name = "MenuElement";
- $desc = $collectedClasses.MenuElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MenuElement.prototype = $desc;
- function MessageEvent() {
- }
- MessageEvent.builtin$cls = "MessageEvent";
- if (!"name" in MessageEvent)
- MessageEvent.name = "MessageEvent";
- $desc = $collectedClasses.MessageEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MessageEvent.prototype = $desc;
- function MetaElement() {
- }
- MetaElement.builtin$cls = "MetaElement";
- if (!"name" in MetaElement)
- MetaElement.name = "MetaElement";
- $desc = $collectedClasses.MetaElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MetaElement.prototype = $desc;
- function MeterElement() {
- }
- MeterElement.builtin$cls = "MeterElement";
- if (!"name" in MeterElement)
- MeterElement.name = "MeterElement";
- $desc = $collectedClasses.MeterElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MeterElement.prototype = $desc;
- function MidiConnectionEvent() {
- }
- MidiConnectionEvent.builtin$cls = "MidiConnectionEvent";
- if (!"name" in MidiConnectionEvent)
- MidiConnectionEvent.name = "MidiConnectionEvent";
- $desc = $collectedClasses.MidiConnectionEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MidiConnectionEvent.prototype = $desc;
- function MidiMessageEvent() {
- }
- MidiMessageEvent.builtin$cls = "MidiMessageEvent";
- if (!"name" in MidiMessageEvent)
- MidiMessageEvent.name = "MidiMessageEvent";
- $desc = $collectedClasses.MidiMessageEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MidiMessageEvent.prototype = $desc;
- function ModElement() {
- }
- ModElement.builtin$cls = "ModElement";
- if (!"name" in ModElement)
- ModElement.name = "ModElement";
- $desc = $collectedClasses.ModElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ModElement.prototype = $desc;
- function MouseEvent() {
- }
- MouseEvent.builtin$cls = "MouseEvent";
- if (!"name" in MouseEvent)
- MouseEvent.name = "MouseEvent";
- $desc = $collectedClasses.MouseEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MouseEvent.prototype = $desc;
- function Navigator() {
- }
- Navigator.builtin$cls = "Navigator";
- if (!"name" in Navigator)
- Navigator.name = "Navigator";
- $desc = $collectedClasses.Navigator;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Navigator.prototype = $desc;
- function NavigatorUserMediaError() {
- }
- NavigatorUserMediaError.builtin$cls = "NavigatorUserMediaError";
- if (!"name" in NavigatorUserMediaError)
- NavigatorUserMediaError.name = "NavigatorUserMediaError";
- $desc = $collectedClasses.NavigatorUserMediaError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- NavigatorUserMediaError.prototype = $desc;
- function Node() {
- }
- Node.builtin$cls = "Node";
- if (!"name" in Node)
- Node.name = "Node";
- $desc = $collectedClasses.Node;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Node.prototype = $desc;
- function OListElement() {
- }
- OListElement.builtin$cls = "OListElement";
- if (!"name" in OListElement)
- OListElement.name = "OListElement";
- $desc = $collectedClasses.OListElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- OListElement.prototype = $desc;
- function ObjectElement() {
- }
- ObjectElement.builtin$cls = "ObjectElement";
- if (!"name" in ObjectElement)
- ObjectElement.name = "ObjectElement";
- $desc = $collectedClasses.ObjectElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ObjectElement.prototype = $desc;
- function OptGroupElement() {
- }
- OptGroupElement.builtin$cls = "OptGroupElement";
- if (!"name" in OptGroupElement)
- OptGroupElement.name = "OptGroupElement";
- $desc = $collectedClasses.OptGroupElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- OptGroupElement.prototype = $desc;
- function OptionElement() {
- }
- OptionElement.builtin$cls = "OptionElement";
- if (!"name" in OptionElement)
- OptionElement.name = "OptionElement";
- $desc = $collectedClasses.OptionElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- OptionElement.prototype = $desc;
- function OutputElement() {
- }
- OutputElement.builtin$cls = "OutputElement";
- if (!"name" in OutputElement)
- OutputElement.name = "OutputElement";
- $desc = $collectedClasses.OutputElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- OutputElement.prototype = $desc;
- function OverflowEvent() {
- }
- OverflowEvent.builtin$cls = "OverflowEvent";
- if (!"name" in OverflowEvent)
- OverflowEvent.name = "OverflowEvent";
- $desc = $collectedClasses.OverflowEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- OverflowEvent.prototype = $desc;
- function PageTransitionEvent() {
- }
- PageTransitionEvent.builtin$cls = "PageTransitionEvent";
- if (!"name" in PageTransitionEvent)
- PageTransitionEvent.name = "PageTransitionEvent";
- $desc = $collectedClasses.PageTransitionEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- PageTransitionEvent.prototype = $desc;
- function ParagraphElement() {
- }
- ParagraphElement.builtin$cls = "ParagraphElement";
- if (!"name" in ParagraphElement)
- ParagraphElement.name = "ParagraphElement";
- $desc = $collectedClasses.ParagraphElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ParagraphElement.prototype = $desc;
- function ParamElement() {
- }
- ParamElement.builtin$cls = "ParamElement";
- if (!"name" in ParamElement)
- ParamElement.name = "ParamElement";
- $desc = $collectedClasses.ParamElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ParamElement.prototype = $desc;
- function PopStateEvent() {
- }
- PopStateEvent.builtin$cls = "PopStateEvent";
- if (!"name" in PopStateEvent)
- PopStateEvent.name = "PopStateEvent";
- $desc = $collectedClasses.PopStateEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- PopStateEvent.prototype = $desc;
- function PositionError() {
- }
- PositionError.builtin$cls = "PositionError";
- if (!"name" in PositionError)
- PositionError.name = "PositionError";
- $desc = $collectedClasses.PositionError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- PositionError.prototype = $desc;
- function PreElement() {
- }
- PreElement.builtin$cls = "PreElement";
- if (!"name" in PreElement)
- PreElement.name = "PreElement";
- $desc = $collectedClasses.PreElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- PreElement.prototype = $desc;
- function ProcessingInstruction() {
- }
- ProcessingInstruction.builtin$cls = "ProcessingInstruction";
- if (!"name" in ProcessingInstruction)
- ProcessingInstruction.name = "ProcessingInstruction";
- $desc = $collectedClasses.ProcessingInstruction;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ProcessingInstruction.prototype = $desc;
- function ProgressElement() {
- }
- ProgressElement.builtin$cls = "ProgressElement";
- if (!"name" in ProgressElement)
- ProgressElement.name = "ProgressElement";
- $desc = $collectedClasses.ProgressElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ProgressElement.prototype = $desc;
- function ProgressEvent() {
- }
- ProgressEvent.builtin$cls = "ProgressEvent";
- if (!"name" in ProgressEvent)
- ProgressEvent.name = "ProgressEvent";
- $desc = $collectedClasses.ProgressEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ProgressEvent.prototype = $desc;
- function QuoteElement() {
- }
- QuoteElement.builtin$cls = "QuoteElement";
- if (!"name" in QuoteElement)
- QuoteElement.name = "QuoteElement";
- $desc = $collectedClasses.QuoteElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- QuoteElement.prototype = $desc;
- function ResourceProgressEvent() {
- }
- ResourceProgressEvent.builtin$cls = "ResourceProgressEvent";
- if (!"name" in ResourceProgressEvent)
- ResourceProgressEvent.name = "ResourceProgressEvent";
- $desc = $collectedClasses.ResourceProgressEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ResourceProgressEvent.prototype = $desc;
- function RtcDataChannelEvent() {
- }
- RtcDataChannelEvent.builtin$cls = "RtcDataChannelEvent";
- if (!"name" in RtcDataChannelEvent)
- RtcDataChannelEvent.name = "RtcDataChannelEvent";
- $desc = $collectedClasses.RtcDataChannelEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- RtcDataChannelEvent.prototype = $desc;
- function RtcDtmfToneChangeEvent() {
- }
- RtcDtmfToneChangeEvent.builtin$cls = "RtcDtmfToneChangeEvent";
- if (!"name" in RtcDtmfToneChangeEvent)
- RtcDtmfToneChangeEvent.name = "RtcDtmfToneChangeEvent";
- $desc = $collectedClasses.RtcDtmfToneChangeEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- RtcDtmfToneChangeEvent.prototype = $desc;
- function RtcIceCandidateEvent() {
- }
- RtcIceCandidateEvent.builtin$cls = "RtcIceCandidateEvent";
- if (!"name" in RtcIceCandidateEvent)
- RtcIceCandidateEvent.name = "RtcIceCandidateEvent";
- $desc = $collectedClasses.RtcIceCandidateEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- RtcIceCandidateEvent.prototype = $desc;
- function ScriptElement() {
- }
- ScriptElement.builtin$cls = "ScriptElement";
- if (!"name" in ScriptElement)
- ScriptElement.name = "ScriptElement";
- $desc = $collectedClasses.ScriptElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ScriptElement.prototype = $desc;
- function SecurityPolicyViolationEvent() {
- }
- SecurityPolicyViolationEvent.builtin$cls = "SecurityPolicyViolationEvent";
- if (!"name" in SecurityPolicyViolationEvent)
- SecurityPolicyViolationEvent.name = "SecurityPolicyViolationEvent";
- $desc = $collectedClasses.SecurityPolicyViolationEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SecurityPolicyViolationEvent.prototype = $desc;
- function SelectElement() {
- }
- SelectElement.builtin$cls = "SelectElement";
- if (!"name" in SelectElement)
- SelectElement.name = "SelectElement";
- $desc = $collectedClasses.SelectElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SelectElement.prototype = $desc;
- SelectElement.prototype.get$length = function(receiver) {
- return receiver.length;
- };
- function ShadowElement() {
- }
- ShadowElement.builtin$cls = "ShadowElement";
- if (!"name" in ShadowElement)
- ShadowElement.name = "ShadowElement";
- $desc = $collectedClasses.ShadowElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ShadowElement.prototype = $desc;
- function ShadowRoot() {
- }
- ShadowRoot.builtin$cls = "ShadowRoot";
- if (!"name" in ShadowRoot)
- ShadowRoot.name = "ShadowRoot";
- $desc = $collectedClasses.ShadowRoot;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ShadowRoot.prototype = $desc;
- function SourceElement() {
- }
- SourceElement.builtin$cls = "SourceElement";
- if (!"name" in SourceElement)
- SourceElement.name = "SourceElement";
- $desc = $collectedClasses.SourceElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SourceElement.prototype = $desc;
- function SpanElement() {
- }
- SpanElement.builtin$cls = "SpanElement";
- if (!"name" in SpanElement)
- SpanElement.name = "SpanElement";
- $desc = $collectedClasses.SpanElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SpanElement.prototype = $desc;
- function SpeechInputEvent() {
- }
- SpeechInputEvent.builtin$cls = "SpeechInputEvent";
- if (!"name" in SpeechInputEvent)
- SpeechInputEvent.name = "SpeechInputEvent";
- $desc = $collectedClasses.SpeechInputEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SpeechInputEvent.prototype = $desc;
- function SpeechRecognitionError() {
- }
- SpeechRecognitionError.builtin$cls = "SpeechRecognitionError";
- if (!"name" in SpeechRecognitionError)
- SpeechRecognitionError.name = "SpeechRecognitionError";
- $desc = $collectedClasses.SpeechRecognitionError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SpeechRecognitionError.prototype = $desc;
- SpeechRecognitionError.prototype.get$error = function(receiver) {
- return receiver.error;
- };
- function SpeechRecognitionEvent() {
- }
- SpeechRecognitionEvent.builtin$cls = "SpeechRecognitionEvent";
- if (!"name" in SpeechRecognitionEvent)
- SpeechRecognitionEvent.name = "SpeechRecognitionEvent";
- $desc = $collectedClasses.SpeechRecognitionEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SpeechRecognitionEvent.prototype = $desc;
- function SpeechSynthesisEvent() {
- }
- SpeechSynthesisEvent.builtin$cls = "SpeechSynthesisEvent";
- if (!"name" in SpeechSynthesisEvent)
- SpeechSynthesisEvent.name = "SpeechSynthesisEvent";
- $desc = $collectedClasses.SpeechSynthesisEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SpeechSynthesisEvent.prototype = $desc;
- function StorageEvent() {
- }
- StorageEvent.builtin$cls = "StorageEvent";
- if (!"name" in StorageEvent)
- StorageEvent.name = "StorageEvent";
- $desc = $collectedClasses.StorageEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- StorageEvent.prototype = $desc;
- function StyleElement() {
- }
- StyleElement.builtin$cls = "StyleElement";
- if (!"name" in StyleElement)
- StyleElement.name = "StyleElement";
- $desc = $collectedClasses.StyleElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- StyleElement.prototype = $desc;
- function TableCaptionElement() {
- }
- TableCaptionElement.builtin$cls = "TableCaptionElement";
- if (!"name" in TableCaptionElement)
- TableCaptionElement.name = "TableCaptionElement";
- $desc = $collectedClasses.TableCaptionElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TableCaptionElement.prototype = $desc;
- function TableCellElement() {
- }
- TableCellElement.builtin$cls = "TableCellElement";
- if (!"name" in TableCellElement)
- TableCellElement.name = "TableCellElement";
- $desc = $collectedClasses.TableCellElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TableCellElement.prototype = $desc;
- function TableColElement() {
- }
- TableColElement.builtin$cls = "TableColElement";
- if (!"name" in TableColElement)
- TableColElement.name = "TableColElement";
- $desc = $collectedClasses.TableColElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TableColElement.prototype = $desc;
- function TableElement() {
- }
- TableElement.builtin$cls = "TableElement";
- if (!"name" in TableElement)
- TableElement.name = "TableElement";
- $desc = $collectedClasses.TableElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TableElement.prototype = $desc;
- function TableRowElement() {
- }
- TableRowElement.builtin$cls = "TableRowElement";
- if (!"name" in TableRowElement)
- TableRowElement.name = "TableRowElement";
- $desc = $collectedClasses.TableRowElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TableRowElement.prototype = $desc;
- function TableSectionElement() {
- }
- TableSectionElement.builtin$cls = "TableSectionElement";
- if (!"name" in TableSectionElement)
- TableSectionElement.name = "TableSectionElement";
- $desc = $collectedClasses.TableSectionElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TableSectionElement.prototype = $desc;
- function TemplateElement() {
- }
- TemplateElement.builtin$cls = "TemplateElement";
- if (!"name" in TemplateElement)
- TemplateElement.name = "TemplateElement";
- $desc = $collectedClasses.TemplateElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TemplateElement.prototype = $desc;
- function Text() {
- }
- Text.builtin$cls = "Text";
- if (!"name" in Text)
- Text.name = "Text";
- $desc = $collectedClasses.Text;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Text.prototype = $desc;
- function TextAreaElement() {
- }
- TextAreaElement.builtin$cls = "TextAreaElement";
- if (!"name" in TextAreaElement)
- TextAreaElement.name = "TextAreaElement";
- $desc = $collectedClasses.TextAreaElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TextAreaElement.prototype = $desc;
- function TextEvent() {
- }
- TextEvent.builtin$cls = "TextEvent";
- if (!"name" in TextEvent)
- TextEvent.name = "TextEvent";
- $desc = $collectedClasses.TextEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TextEvent.prototype = $desc;
- function TitleElement() {
- }
- TitleElement.builtin$cls = "TitleElement";
- if (!"name" in TitleElement)
- TitleElement.name = "TitleElement";
- $desc = $collectedClasses.TitleElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TitleElement.prototype = $desc;
- function Touch() {
- }
- Touch.builtin$cls = "Touch";
- if (!"name" in Touch)
- Touch.name = "Touch";
- $desc = $collectedClasses.Touch;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Touch.prototype = $desc;
- Touch.prototype.get$identifier = function(receiver) {
- return receiver.identifier;
- };
- function TouchEvent() {
- }
- TouchEvent.builtin$cls = "TouchEvent";
- if (!"name" in TouchEvent)
- TouchEvent.name = "TouchEvent";
- $desc = $collectedClasses.TouchEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TouchEvent.prototype = $desc;
- TouchEvent.prototype.get$touches = function(receiver) {
- return receiver.touches;
- };
- function TouchList() {
- }
- TouchList.builtin$cls = "TouchList";
- if (!"name" in TouchList)
- TouchList.name = "TouchList";
- $desc = $collectedClasses.TouchList;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TouchList.prototype = $desc;
- function TrackElement() {
- }
- TrackElement.builtin$cls = "TrackElement";
- if (!"name" in TrackElement)
- TrackElement.name = "TrackElement";
- $desc = $collectedClasses.TrackElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TrackElement.prototype = $desc;
- function TrackEvent() {
- }
- TrackEvent.builtin$cls = "TrackEvent";
- if (!"name" in TrackEvent)
- TrackEvent.name = "TrackEvent";
- $desc = $collectedClasses.TrackEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TrackEvent.prototype = $desc;
- function TransitionEvent() {
- }
- TransitionEvent.builtin$cls = "TransitionEvent";
- if (!"name" in TransitionEvent)
- TransitionEvent.name = "TransitionEvent";
- $desc = $collectedClasses.TransitionEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TransitionEvent.prototype = $desc;
- function UIEvent() {
- }
- UIEvent.builtin$cls = "UIEvent";
- if (!"name" in UIEvent)
- UIEvent.name = "UIEvent";
- $desc = $collectedClasses.UIEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- UIEvent.prototype = $desc;
- function UListElement() {
- }
- UListElement.builtin$cls = "UListElement";
- if (!"name" in UListElement)
- UListElement.name = "UListElement";
- $desc = $collectedClasses.UListElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- UListElement.prototype = $desc;
- function UnknownElement() {
- }
- UnknownElement.builtin$cls = "UnknownElement";
- if (!"name" in UnknownElement)
- UnknownElement.name = "UnknownElement";
- $desc = $collectedClasses.UnknownElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- UnknownElement.prototype = $desc;
- function VideoElement() {
- }
- VideoElement.builtin$cls = "VideoElement";
- if (!"name" in VideoElement)
- VideoElement.name = "VideoElement";
- $desc = $collectedClasses.VideoElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- VideoElement.prototype = $desc;
- function WheelEvent() {
- }
- WheelEvent.builtin$cls = "WheelEvent";
- if (!"name" in WheelEvent)
- WheelEvent.name = "WheelEvent";
- $desc = $collectedClasses.WheelEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- WheelEvent.prototype = $desc;
- function Window() {
- }
- Window.builtin$cls = "Window";
- if (!"name" in Window)
- Window.name = "Window";
- $desc = $collectedClasses.Window;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Window.prototype = $desc;
- function _Attr() {
- }
- _Attr.builtin$cls = "_Attr";
- if (!"name" in _Attr)
- _Attr.name = "_Attr";
- $desc = $collectedClasses._Attr;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Attr.prototype = $desc;
- function _ClientRect() {
- }
- _ClientRect.builtin$cls = "_ClientRect";
- if (!"name" in _ClientRect)
- _ClientRect.name = "_ClientRect";
- $desc = $collectedClasses._ClientRect;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _ClientRect.prototype = $desc;
- _ClientRect.prototype.get$height = function(receiver) {
- return receiver.height;
- };
- _ClientRect.prototype.get$left = function(receiver) {
- return receiver.left;
- };
- _ClientRect.prototype.get$top = function(receiver) {
- return receiver.top;
- };
- _ClientRect.prototype.get$width = function(receiver) {
- return receiver.width;
- };
- function _Entity() {
- }
- _Entity.builtin$cls = "_Entity";
- if (!"name" in _Entity)
- _Entity.name = "_Entity";
- $desc = $collectedClasses._Entity;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Entity.prototype = $desc;
- function _HTMLAppletElement() {
- }
- _HTMLAppletElement.builtin$cls = "_HTMLAppletElement";
- if (!"name" in _HTMLAppletElement)
- _HTMLAppletElement.name = "_HTMLAppletElement";
- $desc = $collectedClasses._HTMLAppletElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _HTMLAppletElement.prototype = $desc;
- function _HTMLBaseFontElement() {
- }
- _HTMLBaseFontElement.builtin$cls = "_HTMLBaseFontElement";
- if (!"name" in _HTMLBaseFontElement)
- _HTMLBaseFontElement.name = "_HTMLBaseFontElement";
- $desc = $collectedClasses._HTMLBaseFontElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _HTMLBaseFontElement.prototype = $desc;
- function _HTMLDirectoryElement() {
- }
- _HTMLDirectoryElement.builtin$cls = "_HTMLDirectoryElement";
- if (!"name" in _HTMLDirectoryElement)
- _HTMLDirectoryElement.name = "_HTMLDirectoryElement";
- $desc = $collectedClasses._HTMLDirectoryElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _HTMLDirectoryElement.prototype = $desc;
- function _HTMLFontElement() {
- }
- _HTMLFontElement.builtin$cls = "_HTMLFontElement";
- if (!"name" in _HTMLFontElement)
- _HTMLFontElement.name = "_HTMLFontElement";
- $desc = $collectedClasses._HTMLFontElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _HTMLFontElement.prototype = $desc;
- function _HTMLFrameElement() {
- }
- _HTMLFrameElement.builtin$cls = "_HTMLFrameElement";
- if (!"name" in _HTMLFrameElement)
- _HTMLFrameElement.name = "_HTMLFrameElement";
- $desc = $collectedClasses._HTMLFrameElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _HTMLFrameElement.prototype = $desc;
- function _HTMLFrameSetElement() {
- }
- _HTMLFrameSetElement.builtin$cls = "_HTMLFrameSetElement";
- if (!"name" in _HTMLFrameSetElement)
- _HTMLFrameSetElement.name = "_HTMLFrameSetElement";
- $desc = $collectedClasses._HTMLFrameSetElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _HTMLFrameSetElement.prototype = $desc;
- function _HTMLMarqueeElement() {
- }
- _HTMLMarqueeElement.builtin$cls = "_HTMLMarqueeElement";
- if (!"name" in _HTMLMarqueeElement)
- _HTMLMarqueeElement.name = "_HTMLMarqueeElement";
- $desc = $collectedClasses._HTMLMarqueeElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _HTMLMarqueeElement.prototype = $desc;
- function _MutationEvent() {
- }
- _MutationEvent.builtin$cls = "_MutationEvent";
- if (!"name" in _MutationEvent)
- _MutationEvent.name = "_MutationEvent";
- $desc = $collectedClasses._MutationEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _MutationEvent.prototype = $desc;
- function _Notation() {
- }
- _Notation.builtin$cls = "_Notation";
- if (!"name" in _Notation)
- _Notation.name = "_Notation";
- $desc = $collectedClasses._Notation;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Notation.prototype = $desc;
- function _XMLHttpRequestProgressEvent() {
- }
- _XMLHttpRequestProgressEvent.builtin$cls = "_XMLHttpRequestProgressEvent";
- if (!"name" in _XMLHttpRequestProgressEvent)
- _XMLHttpRequestProgressEvent.name = "_XMLHttpRequestProgressEvent";
- $desc = $collectedClasses._XMLHttpRequestProgressEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _XMLHttpRequestProgressEvent.prototype = $desc;
- function VersionChangeEvent() {
- }
- VersionChangeEvent.builtin$cls = "VersionChangeEvent";
- if (!"name" in VersionChangeEvent)
- VersionChangeEvent.name = "VersionChangeEvent";
- $desc = $collectedClasses.VersionChangeEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- VersionChangeEvent.prototype = $desc;
- function AElement() {
- }
- AElement.builtin$cls = "AElement";
- if (!"name" in AElement)
- AElement.name = "AElement";
- $desc = $collectedClasses.AElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AElement.prototype = $desc;
- function AltGlyphElement() {
- }
- AltGlyphElement.builtin$cls = "AltGlyphElement";
- if (!"name" in AltGlyphElement)
- AltGlyphElement.name = "AltGlyphElement";
- $desc = $collectedClasses.AltGlyphElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AltGlyphElement.prototype = $desc;
- function AnimateElement() {
- }
- AnimateElement.builtin$cls = "AnimateElement";
- if (!"name" in AnimateElement)
- AnimateElement.name = "AnimateElement";
- $desc = $collectedClasses.AnimateElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AnimateElement.prototype = $desc;
- function AnimateMotionElement() {
- }
- AnimateMotionElement.builtin$cls = "AnimateMotionElement";
- if (!"name" in AnimateMotionElement)
- AnimateMotionElement.name = "AnimateMotionElement";
- $desc = $collectedClasses.AnimateMotionElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AnimateMotionElement.prototype = $desc;
- function AnimateTransformElement() {
- }
- AnimateTransformElement.builtin$cls = "AnimateTransformElement";
- if (!"name" in AnimateTransformElement)
- AnimateTransformElement.name = "AnimateTransformElement";
- $desc = $collectedClasses.AnimateTransformElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AnimateTransformElement.prototype = $desc;
- function AnimatedLength() {
- }
- AnimatedLength.builtin$cls = "AnimatedLength";
- if (!"name" in AnimatedLength)
- AnimatedLength.name = "AnimatedLength";
- $desc = $collectedClasses.AnimatedLength;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AnimatedLength.prototype = $desc;
- function AnimatedLengthList() {
- }
- AnimatedLengthList.builtin$cls = "AnimatedLengthList";
- if (!"name" in AnimatedLengthList)
- AnimatedLengthList.name = "AnimatedLengthList";
- $desc = $collectedClasses.AnimatedLengthList;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AnimatedLengthList.prototype = $desc;
- function AnimatedNumber() {
- }
- AnimatedNumber.builtin$cls = "AnimatedNumber";
- if (!"name" in AnimatedNumber)
- AnimatedNumber.name = "AnimatedNumber";
- $desc = $collectedClasses.AnimatedNumber;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AnimatedNumber.prototype = $desc;
- function AnimatedNumberList() {
- }
- AnimatedNumberList.builtin$cls = "AnimatedNumberList";
- if (!"name" in AnimatedNumberList)
- AnimatedNumberList.name = "AnimatedNumberList";
- $desc = $collectedClasses.AnimatedNumberList;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AnimatedNumberList.prototype = $desc;
- function AnimatedString() {
- }
- AnimatedString.builtin$cls = "AnimatedString";
- if (!"name" in AnimatedString)
- AnimatedString.name = "AnimatedString";
- $desc = $collectedClasses.AnimatedString;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AnimatedString.prototype = $desc;
- function AnimationElement() {
- }
- AnimationElement.builtin$cls = "AnimationElement";
- if (!"name" in AnimationElement)
- AnimationElement.name = "AnimationElement";
- $desc = $collectedClasses.AnimationElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AnimationElement.prototype = $desc;
- function CircleElement() {
- }
- CircleElement.builtin$cls = "CircleElement";
- if (!"name" in CircleElement)
- CircleElement.name = "CircleElement";
- $desc = $collectedClasses.CircleElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CircleElement.prototype = $desc;
- function ClipPathElement() {
- }
- ClipPathElement.builtin$cls = "ClipPathElement";
- if (!"name" in ClipPathElement)
- ClipPathElement.name = "ClipPathElement";
- $desc = $collectedClasses.ClipPathElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ClipPathElement.prototype = $desc;
- function DefsElement() {
- }
- DefsElement.builtin$cls = "DefsElement";
- if (!"name" in DefsElement)
- DefsElement.name = "DefsElement";
- $desc = $collectedClasses.DefsElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DefsElement.prototype = $desc;
- function DescElement() {
- }
- DescElement.builtin$cls = "DescElement";
- if (!"name" in DescElement)
- DescElement.name = "DescElement";
- $desc = $collectedClasses.DescElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- DescElement.prototype = $desc;
- function EllipseElement() {
- }
- EllipseElement.builtin$cls = "EllipseElement";
- if (!"name" in EllipseElement)
- EllipseElement.name = "EllipseElement";
- $desc = $collectedClasses.EllipseElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- EllipseElement.prototype = $desc;
- function FEBlendElement() {
- }
- FEBlendElement.builtin$cls = "FEBlendElement";
- if (!"name" in FEBlendElement)
- FEBlendElement.name = "FEBlendElement";
- $desc = $collectedClasses.FEBlendElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEBlendElement.prototype = $desc;
- function FEColorMatrixElement() {
- }
- FEColorMatrixElement.builtin$cls = "FEColorMatrixElement";
- if (!"name" in FEColorMatrixElement)
- FEColorMatrixElement.name = "FEColorMatrixElement";
- $desc = $collectedClasses.FEColorMatrixElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEColorMatrixElement.prototype = $desc;
- function FEComponentTransferElement() {
- }
- FEComponentTransferElement.builtin$cls = "FEComponentTransferElement";
- if (!"name" in FEComponentTransferElement)
- FEComponentTransferElement.name = "FEComponentTransferElement";
- $desc = $collectedClasses.FEComponentTransferElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEComponentTransferElement.prototype = $desc;
- function FECompositeElement() {
- }
- FECompositeElement.builtin$cls = "FECompositeElement";
- if (!"name" in FECompositeElement)
- FECompositeElement.name = "FECompositeElement";
- $desc = $collectedClasses.FECompositeElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FECompositeElement.prototype = $desc;
- function FEConvolveMatrixElement() {
- }
- FEConvolveMatrixElement.builtin$cls = "FEConvolveMatrixElement";
- if (!"name" in FEConvolveMatrixElement)
- FEConvolveMatrixElement.name = "FEConvolveMatrixElement";
- $desc = $collectedClasses.FEConvolveMatrixElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEConvolveMatrixElement.prototype = $desc;
- function FEDiffuseLightingElement() {
- }
- FEDiffuseLightingElement.builtin$cls = "FEDiffuseLightingElement";
- if (!"name" in FEDiffuseLightingElement)
- FEDiffuseLightingElement.name = "FEDiffuseLightingElement";
- $desc = $collectedClasses.FEDiffuseLightingElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEDiffuseLightingElement.prototype = $desc;
- function FEDisplacementMapElement() {
- }
- FEDisplacementMapElement.builtin$cls = "FEDisplacementMapElement";
- if (!"name" in FEDisplacementMapElement)
- FEDisplacementMapElement.name = "FEDisplacementMapElement";
- $desc = $collectedClasses.FEDisplacementMapElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEDisplacementMapElement.prototype = $desc;
- function FEDistantLightElement() {
- }
- FEDistantLightElement.builtin$cls = "FEDistantLightElement";
- if (!"name" in FEDistantLightElement)
- FEDistantLightElement.name = "FEDistantLightElement";
- $desc = $collectedClasses.FEDistantLightElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEDistantLightElement.prototype = $desc;
- function FEFloodElement() {
- }
- FEFloodElement.builtin$cls = "FEFloodElement";
- if (!"name" in FEFloodElement)
- FEFloodElement.name = "FEFloodElement";
- $desc = $collectedClasses.FEFloodElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEFloodElement.prototype = $desc;
- function FEFuncAElement() {
- }
- FEFuncAElement.builtin$cls = "FEFuncAElement";
- if (!"name" in FEFuncAElement)
- FEFuncAElement.name = "FEFuncAElement";
- $desc = $collectedClasses.FEFuncAElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEFuncAElement.prototype = $desc;
- function FEFuncBElement() {
- }
- FEFuncBElement.builtin$cls = "FEFuncBElement";
- if (!"name" in FEFuncBElement)
- FEFuncBElement.name = "FEFuncBElement";
- $desc = $collectedClasses.FEFuncBElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEFuncBElement.prototype = $desc;
- function FEFuncGElement() {
- }
- FEFuncGElement.builtin$cls = "FEFuncGElement";
- if (!"name" in FEFuncGElement)
- FEFuncGElement.name = "FEFuncGElement";
- $desc = $collectedClasses.FEFuncGElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEFuncGElement.prototype = $desc;
- function FEFuncRElement() {
- }
- FEFuncRElement.builtin$cls = "FEFuncRElement";
- if (!"name" in FEFuncRElement)
- FEFuncRElement.name = "FEFuncRElement";
- $desc = $collectedClasses.FEFuncRElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEFuncRElement.prototype = $desc;
- function FEGaussianBlurElement() {
- }
- FEGaussianBlurElement.builtin$cls = "FEGaussianBlurElement";
- if (!"name" in FEGaussianBlurElement)
- FEGaussianBlurElement.name = "FEGaussianBlurElement";
- $desc = $collectedClasses.FEGaussianBlurElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEGaussianBlurElement.prototype = $desc;
- function FEImageElement() {
- }
- FEImageElement.builtin$cls = "FEImageElement";
- if (!"name" in FEImageElement)
- FEImageElement.name = "FEImageElement";
- $desc = $collectedClasses.FEImageElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEImageElement.prototype = $desc;
- function FEMergeElement() {
- }
- FEMergeElement.builtin$cls = "FEMergeElement";
- if (!"name" in FEMergeElement)
- FEMergeElement.name = "FEMergeElement";
- $desc = $collectedClasses.FEMergeElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEMergeElement.prototype = $desc;
- function FEMergeNodeElement() {
- }
- FEMergeNodeElement.builtin$cls = "FEMergeNodeElement";
- if (!"name" in FEMergeNodeElement)
- FEMergeNodeElement.name = "FEMergeNodeElement";
- $desc = $collectedClasses.FEMergeNodeElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEMergeNodeElement.prototype = $desc;
- function FEMorphologyElement() {
- }
- FEMorphologyElement.builtin$cls = "FEMorphologyElement";
- if (!"name" in FEMorphologyElement)
- FEMorphologyElement.name = "FEMorphologyElement";
- $desc = $collectedClasses.FEMorphologyElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEMorphologyElement.prototype = $desc;
- function FEOffsetElement() {
- }
- FEOffsetElement.builtin$cls = "FEOffsetElement";
- if (!"name" in FEOffsetElement)
- FEOffsetElement.name = "FEOffsetElement";
- $desc = $collectedClasses.FEOffsetElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEOffsetElement.prototype = $desc;
- function FEPointLightElement() {
- }
- FEPointLightElement.builtin$cls = "FEPointLightElement";
- if (!"name" in FEPointLightElement)
- FEPointLightElement.name = "FEPointLightElement";
- $desc = $collectedClasses.FEPointLightElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FEPointLightElement.prototype = $desc;
- function FESpecularLightingElement() {
- }
- FESpecularLightingElement.builtin$cls = "FESpecularLightingElement";
- if (!"name" in FESpecularLightingElement)
- FESpecularLightingElement.name = "FESpecularLightingElement";
- $desc = $collectedClasses.FESpecularLightingElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FESpecularLightingElement.prototype = $desc;
- function FESpotLightElement() {
- }
- FESpotLightElement.builtin$cls = "FESpotLightElement";
- if (!"name" in FESpotLightElement)
- FESpotLightElement.name = "FESpotLightElement";
- $desc = $collectedClasses.FESpotLightElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FESpotLightElement.prototype = $desc;
- function FETileElement() {
- }
- FETileElement.builtin$cls = "FETileElement";
- if (!"name" in FETileElement)
- FETileElement.name = "FETileElement";
- $desc = $collectedClasses.FETileElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FETileElement.prototype = $desc;
- function FETurbulenceElement() {
- }
- FETurbulenceElement.builtin$cls = "FETurbulenceElement";
- if (!"name" in FETurbulenceElement)
- FETurbulenceElement.name = "FETurbulenceElement";
- $desc = $collectedClasses.FETurbulenceElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FETurbulenceElement.prototype = $desc;
- function FilterElement() {
- }
- FilterElement.builtin$cls = "FilterElement";
- if (!"name" in FilterElement)
- FilterElement.name = "FilterElement";
- $desc = $collectedClasses.FilterElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FilterElement.prototype = $desc;
- function ForeignObjectElement() {
- }
- ForeignObjectElement.builtin$cls = "ForeignObjectElement";
- if (!"name" in ForeignObjectElement)
- ForeignObjectElement.name = "ForeignObjectElement";
- $desc = $collectedClasses.ForeignObjectElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ForeignObjectElement.prototype = $desc;
- function GElement() {
- }
- GElement.builtin$cls = "GElement";
- if (!"name" in GElement)
- GElement.name = "GElement";
- $desc = $collectedClasses.GElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- GElement.prototype = $desc;
- function GraphicsElement() {
- }
- GraphicsElement.builtin$cls = "GraphicsElement";
- if (!"name" in GraphicsElement)
- GraphicsElement.name = "GraphicsElement";
- $desc = $collectedClasses.GraphicsElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- GraphicsElement.prototype = $desc;
- function ImageElement0() {
- }
- ImageElement0.builtin$cls = "ImageElement0";
- if (!"name" in ImageElement0)
- ImageElement0.name = "ImageElement0";
- $desc = $collectedClasses.ImageElement0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ImageElement0.prototype = $desc;
- function LineElement() {
- }
- LineElement.builtin$cls = "LineElement";
- if (!"name" in LineElement)
- LineElement.name = "LineElement";
- $desc = $collectedClasses.LineElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- LineElement.prototype = $desc;
- function LinearGradientElement() {
- }
- LinearGradientElement.builtin$cls = "LinearGradientElement";
- if (!"name" in LinearGradientElement)
- LinearGradientElement.name = "LinearGradientElement";
- $desc = $collectedClasses.LinearGradientElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- LinearGradientElement.prototype = $desc;
- function MarkerElement() {
- }
- MarkerElement.builtin$cls = "MarkerElement";
- if (!"name" in MarkerElement)
- MarkerElement.name = "MarkerElement";
- $desc = $collectedClasses.MarkerElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MarkerElement.prototype = $desc;
- function MaskElement() {
- }
- MaskElement.builtin$cls = "MaskElement";
- if (!"name" in MaskElement)
- MaskElement.name = "MaskElement";
- $desc = $collectedClasses.MaskElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MaskElement.prototype = $desc;
- function MetadataElement() {
- }
- MetadataElement.builtin$cls = "MetadataElement";
- if (!"name" in MetadataElement)
- MetadataElement.name = "MetadataElement";
- $desc = $collectedClasses.MetadataElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MetadataElement.prototype = $desc;
- function PathElement() {
- }
- PathElement.builtin$cls = "PathElement";
- if (!"name" in PathElement)
- PathElement.name = "PathElement";
- $desc = $collectedClasses.PathElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- PathElement.prototype = $desc;
- function PatternElement() {
- }
- PatternElement.builtin$cls = "PatternElement";
- if (!"name" in PatternElement)
- PatternElement.name = "PatternElement";
- $desc = $collectedClasses.PatternElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- PatternElement.prototype = $desc;
- function PolygonElement() {
- }
- PolygonElement.builtin$cls = "PolygonElement";
- if (!"name" in PolygonElement)
- PolygonElement.name = "PolygonElement";
- $desc = $collectedClasses.PolygonElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- PolygonElement.prototype = $desc;
- function PolylineElement() {
- }
- PolylineElement.builtin$cls = "PolylineElement";
- if (!"name" in PolylineElement)
- PolylineElement.name = "PolylineElement";
- $desc = $collectedClasses.PolylineElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- PolylineElement.prototype = $desc;
- function RadialGradientElement() {
- }
- RadialGradientElement.builtin$cls = "RadialGradientElement";
- if (!"name" in RadialGradientElement)
- RadialGradientElement.name = "RadialGradientElement";
- $desc = $collectedClasses.RadialGradientElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- RadialGradientElement.prototype = $desc;
- function RectElement() {
- }
- RectElement.builtin$cls = "RectElement";
- if (!"name" in RectElement)
- RectElement.name = "RectElement";
- $desc = $collectedClasses.RectElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- RectElement.prototype = $desc;
- function ScriptElement0() {
- }
- ScriptElement0.builtin$cls = "ScriptElement0";
- if (!"name" in ScriptElement0)
- ScriptElement0.name = "ScriptElement0";
- $desc = $collectedClasses.ScriptElement0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ScriptElement0.prototype = $desc;
- function SetElement() {
- }
- SetElement.builtin$cls = "SetElement";
- if (!"name" in SetElement)
- SetElement.name = "SetElement";
- $desc = $collectedClasses.SetElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SetElement.prototype = $desc;
- function StopElement() {
- }
- StopElement.builtin$cls = "StopElement";
- if (!"name" in StopElement)
- StopElement.name = "StopElement";
- $desc = $collectedClasses.StopElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- StopElement.prototype = $desc;
- function StyleElement0() {
- }
- StyleElement0.builtin$cls = "StyleElement0";
- if (!"name" in StyleElement0)
- StyleElement0.name = "StyleElement0";
- $desc = $collectedClasses.StyleElement0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- StyleElement0.prototype = $desc;
- function SvgDocument() {
- }
- SvgDocument.builtin$cls = "SvgDocument";
- if (!"name" in SvgDocument)
- SvgDocument.name = "SvgDocument";
- $desc = $collectedClasses.SvgDocument;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SvgDocument.prototype = $desc;
- function SvgElement() {
- }
- SvgElement.builtin$cls = "SvgElement";
- if (!"name" in SvgElement)
- SvgElement.name = "SvgElement";
- $desc = $collectedClasses.SvgElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SvgElement.prototype = $desc;
- function SvgSvgElement() {
- }
- SvgSvgElement.builtin$cls = "SvgSvgElement";
- if (!"name" in SvgSvgElement)
- SvgSvgElement.name = "SvgSvgElement";
- $desc = $collectedClasses.SvgSvgElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SvgSvgElement.prototype = $desc;
- function SwitchElement() {
- }
- SwitchElement.builtin$cls = "SwitchElement";
- if (!"name" in SwitchElement)
- SwitchElement.name = "SwitchElement";
- $desc = $collectedClasses.SwitchElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SwitchElement.prototype = $desc;
- function SymbolElement() {
- }
- SymbolElement.builtin$cls = "SymbolElement";
- if (!"name" in SymbolElement)
- SymbolElement.name = "SymbolElement";
- $desc = $collectedClasses.SymbolElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SymbolElement.prototype = $desc;
- function TSpanElement() {
- }
- TSpanElement.builtin$cls = "TSpanElement";
- if (!"name" in TSpanElement)
- TSpanElement.name = "TSpanElement";
- $desc = $collectedClasses.TSpanElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TSpanElement.prototype = $desc;
- function TextContentElement() {
- }
- TextContentElement.builtin$cls = "TextContentElement";
- if (!"name" in TextContentElement)
- TextContentElement.name = "TextContentElement";
- $desc = $collectedClasses.TextContentElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TextContentElement.prototype = $desc;
- function TextElement() {
- }
- TextElement.builtin$cls = "TextElement";
- if (!"name" in TextElement)
- TextElement.name = "TextElement";
- $desc = $collectedClasses.TextElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TextElement.prototype = $desc;
- function TextPathElement() {
- }
- TextPathElement.builtin$cls = "TextPathElement";
- if (!"name" in TextPathElement)
- TextPathElement.name = "TextPathElement";
- $desc = $collectedClasses.TextPathElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TextPathElement.prototype = $desc;
- function TextPositioningElement() {
- }
- TextPositioningElement.builtin$cls = "TextPositioningElement";
- if (!"name" in TextPositioningElement)
- TextPositioningElement.name = "TextPositioningElement";
- $desc = $collectedClasses.TextPositioningElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TextPositioningElement.prototype = $desc;
- function TitleElement0() {
- }
- TitleElement0.builtin$cls = "TitleElement0";
- if (!"name" in TitleElement0)
- TitleElement0.name = "TitleElement0";
- $desc = $collectedClasses.TitleElement0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TitleElement0.prototype = $desc;
- function UseElement() {
- }
- UseElement.builtin$cls = "UseElement";
- if (!"name" in UseElement)
- UseElement.name = "UseElement";
- $desc = $collectedClasses.UseElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- UseElement.prototype = $desc;
- function ViewElement() {
- }
- ViewElement.builtin$cls = "ViewElement";
- if (!"name" in ViewElement)
- ViewElement.name = "ViewElement";
- $desc = $collectedClasses.ViewElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ViewElement.prototype = $desc;
- function ZoomEvent() {
- }
- ZoomEvent.builtin$cls = "ZoomEvent";
- if (!"name" in ZoomEvent)
- ZoomEvent.name = "ZoomEvent";
- $desc = $collectedClasses.ZoomEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ZoomEvent.prototype = $desc;
- function _GradientElement() {
- }
- _GradientElement.builtin$cls = "_GradientElement";
- if (!"name" in _GradientElement)
- _GradientElement.name = "_GradientElement";
- $desc = $collectedClasses._GradientElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _GradientElement.prototype = $desc;
- function _SVGAltGlyphDefElement() {
- }
- _SVGAltGlyphDefElement.builtin$cls = "_SVGAltGlyphDefElement";
- if (!"name" in _SVGAltGlyphDefElement)
- _SVGAltGlyphDefElement.name = "_SVGAltGlyphDefElement";
- $desc = $collectedClasses._SVGAltGlyphDefElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGAltGlyphDefElement.prototype = $desc;
- function _SVGAltGlyphItemElement() {
- }
- _SVGAltGlyphItemElement.builtin$cls = "_SVGAltGlyphItemElement";
- if (!"name" in _SVGAltGlyphItemElement)
- _SVGAltGlyphItemElement.name = "_SVGAltGlyphItemElement";
- $desc = $collectedClasses._SVGAltGlyphItemElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGAltGlyphItemElement.prototype = $desc;
- function _SVGAnimateColorElement() {
- }
- _SVGAnimateColorElement.builtin$cls = "_SVGAnimateColorElement";
- if (!"name" in _SVGAnimateColorElement)
- _SVGAnimateColorElement.name = "_SVGAnimateColorElement";
- $desc = $collectedClasses._SVGAnimateColorElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGAnimateColorElement.prototype = $desc;
- function _SVGComponentTransferFunctionElement() {
- }
- _SVGComponentTransferFunctionElement.builtin$cls = "_SVGComponentTransferFunctionElement";
- if (!"name" in _SVGComponentTransferFunctionElement)
- _SVGComponentTransferFunctionElement.name = "_SVGComponentTransferFunctionElement";
- $desc = $collectedClasses._SVGComponentTransferFunctionElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGComponentTransferFunctionElement.prototype = $desc;
- function _SVGCursorElement() {
- }
- _SVGCursorElement.builtin$cls = "_SVGCursorElement";
- if (!"name" in _SVGCursorElement)
- _SVGCursorElement.name = "_SVGCursorElement";
- $desc = $collectedClasses._SVGCursorElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGCursorElement.prototype = $desc;
- function _SVGFEDropShadowElement() {
- }
- _SVGFEDropShadowElement.builtin$cls = "_SVGFEDropShadowElement";
- if (!"name" in _SVGFEDropShadowElement)
- _SVGFEDropShadowElement.name = "_SVGFEDropShadowElement";
- $desc = $collectedClasses._SVGFEDropShadowElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGFEDropShadowElement.prototype = $desc;
- function _SVGFontElement() {
- }
- _SVGFontElement.builtin$cls = "_SVGFontElement";
- if (!"name" in _SVGFontElement)
- _SVGFontElement.name = "_SVGFontElement";
- $desc = $collectedClasses._SVGFontElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGFontElement.prototype = $desc;
- function _SVGFontFaceElement() {
- }
- _SVGFontFaceElement.builtin$cls = "_SVGFontFaceElement";
- if (!"name" in _SVGFontFaceElement)
- _SVGFontFaceElement.name = "_SVGFontFaceElement";
- $desc = $collectedClasses._SVGFontFaceElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGFontFaceElement.prototype = $desc;
- function _SVGFontFaceFormatElement() {
- }
- _SVGFontFaceFormatElement.builtin$cls = "_SVGFontFaceFormatElement";
- if (!"name" in _SVGFontFaceFormatElement)
- _SVGFontFaceFormatElement.name = "_SVGFontFaceFormatElement";
- $desc = $collectedClasses._SVGFontFaceFormatElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGFontFaceFormatElement.prototype = $desc;
- function _SVGFontFaceNameElement() {
- }
- _SVGFontFaceNameElement.builtin$cls = "_SVGFontFaceNameElement";
- if (!"name" in _SVGFontFaceNameElement)
- _SVGFontFaceNameElement.name = "_SVGFontFaceNameElement";
- $desc = $collectedClasses._SVGFontFaceNameElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGFontFaceNameElement.prototype = $desc;
- function _SVGFontFaceSrcElement() {
- }
- _SVGFontFaceSrcElement.builtin$cls = "_SVGFontFaceSrcElement";
- if (!"name" in _SVGFontFaceSrcElement)
- _SVGFontFaceSrcElement.name = "_SVGFontFaceSrcElement";
- $desc = $collectedClasses._SVGFontFaceSrcElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGFontFaceSrcElement.prototype = $desc;
- function _SVGFontFaceUriElement() {
- }
- _SVGFontFaceUriElement.builtin$cls = "_SVGFontFaceUriElement";
- if (!"name" in _SVGFontFaceUriElement)
- _SVGFontFaceUriElement.name = "_SVGFontFaceUriElement";
- $desc = $collectedClasses._SVGFontFaceUriElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGFontFaceUriElement.prototype = $desc;
- function _SVGGlyphElement() {
- }
- _SVGGlyphElement.builtin$cls = "_SVGGlyphElement";
- if (!"name" in _SVGGlyphElement)
- _SVGGlyphElement.name = "_SVGGlyphElement";
- $desc = $collectedClasses._SVGGlyphElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGGlyphElement.prototype = $desc;
- function _SVGGlyphRefElement() {
- }
- _SVGGlyphRefElement.builtin$cls = "_SVGGlyphRefElement";
- if (!"name" in _SVGGlyphRefElement)
- _SVGGlyphRefElement.name = "_SVGGlyphRefElement";
- $desc = $collectedClasses._SVGGlyphRefElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGGlyphRefElement.prototype = $desc;
- function _SVGHKernElement() {
- }
- _SVGHKernElement.builtin$cls = "_SVGHKernElement";
- if (!"name" in _SVGHKernElement)
- _SVGHKernElement.name = "_SVGHKernElement";
- $desc = $collectedClasses._SVGHKernElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGHKernElement.prototype = $desc;
- function _SVGMPathElement() {
- }
- _SVGMPathElement.builtin$cls = "_SVGMPathElement";
- if (!"name" in _SVGMPathElement)
- _SVGMPathElement.name = "_SVGMPathElement";
- $desc = $collectedClasses._SVGMPathElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGMPathElement.prototype = $desc;
- function _SVGMissingGlyphElement() {
- }
- _SVGMissingGlyphElement.builtin$cls = "_SVGMissingGlyphElement";
- if (!"name" in _SVGMissingGlyphElement)
- _SVGMissingGlyphElement.name = "_SVGMissingGlyphElement";
- $desc = $collectedClasses._SVGMissingGlyphElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGMissingGlyphElement.prototype = $desc;
- function _SVGVKernElement() {
- }
- _SVGVKernElement.builtin$cls = "_SVGVKernElement";
- if (!"name" in _SVGVKernElement)
- _SVGVKernElement.name = "_SVGVKernElement";
- $desc = $collectedClasses._SVGVKernElement;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SVGVKernElement.prototype = $desc;
- function AudioProcessingEvent() {
- }
- AudioProcessingEvent.builtin$cls = "AudioProcessingEvent";
- if (!"name" in AudioProcessingEvent)
- AudioProcessingEvent.name = "AudioProcessingEvent";
- $desc = $collectedClasses.AudioProcessingEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- AudioProcessingEvent.prototype = $desc;
- function OfflineAudioCompletionEvent() {
- }
- OfflineAudioCompletionEvent.builtin$cls = "OfflineAudioCompletionEvent";
- if (!"name" in OfflineAudioCompletionEvent)
- OfflineAudioCompletionEvent.name = "OfflineAudioCompletionEvent";
- $desc = $collectedClasses.OfflineAudioCompletionEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- OfflineAudioCompletionEvent.prototype = $desc;
- function ContextEvent() {
- }
- ContextEvent.builtin$cls = "ContextEvent";
- if (!"name" in ContextEvent)
- ContextEvent.name = "ContextEvent";
- $desc = $collectedClasses.ContextEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ContextEvent.prototype = $desc;
- function RenderingContext() {
- }
- RenderingContext.builtin$cls = "RenderingContext";
- if (!"name" in RenderingContext)
- RenderingContext.name = "RenderingContext";
- $desc = $collectedClasses.RenderingContext;
- if ($desc instanceof Array)
- $desc = $desc[1];
- RenderingContext.prototype = $desc;
- function SqlError() {
- }
- SqlError.builtin$cls = "SqlError";
- if (!"name" in SqlError)
- SqlError.name = "SqlError";
- $desc = $collectedClasses.SqlError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- SqlError.prototype = $desc;
- function TypedData() {
- }
- TypedData.builtin$cls = "TypedData";
- if (!"name" in TypedData)
- TypedData.name = "TypedData";
- $desc = $collectedClasses.TypedData;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TypedData.prototype = $desc;
- function Uint8List() {
- }
- Uint8List.builtin$cls = "Uint8List";
- if (!"name" in Uint8List)
- Uint8List.name = "Uint8List";
- $desc = $collectedClasses.Uint8List;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Uint8List.prototype = $desc;
- function JS_CONST(code) {
- this.code = code;
- }
- JS_CONST.builtin$cls = "JS_CONST";
- if (!"name" in JS_CONST)
- JS_CONST.name = "JS_CONST";
- $desc = $collectedClasses.JS_CONST;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JS_CONST.prototype = $desc;
- function Interceptor() {
- }
- Interceptor.builtin$cls = "Interceptor";
- if (!"name" in Interceptor)
- Interceptor.name = "Interceptor";
- $desc = $collectedClasses.Interceptor;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Interceptor.prototype = $desc;
- function JSBool() {
- }
- JSBool.builtin$cls = "bool";
- if (!"name" in JSBool)
- JSBool.name = "JSBool";
- $desc = $collectedClasses.JSBool;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JSBool.prototype = $desc;
- function JSNull() {
- }
- JSNull.builtin$cls = "JSNull";
- if (!"name" in JSNull)
- JSNull.name = "JSNull";
- $desc = $collectedClasses.JSNull;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JSNull.prototype = $desc;
- function JavaScriptObject() {
- }
- JavaScriptObject.builtin$cls = "JavaScriptObject";
- if (!"name" in JavaScriptObject)
- JavaScriptObject.name = "JavaScriptObject";
- $desc = $collectedClasses.JavaScriptObject;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JavaScriptObject.prototype = $desc;
- function PlainJavaScriptObject() {
- }
- PlainJavaScriptObject.builtin$cls = "PlainJavaScriptObject";
- if (!"name" in PlainJavaScriptObject)
- PlainJavaScriptObject.name = "PlainJavaScriptObject";
- $desc = $collectedClasses.PlainJavaScriptObject;
- if ($desc instanceof Array)
- $desc = $desc[1];
- PlainJavaScriptObject.prototype = $desc;
- function UnknownJavaScriptObject() {
- }
- UnknownJavaScriptObject.builtin$cls = "UnknownJavaScriptObject";
- if (!"name" in UnknownJavaScriptObject)
- UnknownJavaScriptObject.name = "UnknownJavaScriptObject";
- $desc = $collectedClasses.UnknownJavaScriptObject;
- if ($desc instanceof Array)
- $desc = $desc[1];
- UnknownJavaScriptObject.prototype = $desc;
- function JSArray() {
- }
- JSArray.builtin$cls = "List";
- if (!"name" in JSArray)
- JSArray.name = "JSArray";
- $desc = $collectedClasses.JSArray;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JSArray.prototype = $desc;
- function JSMutableArray() {
- }
- JSMutableArray.builtin$cls = "JSMutableArray";
- if (!"name" in JSMutableArray)
- JSMutableArray.name = "JSMutableArray";
- $desc = $collectedClasses.JSMutableArray;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JSMutableArray.prototype = $desc;
- function JSFixedArray() {
- }
- JSFixedArray.builtin$cls = "JSFixedArray";
- if (!"name" in JSFixedArray)
- JSFixedArray.name = "JSFixedArray";
- $desc = $collectedClasses.JSFixedArray;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JSFixedArray.prototype = $desc;
- function JSExtendableArray() {
- }
- JSExtendableArray.builtin$cls = "JSExtendableArray";
- if (!"name" in JSExtendableArray)
- JSExtendableArray.name = "JSExtendableArray";
- $desc = $collectedClasses.JSExtendableArray;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JSExtendableArray.prototype = $desc;
- function JSNumber() {
- }
- JSNumber.builtin$cls = "num";
- if (!"name" in JSNumber)
- JSNumber.name = "JSNumber";
- $desc = $collectedClasses.JSNumber;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JSNumber.prototype = $desc;
- function JSInt() {
- }
- JSInt.builtin$cls = "int";
- if (!"name" in JSInt)
- JSInt.name = "JSInt";
- $desc = $collectedClasses.JSInt;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JSInt.prototype = $desc;
- function JSDouble() {
- }
- JSDouble.builtin$cls = "double";
- if (!"name" in JSDouble)
- JSDouble.name = "JSDouble";
- $desc = $collectedClasses.JSDouble;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JSDouble.prototype = $desc;
- function JSString() {
- }
- JSString.builtin$cls = "String";
- if (!"name" in JSString)
- JSString.name = "JSString";
- $desc = $collectedClasses.JSString;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JSString.prototype = $desc;
- function startRootIsolate_closure(entry_0) {
- this.entry_0 = entry_0;
- }
- startRootIsolate_closure.builtin$cls = "startRootIsolate_closure";
- if (!"name" in startRootIsolate_closure)
- startRootIsolate_closure.name = "startRootIsolate_closure";
- $desc = $collectedClasses.startRootIsolate_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- startRootIsolate_closure.prototype = $desc;
- function startRootIsolate_closure0(entry_1) {
- this.entry_1 = entry_1;
- }
- startRootIsolate_closure0.builtin$cls = "startRootIsolate_closure0";
- if (!"name" in startRootIsolate_closure0)
- startRootIsolate_closure0.name = "startRootIsolate_closure0";
- $desc = $collectedClasses.startRootIsolate_closure0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- startRootIsolate_closure0.prototype = $desc;
- function _Manager(nextIsolateId, currentManagerId, nextManagerId, currentContext, rootContext, topEventLoop, fromCommandLine, isWorker, supportsWorkers, isolates, mainManager, managers, entry) {
- this.nextIsolateId = nextIsolateId;
- this.currentManagerId = currentManagerId;
- this.nextManagerId = nextManagerId;
- this.currentContext = currentContext;
- this.rootContext = rootContext;
- this.topEventLoop = topEventLoop;
- this.fromCommandLine = fromCommandLine;
- this.isWorker = isWorker;
- this.supportsWorkers = supportsWorkers;
- this.isolates = isolates;
- this.mainManager = mainManager;
- this.managers = managers;
- this.entry = entry;
- }
- _Manager.builtin$cls = "_Manager";
- if (!"name" in _Manager)
- _Manager.name = "_Manager";
- $desc = $collectedClasses._Manager;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Manager.prototype = $desc;
- function _IsolateContext(id, ports, isolateStatics) {
- this.id = id;
- this.ports = ports;
- this.isolateStatics = isolateStatics;
- }
- _IsolateContext.builtin$cls = "_IsolateContext";
- if (!"name" in _IsolateContext)
- _IsolateContext.name = "_IsolateContext";
- $desc = $collectedClasses._IsolateContext;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _IsolateContext.prototype = $desc;
- _IsolateContext.prototype.get$isolateStatics = function() {
- return this.isolateStatics;
- };
- function _EventLoop(events, activeTimerCount) {
- this.events = events;
- this.activeTimerCount = activeTimerCount;
- }
- _EventLoop.builtin$cls = "_EventLoop";
- if (!"name" in _EventLoop)
- _EventLoop.name = "_EventLoop";
- $desc = $collectedClasses._EventLoop;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _EventLoop.prototype = $desc;
- function _EventLoop__runHelper_next(this_0) {
- this.this_0 = this_0;
- }
- _EventLoop__runHelper_next.builtin$cls = "_EventLoop__runHelper_next";
- if (!"name" in _EventLoop__runHelper_next)
- _EventLoop__runHelper_next.name = "_EventLoop__runHelper_next";
- $desc = $collectedClasses._EventLoop__runHelper_next;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _EventLoop__runHelper_next.prototype = $desc;
- function _IsolateEvent(isolate, fn, message) {
- this.isolate = isolate;
- this.fn = fn;
- this.message = message;
- }
- _IsolateEvent.builtin$cls = "_IsolateEvent";
- if (!"name" in _IsolateEvent)
- _IsolateEvent.name = "_IsolateEvent";
- $desc = $collectedClasses._IsolateEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _IsolateEvent.prototype = $desc;
- function _MainManagerStub() {
- }
- _MainManagerStub.builtin$cls = "_MainManagerStub";
- if (!"name" in _MainManagerStub)
- _MainManagerStub.name = "_MainManagerStub";
- $desc = $collectedClasses._MainManagerStub;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _MainManagerStub.prototype = $desc;
- function IsolateNatives__processWorkerMessage_closure(entryPoint_0, args_1, message_2, isSpawnUri_3, replyTo_4) {
- this.entryPoint_0 = entryPoint_0;
- this.args_1 = args_1;
- this.message_2 = message_2;
- this.isSpawnUri_3 = isSpawnUri_3;
- this.replyTo_4 = replyTo_4;
- }
- IsolateNatives__processWorkerMessage_closure.builtin$cls = "IsolateNatives__processWorkerMessage_closure";
- if (!"name" in IsolateNatives__processWorkerMessage_closure)
- IsolateNatives__processWorkerMessage_closure.name = "IsolateNatives__processWorkerMessage_closure";
- $desc = $collectedClasses.IsolateNatives__processWorkerMessage_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- IsolateNatives__processWorkerMessage_closure.prototype = $desc;
- function _BaseSendPort() {
- }
- _BaseSendPort.builtin$cls = "_BaseSendPort";
- if (!"name" in _BaseSendPort)
- _BaseSendPort.name = "_BaseSendPort";
- $desc = $collectedClasses._BaseSendPort;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _BaseSendPort.prototype = $desc;
- function _NativeJsSendPort(_receivePort, _isolateId) {
- this._receivePort = _receivePort;
- this._isolateId = _isolateId;
- }
- _NativeJsSendPort.builtin$cls = "_NativeJsSendPort";
- if (!"name" in _NativeJsSendPort)
- _NativeJsSendPort.name = "_NativeJsSendPort";
- $desc = $collectedClasses._NativeJsSendPort;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _NativeJsSendPort.prototype = $desc;
- function _NativeJsSendPort_send_closure(this_1, message_2) {
- this.this_1 = this_1;
- this.message_2 = message_2;
- }
- _NativeJsSendPort_send_closure.builtin$cls = "_NativeJsSendPort_send_closure";
- if (!"name" in _NativeJsSendPort_send_closure)
- _NativeJsSendPort_send_closure.name = "_NativeJsSendPort_send_closure";
- $desc = $collectedClasses._NativeJsSendPort_send_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _NativeJsSendPort_send_closure.prototype = $desc;
- function _NativeJsSendPort_send__closure(box_0, this_3, shouldSerialize_4) {
- this.box_0 = box_0;
- this.this_3 = this_3;
- this.shouldSerialize_4 = shouldSerialize_4;
- }
- _NativeJsSendPort_send__closure.builtin$cls = "_NativeJsSendPort_send__closure";
- if (!"name" in _NativeJsSendPort_send__closure)
- _NativeJsSendPort_send__closure.name = "_NativeJsSendPort_send__closure";
- $desc = $collectedClasses._NativeJsSendPort_send__closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _NativeJsSendPort_send__closure.prototype = $desc;
- function _WorkerSendPort(_workerId, _receivePortId, _isolateId) {
- this._workerId = _workerId;
- this._receivePortId = _receivePortId;
- this._isolateId = _isolateId;
- }
- _WorkerSendPort.builtin$cls = "_WorkerSendPort";
- if (!"name" in _WorkerSendPort)
- _WorkerSendPort.name = "_WorkerSendPort";
- $desc = $collectedClasses._WorkerSendPort;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _WorkerSendPort.prototype = $desc;
- function _WorkerSendPort_send_closure(this_0, message_1) {
- this.this_0 = this_0;
- this.message_1 = message_1;
- }
- _WorkerSendPort_send_closure.builtin$cls = "_WorkerSendPort_send_closure";
- if (!"name" in _WorkerSendPort_send_closure)
- _WorkerSendPort_send_closure.name = "_WorkerSendPort_send_closure";
- $desc = $collectedClasses._WorkerSendPort_send_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _WorkerSendPort_send_closure.prototype = $desc;
- function ReceivePortImpl(_id, _controller) {
- this._id = _id;
- this._controller = _controller;
- }
- ReceivePortImpl.builtin$cls = "ReceivePortImpl";
- if (!"name" in ReceivePortImpl)
- ReceivePortImpl.name = "ReceivePortImpl";
- $desc = $collectedClasses.ReceivePortImpl;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ReceivePortImpl.prototype = $desc;
- ReceivePortImpl.prototype.get$_id = function() {
- return this._id;
- };
- ReceivePortImpl.prototype.get$_controller = function() {
- return this._controller;
- };
- function BoundClosure$i0(_self, __js_helper$_target, _receiver, __js_helper$_name) {
- this._self = _self;
- this.__js_helper$_target = __js_helper$_target;
- this._receiver = _receiver;
- this.__js_helper$_name = __js_helper$_name;
- }
- BoundClosure$i0.builtin$cls = "BoundClosure$i0";
- $desc = $collectedClasses.BoundClosure$i0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- BoundClosure$i0.prototype = $desc;
- function _waitForPendingPorts_closure(callback_0) {
- this.callback_0 = callback_0;
- }
- _waitForPendingPorts_closure.builtin$cls = "_waitForPendingPorts_closure";
- if (!"name" in _waitForPendingPorts_closure)
- _waitForPendingPorts_closure.name = "_waitForPendingPorts_closure";
- $desc = $collectedClasses._waitForPendingPorts_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _waitForPendingPorts_closure.prototype = $desc;
- function _PendingSendPortFinder(ports, _visited) {
- this.ports = ports;
- this._visited = _visited;
- }
- _PendingSendPortFinder.builtin$cls = "_PendingSendPortFinder";
- if (!"name" in _PendingSendPortFinder)
- _PendingSendPortFinder.name = "_PendingSendPortFinder";
- $desc = $collectedClasses._PendingSendPortFinder;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _PendingSendPortFinder.prototype = $desc;
- function _JsSerializer(_nextFreeRefId, _visited) {
- this._nextFreeRefId = _nextFreeRefId;
- this._visited = _visited;
- }
- _JsSerializer.builtin$cls = "_JsSerializer";
- if (!"name" in _JsSerializer)
- _JsSerializer.name = "_JsSerializer";
- $desc = $collectedClasses._JsSerializer;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _JsSerializer.prototype = $desc;
- function _JsCopier(_visited) {
- this._visited = _visited;
- }
- _JsCopier.builtin$cls = "_JsCopier";
- if (!"name" in _JsCopier)
- _JsCopier.name = "_JsCopier";
- $desc = $collectedClasses._JsCopier;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _JsCopier.prototype = $desc;
- function _JsDeserializer(_deserialized) {
- this._deserialized = _deserialized;
- }
- _JsDeserializer.builtin$cls = "_JsDeserializer";
- if (!"name" in _JsDeserializer)
- _JsDeserializer.name = "_JsDeserializer";
- $desc = $collectedClasses._JsDeserializer;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _JsDeserializer.prototype = $desc;
- function _JsVisitedMap(tagged) {
- this.tagged = tagged;
- }
- _JsVisitedMap.builtin$cls = "_JsVisitedMap";
- if (!"name" in _JsVisitedMap)
- _JsVisitedMap.name = "_JsVisitedMap";
- $desc = $collectedClasses._JsVisitedMap;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _JsVisitedMap.prototype = $desc;
- function _MessageTraverserVisitedMap() {
- }
- _MessageTraverserVisitedMap.builtin$cls = "_MessageTraverserVisitedMap";
- if (!"name" in _MessageTraverserVisitedMap)
- _MessageTraverserVisitedMap.name = "_MessageTraverserVisitedMap";
- $desc = $collectedClasses._MessageTraverserVisitedMap;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _MessageTraverserVisitedMap.prototype = $desc;
- function _MessageTraverser() {
- }
- _MessageTraverser.builtin$cls = "_MessageTraverser";
- if (!"name" in _MessageTraverser)
- _MessageTraverser.name = "_MessageTraverser";
- $desc = $collectedClasses._MessageTraverser;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _MessageTraverser.prototype = $desc;
- function BoundClosure$1(_self, __js_helper$_target, _receiver, __js_helper$_name) {
- this._self = _self;
- this.__js_helper$_target = __js_helper$_target;
- this._receiver = _receiver;
- this.__js_helper$_name = __js_helper$_name;
- }
- BoundClosure$1.builtin$cls = "BoundClosure$1";
- $desc = $collectedClasses.BoundClosure$1;
- if ($desc instanceof Array)
- $desc = $desc[1];
- BoundClosure$1.prototype = $desc;
- function _Copier() {
- }
- _Copier.builtin$cls = "_Copier";
- if (!"name" in _Copier)
- _Copier.name = "_Copier";
- $desc = $collectedClasses._Copier;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Copier.prototype = $desc;
- function _Copier_visitMap_closure(box_0, this_1) {
- this.box_0 = box_0;
- this.this_1 = this_1;
- }
- _Copier_visitMap_closure.builtin$cls = "_Copier_visitMap_closure";
- if (!"name" in _Copier_visitMap_closure)
- _Copier_visitMap_closure.name = "_Copier_visitMap_closure";
- $desc = $collectedClasses._Copier_visitMap_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Copier_visitMap_closure.prototype = $desc;
- function _Serializer() {
- }
- _Serializer.builtin$cls = "_Serializer";
- if (!"name" in _Serializer)
- _Serializer.name = "_Serializer";
- $desc = $collectedClasses._Serializer;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Serializer.prototype = $desc;
- function _Deserializer() {
- }
- _Deserializer.builtin$cls = "_Deserializer";
- if (!"name" in _Deserializer)
- _Deserializer.name = "_Deserializer";
- $desc = $collectedClasses._Deserializer;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Deserializer.prototype = $desc;
- function TimerImpl(_once, _inEventLoop, _handle) {
- this._once = _once;
- this._inEventLoop = _inEventLoop;
- this._handle = _handle;
- }
- TimerImpl.builtin$cls = "TimerImpl";
- if (!"name" in TimerImpl)
- TimerImpl.name = "TimerImpl";
- $desc = $collectedClasses.TimerImpl;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TimerImpl.prototype = $desc;
- function TimerImpl_internalCallback(this_0, callback_1) {
- this.this_0 = this_0;
- this.callback_1 = callback_1;
- }
- TimerImpl_internalCallback.builtin$cls = "TimerImpl_internalCallback";
- if (!"name" in TimerImpl_internalCallback)
- TimerImpl_internalCallback.name = "TimerImpl_internalCallback";
- $desc = $collectedClasses.TimerImpl_internalCallback;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TimerImpl_internalCallback.prototype = $desc;
- function TimerImpl_internalCallback0(this_2, callback_3) {
- this.this_2 = this_2;
- this.callback_3 = callback_3;
- }
- TimerImpl_internalCallback0.builtin$cls = "TimerImpl_internalCallback0";
- if (!"name" in TimerImpl_internalCallback0)
- TimerImpl_internalCallback0.name = "TimerImpl_internalCallback0";
- $desc = $collectedClasses.TimerImpl_internalCallback0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TimerImpl_internalCallback0.prototype = $desc;
- function TypeErrorDecoder(_pattern, _arguments, _argumentsExpr, _expr, _method, _receiver) {
- this._pattern = _pattern;
- this._arguments = _arguments;
- this._argumentsExpr = _argumentsExpr;
- this._expr = _expr;
- this._method = _method;
- this._receiver = _receiver;
- }
- TypeErrorDecoder.builtin$cls = "TypeErrorDecoder";
- if (!"name" in TypeErrorDecoder)
- TypeErrorDecoder.name = "TypeErrorDecoder";
- $desc = $collectedClasses.TypeErrorDecoder;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TypeErrorDecoder.prototype = $desc;
- function NullError(_message, _method) {
- this._message = _message;
- this._method = _method;
- }
- NullError.builtin$cls = "NullError";
- if (!"name" in NullError)
- NullError.name = "NullError";
- $desc = $collectedClasses.NullError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- NullError.prototype = $desc;
- function JsNoSuchMethodError(_message, _method, _receiver) {
- this._message = _message;
- this._method = _method;
- this._receiver = _receiver;
- }
- JsNoSuchMethodError.builtin$cls = "JsNoSuchMethodError";
- if (!"name" in JsNoSuchMethodError)
- JsNoSuchMethodError.name = "JsNoSuchMethodError";
- $desc = $collectedClasses.JsNoSuchMethodError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- JsNoSuchMethodError.prototype = $desc;
- function UnknownJsTypeError(_message) {
- this._message = _message;
- }
- UnknownJsTypeError.builtin$cls = "UnknownJsTypeError";
- if (!"name" in UnknownJsTypeError)
- UnknownJsTypeError.name = "UnknownJsTypeError";
- $desc = $collectedClasses.UnknownJsTypeError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- UnknownJsTypeError.prototype = $desc;
- function unwrapException_saveStackTrace(ex_0) {
- this.ex_0 = ex_0;
- }
- unwrapException_saveStackTrace.builtin$cls = "unwrapException_saveStackTrace";
- if (!"name" in unwrapException_saveStackTrace)
- unwrapException_saveStackTrace.name = "unwrapException_saveStackTrace";
- $desc = $collectedClasses.unwrapException_saveStackTrace;
- if ($desc instanceof Array)
- $desc = $desc[1];
- unwrapException_saveStackTrace.prototype = $desc;
- function _StackTrace(_exception, _trace) {
- this._exception = _exception;
- this._trace = _trace;
- }
- _StackTrace.builtin$cls = "_StackTrace";
- if (!"name" in _StackTrace)
- _StackTrace.name = "_StackTrace";
- $desc = $collectedClasses._StackTrace;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _StackTrace.prototype = $desc;
- function invokeClosure_closure(closure_0) {
- this.closure_0 = closure_0;
- }
- invokeClosure_closure.builtin$cls = "invokeClosure_closure";
- if (!"name" in invokeClosure_closure)
- invokeClosure_closure.name = "invokeClosure_closure";
- $desc = $collectedClasses.invokeClosure_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- invokeClosure_closure.prototype = $desc;
- function invokeClosure_closure0(closure_1, arg1_2) {
- this.closure_1 = closure_1;
- this.arg1_2 = arg1_2;
- }
- invokeClosure_closure0.builtin$cls = "invokeClosure_closure0";
- if (!"name" in invokeClosure_closure0)
- invokeClosure_closure0.name = "invokeClosure_closure0";
- $desc = $collectedClasses.invokeClosure_closure0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- invokeClosure_closure0.prototype = $desc;
- function invokeClosure_closure1(closure_3, arg1_4, arg2_5) {
- this.closure_3 = closure_3;
- this.arg1_4 = arg1_4;
- this.arg2_5 = arg2_5;
- }
- invokeClosure_closure1.builtin$cls = "invokeClosure_closure1";
- if (!"name" in invokeClosure_closure1)
- invokeClosure_closure1.name = "invokeClosure_closure1";
- $desc = $collectedClasses.invokeClosure_closure1;
- if ($desc instanceof Array)
- $desc = $desc[1];
- invokeClosure_closure1.prototype = $desc;
- function invokeClosure_closure2(closure_6, arg1_7, arg2_8, arg3_9) {
- this.closure_6 = closure_6;
- this.arg1_7 = arg1_7;
- this.arg2_8 = arg2_8;
- this.arg3_9 = arg3_9;
- }
- invokeClosure_closure2.builtin$cls = "invokeClosure_closure2";
- if (!"name" in invokeClosure_closure2)
- invokeClosure_closure2.name = "invokeClosure_closure2";
- $desc = $collectedClasses.invokeClosure_closure2;
- if ($desc instanceof Array)
- $desc = $desc[1];
- invokeClosure_closure2.prototype = $desc;
- function invokeClosure_closure3(closure_10, arg1_11, arg2_12, arg3_13, arg4_14) {
- this.closure_10 = closure_10;
- this.arg1_11 = arg1_11;
- this.arg2_12 = arg2_12;
- this.arg3_13 = arg3_13;
- this.arg4_14 = arg4_14;
- }
- invokeClosure_closure3.builtin$cls = "invokeClosure_closure3";
- if (!"name" in invokeClosure_closure3)
- invokeClosure_closure3.name = "invokeClosure_closure3";
- $desc = $collectedClasses.invokeClosure_closure3;
- if ($desc instanceof Array)
- $desc = $desc[1];
- invokeClosure_closure3.prototype = $desc;
- function Closure() {
- }
- Closure.builtin$cls = "Closure";
- if (!"name" in Closure)
- Closure.name = "Closure";
- $desc = $collectedClasses.Closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Closure.prototype = $desc;
- function BoundClosure(_self, __js_helper$_target, _receiver, __js_helper$_name) {
- this._self = _self;
- this.__js_helper$_target = __js_helper$_target;
- this._receiver = _receiver;
- this.__js_helper$_name = __js_helper$_name;
- }
- BoundClosure.builtin$cls = "BoundClosure";
- if (!"name" in BoundClosure)
- BoundClosure.name = "BoundClosure";
- $desc = $collectedClasses.BoundClosure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- BoundClosure.prototype = $desc;
- function initHooks_closure(getTag_0) {
- this.getTag_0 = getTag_0;
- }
- initHooks_closure.builtin$cls = "initHooks_closure";
- if (!"name" in initHooks_closure)
- initHooks_closure.name = "initHooks_closure";
- $desc = $collectedClasses.initHooks_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- initHooks_closure.prototype = $desc;
- function initHooks_closure0(getUnknownTag_1) {
- this.getUnknownTag_1 = getUnknownTag_1;
- }
- initHooks_closure0.builtin$cls = "initHooks_closure0";
- if (!"name" in initHooks_closure0)
- initHooks_closure0.name = "initHooks_closure0";
- $desc = $collectedClasses.initHooks_closure0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- initHooks_closure0.prototype = $desc;
- function initHooks_closure1(prototypeForTag_2) {
- this.prototypeForTag_2 = prototypeForTag_2;
- }
- initHooks_closure1.builtin$cls = "initHooks_closure1";
- if (!"name" in initHooks_closure1)
- initHooks_closure1.name = "initHooks_closure1";
- $desc = $collectedClasses.initHooks_closure1;
- if ($desc instanceof Array)
- $desc = $desc[1];
- initHooks_closure1.prototype = $desc;
- function ListIterator(_iterable, _length, _index, _current) {
- this._iterable = _iterable;
- this._length = _length;
- this._index = _index;
- this._current = _current;
- }
- ListIterator.builtin$cls = "ListIterator";
- if (!"name" in ListIterator)
- ListIterator.name = "ListIterator";
- $desc = $collectedClasses.ListIterator;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ListIterator.prototype = $desc;
- function MappedIterable(_iterable, _f) {
- this._iterable = _iterable;
- this._f = _f;
- }
- MappedIterable.builtin$cls = "MappedIterable";
- if (!"name" in MappedIterable)
- MappedIterable.name = "MappedIterable";
- $desc = $collectedClasses.MappedIterable;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MappedIterable.prototype = $desc;
- function EfficientLengthMappedIterable(_iterable, _f) {
- this._iterable = _iterable;
- this._f = _f;
- }
- EfficientLengthMappedIterable.builtin$cls = "EfficientLengthMappedIterable";
- if (!"name" in EfficientLengthMappedIterable)
- EfficientLengthMappedIterable.name = "EfficientLengthMappedIterable";
- $desc = $collectedClasses.EfficientLengthMappedIterable;
- if ($desc instanceof Array)
- $desc = $desc[1];
- EfficientLengthMappedIterable.prototype = $desc;
- function MappedIterator(_current, _iterator, _f) {
- this._current = _current;
- this._iterator = _iterator;
- this._f = _f;
- }
- MappedIterator.builtin$cls = "MappedIterator";
- if (!"name" in MappedIterator)
- MappedIterator.name = "MappedIterator";
- $desc = $collectedClasses.MappedIterator;
- if ($desc instanceof Array)
- $desc = $desc[1];
- MappedIterator.prototype = $desc;
- function FixedLengthListMixin() {
- }
- FixedLengthListMixin.builtin$cls = "FixedLengthListMixin";
- if (!"name" in FixedLengthListMixin)
- FixedLengthListMixin.name = "FixedLengthListMixin";
- $desc = $collectedClasses.FixedLengthListMixin;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FixedLengthListMixin.prototype = $desc;
- function _AsyncError(error, stackTrace) {
- this.error = error;
- this.stackTrace = stackTrace;
- }
- _AsyncError.builtin$cls = "_AsyncError";
- if (!"name" in _AsyncError)
- _AsyncError.name = "_AsyncError";
- $desc = $collectedClasses._AsyncError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _AsyncError.prototype = $desc;
- _AsyncError.prototype.get$error = function(receiver) {
- return this.error;
- };
- _AsyncError.prototype.get$stackTrace = function() {
- return this.stackTrace;
- };
- function Future() {
- }
- Future.builtin$cls = "Future";
- if (!"name" in Future)
- Future.name = "Future";
- $desc = $collectedClasses.Future;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Future.prototype = $desc;
- function Future_wait_handleError(box_0) {
- this.box_0 = box_0;
- }
- Future_wait_handleError.builtin$cls = "Future_wait_handleError";
- if (!"name" in Future_wait_handleError)
- Future_wait_handleError.name = "Future_wait_handleError";
- $desc = $collectedClasses.Future_wait_handleError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Future_wait_handleError.prototype = $desc;
- function Future_wait_closure(box_0, pos_1) {
- this.box_0 = box_0;
- this.pos_1 = pos_1;
- }
- Future_wait_closure.builtin$cls = "Future_wait_closure";
- if (!"name" in Future_wait_closure)
- Future_wait_closure.name = "Future_wait_closure";
- $desc = $collectedClasses.Future_wait_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Future_wait_closure.prototype = $desc;
- function _Completer() {
- }
- _Completer.builtin$cls = "_Completer";
- if (!"name" in _Completer)
- _Completer.name = "_Completer";
- $desc = $collectedClasses._Completer;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Completer.prototype = $desc;
- function _AsyncCompleter(future) {
- this.future = future;
- }
- _AsyncCompleter.builtin$cls = "_AsyncCompleter";
- if (!"name" in _AsyncCompleter)
- _AsyncCompleter.name = "_AsyncCompleter";
- $desc = $collectedClasses._AsyncCompleter;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _AsyncCompleter.prototype = $desc;
- function _Future(_state, _zone, _resultOrListeners, _nextListener, _onValueCallback, _errorTestCallback, _onErrorCallback, _whenCompleteActionCallback) {
- this._state = _state;
- this._zone = _zone;
- this._resultOrListeners = _resultOrListeners;
- this._nextListener = _nextListener;
- this._onValueCallback = _onValueCallback;
- this._errorTestCallback = _errorTestCallback;
- this._onErrorCallback = _onErrorCallback;
- this._whenCompleteActionCallback = _whenCompleteActionCallback;
- }
- _Future.builtin$cls = "_Future";
- if (!"name" in _Future)
- _Future.name = "_Future";
- $desc = $collectedClasses._Future;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Future.prototype = $desc;
- _Future.prototype.get$_zone = function() {
- return this._zone;
- };
- _Future.prototype.get$_nextListener = function() {
- return this._nextListener;
- };
- function BoundClosure$2(_self, __js_helper$_target, _receiver, __js_helper$_name) {
- this._self = _self;
- this.__js_helper$_target = __js_helper$_target;
- this._receiver = _receiver;
- this.__js_helper$_name = __js_helper$_name;
- }
- BoundClosure$2.builtin$cls = "BoundClosure$2";
- $desc = $collectedClasses.BoundClosure$2;
- if ($desc instanceof Array)
- $desc = $desc[1];
- BoundClosure$2.prototype = $desc;
- function _Future__addListener_closure(this_0, listener_1) {
- this.this_0 = this_0;
- this.listener_1 = listener_1;
- }
- _Future__addListener_closure.builtin$cls = "_Future__addListener_closure";
- if (!"name" in _Future__addListener_closure)
- _Future__addListener_closure.name = "_Future__addListener_closure";
- $desc = $collectedClasses._Future__addListener_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Future__addListener_closure.prototype = $desc;
- function _Future__chainFutures_closure(target_0) {
- this.target_0 = target_0;
- }
- _Future__chainFutures_closure.builtin$cls = "_Future__chainFutures_closure";
- if (!"name" in _Future__chainFutures_closure)
- _Future__chainFutures_closure.name = "_Future__chainFutures_closure";
- $desc = $collectedClasses._Future__chainFutures_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Future__chainFutures_closure.prototype = $desc;
- function _Future__chainFutures_closure0(target_1) {
- this.target_1 = target_1;
- }
- _Future__chainFutures_closure0.builtin$cls = "_Future__chainFutures_closure0";
- if (!"name" in _Future__chainFutures_closure0)
- _Future__chainFutures_closure0.name = "_Future__chainFutures_closure0";
- $desc = $collectedClasses._Future__chainFutures_closure0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Future__chainFutures_closure0.prototype = $desc;
- function _Future__asyncComplete_closure(this_0, value_1) {
- this.this_0 = this_0;
- this.value_1 = value_1;
- }
- _Future__asyncComplete_closure.builtin$cls = "_Future__asyncComplete_closure";
- if (!"name" in _Future__asyncComplete_closure)
- _Future__asyncComplete_closure.name = "_Future__asyncComplete_closure";
- $desc = $collectedClasses._Future__asyncComplete_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Future__asyncComplete_closure.prototype = $desc;
- function _Future__asyncCompleteError_closure(this_0, error_1, stackTrace_2) {
- this.this_0 = this_0;
- this.error_1 = error_1;
- this.stackTrace_2 = stackTrace_2;
- }
- _Future__asyncCompleteError_closure.builtin$cls = "_Future__asyncCompleteError_closure";
- if (!"name" in _Future__asyncCompleteError_closure)
- _Future__asyncCompleteError_closure.name = "_Future__asyncCompleteError_closure";
- $desc = $collectedClasses._Future__asyncCompleteError_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Future__asyncCompleteError_closure.prototype = $desc;
- function _Future__propagateToListeners_closure(box_2, listener_3) {
- this.box_2 = box_2;
- this.listener_3 = listener_3;
- }
- _Future__propagateToListeners_closure.builtin$cls = "_Future__propagateToListeners_closure";
- if (!"name" in _Future__propagateToListeners_closure)
- _Future__propagateToListeners_closure.name = "_Future__propagateToListeners_closure";
- $desc = $collectedClasses._Future__propagateToListeners_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Future__propagateToListeners_closure.prototype = $desc;
- function _Future__propagateToListeners_closure0(box_2, box_1, hasError_4, listener_5) {
- this.box_2 = box_2;
- this.box_1 = box_1;
- this.hasError_4 = hasError_4;
- this.listener_5 = listener_5;
- }
- _Future__propagateToListeners_closure0.builtin$cls = "_Future__propagateToListeners_closure0";
- if (!"name" in _Future__propagateToListeners_closure0)
- _Future__propagateToListeners_closure0.name = "_Future__propagateToListeners_closure0";
- $desc = $collectedClasses._Future__propagateToListeners_closure0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Future__propagateToListeners_closure0.prototype = $desc;
- function _Future__propagateToListeners__closure(box_2, listener_6) {
- this.box_2 = box_2;
- this.listener_6 = listener_6;
- }
- _Future__propagateToListeners__closure.builtin$cls = "_Future__propagateToListeners__closure";
- if (!"name" in _Future__propagateToListeners__closure)
- _Future__propagateToListeners__closure.name = "_Future__propagateToListeners__closure";
- $desc = $collectedClasses._Future__propagateToListeners__closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Future__propagateToListeners__closure.prototype = $desc;
- function _Future__propagateToListeners__closure0(box_0, listener_7) {
- this.box_0 = box_0;
- this.listener_7 = listener_7;
- }
- _Future__propagateToListeners__closure0.builtin$cls = "_Future__propagateToListeners__closure0";
- if (!"name" in _Future__propagateToListeners__closure0)
- _Future__propagateToListeners__closure0.name = "_Future__propagateToListeners__closure0";
- $desc = $collectedClasses._Future__propagateToListeners__closure0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Future__propagateToListeners__closure0.prototype = $desc;
- function Stream() {
- }
- Stream.builtin$cls = "Stream";
- if (!"name" in Stream)
- Stream.name = "Stream";
- $desc = $collectedClasses.Stream;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Stream.prototype = $desc;
- function Stream_forEach_closure(box_0, this_1, action_2, future_3) {
- this.box_0 = box_0;
- this.this_1 = this_1;
- this.action_2 = action_2;
- this.future_3 = future_3;
- }
- Stream_forEach_closure.builtin$cls = "Stream_forEach_closure";
- if (!"name" in Stream_forEach_closure)
- Stream_forEach_closure.name = "Stream_forEach_closure";
- $desc = $collectedClasses.Stream_forEach_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Stream_forEach_closure.prototype = $desc;
- function Stream_forEach__closure(action_4, element_5) {
- this.action_4 = action_4;
- this.element_5 = element_5;
- }
- Stream_forEach__closure.builtin$cls = "Stream_forEach__closure";
- if (!"name" in Stream_forEach__closure)
- Stream_forEach__closure.name = "Stream_forEach__closure";
- $desc = $collectedClasses.Stream_forEach__closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Stream_forEach__closure.prototype = $desc;
- function Stream_forEach__closure0() {
- }
- Stream_forEach__closure0.builtin$cls = "Stream_forEach__closure0";
- if (!"name" in Stream_forEach__closure0)
- Stream_forEach__closure0.name = "Stream_forEach__closure0";
- $desc = $collectedClasses.Stream_forEach__closure0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Stream_forEach__closure0.prototype = $desc;
- function Stream_forEach_closure0(future_6) {
- this.future_6 = future_6;
- }
- Stream_forEach_closure0.builtin$cls = "Stream_forEach_closure0";
- if (!"name" in Stream_forEach_closure0)
- Stream_forEach_closure0.name = "Stream_forEach_closure0";
- $desc = $collectedClasses.Stream_forEach_closure0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Stream_forEach_closure0.prototype = $desc;
- function Stream_length_closure(box_0) {
- this.box_0 = box_0;
- }
- Stream_length_closure.builtin$cls = "Stream_length_closure";
- if (!"name" in Stream_length_closure)
- Stream_length_closure.name = "Stream_length_closure";
- $desc = $collectedClasses.Stream_length_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Stream_length_closure.prototype = $desc;
- function Stream_length_closure0(box_0, future_1) {
- this.box_0 = box_0;
- this.future_1 = future_1;
- }
- Stream_length_closure0.builtin$cls = "Stream_length_closure0";
- if (!"name" in Stream_length_closure0)
- Stream_length_closure0.name = "Stream_length_closure0";
- $desc = $collectedClasses.Stream_length_closure0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Stream_length_closure0.prototype = $desc;
- function StreamSubscription() {
- }
- StreamSubscription.builtin$cls = "StreamSubscription";
- if (!"name" in StreamSubscription)
- StreamSubscription.name = "StreamSubscription";
- $desc = $collectedClasses.StreamSubscription;
- if ($desc instanceof Array)
- $desc = $desc[1];
- StreamSubscription.prototype = $desc;
- function _StreamController() {
- }
- _StreamController.builtin$cls = "_StreamController";
- if (!"name" in _StreamController)
- _StreamController.name = "_StreamController";
- $desc = $collectedClasses._StreamController;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _StreamController.prototype = $desc;
- function _StreamController__subscribe_closure(this_0) {
- this.this_0 = this_0;
- }
- _StreamController__subscribe_closure.builtin$cls = "_StreamController__subscribe_closure";
- if (!"name" in _StreamController__subscribe_closure)
- _StreamController__subscribe_closure.name = "_StreamController__subscribe_closure";
- $desc = $collectedClasses._StreamController__subscribe_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _StreamController__subscribe_closure.prototype = $desc;
- function _StreamController__recordCancel_complete(this_0) {
- this.this_0 = this_0;
- }
- _StreamController__recordCancel_complete.builtin$cls = "_StreamController__recordCancel_complete";
- if (!"name" in _StreamController__recordCancel_complete)
- _StreamController__recordCancel_complete.name = "_StreamController__recordCancel_complete";
- $desc = $collectedClasses._StreamController__recordCancel_complete;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _StreamController__recordCancel_complete.prototype = $desc;
- function _SyncStreamControllerDispatch() {
- }
- _SyncStreamControllerDispatch.builtin$cls = "_SyncStreamControllerDispatch";
- if (!"name" in _SyncStreamControllerDispatch)
- _SyncStreamControllerDispatch.name = "_SyncStreamControllerDispatch";
- $desc = $collectedClasses._SyncStreamControllerDispatch;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SyncStreamControllerDispatch.prototype = $desc;
- function _AsyncStreamControllerDispatch() {
- }
- _AsyncStreamControllerDispatch.builtin$cls = "_AsyncStreamControllerDispatch";
- if (!"name" in _AsyncStreamControllerDispatch)
- _AsyncStreamControllerDispatch.name = "_AsyncStreamControllerDispatch";
- $desc = $collectedClasses._AsyncStreamControllerDispatch;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _AsyncStreamControllerDispatch.prototype = $desc;
- function _AsyncStreamController(_onListen, _onPause, _onResume, _onCancel, _varData, _state, _doneFuture) {
- this._onListen = _onListen;
- this._onPause = _onPause;
- this._onResume = _onResume;
- this._onCancel = _onCancel;
- this._varData = _varData;
- this._state = _state;
- this._doneFuture = _doneFuture;
- }
- _AsyncStreamController.builtin$cls = "_AsyncStreamController";
- if (!"name" in _AsyncStreamController)
- _AsyncStreamController.name = "_AsyncStreamController";
- $desc = $collectedClasses._AsyncStreamController;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _AsyncStreamController.prototype = $desc;
- _AsyncStreamController.prototype.get$_onListen = function() {
- return this._onListen;
- };
- _AsyncStreamController.prototype.get$_onPause = function() {
- return this._onPause;
- };
- _AsyncStreamController.prototype.get$_onResume = function() {
- return this._onResume;
- };
- _AsyncStreamController.prototype.get$_onCancel = function() {
- return this._onCancel;
- };
- function _StreamController__AsyncStreamControllerDispatch() {
- }
- _StreamController__AsyncStreamControllerDispatch.builtin$cls = "_StreamController__AsyncStreamControllerDispatch";
- if (!"name" in _StreamController__AsyncStreamControllerDispatch)
- _StreamController__AsyncStreamControllerDispatch.name = "_StreamController__AsyncStreamControllerDispatch";
- $desc = $collectedClasses._StreamController__AsyncStreamControllerDispatch;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _StreamController__AsyncStreamControllerDispatch.prototype = $desc;
- function _SyncStreamController(_onListen, _onPause, _onResume, _onCancel, _varData, _state, _doneFuture) {
- this._onListen = _onListen;
- this._onPause = _onPause;
- this._onResume = _onResume;
- this._onCancel = _onCancel;
- this._varData = _varData;
- this._state = _state;
- this._doneFuture = _doneFuture;
- }
- _SyncStreamController.builtin$cls = "_SyncStreamController";
- if (!"name" in _SyncStreamController)
- _SyncStreamController.name = "_SyncStreamController";
- $desc = $collectedClasses._SyncStreamController;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _SyncStreamController.prototype = $desc;
- _SyncStreamController.prototype.get$_onListen = function() {
- return this._onListen;
- };
- _SyncStreamController.prototype.get$_onPause = function() {
- return this._onPause;
- };
- _SyncStreamController.prototype.get$_onResume = function() {
- return this._onResume;
- };
- _SyncStreamController.prototype.get$_onCancel = function() {
- return this._onCancel;
- };
- function _StreamController__SyncStreamControllerDispatch() {
- }
- _StreamController__SyncStreamControllerDispatch.builtin$cls = "_StreamController__SyncStreamControllerDispatch";
- if (!"name" in _StreamController__SyncStreamControllerDispatch)
- _StreamController__SyncStreamControllerDispatch.name = "_StreamController__SyncStreamControllerDispatch";
- $desc = $collectedClasses._StreamController__SyncStreamControllerDispatch;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _StreamController__SyncStreamControllerDispatch.prototype = $desc;
- function _ControllerStream(_async$_controller) {
- this._async$_controller = _async$_controller;
- }
- _ControllerStream.builtin$cls = "_ControllerStream";
- if (!"name" in _ControllerStream)
- _ControllerStream.name = "_ControllerStream";
- $desc = $collectedClasses._ControllerStream;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _ControllerStream.prototype = $desc;
- function _ControllerSubscription(_async$_controller, _async$_onData, _onError, _onDone, _zone, _state, _cancelFuture, _pending) {
- this._async$_controller = _async$_controller;
- this._async$_onData = _async$_onData;
- this._onError = _onError;
- this._onDone = _onDone;
- this._zone = _zone;
- this._state = _state;
- this._cancelFuture = _cancelFuture;
- this._pending = _pending;
- }
- _ControllerSubscription.builtin$cls = "_ControllerSubscription";
- if (!"name" in _ControllerSubscription)
- _ControllerSubscription.name = "_ControllerSubscription";
- $desc = $collectedClasses._ControllerSubscription;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _ControllerSubscription.prototype = $desc;
- function BoundClosure$0(_self, __js_helper$_target, _receiver, __js_helper$_name) {
- this._self = _self;
- this.__js_helper$_target = __js_helper$_target;
- this._receiver = _receiver;
- this.__js_helper$_name = __js_helper$_name;
- }
- BoundClosure$0.builtin$cls = "BoundClosure$0";
- $desc = $collectedClasses.BoundClosure$0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- BoundClosure$0.prototype = $desc;
- function _EventSink() {
- }
- _EventSink.builtin$cls = "_EventSink";
- if (!"name" in _EventSink)
- _EventSink.name = "_EventSink";
- $desc = $collectedClasses._EventSink;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _EventSink.prototype = $desc;
- function _BufferingStreamSubscription(_async$_onData, _onError, _onDone, _zone, _state, _cancelFuture, _pending) {
- this._async$_onData = _async$_onData;
- this._onError = _onError;
- this._onDone = _onDone;
- this._zone = _zone;
- this._state = _state;
- this._cancelFuture = _cancelFuture;
- this._pending = _pending;
- }
- _BufferingStreamSubscription.builtin$cls = "_BufferingStreamSubscription";
- if (!"name" in _BufferingStreamSubscription)
- _BufferingStreamSubscription.name = "_BufferingStreamSubscription";
- $desc = $collectedClasses._BufferingStreamSubscription;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _BufferingStreamSubscription.prototype = $desc;
- _BufferingStreamSubscription.prototype.get$_zone = function() {
- return this._zone;
- };
- function _BufferingStreamSubscription__sendDone_sendDone(this_0) {
- this.this_0 = this_0;
- }
- _BufferingStreamSubscription__sendDone_sendDone.builtin$cls = "_BufferingStreamSubscription__sendDone_sendDone";
- if (!"name" in _BufferingStreamSubscription__sendDone_sendDone)
- _BufferingStreamSubscription__sendDone_sendDone.name = "_BufferingStreamSubscription__sendDone_sendDone";
- $desc = $collectedClasses._BufferingStreamSubscription__sendDone_sendDone;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _BufferingStreamSubscription__sendDone_sendDone.prototype = $desc;
- function _StreamImpl() {
- }
- _StreamImpl.builtin$cls = "_StreamImpl";
- if (!"name" in _StreamImpl)
- _StreamImpl.name = "_StreamImpl";
- $desc = $collectedClasses._StreamImpl;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _StreamImpl.prototype = $desc;
- function _DelayedEvent(next) {
- this.next = next;
- }
- _DelayedEvent.builtin$cls = "_DelayedEvent";
- if (!"name" in _DelayedEvent)
- _DelayedEvent.name = "_DelayedEvent";
- $desc = $collectedClasses._DelayedEvent;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _DelayedEvent.prototype = $desc;
- _DelayedEvent.prototype.get$next = function() {
- return this.next;
- };
- _DelayedEvent.prototype.set$next = function(v) {
- return this.next = v;
- };
- function _DelayedData(value, next) {
- this.value = value;
- this.next = next;
- }
- _DelayedData.builtin$cls = "_DelayedData";
- if (!"name" in _DelayedData)
- _DelayedData.name = "_DelayedData";
- $desc = $collectedClasses._DelayedData;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _DelayedData.prototype = $desc;
- function _DelayedDone() {
- }
- _DelayedDone.builtin$cls = "_DelayedDone";
- if (!"name" in _DelayedDone)
- _DelayedDone.name = "_DelayedDone";
- $desc = $collectedClasses._DelayedDone;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _DelayedDone.prototype = $desc;
- function _PendingEvents() {
- }
- _PendingEvents.builtin$cls = "_PendingEvents";
- if (!"name" in _PendingEvents)
- _PendingEvents.name = "_PendingEvents";
- $desc = $collectedClasses._PendingEvents;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _PendingEvents.prototype = $desc;
- function _PendingEvents_schedule_closure(this_0, dispatch_1) {
- this.this_0 = this_0;
- this.dispatch_1 = dispatch_1;
- }
- _PendingEvents_schedule_closure.builtin$cls = "_PendingEvents_schedule_closure";
- if (!"name" in _PendingEvents_schedule_closure)
- _PendingEvents_schedule_closure.name = "_PendingEvents_schedule_closure";
- $desc = $collectedClasses._PendingEvents_schedule_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _PendingEvents_schedule_closure.prototype = $desc;
- function _StreamImplEvents(firstPendingEvent, lastPendingEvent, _state) {
- this.firstPendingEvent = firstPendingEvent;
- this.lastPendingEvent = lastPendingEvent;
- this._state = _state;
- }
- _StreamImplEvents.builtin$cls = "_StreamImplEvents";
- if (!"name" in _StreamImplEvents)
- _StreamImplEvents.name = "_StreamImplEvents";
- $desc = $collectedClasses._StreamImplEvents;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _StreamImplEvents.prototype = $desc;
- function _cancelAndError_closure(future_0, error_1, stackTrace_2) {
- this.future_0 = future_0;
- this.error_1 = error_1;
- this.stackTrace_2 = stackTrace_2;
- }
- _cancelAndError_closure.builtin$cls = "_cancelAndError_closure";
- if (!"name" in _cancelAndError_closure)
- _cancelAndError_closure.name = "_cancelAndError_closure";
- $desc = $collectedClasses._cancelAndError_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _cancelAndError_closure.prototype = $desc;
- function _cancelAndErrorClosure_closure(subscription_0, future_1) {
- this.subscription_0 = subscription_0;
- this.future_1 = future_1;
- }
- _cancelAndErrorClosure_closure.builtin$cls = "_cancelAndErrorClosure_closure";
- if (!"name" in _cancelAndErrorClosure_closure)
- _cancelAndErrorClosure_closure.name = "_cancelAndErrorClosure_closure";
- $desc = $collectedClasses._cancelAndErrorClosure_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _cancelAndErrorClosure_closure.prototype = $desc;
- function _BaseZone() {
- }
- _BaseZone.builtin$cls = "_BaseZone";
- if (!"name" in _BaseZone)
- _BaseZone.name = "_BaseZone";
- $desc = $collectedClasses._BaseZone;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _BaseZone.prototype = $desc;
- function _BaseZone_bindCallback_closure(this_0, registered_1) {
- this.this_0 = this_0;
- this.registered_1 = registered_1;
- }
- _BaseZone_bindCallback_closure.builtin$cls = "_BaseZone_bindCallback_closure";
- if (!"name" in _BaseZone_bindCallback_closure)
- _BaseZone_bindCallback_closure.name = "_BaseZone_bindCallback_closure";
- $desc = $collectedClasses._BaseZone_bindCallback_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _BaseZone_bindCallback_closure.prototype = $desc;
- function _BaseZone_bindCallback_closure0(this_2, registered_3) {
- this.this_2 = this_2;
- this.registered_3 = registered_3;
- }
- _BaseZone_bindCallback_closure0.builtin$cls = "_BaseZone_bindCallback_closure0";
- if (!"name" in _BaseZone_bindCallback_closure0)
- _BaseZone_bindCallback_closure0.name = "_BaseZone_bindCallback_closure0";
- $desc = $collectedClasses._BaseZone_bindCallback_closure0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _BaseZone_bindCallback_closure0.prototype = $desc;
- function _BaseZone_bindUnaryCallback_closure(this_0, registered_1) {
- this.this_0 = this_0;
- this.registered_1 = registered_1;
- }
- _BaseZone_bindUnaryCallback_closure.builtin$cls = "_BaseZone_bindUnaryCallback_closure";
- if (!"name" in _BaseZone_bindUnaryCallback_closure)
- _BaseZone_bindUnaryCallback_closure.name = "_BaseZone_bindUnaryCallback_closure";
- $desc = $collectedClasses._BaseZone_bindUnaryCallback_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _BaseZone_bindUnaryCallback_closure.prototype = $desc;
- function _BaseZone_bindUnaryCallback_closure0(this_2, registered_3) {
- this.this_2 = this_2;
- this.registered_3 = registered_3;
- }
- _BaseZone_bindUnaryCallback_closure0.builtin$cls = "_BaseZone_bindUnaryCallback_closure0";
- if (!"name" in _BaseZone_bindUnaryCallback_closure0)
- _BaseZone_bindUnaryCallback_closure0.name = "_BaseZone_bindUnaryCallback_closure0";
- $desc = $collectedClasses._BaseZone_bindUnaryCallback_closure0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _BaseZone_bindUnaryCallback_closure0.prototype = $desc;
- function _rootHandleUncaughtError_closure(error_0, stackTrace_1) {
- this.error_0 = error_0;
- this.stackTrace_1 = stackTrace_1;
- }
- _rootHandleUncaughtError_closure.builtin$cls = "_rootHandleUncaughtError_closure";
- if (!"name" in _rootHandleUncaughtError_closure)
- _rootHandleUncaughtError_closure.name = "_rootHandleUncaughtError_closure";
- $desc = $collectedClasses._rootHandleUncaughtError_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _rootHandleUncaughtError_closure.prototype = $desc;
- function _rootHandleUncaughtError__closure(error_2, stackTrace_3) {
- this.error_2 = error_2;
- this.stackTrace_3 = stackTrace_3;
- }
- _rootHandleUncaughtError__closure.builtin$cls = "_rootHandleUncaughtError__closure";
- if (!"name" in _rootHandleUncaughtError__closure)
- _rootHandleUncaughtError__closure.name = "_rootHandleUncaughtError__closure";
- $desc = $collectedClasses._rootHandleUncaughtError__closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _rootHandleUncaughtError__closure.prototype = $desc;
- function _RootZone() {
- }
- _RootZone.builtin$cls = "_RootZone";
- if (!"name" in _RootZone)
- _RootZone.name = "_RootZone";
- $desc = $collectedClasses._RootZone;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _RootZone.prototype = $desc;
- function _HashMap(_collection$_length, _strings, _nums, _rest, _keys) {
- this._collection$_length = _collection$_length;
- this._strings = _strings;
- this._nums = _nums;
- this._rest = _rest;
- this._keys = _keys;
- }
- _HashMap.builtin$cls = "_HashMap";
- if (!"name" in _HashMap)
- _HashMap.name = "_HashMap";
- $desc = $collectedClasses._HashMap;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _HashMap.prototype = $desc;
- function _HashMap_values_closure(this_0) {
- this.this_0 = this_0;
- }
- _HashMap_values_closure.builtin$cls = "_HashMap_values_closure";
- if (!"name" in _HashMap_values_closure)
- _HashMap_values_closure.name = "_HashMap_values_closure";
- $desc = $collectedClasses._HashMap_values_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _HashMap_values_closure.prototype = $desc;
- function HashMapKeyIterable(_map) {
- this._map = _map;
- }
- HashMapKeyIterable.builtin$cls = "HashMapKeyIterable";
- if (!"name" in HashMapKeyIterable)
- HashMapKeyIterable.name = "HashMapKeyIterable";
- $desc = $collectedClasses.HashMapKeyIterable;
- if ($desc instanceof Array)
- $desc = $desc[1];
- HashMapKeyIterable.prototype = $desc;
- function HashMapKeyIterator(_map, _keys, _offset, _collection$_current) {
- this._map = _map;
- this._keys = _keys;
- this._offset = _offset;
- this._collection$_current = _collection$_current;
- }
- HashMapKeyIterator.builtin$cls = "HashMapKeyIterator";
- if (!"name" in HashMapKeyIterator)
- HashMapKeyIterator.name = "HashMapKeyIterator";
- $desc = $collectedClasses.HashMapKeyIterator;
- if ($desc instanceof Array)
- $desc = $desc[1];
- HashMapKeyIterator.prototype = $desc;
- function _LinkedHashMap(_collection$_length, _strings, _nums, _rest, _first, _last, _modifications) {
- this._collection$_length = _collection$_length;
- this._strings = _strings;
- this._nums = _nums;
- this._rest = _rest;
- this._first = _first;
- this._last = _last;
- this._modifications = _modifications;
- }
- _LinkedHashMap.builtin$cls = "_LinkedHashMap";
- if (!"name" in _LinkedHashMap)
- _LinkedHashMap.name = "_LinkedHashMap";
- $desc = $collectedClasses._LinkedHashMap;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _LinkedHashMap.prototype = $desc;
- function _LinkedHashMap_values_closure(this_0) {
- this.this_0 = this_0;
- }
- _LinkedHashMap_values_closure.builtin$cls = "_LinkedHashMap_values_closure";
- if (!"name" in _LinkedHashMap_values_closure)
- _LinkedHashMap_values_closure.name = "_LinkedHashMap_values_closure";
- $desc = $collectedClasses._LinkedHashMap_values_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _LinkedHashMap_values_closure.prototype = $desc;
- function LinkedHashMapCell(_key, _collection$_value, _next, _previous) {
- this._key = _key;
- this._collection$_value = _collection$_value;
- this._next = _next;
- this._previous = _previous;
- }
- LinkedHashMapCell.builtin$cls = "LinkedHashMapCell";
- if (!"name" in LinkedHashMapCell)
- LinkedHashMapCell.name = "LinkedHashMapCell";
- $desc = $collectedClasses.LinkedHashMapCell;
- if ($desc instanceof Array)
- $desc = $desc[1];
- LinkedHashMapCell.prototype = $desc;
- LinkedHashMapCell.prototype.get$_key = function() {
- return this._key;
- };
- LinkedHashMapCell.prototype.get$_collection$_value = function() {
- return this._collection$_value;
- };
- LinkedHashMapCell.prototype.set$_collection$_value = function(v) {
- return this._collection$_value = v;
- };
- LinkedHashMapCell.prototype.get$_previous = function() {
- return this._previous;
- };
- function LinkedHashMapKeyIterable(_map) {
- this._map = _map;
- }
- LinkedHashMapKeyIterable.builtin$cls = "LinkedHashMapKeyIterable";
- if (!"name" in LinkedHashMapKeyIterable)
- LinkedHashMapKeyIterable.name = "LinkedHashMapKeyIterable";
- $desc = $collectedClasses.LinkedHashMapKeyIterable;
- if ($desc instanceof Array)
- $desc = $desc[1];
- LinkedHashMapKeyIterable.prototype = $desc;
- function LinkedHashMapKeyIterator(_map, _modifications, _cell, _collection$_current) {
- this._map = _map;
- this._modifications = _modifications;
- this._cell = _cell;
- this._collection$_current = _collection$_current;
- }
- LinkedHashMapKeyIterator.builtin$cls = "LinkedHashMapKeyIterator";
- if (!"name" in LinkedHashMapKeyIterator)
- LinkedHashMapKeyIterator.name = "LinkedHashMapKeyIterator";
- $desc = $collectedClasses.LinkedHashMapKeyIterator;
- if ($desc instanceof Array)
- $desc = $desc[1];
- LinkedHashMapKeyIterator.prototype = $desc;
- function _HashSet() {
- }
- _HashSet.builtin$cls = "_HashSet";
- if (!"name" in _HashSet)
- _HashSet.name = "_HashSet";
- $desc = $collectedClasses._HashSet;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _HashSet.prototype = $desc;
- function _IdentityHashSet(_collection$_length, _strings, _nums, _rest, _elements) {
- this._collection$_length = _collection$_length;
- this._strings = _strings;
- this._nums = _nums;
- this._rest = _rest;
- this._elements = _elements;
- }
- _IdentityHashSet.builtin$cls = "_IdentityHashSet";
- if (!"name" in _IdentityHashSet)
- _IdentityHashSet.name = "_IdentityHashSet";
- $desc = $collectedClasses._IdentityHashSet;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _IdentityHashSet.prototype = $desc;
- function HashSetIterator(_set, _elements, _offset, _collection$_current) {
- this._set = _set;
- this._elements = _elements;
- this._offset = _offset;
- this._collection$_current = _collection$_current;
- }
- HashSetIterator.builtin$cls = "HashSetIterator";
- if (!"name" in HashSetIterator)
- HashSetIterator.name = "HashSetIterator";
- $desc = $collectedClasses.HashSetIterator;
- if ($desc instanceof Array)
- $desc = $desc[1];
- HashSetIterator.prototype = $desc;
- function _HashSetBase() {
- }
- _HashSetBase.builtin$cls = "_HashSetBase";
- if (!"name" in _HashSetBase)
- _HashSetBase.name = "_HashSetBase";
- $desc = $collectedClasses._HashSetBase;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _HashSetBase.prototype = $desc;
- function IterableBase() {
- }
- IterableBase.builtin$cls = "IterableBase";
- if (!"name" in IterableBase)
- IterableBase.name = "IterableBase";
- $desc = $collectedClasses.IterableBase;
- if ($desc instanceof Array)
- $desc = $desc[1];
- IterableBase.prototype = $desc;
- function ListMixin() {
- }
- ListMixin.builtin$cls = "ListMixin";
- if (!"name" in ListMixin)
- ListMixin.name = "ListMixin";
- $desc = $collectedClasses.ListMixin;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ListMixin.prototype = $desc;
- function Maps_mapToString_closure(box_0, result_1) {
- this.box_0 = box_0;
- this.result_1 = result_1;
- }
- Maps_mapToString_closure.builtin$cls = "Maps_mapToString_closure";
- if (!"name" in Maps_mapToString_closure)
- Maps_mapToString_closure.name = "Maps_mapToString_closure";
- $desc = $collectedClasses.Maps_mapToString_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Maps_mapToString_closure.prototype = $desc;
- function ListQueue(_table, _head, _tail, _modificationCount) {
- this._table = _table;
- this._head = _head;
- this._tail = _tail;
- this._modificationCount = _modificationCount;
- }
- ListQueue.builtin$cls = "ListQueue";
- if (!"name" in ListQueue)
- ListQueue.name = "ListQueue";
- $desc = $collectedClasses.ListQueue;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ListQueue.prototype = $desc;
- function _ListQueueIterator(_queue, _end, _modificationCount, _position, _collection$_current) {
- this._queue = _queue;
- this._end = _end;
- this._modificationCount = _modificationCount;
- this._position = _position;
- this._collection$_current = _collection$_current;
- }
- _ListQueueIterator.builtin$cls = "_ListQueueIterator";
- if (!"name" in _ListQueueIterator)
- _ListQueueIterator.name = "_ListQueueIterator";
- $desc = $collectedClasses._ListQueueIterator;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _ListQueueIterator.prototype = $desc;
- function NoSuchMethodError_toString_closure(box_0) {
- this.box_0 = box_0;
- }
- NoSuchMethodError_toString_closure.builtin$cls = "NoSuchMethodError_toString_closure";
- if (!"name" in NoSuchMethodError_toString_closure)
- NoSuchMethodError_toString_closure.name = "NoSuchMethodError_toString_closure";
- $desc = $collectedClasses.NoSuchMethodError_toString_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- NoSuchMethodError_toString_closure.prototype = $desc;
- function Duration(_duration) {
- this._duration = _duration;
- }
- Duration.builtin$cls = "Duration";
- if (!"name" in Duration)
- Duration.name = "Duration";
- $desc = $collectedClasses.Duration;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Duration.prototype = $desc;
- function Duration_toString_sixDigits() {
- }
- Duration_toString_sixDigits.builtin$cls = "Duration_toString_sixDigits";
- if (!"name" in Duration_toString_sixDigits)
- Duration_toString_sixDigits.name = "Duration_toString_sixDigits";
- $desc = $collectedClasses.Duration_toString_sixDigits;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Duration_toString_sixDigits.prototype = $desc;
- function Duration_toString_twoDigits() {
- }
- Duration_toString_twoDigits.builtin$cls = "Duration_toString_twoDigits";
- if (!"name" in Duration_toString_twoDigits)
- Duration_toString_twoDigits.name = "Duration_toString_twoDigits";
- $desc = $collectedClasses.Duration_toString_twoDigits;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Duration_toString_twoDigits.prototype = $desc;
- function Error() {
- }
- Error.builtin$cls = "Error";
- if (!"name" in Error)
- Error.name = "Error";
- $desc = $collectedClasses.Error;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Error.prototype = $desc;
- function NullThrownError() {
- }
- NullThrownError.builtin$cls = "NullThrownError";
- if (!"name" in NullThrownError)
- NullThrownError.name = "NullThrownError";
- $desc = $collectedClasses.NullThrownError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- NullThrownError.prototype = $desc;
- function ArgumentError(message) {
- this.message = message;
- }
- ArgumentError.builtin$cls = "ArgumentError";
- if (!"name" in ArgumentError)
- ArgumentError.name = "ArgumentError";
- $desc = $collectedClasses.ArgumentError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ArgumentError.prototype = $desc;
- function RangeError(message) {
- this.message = message;
- }
- RangeError.builtin$cls = "RangeError";
- if (!"name" in RangeError)
- RangeError.name = "RangeError";
- $desc = $collectedClasses.RangeError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- RangeError.prototype = $desc;
- function UnsupportedError(message) {
- this.message = message;
- }
- UnsupportedError.builtin$cls = "UnsupportedError";
- if (!"name" in UnsupportedError)
- UnsupportedError.name = "UnsupportedError";
- $desc = $collectedClasses.UnsupportedError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- UnsupportedError.prototype = $desc;
- function UnimplementedError(message) {
- this.message = message;
- }
- UnimplementedError.builtin$cls = "UnimplementedError";
- if (!"name" in UnimplementedError)
- UnimplementedError.name = "UnimplementedError";
- $desc = $collectedClasses.UnimplementedError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- UnimplementedError.prototype = $desc;
- function StateError(message) {
- this.message = message;
- }
- StateError.builtin$cls = "StateError";
- if (!"name" in StateError)
- StateError.name = "StateError";
- $desc = $collectedClasses.StateError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- StateError.prototype = $desc;
- function ConcurrentModificationError(modifiedObject) {
- this.modifiedObject = modifiedObject;
- }
- ConcurrentModificationError.builtin$cls = "ConcurrentModificationError";
- if (!"name" in ConcurrentModificationError)
- ConcurrentModificationError.name = "ConcurrentModificationError";
- $desc = $collectedClasses.ConcurrentModificationError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ConcurrentModificationError.prototype = $desc;
- function StackOverflowError() {
- }
- StackOverflowError.builtin$cls = "StackOverflowError";
- if (!"name" in StackOverflowError)
- StackOverflowError.name = "StackOverflowError";
- $desc = $collectedClasses.StackOverflowError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- StackOverflowError.prototype = $desc;
- function CyclicInitializationError(variableName) {
- this.variableName = variableName;
- }
- CyclicInitializationError.builtin$cls = "CyclicInitializationError";
- if (!"name" in CyclicInitializationError)
- CyclicInitializationError.name = "CyclicInitializationError";
- $desc = $collectedClasses.CyclicInitializationError;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CyclicInitializationError.prototype = $desc;
- function _ExceptionImplementation(message) {
- this.message = message;
- }
- _ExceptionImplementation.builtin$cls = "_ExceptionImplementation";
- if (!"name" in _ExceptionImplementation)
- _ExceptionImplementation.name = "_ExceptionImplementation";
- $desc = $collectedClasses._ExceptionImplementation;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _ExceptionImplementation.prototype = $desc;
- function Expando(name) {
- this.name = name;
- }
- Expando.builtin$cls = "Expando";
- if (!"name" in Expando)
- Expando.name = "Expando";
- $desc = $collectedClasses.Expando;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Expando.prototype = $desc;
- function Function() {
- }
- Function.builtin$cls = "Function";
- if (!"name" in Function)
- Function.name = "Function";
- $desc = $collectedClasses.Function;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Function.prototype = $desc;
- function Iterator() {
- }
- Iterator.builtin$cls = "Iterator";
- if (!"name" in Iterator)
- Iterator.name = "Iterator";
- $desc = $collectedClasses.Iterator;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Iterator.prototype = $desc;
- function Null() {
- }
- Null.builtin$cls = "Null";
- if (!"name" in Null)
- Null.name = "Null";
- $desc = $collectedClasses.Null;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Null.prototype = $desc;
- function Object() {
- }
- Object.builtin$cls = "Object";
- if (!"name" in Object)
- Object.name = "Object";
- $desc = $collectedClasses.Object;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Object.prototype = $desc;
- function StackTrace() {
- }
- StackTrace.builtin$cls = "StackTrace";
- if (!"name" in StackTrace)
- StackTrace.name = "StackTrace";
- $desc = $collectedClasses.StackTrace;
- if ($desc instanceof Array)
- $desc = $desc[1];
- StackTrace.prototype = $desc;
- function StringBuffer(_contents) {
- this._contents = _contents;
- }
- StringBuffer.builtin$cls = "StringBuffer";
- if (!"name" in StringBuffer)
- StringBuffer.name = "StringBuffer";
- $desc = $collectedClasses.StringBuffer;
- if ($desc instanceof Array)
- $desc = $desc[1];
- StringBuffer.prototype = $desc;
- StringBuffer.prototype.get$_contents = function() {
- return this._contents;
- };
- function Symbol() {
- }
- Symbol.builtin$cls = "Symbol";
- if (!"name" in Symbol)
- Symbol.name = "Symbol";
- $desc = $collectedClasses.Symbol;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Symbol.prototype = $desc;
- function Interceptor_ListMixin() {
- }
- Interceptor_ListMixin.builtin$cls = "Interceptor_ListMixin";
- if (!"name" in Interceptor_ListMixin)
- Interceptor_ListMixin.name = "Interceptor_ListMixin";
- $desc = $collectedClasses.Interceptor_ListMixin;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Interceptor_ListMixin.prototype = $desc;
- function Interceptor_ListMixin_ImmutableListMixin() {
- }
- Interceptor_ListMixin_ImmutableListMixin.builtin$cls = "Interceptor_ListMixin_ImmutableListMixin";
- if (!"name" in Interceptor_ListMixin_ImmutableListMixin)
- Interceptor_ListMixin_ImmutableListMixin.name = "Interceptor_ListMixin_ImmutableListMixin";
- $desc = $collectedClasses.Interceptor_ListMixin_ImmutableListMixin;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Interceptor_ListMixin_ImmutableListMixin.prototype = $desc;
- function EventStreamProvider(_eventType) {
- this._eventType = _eventType;
- }
- EventStreamProvider.builtin$cls = "EventStreamProvider";
- if (!"name" in EventStreamProvider)
- EventStreamProvider.name = "EventStreamProvider";
- $desc = $collectedClasses.EventStreamProvider;
- if ($desc instanceof Array)
- $desc = $desc[1];
- EventStreamProvider.prototype = $desc;
- function _EventStream() {
- }
- _EventStream.builtin$cls = "_EventStream";
- if (!"name" in _EventStream)
- _EventStream.name = "_EventStream";
- $desc = $collectedClasses._EventStream;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _EventStream.prototype = $desc;
- function _ElementEventStreamImpl(_target, _eventType, _useCapture) {
- this._target = _target;
- this._eventType = _eventType;
- this._useCapture = _useCapture;
- }
- _ElementEventStreamImpl.builtin$cls = "_ElementEventStreamImpl";
- if (!"name" in _ElementEventStreamImpl)
- _ElementEventStreamImpl.name = "_ElementEventStreamImpl";
- $desc = $collectedClasses._ElementEventStreamImpl;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _ElementEventStreamImpl.prototype = $desc;
- function _EventStreamSubscription(_pauseCount, _target, _eventType, _onData, _useCapture) {
- this._pauseCount = _pauseCount;
- this._target = _target;
- this._eventType = _eventType;
- this._onData = _onData;
- this._useCapture = _useCapture;
- }
- _EventStreamSubscription.builtin$cls = "_EventStreamSubscription";
- if (!"name" in _EventStreamSubscription)
- _EventStreamSubscription.name = "_EventStreamSubscription";
- $desc = $collectedClasses._EventStreamSubscription;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _EventStreamSubscription.prototype = $desc;
- function ImmutableListMixin() {
- }
- ImmutableListMixin.builtin$cls = "ImmutableListMixin";
- if (!"name" in ImmutableListMixin)
- ImmutableListMixin.name = "ImmutableListMixin";
- $desc = $collectedClasses.ImmutableListMixin;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ImmutableListMixin.prototype = $desc;
- function FixedSizeListIterator(_array, _html$_length, _html$_position, _html$_current) {
- this._array = _array;
- this._html$_length = _html$_length;
- this._html$_position = _html$_position;
- this._html$_current = _html$_current;
- }
- FixedSizeListIterator.builtin$cls = "FixedSizeListIterator";
- if (!"name" in FixedSizeListIterator)
- FixedSizeListIterator.name = "FixedSizeListIterator";
- $desc = $collectedClasses.FixedSizeListIterator;
- if ($desc instanceof Array)
- $desc = $desc[1];
- FixedSizeListIterator.prototype = $desc;
- function ReceivePort() {
- }
- ReceivePort.builtin$cls = "ReceivePort";
- if (!"name" in ReceivePort)
- ReceivePort.name = "ReceivePort";
- $desc = $collectedClasses.ReceivePort;
- if ($desc instanceof Array)
- $desc = $desc[1];
- ReceivePort.prototype = $desc;
- function _Random() {
- }
- _Random.builtin$cls = "_Random";
- if (!"name" in _Random)
- _Random.name = "_Random";
- $desc = $collectedClasses._Random;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _Random.prototype = $desc;
- function Point(x, y) {
- this.x = x;
- this.y = y;
- }
- Point.builtin$cls = "Point";
- if (!"name" in Point)
- Point.name = "Point";
- $desc = $collectedClasses.Point;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Point.prototype = $desc;
- function _RectangleBase() {
- }
- _RectangleBase.builtin$cls = "_RectangleBase";
- if (!"name" in _RectangleBase)
- _RectangleBase.name = "_RectangleBase";
- $desc = $collectedClasses._RectangleBase;
- if ($desc instanceof Array)
- $desc = $desc[1];
- _RectangleBase.prototype = $desc;
- function Rectangle(left, top, width, height) {
- this.left = left;
- this.top = top;
- this.width = width;
- this.height = height;
- }
- Rectangle.builtin$cls = "Rectangle";
- if (!"name" in Rectangle)
- Rectangle.name = "Rectangle";
- $desc = $collectedClasses.Rectangle;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Rectangle.prototype = $desc;
- Rectangle.prototype.get$left = function(receiver) {
- return this.left;
- };
- Rectangle.prototype.get$top = function(receiver) {
- return this.top;
- };
- Rectangle.prototype.get$width = function(receiver) {
- return this.width;
- };
- Rectangle.prototype.get$height = function(receiver) {
- return this.height;
- };
- function TypedData_ListMixin() {
- }
- TypedData_ListMixin.builtin$cls = "TypedData_ListMixin";
- if (!"name" in TypedData_ListMixin)
- TypedData_ListMixin.name = "TypedData_ListMixin";
- $desc = $collectedClasses.TypedData_ListMixin;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TypedData_ListMixin.prototype = $desc;
- function TypedData_ListMixin_FixedLengthListMixin() {
- }
- TypedData_ListMixin_FixedLengthListMixin.builtin$cls = "TypedData_ListMixin_FixedLengthListMixin";
- if (!"name" in TypedData_ListMixin_FixedLengthListMixin)
- TypedData_ListMixin_FixedLengthListMixin.name = "TypedData_ListMixin_FixedLengthListMixin";
- $desc = $collectedClasses.TypedData_ListMixin_FixedLengthListMixin;
- if ($desc instanceof Array)
- $desc = $desc[1];
- TypedData_ListMixin_FixedLengthListMixin.prototype = $desc;
- function CanvasDrawer(canvas, ctxt, offset, lines) {
- this.canvas = canvas;
- this.ctxt = ctxt;
- this.offset = offset;
- this.lines = lines;
- }
- CanvasDrawer.builtin$cls = "CanvasDrawer";
- if (!"name" in CanvasDrawer)
- CanvasDrawer.name = "CanvasDrawer";
- $desc = $collectedClasses.CanvasDrawer;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CanvasDrawer.prototype = $desc;
- function CanvasDrawer_preDraw_closure(this_0) {
- this.this_0 = this_0;
- }
- CanvasDrawer_preDraw_closure.builtin$cls = "CanvasDrawer_preDraw_closure";
- if (!"name" in CanvasDrawer_preDraw_closure)
- CanvasDrawer_preDraw_closure.name = "CanvasDrawer_preDraw_closure";
- $desc = $collectedClasses.CanvasDrawer_preDraw_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CanvasDrawer_preDraw_closure.prototype = $desc;
- function CanvasDrawer_draw_closure(this_0) {
- this.this_0 = this_0;
- }
- CanvasDrawer_draw_closure.builtin$cls = "CanvasDrawer_draw_closure";
- if (!"name" in CanvasDrawer_draw_closure)
- CanvasDrawer_draw_closure.name = "CanvasDrawer_draw_closure";
- $desc = $collectedClasses.CanvasDrawer_draw_closure;
- if ($desc instanceof Array)
- $desc = $desc[1];
- CanvasDrawer_draw_closure.prototype = $desc;
- function Closure$2(call$2, $name) {
- this.call$2 = call$2;
- this.$name = $name;
- }
- Closure$2.builtin$cls = "Closure$2";
- $desc = $collectedClasses.Closure$2;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Closure$2.prototype = $desc;
- function Closure$0(call$0, $name) {
- this.call$0 = call$0;
- this.$name = $name;
- }
- Closure$0.builtin$cls = "Closure$0";
- $desc = $collectedClasses.Closure$0;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Closure$0.prototype = $desc;
- function Closure$7(call$7, $name) {
- this.call$7 = call$7;
- this.$name = $name;
- }
- Closure$7.builtin$cls = "Closure$7";
- $desc = $collectedClasses.Closure$7;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Closure$7.prototype = $desc;
- function Closure$1(call$1, $name) {
- this.call$1 = call$1;
- this.$name = $name;
- }
- Closure$1.builtin$cls = "Closure$1";
- $desc = $collectedClasses.Closure$1;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Closure$1.prototype = $desc;
- function Closure$20(call$2, $name) {
- this.call$2 = call$2;
- this.$name = $name;
- }
- Closure$20.builtin$cls = "Closure$20";
- $desc = $collectedClasses.Closure$20;
- if ($desc instanceof Array)
- $desc = $desc[1];
- Closure$20.prototype = $desc;
- return [HtmlElement, AnchorElement, AnimationEvent, AreaElement, AudioElement, AutocompleteErrorEvent, BRElement, BaseElement, BeforeLoadEvent, BeforeUnloadEvent, BodyElement, ButtonElement, CDataSection, CanvasElement, CanvasGradient, CanvasPattern, CanvasRenderingContext, CanvasRenderingContext2D, CharacterData, CloseEvent, Comment, CompositionEvent, ContentElement, CssFontFaceLoadEvent, CustomEvent, DListElement, DataListElement, DetailsElement, DeviceMotionEvent, DeviceOrientationEvent, DialogElement, DivElement, Document, DocumentFragment, DocumentType, DomError, DomException, Element, EmbedElement, ErrorEvent, Event, EventTarget, FieldSetElement, FileError, FocusEvent, FormElement, HRElement, HashChangeEvent, HeadElement, HeadingElement, HtmlDocument, HtmlHtmlElement, IFrameElement, ImageElement, InputElement, KeyboardEvent, KeygenElement, LIElement, LabelElement, LegendElement, LinkElement, MapElement, MediaElement, MediaError, MediaKeyError, MediaKeyEvent, MediaKeyMessageEvent, MediaKeyNeededEvent, MediaStream, MediaStreamEvent, MediaStreamTrackEvent, MenuElement, MessageEvent, MetaElement, MeterElement, MidiConnectionEvent, MidiMessageEvent, ModElement, MouseEvent, Navigator, NavigatorUserMediaError, Node, OListElement, ObjectElement, OptGroupElement, OptionElement, OutputElement, OverflowEvent, PageTransitionEvent, ParagraphElement, ParamElement, PopStateEvent, PositionError, PreElement, ProcessingInstruction, ProgressElement, ProgressEvent, QuoteElement, ResourceProgressEvent, RtcDataChannelEvent, RtcDtmfToneChangeEvent, RtcIceCandidateEvent, ScriptElement, SecurityPolicyViolationEvent, SelectElement, ShadowElement, ShadowRoot, SourceElement, SpanElement, SpeechInputEvent, SpeechRecognitionError, SpeechRecognitionEvent, SpeechSynthesisEvent, StorageEvent, StyleElement, TableCaptionElement, TableCellElement, TableColElement, TableElement, TableRowElement, TableSectionElement, TemplateElement, Text, TextAreaElement, TextEvent, TitleElement, Touch, TouchEvent, TouchList, TrackElement, TrackEvent, TransitionEvent, UIEvent, UListElement, UnknownElement, VideoElement, WheelEvent, Window, _Attr, _ClientRect, _Entity, _HTMLAppletElement, _HTMLBaseFontElement, _HTMLDirectoryElement, _HTMLFontElement, _HTMLFrameElement, _HTMLFrameSetElement, _HTMLMarqueeElement, _MutationEvent, _Notation, _XMLHttpRequestProgressEvent, VersionChangeEvent, AElement, AltGlyphElement, AnimateElement, AnimateMotionElement, AnimateTransformElement, AnimatedLength, AnimatedLengthList, AnimatedNumber, AnimatedNumberList, AnimatedString, AnimationElement, CircleElement, ClipPathElement, DefsElement, DescElement, EllipseElement, FEBlendElement, FEColorMatrixElement, FEComponentTransferElement, FECompositeElement, FEConvolveMatrixElement, FEDiffuseLightingElement, FEDisplacementMapElement, FEDistantLightElement, FEFloodElement, FEFuncAElement, FEFuncBElement, FEFuncGElement, FEFuncRElement, FEGaussianBlurElement, FEImageElement, FEMergeElement, FEMergeNodeElement, FEMorphologyElement, FEOffsetElement, FEPointLightElement, FESpecularLightingElement, FESpotLightElement, FETileElement, FETurbulenceElement, FilterElement, ForeignObjectElement, GElement, GraphicsElement, ImageElement0, LineElement, LinearGradientElement, MarkerElement, MaskElement, MetadataElement, PathElement, PatternElement, PolygonElement, PolylineElement, RadialGradientElement, RectElement, ScriptElement0, SetElement, StopElement, StyleElement0, SvgDocument, SvgElement, SvgSvgElement, SwitchElement, SymbolElement, TSpanElement, TextContentElement, TextElement, TextPathElement, TextPositioningElement, TitleElement0, UseElement, ViewElement, ZoomEvent, _GradientElement, _SVGAltGlyphDefElement, _SVGAltGlyphItemElement, _SVGAnimateColorElement, _SVGComponentTransferFunctionElement, _SVGCursorElement, _SVGFEDropShadowElement, _SVGFontElement, _SVGFontFaceElement, _SVGFontFaceFormatElement, _SVGFontFaceNameElement, _SVGFontFaceSrcElement, _SVGFontFaceUriElement, _SVGGlyphElement, _SVGGlyphRefElement, _SVGHKernElement, _SVGMPathElement, _SVGMissingGlyphElement, _SVGVKernElement, AudioProcessingEvent, OfflineAudioCompletionEvent, ContextEvent, RenderingContext, SqlError, TypedData, Uint8List, JS_CONST, Interceptor, JSBool, JSNull, JavaScriptObject, PlainJavaScriptObject, UnknownJavaScriptObject, JSArray, JSMutableArray, JSFixedArray, JSExtendableArray, JSNumber, JSInt, JSDouble, JSString, startRootIsolate_closure, startRootIsolate_closure0, _Manager, _IsolateContext, _EventLoop, _EventLoop__runHelper_next, _IsolateEvent, _MainManagerStub, IsolateNatives__processWorkerMessage_closure, _BaseSendPort, _NativeJsSendPort, _NativeJsSendPort_send_closure, _NativeJsSendPort_send__closure, _WorkerSendPort, _WorkerSendPort_send_closure, ReceivePortImpl, BoundClosure$i0, _waitForPendingPorts_closure, _PendingSendPortFinder, _JsSerializer, _JsCopier, _JsDeserializer, _JsVisitedMap, _MessageTraverserVisitedMap, _MessageTraverser, BoundClosure$1, _Copier, _Copier_visitMap_closure, _Serializer, _Deserializer, TimerImpl, TimerImpl_internalCallback, TimerImpl_internalCallback0, TypeErrorDecoder, NullError, JsNoSuchMethodError, UnknownJsTypeError, unwrapException_saveStackTrace, _StackTrace, invokeClosure_closure, invokeClosure_closure0, invokeClosure_closure1, invokeClosure_closure2, invokeClosure_closure3, Closure, BoundClosure, initHooks_closure, initHooks_closure0, initHooks_closure1, ListIterator, MappedIterable, EfficientLengthMappedIterable, MappedIterator, FixedLengthListMixin, _AsyncError, Future, Future_wait_handleError, Future_wait_closure, _Completer, _AsyncCompleter, _Future, BoundClosure$2, _Future__addListener_closure, _Future__chainFutures_closure, _Future__chainFutures_closure0, _Future__asyncComplete_closure, _Future__asyncCompleteError_closure, _Future__propagateToListeners_closure, _Future__propagateToListeners_closure0, _Future__propagateToListeners__closure, _Future__propagateToListeners__closure0, Stream, Stream_forEach_closure, Stream_forEach__closure, Stream_forEach__closure0, Stream_forEach_closure0, Stream_length_closure, Stream_length_closure0, StreamSubscription, _StreamController, _StreamController__subscribe_closure, _StreamController__recordCancel_complete, _SyncStreamControllerDispatch, _AsyncStreamControllerDispatch, _AsyncStreamController, _StreamController__AsyncStreamControllerDispatch, _SyncStreamController, _StreamController__SyncStreamControllerDispatch, _ControllerStream, _ControllerSubscription, BoundClosure$0, _EventSink, _BufferingStreamSubscription, _BufferingStreamSubscription__sendDone_sendDone, _StreamImpl, _DelayedEvent, _DelayedData, _DelayedDone, _PendingEvents, _PendingEvents_schedule_closure, _StreamImplEvents, _cancelAndError_closure, _cancelAndErrorClosure_closure, _BaseZone, _BaseZone_bindCallback_closure, _BaseZone_bindCallback_closure0, _BaseZone_bindUnaryCallback_closure, _BaseZone_bindUnaryCallback_closure0, _rootHandleUncaughtError_closure, _rootHandleUncaughtError__closure, _RootZone, _HashMap, _HashMap_values_closure, HashMapKeyIterable, HashMapKeyIterator, _LinkedHashMap, _LinkedHashMap_values_closure, LinkedHashMapCell, LinkedHashMapKeyIterable, LinkedHashMapKeyIterator, _HashSet, _IdentityHashSet, HashSetIterator, _HashSetBase, IterableBase, ListMixin, Maps_mapToString_closure, ListQueue, _ListQueueIterator, NoSuchMethodError_toString_closure, Duration, Duration_toString_sixDigits, Duration_toString_twoDigits, Error, NullThrownError, ArgumentError, RangeError, UnsupportedError, UnimplementedError, StateError, ConcurrentModificationError, StackOverflowError, CyclicInitializationError, _ExceptionImplementation, Expando, Function, Iterator, Null, Object, StackTrace, StringBuffer, Symbol, Interceptor_ListMixin, Interceptor_ListMixin_ImmutableListMixin, EventStreamProvider, _EventStream, _ElementEventStreamImpl, _EventStreamSubscription, ImmutableListMixin, FixedSizeListIterator, ReceivePort, _Random, Point, _RectangleBase, Rectangle, TypedData_ListMixin, TypedData_ListMixin_FixedLengthListMixin, CanvasDrawer, CanvasDrawer_preDraw_closure, CanvasDrawer_draw_closure, Closure$2, Closure$0, Closure$7, Closure$1, Closure$20];
-}
« no previous file with comments | « src/site/samples/multi_touch/example/out.js.map ('k') | src/site/samples/multi_touch/example/packages/browser/dart.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698