| // 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, args): |
| // if this function is defined, the Dart [main] method will not be invoked |
| // directly. Instead, a closure that will invoke [main], and its arguments |
| // [args] is passed to [dartMainRunner]. |
| (function($) { |
| function dart(){ this.x = 0 }var A = new dart; |
| delete A.x; |
| var B = new dart; |
| delete B.x; |
| var C = new dart; |
| delete C.x; |
| var D = new dart; |
| delete D.x; |
| var E = new dart; |
| delete E.x; |
| var F = new dart; |
| delete F.x; |
| var G = new dart; |
| delete G.x; |
| var H = new dart; |
| delete H.x; |
| var J = new dart; |
| delete J.x; |
| var K = new dart; |
| delete K.x; |
| var L = new dart; |
| delete L.x; |
| var M = new dart; |
| delete M.x; |
| var N = new dart; |
| delete N.x; |
| var O = new dart; |
| delete O.x; |
| var P = new dart; |
| delete P.x; |
| var Q = new dart; |
| delete Q.x; |
| var R = new dart; |
| delete R.x; |
| var S = new dart; |
| delete S.x; |
| var T = new dart; |
| delete T.x; |
| var U = new dart; |
| delete U.x; |
| var V = new dart; |
| delete V.x; |
| var W = new dart; |
| delete W.x; |
| var X = new dart; |
| delete X.x; |
| var Y = new dart; |
| delete Y.x; |
| var Z = new dart; |
| delete Z.x; |
| function Isolate() {} |
| init(); |
| |
| $ = Isolate.$isolateProperties; |
| var $$ = {}; |
| |
| // Native classes |
| (function(reflectionData) { |
| "use strict"; |
| function map(x) { |
| x = {x: x}; |
| delete x.x; |
| return x; |
| } |
| 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); |
| var flag = descriptor[property]; |
| if (flag > 0) |
| descriptor[previousProperty].$reflectable = flag; |
| 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 if (element.constructor === Array) { |
| addStubs(globalObject, element, property, true, descriptor, functions); |
| } 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); |
| var flag = element[prop]; |
| if (flag > 0) |
| element[previousProp].$reflectable = flag; |
| } 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 { |
| var elem = element[prop]; |
| if (prop !== "^" && elem != null && elem.constructor === Array && prop !== "<>") { |
| addStubs(newDesc, elem, prop, false, element, []); |
| } else { |
| newDesc[previousProp = prop] = elem; |
| } |
| } |
| } |
| $$[property] = [globalObject, newDesc]; |
| classes.push(property); |
| } |
| } |
| } |
| function addStubs(descriptor, array, name, isStatic, originalDescriptor, functions) { |
| var f, funcs = [originalDescriptor[name] = descriptor[name] = f = array[0]]; |
| f.$stubName = name; |
| functions.push(name); |
| for (var index = 0; index < array.length; index += 2) { |
| f = array[index + 1]; |
| if (typeof f != "function") |
| break; |
| f.$stubName = array[index + 2]; |
| funcs.push(f); |
| if (f.$stubName) { |
| originalDescriptor[f.$stubName] = descriptor[f.$stubName] = f; |
| functions.push(f.$stubName); |
| } |
| } |
| for (var i = 0; i < funcs.length; index++, i++) { |
| funcs[i].$callName = array[index + 1]; |
| } |
| var getterStubName = array[++index]; |
| array = array.slice(++index); |
| var requiredParameterInfo = array[0]; |
| var requiredParameterCount = requiredParameterInfo >> 1; |
| var isAccessor = (requiredParameterInfo & 1) === 1; |
| var isSetter = requiredParameterInfo === 3; |
| var isGetter = requiredParameterInfo === 1; |
| var optionalParameterInfo = array[1]; |
| var optionalParameterCount = optionalParameterInfo >> 1; |
| var optionalParametersAreNamed = (optionalParameterInfo & 1) === 1; |
| var isIntercepted = requiredParameterCount + optionalParameterCount != funcs[0].length; |
| var functionTypeIndex = array[2]; |
| var unmangledNameIndex = 2 * optionalParameterCount + requiredParameterCount + 3; |
| var isReflectable = array.length > unmangledNameIndex; |
| if (getterStubName) { |
| f = tearOff(funcs, array, isStatic, name, isIntercepted); |
| descriptor[name].$getter = f; |
| f.$getterStub = true; |
| if (isStatic) |
| init.globalFunctions[name] = f; |
| originalDescriptor[getterStubName] = descriptor[getterStubName] = f; |
| funcs.push(f); |
| if (getterStubName) |
| functions.push(getterStubName); |
| f.$stubName = getterStubName; |
| f.$callName = null; |
| if (isIntercepted) |
| init.interceptedNames[getterStubName] = true; |
| } |
| if (isReflectable) { |
| for (var i = 0; i < funcs.length; i++) { |
| funcs[i].$reflectable = 1; |
| funcs[i].$reflectionInfo = array; |
| } |
| var mangledNames = isStatic ? init.mangledGlobalNames : init.mangledNames; |
| var unmangledName = array[unmangledNameIndex]; |
| var reflectionName = unmangledName; |
| if (getterStubName) |
| mangledNames[getterStubName] = reflectionName; |
| if (isSetter) { |
| reflectionName += "="; |
| } else if (!isGetter) { |
| reflectionName += ":" + requiredParameterCount + ":" + optionalParameterCount; |
| } |
| mangledNames[name] = reflectionName; |
| funcs[0].$reflectionName = reflectionName; |
| funcs[0].$metadataIndex = unmangledNameIndex + 1; |
| if (optionalParameterCount) |
| descriptor[unmangledName + "*"] = funcs[0]; |
| } |
| } |
| function tearOffGetterNoCsp(funcs, reflectionInfo, name, isIntercepted) { |
| return isIntercepted ? new Function("funcs", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "(x) {" + "if (c === null) c = H.closureFromTearOff(" + "this, funcs, reflectionInfo, false, [x], name);" + "return new c(this, funcs[0], x, name);" + "}")(funcs, reflectionInfo, name, H, null) : new Function("funcs", "reflectionInfo", "name", "H", "c", "return function tearOff_" + name + functionCounter++ + "() {" + "if (c === null) c = H.closureFromTearOff(" + "this, funcs, reflectionInfo, false, [], name);" + "return new c(this, funcs[0], null, name);" + "}")(funcs, reflectionInfo, name, H, null); |
| } |
| function tearOffGetterCsp(funcs, reflectionInfo, name, isIntercepted) { |
| var cache = null; |
| return isIntercepted ? function(x) { |
| if (cache === null) |
| cache = H.closureFromTearOff(this, funcs, reflectionInfo, false, [x], name); |
| return new cache(this, funcs[0], x, name); |
| } : function() { |
| if (cache === null) |
| cache = H.closureFromTearOff(this, funcs, reflectionInfo, false, [], name); |
| return new cache(this, funcs[0], null, name); |
| }; |
| } |
| function tearOff(funcs, reflectionInfo, isStatic, name, isIntercepted) { |
| var cache; |
| return isStatic ? function() { |
| if (cache === void 0) |
| cache = H.closureFromTearOff(this, funcs, reflectionInfo, true, [], name).prototype; |
| return cache; |
| } : tearOffGetter(funcs, reflectionInfo, name, isIntercepted); |
| } |
| var functionCounter = 0; |
| var tearOffGetter = typeof dart_precompiled == "function" ? tearOffGetterCsp : tearOffGetterNoCsp; |
| 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(); |
| if (!init.interceptedNames) |
| init.interceptedNames = 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["^"]; |
| if (fields instanceof Array) |
| fields = fields[0]; |
| var classes = []; |
| var functions = []; |
| 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) { |
| proto = Object.getPrototypeOf(object); |
| if (proto == null || proto === Object.prototype) |
| return C.PlainJavaScriptObject_methods; |
| else |
| return C.UnknownJavaScriptObject_methods; |
| } |
| return interceptor; |
| }, |
| findIndexForNativeSubclassType: function(type) { |
| var t1, map, t2, i; |
| t1 = $.mapTypeToInterceptor; |
| if (t1 == null) |
| return; |
| map = t1; |
| for (t1 = map.length, t2 = J.getInterceptor(type), i = 0; i + 1 < t1; i += 3) { |
| if (i >= t1) |
| return H.ioore(map, i); |
| if (t2.$eq(type, map[i])) |
| return i; |
| } |
| return; |
| }, |
| findInterceptorConstructorForType: function(type) { |
| var index, map, t1; |
| index = J.findIndexForNativeSubclassType(type); |
| if (index == null) |
| return; |
| map = $.mapTypeToInterceptor; |
| t1 = index + 1; |
| if (t1 >= map.length) |
| return H.ioore(map, t1); |
| return map[t1]; |
| }, |
| findConstructorForNativeSubclassType: function(type, $name) { |
| var index, map, t1; |
| index = J.findIndexForNativeSubclassType(type); |
| if (index == null) |
| return; |
| map = $.mapTypeToInterceptor; |
| t1 = index + 2; |
| if (t1 >= map.length) |
| return H.ioore(map, t1); |
| return map[t1][$name]; |
| }, |
| Interceptor: { |
| "^": "Object;", |
| $eq: function(receiver, other) { |
| return receiver === other; |
| }, |
| get$hashCode: function(receiver) { |
| return H.Primitives_objectHashCode(receiver); |
| }, |
| toString$0: function(receiver) { |
| return H.Primitives_objectToString(receiver); |
| }, |
| noSuchMethod$1: [function(receiver, invocation) { |
| throw H.wrapException(P.NoSuchMethodError$(receiver, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments(), null)); |
| }, "call$1", "get$noSuchMethod", 2, 0, null, 68], |
| get$runtimeType: function(receiver) { |
| return new H.TypeImpl(H.getRuntimeTypeString(receiver), null); |
| }, |
| "%": "DOMImplementation|Navigator|SVGAnimatedEnumeration|SVGAnimatedLength|SVGAnimatedLengthList|SVGAnimatedNumber|SVGAnimatedNumberList|SVGAnimatedString" |
| }, |
| JSBool: { |
| "^": "Interceptor;", |
| toString$0: function(receiver) { |
| return String(receiver); |
| }, |
| get$hashCode: function(receiver) { |
| return receiver ? 519018 : 218159; |
| }, |
| get$runtimeType: function(receiver) { |
| return C.Type_EsU; |
| }, |
| $isbool: true |
| }, |
| JSNull: { |
| "^": "Interceptor;", |
| $eq: function(receiver, other) { |
| return null == other; |
| }, |
| toString$0: function(receiver) { |
| return "null"; |
| }, |
| get$hashCode: function(receiver) { |
| return 0; |
| }, |
| get$runtimeType: function(receiver) { |
| return C.Type_eZO; |
| }, |
| noSuchMethod$1: [function(receiver, invocation) { |
| return J.Interceptor.prototype.noSuchMethod$1.call(this, receiver, invocation); |
| }, "call$1", "get$noSuchMethod", 2, 0, null, 68] |
| }, |
| JavaScriptObject: { |
| "^": "Interceptor;", |
| get$hashCode: function(_) { |
| return 0; |
| }, |
| get$runtimeType: function(_) { |
| return C.Type_XXD; |
| } |
| }, |
| PlainJavaScriptObject: { |
| "^": "JavaScriptObject;" |
| }, |
| UnknownJavaScriptObject: { |
| "^": "JavaScriptObject;" |
| }, |
| JSArray: { |
| "^": "Interceptor;", |
| add$1: function(receiver, value) { |
| if (!!receiver.fixed$length) |
| H.throwExpression(P.UnsupportedError$("add")); |
| receiver.push(value); |
| }, |
| removeAt$1: function(receiver, index) { |
| if (typeof index !== "number" || Math.floor(index) !== index) |
| throw H.wrapException(P.ArgumentError$(index)); |
| if (index < 0 || index >= receiver.length) |
| throw H.wrapException(P.RangeError$value(index)); |
| if (!!receiver.fixed$length) |
| H.throwExpression(P.UnsupportedError$("removeAt")); |
| return receiver.splice(index, 1)[0]; |
| }, |
| insert$2: function(receiver, index, value) { |
| if (typeof index !== "number" || Math.floor(index) !== index) |
| throw H.wrapException(P.ArgumentError$(index)); |
| if (index < 0 || index > receiver.length) |
| throw H.wrapException(P.RangeError$value(index)); |
| if (!!receiver.fixed$length) |
| H.throwExpression(P.UnsupportedError$("insert")); |
| receiver.splice(index, 0, value); |
| }, |
| insertAll$2: function(receiver, index, iterable) { |
| if (!!receiver.fixed$length) |
| H.throwExpression(P.UnsupportedError$("insertAll")); |
| H.IterableMixinWorkaround_insertAllList(receiver, index, iterable); |
| }, |
| remove$1: function(receiver, element) { |
| var i; |
| if (!!receiver.fixed$length) |
| H.throwExpression(P.UnsupportedError$("remove")); |
| for (i = 0; i < receiver.length; ++i) |
| if (J.$eq(receiver[i], element)) { |
| receiver.splice(i, 1); |
| return true; |
| } |
| return false; |
| }, |
| where$1: function(receiver, f) { |
| return H.setRuntimeTypeInfo(new H.WhereIterable(receiver, f), [null]); |
| }, |
| expand$1: [function(receiver, f) { |
| return H.setRuntimeTypeInfo(new H.ExpandIterable(receiver, f), [null, null]); |
| }, "call$1", "get$expand", 2, 0, function() { |
| return H.computeSignature(function(E) { |
| return {func: "Iterable__Iterable__E", ret: P.Iterable, args: [{func: "Iterable__E", ret: P.Iterable, args: [E]}]}; |
| }, this.$receiver, "JSArray"); |
| }, 31], |
| addAll$1: function(receiver, collection) { |
| var t1; |
| for (t1 = J.get$iterator$ax(collection); t1.moveNext$0();) |
| this.add$1(receiver, t1.get$current()); |
| }, |
| clear$0: function(receiver) { |
| this.set$length(receiver, 0); |
| }, |
| forEach$1: function(receiver, f) { |
| return H.IterableMixinWorkaround_forEach(receiver, f); |
| }, |
| map$1: [function(receiver, f) { |
| return H.setRuntimeTypeInfo(new H.MappedListIterable(receiver, f), [null, null]); |
| }, "call$1", "get$map", 2, 0, function() { |
| return H.computeSignature(function(E) { |
| return {func: "Iterable__dynamic__E", ret: P.Iterable, args: [{func: "dynamic__E", args: [E]}]}; |
| }, this.$receiver, "JSArray"); |
| }, 31], |
| join$1: function(receiver, separator) { |
| var t1, list, i, t2; |
| t1 = receiver.length; |
| list = Array(t1); |
| list.fixed$length = init; |
| for (i = 0; i < receiver.length; ++i) { |
| t2 = H.S(receiver[i]); |
| if (i >= t1) |
| return H.ioore(list, i); |
| list[i] = t2; |
| } |
| return list.join(separator); |
| }, |
| skip$1: function(receiver, n) { |
| return H.SubListIterable$(receiver, n, null, null); |
| }, |
| elementAt$1: function(receiver, index) { |
| if (index >>> 0 !== index || index >= receiver.length) |
| return H.ioore(receiver, index); |
| return receiver[index]; |
| }, |
| sublist$2: function(receiver, start, end) { |
| if (start < 0 || start > receiver.length) |
| throw H.wrapException(P.RangeError$range(start, 0, receiver.length)); |
| if (end < start || end > receiver.length) |
| throw H.wrapException(P.RangeError$range(end, start, receiver.length)); |
| if (start === end) |
| return H.setRuntimeTypeInfo([], [H.getTypeArgumentByIndex(receiver, 0)]); |
| return H.setRuntimeTypeInfo(receiver.slice(start, end), [H.getTypeArgumentByIndex(receiver, 0)]); |
| }, |
| getRange$2: function(receiver, start, end) { |
| H.IterableMixinWorkaround__rangeCheck(receiver, start, end); |
| return H.SubListIterable$(receiver, start, end, null); |
| }, |
| get$first: function(receiver) { |
| if (receiver.length > 0) |
| return receiver[0]; |
| throw H.wrapException(P.StateError$("No elements")); |
| }, |
| get$last: function(receiver) { |
| var t1 = receiver.length; |
| if (t1 > 0) |
| return receiver[t1 - 1]; |
| throw H.wrapException(P.StateError$("No elements")); |
| }, |
| removeRange$2: function(receiver, start, end) { |
| var receiverLength; |
| if (!!receiver.fixed$length) |
| H.throwExpression(P.UnsupportedError$("removeRange")); |
| receiverLength = receiver.length; |
| if (start < 0 || start > receiverLength) |
| throw H.wrapException(P.RangeError$range(start, 0, receiverLength)); |
| if (end < start || end > receiverLength) |
| throw H.wrapException(P.RangeError$range(end, start, receiverLength)); |
| H.Lists_copy(receiver, end, receiver, start, receiverLength - end); |
| this.set$length(receiver, receiverLength - (end - start)); |
| }, |
| any$1: function(receiver, f) { |
| return H.IterableMixinWorkaround_any(receiver, f); |
| }, |
| sort$1: function(receiver, compare) { |
| if (!!receiver.immutable$list) |
| H.throwExpression(P.UnsupportedError$("sort")); |
| H.IterableMixinWorkaround_sortList(receiver, compare); |
| }, |
| sort$0: function($receiver) { |
| return this.sort$1($receiver, null); |
| }, |
| indexOf$2: function(receiver, element, start) { |
| return H.Lists_indexOf(receiver, element, start, receiver.length); |
| }, |
| indexOf$1: function($receiver, element) { |
| return this.indexOf$2($receiver, element, 0); |
| }, |
| lastIndexOf$2: function(receiver, element, start) { |
| return H.Lists_lastIndexOf(receiver, element, receiver.length - 1); |
| }, |
| lastIndexOf$1: function($receiver, element) { |
| return this.lastIndexOf$2($receiver, element, null); |
| }, |
| contains$1: function(receiver, other) { |
| var i; |
| for (i = 0; i < receiver.length; ++i) |
| if (J.$eq(receiver[i], other)) |
| return true; |
| return false; |
| }, |
| get$isEmpty: function(receiver) { |
| return receiver.length === 0; |
| }, |
| get$isNotEmpty: function(receiver) { |
| return receiver.length !== 0; |
| }, |
| toString$0: function(receiver) { |
| return P.IterableBase_iterableToFullString(receiver, "[", "]"); |
| }, |
| toList$1$growable: function(receiver, growable) { |
| var t1; |
| if (growable) |
| return H.setRuntimeTypeInfo(receiver.slice(), [H.getTypeArgumentByIndex(receiver, 0)]); |
| else { |
| t1 = H.setRuntimeTypeInfo(receiver.slice(), [H.getTypeArgumentByIndex(receiver, 0)]); |
| t1.fixed$length = init; |
| return t1; |
| } |
| }, |
| toList$0: function($receiver) { |
| return this.toList$1$growable($receiver, true); |
| }, |
| get$iterator: function(receiver) { |
| return H.setRuntimeTypeInfo(new H.ListIterator(receiver, receiver.length, 0, null), [H.getTypeArgumentByIndex(receiver, 0)]); |
| }, |
| get$hashCode: function(receiver) { |
| return H.Primitives_objectHashCode(receiver); |
| }, |
| get$length: function(receiver) { |
| return receiver.length; |
| }, |
| set$length: function(receiver, newLength) { |
| if (typeof newLength !== "number" || Math.floor(newLength) !== newLength) |
| throw H.wrapException(P.ArgumentError$(newLength)); |
| if (newLength < 0) |
| throw H.wrapException(P.RangeError$value(newLength)); |
| if (!!receiver.fixed$length) |
| H.throwExpression(P.UnsupportedError$("set length")); |
| receiver.length = newLength; |
| }, |
| $index: function(receiver, index) { |
| if (typeof index !== "number" || Math.floor(index) !== index) |
| throw H.wrapException(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(P.ArgumentError$(index)); |
| if (index >= receiver.length || index < 0) |
| throw H.wrapException(P.RangeError$value(index)); |
| receiver[index] = value; |
| }, |
| $isJSArray: true, |
| $isList: true, |
| $asList: null, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null, |
| static: {JSArray_JSArray$fixed: function($length, $E) { |
| var t1; |
| if (typeof $length !== "number" || Math.floor($length) !== $length || $length < 0) |
| throw H.wrapException(P.ArgumentError$("Length must be a non-negative integer: " + H.S($length))); |
| t1 = H.setRuntimeTypeInfo(new Array($length), [$E]); |
| t1.fixed$length = init; |
| return t1; |
| }} |
| }, |
| JSNumber: { |
| "^": "Interceptor;", |
| compareTo$1: function(receiver, b) { |
| var bIsNegative; |
| if (typeof b !== "number") |
| throw H.wrapException(P.ArgumentError$(b)); |
| if (receiver < b) |
| return -1; |
| else if (receiver > b) |
| return 1; |
| else if (receiver === b) { |
| if (receiver === 0) { |
| bIsNegative = this.get$isNegative(b); |
| if (this.get$isNegative(receiver) === bIsNegative) |
| return 0; |
| if (this.get$isNegative(receiver)) |
| return -1; |
| return 1; |
| } |
| return 0; |
| } else if (isNaN(receiver)) { |
| if (this.get$isNaN(b)) |
| return 0; |
| return 1; |
| } else |
| return -1; |
| }, |
| get$isNegative: function(receiver) { |
| return receiver === 0 ? 1 / receiver < 0 : receiver < 0; |
| }, |
| get$isNaN: function(receiver) { |
| return isNaN(receiver); |
| }, |
| get$isFinite: function(receiver) { |
| return isFinite(receiver); |
| }, |
| remainder$1: function(receiver, b) { |
| return receiver % b; |
| }, |
| abs$0: function(receiver) { |
| return Math.abs(receiver); |
| }, |
| toInt$0: function(receiver) { |
| var t1; |
| if (receiver >= -2147483648 && receiver <= 2147483647) |
| return receiver | 0; |
| if (isFinite(receiver)) { |
| t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver); |
| return t1 + 0; |
| } |
| throw H.wrapException(P.UnsupportedError$('' + receiver)); |
| }, |
| round$0: function(receiver) { |
| return this.toInt$0(this.roundToDouble$0(receiver)); |
| }, |
| roundToDouble$0: function(receiver) { |
| if (receiver < 0) |
| return -Math.round(-receiver); |
| else |
| return Math.round(receiver); |
| }, |
| toStringAsFixed$1: function(receiver, fractionDigits) { |
| var result; |
| if (fractionDigits > 20) |
| throw H.wrapException(P.RangeError$(fractionDigits)); |
| result = receiver.toFixed(fractionDigits); |
| if (receiver === 0 && this.get$isNegative(receiver)) |
| return "-" + result; |
| return result; |
| }, |
| toRadixString$1: function(receiver, radix) { |
| if (radix < 2 || radix > 36) |
| throw H.wrapException(P.RangeError$(radix)); |
| return receiver.toString(radix); |
| }, |
| toString$0: function(receiver) { |
| if (receiver === 0 && 1 / receiver < 0) |
| return "-0.0"; |
| else |
| return "" + receiver; |
| }, |
| get$hashCode: function(receiver) { |
| return receiver & 0x1FFFFFFF; |
| }, |
| $negate: function(receiver) { |
| return -receiver; |
| }, |
| $add: function(receiver, other) { |
| if (typeof other !== "number") |
| throw H.wrapException(P.ArgumentError$(other)); |
| return receiver + other; |
| }, |
| $sub: function(receiver, other) { |
| if (typeof other !== "number") |
| throw H.wrapException(P.ArgumentError$(other)); |
| return receiver - other; |
| }, |
| $div: function(receiver, other) { |
| if (typeof other !== "number") |
| throw H.wrapException(P.ArgumentError$(other)); |
| return receiver / other; |
| }, |
| $mul: function(receiver, other) { |
| if (typeof other !== "number") |
| throw H.wrapException(P.ArgumentError$(other)); |
| return receiver * other; |
| }, |
| $mod: function(receiver, other) { |
| var result; |
| if (typeof other !== "number") |
| throw H.wrapException(P.ArgumentError$(other)); |
| result = receiver % other; |
| if (result === 0) |
| return 0; |
| if (result > 0) |
| return result; |
| if (other < 0) |
| return result - other; |
| else |
| return result + other; |
| }, |
| $tdiv: function(receiver, other) { |
| if ((receiver | 0) === receiver && (other | 0) === other && 0 !== other && -1 !== other) |
| return receiver / other | 0; |
| else { |
| if (typeof other !== "number") |
| H.throwExpression(P.ArgumentError$(other)); |
| return this.toInt$0(receiver / other); |
| } |
| }, |
| _tdivFast$1: function(receiver, other) { |
| return (receiver | 0) === receiver ? receiver / other | 0 : this.toInt$0(receiver / other); |
| }, |
| $shl: function(receiver, other) { |
| if (other < 0) |
| throw H.wrapException(P.ArgumentError$(other)); |
| return other > 31 ? 0 : receiver << other >>> 0; |
| }, |
| _shlPositive$1: function(receiver, other) { |
| return other > 31 ? 0 : receiver << other >>> 0; |
| }, |
| $shr: function(receiver, other) { |
| var t1; |
| if (other < 0) |
| throw H.wrapException(P.ArgumentError$(other)); |
| if (receiver > 0) |
| t1 = other > 31 ? 0 : receiver >>> other; |
| else { |
| t1 = other > 31 ? 31 : other; |
| t1 = receiver >> t1 >>> 0; |
| } |
| return t1; |
| }, |
| _shrOtherPositive$1: function(receiver, other) { |
| var t1; |
| if (receiver > 0) |
| t1 = other > 31 ? 0 : receiver >>> other; |
| else { |
| t1 = other > 31 ? 31 : other; |
| t1 = receiver >> t1 >>> 0; |
| } |
| return t1; |
| }, |
| $and: function(receiver, other) { |
| if (typeof other !== "number") |
| throw H.wrapException(P.ArgumentError$(other)); |
| return (receiver & other) >>> 0; |
| }, |
| $xor: function(receiver, other) { |
| if (typeof other !== "number") |
| throw H.wrapException(P.ArgumentError$(other)); |
| return (receiver ^ other) >>> 0; |
| }, |
| $lt: function(receiver, other) { |
| if (typeof other !== "number") |
| throw H.wrapException(P.ArgumentError$(other)); |
| return receiver < other; |
| }, |
| $gt: function(receiver, other) { |
| if (typeof other !== "number") |
| throw H.wrapException(P.ArgumentError$(other)); |
| return receiver > other; |
| }, |
| $le: function(receiver, other) { |
| if (typeof other !== "number") |
| throw H.wrapException(P.ArgumentError$(other)); |
| return receiver <= other; |
| }, |
| $ge: function(receiver, other) { |
| if (typeof other !== "number") |
| throw H.wrapException(P.ArgumentError$(other)); |
| return receiver >= other; |
| }, |
| get$runtimeType: function(receiver) { |
| return C.Type_xM7; |
| }, |
| $isnum: true, |
| static: {"^": "JSNumber__MIN_INT32,JSNumber__MAX_INT32"} |
| }, |
| JSInt: { |
| "^": "JSNumber;", |
| get$runtimeType: function(receiver) { |
| return C.Type_SnA; |
| }, |
| $is$double: true, |
| $isnum: true, |
| $is$int: true |
| }, |
| JSDouble: { |
| "^": "JSNumber;", |
| get$runtimeType: function(receiver) { |
| return C.Type_qq1; |
| }, |
| $is$double: true, |
| $isnum: true |
| }, |
| JSString: { |
| "^": "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); |
| }, |
| allMatches$1: function(receiver, str) { |
| return H.allMatchesInStringUnchecked(receiver, str); |
| }, |
| matchAsPrefix$2: function(receiver, string, start) { |
| var t1, t2, i, t3; |
| if (start < 0 || start > string.length) |
| throw H.wrapException(P.RangeError$range(start, 0, string.length)); |
| t1 = receiver.length; |
| t2 = string.length; |
| if (start + t1 > t2) |
| return; |
| for (i = 0; i < t1; ++i) { |
| t3 = start + i; |
| if (t3 < 0) |
| H.throwExpression(P.RangeError$value(t3)); |
| if (t3 >= t2) |
| H.throwExpression(P.RangeError$value(t3)); |
| t3 = string.charCodeAt(t3); |
| if (i >= t1) |
| H.throwExpression(P.RangeError$value(i)); |
| if (t3 !== receiver.charCodeAt(i)) |
| return; |
| } |
| return new H.StringMatch(start, string, receiver); |
| }, |
| $add: function(receiver, other) { |
| if (typeof other !== "string") |
| throw H.wrapException(P.ArgumentError$(other)); |
| return receiver + other; |
| }, |
| endsWith$1: function(receiver, other) { |
| var otherLength, t1; |
| otherLength = other.length; |
| t1 = receiver.length; |
| if (otherLength > t1) |
| return false; |
| return other === this.substring$1(receiver, t1 - otherLength); |
| }, |
| replaceAll$2: function(receiver, from, to) { |
| return H.stringReplaceAllUnchecked(receiver, from, to); |
| }, |
| split$1: function(receiver, pattern) { |
| if (pattern == null) |
| H.throwExpression(P.ArgumentError$(null)); |
| if (typeof pattern === "string") |
| return receiver.split(pattern); |
| else if (!!J.getInterceptor(pattern).$isJSSyntaxRegExp) |
| return receiver.split(pattern._nativeRegExp); |
| else |
| throw H.wrapException("String.split(Pattern) UNIMPLEMENTED"); |
| }, |
| startsWith$2: function(receiver, pattern, index) { |
| var endIndex; |
| if (index > receiver.length) |
| throw H.wrapException(P.RangeError$range(index, 0, receiver.length)); |
| endIndex = index + pattern.length; |
| if (endIndex > receiver.length) |
| return false; |
| return pattern === receiver.substring(index, endIndex); |
| }, |
| startsWith$1: function($receiver, pattern) { |
| return this.startsWith$2($receiver, pattern, 0); |
| }, |
| substring$2: function(receiver, startIndex, endIndex) { |
| if (typeof startIndex !== "number" || Math.floor(startIndex) !== startIndex) |
| H.throwExpression(P.ArgumentError$(startIndex)); |
| if (endIndex == null) |
| endIndex = receiver.length; |
| if (typeof endIndex !== "number" || Math.floor(endIndex) !== endIndex) |
| H.throwExpression(P.ArgumentError$(endIndex)); |
| if (startIndex < 0) |
| throw H.wrapException(P.RangeError$value(startIndex)); |
| if (typeof endIndex !== "number") |
| return 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); |
| }, |
| toLowerCase$0: function(receiver) { |
| return receiver.toLowerCase(); |
| }, |
| trim$0: function(receiver) { |
| var result, endIndex, startIndex, t1, endIndex0; |
| result = receiver.trim(); |
| endIndex = result.length; |
| if (endIndex === 0) |
| return result; |
| if (this.codeUnitAt$1(result, 0) === 133) { |
| startIndex = J.JSString__skipLeadingWhitespace(result, 1); |
| if (startIndex === endIndex) |
| return ""; |
| } else |
| startIndex = 0; |
| t1 = endIndex - 1; |
| endIndex0 = this.codeUnitAt$1(result, t1) === 133 ? J.JSString__skipTrailingWhitespace(result, t1) : endIndex; |
| if (startIndex === 0 && endIndex0 === endIndex) |
| return result; |
| return result.substring(startIndex, endIndex0); |
| }, |
| $mul: function(receiver, times) { |
| var s, result; |
| if (typeof times !== "number") |
| return H.iae(times); |
| if (0 >= times) |
| return ""; |
| if (times === 1 || receiver.length === 0) |
| return receiver; |
| if (times !== times >>> 0) |
| throw H.wrapException(C.C_OutOfMemoryError); |
| for (s = receiver, result = ""; true;) { |
| if ((times & 1) === 1) |
| result = s + result; |
| times = times >>> 1; |
| if (times === 0) |
| break; |
| s += s; |
| } |
| return result; |
| }, |
| indexOf$2: function(receiver, pattern, start) { |
| var t1, match, t2, i; |
| if (pattern == null) |
| H.throwExpression(P.ArgumentError$(null)); |
| if (start < 0 || start > receiver.length) |
| throw H.wrapException(P.RangeError$range(start, 0, receiver.length)); |
| if (typeof pattern === "string") |
| return receiver.indexOf(pattern, start); |
| t1 = J.getInterceptor(pattern); |
| if (!!t1.$isJSSyntaxRegExp) { |
| match = pattern._execGlobal$2(receiver, start); |
| return match == null ? -1 : match._match.index; |
| } |
| for (t2 = receiver.length, i = start; i <= t2; ++i) |
| if (t1.matchAsPrefix$2(pattern, receiver, i) != null) |
| return i; |
| return -1; |
| }, |
| indexOf$1: function($receiver, pattern) { |
| return this.indexOf$2($receiver, pattern, 0); |
| }, |
| lastIndexOf$2: function(receiver, pattern, start) { |
| var t1, t2; |
| start = receiver.length; |
| t1 = pattern.length; |
| t2 = receiver.length; |
| if (start + t1 > t2) |
| start = t2 - t1; |
| return receiver.lastIndexOf(pattern, start); |
| }, |
| lastIndexOf$1: function($receiver, pattern) { |
| return this.lastIndexOf$2($receiver, pattern, null); |
| }, |
| contains$2: function(receiver, other, startIndex) { |
| if (other == null) |
| H.throwExpression(P.ArgumentError$(null)); |
| if (startIndex > receiver.length) |
| throw H.wrapException(P.RangeError$range(startIndex, 0, receiver.length)); |
| return H.stringContainsUnchecked(receiver, other, startIndex); |
| }, |
| contains$1: function($receiver, other) { |
| return this.contains$2($receiver, other, 0); |
| }, |
| get$isEmpty: function(receiver) { |
| return receiver.length === 0; |
| }, |
| get$isNotEmpty: function(receiver) { |
| return receiver.length !== 0; |
| }, |
| compareTo$1: function(receiver, other) { |
| var t1; |
| if (typeof other !== "string") |
| throw H.wrapException(P.ArgumentError$(other)); |
| if (receiver === other) |
| t1 = 0; |
| else |
| t1 = receiver < other ? -1 : 1; |
| return t1; |
| }, |
| 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$runtimeType: function(receiver) { |
| return C.Type_Ejg; |
| }, |
| get$length: function(receiver) { |
| return receiver.length; |
| }, |
| $index: function(receiver, index) { |
| if (typeof index !== "number" || Math.floor(index) !== index) |
| throw H.wrapException(P.ArgumentError$(index)); |
| if (index >= receiver.length || index < 0) |
| throw H.wrapException(P.RangeError$value(index)); |
| return receiver[index]; |
| }, |
| $isString: true, |
| static: {JSString__isWhitespace: function(codeUnit) { |
| if (codeUnit < 256) |
| switch (codeUnit) { |
| case 9: |
| case 10: |
| case 11: |
| case 12: |
| case 13: |
| case 32: |
| case 133: |
| case 160: |
| return true; |
| default: |
| return false; |
| } |
| switch (codeUnit) { |
| case 5760: |
| case 6158: |
| case 8192: |
| case 8193: |
| case 8194: |
| case 8195: |
| case 8196: |
| case 8197: |
| case 8198: |
| case 8199: |
| case 8200: |
| case 8201: |
| case 8202: |
| case 8232: |
| case 8233: |
| case 8239: |
| case 8287: |
| case 12288: |
| case 65279: |
| return true; |
| default: |
| return false; |
| } |
| }, JSString__skipLeadingWhitespace: function(string, index) { |
| var t1, codeUnit; |
| for (t1 = string.length; index < t1;) { |
| if (index >= t1) |
| H.throwExpression(P.RangeError$value(index)); |
| codeUnit = string.charCodeAt(index); |
| if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) |
| break; |
| ++index; |
| } |
| return index; |
| }, JSString__skipTrailingWhitespace: function(string, index) { |
| var t1, index0, codeUnit; |
| for (t1 = string.length; index > 0; index = index0) { |
| index0 = index - 1; |
| if (index0 >= t1) |
| H.throwExpression(P.RangeError$value(index0)); |
| codeUnit = string.charCodeAt(index0); |
| if (codeUnit !== 32 && codeUnit !== 13 && !J.JSString__isWhitespace(codeUnit)) |
| break; |
| } |
| return index; |
| }} |
| } |
| }], |
| ["_isolate_helper", "dart:_isolate_helper", , H, { |
| "^": "", |
| _callInIsolate: function(isolate, $function) { |
| var result = isolate.eval$1(0, $function); |
| init.globalState.topEventLoop.run$0(); |
| return result; |
| }, |
| leaveJsAsync: function() { |
| --init.globalState.topEventLoop._activeJsAsyncCount; |
| }, |
| startRootIsolate: function(entry, args) { |
| var t1, t2, t3, t4, t5, rootContext; |
| t1 = {}; |
| t1.args_0 = args; |
| args = args; |
| t1.args_0 = args; |
| if (args == null) { |
| args = []; |
| t1.args_0 = args; |
| t2 = args; |
| } else |
| t2 = args; |
| if (!J.getInterceptor(t2).$isList) |
| throw H.wrapException(P.ArgumentError$("Arguments to main must be a List: " + H.S(t2))); |
| t2 = new H._Manager(0, 0, 1, null, null, null, null, null, null, null, null, null, entry); |
| t2._Manager$1(entry); |
| init.globalState = t2; |
| if (init.globalState.isWorker === true) |
| return; |
| t2 = init.globalState.nextIsolateId++; |
| t3 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, H.RawReceivePortImpl); |
| t4 = P.LinkedHashSet_LinkedHashSet(null, null, null, P.$int); |
| t5 = new H.RawReceivePortImpl(0, null, false); |
| rootContext = new H._IsolateContext(t2, t3, t4, new Isolate(), t5, P.Capability_Capability(), P.Capability_Capability(), false, false, [], P.LinkedHashSet_LinkedHashSet(null, null, null, null), null, null, false, true, P.LinkedHashSet_LinkedHashSet(null, null, null, null)); |
| t4.add$1(0, 0); |
| rootContext._addRegistration$2(0, t5); |
| init.globalState.rootContext = rootContext; |
| init.globalState.currentContext = rootContext; |
| t2 = H.getDynamicRuntimeType(); |
| t3 = H.buildFunctionType(t2, [t2])._isTest$1(entry); |
| if (t3) |
| rootContext.eval$1(0, new H.startRootIsolate_closure(t1, entry)); |
| else { |
| t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(entry); |
| if (t2) |
| rootContext.eval$1(0, new H.startRootIsolate_closure0(t1, entry)); |
| else |
| rootContext.eval$1(0, entry); |
| } |
| init.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_computeThisScriptFromTrace(); |
| if (typeof version == "function" && typeof system == "function") |
| return thisFilename(); |
| if (init.globalState.isWorker === true) |
| return H.IsolateNatives_computeThisScriptFromTrace(); |
| return; |
| }, |
| IsolateNatives_computeThisScriptFromTrace: 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 \"" + H.S(stack) + "\"")); |
| }, |
| IsolateNatives__processWorkerMessage: [function(sender, e) { |
| var msg, t1, functionName, entryPoint, args, message, isSpawnUri, startPaused, replyTo, t2, t3, t4, context, replyPort; |
| msg = H._deserializeMessage(e.data); |
| t1 = J.getInterceptor$asx(msg); |
| switch (t1.$index(msg, "command")) { |
| case "start": |
| init.globalState.currentManagerId = t1.$index(msg, "id"); |
| functionName = t1.$index(msg, "functionName"); |
| entryPoint = functionName == null ? init.globalState.entry : init.globalFunctions[functionName](); |
| args = t1.$index(msg, "args"); |
| message = H._deserializeMessage(t1.$index(msg, "msg")); |
| isSpawnUri = t1.$index(msg, "isSpawnUri"); |
| startPaused = t1.$index(msg, "startPaused"); |
| replyTo = H._deserializeMessage(t1.$index(msg, "replyTo")); |
| t1 = init.globalState.nextIsolateId++; |
| t2 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, H.RawReceivePortImpl); |
| t3 = P.LinkedHashSet_LinkedHashSet(null, null, null, P.$int); |
| t4 = new H.RawReceivePortImpl(0, null, false); |
| context = new H._IsolateContext(t1, t2, t3, new Isolate(), t4, P.Capability_Capability(), P.Capability_Capability(), false, false, [], P.LinkedHashSet_LinkedHashSet(null, null, null, null), null, null, false, true, P.LinkedHashSet_LinkedHashSet(null, null, null, null)); |
| t3.add$1(0, 0); |
| context._addRegistration$2(0, t4); |
| init.globalState.topEventLoop.events._add$1(0, new H._IsolateEvent(context, new H.IsolateNatives__processWorkerMessage_closure(entryPoint, args, message, isSpawnUri, startPaused, replyTo), "worker-start")); |
| init.globalState.currentContext = context; |
| init.globalState.topEventLoop.run$0(); |
| break; |
| case "spawn-worker": |
| replyPort = t1.$index(msg, "replyPort"); |
| H.IsolateNatives_spawn(t1.$index(msg, "functionName"), t1.$index(msg, "uri"), t1.$index(msg, "args"), t1.$index(msg, "msg"), false, t1.$index(msg, "isSpawnUri"), t1.$index(msg, "startPaused")).then$2$onError(new H.IsolateNatives__processWorkerMessage_closure0(replyPort), new H.IsolateNatives__processWorkerMessage_closure1(replyPort)); |
| break; |
| case "message": |
| if (t1.$index(msg, "port") != null) |
| J.send$1$x(t1.$index(msg, "port"), t1.$index(msg, "msg")); |
| init.globalState.topEventLoop.run$0(); |
| break; |
| case "close": |
| init.globalState.managers.remove$1(0, $.get$IsolateNatives_workerIds().$index(0, sender)); |
| sender.terminate(); |
| init.globalState.topEventLoop.run$0(); |
| break; |
| case "log": |
| H.IsolateNatives__log(t1.$index(msg, "msg")); |
| break; |
| case "print": |
| if (init.globalState.isWorker === true) { |
| t1 = init.globalState.mainManager; |
| t2 = H._serializeMessage(P.LinkedHashMap_LinkedHashMap$_literal(["command", "print", "msg", msg], null, null)); |
| t1.toString; |
| self.postMessage(t2); |
| } else |
| P.print(t1.$index(msg, "msg")); |
| break; |
| case "error": |
| throw H.wrapException(t1.$index(msg, "msg")); |
| } |
| }, "call$2", "IsolateNatives__processWorkerMessage$closure", 4, 0, null, 0, 1], |
| IsolateNatives__log: function(msg) { |
| var trace, t1, t2, exception; |
| if (init.globalState.isWorker === true) { |
| t1 = init.globalState.mainManager; |
| t2 = H._serializeMessage(P.LinkedHashMap_LinkedHashMap$_literal(["command", "log", "msg", msg], 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_spawn: function(functionName, uri, args, message, isLight, isSpawnUri, startPaused) { |
| var port, completer, signalReply, t1, t2, worker; |
| if (uri != null && J.endsWith$1$s(uri, ".dart")) |
| uri = J.$add$ns(uri, ".js"); |
| port = P.ReceivePort_ReceivePort(); |
| completer = H.setRuntimeTypeInfo(new P._AsyncCompleter(P._Future$(null)), [null]); |
| port.get$first(port).then$1(new H.IsolateNatives_spawn_closure(completer)); |
| signalReply = new H._NativeJsSendPort(port._rawPort, init.globalState.currentContext.id); |
| if (init.globalState.supportsWorkers === true && !isLight) |
| if (init.globalState.isWorker === true) { |
| t1 = init.globalState.mainManager; |
| t2 = H._serializeMessage(P.LinkedHashMap_LinkedHashMap$_literal(["command", "spawn-worker", "functionName", functionName, "args", args, "msg", message, "uri", uri, "isSpawnUri", isSpawnUri, "startPaused", startPaused, "replyPort", signalReply], null, null)); |
| t1.toString; |
| self.postMessage(t2); |
| } else { |
| if (uri == null) |
| uri = $.get$IsolateNatives_thisScript(); |
| worker = new Worker(uri); |
| worker.onerror = function(f, u, c) { |
| return function(e) { |
| return f(e, u, c); |
| }; |
| }(H.IsolateNatives_workerOnError, uri, new H.IsolateNatives_spawn_closure0(completer)); |
| worker.onmessage = function(f, a) { |
| return function(e) { |
| e.onerror = null; |
| return f(a, e); |
| }; |
| }(H.IsolateNatives__processWorkerMessage, worker); |
| t1 = init.globalState.nextManagerId++; |
| $.get$IsolateNatives_workerIds().$indexSet(0, worker, t1); |
| init.globalState.managers.$indexSet(0, t1, worker); |
| worker.postMessage(H._serializeMessage(P.LinkedHashMap_LinkedHashMap$_literal(["command", "start", "id", t1, "replyTo", H._serializeMessage(signalReply), "args", args, "msg", H._serializeMessage(message), "isSpawnUri", isSpawnUri, "startPaused", startPaused, "functionName", functionName], null, null))); |
| } |
| else |
| H.IsolateNatives__startNonWorker(functionName, uri, args, message, isSpawnUri, startPaused, signalReply); |
| return completer.future; |
| }, |
| IsolateNatives__startNonWorker: function(functionName, uri, args, message, isSpawnUri, startPaused, replyPort) { |
| var t1, t2, t3, t4, t5, t6; |
| t1 = {}; |
| t1.args_0 = args; |
| t1.message_1 = message; |
| if (uri != null) |
| throw H.wrapException(P.UnsupportedError$("Currently spawnUri is not supported without web workers.")); |
| t1.message_1 = H._serializeMessage(message); |
| t1.args_0 = H._serializeMessage(t1.args_0); |
| t2 = init.globalState.topEventLoop; |
| t3 = init.globalState.nextIsolateId++; |
| t4 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, H.RawReceivePortImpl); |
| t5 = P.LinkedHashSet_LinkedHashSet(null, null, null, P.$int); |
| t6 = new H.RawReceivePortImpl(0, null, false); |
| t4 = new H._IsolateContext(t3, t4, t5, new Isolate(), t6, P.Capability_Capability(), P.Capability_Capability(), false, false, [], P.LinkedHashSet_LinkedHashSet(null, null, null, null), null, null, false, true, P.LinkedHashSet_LinkedHashSet(null, null, null, null)); |
| t5.add$1(0, 0); |
| t4._addRegistration$2(0, t6); |
| t2.events._add$1(0, new H._IsolateEvent(t4, new H.IsolateNatives__startNonWorker_closure(t1, functionName, isSpawnUri, startPaused, replyPort), "nonworker start")); |
| }, |
| IsolateNatives__startIsolate: function(topLevel, args, message, isSpawnUri, startPaused, replyTo) { |
| var context, t1, t2, t3; |
| context = init.globalState.currentContext; |
| t1 = context.id; |
| $.Primitives_mirrorFunctionCacheName = $.Primitives_mirrorFunctionCacheName + ("_" + t1); |
| $.Primitives_mirrorInvokeCacheName = $.Primitives_mirrorInvokeCacheName + ("_" + t1); |
| t1 = context.controlPort; |
| t2 = init.globalState.currentContext.id; |
| t3 = context.pauseCapability; |
| J.send$1$x(replyTo, ["spawned", new H._NativeJsSendPort(t1, t2), t3, context.terminateCapability]); |
| t2 = new H.IsolateNatives__startIsolate_runStartFunction(topLevel, args, message, isSpawnUri, context); |
| if (startPaused === true) { |
| context.addPause$2(t3, t3); |
| init.globalState.topEventLoop.events._add$1(0, new H._IsolateEvent(context, t2, "start isolate")); |
| } else |
| t2.call$0(); |
| }, |
| IsolateNatives_workerOnError: [function($event, uri, onError) { |
| var message; |
| $event.preventDefault(); |
| message = $event.message; |
| onError.call$1(message == null ? "Error spawning worker for " + H.S(uri) : "Error spawning worker for " + H.S(uri) + " (" + message + ")"); |
| return true; |
| }, "call$3", "IsolateNatives_workerOnError$closure", 6, 0, null, 2, 3, 4], |
| _serializeMessage: function(message) { |
| var t1; |
| if (init.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 (init.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:69;box_0,entry_1", |
| call$0: function() { |
| this.entry_1.call$1(this.box_0.args_0); |
| }, |
| $isFunction: true |
| }, |
| startRootIsolate_closure0: { |
| "^": "Closure:69;box_0,entry_2", |
| call$0: function() { |
| this.entry_2.call$2(this.box_0.args_0, null); |
| }, |
| $isFunction: true |
| }, |
| _Manager: { |
| "^": "Object;nextIsolateId,currentManagerId,nextManagerId,currentContext,rootContext,topEventLoop,fromCommandLine,isWorker,supportsWorkers,isolates<,mainManager,managers,entry<", |
| _Manager$1: function(entry) { |
| var t1, t2, t3, $function; |
| t1 = $.get$globalWindow() == null; |
| t2 = $.get$globalWorker(); |
| t3 = t1 && $.get$globalPostMessageDefined() === true; |
| this.isWorker = t3; |
| if (!t3) |
| t2 = t2 != null && $.get$IsolateNatives_thisScript() != null; |
| else |
| t2 = true; |
| this.supportsWorkers = t2; |
| this.fromCommandLine = t1 && !t3; |
| t2 = H._IsolateEvent; |
| t3 = H.setRuntimeTypeInfo(new P.ListQueue(null, 0, 0, 0), [t2]); |
| t3.ListQueue$1(null, t2); |
| this.topEventLoop = new H._EventLoop(t3, 0); |
| this.isolates = P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, H._IsolateContext); |
| this.managers = P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, null); |
| if (this.isWorker === true) { |
| t1 = new H._MainManagerStub(); |
| this.mainManager = t1; |
| $function = function(f, a) { |
| return function(e) { |
| f(a, e); |
| }; |
| }(H.IsolateNatives__processWorkerMessage, t1); |
| $.get$globalThis().onmessage = $function; |
| $.get$globalThis().dartPrint = function(object) { |
| }; |
| } |
| } |
| }, |
| _IsolateContext: { |
| "^": "Object;id>,ports,weakPorts,isolateStatics<,controlPort<,pauseCapability,terminateCapability,initialized?,isPaused<,delayedEvents<,pauseTokens,doneHandlers,_scheduledControlEvents,_isExecutingEvent,errorsAreFatal,errorPorts", |
| addPause$2: function(authentification, resume) { |
| if (!this.pauseCapability.$eq(0, authentification)) |
| return; |
| if (this.pauseTokens.add$1(0, resume) && !this.isPaused) |
| this.isPaused = true; |
| this._updateGlobalState$0(); |
| }, |
| removePause$1: function(resume) { |
| var t1, t2, $event, t3, t4, t5; |
| if (!this.isPaused) |
| return; |
| t1 = this.pauseTokens; |
| t1.remove$1(0, resume); |
| if (t1._collection$_length === 0) { |
| for (t1 = this.delayedEvents; t2 = t1.length, t2 !== 0;) { |
| if (0 >= t2) |
| return H.ioore(t1, 0); |
| $event = t1.pop(); |
| t2 = init.globalState.topEventLoop.events; |
| t3 = t2._head; |
| t4 = t2._collection$_table; |
| t5 = t4.length; |
| t3 = (t3 - 1 & t5 - 1) >>> 0; |
| t2._head = t3; |
| if (t3 < 0 || t3 >= t5) |
| return H.ioore(t4, t3); |
| t4[t3] = $event; |
| if (t3 === t2._tail) |
| t2._grow$0(); |
| ++t2._modificationCount; |
| } |
| this.isPaused = false; |
| } |
| this._updateGlobalState$0(); |
| }, |
| addDoneListener$1: function(responsePort) { |
| var t1 = this.doneHandlers; |
| if (t1 == null) { |
| t1 = []; |
| this.doneHandlers = t1; |
| } |
| if (J.contains$1$asx(t1, responsePort)) |
| return; |
| this.doneHandlers.push(responsePort); |
| }, |
| removeDoneListener$1: function(responsePort) { |
| var t1 = this.doneHandlers; |
| if (t1 == null) |
| return; |
| J.remove$1$ax(t1, responsePort); |
| }, |
| setErrorsFatal$2: function(authentification, errorsAreFatal) { |
| if (!this.terminateCapability.$eq(0, authentification)) |
| return; |
| this.errorsAreFatal = errorsAreFatal; |
| }, |
| handlePing$2: function(responsePort, pingType) { |
| var t1, t2; |
| t1 = J.getInterceptor(pingType); |
| if (!t1.$eq(pingType, 0)) |
| t2 = t1.$eq(pingType, 1) && !this._isExecutingEvent; |
| else |
| t2 = true; |
| if (t2) { |
| J.send$1$x(responsePort, null); |
| return; |
| } |
| t2 = new H._IsolateContext_handlePing_respond(responsePort); |
| if (t1.$eq(pingType, 2)) { |
| init.globalState.topEventLoop.events._add$1(0, new H._IsolateEvent(this, t2, "ping")); |
| return; |
| } |
| t1 = this._scheduledControlEvents; |
| if (t1 == null) { |
| t1 = H.setRuntimeTypeInfo(new P.ListQueue(null, 0, 0, 0), [null]); |
| t1.ListQueue$1(null, null); |
| this._scheduledControlEvents = t1; |
| } |
| t1._add$1(0, t2); |
| }, |
| handleKill$2: function(authentification, priority) { |
| var t1, t2; |
| if (!this.terminateCapability.$eq(0, authentification)) |
| return; |
| t1 = J.getInterceptor(priority); |
| if (!t1.$eq(priority, 0)) |
| t2 = t1.$eq(priority, 1) && !this._isExecutingEvent; |
| else |
| t2 = true; |
| if (t2) { |
| this.kill$0(); |
| return; |
| } |
| if (t1.$eq(priority, 2)) { |
| t1 = init.globalState.topEventLoop; |
| t2 = this.get$kill(); |
| t1.events._add$1(0, new H._IsolateEvent(this, t2, "kill")); |
| return; |
| } |
| t1 = this._scheduledControlEvents; |
| if (t1 == null) { |
| t1 = H.setRuntimeTypeInfo(new P.ListQueue(null, 0, 0, 0), [null]); |
| t1.ListQueue$1(null, null); |
| this._scheduledControlEvents = t1; |
| } |
| t1._add$1(0, this.get$kill()); |
| }, |
| handleUncaughtError$2: function(error, stackTrace) { |
| var t1, message; |
| t1 = this.errorPorts; |
| if (t1._collection$_length === 0) { |
| if (this.errorsAreFatal === true && this === init.globalState.rootContext) |
| return; |
| t1 = $.get$globalThis(); |
| if (t1.console != null && typeof t1.console.error == "function") |
| t1.console.error(error, stackTrace); |
| else { |
| P.print(error); |
| if (stackTrace != null) |
| P.print(stackTrace); |
| } |
| return; |
| } |
| message = Array(2); |
| message.fixed$length = init; |
| message[0] = J.toString$0(error); |
| message[1] = stackTrace == null ? null : J.toString$0(stackTrace); |
| for (t1 = H.setRuntimeTypeInfo(new P.LinkedHashSetIterator(t1, t1._modifications, null, null), [null]), t1._cell = t1._set._first; t1.moveNext$0();) |
| J.send$1$x(t1._collection$_current, message); |
| }, |
| eval$1: [function(_, code) { |
| var old, result, e, s, exception, t1; |
| old = init.globalState.currentContext; |
| init.globalState.currentContext = this; |
| $ = this.isolateStatics; |
| result = null; |
| this._isExecutingEvent = true; |
| try { |
| result = code.call$0(); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| this.handleUncaughtError$2(e, s); |
| if (this.errorsAreFatal === true) { |
| this.kill$0(); |
| if (this === init.globalState.rootContext) |
| throw exception; |
| } |
| } |
| finally { |
| this._isExecutingEvent = false; |
| init.globalState.currentContext = old; |
| if (old != null) |
| $ = old.get$isolateStatics(); |
| if (this._scheduledControlEvents != null) |
| for (; t1 = this._scheduledControlEvents, !t1.get$isEmpty(t1);) |
| this._scheduledControlEvents.removeFirst$0().call$0(); |
| } |
| return result; |
| }, "call$1", "get$eval", 2, 0, 70, 71], |
| handleControlMessage$1: function(message) { |
| var t1 = J.getInterceptor$asx(message); |
| switch (t1.$index(message, 0)) { |
| case "pause": |
| this.addPause$2(t1.$index(message, 1), t1.$index(message, 2)); |
| break; |
| case "resume": |
| this.removePause$1(t1.$index(message, 1)); |
| break; |
| case "add-ondone": |
| this.addDoneListener$1(t1.$index(message, 1)); |
| break; |
| case "remove-ondone": |
| this.removeDoneListener$1(t1.$index(message, 1)); |
| break; |
| case "set-errors-fatal": |
| this.setErrorsFatal$2(t1.$index(message, 1), t1.$index(message, 2)); |
| break; |
| case "ping": |
| this.handlePing$2(t1.$index(message, 1), t1.$index(message, 2)); |
| break; |
| case "kill": |
| this.handleKill$2(t1.$index(message, 1), t1.$index(message, 2)); |
| break; |
| case "getErrors": |
| this.errorPorts.add$1(0, t1.$index(message, 1)); |
| break; |
| case "stopErrors": |
| this.errorPorts.remove$1(0, t1.$index(message, 1)); |
| break; |
| } |
| }, |
| lookup$1: function(portId) { |
| return this.ports.$index(0, portId); |
| }, |
| _addRegistration$2: function(portId, port) { |
| var t1 = this.ports; |
| if (t1.containsKey$1(portId)) |
| throw H.wrapException(P.Exception_Exception("Registry: ports must be registered only once.")); |
| t1.$indexSet(0, portId, port); |
| }, |
| _updateGlobalState$0: function() { |
| if (this.ports._collection$_length - this.weakPorts._collection$_length > 0 || this.isPaused || !this.initialized) |
| init.globalState.isolates.$indexSet(0, this.id, this); |
| else |
| this.kill$0(); |
| }, |
| kill$0: [function() { |
| var t1, t2; |
| t1 = this._scheduledControlEvents; |
| if (t1 != null) |
| t1.clear$0(0); |
| for (t1 = this.ports, t2 = t1.get$values(t1), t2 = H.setRuntimeTypeInfo(new H.MappedIterator(null, J.get$iterator$ax(t2._iterable), t2._f), [H.getTypeArgumentByIndex(t2, 0), H.getTypeArgumentByIndex(t2, 1)]); t2.moveNext$0();) |
| t2._current.__isolate_helper$_close$0(); |
| t1.clear$0(0); |
| this.weakPorts.clear$0(0); |
| init.globalState.isolates.remove$1(0, this.id); |
| this.errorPorts.clear$0(0); |
| t1 = this.doneHandlers; |
| if (t1 != null) { |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) |
| J.send$1$x(t1._current, null); |
| this.doneHandlers = null; |
| } |
| }, "call$0", "get$kill", 0, 0, 18], |
| $is_IsolateContext: true |
| }, |
| _IsolateContext_handlePing_respond: { |
| "^": "Closure:18;responsePort_0", |
| call$0: [function() { |
| J.send$1$x(this.responsePort_0, null); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _EventLoop: { |
| "^": "Object;events,_activeJsAsyncCount", |
| dequeue$0: function() { |
| var t1 = this.events; |
| if (t1._head === t1._tail) |
| return; |
| return t1.removeFirst$0(); |
| }, |
| runIteration$0: function() { |
| var $event, t1, t2; |
| $event = this.dequeue$0(); |
| if ($event == null) { |
| if (init.globalState.rootContext != null && init.globalState.isolates.containsKey$1(init.globalState.rootContext.id) && init.globalState.fromCommandLine === true && init.globalState.rootContext.ports._collection$_length === 0) |
| H.throwExpression(P.Exception_Exception("Program exited with open ReceivePorts.")); |
| t1 = init.globalState; |
| if (t1.isWorker === true && t1.isolates._collection$_length === 0 && t1.topEventLoop._activeJsAsyncCount === 0) { |
| t1 = t1.mainManager; |
| t2 = H._serializeMessage(P.LinkedHashMap_LinkedHashMap$_literal(["command", "close"], null, null)); |
| t1.toString; |
| self.postMessage(t2); |
| } |
| return false; |
| } |
| J.process$0$x($event); |
| 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 (init.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 = init.globalState.mainManager; |
| t2 = H._serializeMessage(P.LinkedHashMap_LinkedHashMap$_literal(["command", "error", "msg", H.S(e) + "\n" + H.S(trace)], null, null)); |
| t1.toString; |
| self.postMessage(t2); |
| } |
| |
| } |
| }, |
| _EventLoop__runHelper_next: { |
| "^": "Closure:18;this_0", |
| call$0: [function() { |
| if (!this.this_0.runIteration$0()) |
| return; |
| P.Timer_Timer(C.Duration_0, this); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _IsolateEvent: { |
| "^": "Object;isolate*,fn,message>", |
| process$0: [function(_) { |
| if (this.isolate.get$isPaused()) { |
| this.isolate.get$delayedEvents().push(this); |
| return; |
| } |
| J.eval$1$x(this.isolate, this.fn); |
| }, "call$0", "get$process", 0, 0, 18], |
| $is_IsolateEvent: true |
| }, |
| _MainManagerStub: { |
| "^": "Object;" |
| }, |
| IsolateNatives__processWorkerMessage_closure: { |
| "^": "Closure:69;entryPoint_0,args_1,message_2,isSpawnUri_3,startPaused_4,replyTo_5", |
| call$0: [function() { |
| H.IsolateNatives__startIsolate(this.entryPoint_0, this.args_1, this.message_2, this.isSpawnUri_3, this.startPaused_4, this.replyTo_5); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| IsolateNatives__processWorkerMessage_closure0: { |
| "^": "Closure:13;replyPort_6", |
| call$1: [function(msg) { |
| J.send$1$x(this.replyPort_6, msg); |
| }, "call$1", null, 2, 0, null, 72, "call"], |
| $isFunction: true |
| }, |
| IsolateNatives__processWorkerMessage_closure1: { |
| "^": "Closure:5;replyPort_7", |
| call$1: [function(errorMessage) { |
| J.send$1$x(this.replyPort_7, ["spawn failed", errorMessage]); |
| }, "call$1", null, 2, 0, null, 73, "call"], |
| $isFunction: true |
| }, |
| IsolateNatives_spawn_closure: { |
| "^": "Closure:13;completer_0", |
| call$1: [function(msg) { |
| var t1, t2; |
| t1 = J.getInterceptor$asx(msg); |
| t2 = this.completer_0; |
| if (J.$eq(t1.$index(msg, 0), "spawned")) { |
| t1 = t2.future; |
| if (t1._state !== 0) |
| H.throwExpression(P.StateError$("Future already completed")); |
| t1._asyncComplete$1(msg); |
| } else |
| t2.completeError$1(t1.$index(msg, 1)); |
| }, "call$1", null, 2, 0, null, 72, "call"], |
| $isFunction: true |
| }, |
| IsolateNatives_spawn_closure0: { |
| "^": "Closure:5;completer_1", |
| call$1: [function(message) { |
| return this.completer_1.completeError$1(message); |
| }, "call$1", null, 2, 0, null, 74, "call"], |
| $isFunction: true |
| }, |
| IsolateNatives__startNonWorker_closure: { |
| "^": "Closure:69;box_0,functionName_1,isSpawnUri_2,startPaused_3,replyPort_4", |
| call$0: [function() { |
| var t1 = this.box_0; |
| H.IsolateNatives__startIsolate(init.globalFunctions[this.functionName_1](), t1.args_0, t1.message_1, this.isSpawnUri_2, this.startPaused_3, this.replyPort_4); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| IsolateNatives__startIsolate_runStartFunction: { |
| "^": "Closure:18;topLevel_0,args_1,message_2,isSpawnUri_3,context_4", |
| call$0: [function() { |
| var t1, t2, t3; |
| this.context_4.set$initialized(true); |
| if (this.isSpawnUri_3 !== true) |
| this.topLevel_0.call$1(this.message_2); |
| else { |
| t1 = this.topLevel_0; |
| t2 = H.getDynamicRuntimeType(); |
| t3 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); |
| if (t3) |
| t1.call$2(this.args_1, this.message_2); |
| else { |
| t2 = H.buildFunctionType(t2, [t2])._isTest$1(t1); |
| if (t2) |
| t1.call$1(this.args_1); |
| else |
| t1.call$0(); |
| } |
| } |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _BaseSendPort: { |
| "^": "Object;", |
| $isSendPort: true, |
| $isCapability: true |
| }, |
| _NativeJsSendPort: { |
| "^": "_BaseSendPort;_receivePort,_isolateId", |
| send$1: function(_, message) { |
| var t1, t2, isolate, t3, shouldSerialize; |
| t1 = {}; |
| t2 = this._isolateId; |
| isolate = init.globalState.isolates.$index(0, t2); |
| if (isolate == null) |
| return; |
| t3 = this._receivePort; |
| if (t3.get$_isClosed()) |
| return; |
| shouldSerialize = init.globalState.currentContext != null && init.globalState.currentContext.id !== t2; |
| t1.msg_0 = message; |
| if (shouldSerialize) |
| t1.msg_0 = H._serializeMessage(message); |
| if (isolate.get$controlPort() === t3) { |
| isolate.handleControlMessage$1(t1.msg_0); |
| return; |
| } |
| t2 = init.globalState.topEventLoop; |
| t3 = "receive " + H.S(message); |
| t2.events._add$1(0, new H._IsolateEvent(isolate, new H._NativeJsSendPort_send_closure(t1, this, shouldSerialize), t3)); |
| }, |
| $eq: function(_, other) { |
| if (other == null) |
| return false; |
| return !!J.getInterceptor(other).$is_NativeJsSendPort && J.$eq(this._receivePort, other._receivePort); |
| }, |
| get$hashCode: function(_) { |
| return J.get$__isolate_helper$_id$x(this._receivePort); |
| }, |
| $is_NativeJsSendPort: true, |
| $isSendPort: true, |
| $isCapability: true |
| }, |
| _NativeJsSendPort_send_closure: { |
| "^": "Closure:69;box_0,this_1,shouldSerialize_2", |
| call$0: [function() { |
| var t1, t2; |
| t1 = this.this_1._receivePort; |
| if (!t1.get$_isClosed()) { |
| if (this.shouldSerialize_2) { |
| t2 = this.box_0; |
| t2.msg_0 = H._deserializeMessage(t2.msg_0); |
| } |
| J.__isolate_helper$_add$1$x(t1, this.box_0.msg_0); |
| } |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _WorkerSendPort: { |
| "^": "_BaseSendPort;_workerId,_receivePortId,_isolateId", |
| send$1: function(_, message) { |
| var workerMessage, manager; |
| workerMessage = H._serializeMessage(P.LinkedHashMap_LinkedHashMap$_literal(["command", "message", "port", this, "msg", message], null, null)); |
| if (init.globalState.isWorker === true) { |
| init.globalState.mainManager.toString; |
| self.postMessage(workerMessage); |
| } else { |
| manager = init.globalState.managers.$index(0, this._workerId); |
| if (manager != null) |
| manager.postMessage(workerMessage); |
| } |
| }, |
| $eq: function(_, other) { |
| if (other == null) |
| return false; |
| return !!J.getInterceptor(other).$is_WorkerSendPort && J.$eq(this._workerId, other._workerId) && J.$eq(this._isolateId, other._isolateId) && J.$eq(this._receivePortId, other._receivePortId); |
| }, |
| get$hashCode: function(_) { |
| var t1, t2, t3; |
| t1 = J.$shl$n(this._workerId, 16); |
| t2 = J.$shl$n(this._isolateId, 8); |
| t3 = this._receivePortId; |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| return (t1 ^ t2 ^ t3) >>> 0; |
| }, |
| $is_WorkerSendPort: true, |
| $isSendPort: true, |
| $isCapability: true |
| }, |
| RawReceivePortImpl: { |
| "^": "Object;__isolate_helper$_id>,_handler,_isClosed<", |
| _handler$1: function(arg0) { |
| return this._handler.call$1(arg0); |
| }, |
| __isolate_helper$_close$0: function() { |
| this._isClosed = true; |
| this._handler = null; |
| }, |
| close$0: function(_) { |
| var t1, t2; |
| if (this._isClosed) |
| return; |
| this._isClosed = true; |
| this._handler = null; |
| t1 = init.globalState.currentContext; |
| t2 = this.__isolate_helper$_id; |
| t1.ports.remove$1(0, t2); |
| t1.weakPorts.remove$1(0, t2); |
| t1._updateGlobalState$0(); |
| }, |
| __isolate_helper$_add$1: function(_, dataEvent) { |
| if (this._isClosed) |
| return; |
| this._handler$1(dataEvent); |
| }, |
| $isRawReceivePortImpl: true, |
| static: {"^": "RawReceivePortImpl__nextFreeId"} |
| }, |
| ReceivePortImpl: { |
| "^": "Stream;_rawPort,__isolate_helper$_controller", |
| listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { |
| var t1 = this.__isolate_helper$_controller; |
| t1.toString; |
| return H.setRuntimeTypeInfo(new P._ControllerStream(t1), [null]).listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError); |
| }, |
| listen$3$onDone$onError: function(onData, onDone, onError) { |
| return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); |
| }, |
| listen$1: function(onData) { |
| return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); |
| }, |
| close$0: [function(_) { |
| this._rawPort.close$0(0); |
| this.__isolate_helper$_controller.close$0(0); |
| }, "call$0", "get$close", 0, 0, 18], |
| ReceivePortImpl$fromRawReceivePort$1: function(_rawPort) { |
| var t1 = P.StreamController_StreamController(this.get$close(this), null, null, null, true, null); |
| this.__isolate_helper$_controller = t1; |
| this._rawPort._handler = t1.get$add(t1); |
| }, |
| $asStream: function() { |
| return [null]; |
| }, |
| $isStream: true |
| }, |
| _JsSerializer: { |
| "^": "_Serializer;_nextFreeRefId,_visited", |
| visitSendPort$1: function(x) { |
| if (!!x.$is_NativeJsSendPort) |
| return ["sendport", init.globalState.currentManagerId, x._isolateId, J.get$__isolate_helper$_id$x(x._receivePort)]; |
| if (!!x.$is_WorkerSendPort) |
| return ["sendport", x._workerId, x._isolateId, x._receivePortId]; |
| throw H.wrapException("Illegal underlying port " + x.toString$0(0)); |
| }, |
| visitCapability$1: function(x) { |
| if (!!x.$isCapabilityImpl) |
| return ["capability", x.__isolate_helper$_id]; |
| throw H.wrapException("Capability not serializable: " + x.toString$0(0)); |
| } |
| }, |
| _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 " + x.toString$0(0)); |
| }, |
| visitCapability$1: function(x) { |
| if (!!x.$isCapabilityImpl) |
| return new H.CapabilityImpl(x.__isolate_helper$_id); |
| throw H.wrapException("Capability not serializable: " + x.toString$0(0)); |
| } |
| }, |
| _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, init.globalState.currentManagerId)) { |
| isolate = init.globalState.isolates.$index(0, 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); |
| }, |
| deserializeCapability$1: function(list) { |
| return new H.CapabilityImpl(J.$index$asx(list, 1)); |
| } |
| }, |
| _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 = []; |
| }, |
| cleanup$0: function() { |
| var $length, i, t1; |
| for ($length = this.tagged.length, i = 0; i < $length; ++i) { |
| t1 = this.tagged; |
| if (i >= t1.length) |
| return 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; |
| if (H._MessageTraverser_isPrimitive(x)) |
| return this.visitPrimitive$1(x); |
| this._visited.reset$0(0); |
| 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 (!!t1.$isList) |
| return this.visitList$1(x); |
| if (!!t1.$isMap) |
| return this.visitMap$1(x); |
| if (!!t1.$isSendPort) |
| return this.visitSendPort$1(x); |
| if (!!t1.$isCapability) |
| return this.visitCapability$1(x); |
| return this.visitObject$1(x); |
| }, |
| 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 copy, t1, len, i; |
| copy = this._visited.$index(0, list); |
| if (copy != null) |
| return copy; |
| t1 = J.getInterceptor$asx(list); |
| len = t1.get$length(list); |
| copy = Array(len); |
| copy.fixed$length = init; |
| this._visited.$indexSet(0, list, copy); |
| for (i = 0; i < len; ++i) |
| copy[i] = this._dispatch$1(t1.$index(list, i)); |
| return copy; |
| }, |
| visitMap$1: function(map) { |
| var t1, copy; |
| t1 = {}; |
| copy = this._visited.$index(0, map); |
| t1.copy_0 = copy; |
| if (copy != null) |
| return copy; |
| copy = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null); |
| t1.copy_0 = copy; |
| this._visited.$indexSet(0, map, copy); |
| map.forEach$1(0, new H._Copier_visitMap_closure(t1, this)); |
| return t1.copy_0; |
| }, |
| visitSendPort$1: function(x) { |
| return H.throwExpression(P.UnimplementedError$(null)); |
| }, |
| visitCapability$1: function(x) { |
| return H.throwExpression(P.UnimplementedError$(null)); |
| } |
| }, |
| _Copier_visitMap_closure: { |
| "^": "Closure:75;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)); |
| }, |
| $isFunction: true |
| }, |
| _Serializer: { |
| "^": "_MessageTraverser;", |
| visitPrimitive$1: function(x) { |
| return x; |
| }, |
| visitList$1: function(list) { |
| var copyId, t1; |
| copyId = this._visited.$index(0, list); |
| if (copyId != null) |
| return ["ref", copyId]; |
| t1 = this._nextFreeRefId++; |
| this._visited.$indexSet(0, list, t1); |
| return ["list", t1, this._serializeList$1(list)]; |
| }, |
| visitMap$1: function(map) { |
| var copyId, t1; |
| copyId = this._visited.$index(0, map); |
| if (copyId != null) |
| return ["ref", copyId]; |
| t1 = this._nextFreeRefId++; |
| this._visited.$indexSet(0, map, t1); |
| return ["map", t1, this._serializeList$1(J.toList$0$ax(map.get$keys())), this._serializeList$1(J.toList$0$ax(map.get$values(map)))]; |
| }, |
| _serializeList$1: function(list) { |
| var t1, len, result, i, t2; |
| t1 = J.getInterceptor$asx(list); |
| len = t1.get$length(list); |
| result = []; |
| C.JSArray_methods.set$length(result, len); |
| for (i = 0; i < len; ++i) { |
| t2 = this._dispatch$1(t1.$index(list, i)); |
| if (i >= result.length) |
| return H.ioore(result, i); |
| result[i] = t2; |
| } |
| return result; |
| }, |
| visitSendPort$1: function(x) { |
| return H.throwExpression(P.UnimplementedError$(null)); |
| }, |
| visitCapability$1: function(x) { |
| return H.throwExpression(P.UnimplementedError$(null)); |
| } |
| }, |
| _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); |
| return this._deserialized.$index(0, id); |
| case "list": |
| return this._deserializeList$1(x); |
| case "map": |
| return this._deserializeMap$1(x); |
| case "sendport": |
| return this.deserializeSendPort$1(x); |
| case "capability": |
| return this.deserializeCapability$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); |
| this._deserialized.$indexSet(0, id, dartList); |
| t1 = J.getInterceptor$asx(dartList); |
| len = t1.get$length(dartList); |
| if (typeof len !== "number") |
| return 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, keys, values, len, t2, i; |
| result = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null); |
| t1 = J.getInterceptor$asx(x); |
| id = t1.$index(x, 1); |
| this._deserialized.$indexSet(0, 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") |
| return H.iae(len); |
| t2 = J.getInterceptor$asx(values); |
| i = 0; |
| for (; i < len; ++i) |
| result.$indexSet(0, 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", |
| cancel$0: function() { |
| if ($.get$globalThis().setTimeout != null) { |
| if (this._inEventLoop) |
| throw H.wrapException(P.UnsupportedError$("Timer in event loop cannot be canceled.")); |
| if (this._handle == null) |
| return; |
| H.leaveJsAsync(); |
| if (this._once) |
| $.get$globalThis().clearTimeout(this._handle); |
| else |
| $.get$globalThis().clearInterval(this._handle); |
| this._handle = null; |
| } else |
| throw H.wrapException(P.UnsupportedError$("Canceling a timer.")); |
| }, |
| TimerImpl$2: function(milliseconds, callback) { |
| var t1, t2; |
| if (milliseconds === 0) |
| t1 = $.get$globalThis().setTimeout == null || init.globalState.isWorker === true; |
| else |
| t1 = false; |
| if (t1) { |
| this._handle = 1; |
| t1 = init.globalState.topEventLoop; |
| t2 = init.globalState.currentContext; |
| t1.events._add$1(0, new H._IsolateEvent(t2, new H.TimerImpl_internalCallback(this, callback), "timer")); |
| this._inEventLoop = true; |
| } else { |
| t1 = $.get$globalThis(); |
| if (t1.setTimeout != null) { |
| ++init.globalState.topEventLoop._activeJsAsyncCount; |
| this._handle = t1.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:18;this_0,callback_1", |
| call$0: [function() { |
| this.this_0._handle = null; |
| this.callback_1.call$0(); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| TimerImpl_internalCallback0: { |
| "^": "Closure:18;this_2,callback_3", |
| call$0: [function() { |
| this.this_2._handle = null; |
| H.leaveJsAsync(); |
| this.callback_3.call$0(); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| CapabilityImpl: { |
| "^": "Object;__isolate_helper$_id>", |
| get$hashCode: function(_) { |
| var hash, t1, t2; |
| hash = this.__isolate_helper$_id; |
| t1 = J.getInterceptor$n(hash); |
| t2 = t1.$shr(hash, 0); |
| t1 = t1.$tdiv(hash, 4294967296); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| hash = t2 ^ t1; |
| hash = (~hash >>> 0) + (hash << 15 >>> 0) & 4294967295; |
| hash = ((hash ^ hash >>> 12) >>> 0) * 5 & 4294967295; |
| hash = ((hash ^ hash >>> 4) >>> 0) * 2057 & 4294967295; |
| return (hash ^ hash >>> 16) >>> 0; |
| }, |
| $eq: function(_, other) { |
| var t1, t2; |
| if (other == null) |
| return false; |
| if (other === this) |
| return true; |
| if (!!J.getInterceptor(other).$isCapabilityImpl) { |
| t1 = this.__isolate_helper$_id; |
| t2 = other.__isolate_helper$_id; |
| return t1 == null ? t2 == null : t1 === t2; |
| } |
| return false; |
| }, |
| $isCapabilityImpl: true, |
| $isCapability: true |
| } |
| }], |
| ["_js_helper", "dart:_js_helper", , H, { |
| "^": "", |
| isJsIndexable: function(object, record) { |
| var result; |
| if (record != null) { |
| result = record.x; |
| if (result != null) |
| return result; |
| } |
| return !!J.getInterceptor(object).$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_objectHashCode: function(object) { |
| var hash = object.$identityHash; |
| if (hash == null) { |
| hash = Math.random() * 0x3fffffff | 0; |
| object.$identityHash = hash; |
| } |
| return hash; |
| }, |
| Primitives__throwFormatException: [function(string) { |
| throw H.wrapException(P.FormatException$(string)); |
| }, "call$1", "Primitives__throwFormatException$closure", 2, 0, 5], |
| Primitives_parseInt: function(source, radix, handleError) { |
| var match, t1, maxCharCode, digitsPart, i, t2; |
| if (handleError == null) |
| handleError = H.Primitives__throwFormatException$closure(); |
| if (typeof source !== "string") |
| H.throwExpression(P.ArgumentError$(source)); |
| match = /^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(source); |
| if (radix == null) { |
| if (match != null) { |
| t1 = match.length; |
| if (2 >= t1) |
| return H.ioore(match, 2); |
| if (match[2] != null) |
| return parseInt(source, 16); |
| if (3 >= t1) |
| return H.ioore(match, 3); |
| if (match[3] != null) |
| return parseInt(source, 10); |
| return handleError.call$1(source); |
| } |
| radix = 10; |
| } else { |
| if (radix < 2 || radix > 36) |
| throw H.wrapException(P.RangeError$("Radix " + H.S(radix) + " not in range 2..36")); |
| if (match != null) { |
| if (radix === 10) { |
| if (3 >= match.length) |
| return H.ioore(match, 3); |
| t1 = match[3] != null; |
| } else |
| t1 = false; |
| if (t1) |
| return parseInt(source, 10); |
| if (!(radix < 10)) { |
| if (3 >= match.length) |
| return H.ioore(match, 3); |
| t1 = match[3] == null; |
| } else |
| t1 = true; |
| if (t1) { |
| maxCharCode = radix <= 10 ? 48 + radix - 1 : 97 + radix - 10 - 1; |
| if (1 >= match.length) |
| return H.ioore(match, 1); |
| digitsPart = match[1]; |
| t1 = J.getInterceptor$asx(digitsPart); |
| i = 0; |
| while (true) { |
| t2 = t1.get$length(digitsPart); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| if (!(i < t2)) |
| break; |
| t1.codeUnitAt$1(digitsPart, 0); |
| if (t1.codeUnitAt$1(digitsPart, i) > maxCharCode) |
| return handleError.call$1(source); |
| ++i; |
| } |
| } |
| } |
| } |
| if (match == null) |
| return handleError.call$1(source); |
| return parseInt(source, radix); |
| }, |
| Primitives_parseDouble: function(source, handleError) { |
| var result, trimmed; |
| if (typeof source !== "string") |
| H.throwExpression(P.ArgumentError$(source)); |
| if (handleError == null) |
| handleError = H.Primitives__throwFormatException$closure(); |
| if (!/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(source)) |
| return handleError.call$1(source); |
| result = parseFloat(source); |
| if (isNaN(result)) { |
| trimmed = J.trim$0$s(source); |
| if (trimmed === "NaN" || trimmed === "+NaN" || trimmed === "-NaN") |
| return result; |
| return handleError.call$1(source); |
| } |
| return result; |
| }, |
| Primitives_objectTypeName: function(object) { |
| var $name, decompiled; |
| $name = C.JS_CONST_8ZY(J.getInterceptor(object)); |
| if ($name === "Object") { |
| decompiled = String(object.constructor).match(/^\s*function\s*(\S*)\s*\(/)[1]; |
| if (typeof decompiled === "string") |
| $name = /^\w+$/.test(decompiled) ? decompiled : $name; |
| } |
| if ($name.length > 1 && C.JSString_methods.codeUnitAt$1($name, 0) === 36) |
| $name = C.JSString_methods.substring$1($name, 1); |
| return ($name + H.joinArguments(H.getRuntimeTypeInfo(object), 0, null)).replace(/[^<,> ]+/g, function(m) { |
| return init.mangledGlobalNames[m] || m; |
| }); |
| }, |
| Primitives_objectToString: function(object) { |
| return "Instance of '" + H.Primitives_objectTypeName(object) + "'"; |
| }, |
| Primitives_numMicroseconds: function() { |
| if (typeof window != "undefined" && window !== null) { |
| var performance = window.performance; |
| if (performance != null && typeof performance.webkitNow == "function") |
| return C.JSNumber_methods.toInt$0(Math.floor(1000 * performance.webkitNow())); |
| } |
| return 1000 * Date.now(); |
| }, |
| 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 = [P.$int]; |
| t1 = new H.ListIterator(codePoints, codePoints.length, 0, null); |
| t1.$builtinTypeInfo = [H.getTypeArgumentByIndex(codePoints, 0)]; |
| for (; t1.moveNext$0();) { |
| i = t1._current; |
| if (typeof i !== "number" || Math.floor(i) !== i) |
| throw H.wrapException(P.ArgumentError$(i)); |
| if (i <= 65535) |
| a.push(i); |
| else if (i <= 1114111) { |
| a.push(55296 + (C.JSInt_methods._shrOtherPositive$1(i - 65536, 10) & 1023)); |
| a.push(56320 + (i & 1023)); |
| } else |
| throw H.wrapException(P.ArgumentError$(i)); |
| } |
| return H.Primitives__fromCharCodeApply(a); |
| }, |
| Primitives_stringFromCharCodes: function(charCodes) { |
| var t1, i; |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(charCodes, charCodes.length, 0, null), [H.getTypeArgumentByIndex(charCodes, 0)]); t1.moveNext$0();) { |
| i = t1._current; |
| if (typeof i !== "number" || Math.floor(i) !== i) |
| throw H.wrapException(P.ArgumentError$(i)); |
| if (i < 0) |
| throw H.wrapException(P.ArgumentError$(i)); |
| if (i > 65535) |
| return H.Primitives_stringFromCodePoints(charCodes); |
| } |
| return H.Primitives__fromCharCodeApply(charCodes); |
| }, |
| Primitives_stringFromCharCode: function(charCode) { |
| var bits; |
| if (typeof charCode !== "number") |
| return H.iae(charCode); |
| if (0 <= charCode) { |
| if (charCode <= 65535) |
| return String.fromCharCode(charCode); |
| if (charCode <= 1114111) { |
| bits = charCode - 65536; |
| return String.fromCharCode((55296 | C.JSNumber_methods._shrOtherPositive$1(bits, 10)) >>> 0, (56320 | bits & 1023) >>> 0); |
| } |
| } |
| throw H.wrapException(P.RangeError$range(charCode, 0, 1114111)); |
| }, |
| Primitives_valueFromDecomposedDate: function(years, month, day, hours, minutes, seconds, milliseconds, isUtc) { |
| var jsMonth, value, t1, date; |
| if (typeof years !== "number" || Math.floor(years) !== years) |
| H.throwExpression(P.ArgumentError$(years)); |
| if (typeof month !== "number" || Math.floor(month) !== month) |
| H.throwExpression(P.ArgumentError$(month)); |
| if (typeof day !== "number" || Math.floor(day) !== day) |
| H.throwExpression(P.ArgumentError$(day)); |
| if (typeof hours !== "number" || Math.floor(hours) !== hours) |
| H.throwExpression(P.ArgumentError$(hours)); |
| if (typeof minutes !== "number" || Math.floor(minutes) !== minutes) |
| H.throwExpression(P.ArgumentError$(minutes)); |
| if (typeof seconds !== "number" || Math.floor(seconds) !== seconds) |
| H.throwExpression(P.ArgumentError$(seconds)); |
| jsMonth = J.$sub$n(month, 1); |
| value = isUtc ? Date.UTC(years, jsMonth, day, hours, minutes, seconds, milliseconds) : new Date(years, jsMonth, day, hours, minutes, seconds, milliseconds).valueOf(); |
| if (isNaN(value) || value < -8640000000000000 || value > 8640000000000000) |
| throw H.wrapException(P.ArgumentError$(null)); |
| t1 = J.getInterceptor$n(years); |
| if (t1.$le(years, 0) || t1.$lt(years, 100)) { |
| date = new Date(value); |
| if (isUtc) |
| date.setUTCFullYear(years); |
| else |
| date.setFullYear(years); |
| return date.valueOf(); |
| } |
| return value; |
| }, |
| Primitives_lazyAsJsDate: function(receiver) { |
| if (receiver.date === void 0) |
| receiver.date = new Date(receiver.millisecondsSinceEpoch); |
| return receiver.date; |
| }, |
| Primitives_getProperty: function(object, key) { |
| if (object == null || typeof object === "boolean" || typeof object === "number" || typeof object === "string") |
| throw H.wrapException(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(P.ArgumentError$(object)); |
| object[key] = value; |
| }, |
| Primitives_functionNoSuchMethod: function($function, positionalArguments, namedArguments) { |
| var t1, $arguments, namedArgumentList; |
| t1 = {}; |
| t1.argumentCount_0 = 0; |
| $arguments = []; |
| namedArgumentList = []; |
| if (positionalArguments != null) { |
| t1.argumentCount_0 = positionalArguments.length; |
| C.JSArray_methods.addAll$1($arguments, positionalArguments); |
| } |
| t1.names_1 = ""; |
| if (namedArguments != null && !namedArguments.get$isEmpty(namedArguments)) |
| namedArguments.forEach$1(0, new H.Primitives_functionNoSuchMethod_closure(t1, $arguments, namedArgumentList)); |
| return J.noSuchMethod$1($function, new H.JSInvocationMirror(C.Symbol_call, "call$" + t1.argumentCount_0 + t1.names_1, 0, $arguments, namedArgumentList, null)); |
| }, |
| Primitives_applyFunction: function($function, positionalArguments, namedArguments) { |
| var t1, jsFunction, info, t2, defaultArguments, t3, i, index, $arguments, argumentCount; |
| t1 = {}; |
| if (namedArguments != null && !namedArguments.get$isEmpty(namedArguments)) { |
| jsFunction = J.getInterceptor($function)["call*"]; |
| if (jsFunction == null) |
| return H.Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments); |
| info = H.ReflectionInfo_ReflectionInfo(jsFunction); |
| if (info == null || !info.areOptionalParametersNamed) |
| return H.Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments); |
| positionalArguments = positionalArguments != null ? P.List_List$from(positionalArguments, true, null) : []; |
| t2 = info.requiredParameterCount; |
| if (t2 !== positionalArguments.length) |
| return H.Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments); |
| defaultArguments = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null); |
| for (t3 = info.optionalParameterCount, i = 0; i < t3; ++i) { |
| index = i + t2; |
| defaultArguments.$indexSet(0, info.parameterNameInOrder$1(index), init.metadata[info.defaultValueInOrder$1(index)]); |
| } |
| t1.bad_0 = false; |
| namedArguments.forEach$1(0, new H.Primitives_applyFunction_closure(t1, defaultArguments)); |
| if (t1.bad_0) |
| return H.Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments); |
| C.JSArray_methods.addAll$1(positionalArguments, defaultArguments.get$values(defaultArguments)); |
| return jsFunction.apply($function, positionalArguments); |
| } |
| $arguments = []; |
| if (positionalArguments != null) { |
| argumentCount = positionalArguments.length; |
| C.JSArray_methods.addAll$1($arguments, positionalArguments); |
| } else |
| argumentCount = 0; |
| jsFunction = $function["call$" + argumentCount]; |
| if (jsFunction == null) |
| return H.Primitives_functionNoSuchMethod($function, positionalArguments, namedArguments); |
| return jsFunction.apply($function, $arguments); |
| }, |
| iae: function(argument) { |
| throw H.wrapException(P.ArgumentError$(argument)); |
| }, |
| ioore: function(receiver, index) { |
| if (receiver == null) |
| J.get$length$asx(receiver); |
| if (typeof index !== "number" || Math.floor(index) !== index) |
| H.iae(index); |
| throw H.wrapException(P.RangeError$value(index)); |
| }, |
| wrapException: function(ex) { |
| var wrapper; |
| if (ex == null) |
| ex = new P.NullThrownError(); |
| wrapper = new Error(); |
| wrapper.dartException = ex; |
| if ("defineProperty" in Object) { |
| Object.defineProperty(wrapper, "message", {get: H.toStringWrapper}); |
| wrapper.name = ""; |
| } else |
| wrapper.toString = H.toStringWrapper; |
| return wrapper; |
| }, |
| toStringWrapper: [function() { |
| return J.toString$0(this.dartException); |
| }, "call$0", "toStringWrapper$closure", 0, 0, null], |
| 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._shrOtherPositive$1(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)); |
| } |
| } |
| 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(0, 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")); |
| }, "call$7", "invokeClosure$closure", 14, 0, null, 6, 7, 8, 9, 10, 11, 12], |
| 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, init.globalState.currentContext, H.invokeClosure); |
| closure.$identity = $function; |
| return $function; |
| }, |
| Closure_fromTearOff: function(receiver, functions, reflectionInfo, isStatic, jsArguments, propertyName) { |
| var $function, callName, functionType, $prototype, $constructor, t1, isIntercepted, trampoline, signatureFunction, getReceiver, i, stub, stubCallName, t2; |
| $function = functions[0]; |
| $function.$stubName; |
| callName = $function.$callName; |
| $function.$reflectionInfo = reflectionInfo; |
| functionType = H.ReflectionInfo_ReflectionInfo($function).functionType; |
| $prototype = isStatic ? Object.create(new H.TearOffClosure().constructor.prototype) : Object.create(new H.BoundClosure(null, null, null, null).constructor.prototype); |
| $prototype.$initialize = $prototype.constructor; |
| if (isStatic) |
| $constructor = function() { |
| this.$initialize(); |
| }; |
| else if (typeof dart_precompiled == "function") { |
| t1 = function(a, b, c, d) { |
| this.$initialize(a, b, c, d); |
| }; |
| $constructor = t1; |
| } else { |
| t1 = $.Closure_functionCounter; |
| $.Closure_functionCounter = J.$add$ns(t1, 1); |
| t1 = new Function("a", "b", "c", "d", "this.$initialize(a,b,c,d);" + t1); |
| $constructor = t1; |
| } |
| $prototype.constructor = $constructor; |
| $constructor.prototype = $prototype; |
| t1 = !isStatic; |
| if (t1) { |
| isIntercepted = jsArguments.length == 1 && true; |
| trampoline = H.Closure_forwardCallTo(receiver, $function, isIntercepted); |
| trampoline.$reflectionInfo = reflectionInfo; |
| } else { |
| $prototype.$name = propertyName; |
| trampoline = $function; |
| isIntercepted = false; |
| } |
| if (typeof functionType == "number") |
| signatureFunction = function(s) { |
| return function() { |
| return init.metadata[s]; |
| }; |
| }(functionType); |
| else if (t1 && typeof functionType == "function") { |
| getReceiver = isIntercepted ? H.BoundClosure_receiverOf : H.BoundClosure_selfOf; |
| signatureFunction = function(f, r) { |
| return function() { |
| return f.apply({$receiver: r(this)}, arguments); |
| }; |
| }(functionType, getReceiver); |
| } else |
| throw H.wrapException("Error in reflectionInfo."); |
| $prototype.$signature = signatureFunction; |
| $prototype[callName] = trampoline; |
| for (t1 = functions.length, i = 1; i < t1; ++i) { |
| stub = functions[i]; |
| stubCallName = stub.$callName; |
| if (stubCallName != null) { |
| t2 = isStatic ? stub : H.Closure_forwardCallTo(receiver, stub, isIntercepted); |
| $prototype[stubCallName] = t2; |
| } |
| } |
| $prototype["call*"] = trampoline; |
| return $constructor; |
| }, |
| Closure_cspForwardCall: function(arity, isSuperCall, stubName, $function) { |
| var getSelf = H.BoundClosure_selfOf; |
| switch (isSuperCall ? -1 : arity) { |
| case 0: |
| return function(n, S) { |
| return function() { |
| return S(this)[n](); |
| }; |
| }(stubName, getSelf); |
| case 1: |
| return function(n, S) { |
| return function(a) { |
| return S(this)[n](a); |
| }; |
| }(stubName, getSelf); |
| case 2: |
| return function(n, S) { |
| return function(a, b) { |
| return S(this)[n](a, b); |
| }; |
| }(stubName, getSelf); |
| case 3: |
| return function(n, S) { |
| return function(a, b, c) { |
| return S(this)[n](a, b, c); |
| }; |
| }(stubName, getSelf); |
| case 4: |
| return function(n, S) { |
| return function(a, b, c, d) { |
| return S(this)[n](a, b, c, d); |
| }; |
| }(stubName, getSelf); |
| case 5: |
| return function(n, S) { |
| return function(a, b, c, d, e) { |
| return S(this)[n](a, b, c, d, e); |
| }; |
| }(stubName, getSelf); |
| default: |
| return function(f, s) { |
| return function() { |
| return f.apply(s(this), arguments); |
| }; |
| }($function, getSelf); |
| } |
| }, |
| Closure_forwardCallTo: function(receiver, $function, isIntercepted) { |
| var stubName, arity, lookedUpFunction, t1, t2, $arguments; |
| if (isIntercepted) |
| return H.Closure_forwardInterceptedCallTo(receiver, $function); |
| stubName = $function.$stubName; |
| arity = $function.length; |
| lookedUpFunction = receiver[stubName]; |
| t1 = $function == null ? lookedUpFunction == null : $function === lookedUpFunction; |
| if (typeof dart_precompiled == "function" || !t1 || arity >= 27) |
| return H.Closure_cspForwardCall(arity, !t1, stubName, $function); |
| if (arity === 0) { |
| t1 = $.BoundClosure_selfFieldNameCache; |
| if (t1 == null) { |
| t1 = H.BoundClosure_computeFieldNamed("self"); |
| $.BoundClosure_selfFieldNameCache = t1; |
| } |
| t1 = "return function(){return this." + H.S(t1) + "." + H.S(stubName) + "();"; |
| t2 = $.Closure_functionCounter; |
| $.Closure_functionCounter = J.$add$ns(t2, 1); |
| return new Function(t1 + H.S(t2) + "}")(); |
| } |
| $arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity).join(","); |
| t1 = "return function(" + $arguments + "){return this."; |
| t2 = $.BoundClosure_selfFieldNameCache; |
| if (t2 == null) { |
| t2 = H.BoundClosure_computeFieldNamed("self"); |
| $.BoundClosure_selfFieldNameCache = t2; |
| } |
| t2 = t1 + H.S(t2) + "." + H.S(stubName) + "(" + $arguments + ");"; |
| t1 = $.Closure_functionCounter; |
| $.Closure_functionCounter = J.$add$ns(t1, 1); |
| return new Function(t2 + H.S(t1) + "}")(); |
| }, |
| Closure_cspForwardInterceptedCall: function(arity, isSuperCall, $name, $function) { |
| var getSelf, getReceiver; |
| getSelf = H.BoundClosure_selfOf; |
| getReceiver = H.BoundClosure_receiverOf; |
| switch (isSuperCall ? -1 : arity) { |
| case 0: |
| throw H.wrapException(H.RuntimeError$("Intercepted function with no arguments.")); |
| case 1: |
| return function(n, s, r) { |
| return function() { |
| return s(this)[n](r(this)); |
| }; |
| }($name, getSelf, getReceiver); |
| case 2: |
| return function(n, s, r) { |
| return function(a) { |
| return s(this)[n](r(this), a); |
| }; |
| }($name, getSelf, getReceiver); |
| case 3: |
| return function(n, s, r) { |
| return function(a, b) { |
| return s(this)[n](r(this), a, b); |
| }; |
| }($name, getSelf, getReceiver); |
| case 4: |
| return function(n, s, r) { |
| return function(a, b, c) { |
| return s(this)[n](r(this), a, b, c); |
| }; |
| }($name, getSelf, getReceiver); |
| case 5: |
| return function(n, s, r) { |
| return function(a, b, c, d) { |
| return s(this)[n](r(this), a, b, c, d); |
| }; |
| }($name, getSelf, getReceiver); |
| case 6: |
| return function(n, s, r) { |
| return function(a, b, c, d, e) { |
| return s(this)[n](r(this), a, b, c, d, e); |
| }; |
| }($name, getSelf, getReceiver); |
| default: |
| return function(f, s, r, a) { |
| return function() { |
| a = [r(this)]; |
| Array.prototype.push.apply(a, arguments); |
| return f.apply(s(this), a); |
| }; |
| }($function, getSelf, getReceiver); |
| } |
| }, |
| Closure_forwardInterceptedCallTo: function(receiver, $function) { |
| var selfField, t1, stubName, arity, isCsp, lookedUpFunction, t2, $arguments; |
| selfField = H.BoundClosure_selfFieldName(); |
| t1 = $.BoundClosure_receiverFieldNameCache; |
| if (t1 == null) { |
| t1 = H.BoundClosure_computeFieldNamed("receiver"); |
| $.BoundClosure_receiverFieldNameCache = t1; |
| } |
| stubName = $function.$stubName; |
| arity = $function.length; |
| isCsp = typeof dart_precompiled == "function"; |
| lookedUpFunction = receiver[stubName]; |
| t2 = $function == null ? lookedUpFunction == null : $function === lookedUpFunction; |
| if (isCsp || !t2 || arity >= 28) |
| return H.Closure_cspForwardInterceptedCall(arity, !t2, stubName, $function); |
| if (arity === 1) { |
| t1 = "return function(){return this." + H.S(selfField) + "." + H.S(stubName) + "(this." + H.S(t1) + ");"; |
| t2 = $.Closure_functionCounter; |
| $.Closure_functionCounter = J.$add$ns(t2, 1); |
| return new Function(t1 + H.S(t2) + "}")(); |
| } |
| $arguments = "abcdefghijklmnopqrstuvwxyz".split("").splice(0, arity - 1).join(","); |
| t1 = "return function(" + $arguments + "){return this." + H.S(selfField) + "." + H.S(stubName) + "(this." + H.S(t1) + ", " + $arguments + ");"; |
| t2 = $.Closure_functionCounter; |
| $.Closure_functionCounter = J.$add$ns(t2, 1); |
| return new Function(t1 + H.S(t2) + "}")(); |
| }, |
| closureFromTearOff: function(receiver, functions, reflectionInfo, isStatic, jsArguments, $name) { |
| functions.fixed$length = init; |
| reflectionInfo.fixed$length = init; |
| return H.Closure_fromTearOff(receiver, functions, reflectionInfo, !!isStatic, jsArguments, $name); |
| }, |
| propertyTypeCastError: function(value, property) { |
| var t1 = J.getInterceptor$asx(property); |
| throw H.wrapException(H.CastErrorImplementation$(H.Primitives_objectTypeName(value), t1.substring$2(property, 3, t1.get$length(property)))); |
| }, |
| interceptedTypeCast: function(value, property) { |
| var t1; |
| if (value != null) |
| t1 = typeof value === "object" && J.getInterceptor(value)[property]; |
| else |
| t1 = true; |
| if (t1) |
| return value; |
| H.propertyTypeCastError(value, property); |
| }, |
| throwCyclicInit: function(staticName) { |
| throw H.wrapException(P.CyclicInitializationError$("Cyclic initialization for static " + H.S(staticName))); |
| }, |
| buildFunctionType: function(returnType, parameterTypes, optionalParameterTypes) { |
| return new H.RuntimeFunctionType(returnType, parameterTypes, optionalParameterTypes, null); |
| }, |
| buildInterfaceType: function(rti, typeArguments) { |
| var $name = rti.name; |
| if (typeArguments == null || typeArguments.length === 0) |
| return new H.RuntimeTypePlain($name); |
| return new H.RuntimeTypeGeneric($name, typeArguments, null); |
| }, |
| getDynamicRuntimeType: function() { |
| return C.C_DynamicRuntimeType; |
| }, |
| createRuntimeType: function($name) { |
| return new H.TypeImpl($name, null); |
| }, |
| setRuntimeTypeInfo: function(target, typeInfo) { |
| if (target != null) |
| target.$builtinTypeInfo = typeInfo; |
| return target; |
| }, |
| getRuntimeTypeInfo: function(target) { |
| if (target == null) |
| return; |
| return target.$builtinTypeInfo; |
| }, |
| getRuntimeTypeArguments: function(target, substitutionName) { |
| return H.substitute(target["$as" + H.S(substitutionName)], H.getRuntimeTypeInfo(target)); |
| }, |
| getRuntimeTypeArgument: function(target, substitutionName, index) { |
| var $arguments = H.getRuntimeTypeArguments(target, substitutionName); |
| return $arguments == null ? null : $arguments[index]; |
| }, |
| getTypeArgumentByIndex: function(target, index) { |
| var rti = H.getRuntimeTypeInfo(target); |
| return rti == null ? null : rti[index]; |
| }, |
| runtimeTypeToString: function(type, onTypeVariable) { |
| if (type == null) |
| return "dynamic"; |
| else if (typeof type === "object" && type !== null && type.constructor === Array) |
| return type[0].builtin$cls + H.joinArguments(type, 1, 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 += ", "; |
| argument = types[index]; |
| if (argument != null) |
| allDynamic = false; |
| str = H.runtimeTypeToString(argument, onTypeVariable); |
| buffer._contents += typeof str === "string" ? str : H.S(str); |
| } |
| return allDynamic ? "" : "<" + H.S(buffer) + ">"; |
| }, |
| getRuntimeTypeString: function(object) { |
| var className = J.getInterceptor(object).constructor.builtin$cls; |
| if (object == null) |
| return className; |
| return className + H.joinArguments(object.$builtinTypeInfo, 0, null); |
| }, |
| 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; |
| }, |
| checkSubtype: function(object, isField, checks, asField) { |
| var $arguments, interceptor; |
| if (object == null) |
| return false; |
| $arguments = H.getRuntimeTypeInfo(object); |
| interceptor = J.getInterceptor(object); |
| if (interceptor[isField] == null) |
| return false; |
| return H.areSubtypes(H.substitute(interceptor[asField], $arguments), checks); |
| }, |
| areSubtypes: function(s, t) { |
| var len, i; |
| if (s == null || t == null) |
| return true; |
| len = s.length; |
| for (i = 0; i < len; ++i) |
| if (!H.isSubtype(s[i], t[i])) |
| return false; |
| return true; |
| }, |
| computeSignature: function(signature, context, contextName) { |
| return H.invokeOn(signature, context, H.getRuntimeTypeArguments(context, contextName)); |
| }, |
| checkSubtypeOfRuntimeType: function(o, t) { |
| var rti, type; |
| if (o == null) |
| return t == null || t.builtin$cls === "Object" || t.builtin$cls === "Null"; |
| if (t == null) |
| return true; |
| rti = H.getRuntimeTypeInfo(o); |
| o = J.getInterceptor(o); |
| if (rti != null) { |
| type = rti.slice(); |
| type.splice(0, 0, o); |
| } else |
| type = o; |
| return H.isSubtype(type, t); |
| }, |
| isSubtype: function(s, t) { |
| var targetSignatureFunction, t1, typeOfS, t2, typeOfT, $name, substitution; |
| if (s === t) |
| return true; |
| if (s == null || t == null) |
| return true; |
| if ("func" in t) { |
| if (!("func" in s)) { |
| if ("$is_" + H.S(t.func) in s) |
| return true; |
| targetSignatureFunction = s.$signature; |
| if (targetSignatureFunction == null) |
| return false; |
| s = targetSignatureFunction.apply(s, null); |
| } |
| return H.isFunctionSubtype(s, t); |
| } |
| if (t.builtin$cls === "Function" && "func" in s) |
| return true; |
| t1 = typeof s === "object" && s !== null && s.constructor === Array; |
| typeOfS = t1 ? s[0] : s; |
| t2 = typeof t === "object" && t !== null && t.constructor === Array; |
| typeOfT = t2 ? t[0] : t; |
| $name = H.runtimeTypeToString(typeOfT, null); |
| if (typeOfT !== typeOfS) { |
| if (!("$is" + H.S($name) in typeOfS)) |
| return false; |
| substitution = typeOfS["$as" + H.S(H.runtimeTypeToString(typeOfT, null))]; |
| } else |
| substitution = null; |
| if (!t1 && substitution == null || !t2) |
| return true; |
| t1 = t1 ? s.slice(1) : null; |
| t2 = t2 ? t.slice(1) : null; |
| return H.areSubtypes(H.substitute(substitution, t1), t2); |
| }, |
| areAssignable: function(s, t, allowShorter) { |
| var sLength, tLength, i, t1, t2; |
| if (t == null && s == null) |
| return true; |
| if (t == null) |
| return allowShorter; |
| if (s == null) |
| return false; |
| sLength = s.length; |
| tLength = t.length; |
| if (allowShorter) { |
| if (sLength < tLength) |
| return false; |
| } else if (sLength !== tLength) |
| return false; |
| for (i = 0; i < tLength; ++i) { |
| t1 = s[i]; |
| t2 = t[i]; |
| if (!(H.isSubtype(t1, t2) || H.isSubtype(t2, t1))) |
| return false; |
| } |
| return true; |
| }, |
| areAssignableMaps: function(s, t) { |
| var t1, names, i, $name, tType, sType; |
| if (t == null) |
| return true; |
| if (s == null) |
| return false; |
| t1 = Object.getOwnPropertyNames(t); |
| t1.fixed$length = init; |
| names = t1; |
| for (t1 = names.length, i = 0; i < t1; ++i) { |
| $name = names[i]; |
| if (!Object.hasOwnProperty.call(s, $name)) |
| return false; |
| tType = t[$name]; |
| sType = s[$name]; |
| if (!(H.isSubtype(tType, sType) || H.isSubtype(sType, tType))) |
| return false; |
| } |
| return true; |
| }, |
| isFunctionSubtype: function(s, t) { |
| var sReturnType, tReturnType, sParameterTypes, tParameterTypes, sOptionalParameterTypes, tOptionalParameterTypes, sParametersLen, tParametersLen, sOptionalParametersLen, tOptionalParametersLen, pos, t1, t2, tPos, sPos; |
| if (!("func" in s)) |
| return false; |
| if ("void" in s) { |
| if (!("void" in t) && "ret" in t) |
| return false; |
| } else if (!("void" in t)) { |
| sReturnType = s.ret; |
| tReturnType = t.ret; |
| if (!(H.isSubtype(sReturnType, tReturnType) || H.isSubtype(tReturnType, sReturnType))) |
| return false; |
| } |
| sParameterTypes = s.args; |
| tParameterTypes = t.args; |
| sOptionalParameterTypes = s.opt; |
| tOptionalParameterTypes = t.opt; |
| sParametersLen = sParameterTypes != null ? sParameterTypes.length : 0; |
| tParametersLen = tParameterTypes != null ? tParameterTypes.length : 0; |
| sOptionalParametersLen = sOptionalParameterTypes != null ? sOptionalParameterTypes.length : 0; |
| tOptionalParametersLen = tOptionalParameterTypes != null ? tOptionalParameterTypes.length : 0; |
| if (sParametersLen > tParametersLen) |
| return false; |
| if (sParametersLen + sOptionalParametersLen < tParametersLen + tOptionalParametersLen) |
| return false; |
| if (sParametersLen === tParametersLen) { |
| if (!H.areAssignable(sParameterTypes, tParameterTypes, false)) |
| return false; |
| if (!H.areAssignable(sOptionalParameterTypes, tOptionalParameterTypes, true)) |
| return false; |
| } else { |
| for (pos = 0; pos < sParametersLen; ++pos) { |
| t1 = sParameterTypes[pos]; |
| t2 = tParameterTypes[pos]; |
| if (!(H.isSubtype(t1, t2) || H.isSubtype(t2, t1))) |
| return false; |
| } |
| for (tPos = pos, sPos = 0; tPos < tParametersLen; ++sPos, ++tPos) { |
| t1 = sOptionalParameterTypes[sPos]; |
| t2 = tParameterTypes[tPos]; |
| if (!(H.isSubtype(t1, t2) || H.isSubtype(t2, t1))) |
| return false; |
| } |
| for (tPos = 0; tPos < tOptionalParametersLen; ++sPos, ++tPos) { |
| t1 = sOptionalParameterTypes[sPos]; |
| t2 = tOptionalParameterTypes[tPos]; |
| if (!(H.isSubtype(t1, t2) || H.isSubtype(t2, t1))) |
| return false; |
| } |
| } |
| return H.areAssignableMaps(s.named, t.named); |
| }, |
| 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, fun, 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; |
| fun = function() { |
| }; |
| 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}); |
| fun.prototype = proto; |
| } |
| } |
| } |
| } |
| 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_aQP(); |
| hooks = H.applyHooksTransformer(C.JS_CONST_0, H.applyHooksTransformer(C.JS_CONST_rr7, H.applyHooksTransformer(C.JS_CONST_Fs4, H.applyHooksTransformer(C.JS_CONST_Fs4, H.applyHooksTransformer(C.JS_CONST_gkc, H.applyHooksTransformer(C.JS_CONST_4hp, H.applyHooksTransformer(C.JS_CONST_QJm(C.JS_CONST_8ZY), 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; |
| }, |
| allMatchesInStringUnchecked: function(needle, haystack) { |
| var result, $length, patternLength, startIndex, position, endIndex; |
| result = H.setRuntimeTypeInfo([], [P.Match]); |
| $length = haystack.length; |
| patternLength = needle.length; |
| for (startIndex = 0; true;) { |
| position = C.JSString_methods.indexOf$2(haystack, needle, startIndex); |
| if (position === -1) |
| break; |
| result.push(new H.StringMatch(position, haystack, needle)); |
| endIndex = position + patternLength; |
| if (endIndex === $length) |
| break; |
| else |
| startIndex = position === endIndex ? startIndex + 1 : endIndex; |
| } |
| return result; |
| }, |
| stringContainsUnchecked: function(receiver, other, startIndex) { |
| var t1, t2; |
| if (typeof other === "string") |
| return C.JSString_methods.indexOf$2(receiver, other, startIndex) !== -1; |
| else { |
| t1 = J.getInterceptor(other); |
| if (!!t1.$isJSSyntaxRegExp) { |
| t1 = C.JSString_methods.substring$1(receiver, startIndex); |
| t2 = other._nativeRegExp; |
| return t2.test(t1); |
| } else |
| return J.get$isNotEmpty$asx(t1.allMatches$1(other, C.JSString_methods.substring$1(receiver, startIndex))); |
| } |
| }, |
| stringReplaceAllUnchecked: function(receiver, from, to) { |
| var result, $length, i, t1; |
| if (from === "") |
| if (receiver === "") |
| return to; |
| else { |
| result = P.StringBuffer$(""); |
| $length = receiver.length; |
| result.write$1(to); |
| for (i = 0; i < $length; ++i) { |
| t1 = receiver[i]; |
| t1 = result._contents += t1; |
| result._contents = t1 + to; |
| } |
| return result._contents; |
| } |
| else |
| return receiver.replace(new RegExp(from.replace(new RegExp("[[\\]{}()*+?.\\\\^$|]", 'g'), "\\$&"), 'g'), to.replace(/\$/g, "$$$$")); |
| }, |
| ConstantMap: { |
| "^": "Object;", |
| get$isEmpty: function(_) { |
| return J.$eq(this.get$length(this), 0); |
| }, |
| get$isNotEmpty: function(_) { |
| return !J.$eq(this.get$length(this), 0); |
| }, |
| toString$0: function(_) { |
| return P.Maps_mapToString(this); |
| }, |
| _throwUnmodifiable$0: function() { |
| throw H.wrapException(P.UnsupportedError$("Cannot modify unmodifiable Map")); |
| }, |
| $indexSet: function(_, key, val) { |
| return this._throwUnmodifiable$0(); |
| }, |
| clear$0: function(_) { |
| return this._throwUnmodifiable$0(); |
| }, |
| addAll$1: function(_, other) { |
| return this._throwUnmodifiable$0(); |
| }, |
| $isMap: true |
| }, |
| ConstantStringMap: { |
| "^": "ConstantMap;length>,_jsObject,_keys", |
| containsKey$1: function(key) { |
| if (typeof key !== "string") |
| return false; |
| if ("__proto__" === key) |
| return false; |
| return this._jsObject.hasOwnProperty(key); |
| }, |
| $index: function(_, key) { |
| if (!this.containsKey$1(key)) |
| return; |
| return this._fetch$1(key); |
| }, |
| _fetch$1: function(key) { |
| return this._jsObject[key]; |
| }, |
| forEach$1: function(_, f) { |
| var keys, i, key; |
| keys = this._keys; |
| for (i = 0; i < keys.length; ++i) { |
| key = keys[i]; |
| f.call$2(key, this._fetch$1(key)); |
| } |
| }, |
| get$keys: function() { |
| return H.setRuntimeTypeInfo(new H._ConstantMapKeyIterable(this), [H.getTypeArgumentByIndex(this, 0)]); |
| }, |
| get$values: function(_) { |
| return H.MappedIterable_MappedIterable(this._keys, new H.ConstantStringMap_values_closure(this), H.getTypeArgumentByIndex(this, 0), H.getTypeArgumentByIndex(this, 1)); |
| }, |
| $isEfficientLength: true |
| }, |
| ConstantStringMap_values_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(key) { |
| return this.this_0._fetch$1(key); |
| }, "call$1", null, 2, 0, null, 76, "call"], |
| $isFunction: true |
| }, |
| _ConstantMapKeyIterable: { |
| "^": "IterableBase;__js_helper$_map", |
| get$iterator: function(_) { |
| return J.get$iterator$ax(this.__js_helper$_map._keys); |
| } |
| }, |
| JSInvocationMirror: { |
| "^": "Object;__js_helper$_memberName,_internalName,_kind,_arguments,_namedArgumentNames,_namedIndices", |
| get$memberName: function() { |
| return this.__js_helper$_memberName; |
| }, |
| get$isMethod: function() { |
| return this._kind === 0; |
| }, |
| get$positionalArguments: function() { |
| var t1, argumentCount, list, index; |
| if (this._kind === 1) |
| return C.List_empty; |
| t1 = this._arguments; |
| argumentCount = t1.length - this._namedArgumentNames.length; |
| if (argumentCount === 0) |
| return C.List_empty; |
| list = []; |
| for (index = 0; index < argumentCount; ++index) { |
| if (index >= t1.length) |
| return H.ioore(t1, index); |
| list.push(t1[index]); |
| } |
| list.immutable$list = true; |
| list.fixed$length = true; |
| return list; |
| }, |
| get$namedArguments: function() { |
| var t1, namedArgumentCount, t2, namedArgumentsStartIndex, map, i, t3, t4; |
| if (this._kind !== 0) |
| return P.LinkedHashMap_LinkedHashMap$_empty(P.Symbol, null); |
| t1 = this._namedArgumentNames; |
| namedArgumentCount = t1.length; |
| t2 = this._arguments; |
| namedArgumentsStartIndex = t2.length - namedArgumentCount; |
| if (namedArgumentCount === 0) |
| return P.LinkedHashMap_LinkedHashMap$_empty(P.Symbol, null); |
| map = P.LinkedHashMap_LinkedHashMap(null, null, null, P.Symbol, null); |
| for (i = 0; i < namedArgumentCount; ++i) { |
| if (i >= t1.length) |
| return H.ioore(t1, i); |
| t3 = t1[i]; |
| t4 = namedArgumentsStartIndex + i; |
| if (t4 < 0 || t4 >= t2.length) |
| return H.ioore(t2, t4); |
| map.$indexSet(0, new H.Symbol0(t3), t2[t4]); |
| } |
| return map; |
| }, |
| static: {"^": "JSInvocationMirror_METHOD,JSInvocationMirror_GETTER,JSInvocationMirror_SETTER"} |
| }, |
| ReflectionInfo: { |
| "^": "Object;jsFunction,data>,isAccessor,requiredParameterCount,optionalParameterCount,areOptionalParametersNamed,functionType,cachedSortedIndices", |
| parameterName$1: function(parameter) { |
| var metadataIndex = this.data[parameter + this.optionalParameterCount + 3]; |
| return init.metadata[metadataIndex]; |
| }, |
| defaultValue$1: function(_, parameter) { |
| var t1 = this.requiredParameterCount; |
| if (typeof parameter !== "number") |
| return parameter.$lt(); |
| if (parameter < t1) |
| return; |
| return this.data[3 + parameter - t1]; |
| }, |
| defaultValueInOrder$1: function(parameter) { |
| var t1 = this.requiredParameterCount; |
| if (parameter < t1) |
| return; |
| if (!this.areOptionalParametersNamed || this.optionalParameterCount === 1) |
| return this.defaultValue$1(0, parameter); |
| return this.defaultValue$1(0, this.sortedIndex$1(parameter - t1)); |
| }, |
| parameterNameInOrder$1: function(parameter) { |
| var t1 = this.requiredParameterCount; |
| if (parameter < t1) |
| return; |
| if (!this.areOptionalParametersNamed || this.optionalParameterCount === 1) |
| return this.parameterName$1(parameter); |
| return this.parameterName$1(this.sortedIndex$1(parameter - t1)); |
| }, |
| sortedIndex$1: function(unsortedIndex) { |
| var t1, t2, positions, t3, i, index; |
| t1 = {}; |
| if (this.cachedSortedIndices == null) { |
| t2 = this.optionalParameterCount; |
| this.cachedSortedIndices = Array(t2); |
| positions = P.LinkedHashMap_LinkedHashMap$_empty(P.String, P.$int); |
| for (t3 = this.requiredParameterCount, i = 0; i < t2; ++i) { |
| index = t3 + i; |
| positions.$indexSet(0, this.parameterName$1(index), index); |
| } |
| t1.index_0 = 0; |
| t2 = positions.get$keys(); |
| t2 = P.List_List$from(t2, true, H.getRuntimeTypeArgument(t2, "IterableBase", 0)); |
| H.IterableMixinWorkaround_sortList(t2, null); |
| H.IterableMixinWorkaround_forEach(t2, new H.ReflectionInfo_sortedIndex_closure(t1, this, positions)); |
| } |
| t1 = this.cachedSortedIndices; |
| if (unsortedIndex < 0 || unsortedIndex >= t1.length) |
| return H.ioore(t1, unsortedIndex); |
| return t1[unsortedIndex]; |
| }, |
| static: {"^": "ReflectionInfo_REQUIRED_PARAMETERS_INFO,ReflectionInfo_OPTIONAL_PARAMETERS_INFO,ReflectionInfo_FUNCTION_TYPE_INDEX,ReflectionInfo_FIRST_DEFAULT_ARGUMENT", ReflectionInfo_ReflectionInfo: function(jsFunction) { |
| var data, requiredParametersInfo, optionalParametersInfo; |
| data = jsFunction.$reflectionInfo; |
| if (data == null) |
| return; |
| data.fixed$length = init; |
| data = data; |
| requiredParametersInfo = data[0]; |
| optionalParametersInfo = data[1]; |
| return new H.ReflectionInfo(jsFunction, data, (requiredParametersInfo & 1) === 1, requiredParametersInfo >> 1, optionalParametersInfo >> 1, (optionalParametersInfo & 1) === 1, data[2], null); |
| }} |
| }, |
| ReflectionInfo_sortedIndex_closure: { |
| "^": "Closure:5;box_0,this_1,positions_2", |
| call$1: function($name) { |
| var t1, t2, t3; |
| t1 = this.this_1.cachedSortedIndices; |
| t2 = this.box_0.index_0++; |
| t3 = this.positions_2.$index(0, $name); |
| if (t2 >= t1.length) |
| return H.ioore(t1, t2); |
| t1[t2] = t3; |
| }, |
| $isFunction: true |
| }, |
| Primitives_functionNoSuchMethod_closure: { |
| "^": "Closure:77;box_0,arguments_1,namedArgumentList_2", |
| call$2: function($name, argument) { |
| var t1 = this.box_0; |
| t1.names_1 = t1.names_1 + "$" + H.S($name); |
| this.namedArgumentList_2.push($name); |
| this.arguments_1.push(argument); |
| ++t1.argumentCount_0; |
| }, |
| $isFunction: true |
| }, |
| Primitives_applyFunction_closure: { |
| "^": "Closure:77;box_0,defaultArguments_1", |
| call$2: function(parameter, value) { |
| var t1 = this.defaultArguments_1; |
| if (t1.containsKey$1(parameter)) |
| t1.$indexSet(0, parameter, value); |
| else |
| this.box_0.bad_0 = true; |
| }, |
| $isFunction: true |
| }, |
| TypeErrorDecoder: { |
| "^": "Object;_pattern,_arguments,_argumentsExpr,_expr,_method,_receiver", |
| matchTypeError$1: function(message) { |
| var match, result, t1; |
| match = new RegExp(this._pattern).exec(message); |
| if (match == null) |
| return; |
| result = {}; |
| t1 = this._arguments; |
| if (t1 !== -1) |
| result.arguments = match[t1 + 1]; |
| t1 = this._argumentsExpr; |
| if (t1 !== -1) |
| result.argumentsExpr = match[t1 + 1]; |
| t1 = this._expr; |
| if (t1 !== -1) |
| result.expr = match[t1 + 1]; |
| t1 = this._method; |
| if (t1 !== -1) |
| result.method = match[t1 + 1]; |
| t1 = this._receiver; |
| if (t1 !== -1) |
| result.receiver = match[t1 + 1]; |
| return result; |
| }, |
| static: {"^": "TypeErrorDecoder_noSuchMethodPattern,TypeErrorDecoder_notClosurePattern,TypeErrorDecoder_nullCallPattern,TypeErrorDecoder_nullLiteralCallPattern,TypeErrorDecoder_undefinedCallPattern,TypeErrorDecoder_undefinedLiteralCallPattern,TypeErrorDecoder_nullPropertyPattern,TypeErrorDecoder_nullLiteralPropertyPattern,TypeErrorDecoder_undefinedPropertyPattern,TypeErrorDecoder_undefinedLiteralPropertyPattern", TypeErrorDecoder_extractPattern: function(message) { |
| var match, $arguments, argumentsExpr, expr, method, receiver; |
| message = message.replace(String({}), '$receiver$').replace(new RegExp("[[\\]{}()*+?.\\\\^$|]", 'g'), '\\$&'); |
| match = message.match(/\\\$[a-zA-Z]+\\\$/g); |
| if (match == null) |
| match = []; |
| $arguments = match.indexOf("\\$arguments\\$"); |
| argumentsExpr = match.indexOf("\\$argumentsExpr\\$"); |
| expr = match.indexOf("\\$expr\\$"); |
| method = match.indexOf("\\$method\\$"); |
| receiver = match.indexOf("\\$receiver\\$"); |
| return new H.TypeErrorDecoder(message.replace('\\$arguments\\$', '((?:x|[^x])*)').replace('\\$argumentsExpr\\$', '((?:x|[^x])*)').replace('\\$expr\\$', '((?:x|[^x])*)').replace('\\$method\\$', '((?:x|[^x])*)').replace('\\$receiver\\$', '((?:x|[^x])*)'), $arguments, argumentsExpr, expr, method, receiver); |
| }, TypeErrorDecoder_provokeCallErrorOn: function(expression) { |
| return function($expr$) { |
| var $argumentsExpr$ = '$arguments$'; |
| try { |
| $expr$.$method$($argumentsExpr$); |
| } catch (e) { |
| return e.message; |
| } |
| |
| }(expression); |
| }, TypeErrorDecoder_provokePropertyErrorOn: function(expression) { |
| return function($expr$) { |
| try { |
| $expr$.$method$; |
| } catch (e) { |
| return e.message; |
| } |
| |
| }(expression); |
| }} |
| }, |
| 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"; |
| }, |
| $isNoSuchMethodError: true, |
| $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 \"" + H.S(t1) + "\" (" + H.S(this._message) + ")"; |
| return "NoSuchMethodError: Cannot call \"" + H.S(t1) + "\" on \"" + H.S(t2) + "\" (" + H.S(this._message) + ")"; |
| }, |
| $isNoSuchMethodError: true, |
| $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:13;ex_0", |
| call$1: function(error) { |
| if (!!J.getInterceptor(error).$isError) |
| if (error.$thrownJsError == null) |
| error.$thrownJsError = this.ex_0; |
| return error; |
| }, |
| $isFunction: 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:69;closure_0", |
| call$0: function() { |
| return this.closure_0.call$0(); |
| }, |
| $isFunction: true |
| }, |
| invokeClosure_closure0: { |
| "^": "Closure:69;closure_1,arg1_2", |
| call$0: function() { |
| return this.closure_1.call$1(this.arg1_2); |
| }, |
| $isFunction: true |
| }, |
| invokeClosure_closure1: { |
| "^": "Closure:69;closure_3,arg1_4,arg2_5", |
| call$0: function() { |
| return this.closure_3.call$2(this.arg1_4, this.arg2_5); |
| }, |
| $isFunction: true |
| }, |
| invokeClosure_closure2: { |
| "^": "Closure:69;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); |
| }, |
| $isFunction: true |
| }, |
| invokeClosure_closure3: { |
| "^": "Closure:69;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); |
| }, |
| $isFunction: true |
| }, |
| Closure: { |
| "^": "Object;", |
| toString$0: function(_) { |
| return "Closure"; |
| }, |
| $isFunction: true, |
| get$$call: function() { |
| return this; |
| } |
| }, |
| TearOffClosure: { |
| "^": "Closure;" |
| }, |
| BoundClosure: { |
| "^": "TearOffClosure;_self,_target,_receiver,__js_helper$_name", |
| $eq: function(_, other) { |
| if (other == null) |
| return false; |
| if (this === other) |
| return true; |
| if (!J.getInterceptor(other).$isBoundClosure) |
| return false; |
| return this._self === other._self && this._target === other._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 J.$xor$n(receiverHashCode, H.Primitives_objectHashCode(this._target)); |
| }, |
| $isBoundClosure: true, |
| static: {"^": "BoundClosure_selfFieldNameCache,BoundClosure_receiverFieldNameCache", BoundClosure_selfOf: function(closure) { |
| return closure._self; |
| }, BoundClosure_receiverOf: function(closure) { |
| return closure._receiver; |
| }, BoundClosure_selfFieldName: function() { |
| var t1 = $.BoundClosure_selfFieldNameCache; |
| if (t1 == null) { |
| t1 = H.BoundClosure_computeFieldNamed("self"); |
| $.BoundClosure_selfFieldNameCache = t1; |
| } |
| return t1; |
| }, BoundClosure_computeFieldNamed: function(fieldName) { |
| var template, t1, names, i, $name; |
| template = new H.BoundClosure("self", "target", "receiver", "name"); |
| t1 = Object.getOwnPropertyNames(template); |
| t1.fixed$length = init; |
| names = t1; |
| for (t1 = names.length, i = 0; i < t1; ++i) { |
| $name = names[i]; |
| if (template[$name] === fieldName) |
| return $name; |
| } |
| }} |
| }, |
| CastErrorImplementation: { |
| "^": "Error;message>", |
| toString$0: function(_) { |
| return this.message; |
| }, |
| $isError: true, |
| static: {CastErrorImplementation$: function(actualType, expectedType) { |
| return new H.CastErrorImplementation("CastError: Casting value of type " + H.S(actualType) + " to incompatible type " + H.S(expectedType)); |
| }} |
| }, |
| RuntimeError: { |
| "^": "Error;message>", |
| toString$0: function(_) { |
| return "RuntimeError: " + H.S(this.message); |
| }, |
| static: {RuntimeError$: function(message) { |
| return new H.RuntimeError(message); |
| }} |
| }, |
| RuntimeType: { |
| "^": "Object;" |
| }, |
| RuntimeFunctionType: { |
| "^": "RuntimeType;returnType,parameterTypes,optionalParameterTypes,namedParameters", |
| _isTest$1: function(expression) { |
| var functionTypeObject = this._extractFunctionTypeObjectFrom$1(expression); |
| return functionTypeObject == null ? false : H.isFunctionSubtype(functionTypeObject, this.toRti$0()); |
| }, |
| _extractFunctionTypeObjectFrom$1: function(o) { |
| var interceptor = J.getInterceptor(o); |
| return "$signature" in interceptor ? interceptor.$signature() : null; |
| }, |
| toRti$0: function() { |
| var result, t1, t2, namedRti, keys, i, $name; |
| result = {func: "dynafunc"}; |
| t1 = this.returnType; |
| t2 = J.getInterceptor(t1); |
| if (!!t2.$isVoidRuntimeType) |
| result.void = true; |
| else if (!t2.$isDynamicRuntimeType) |
| result.ret = t1.toRti$0(); |
| t1 = this.parameterTypes; |
| if (t1 != null && t1.length !== 0) |
| result.args = H.RuntimeFunctionType_listToRti(t1); |
| t1 = this.optionalParameterTypes; |
| if (t1 != null && t1.length !== 0) |
| result.opt = H.RuntimeFunctionType_listToRti(t1); |
| t1 = this.namedParameters; |
| if (t1 != null) { |
| namedRti = {}; |
| keys = H.extractKeys(t1); |
| for (t2 = keys.length, i = 0; i < t2; ++i) { |
| $name = keys[i]; |
| namedRti[$name] = t1[$name].toRti$0(); |
| } |
| result.named = namedRti; |
| } |
| return result; |
| }, |
| toString$0: function(_) { |
| var t1, t2, result, needsComma, i, type, keys, $name; |
| t1 = this.parameterTypes; |
| if (t1 != null) |
| for (t2 = t1.length, result = "(", needsComma = false, i = 0; i < t2; ++i, needsComma = true) { |
| type = t1[i]; |
| if (needsComma) |
| result += ", "; |
| result += H.S(type); |
| } |
| else { |
| result = "("; |
| needsComma = false; |
| } |
| t1 = this.optionalParameterTypes; |
| if (t1 != null && t1.length !== 0) { |
| result = (needsComma ? result + ", " : result) + "["; |
| for (t2 = t1.length, needsComma = false, i = 0; i < t2; ++i, needsComma = true) { |
| type = t1[i]; |
| if (needsComma) |
| result += ", "; |
| result += H.S(type); |
| } |
| result += "]"; |
| } else { |
| t1 = this.namedParameters; |
| if (t1 != null) { |
| result = (needsComma ? result + ", " : result) + "{"; |
| keys = H.extractKeys(t1); |
| for (t2 = keys.length, needsComma = false, i = 0; i < t2; ++i, needsComma = true) { |
| $name = keys[i]; |
| if (needsComma) |
| result += ", "; |
| result += H.S(t1[$name].toRti$0()) + " " + $name; |
| } |
| result += "}"; |
| } |
| } |
| return result + (") -> " + H.S(this.returnType)); |
| }, |
| static: {"^": "RuntimeFunctionType_inAssert", RuntimeFunctionType_listToRti: function(list) { |
| var result, t1, i; |
| list = list; |
| result = []; |
| for (t1 = list.length, i = 0; i < t1; ++i) |
| result.push(list[i].toRti$0()); |
| return result; |
| }} |
| }, |
| DynamicRuntimeType: { |
| "^": "RuntimeType;", |
| toString$0: function(_) { |
| return "dynamic"; |
| }, |
| toRti$0: function() { |
| return; |
| }, |
| $isDynamicRuntimeType: true |
| }, |
| RuntimeTypePlain: { |
| "^": "RuntimeType;name>", |
| toRti$0: function() { |
| var t1, rti; |
| t1 = this.name; |
| rti = init.allClasses[t1]; |
| if (rti == null) |
| throw H.wrapException("no type for '" + H.S(t1) + "'"); |
| return rti; |
| }, |
| toString$0: function(_) { |
| return this.name; |
| } |
| }, |
| RuntimeTypeGeneric: { |
| "^": "RuntimeType;name>,arguments,rti", |
| toRti$0: function() { |
| var t1, result; |
| t1 = this.rti; |
| if (t1 != null) |
| return t1; |
| t1 = this.name; |
| result = [init.allClasses[t1]]; |
| if (0 >= result.length) |
| return H.ioore(result, 0); |
| if (result[0] == null) |
| throw H.wrapException("no type for '" + H.S(t1) + "<...>'"); |
| for (t1 = this.arguments, t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) |
| result.push(t1._current.toRti$0()); |
| this.rti = result; |
| return result; |
| }, |
| toString$0: function(_) { |
| return H.S(this.name) + "<" + J.join$1$ax(this.arguments, ", ") + ">"; |
| } |
| }, |
| TypeImpl: { |
| "^": "Object;_typeName,_unmangledName", |
| toString$0: function(_) { |
| var t1, unmangledName; |
| t1 = this._unmangledName; |
| if (t1 != null) |
| return t1; |
| unmangledName = this._typeName.replace(/[^<,> ]+/g, function(m) { |
| return init.mangledGlobalNames[m] || m; |
| }); |
| this._unmangledName = unmangledName; |
| return unmangledName; |
| }, |
| get$hashCode: function(_) { |
| return J.get$hashCode$(this._typeName); |
| }, |
| $eq: function(_, other) { |
| if (other == null) |
| return false; |
| return !!J.getInterceptor(other).$isTypeImpl && J.$eq(this._typeName, other._typeName); |
| }, |
| $isTypeImpl: true, |
| $isType: true |
| }, |
| initHooks_closure: { |
| "^": "Closure:13;getTag_0", |
| call$1: function(o) { |
| return this.getTag_0(o); |
| }, |
| $isFunction: true |
| }, |
| initHooks_closure0: { |
| "^": "Closure:78;getUnknownTag_1", |
| call$2: function(o, tag) { |
| return this.getUnknownTag_1(o, tag); |
| }, |
| $isFunction: true |
| }, |
| initHooks_closure1: { |
| "^": "Closure:5;prototypeForTag_2", |
| call$1: function(tag) { |
| return this.prototypeForTag_2(tag); |
| }, |
| $isFunction: true |
| }, |
| JSSyntaxRegExp: { |
| "^": "Object;pattern,_nativeRegExp,_nativeGlobalRegExp,_nativeAnchoredRegExp", |
| get$_nativeGlobalVersion: function() { |
| var t1 = this._nativeGlobalRegExp; |
| if (t1 != null) |
| return t1; |
| t1 = this._nativeRegExp; |
| t1 = H.JSSyntaxRegExp_makeNative(this.pattern, t1.multiline, !t1.ignoreCase, true); |
| this._nativeGlobalRegExp = t1; |
| return t1; |
| }, |
| get$_nativeAnchoredVersion: function() { |
| var t1 = this._nativeAnchoredRegExp; |
| if (t1 != null) |
| return t1; |
| t1 = this._nativeRegExp; |
| t1 = H.JSSyntaxRegExp_makeNative(this.pattern + "|()", t1.multiline, !t1.ignoreCase, true); |
| this._nativeAnchoredRegExp = t1; |
| return t1; |
| }, |
| firstMatch$1: function(str) { |
| var m; |
| if (typeof str !== "string") |
| H.throwExpression(P.ArgumentError$(str)); |
| m = this._nativeRegExp.exec(str); |
| if (m == null) |
| return; |
| return H._MatchImplementation$(this, m); |
| }, |
| hasMatch$1: function(str) { |
| if (typeof str !== "string") |
| H.throwExpression(P.ArgumentError$(str)); |
| return this._nativeRegExp.test(str); |
| }, |
| allMatches$1: function(_, str) { |
| return new H._AllMatchesIterable(this, str); |
| }, |
| _execGlobal$2: function(string, start) { |
| var regexp, match; |
| regexp = this.get$_nativeGlobalVersion(); |
| regexp.lastIndex = start; |
| match = regexp.exec(string); |
| if (match == null) |
| return; |
| return H._MatchImplementation$(this, match); |
| }, |
| _execAnchored$2: function(string, start) { |
| var regexp, match, t1, t2; |
| regexp = this.get$_nativeAnchoredVersion(); |
| regexp.lastIndex = start; |
| match = regexp.exec(string); |
| if (match == null) |
| return; |
| t1 = match.length; |
| t2 = t1 - 1; |
| if (t2 < 0) |
| return H.ioore(match, t2); |
| if (match[t2] != null) |
| return; |
| C.JSArray_methods.set$length(match, t2); |
| return H._MatchImplementation$(this, match); |
| }, |
| matchAsPrefix$2: function(_, string, start) { |
| var t1; |
| if (start >= 0) { |
| t1 = J.get$length$asx(string); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| t1 = start > t1; |
| } else |
| t1 = true; |
| if (t1) |
| throw H.wrapException(P.RangeError$range(start, 0, J.get$length$asx(string))); |
| return this._execAnchored$2(string, start); |
| }, |
| matchAsPrefix$1: function($receiver, string) { |
| return this.matchAsPrefix$2($receiver, string, 0); |
| }, |
| $isJSSyntaxRegExp: true, |
| $isRegExp: true, |
| static: {JSSyntaxRegExp_makeNative: function(source, multiLine, caseSensitive, global) { |
| var m, i, g, regexp, errorMessage; |
| m = multiLine ? "m" : ""; |
| i = caseSensitive ? "" : "i"; |
| g = global ? "g" : ""; |
| regexp = function() { |
| try { |
| return new RegExp(source, m + i + g); |
| } catch (e) { |
| return e; |
| } |
| |
| }(); |
| if (regexp instanceof RegExp) |
| return regexp; |
| errorMessage = String(regexp); |
| throw H.wrapException(P.FormatException$("Illegal RegExp pattern: " + source + ", " + errorMessage)); |
| }} |
| }, |
| _MatchImplementation: { |
| "^": "Object;pattern,_match", |
| $index: function(_, index) { |
| var t1 = this._match; |
| if (index >>> 0 !== index || index >= t1.length) |
| return H.ioore(t1, index); |
| return t1[index]; |
| }, |
| _MatchImplementation$2: function(pattern, _match) { |
| }, |
| $isMatch: true, |
| static: {_MatchImplementation$: function(pattern, _match) { |
| var t1 = new H._MatchImplementation(pattern, _match); |
| t1._MatchImplementation$2(pattern, _match); |
| return t1; |
| }} |
| }, |
| _AllMatchesIterable: { |
| "^": "IterableBase;_re,_string", |
| get$iterator: function(_) { |
| return new H._AllMatchesIterator(this._re, this._string, null); |
| }, |
| $asIterableBase: function() { |
| return [P.Match]; |
| }, |
| $asIterable: function() { |
| return [P.Match]; |
| } |
| }, |
| _AllMatchesIterator: { |
| "^": "Object;_regExp,_string,__js_helper$_current", |
| get$current: function() { |
| return this.__js_helper$_current; |
| }, |
| moveNext$0: function() { |
| var t1, t2, index; |
| if (this._string == null) |
| return false; |
| t1 = this.__js_helper$_current; |
| if (t1 != null) { |
| t1 = t1._match; |
| t2 = t1.index; |
| if (0 >= t1.length) |
| return H.ioore(t1, 0); |
| t1 = J.get$length$asx(t1[0]); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| index = t2 + t1; |
| if (this.__js_helper$_current._match.index === index) |
| ++index; |
| } else |
| index = 0; |
| t1 = this._regExp._execGlobal$2(this._string, index); |
| this.__js_helper$_current = t1; |
| if (t1 == null) { |
| this._string = null; |
| return false; |
| } |
| return true; |
| } |
| }, |
| StringMatch: { |
| "^": "Object;start,input,pattern", |
| $index: function(_, g) { |
| if (!J.$eq(g, 0)) |
| H.throwExpression(P.RangeError$value(g)); |
| return this.pattern; |
| }, |
| $isMatch: true |
| } |
| }], |
| ["action_link_element", "package:observatory/src/elements/action_link.dart", , X, { |
| "^": "", |
| ActionLinkElement: { |
| "^": "PolymerElement_ChangeNotifier;_action_link_element$__$busy,_action_link_element$__$callback,_action_link_element$__$label,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$busy: function(receiver) { |
| return receiver._action_link_element$__$busy; |
| }, |
| set$busy: function(receiver, value) { |
| receiver._action_link_element$__$busy = this.notifyPropertyChange$3(receiver, C.Symbol_busy, receiver._action_link_element$__$busy, value); |
| }, |
| get$callback: function(receiver) { |
| return receiver._action_link_element$__$callback; |
| }, |
| callback$0: function($receiver) { |
| return this.get$callback($receiver).call$0(); |
| }, |
| callback$1: function($receiver, arg0) { |
| return this.get$callback($receiver).call$1(arg0); |
| }, |
| set$callback: function(receiver, value) { |
| receiver._action_link_element$__$callback = this.notifyPropertyChange$3(receiver, C.Symbol_callback, receiver._action_link_element$__$callback, value); |
| }, |
| get$label: function(receiver) { |
| return receiver._action_link_element$__$label; |
| }, |
| set$label: function(receiver, value) { |
| receiver._action_link_element$__$label = this.notifyPropertyChange$3(receiver, C.Symbol_label, receiver._action_link_element$__$label, value); |
| }, |
| doAction$3: [function(receiver, a, b, c) { |
| var t1 = receiver._action_link_element$__$busy; |
| if (t1 === true) |
| return; |
| if (receiver._action_link_element$__$callback != null) { |
| receiver._action_link_element$__$busy = this.notifyPropertyChange$3(receiver, C.Symbol_busy, t1, true); |
| this.callback$1(receiver, null).whenComplete$1(new X.ActionLinkElement_doAction_closure(receiver)); |
| } |
| }, "call$3", "get$doAction", 6, 0, 79, 46, 47, 80], |
| static: {ActionLinkElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._action_link_element$__$busy = false; |
| receiver._action_link_element$__$callback = null; |
| receiver._action_link_element$__$label = "action"; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ActionLinkElement_methods.Element$created$0(receiver); |
| C.ActionLinkElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| PolymerElement_ChangeNotifier: { |
| "^": "PolymerElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| ActionLinkElement_doAction_closure: { |
| "^": "Closure:69;this_0", |
| call$0: [function() { |
| var t1 = this.this_0; |
| t1._action_link_element$__$busy = J.notifyPropertyChange$3$x(t1, C.Symbol_busy, t1._action_link_element$__$busy, false); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| } |
| }], |
| ["app", "package:observatory/app.dart", , G, { |
| "^": "", |
| GoogleChart__initOnceOnComplete: [function(_) { |
| var t1; |
| N.Logger_Logger("").info$1("Google Charts API loaded"); |
| t1 = J.$index$asx(J.$index$asx($.get$context(), "google"), "visualization"); |
| $.GoogleChart__api = t1; |
| return t1; |
| }, "call$1", "GoogleChart__initOnceOnComplete$closure", 2, 0, 13, 14], |
| Utils_formatPercent: function(a, total) { |
| return C.JSNumber_methods.toStringAsFixed$1(100 * J.$div$n(a, total), 2) + "%"; |
| }, |
| Utils_zeroPad: function(value, pad) { |
| var prefix; |
| for (prefix = ""; pad > 1;) { |
| --pad; |
| if (value < Math.pow(10, pad)) |
| prefix += "0"; |
| } |
| return prefix + H.S(value); |
| }, |
| Utils_formatCommaSeparated: [function(v) { |
| var t1, mod, r; |
| t1 = J.getInterceptor$n(v); |
| if (t1.$lt(v, 1000)) |
| return t1.toString$0(v); |
| mod = t1.$mod(v, 1000); |
| v = t1.$tdiv(v, 1000); |
| r = G.Utils_zeroPad(mod, 3); |
| for (; t1 = J.getInterceptor$n(v), t1.$gt(v, 1000);) { |
| r = G.Utils_zeroPad(t1.$mod(v, 1000), 3) + "," + r; |
| v = t1.$tdiv(v, 1000); |
| } |
| return !t1.$eq(v, 0) ? H.S(v) + "," + r : r; |
| }, "call$1", "Utils_formatCommaSeparated$closure", 2, 0, 15], |
| Utils_formatTimePrecise: function(time) { |
| var millis, hours, minutes, seconds; |
| millis = C.JSNumber_methods.toInt$0(C.JSNumber_methods.roundToDouble$0(time * 1000)); |
| hours = C.JSInt_methods._tdivFast$1(millis, 3600000); |
| millis = C.JSInt_methods.$mod(millis, 3600000); |
| minutes = C.JSInt_methods._tdivFast$1(millis, 60000); |
| millis = C.JSInt_methods.$mod(millis, 60000); |
| seconds = C.JSInt_methods._tdivFast$1(millis, 1000); |
| millis = C.JSInt_methods.$mod(millis, 1000); |
| if (hours > 0) |
| return G.Utils_zeroPad(hours, 2) + ":" + G.Utils_zeroPad(minutes, 2) + ":" + G.Utils_zeroPad(seconds, 2) + "." + G.Utils_zeroPad(millis, 3); |
| else |
| return G.Utils_zeroPad(minutes, 2) + ":" + G.Utils_zeroPad(seconds, 2) + "." + G.Utils_zeroPad(millis, 3); |
| }, |
| Utils_formatSize: [function(bytes) { |
| var t1 = J.getInterceptor$n(bytes); |
| if (t1.$lt(bytes, 1024)) |
| return H.S(bytes) + "B"; |
| else if (t1.$lt(bytes, 1048576)) |
| return C.JSNumber_methods.toStringAsFixed$1(t1.$div(bytes, 1024), 1) + "KB"; |
| else if (t1.$lt(bytes, 1073741824)) |
| return C.JSNumber_methods.toStringAsFixed$1(t1.$div(bytes, 1048576), 1) + "MB"; |
| else if (t1.$lt(bytes, 1099511627776)) |
| return C.JSNumber_methods.toStringAsFixed$1(t1.$div(bytes, 1073741824), 1) + "GB"; |
| else |
| return C.JSNumber_methods.toStringAsFixed$1(t1.$div(bytes, 1099511627776), 1) + "TB"; |
| }, "call$1", "Utils_formatSize$closure", 2, 0, 15, 16], |
| Utils_formatTime: function(time) { |
| var millis, hours, minutes, seconds; |
| if (time == null) |
| return "-"; |
| millis = J.round$0$n(J.$mul$ns(time, 1000)); |
| hours = C.JSInt_methods._tdivFast$1(millis, 3600000); |
| millis = C.JSInt_methods.$mod(millis, 3600000); |
| minutes = C.JSInt_methods._tdivFast$1(millis, 60000); |
| seconds = C.JSInt_methods._tdivFast$1(C.JSInt_methods.$mod(millis, 60000), 1000); |
| P.StringBuffer$(""); |
| if (hours !== 0) |
| return "" + hours + "h " + minutes + "m " + seconds + "s"; |
| if (minutes !== 0) |
| return "" + minutes + "m " + seconds + "s"; |
| return "" + seconds + "s"; |
| }, |
| Pane: { |
| "^": "ChangeNotifier;", |
| get$element: function(_) { |
| return this._app$__$element; |
| }, |
| $isPane: true |
| }, |
| ServiceObjectPane: { |
| "^": "Pane;app,_app$__$element,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| onInstall$0: function() { |
| if (this._app$__$element == null) { |
| var t1 = W._ElementFactoryProvider_createElement_tag("service-view", null); |
| this._app$__$element = F.notifyPropertyChangeHelper(this, C.Symbol_element, this._app$__$element, t1); |
| } |
| }, |
| visit$1: function(url) { |
| if (J.$eq(url, "")) |
| return; |
| this.app.vm.get$1(url).then$1(new G.ServiceObjectPane_visit_closure(this)); |
| }, |
| canVisit$1: function(url) { |
| return true; |
| } |
| }, |
| ServiceObjectPane_visit_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(obj) { |
| J.set$object$x(this.this_0._app$__$element, obj); |
| }, "call$1", null, 2, 0, null, 81, "call"], |
| $isFunction: true |
| }, |
| ClassTreePane: { |
| "^": "Pane;app,_app$__$element,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| onInstall$0: function() { |
| if (this._app$__$element == null) { |
| var t1 = W._ElementFactoryProvider_createElement_tag("class-tree", null); |
| this._app$__$element = F.notifyPropertyChangeHelper(this, C.Symbol_element, this._app$__$element, t1); |
| } |
| }, |
| visit$1: function(url) { |
| this.app.vm.get$1(J.substring$1$s(url, 11)).then$1(new G.ClassTreePane_visit_closure(this)); |
| }, |
| canVisit$1: function(url) { |
| return J.startsWith$1$s(url, "class-tree/"); |
| }, |
| static: {"^": "ClassTreePane__urlPrefix"} |
| }, |
| ClassTreePane_visit_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(i) { |
| var t1 = this.this_0._app$__$element; |
| if (t1 != null) |
| J.set$isolate$x(t1, i); |
| }, "call$1", null, 2, 0, null, 82, "call"], |
| $isFunction: true |
| }, |
| ErrorViewPane: { |
| "^": "Pane;app,_app$__$element,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| onInstall$0: function() { |
| if (this._app$__$element == null) { |
| var t1 = W._ElementFactoryProvider_createElement_tag("service-view", null); |
| this._app$__$element = F.notifyPropertyChangeHelper(this, C.Symbol_element, this._app$__$element, t1); |
| } |
| }, |
| visit$1: function(url) { |
| var t1, t2; |
| t1 = H.interceptedTypeCast(this._app$__$element, "$isServiceObjectViewElement"); |
| t2 = this.app.lastErrorOrException; |
| t1._service_object_view_element$__$object = J.notifyPropertyChange$3$x(t1, C.Symbol_object, t1._service_object_view_element$__$object, t2); |
| }, |
| canVisit$1: function(url) { |
| return J.startsWith$1$s(url, "error/"); |
| } |
| }, |
| ObservatoryApplication: { |
| "^": "ChangeNotifier;_paneRegistry,_serviceObjectPane,_currentPane,locationManager,vm>,_app$__$isolate,rootElement,lastErrorOrException,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$isolate: function(_) { |
| return this._app$__$isolate; |
| }, |
| set$isolate: function(_, value) { |
| this._app$__$isolate = F.notifyPropertyChangeHelper(this, C.Symbol_isolate, this._app$__$isolate, value); |
| }, |
| _initOnce$0: function() { |
| var t1, t2; |
| this._registerPanes$0(); |
| t1 = this.vm; |
| t2 = t1.errors; |
| H.setRuntimeTypeInfo(new P._BroadcastStream(t2), [H.getTypeArgumentByIndex(t2, 0)]).listen$1(this.get$_app$_onError()); |
| t1 = t1.exceptions; |
| H.setRuntimeTypeInfo(new P._BroadcastStream(t1), [H.getTypeArgumentByIndex(t1, 0)]).listen$1(this.get$_onException()); |
| t1 = this.locationManager; |
| $.location = t1; |
| t1._app = this; |
| t2 = H.setRuntimeTypeInfo(new W._EventStream(window, C.EventStreamProvider_popstate._eventType, false), [null]); |
| H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t2._html$_target, t2._eventType, W._wrapZone(t1.get$_onLocationChange()), t2._useCapture), [H.getTypeArgumentByIndex(t2, 0)])._tryResume$0(); |
| t1._onStartup$0(); |
| }, |
| _registerPanes$0: function() { |
| var t1, t2; |
| if (this._serviceObjectPane != null) |
| return; |
| t1 = this._paneRegistry; |
| t1.push(new G.ClassTreePane(this, null, null, null)); |
| t1.push(new G.ErrorViewPane(this, null, null, null)); |
| t2 = new G.ServiceObjectPane(this, null, null, null); |
| this._serviceObjectPane = t2; |
| t1.push(t2); |
| }, |
| _app$_onError$1: [function(error) { |
| this.lastErrorOrException = error; |
| this._visit$2("error/", null); |
| }, "call$1", "get$_app$_onError", 2, 0, 83, 24], |
| _onException$1: [function(exception) { |
| this.lastErrorOrException = exception; |
| this._visit$2("error/", null); |
| }, "call$1", "get$_onException", 2, 0, 84, 85], |
| _visit$2: function(url, args) { |
| var t1, i, pane; |
| for (t1 = this._paneRegistry, i = 0; i < t1.length; ++i) { |
| pane = t1[i]; |
| if (pane.canVisit$1(url)) { |
| this._installPane$1(pane); |
| pane.visit$1(url); |
| return; |
| } |
| } |
| throw H.wrapException(P.FallThroughError$()); |
| }, |
| _installPane$1: function(pane) { |
| var line, t1, t2; |
| line = "Installing " + J.toString$0(pane); |
| t1 = $.printToZone; |
| if (t1 == null) |
| H.printString(line); |
| else |
| t1.call$1(line); |
| t1 = this._currentPane; |
| if (t1 == null ? pane == null : t1 === pane) |
| return; |
| if (t1 != null) { |
| t2 = t1._app$__$element; |
| if (t1.get$hasObservers(t1) && t2 != null) { |
| t2 = new T.PropertyChangeRecord(t1, C.Symbol_element, t2, null); |
| t2.$builtinTypeInfo = [null]; |
| t1.notifyChange$1(t1, t2); |
| } |
| t1._app$__$element = null; |
| } |
| pane.onInstall$0(); |
| t1 = this.rootElement; |
| J._clearChildren$0$x(t1); |
| t1.appendChild(pane._app$__$element); |
| this._currentPane = pane; |
| }, |
| ObservatoryApplication$1: function(rootElement) { |
| this._initOnce$0(); |
| }, |
| ObservatoryApplication$devtools$1: function(rootElement) { |
| this._initOnce$0(); |
| } |
| }, |
| DataTable: { |
| "^": "Object;_app$_table", |
| get$columns: function() { |
| return this._app$_table.callMethod$1("getNumberOfColumns"); |
| }, |
| get$rows: function(_) { |
| return this._app$_table.callMethod$1("getNumberOfRows"); |
| }, |
| clearRows$0: function() { |
| var t1 = this._app$_table; |
| t1.callMethod$2("removeRows", [0, t1.callMethod$1("getNumberOfRows")]); |
| }, |
| addRow$1: function(_, row) { |
| var t1 = []; |
| C.JSArray_methods.addAll$1(t1, J.map$1$ax(row, P._convertToJS$closure())); |
| this._app$_table.callMethod$2("addRow", [H.setRuntimeTypeInfo(new P.JsArray(t1), [null])]); |
| } |
| }, |
| Chart: { |
| "^": "Object;_app$_chart,options", |
| draw$1: function(table) { |
| var jsOptions = P.JsObject_JsObject$jsify(this.options); |
| this._app$_chart.callMethod$2("draw", [table._app$_table, jsOptions]); |
| } |
| }, |
| LocationManager: { |
| "^": "Observable;", |
| _go$1: function(url) { |
| var chunks, t1, args; |
| if (J.getInterceptor$s(url).startsWith$1(url, "#")) |
| url = C.JSString_methods.substring$1(url, 1); |
| if (C.JSString_methods.startsWith$1(url, "/")) |
| url = C.JSString_methods.substring$1(url, 1); |
| if (C.JSString_methods.contains$1(url, "#")) { |
| chunks = url.split("#"); |
| t1 = chunks.length; |
| if (0 >= t1) |
| return H.ioore(chunks, 0); |
| url = chunks[0]; |
| if (t1 > 1 && !J.$eq(chunks[1], "")) { |
| if (1 >= chunks.length) |
| return H.ioore(chunks, 1); |
| args = chunks[1]; |
| } else |
| args = null; |
| } else |
| args = null; |
| this._app._visit$2(url, args); |
| }, |
| onGoto$3: function($event, detail, target) { |
| var href, t1, t2, t3; |
| href = J.get$attributes$x(target)._html$_element.getAttribute("href"); |
| t1 = J.getInterceptor$x($event); |
| t2 = t1.get$button($event); |
| if (typeof t2 !== "number") |
| return t2.$gt(); |
| if (t2 > 1 || t1.get$metaKey($event) === true || t1.get$ctrlKey($event) === true || t1.get$shiftKey($event) === true || t1.get$altKey($event) === true) |
| return; |
| t2 = $.location; |
| t3 = t2._lastUrl; |
| if (t3 == null ? href != null : t3 !== href) { |
| N.Logger_Logger("").info$1("Navigated to " + H.S(href)); |
| window.history.pushState(href, document.title, href); |
| t2._lastUrl = href; |
| } |
| t2._go$1(href); |
| t1.preventDefault$0($event); |
| } |
| }, |
| HashLocationManager: { |
| "^": "LocationManager;_initialPath,_app,_lastUrl,observable$Observable$_observable$_changes,observable$Observable$_values,observable$Observable$_records", |
| _onStartup$0: function() { |
| var initialPath = H.S(window.location.hash); |
| if (window.location.hash === "" || window.location.hash === "#") |
| initialPath = "#" + this._initialPath; |
| window.history.pushState(initialPath, document.title, initialPath); |
| this._go$1(window.location.hash); |
| }, |
| _onLocationChange$1: [function(_) { |
| this._go$1(window.location.hash); |
| }, "call$1", "get$_onLocationChange", 2, 0, 86, 14] |
| }, |
| TableTreeRow: { |
| "^": "ChangeNotifier;parent>,depth<,children>,columns<", |
| get$expander: function(_) { |
| return this._app$__$expander; |
| }, |
| get$expanderStyle: function() { |
| return this._app$__$expanderStyle; |
| }, |
| get$expanded: function(_) { |
| return this._expanded; |
| }, |
| set$expanded: function(_, expanded) { |
| var t1 = J.$eq(this._expanded, expanded); |
| this._expanded = expanded; |
| if (!t1) { |
| t1 = this._app$__$expander; |
| if (expanded === true) { |
| this._app$__$expander = F.notifyPropertyChangeHelper(this, C.Symbol_expander, t1, "\u21b3"); |
| this.onShow$0(0); |
| } else { |
| this._app$__$expander = F.notifyPropertyChangeHelper(this, C.Symbol_expander, t1, "\u2192"); |
| this.onHide$0(); |
| } |
| } |
| }, |
| toggle$0: function() { |
| this.set$expanded(0, this._expanded !== true); |
| return this._expanded; |
| }, |
| TableTreeRow$1: function($parent) { |
| if (!this.hasChildren$0()) |
| this._app$__$expanderStyle = F.notifyPropertyChangeHelper(this, C.Symbol_expanderStyle, this._app$__$expanderStyle, "visibility:hidden;"); |
| }, |
| $isTableTreeRow: true |
| }, |
| TableTree: { |
| "^": "ChangeNotifier;rows>,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| initialize$1: function(root) { |
| var t1, t2; |
| t1 = this.rows; |
| t2 = J.getInterceptor$ax(t1); |
| t2.clear$0(t1); |
| root.onShow$0(0); |
| t2.addAll$1(t1, root.children); |
| }, |
| toggle$1: function(rowIndex) { |
| var t1, t2, row; |
| t1 = this.rows; |
| t2 = J.getInterceptor$asx(t1); |
| row = t2.$index(t1, rowIndex); |
| if (row.toggle$0() === true) |
| t2.insertAll$2(t1, t2.indexOf$1(t1, row) + 1, J.get$children$x(row)); |
| else |
| this._collapse$1(row); |
| }, |
| _collapse$1: function(row) { |
| var t1, childCount, i, t2, t3; |
| t1 = J.getInterceptor$x(row); |
| childCount = J.get$length$asx(t1.get$children(row)); |
| if (childCount === 0) |
| return; |
| for (i = 0; i < childCount; ++i) |
| if (J.get$expanded$x(J.$index$asx(t1.get$children(row), i)) === true) |
| this._collapse$1(J.$index$asx(t1.get$children(row), i)); |
| t1.set$expanded(row, false); |
| t1 = this.rows; |
| t2 = J.getInterceptor$asx(t1); |
| t3 = t2.indexOf$1(t1, row) + 1; |
| t2.removeRange$2(t1, t3, t3 + childCount); |
| } |
| }, |
| SortedTableColumn: { |
| "^": "Object;label>,formatter<", |
| static: {SortedTableColumn_toStringFormatter: [function(v) { |
| return v != null ? J.toString$0(v) : "<null>"; |
| }, "call$1", "SortedTableColumn_toStringFormatter$closure", 2, 0, 17]} |
| }, |
| SortedTableRow: { |
| "^": "Object;values>", |
| $isSortedTableRow: true |
| }, |
| SortedTable: { |
| "^": "ChangeNotifier;columns<,rows>,sortedRows<", |
| set$sortColumnIndex: function(index) { |
| this._sortColumnIndex = index; |
| F.notifyPropertyChangeHelper(this, C.Symbol_getColumnLabel, 0, 1); |
| }, |
| get$sortColumnIndex: function() { |
| return this._sortColumnIndex; |
| }, |
| get$sortDescending: function() { |
| return this._sortDescending; |
| }, |
| set$sortDescending: function(descending) { |
| this._sortDescending = descending; |
| F.notifyPropertyChangeHelper(this, C.Symbol_getColumnLabel, 0, 1); |
| }, |
| getSortKeyFor$2: function(row, col) { |
| var t1 = this.rows; |
| if (row >>> 0 !== row || row >= t1.length) |
| return H.ioore(t1, row); |
| return J.$index$asx(J.get$values$x(t1[row]), col); |
| }, |
| _sortFuncDescending$2: [function(i, j) { |
| var a = this.getSortKeyFor$2(i, this._sortColumnIndex); |
| return J.compareTo$1$ns(this.getSortKeyFor$2(j, this._sortColumnIndex), a); |
| }, "call$2", "get$_sortFuncDescending", 4, 0, 87], |
| _sortFuncAscending$2: [function(i, j) { |
| return J.compareTo$1$ns(this.getSortKeyFor$2(i, this._sortColumnIndex), this.getSortKeyFor$2(j, this._sortColumnIndex)); |
| }, "call$2", "get$_sortFuncAscending", 4, 0, 87], |
| sort$0: function(_) { |
| var t1, t2; |
| new P.Stopwatch(1000000, null, null).start$0(0); |
| t1 = this.sortedRows; |
| if (this._sortDescending) { |
| t2 = this.get$_sortFuncDescending(); |
| H.IterableMixinWorkaround_sortList(t1, t2); |
| } else { |
| t2 = this.get$_sortFuncAscending(); |
| H.IterableMixinWorkaround_sortList(t1, t2); |
| } |
| }, |
| clearRows$0: function() { |
| C.JSArray_methods.set$length(this.rows, 0); |
| C.JSArray_methods.set$length(this.sortedRows, 0); |
| }, |
| addRow$1: function(_, row) { |
| var t1 = this.rows; |
| this.sortedRows.push(t1.length); |
| t1.push(row); |
| }, |
| getFormattedValue$2: function(row, column) { |
| var t1, value; |
| t1 = this.rows; |
| if (row >= t1.length) |
| return H.ioore(t1, row); |
| value = J.$index$asx(J.get$values$x(t1[row]), column); |
| t1 = this.columns; |
| if (column >= t1.length) |
| return H.ioore(t1, column); |
| return t1[column].get$formatter().call$1(value); |
| }, |
| getColumnLabel$1: [function(column) { |
| var t1; |
| if (!J.$eq(column, this._sortColumnIndex)) { |
| t1 = this.columns; |
| if (column >>> 0 !== column || column >= t1.length) |
| return H.ioore(t1, column); |
| return J.$add$ns(J.get$label$x(t1[column]), "\u2003"); |
| } |
| t1 = this.columns; |
| if (column >>> 0 !== column || column >= t1.length) |
| return H.ioore(t1, column); |
| t1 = J.get$label$x(t1[column]); |
| return J.$add$ns(t1, this._sortDescending ? "\u25bc" : "\u25b2"); |
| }, "call$1", "get$getColumnLabel", 2, 0, 15, 88] |
| } |
| }], |
| ["app_bootstrap", "index_devtools.html_bootstrap.dart", , E, { |
| "^": "", |
| main0: [function() { |
| var t1, t2, t3, t4, t5; |
| t1 = P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_active, new E.main_closure(), C.Symbol_address, new E.main_closure0(), C.Symbol_anchor, new E.main_closure1(), C.Symbol_assertsEnabled, new E.main_closure2(), C.Symbol_bpt, new E.main_closure3(), C.Symbol_busy, new E.main_closure4(), C.Symbol_buttonClick, new E.main_closure5(), C.Symbol_bytes, new E.main_closure6(), C.Symbol_callback, new E.main_closure7(), C.Symbol_capacity, new E.main_closure8(), C.Symbol_change, new E.main_closure9(), C.Symbol_changeSort, new E.main_closure10(), C.Symbol_checked, new E.main_closure11(), C.Symbol_checkedText, new E.main_closure12(), C.Symbol_classTable, new E.main_closure13(), C.Symbol_classes, new E.main_closure14(), C.Symbol_closing, new E.main_closure15(), C.Symbol_cls, new E.main_closure16(), C.Symbol_code, new E.main_closure17(), C.Symbol_coloring, new E.main_closure18(), C.Symbol_columns, new E.main_closure19(), C.Symbol_connection, new E.main_closure20(), C.Symbol_counters, new E.main_closure21(), C.Symbol_countersChanged, new E.main_closure22(), C.Symbol_current, new E.main_closure23(), C.Symbol_descriptor, new E.main_closure24(), C.Symbol_descriptors, new E.main_closure25(), C.Symbol_devtools, new E.main_closure26(), C.Symbol_displayCutoff, new E.main_closure27(), C.Symbol_doAction, new E.main_closure28(), C.Symbol_element, new E.main_closure29(), C.Symbol_endLine, new E.main_closure30(), C.Symbol_endPos, new E.main_closure31(), C.Symbol_endPosChanged, new E.main_closure32(), C.Symbol_entry, new E.main_closure33(), C.Symbol_error, new E.main_closure34(), C.Symbol_eval, new E.main_closure35(), C.Symbol_evalNow, new E.main_closure36(), C.Symbol_exception, new E.main_closure37(), C.Symbol_expand, new E.main_closure38(), C.Symbol_expandChanged, new E.main_closure39(), C.Symbol_expanded, new E.main_closure40(), C.Symbol_expander, new E.main_closure41(), C.Symbol_expanderStyle, new E.main_closure42(), C.Symbol_expr, new E.main_closure43(), C.Symbol_external, new E.main_closure44(), C.Symbol_fd, new E.main_closure45(), C.Symbol_field, new E.main_closure46(), C.Symbol_fields, new E.main_closure47(), C.Symbol_file, new E.main_closure48(), C.Symbol_firstTokenPos, new E.main_closure49(), C.Symbol_flag, new E.main_closure50(), C.Symbol_flagList, new E.main_closure51(), C.Symbol_formatSize, new E.main_closure52(), C.Symbol_formatTime, new E.main_closure53(), C.Symbol_formattedAddress, new E.main_closure54(), C.Symbol_formattedAverage, new E.main_closure55(), C.Symbol_formattedCollections, new E.main_closure56(), C.Symbol_formattedDeoptId, new E.main_closure57(), C.Symbol_formattedExclusive, new E.main_closure58(), C.Symbol_formattedExclusiveTicks, new E.main_closure59(), C.Symbol_formattedInclusive, new E.main_closure60(), C.Symbol_formattedInclusiveTicks, new E.main_closure61(), C.Symbol_formattedLine, new E.main_closure62(), C.Symbol_formattedTotalCollectionTime, new E.main_closure63(), C.Symbol_fragmentation, new E.main_closure64(), C.Symbol_fragmentationChanged, new E.main_closure65(), C.Symbol_frame, new E.main_closure66(), C.Symbol_function, new E.main_closure67(), C.Symbol_functionChanged, new E.main_closure68(), C.Symbol_functions, new E.main_closure69(), C.Symbol_getColumnLabel, new E.main_closure70(), C.Symbol_goto, new E.main_closure71(), C.Symbol_gotoLink, new E.main_closure72(), C.Symbol_hasClass, new E.main_closure73(), C.Symbol_hasDescriptors, new E.main_closure74(), C.Symbol_hasDisassembly, new E.main_closure75(), C.Symbol_hasNoAllocations, new E.main_closure76(), C.Symbol_hasParent, new E.main_closure77(), C.Symbol_hashLinkWorkaround, new E.main_closure78(), C.Symbol_hideTagsChecked, new E.main_closure79(), C.Symbol_hits, new E.main_closure80(), C.Symbol_hoverText, new E.main_closure81(), C.Symbol_httpServer, new E.main_closure82(), C.Symbol_human, new E.main_closure83(), C.Symbol_idle, new E.main_closure84(), C.Symbol_imp, new E.main_closure85(), C.Symbol_imports, new E.main_closure86(), C.Symbol_instance, new E.main_closure87(), C.Symbol_instances, new E.main_closure88(), C.Symbol_instruction, new E.main_closure89(), C.Symbol_instructions, new E.main_closure90(), C.Symbol_interface, new E.main_closure91(), C.Symbol_interfaces, new E.main_closure92(), C.Symbol_internal, new E.main_closure93(), C.Symbol_io, new E.main_closure94(), C.Symbol_isAbstract, new E.main_closure95(), C.Symbol_isBool, new E.main_closure96(), C.Symbol_isComment, new E.main_closure97(), C.Symbol_isDart, new E.main_closure98(), C.Symbol_isDartCode, new E.main_closure99(), C.Symbol_isDouble, new E.main_closure100(), C.Symbol_isEmpty, new E.main_closure101(), C.Symbol_isError, new E.main_closure102(), C.Symbol_isInstance, new E.main_closure103(), C.Symbol_isInt, new E.main_closure104(), C.Symbol_isList, new E.main_closure105(), C.Symbol_isNotEmpty, new E.main_closure106(), C.Symbol_isNull, new E.main_closure107(), C.Symbol_isOptimized, new E.main_closure108(), C.Symbol_isPatch, new E.main_closure109(), C.Symbol_isPipe, new E.main_closure110(), C.Symbol_isString, new E.main_closure111(), C.Symbol_isType, new E.main_closure112(), C.Symbol_isUnexpected, new E.main_closure113(), C.Symbol_isolate, new E.main_closure114(), C.Symbol_isolateChanged, new E.main_closure115(), C.Symbol_isolates, new E.main_closure116(), C.Symbol_jumpTarget, new E.main_closure117(), C.Symbol_kind, new E.main_closure118(), C.Symbol_label, new E.main_closure119(), C.Symbol_last, new E.main_closure120(), C.Symbol_lastAccumulatorReset, new E.main_closure121(), C.Symbol_lastServiceGC, new E.main_closure122(), C.Symbol_lastTokenPos, new E.main_closure123(), C.Symbol_lastUpdate, new E.main_closure124(), C.Symbol_length, new E.main_closure125(), C.Symbol_lib, new E.main_closure126(), C.Symbol_libraries, new E.main_closure127(), C.Symbol_library, new E.main_closure128(), C.Symbol_line, new E.main_closure129(), C.Symbol_lineMode, new E.main_closure130(), C.Symbol_lineNumber, new E.main_closure131(), C.Symbol_lineNumbers, new E.main_closure132(), C.Symbol_lines, new E.main_closure133(), C.Symbol_link, new E.main_closure134(), C.Symbol_list, new E.main_closure135(), C.Symbol_listening, new E.main_closure136(), C.Symbol_loading, new E.main_closure137(), C.Symbol_localAddress, new E.main_closure138(), C.Symbol_localPort, new E.main_closure139(), C.Symbol_mainPort, new E.main_closure140(), C.Symbol_map, new E.main_closure141(), C.Symbol_mapAsString, new E.main_closure142(), C.Symbol_mapChanged, new E.main_closure143(), C.Symbol_message, new E.main_closure144(), C.Symbol_mouseOut, new E.main_closure145(), C.Symbol_mouseOver, new E.main_closure146(), C.Symbol_msg, new E.main_closure147(), C.Symbol_name, new E.main_closure148(), C.Symbol_nameIsEmpty, new E.main_closure149(), C.Symbol_newSpace, new E.main_closure150(), C.Symbol_object, new E.main_closure151(), C.Symbol_objectChanged, new E.main_closure152(), C.Symbol_objectPool, new E.main_closure153(), C.Symbol_oldSpace, new E.main_closure154(), C.Symbol_pad, new E.main_closure155(), C.Symbol_padding, new E.main_closure156(), C.Symbol_path, new E.main_closure157(), C.Symbol_pause, new E.main_closure158(), C.Symbol_pauseEvent, new E.main_closure159(), C.Symbol_pid, new E.main_closure160(), C.Symbol_pos, new E.main_closure161(), C.Symbol_posChanged, new E.main_closure162(), C.Symbol_process, new E.main_closure163(), C.Symbol_profile, new E.main_closure164(), C.Symbol_profileChanged, new E.main_closure165(), C.Symbol_protocol, new E.main_closure166(), C.Symbol_qualified, new E.main_closure167(), C.Symbol_qualifiedName, new E.main_closure168(), C.Symbol_reachable, new E.main_closure169(), C.Symbol_readClosed, new E.main_closure170(), C.Symbol_ref, new E.main_closure171(), C.Symbol_refChanged, new E.main_closure172(), C.Symbol_refresh, new E.main_closure173(), C.Symbol_refreshCoverage, new E.main_closure174(), C.Symbol_refreshGC, new E.main_closure175(), C.Symbol_refreshTime, new E.main_closure176(), C.Symbol_relativeLink, new E.main_closure177(), C.Symbol_remoteAddress, new E.main_closure178(), C.Symbol_remotePort, new E.main_closure179(), C.Symbol_resetAccumulator, new E.main_closure180(), C.Symbol_response, new E.main_closure181(), C.Symbol_result, new E.main_closure182(), C.Symbol_results, new E.main_closure183(), C.Symbol_resume, new E.main_closure184(), C.Symbol_retainedBytes, new E.main_closure185(), C.Symbol_retainedSize, new E.main_closure186(), C.Symbol_retainingPath, new E.main_closure187(), C.Symbol_rootLib, new E.main_closure188(), C.Symbol_row, new E.main_closure189(), C.Symbol_rows, new E.main_closure190(), C.Symbol_running, new E.main_closure191(), C.Symbol_sampleCount, new E.main_closure192(), C.Symbol_sampleDepth, new E.main_closure193(), C.Symbol_sampleRate, new E.main_closure194(), C.Symbol_script, new E.main_closure195(), C.Symbol_scriptChanged, new E.main_closure196(), C.Symbol_scripts, new E.main_closure197(), C.Symbol_selectExpr, new E.main_closure198(), C.Symbol_serviceType, new E.main_closure199(), C.Symbol_small, new E.main_closure200(), C.Symbol_socket, new E.main_closure201(), C.Symbol_socketOwner, new E.main_closure202(), C.Symbol_startLine, new E.main_closure203(), C.Symbol_status, new E.main_closure204(), C.Symbol_styleForHits, new E.main_closure205(), C.Symbol_subClasses, new E.main_closure206(), C.Symbol_subclass, new E.main_closure207(), C.Symbol_superClass, new E.main_closure208(), C.Symbol_tagSelector, new E.main_closure209(), C.Symbol_tagSelectorChanged, new E.main_closure210(), C.Symbol_text, new E.main_closure211(), C.Symbol_timeSpan, new E.main_closure212(), C.Symbol_tipExclusive, new E.main_closure213(), C.Symbol_tipKind, new E.main_closure214(), C.Symbol_tipParent, new E.main_closure215(), C.Symbol_tipTicks, new E.main_closure216(), C.Symbol_tipTime, new E.main_closure217(), C.Symbol_toggleExpand, new E.main_closure218(), C.Symbol_toggleExpanded, new E.main_closure219(), C.Symbol_tokenPos, new E.main_closure220(), C.Symbol_topFrame, new E.main_closure221(), C.Symbol_trace, new E.main_closure222(), C.Symbol_tree, new E.main_closure223(), C.Symbol_typeChecksEnabled, new E.main_closure224(), C.Symbol_uncheckedText, new E.main_closure225(), C.Symbol_updateLineMode, new E.main_closure226(), C.Symbol_uptime, new E.main_closure227(), C.Symbol_url, new E.main_closure228(), C.Symbol_used, new E.main_closure229(), C.Symbol_v, new E.main_closure230(), C.Symbol_variable, new E.main_closure231(), C.Symbol_variables, new E.main_closure232(), C.Symbol_version, new E.main_closure233(), C.Symbol_vm, new E.main_closure234(), C.Symbol_vmName, new E.main_closure235(), C.Symbol_webSocket, new E.main_closure236(), C.Symbol_writeClosed, new E.main_closure237()], null, null); |
| t2 = P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_active, new E.main_closure238(), C.Symbol_anchor, new E.main_closure239(), C.Symbol_busy, new E.main_closure240(), C.Symbol_callback, new E.main_closure241(), C.Symbol_checked, new E.main_closure242(), C.Symbol_checkedText, new E.main_closure243(), C.Symbol_classTable, new E.main_closure244(), C.Symbol_cls, new E.main_closure245(), C.Symbol_code, new E.main_closure246(), C.Symbol_connection, new E.main_closure247(), C.Symbol_counters, new E.main_closure248(), C.Symbol_devtools, new E.main_closure249(), C.Symbol_displayCutoff, new E.main_closure250(), C.Symbol_endLine, new E.main_closure251(), C.Symbol_endPos, new E.main_closure252(), C.Symbol_entry, new E.main_closure253(), C.Symbol_error, new E.main_closure254(), C.Symbol_eval, new E.main_closure255(), C.Symbol_exception, new E.main_closure256(), C.Symbol_expand, new E.main_closure257(), C.Symbol_expanded, new E.main_closure258(), C.Symbol_expr, new E.main_closure259(), C.Symbol_field, new E.main_closure260(), C.Symbol_file, new E.main_closure261(), C.Symbol_firstTokenPos, new E.main_closure262(), C.Symbol_flag, new E.main_closure263(), C.Symbol_flagList, new E.main_closure264(), C.Symbol_fragmentation, new E.main_closure265(), C.Symbol_frame, new E.main_closure266(), C.Symbol_function, new E.main_closure267(), C.Symbol_hasClass, new E.main_closure268(), C.Symbol_hasParent, new E.main_closure269(), C.Symbol_hashLinkWorkaround, new E.main_closure270(), C.Symbol_hideTagsChecked, new E.main_closure271(), C.Symbol_httpServer, new E.main_closure272(), C.Symbol_imp, new E.main_closure273(), C.Symbol_instance, new E.main_closure274(), C.Symbol_instances, new E.main_closure275(), C.Symbol_interface, new E.main_closure276(), C.Symbol_internal, new E.main_closure277(), C.Symbol_io, new E.main_closure278(), C.Symbol_isDart, new E.main_closure279(), C.Symbol_isolate, new E.main_closure280(), C.Symbol_kind, new E.main_closure281(), C.Symbol_label, new E.main_closure282(), C.Symbol_last, new E.main_closure283(), C.Symbol_lastAccumulatorReset, new E.main_closure284(), C.Symbol_lastServiceGC, new E.main_closure285(), C.Symbol_lastTokenPos, new E.main_closure286(), C.Symbol_lib, new E.main_closure287(), C.Symbol_library, new E.main_closure288(), C.Symbol_lineMode, new E.main_closure289(), C.Symbol_lines, new E.main_closure290(), C.Symbol_link, new E.main_closure291(), C.Symbol_list, new E.main_closure292(), C.Symbol_map, new E.main_closure293(), C.Symbol_mapAsString, new E.main_closure294(), C.Symbol_msg, new E.main_closure295(), C.Symbol_name, new E.main_closure296(), C.Symbol_object, new E.main_closure297(), C.Symbol_objectPool, new E.main_closure298(), C.Symbol_pad, new E.main_closure299(), C.Symbol_path, new E.main_closure300(), C.Symbol_pause, new E.main_closure301(), C.Symbol_pos, new E.main_closure302(), C.Symbol_process, new E.main_closure303(), C.Symbol_profile, new E.main_closure304(), C.Symbol_qualified, new E.main_closure305(), C.Symbol_qualifiedName, new E.main_closure306(), C.Symbol_reachable, new E.main_closure307(), C.Symbol_ref, new E.main_closure308(), C.Symbol_refresh, new E.main_closure309(), C.Symbol_refreshCoverage, new E.main_closure310(), C.Symbol_refreshGC, new E.main_closure311(), C.Symbol_refreshTime, new E.main_closure312(), C.Symbol_resetAccumulator, new E.main_closure313(), C.Symbol_result, new E.main_closure314(), C.Symbol_results, new E.main_closure315(), C.Symbol_resume, new E.main_closure316(), C.Symbol_retainedBytes, new E.main_closure317(), C.Symbol_retainedSize, new E.main_closure318(), C.Symbol_retainingPath, new E.main_closure319(), C.Symbol_rootLib, new E.main_closure320(), C.Symbol_sampleCount, new E.main_closure321(), C.Symbol_sampleDepth, new E.main_closure322(), C.Symbol_sampleRate, new E.main_closure323(), C.Symbol_script, new E.main_closure324(), C.Symbol_small, new E.main_closure325(), C.Symbol_socket, new E.main_closure326(), C.Symbol_socketOwner, new E.main_closure327(), C.Symbol_startLine, new E.main_closure328(), C.Symbol_status, new E.main_closure329(), C.Symbol_subclass, new E.main_closure330(), C.Symbol_superClass, new E.main_closure331(), C.Symbol_tagSelector, new E.main_closure332(), C.Symbol_text, new E.main_closure333(), C.Symbol_timeSpan, new E.main_closure334(), C.Symbol_tokenPos, new E.main_closure335(), C.Symbol_trace, new E.main_closure336(), C.Symbol_uncheckedText, new E.main_closure337(), C.Symbol_vm, new E.main_closure338(), C.Symbol_webSocket, new E.main_closure339()], null, null); |
| t3 = P.LinkedHashMap_LinkedHashMap$_literal([C.Type_kA7, C.Type_GNh, C.Type_ON8, C.Type_EOZ, C.Type_ql8, C.Type_UJT, C.Type_dRp, C.Type_EOZ, C.Type_O5a, C.Type_EOZ, C.Type_2jN, C.Type_UJT, C.Type_Aym, C.Type_EOZ, C.Type_cop, C.Type_GNh, C.Type_Npb, C.Type_EOZ, C.Type_8eb, C.Type_EOZ, C.Type_p2P, C.Type_GNh, C.Type_ohY, C.Type_UJT, C.Type_4IJ, C.Type_EOZ, C.Type_7g3, C.Type_EOZ, C.Type_f1j, C.Type_EOZ, C.Type_wgH, C.Type_oyU, C.Type_bDN, C.Type_EOZ, C.Type_SoB, C.Type_EOZ, C.Type_LV6, C.Type_EOZ, C.Type_EVD, C.Type_UJT, C.Type_gqS, C.Type_EOZ, C.Type_uIL, C.Type_UJT, C.Type_L9j, C.Type_EOZ, C.Type_yvP, C.Type_EOZ, C.Type_i7j, C.Type_UJT, C.Type_M6L, C.Type_EOZ, C.Type_8KD, C.Type_EOZ, C.Type_qMZ, C.Type_oyU, C.Type_AHF, C.Type_EOZ, C.Type_IuH, C.Type_EOZ, C.Type_mWg, C.Type_UJT, C.Type_8cK, C.Type_EOZ, C.Type_JmU, C.Type_UJT, C.Type_4m4, C.Type_EOZ, C.Type_B8J, C.Type_UJT, C.Type_61d, C.Type_EOZ, C.Type_TEn, C.Type_EOZ, C.Type_gg4, C.Type_EOZ, C.Type_MUU, C.Type_UJT, C.Type_AyI, C.Type_EOZ, C.Type_cOY, C.Type_EOZ, C.Type_ES1, C.Type_UJT, C.Type_wT1, C.Type_EOZ, C.Type_ECh, C.Type_EOZ, C.Type_aAD, C.Type_EOZ, C.Type_8Gl, C.Type_EOZ, C.Type_iL9, C.Type_EOZ, C.Type_ZKG, C.Type_EOZ, C.Type_Kyy, C.Type_EOZ, C.Type_mpV, C.Type_UJT, C.Type_qph, C.Type_EOZ, C.Type_JFX, C.Type_EOZ, C.Type_wsa, C.Type_EOZ, C.Type_s2l, C.Type_EOZ, C.Type_nV5, C.Type_EOZ, C.Type_9ur, C.Type_sRP, C.Type_KMd, C.Type_EOZ, C.Type_AD4, C.Type_EOZ, C.Type_Sxn, C.Type_EOZ, C.Type_C7R, C.Type_EOZ, C.Type_YgH, C.Type_EOZ, C.Type_sRP, C.Type_I2I, C.Type_a1Y, C.Type_EOZ, C.Type_wBh, C.Type_oyU, C.Type_0e9, C.Type_EOZ, C.Type_FKd, C.Type_EOZ, C.Type_y1j, C.Type_EOZ, C.Type_UJT, C.Type_EOZ, C.Type_Mu6, C.Type_EOZ, C.Type_kuc, C.Type_GNh, C.Type_Jcu, C.Type_EOZ, C.Type_nVV, C.Type_EOZ, C.Type_Eue, C.Type_UJT, C.Type_E0k, C.Type_EOZ, C.Type_GNh, C.Type_I2I, C.Type_EOZ, C.Type_sRP, C.Type_oyU, C.Type_UJT], null, null); |
| t4 = P.LinkedHashMap_LinkedHashMap$_literal([C.Type_kA7, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_busy, C.Declaration_izV, C.Symbol_callback, C.Declaration_yXb, C.Symbol_label, C.Declaration_0g2], null, null), C.Type_ON8, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_msg, C.Declaration_gc6], null, null), C.Type_ql8, C.Map_empty, C.Type_dRp, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_isolate, C.Declaration_agR, C.Symbol_isolateChanged, C.Declaration_e3c], null, null), C.Type_O5a, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_cls, C.Declaration_okX, C.Symbol_instances, C.Declaration_qr9, C.Symbol_retainedBytes, C.Declaration_CIB], null, null), C.Type_2jN, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_code, C.Declaration_AgZ, C.Symbol_refChanged, C.Declaration_MJ5], null, null), C.Type_Aym, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_code, C.Declaration_woc], null, null), C.Type_cop, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_busy, C.Declaration_izV, C.Symbol_callback, C.Declaration_yXb, C.Symbol_expand, C.Declaration_yXb0, C.Symbol_expandChanged, C.Declaration_Dbk, C.Symbol_expanded, C.Declaration_RQo], null, null), C.Type_Npb, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_error, C.Declaration_eea], null, null), C.Type_8eb, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_callback, C.Declaration_IF7, C.Symbol_lineMode, C.Declaration_ww8, C.Symbol_results, C.Declaration_ggw, C.Symbol_text, C.Declaration_ZfX], null, null), C.Type_p2P, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_busy, C.Declaration_izV, C.Symbol_callback, C.Declaration_yXb, C.Symbol_expr, C.Declaration_gLQ, C.Symbol_label, C.Declaration_0g2, C.Symbol_result, C.Declaration_2No], null, null), C.Type_ohY, C.Map_empty, C.Type_4IJ, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_field, C.Declaration_iyl], null, null), C.Type_7g3, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_flag, C.Declaration_6YB], null, null), C.Type_f1j, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_flagList, C.Declaration_wE9], null, null), C.Type_wgH, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_hasClass, C.Declaration_X8B, C.Symbol_hasParent, C.Declaration_0qV, C.Symbol_isDart, C.Declaration_o7e, C.Symbol_qualified, C.Declaration_e24, C.Symbol_refChanged, C.Declaration_MJ5], null, null), C.Type_bDN, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_function, C.Declaration_y9n, C.Symbol_functionChanged, C.Declaration_Chj, C.Symbol_kind, C.Declaration_Xdi, C.Symbol_qualifiedName, C.Declaration_i3y], null, null), C.Type_SoB, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_fragmentation, C.Declaration_0Y4, C.Symbol_fragmentationChanged, C.Declaration_ivD, C.Symbol_status, C.Declaration_8sn], null, null), C.Type_LV6, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_classTable, C.Declaration_gsm, C.Symbol_isolate, C.Declaration_agR, C.Symbol_lastAccumulatorReset, C.Declaration_vA1, C.Symbol_lastServiceGC, C.Declaration_mPk, C.Symbol_profile, C.Declaration_EkK, C.Symbol_profileChanged, C.Declaration_j3g], null, null), C.Type_EVD, C.Map_empty, C.Type_gqS, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_instance, C.Declaration_o7L, C.Symbol_path, C.Declaration_cMb, C.Symbol_retainedBytes, C.Declaration_CIB], null, null), C.Type_uIL, C.Map_empty, C.Type_L9j, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_connection, C.Declaration_yDj], null, null), C.Type_yvP, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_list, C.Declaration_BKW], null, null), C.Type_i7j, C.Map_empty, C.Type_M6L, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_httpServer, C.Declaration_BSX], null, null), C.Type_8KD, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_list, C.Declaration_BKW], null, null), C.Type_qMZ, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_small, C.Declaration_pPA], null, null), C.Type_AHF, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_process, C.Declaration_a13], null, null), C.Type_IuH, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_list, C.Declaration_BKW], null, null), C.Type_mWg, C.Map_empty, C.Type_8cK, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_file, C.Declaration_Ix1], null, null), C.Type_JmU, C.Map_empty, C.Type_4m4, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_list, C.Declaration_BKW], null, null), C.Type_B8J, C.Map_empty, C.Type_61d, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_socket, C.Declaration_Iiu], null, null), C.Type_TEn, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_io, C.Declaration_bh9], null, null), C.Type_gg4, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_list, C.Declaration_BKW], null, null), C.Type_MUU, C.Map_empty, C.Type_AyI, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_webSocket, C.Declaration_mT8], null, null), C.Type_cOY, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_displayCutoff, C.Declaration_CR6, C.Symbol_hideTagsChecked, C.Declaration_a1A, C.Symbol_profile, C.Declaration_EkK, C.Symbol_profileChanged, C.Declaration_j3g, C.Symbol_refreshTime, C.Declaration_ijl, C.Symbol_sampleCount, C.Declaration_ac8, C.Symbol_sampleDepth, C.Declaration_2AE, C.Symbol_sampleRate, C.Declaration_3VL, C.Symbol_tagSelector, C.Declaration_Q0F, C.Symbol_tagSelectorChanged, C.Declaration_ECn, C.Symbol_timeSpan, C.Declaration_dIf], null, null), C.Type_ES1, C.Map_empty, C.Type_wT1, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_counters, C.Declaration_2Qn, C.Symbol_countersChanged, C.Declaration_cJC], null, null), C.Type_ECh, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_isolate, C.Declaration_voj], null, null), C.Type_aAD, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_isolate, C.Declaration_voj], null, null), C.Type_8Gl, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_isolate, C.Declaration_voj], null, null), C.Type_iL9, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_isolate, C.Declaration_voj], null, null), C.Type_ZKG, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_isolate, C.Declaration_voj], null, null), C.Type_Kyy, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_map, C.Declaration_wzu, C.Symbol_mapAsString, C.Declaration_Qx4, C.Symbol_mapChanged, C.Declaration_iLh], null, null), C.Type_mpV, C.Map_empty, C.Type_qph, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_library, C.Declaration_6ts], null, null), C.Type_JFX, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_cls, C.Declaration_qrv, C.Symbol_last, C.Declaration_06U], null, null), C.Type_wsa, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_isolate, C.Declaration_voj, C.Symbol_isolateChanged, C.Declaration_e3c, C.Symbol_last, C.Declaration_06U], null, null), C.Type_s2l, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_last, C.Declaration_06U, C.Symbol_library, C.Declaration_6ts], null, null), C.Type_nV5, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_pad, C.Declaration_EsU], null, null), C.Type_9ur, C.Map_empty, C.Type_KMd, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_anchor, C.Declaration_suy, C.Symbol_last, C.Declaration_06U, C.Symbol_link, C.Declaration_ibz], null, null), C.Type_AD4, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_anchor, C.Declaration_suy, C.Symbol_link, C.Declaration_ibz], null, null), C.Type_Sxn, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_active, C.Declaration_dw1, C.Symbol_callback, C.Declaration_yXb, C.Symbol_label, C.Declaration_0g2], null, null), C.Type_C7R, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_last, C.Declaration_06U], null, null), C.Type_YgH, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_devtools, C.Declaration_c4R], null, null), C.Type_sRP, C.Map_empty, C.Type_a1Y, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_endLine, C.Declaration_ZcJ, C.Symbol_endPos, C.Declaration_ACG, C.Symbol_endPosChanged, C.Declaration_QAa, C.Symbol_lines, C.Declaration_WfA, C.Symbol_pos, C.Declaration_i3t, C.Symbol_posChanged, C.Declaration_owq, C.Symbol_script, C.Declaration_yx3, C.Symbol_scriptChanged, C.Declaration_ixB, C.Symbol_startLine, C.Declaration_k6K], null, null), C.Type_wBh, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_pos, C.Declaration_i3t, C.Symbol_posChanged, C.Declaration_owq], null, null), C.Type_0e9, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_script, C.Declaration_yx3], null, null), C.Type_FKd, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_error, C.Declaration_4eA], null, null), C.Type_y1j, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_exception, C.Declaration_v0l], null, null), C.Type_UJT, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_internal, C.Declaration_XBb, C.Symbol_ref, C.Declaration_e3c0, C.Symbol_refChanged, C.Declaration_MJ5], null, null), C.Type_Mu6, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_object, C.Declaration_HtW, C.Symbol_objectChanged, C.Declaration_4up], null, null), C.Type_kuc, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_checked, C.Declaration_siO, C.Symbol_checkedText, C.Declaration_cdS, C.Symbol_uncheckedText, C.Declaration_IRg], null, null), C.Type_Jcu, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_frame, C.Declaration_65l], null, null), C.Type_nVV, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_trace, C.Declaration_ssf], null, null), C.Type_Eue, C.Map_empty, C.Type_E0k, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_error, C.Declaration_0, C.Symbol_vm, C.Declaration_Qi2], null, null)], null, null); |
| t5 = O.GeneratedSymbolConverterService$(new O.StaticConfiguration(t1, t2, t3, t4, C.Map_empty, P.LinkedHashMap_LinkedHashMap$_literal([C.Symbol_active, "active", C.Symbol_address, "address", C.Symbol_anchor, "anchor", C.Symbol_assertsEnabled, "assertsEnabled", C.Symbol_bpt, "bpt", C.Symbol_busy, "busy", C.Symbol_buttonClick, "buttonClick", C.Symbol_bytes, "bytes", C.Symbol_callback, "callback", C.Symbol_capacity, "capacity", C.Symbol_change, "change", C.Symbol_changeSort, "changeSort", C.Symbol_checked, "checked", C.Symbol_checkedText, "checkedText", C.Symbol_classTable, "classTable", C.Symbol_classes, "classes", C.Symbol_closing, "closing", C.Symbol_cls, "cls", C.Symbol_code, "code", C.Symbol_coloring, "coloring", C.Symbol_columns, "columns", C.Symbol_connection, "connection", C.Symbol_counters, "counters", C.Symbol_countersChanged, "countersChanged", C.Symbol_current, "current", C.Symbol_descriptor, "descriptor", C.Symbol_descriptors, "descriptors", C.Symbol_devtools, "devtools", C.Symbol_displayCutoff, "displayCutoff", C.Symbol_doAction, "doAction", C.Symbol_element, "element", C.Symbol_endLine, "endLine", C.Symbol_endPos, "endPos", C.Symbol_endPosChanged, "endPosChanged", C.Symbol_entry, "entry", C.Symbol_error, "error", C.Symbol_eval, "eval", C.Symbol_evalNow, "evalNow", C.Symbol_exception, "exception", C.Symbol_expand, "expand", C.Symbol_expandChanged, "expandChanged", C.Symbol_expanded, "expanded", C.Symbol_expander, "expander", C.Symbol_expanderStyle, "expanderStyle", C.Symbol_expr, "expr", C.Symbol_external, "external", C.Symbol_fd, "fd", C.Symbol_field, "field", C.Symbol_fields, "fields", C.Symbol_file, "file", C.Symbol_firstTokenPos, "firstTokenPos", C.Symbol_flag, "flag", C.Symbol_flagList, "flagList", C.Symbol_formatSize, "formatSize", C.Symbol_formatTime, "formatTime", C.Symbol_formattedAddress, "formattedAddress", C.Symbol_formattedAverage, "formattedAverage", C.Symbol_formattedCollections, "formattedCollections", C.Symbol_formattedDeoptId, "formattedDeoptId", C.Symbol_formattedExclusive, "formattedExclusive", C.Symbol_formattedExclusiveTicks, "formattedExclusiveTicks", C.Symbol_formattedInclusive, "formattedInclusive", C.Symbol_formattedInclusiveTicks, "formattedInclusiveTicks", C.Symbol_formattedLine, "formattedLine", C.Symbol_formattedTotalCollectionTime, "formattedTotalCollectionTime", C.Symbol_fragmentation, "fragmentation", C.Symbol_fragmentationChanged, "fragmentationChanged", C.Symbol_frame, "frame", C.Symbol_function, "function", C.Symbol_functionChanged, "functionChanged", C.Symbol_functions, "functions", C.Symbol_getColumnLabel, "getColumnLabel", C.Symbol_goto, "goto", C.Symbol_gotoLink, "gotoLink", C.Symbol_hasClass, "hasClass", C.Symbol_hasDescriptors, "hasDescriptors", C.Symbol_hasDisassembly, "hasDisassembly", C.Symbol_hasNoAllocations, "hasNoAllocations", C.Symbol_hasParent, "hasParent", C.Symbol_hashLinkWorkaround, "hashLinkWorkaround", C.Symbol_hideTagsChecked, "hideTagsChecked", C.Symbol_hits, "hits", C.Symbol_hoverText, "hoverText", C.Symbol_httpServer, "httpServer", C.Symbol_human, "human", C.Symbol_idle, "idle", C.Symbol_imp, "imp", C.Symbol_imports, "imports", C.Symbol_instance, "instance", C.Symbol_instances, "instances", C.Symbol_instruction, "instruction", C.Symbol_instructions, "instructions", C.Symbol_interface, "interface", C.Symbol_interfaces, "interfaces", C.Symbol_internal, "internal", C.Symbol_io, "io", C.Symbol_isAbstract, "isAbstract", C.Symbol_isBool, "isBool", C.Symbol_isComment, "isComment", C.Symbol_isDart, "isDart", C.Symbol_isDartCode, "isDartCode", C.Symbol_isDouble, "isDouble", C.Symbol_isEmpty, "isEmpty", C.Symbol_isError, "isError", C.Symbol_isInstance, "isInstance", C.Symbol_isInt, "isInt", C.Symbol_isList, "isList", C.Symbol_isNotEmpty, "isNotEmpty", C.Symbol_isNull, "isNull", C.Symbol_isOptimized, "isOptimized", C.Symbol_isPatch, "isPatch", C.Symbol_isPipe, "isPipe", C.Symbol_isString, "isString", C.Symbol_isType, "isType", C.Symbol_isUnexpected, "isUnexpected", C.Symbol_isolate, "isolate", C.Symbol_isolateChanged, "isolateChanged", C.Symbol_isolates, "isolates", C.Symbol_jumpTarget, "jumpTarget", C.Symbol_kind, "kind", C.Symbol_label, "label", C.Symbol_last, "last", C.Symbol_lastAccumulatorReset, "lastAccumulatorReset", C.Symbol_lastServiceGC, "lastServiceGC", C.Symbol_lastTokenPos, "lastTokenPos", C.Symbol_lastUpdate, "lastUpdate", C.Symbol_length, "length", C.Symbol_lib, "lib", C.Symbol_libraries, "libraries", C.Symbol_library, "library", C.Symbol_line, "line", C.Symbol_lineMode, "lineMode", C.Symbol_lineNumber, "lineNumber", C.Symbol_lineNumbers, "lineNumbers", C.Symbol_lines, "lines", C.Symbol_link, "link", C.Symbol_list, "list", C.Symbol_listening, "listening", C.Symbol_loading, "loading", C.Symbol_localAddress, "localAddress", C.Symbol_localPort, "localPort", C.Symbol_mainPort, "mainPort", C.Symbol_map, "map", C.Symbol_mapAsString, "mapAsString", C.Symbol_mapChanged, "mapChanged", C.Symbol_message, "message", C.Symbol_mouseOut, "mouseOut", C.Symbol_mouseOver, "mouseOver", C.Symbol_msg, "msg", C.Symbol_name, "name", C.Symbol_nameIsEmpty, "nameIsEmpty", C.Symbol_newSpace, "newSpace", C.Symbol_object, "object", C.Symbol_objectChanged, "objectChanged", C.Symbol_objectPool, "objectPool", C.Symbol_oldSpace, "oldSpace", C.Symbol_pad, "pad", C.Symbol_padding, "padding", C.Symbol_path, "path", C.Symbol_pause, "pause", C.Symbol_pauseEvent, "pauseEvent", C.Symbol_pid, "pid", C.Symbol_pos, "pos", C.Symbol_posChanged, "posChanged", C.Symbol_process, "process", C.Symbol_profile, "profile", C.Symbol_profileChanged, "profileChanged", C.Symbol_protocol, "protocol", C.Symbol_qualified, "qualified", C.Symbol_qualifiedName, "qualifiedName", C.Symbol_reachable, "reachable", C.Symbol_readClosed, "readClosed", C.Symbol_ref, "ref", C.Symbol_refChanged, "refChanged", C.Symbol_refresh, "refresh", C.Symbol_refreshCoverage, "refreshCoverage", C.Symbol_refreshGC, "refreshGC", C.Symbol_refreshTime, "refreshTime", C.Symbol_relativeLink, "relativeLink", C.Symbol_remoteAddress, "remoteAddress", C.Symbol_remotePort, "remotePort", C.Symbol_resetAccumulator, "resetAccumulator", C.Symbol_response, "response", C.Symbol_result, "result", C.Symbol_results, "results", C.Symbol_resume, "resume", C.Symbol_retainedBytes, "retainedBytes", C.Symbol_retainedSize, "retainedSize", C.Symbol_retainingPath, "retainingPath", C.Symbol_rootLib, "rootLib", C.Symbol_row, "row", C.Symbol_rows, "rows", C.Symbol_running, "running", C.Symbol_sampleCount, "sampleCount", C.Symbol_sampleDepth, "sampleDepth", C.Symbol_sampleRate, "sampleRate", C.Symbol_script, "script", C.Symbol_scriptChanged, "scriptChanged", C.Symbol_scripts, "scripts", C.Symbol_selectExpr, "selectExpr", C.Symbol_serviceType, "serviceType", C.Symbol_small, "small", C.Symbol_socket, "socket", C.Symbol_socketOwner, "socketOwner", C.Symbol_startLine, "startLine", C.Symbol_status, "status", C.Symbol_styleForHits, "styleForHits", C.Symbol_subClasses, "subClasses", C.Symbol_subclass, "subclass", C.Symbol_superClass, "superClass", C.Symbol_tagSelector, "tagSelector", C.Symbol_tagSelectorChanged, "tagSelectorChanged", C.Symbol_text, "text", C.Symbol_timeSpan, "timeSpan", C.Symbol_tipExclusive, "tipExclusive", C.Symbol_tipKind, "tipKind", C.Symbol_tipParent, "tipParent", C.Symbol_tipTicks, "tipTicks", C.Symbol_tipTime, "tipTime", C.Symbol_toggleExpand, "toggleExpand", C.Symbol_toggleExpanded, "toggleExpanded", C.Symbol_tokenPos, "tokenPos", C.Symbol_topFrame, "topFrame", C.Symbol_trace, "trace", C.Symbol_tree, "tree", C.Symbol_typeChecksEnabled, "typeChecksEnabled", C.Symbol_uncheckedText, "uncheckedText", C.Symbol_updateLineMode, "updateLineMode", C.Symbol_uptime, "uptime", C.Symbol_url, "url", C.Symbol_used, "used", C.Symbol_v, "v", C.Symbol_variable, "variable", C.Symbol_variables, "variables", C.Symbol_version, "version", C.Symbol_vm, "vm", C.Symbol_vmName, "vmName", C.Symbol_webSocket, "webSocket", C.Symbol_writeClosed, "writeClosed"], null, null), false)); |
| $.objectAccessor = new O.GeneratedObjectAccessorService(t1, t2, C.Map_empty); |
| $.typeInspector = new O.GeneratedTypeInspectorService(t3, t4, false); |
| $.symbolConverter = t5; |
| $.initializers = [new E.main_closure340(), new E.main_closure341(), new E.main_closure342(), new E.main_closure343(), new E.main_closure344(), new E.main_closure345(), new E.main_closure346(), new E.main_closure347(), new E.main_closure348(), new E.main_closure349(), new E.main_closure350(), new E.main_closure351(), new E.main_closure352(), new E.main_closure353(), new E.main_closure354(), new E.main_closure355(), new E.main_closure356(), new E.main_closure357(), new E.main_closure358(), new E.main_closure359(), new E.main_closure360(), new E.main_closure361(), new E.main_closure362(), new E.main_closure363(), new E.main_closure364(), new E.main_closure365(), new E.main_closure366(), new E.main_closure367(), new E.main_closure368(), new E.main_closure369(), new E.main_closure370(), new E.main_closure371(), new E.main_closure372(), new E.main_closure373(), new E.main_closure374(), new E.main_closure375(), new E.main_closure376(), new E.main_closure377(), new E.main_closure378(), new E.main_closure379(), new E.main_closure380(), new E.main_closure381(), new E.main_closure382(), new E.main_closure383(), new E.main_closure384(), new E.main_closure385(), new E.main_closure386(), new E.main_closure387(), new E.main_closure388(), new E.main_closure389(), new E.main_closure390(), new E.main_closure391(), new E.main_closure392(), new E.main_closure393(), new E.main_closure394(), new E.main_closure395(), new E.main_closure396(), new E.main_closure397(), new E.main_closure398(), new E.main_closure399(), new E.main_closure400(), new E.main_closure401(), new E.main_closure402(), new E.main_closure403(), new E.main_closure404(), new E.main_closure405(), new E.main_closure406(), new E.main_closure407(), new E.main_closure408(), new E.main_closure409(), new E.main_closure410(), new E.main_closure411(), new E.main_closure412(), new E.main_closure413()]; |
| $.deployMode = true; |
| F.main(); |
| }, "call$0", "main0$closure", 0, 0, 18], |
| main_closure: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$active$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure0: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$address(); |
| }, |
| $isFunction: true |
| }, |
| main_closure1: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$anchor$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure2: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$assertsEnabled(); |
| }, |
| $isFunction: true |
| }, |
| main_closure3: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$bpt(); |
| }, |
| $isFunction: true |
| }, |
| main_closure4: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$busy$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure5: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$buttonClick$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure6: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$bytes(); |
| }, |
| $isFunction: true |
| }, |
| main_closure7: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$callback$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure8: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$capacity(); |
| }, |
| $isFunction: true |
| }, |
| main_closure9: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$change$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure10: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$changeSort$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure11: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$checked$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure12: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$checkedText$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure13: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$classTable$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure14: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$classes$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure15: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$closing(); |
| }, |
| $isFunction: true |
| }, |
| main_closure16: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$cls$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure17: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$code$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure18: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$coloring$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure19: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$columns(); |
| }, |
| $isFunction: true |
| }, |
| main_closure20: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$connection$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure21: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$counters$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure22: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$countersChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure23: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$current(); |
| }, |
| $isFunction: true |
| }, |
| main_closure24: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$descriptor(); |
| }, |
| $isFunction: true |
| }, |
| main_closure25: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$descriptors(); |
| }, |
| $isFunction: true |
| }, |
| main_closure26: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$devtools$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure27: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$displayCutoff$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure28: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$doAction$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure29: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$element$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure30: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$endLine$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure31: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$endPos$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure32: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$endPosChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure33: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$entry(); |
| }, |
| $isFunction: true |
| }, |
| main_closure34: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$error$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure35: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$eval$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure36: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$evalNow$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure37: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$exception$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure38: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$expand$ax(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure39: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$expandChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure40: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$expanded$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure41: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$expander$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure42: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$expanderStyle(); |
| }, |
| $isFunction: true |
| }, |
| main_closure43: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$expr$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure44: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$external(); |
| }, |
| $isFunction: true |
| }, |
| main_closure45: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$fd(); |
| }, |
| $isFunction: true |
| }, |
| main_closure46: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$field$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure47: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$fields(); |
| }, |
| $isFunction: true |
| }, |
| main_closure48: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$file$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure49: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$firstTokenPos(); |
| }, |
| $isFunction: true |
| }, |
| main_closure50: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$flag$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure51: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$flagList$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure52: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$formatSize$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure53: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$formatTime$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure54: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$formattedAddress(); |
| }, |
| $isFunction: true |
| }, |
| main_closure55: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$formattedAverage$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure56: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$formattedCollections$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure57: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$formattedDeoptId(); |
| }, |
| $isFunction: true |
| }, |
| main_closure58: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$formattedExclusive(); |
| }, |
| $isFunction: true |
| }, |
| main_closure59: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$formattedExclusiveTicks(); |
| }, |
| $isFunction: true |
| }, |
| main_closure60: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$formattedInclusive(); |
| }, |
| $isFunction: true |
| }, |
| main_closure61: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$formattedInclusiveTicks(); |
| }, |
| $isFunction: true |
| }, |
| main_closure62: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$formattedLine(); |
| }, |
| $isFunction: true |
| }, |
| main_closure63: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$formattedTotalCollectionTime$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure64: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$fragmentation$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure65: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$fragmentationChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure66: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$frame$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure67: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$$function$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure68: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$functionChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure69: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$functions(); |
| }, |
| $isFunction: true |
| }, |
| main_closure70: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$getColumnLabel(); |
| }, |
| $isFunction: true |
| }, |
| main_closure71: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$$goto$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure72: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$gotoLink$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure73: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$hasClass$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure74: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$hasDescriptors(); |
| }, |
| $isFunction: true |
| }, |
| main_closure75: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$hasDisassembly(); |
| }, |
| $isFunction: true |
| }, |
| main_closure76: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$hasNoAllocations(); |
| }, |
| $isFunction: true |
| }, |
| main_closure77: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$hasParent$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure78: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$hashLinkWorkaround$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure79: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$hideTagsChecked$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure80: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$hits(); |
| }, |
| $isFunction: true |
| }, |
| main_closure81: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$hoverText$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure82: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$httpServer$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure83: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$human(); |
| }, |
| $isFunction: true |
| }, |
| main_closure84: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$idle(); |
| }, |
| $isFunction: true |
| }, |
| main_closure85: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$imp(); |
| }, |
| $isFunction: true |
| }, |
| main_closure86: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$imports(); |
| }, |
| $isFunction: true |
| }, |
| main_closure87: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$instance$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure88: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$instances$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure89: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$instruction(); |
| }, |
| $isFunction: true |
| }, |
| main_closure90: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$instructions(); |
| }, |
| $isFunction: true |
| }, |
| main_closure91: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$$interface(); |
| }, |
| $isFunction: true |
| }, |
| main_closure92: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$interfaces(); |
| }, |
| $isFunction: true |
| }, |
| main_closure93: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$internal$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure94: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$io$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure95: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$isAbstract(); |
| }, |
| $isFunction: true |
| }, |
| main_closure96: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isBool$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure97: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$isComment(); |
| }, |
| $isFunction: true |
| }, |
| main_closure98: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isDart$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure99: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$isDartCode(); |
| }, |
| $isFunction: true |
| }, |
| main_closure100: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isDouble$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure101: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isEmpty$asx(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure102: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isError$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure103: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isInstance$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure104: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isInt$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure105: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isList$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure106: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isNotEmpty$asx(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure107: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isNull$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure108: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$isOptimized(); |
| }, |
| $isFunction: true |
| }, |
| main_closure109: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$isPatch(); |
| }, |
| $isFunction: true |
| }, |
| main_closure110: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$isPipe(); |
| }, |
| $isFunction: true |
| }, |
| main_closure111: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isString$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure112: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isType$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure113: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isUnexpected$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure114: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isolate$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure115: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$isolateChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure116: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$isolates(); |
| }, |
| $isFunction: true |
| }, |
| main_closure117: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$jumpTarget(); |
| }, |
| $isFunction: true |
| }, |
| main_closure118: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$kind$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure119: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$label$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure120: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$last$ax(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure121: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$lastAccumulatorReset$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure122: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$lastServiceGC$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure123: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$lastTokenPos(); |
| }, |
| $isFunction: true |
| }, |
| main_closure124: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$lastUpdate(); |
| }, |
| $isFunction: true |
| }, |
| main_closure125: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$length$asx(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure126: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$lib(); |
| }, |
| $isFunction: true |
| }, |
| main_closure127: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$libraries(); |
| }, |
| $isFunction: true |
| }, |
| main_closure128: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$library$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure129: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$line(); |
| }, |
| $isFunction: true |
| }, |
| main_closure130: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$lineMode$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure131: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$lineNumber$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure132: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$lineNumbers$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure133: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$lines$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure134: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$link$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure135: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$list$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure136: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$listening(); |
| }, |
| $isFunction: true |
| }, |
| main_closure137: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$loading(); |
| }, |
| $isFunction: true |
| }, |
| main_closure138: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$localAddress(); |
| }, |
| $isFunction: true |
| }, |
| main_closure139: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$localPort(); |
| }, |
| $isFunction: true |
| }, |
| main_closure140: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$mainPort(); |
| }, |
| $isFunction: true |
| }, |
| main_closure141: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$map$ax(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure142: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$mapAsString$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure143: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$mapChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure144: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$message$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure145: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$mouseOut$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure146: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$mouseOver$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure147: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$msg$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure148: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$name$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure149: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$nameIsEmpty$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure150: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$newSpace(); |
| }, |
| $isFunction: true |
| }, |
| main_closure151: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$object$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure152: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$objectChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure153: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$objectPool(); |
| }, |
| $isFunction: true |
| }, |
| main_closure154: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$oldSpace(); |
| }, |
| $isFunction: true |
| }, |
| main_closure155: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$pad$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure156: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$padding$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure157: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$path$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure158: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$pause$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure159: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$pauseEvent$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure160: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$pid(); |
| }, |
| $isFunction: true |
| }, |
| main_closure161: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$pos$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure162: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$posChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure163: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$process$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure164: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$profile$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure165: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$profileChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure166: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$protocol$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure167: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$qualified$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure168: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$qualifiedName$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure169: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$reachable$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure170: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$readClosed(); |
| }, |
| $isFunction: true |
| }, |
| main_closure171: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$ref$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure172: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$refChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure173: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$refresh$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure174: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$refreshCoverage$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure175: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$refreshGC$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure176: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$refreshTime$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure177: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$relativeLink(); |
| }, |
| $isFunction: true |
| }, |
| main_closure178: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$remoteAddress(); |
| }, |
| $isFunction: true |
| }, |
| main_closure179: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$remotePort(); |
| }, |
| $isFunction: true |
| }, |
| main_closure180: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$resetAccumulator$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure181: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$response$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure182: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$result$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure183: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$results$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure184: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$resume$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure185: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$retainedBytes$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure186: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$retainedSize$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure187: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$retainingPath$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure188: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$rootLib(); |
| }, |
| $isFunction: true |
| }, |
| main_closure189: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$row(); |
| }, |
| $isFunction: true |
| }, |
| main_closure190: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$rows$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure191: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$running(); |
| }, |
| $isFunction: true |
| }, |
| main_closure192: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$sampleCount$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure193: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$sampleDepth$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure194: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$sampleRate$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure195: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$script$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure196: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$scriptChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure197: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$scripts(); |
| }, |
| $isFunction: true |
| }, |
| main_closure198: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$selectExpr$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure199: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$serviceType(); |
| }, |
| $isFunction: true |
| }, |
| main_closure200: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$small$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure201: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$socket$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure202: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$socketOwner(); |
| }, |
| $isFunction: true |
| }, |
| main_closure203: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$startLine$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure204: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$status$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure205: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$styleForHits$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure206: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$subClasses(); |
| }, |
| $isFunction: true |
| }, |
| main_closure207: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$subclass(); |
| }, |
| $isFunction: true |
| }, |
| main_closure208: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$superClass(); |
| }, |
| $isFunction: true |
| }, |
| main_closure209: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$tagSelector$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure210: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$tagSelectorChanged$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure211: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$text$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure212: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$timeSpan$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure213: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$tipExclusive(); |
| }, |
| $isFunction: true |
| }, |
| main_closure214: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$tipKind(); |
| }, |
| $isFunction: true |
| }, |
| main_closure215: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$tipParent(); |
| }, |
| $isFunction: true |
| }, |
| main_closure216: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$tipTicks(); |
| }, |
| $isFunction: true |
| }, |
| main_closure217: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$tipTime(); |
| }, |
| $isFunction: true |
| }, |
| main_closure218: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$toggleExpand$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure219: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$toggleExpanded$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure220: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$tokenPos(); |
| }, |
| $isFunction: true |
| }, |
| main_closure221: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$topFrame(); |
| }, |
| $isFunction: true |
| }, |
| main_closure222: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$trace$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure223: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$tree$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure224: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$typeChecksEnabled(); |
| }, |
| $isFunction: true |
| }, |
| main_closure225: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$uncheckedText$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure226: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$updateLineMode$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure227: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$uptime(); |
| }, |
| $isFunction: true |
| }, |
| main_closure228: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$url$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure229: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$used(); |
| }, |
| $isFunction: true |
| }, |
| main_closure230: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$v(); |
| }, |
| $isFunction: true |
| }, |
| main_closure231: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$variable(); |
| }, |
| $isFunction: true |
| }, |
| main_closure232: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$variables(); |
| }, |
| $isFunction: true |
| }, |
| main_closure233: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$version$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure234: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$vm$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure235: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$vmName(); |
| }, |
| $isFunction: true |
| }, |
| main_closure236: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return J.get$webSocket$x(o); |
| }, |
| $isFunction: true |
| }, |
| main_closure237: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return o.get$writeClosed(); |
| }, |
| $isFunction: true |
| }, |
| main_closure238: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$active$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure239: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$anchor$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure240: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$busy$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure241: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$callback$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure242: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$checked$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure243: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$checkedText$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure244: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$classTable$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure245: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$cls$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure246: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$code$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure247: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$connection$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure248: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$counters$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure249: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$devtools$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure250: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$displayCutoff$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure251: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$endLine$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure252: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$endPos$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure253: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| o.set$entry(v); |
| }, |
| $isFunction: true |
| }, |
| main_closure254: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$error$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure255: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$eval$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure256: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$exception$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure257: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$expand$ax(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure258: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$expanded$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure259: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$expr$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure260: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$field$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure261: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$file$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure262: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| o.set$firstTokenPos(v); |
| }, |
| $isFunction: true |
| }, |
| main_closure263: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$flag$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure264: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$flagList$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure265: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$fragmentation$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure266: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$frame$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure267: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$$function$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure268: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$hasClass$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure269: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$hasParent$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure270: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$hashLinkWorkaround$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure271: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$hideTagsChecked$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure272: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$httpServer$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure273: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| o.set$imp(v); |
| }, |
| $isFunction: true |
| }, |
| main_closure274: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$instance$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure275: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$instances$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure276: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| o.set$$interface(v); |
| }, |
| $isFunction: true |
| }, |
| main_closure277: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$internal$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure278: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$io$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure279: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$isDart$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure280: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$isolate$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure281: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$kind$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure282: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$label$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure283: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$last$ax(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure284: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$lastAccumulatorReset$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure285: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$lastServiceGC$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure286: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| o.set$lastTokenPos(v); |
| }, |
| $isFunction: true |
| }, |
| main_closure287: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| o.set$lib(v); |
| }, |
| $isFunction: true |
| }, |
| main_closure288: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$library$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure289: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$lineMode$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure290: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$lines$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure291: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$link$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure292: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$list$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure293: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$map$ax(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure294: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$mapAsString$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure295: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$msg$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure296: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$name$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure297: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$object$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure298: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| o.set$objectPool(v); |
| }, |
| $isFunction: true |
| }, |
| main_closure299: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$pad$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure300: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$path$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure301: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$pause$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure302: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$pos$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure303: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$process$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure304: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$profile$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure305: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$qualified$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure306: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$qualifiedName$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure307: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$reachable$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure308: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$ref$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure309: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$refresh$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure310: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$refreshCoverage$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure311: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$refreshGC$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure312: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$refreshTime$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure313: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$resetAccumulator$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure314: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$result$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure315: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$results$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure316: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$resume$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure317: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$retainedBytes$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure318: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$retainedSize$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure319: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$retainingPath$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure320: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| o.set$rootLib(v); |
| }, |
| $isFunction: true |
| }, |
| main_closure321: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$sampleCount$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure322: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$sampleDepth$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure323: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$sampleRate$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure324: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$script$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure325: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$small$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure326: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$socket$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure327: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| o.set$socketOwner(v); |
| }, |
| $isFunction: true |
| }, |
| main_closure328: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$startLine$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure329: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$status$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure330: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| o.set$subclass(v); |
| }, |
| $isFunction: true |
| }, |
| main_closure331: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| o.set$superClass(v); |
| }, |
| $isFunction: true |
| }, |
| main_closure332: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$tagSelector$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure333: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$text$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure334: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$timeSpan$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure335: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| o.set$tokenPos(v); |
| }, |
| $isFunction: true |
| }, |
| main_closure336: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$trace$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure337: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$uncheckedText$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure338: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$vm$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure339: { |
| "^": "Closure:75;", |
| call$2: function(o, v) { |
| J.set$webSocket$x(o, v); |
| }, |
| $isFunction: true |
| }, |
| main_closure340: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("curly-block", C.Type_cop); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure341: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("observatory-element", C.Type_sRP); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure342: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("service-ref", C.Type_UJT); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure343: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("instance-ref", C.Type_EVD); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure344: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("action-link", C.Type_kA7); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure345: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("nav-bar", C.Type_nV5); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure346: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("nav-menu", C.Type_KMd); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure347: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("nav-menu-item", C.Type_AD4); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure348: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("nav-refresh", C.Type_Sxn); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure349: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("nav-control", C.Type_9ur); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure350: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("top-nav-menu", C.Type_C7R); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure351: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("isolate-nav-menu", C.Type_wsa); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure352: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("library-nav-menu", C.Type_s2l); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure353: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("class-nav-menu", C.Type_JFX); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure354: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("breakpoint-list", C.Type_ON8); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure355: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("class-ref", C.Type_ql8); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure356: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("class-tree", C.Type_dRp); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure357: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("eval-box", C.Type_8eb); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure358: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("eval-link", C.Type_p2P); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure359: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("field-ref", C.Type_ohY); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure360: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("function-ref", C.Type_wgH); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure361: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("library-ref", C.Type_mpV); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure362: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("script-ref", C.Type_wBh); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure363: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("class-view", C.Type_O5a); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure364: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("code-ref", C.Type_2jN); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure365: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("code-view", C.Type_Aym); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure366: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("error-view", C.Type_Npb); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure367: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("field-view", C.Type_4IJ); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure368: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("stack-frame", C.Type_Jcu); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure369: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("flag-list", C.Type_f1j); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure370: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("flag-item", C.Type_7g3); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure371: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("script-inset", C.Type_a1Y); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure372: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("function-view", C.Type_bDN); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure373: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("heap-map", C.Type_SoB); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure374: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-view", C.Type_TEn); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure375: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-ref", C.Type_JmU); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure376: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-http-server-list-view", C.Type_yvP); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure377: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-http-server-ref", C.Type_i7j); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure378: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-http-server-view", C.Type_M6L); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure379: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-http-server-connection-view", C.Type_L9j); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure380: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-http-server-connection-ref", C.Type_uIL); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure381: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-socket-ref", C.Type_B8J); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure382: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-socket-list-view", C.Type_4m4); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure383: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-socket-view", C.Type_61d); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure384: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-web-socket-ref", C.Type_MUU); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure385: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-web-socket-list-view", C.Type_gg4); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure386: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-web-socket-view", C.Type_AyI); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure387: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-random-access-file-list-view", C.Type_IuH); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure388: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-random-access-file-ref", C.Type_mWg); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure389: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-random-access-file-view", C.Type_8cK); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure390: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-process-list-view", C.Type_8KD); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure391: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-process-ref", C.Type_qMZ); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure392: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("io-process-view", C.Type_AHF); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure393: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("isolate-ref", C.Type_ES1); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure394: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("isolate-summary", C.Type_iL9); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure395: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("isolate-run-state", C.Type_aAD); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure396: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("isolate-location", C.Type_ECh); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure397: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("isolate-shared-summary", C.Type_8Gl); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure398: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("isolate-counter-chart", C.Type_wT1); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure399: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("isolate-view", C.Type_ZKG); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure400: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("instance-view", C.Type_gqS); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure401: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("json-view", C.Type_Kyy); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure402: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("library-view", C.Type_qph); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure403: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("heap-profile", C.Type_LV6); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure404: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("sliding-checkbox", C.Type_kuc); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure405: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("isolate-profile", C.Type_cOY); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure406: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("script-view", C.Type_0e9); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure407: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("stack-trace", C.Type_nVV); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure408: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("vm-view", C.Type_E0k); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure409: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("service-view", C.Type_Mu6); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure410: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("observatory-application", C.Type_YgH); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure411: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("service-exception-view", C.Type_y1j); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure412: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("service-error-view", C.Type_FKd); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| main_closure413: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.Polymer_register("vm-ref", C.Type_Eue); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| } |
| }, |
| 1], |
| ["breakpoint_list_element", "package:observatory/src/elements/breakpoint_list.dart", , B, { |
| "^": "", |
| BreakpointListElement: { |
| "^": "ObservatoryElement_ChangeNotifier;_breakpoint_list_element$__$msg,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$msg: function(receiver) { |
| return receiver._breakpoint_list_element$__$msg; |
| }, |
| set$msg: function(receiver, value) { |
| receiver._breakpoint_list_element$__$msg = this.notifyPropertyChange$3(receiver, C.Symbol_msg, receiver._breakpoint_list_element$__$msg, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._breakpoint_list_element$__$msg).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {BreakpointListElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.BreakpointListElement_methods.Element$created$0(receiver); |
| C.BreakpointListElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["class_ref_element", "package:observatory/src/elements/class_ref.dart", , Q, { |
| "^": "", |
| ClassRefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| static: {ClassRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ClassRefElement_methods.Element$created$0(receiver); |
| C.ClassRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| } |
| }], |
| ["class_tree_element", "package:observatory/src/elements/class_tree.dart", , O, { |
| "^": "", |
| ClassTreeRow: { |
| "^": "TableTreeRow;isolate>,cls>,parent,depth,children,columns,_app$__$expander,_app$__$expanderStyle,_expanded,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| onShow$0: function(_) { |
| var t1, t2, t3, t4, subClass, t5, row; |
| t1 = this.children; |
| if (t1.length > 0) |
| return; |
| for (t2 = J.get$iterator$ax(J.get$children$x(this.cls)), t3 = this.isolate, t4 = this.depth + 1; t2.moveNext$0();) { |
| subClass = t2.get$current(); |
| if (subClass.get$isPatch() === true) |
| continue; |
| t5 = []; |
| t5.$builtinTypeInfo = [G.TableTreeRow]; |
| row = new O.ClassTreeRow(t3, subClass, this, t4, t5, [], "\u2192", "cursor: pointer;", false, null, null); |
| if (!row.hasChildren$0()) { |
| t5 = row._app$__$expanderStyle; |
| if (row.get$hasObservers(row) && !J.$eq(t5, "visibility:hidden;")) { |
| t5 = new T.PropertyChangeRecord(row, C.Symbol_expanderStyle, t5, "visibility:hidden;"); |
| t5.$builtinTypeInfo = [null]; |
| row.notifyChange$1(row, t5); |
| } |
| row._app$__$expanderStyle = "visibility:hidden;"; |
| } |
| t1.push(row); |
| } |
| }, |
| onHide$0: function() { |
| }, |
| hasChildren$0: function() { |
| return J.get$length$asx(J.get$children$x(this.cls)) > 0; |
| } |
| }, |
| ClassTreeElement: { |
| "^": "ObservatoryElement_ChangeNotifier1;_class_tree_element$__$isolate,tree=,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$isolate: function(receiver) { |
| return receiver._class_tree_element$__$isolate; |
| }, |
| set$isolate: function(receiver, value) { |
| receiver._class_tree_element$__$isolate = this.notifyPropertyChange$3(receiver, C.Symbol_isolate, receiver._class_tree_element$__$isolate, value); |
| }, |
| attached$0: function(receiver) { |
| var t1; |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| t1 = R._toObservableDeep([]); |
| receiver.tree = new G.TableTree(t1, null, null); |
| t1 = receiver._class_tree_element$__$isolate; |
| if (t1 != null) |
| this._update$1(receiver, t1.get$objectClass()); |
| }, |
| isolateChanged$1: [function(receiver, oldValue) { |
| receiver._class_tree_element$__$isolate.getClassHierarchy$0().then$1(new O.ClassTreeElement_isolateChanged_closure(receiver)); |
| }, "call$1", "get$isolateChanged", 2, 0, 13, 57], |
| _update$1: function(receiver, root) { |
| var rootRow, e, stackTrace, t1, t2, rootRow0, t3, t4, t5, exception; |
| try { |
| t1 = receiver._class_tree_element$__$isolate; |
| t2 = H.setRuntimeTypeInfo([], [G.TableTreeRow]); |
| rootRow0 = new O.ClassTreeRow(t1, root, null, 0, t2, [], "\u2192", "cursor: pointer;", false, null, null); |
| rootRow0.TableTreeRow$1(null); |
| rootRow = rootRow0; |
| t1 = J.get$children$x(rootRow); |
| t2 = receiver._class_tree_element$__$isolate; |
| t3 = rootRow; |
| t4 = H.setRuntimeTypeInfo([], [G.TableTreeRow]); |
| t5 = t3 != null ? t3.get$depth() + 1 : 0; |
| t4 = new O.ClassTreeRow(t2, root, t3, t5, t4, [], "\u2192", "cursor: pointer;", false, null, null); |
| t4.TableTreeRow$1(t3); |
| t1.push(t4); |
| receiver.tree.initialize$1(rootRow); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| stackTrace = new H._StackTrace(exception, null); |
| N.Logger_Logger("").warning$3("_update", e, stackTrace); |
| } |
| |
| if (J.$eq(J.get$length$asx(receiver.tree.rows), 1)) |
| receiver.tree.toggle$1(0); |
| this.notifyPropertyChange$3(receiver, C.Symbol_tree, null, receiver.tree); |
| }, |
| padding$1: [function(receiver, row) { |
| return "padding-left: " + row.get$depth() * 16 + "px;"; |
| }, "call$1", "get$padding", 2, 0, 90, 91], |
| coloring$1: [function(receiver, row) { |
| return C.List_mBx[C.JSInt_methods.$mod(row.get$depth() - 1, 9)]; |
| }, "call$1", "get$coloring", 2, 0, 90, 91], |
| toggleExpanded$3: [function(receiver, e, detail, target) { |
| var row, e0, stackTrace, t1, t2, exception; |
| t1 = J.getInterceptor$x(e); |
| if (!J.$eq(J.get$id$x(t1.get$target(e)), "expand") && !J.$eq(t1.get$target(e), target)) |
| return; |
| row = J.get$parent$x(target); |
| if (!!J.getInterceptor(row).$isTableRowElement) |
| try { |
| t1 = receiver.tree; |
| t2 = J.get$rowIndex$x(row); |
| if (typeof t2 !== "number") |
| return t2.$sub(); |
| t1.toggle$1(t2 - 1); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e0 = t1; |
| stackTrace = new H._StackTrace(exception, null); |
| N.Logger_Logger("").warning$3("toggleExpanded", e0, stackTrace); |
| } |
| |
| }, "call$3", "get$toggleExpanded", 6, 0, 92, 1, 93, 94], |
| static: {ClassTreeElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ClassTreeElement_methods.Element$created$0(receiver); |
| C.ClassTreeElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier1: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| ClassTreeElement_isolateChanged_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(objectClass) { |
| J._update$1$x(this.this_0, objectClass); |
| }, "call$1", null, 2, 0, null, 95, "call"], |
| $isFunction: true |
| } |
| }], |
| ["class_view_element", "package:observatory/src/elements/class_view.dart", , Z, { |
| "^": "", |
| ClassViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier2;_class_view_element$__$cls,_class_view_element$__$instances,_class_view_element$__$retainedBytes,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$cls: function(receiver) { |
| return receiver._class_view_element$__$cls; |
| }, |
| set$cls: function(receiver, value) { |
| receiver._class_view_element$__$cls = this.notifyPropertyChange$3(receiver, C.Symbol_cls, receiver._class_view_element$__$cls, value); |
| }, |
| get$instances: function(receiver) { |
| return receiver._class_view_element$__$instances; |
| }, |
| set$instances: function(receiver, value) { |
| receiver._class_view_element$__$instances = this.notifyPropertyChange$3(receiver, C.Symbol_instances, receiver._class_view_element$__$instances, value); |
| }, |
| get$retainedBytes: function(receiver) { |
| return receiver._class_view_element$__$retainedBytes; |
| }, |
| set$retainedBytes: function(receiver, value) { |
| receiver._class_view_element$__$retainedBytes = this.notifyPropertyChange$3(receiver, C.Symbol_retainedBytes, receiver._class_view_element$__$retainedBytes, value); |
| }, |
| eval$1: [function(receiver, text) { |
| return receiver._class_view_element$__$cls.get$1("eval?expr=" + P.Uri__uriEncode(C.List_KIf, text, C.Utf8Codec_false, false)); |
| }, "call$1", "get$eval", 2, 0, 96, 97], |
| reachable$1: [function(receiver, limit) { |
| return receiver._class_view_element$__$cls.get$1("instances?limit=" + H.S(limit)).then$1(new Z.ClassViewElement_reachable_closure(receiver)); |
| }, "call$1", "get$reachable", 2, 0, 98, 99], |
| retainedSize$1: [function(receiver, dummy) { |
| return receiver._class_view_element$__$cls.get$1("retained").then$1(new Z.ClassViewElement_retainedSize_closure(receiver)); |
| }, "call$1", "get$retainedSize", 2, 0, 98, 100], |
| refresh$1: [function(receiver, done) { |
| receiver._class_view_element$__$instances = this.notifyPropertyChange$3(receiver, C.Symbol_instances, receiver._class_view_element$__$instances, null); |
| receiver._class_view_element$__$retainedBytes = this.notifyPropertyChange$3(receiver, C.Symbol_retainedBytes, receiver._class_view_element$__$retainedBytes, null); |
| J.reload$0$x(receiver._class_view_element$__$cls).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {ClassViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ClassViewElement_methods.Element$created$0(receiver); |
| C.ClassViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier2: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| ClassViewElement_reachable_closure: { |
| "^": "Closure:101;this_0", |
| call$1: [function(obj) { |
| var t1 = this.this_0; |
| t1._class_view_element$__$instances = J.notifyPropertyChange$3$x(t1, C.Symbol_instances, t1._class_view_element$__$instances, obj); |
| }, "call$1", null, 2, 0, null, 81, "call"], |
| $isFunction: true |
| }, |
| ClassViewElement_retainedSize_closure: { |
| "^": "Closure:101;this_0", |
| call$1: [function(obj) { |
| var t1, t2; |
| t1 = this.this_0; |
| t2 = H.Primitives_parseInt(J.$index$asx(obj, "valueAsString"), null, null); |
| t1._class_view_element$__$retainedBytes = J.notifyPropertyChange$3$x(t1, C.Symbol_retainedBytes, t1._class_view_element$__$retainedBytes, t2); |
| }, "call$1", null, 2, 0, null, 81, "call"], |
| $isFunction: true |
| } |
| }], |
| ["code_ref_element", "package:observatory/src/elements/code_ref.dart", , O, { |
| "^": "", |
| CodeRefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$code: function(receiver) { |
| return receiver._service_ref_element$__$ref; |
| }, |
| refChanged$1: [function(receiver, oldValue) { |
| Q.ServiceRefElement.prototype.refChanged$1.call(this, receiver, oldValue); |
| this.notifyPropertyChange$3(receiver, C.Symbol_code, 0, 1); |
| }, "call$1", "get$refChanged", 2, 0, 13, 57], |
| static: {CodeRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.CodeRefElement_methods.Element$created$0(receiver); |
| C.CodeRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| } |
| }], |
| ["code_view_element", "package:observatory/src/elements/code_view.dart", , F, { |
| "^": "", |
| CodeViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier3;_code_view_element$__$code,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$code: function(receiver) { |
| return receiver._code_view_element$__$code; |
| }, |
| set$code: function(receiver, value) { |
| receiver._code_view_element$__$code = this.notifyPropertyChange$3(receiver, C.Symbol_code, receiver._code_view_element$__$code, value); |
| }, |
| attached$0: function(receiver) { |
| var t1; |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| t1 = receiver._code_view_element$__$code; |
| if (t1 == null) |
| return; |
| J.load$0$x(t1).then$1(new F.CodeViewElement_attached_closure()); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._code_view_element$__$code).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| _findJumpTarget$1: function(receiver, target) { |
| var jumpTarget, address, node; |
| jumpTarget = J.get$attributes$x(target)._html$_element.getAttribute("data-jump-target"); |
| if (jumpTarget === "") |
| return; |
| address = H.Primitives_parseInt(jumpTarget, null, null); |
| node = (receiver.shadowRoot || receiver.webkitShadowRoot).querySelector("#addr-" + H.S(address)); |
| if (node == null) |
| return; |
| return node; |
| }, |
| mouseOver$3: [function(receiver, e, detail, target) { |
| var jt = this._findJumpTarget$1(receiver, target); |
| if (jt == null) |
| return; |
| J.get$classes$x(jt).add$1(0, "highlight"); |
| }, "call$3", "get$mouseOver", 6, 0, 102, 1, 93, 94], |
| mouseOut$3: [function(receiver, e, detail, target) { |
| var jt = this._findJumpTarget$1(receiver, target); |
| if (jt == null) |
| return; |
| J.get$classes$x(jt).remove$1(0, "highlight"); |
| }, "call$3", "get$mouseOut", 6, 0, 102, 1, 93, 94], |
| static: {CodeViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.CodeViewElement_methods.Element$created$0(receiver); |
| C.CodeViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier3: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| CodeViewElement_attached_closure: { |
| "^": "Closure:103;", |
| call$1: [function(c) { |
| c.loadScript$0(); |
| }, "call$1", null, 2, 0, null, 80, "call"], |
| $isFunction: true |
| } |
| }], |
| ["curly_block_element", "package:observatory/src/elements/curly_block.dart", , R, { |
| "^": "", |
| CurlyBlockElement: { |
| "^": "PolymerElement_ChangeNotifier0;_curly_block_element$__$expanded,_curly_block_element$__$busy,_curly_block_element$__$callback,_curly_block_element$__$expand,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$expanded: function(receiver) { |
| return receiver._curly_block_element$__$expanded; |
| }, |
| set$expanded: function(receiver, value) { |
| receiver._curly_block_element$__$expanded = this.notifyPropertyChange$3(receiver, C.Symbol_expanded, receiver._curly_block_element$__$expanded, value); |
| }, |
| get$busy: function(receiver) { |
| return receiver._curly_block_element$__$busy; |
| }, |
| set$busy: function(receiver, value) { |
| receiver._curly_block_element$__$busy = this.notifyPropertyChange$3(receiver, C.Symbol_busy, receiver._curly_block_element$__$busy, value); |
| }, |
| get$callback: function(receiver) { |
| return receiver._curly_block_element$__$callback; |
| }, |
| callback$0: function($receiver) { |
| return this.get$callback($receiver).call$0(); |
| }, |
| callback$2: function($receiver, arg0, arg1) { |
| return this.get$callback($receiver).call$2(arg0, arg1); |
| }, |
| set$callback: function(receiver, value) { |
| receiver._curly_block_element$__$callback = this.notifyPropertyChange$3(receiver, C.Symbol_callback, receiver._curly_block_element$__$callback, value); |
| }, |
| get$expand: function(receiver) { |
| return receiver._curly_block_element$__$expand; |
| }, |
| set$expand: function(receiver, value) { |
| receiver._curly_block_element$__$expand = this.notifyPropertyChange$3(receiver, C.Symbol_expand, receiver._curly_block_element$__$expand, value); |
| }, |
| expandChanged$1: [function(receiver, oldValue) { |
| var t1 = receiver._curly_block_element$__$expand; |
| receiver._curly_block_element$__$expanded = this.notifyPropertyChange$3(receiver, C.Symbol_expanded, receiver._curly_block_element$__$expanded, t1); |
| }, "call$1", "get$expandChanged", 2, 0, 20, 57], |
| doneCallback$0: [function(receiver) { |
| var t1 = receiver._curly_block_element$__$expanded; |
| receiver._curly_block_element$__$expanded = this.notifyPropertyChange$3(receiver, C.Symbol_expanded, t1, t1 !== true); |
| receiver._curly_block_element$__$busy = this.notifyPropertyChange$3(receiver, C.Symbol_busy, receiver._curly_block_element$__$busy, false); |
| }, "call$0", "get$doneCallback", 0, 0, 18], |
| toggleExpand$3: [function(receiver, a, b, c) { |
| var t1 = receiver._curly_block_element$__$busy; |
| if (t1 === true) |
| return; |
| if (receiver._curly_block_element$__$callback != null) { |
| receiver._curly_block_element$__$busy = this.notifyPropertyChange$3(receiver, C.Symbol_busy, t1, true); |
| this.callback$2(receiver, receiver._curly_block_element$__$expanded !== true, this.get$doneCallback(receiver)); |
| } else { |
| t1 = receiver._curly_block_element$__$expanded; |
| receiver._curly_block_element$__$expanded = this.notifyPropertyChange$3(receiver, C.Symbol_expanded, t1, t1 !== true); |
| } |
| }, "call$3", "get$toggleExpand", 6, 0, 79, 46, 47, 80], |
| static: {CurlyBlockElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._curly_block_element$__$expanded = false; |
| receiver._curly_block_element$__$busy = false; |
| receiver._curly_block_element$__$callback = null; |
| receiver._curly_block_element$__$expand = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.CurlyBlockElement_methods.Element$created$0(receiver); |
| C.CurlyBlockElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| PolymerElement_ChangeNotifier0: { |
| "^": "PolymerElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["dart._internal", "dart:_internal", , H, { |
| "^": "", |
| IterableMixinWorkaround_forEach: function(iterable, f) { |
| var t1; |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(iterable, iterable.length, 0, null), [H.getTypeArgumentByIndex(iterable, 0)]); t1.moveNext$0();) |
| f.call$1(t1._current); |
| }, |
| IterableMixinWorkaround_any: function(iterable, f) { |
| var t1; |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(iterable, iterable.length, 0, null), [H.getTypeArgumentByIndex(iterable, 0)]); t1.moveNext$0();) |
| if (f.call$1(t1._current) === true) |
| return true; |
| return false; |
| }, |
| IterableMixinWorkaround_fold: function(iterable, initialValue, combine) { |
| var t1; |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(iterable, iterable.length, 0, null), [H.getTypeArgumentByIndex(iterable, 0)]); t1.moveNext$0();) |
| initialValue = combine.call$2(initialValue, t1._current); |
| return initialValue; |
| }, |
| IterableMixinWorkaround_sortList: function(list, compare) { |
| if (compare == null) |
| compare = P.Comparable_compare$closure(); |
| H.Sort__doSort(list, 0, list.length - 1, compare); |
| }, |
| IterableMixinWorkaround__rangeCheck: function(list, start, end) { |
| var t1 = J.getInterceptor$n(start); |
| if (t1.$lt(start, 0) || t1.$gt(start, list.length)) |
| throw H.wrapException(P.RangeError$range(start, 0, list.length)); |
| t1 = J.getInterceptor$n(end); |
| if (t1.$lt(end, start) || t1.$gt(end, list.length)) |
| throw H.wrapException(P.RangeError$range(end, start, list.length)); |
| }, |
| IterableMixinWorkaround_setRangeList: function(list, start, end, from, skipCount) { |
| var $length, t1, otherStart, otherList; |
| H.IterableMixinWorkaround__rangeCheck(list, start, end); |
| $length = J.$sub$n(end, start); |
| if (J.$eq($length, 0)) |
| return; |
| if (J.$lt$n(skipCount, 0)) |
| throw H.wrapException(P.ArgumentError$(skipCount)); |
| t1 = J.getInterceptor(from); |
| if (!!t1.$isList) { |
| otherStart = skipCount; |
| otherList = from; |
| } else { |
| otherList = t1.skip$1(from, skipCount).toList$1$growable(0, false); |
| otherStart = 0; |
| } |
| if (J.$gt$n(J.$add$ns(otherStart, $length), J.get$length$asx(otherList))) |
| throw H.wrapException(H.IterableElementError_tooFew()); |
| H.Lists_copy(otherList, otherStart, list, start, $length); |
| }, |
| IterableMixinWorkaround_insertAllList: function(list, index, iterable) { |
| var t1, insertionLength, t2, index0; |
| if (index < 0 || index > list.length) |
| throw H.wrapException(P.RangeError$range(index, 0, list.length)); |
| t1 = J.getInterceptor(iterable); |
| if (!t1.$isEfficientLength) |
| iterable = t1.toList$1$growable(iterable, false); |
| t1 = J.getInterceptor$asx(iterable); |
| insertionLength = t1.get$length(iterable); |
| t2 = list.length; |
| if (typeof insertionLength !== "number") |
| return H.iae(insertionLength); |
| C.JSArray_methods.set$length(list, t2 + insertionLength); |
| t2 = list.length; |
| if (!!list.immutable$list) |
| H.throwExpression(P.UnsupportedError$("set range")); |
| H.IterableMixinWorkaround_setRangeList(list, index + insertionLength, t2, list, index); |
| for (t1 = t1.get$iterator(iterable); t1.moveNext$0(); index = index0) { |
| index0 = index + 1; |
| C.JSArray_methods.$indexSet(list, index, t1.get$current()); |
| } |
| }, |
| IterableMixinWorkaround_setAllList: function(list, index, iterable) { |
| var t1, index0; |
| if (index < 0 || index > list.length) |
| throw H.wrapException(P.RangeError$range(index, 0, list.length)); |
| for (t1 = J.get$iterator$ax(iterable); t1.moveNext$0(); index = index0) { |
| index0 = index + 1; |
| C.JSArray_methods.$indexSet(list, index, t1.get$current()); |
| } |
| }, |
| IterableElementError_noElement: function() { |
| return new P.StateError("No element"); |
| }, |
| IterableElementError_tooFew: function() { |
| return new P.StateError("Too few elements"); |
| }, |
| Lists_copy: function(src, srcStart, dst, dstStart, count) { |
| var t1, i, j, t2, t3; |
| t1 = J.getInterceptor$n(srcStart); |
| if (t1.$lt(srcStart, dstStart)) |
| for (i = J.$sub$n(t1.$add(srcStart, count), 1), j = J.$sub$n(J.$add$ns(dstStart, count), 1), t1 = J.getInterceptor$asx(src); t2 = J.getInterceptor$n(i), t2.$ge(i, srcStart); i = t2.$sub(i, 1), j = J.$sub$n(j, 1)) |
| C.JSArray_methods.$indexSet(dst, j, t1.$index(src, i)); |
| else |
| for (t2 = J.getInterceptor$asx(src), j = dstStart, i = srcStart; t3 = J.getInterceptor$n(i), t3.$lt(i, t1.$add(srcStart, count)); i = t3.$add(i, 1), j = J.$add$ns(j, 1)) |
| C.JSArray_methods.$indexSet(dst, j, t2.$index(src, i)); |
| }, |
| Lists_indexOf: function(a, element, startIndex, endIndex) { |
| var i; |
| if (startIndex >= a.length) |
| return -1; |
| for (i = startIndex; i < endIndex; ++i) { |
| if (i >= a.length) |
| return H.ioore(a, i); |
| if (J.$eq(a[i], element)) |
| return i; |
| } |
| return -1; |
| }, |
| Lists_lastIndexOf: function(a, element, startIndex) { |
| var t1, i; |
| if (typeof startIndex !== "number") |
| return startIndex.$lt(); |
| if (startIndex < 0) |
| return -1; |
| t1 = a.length; |
| if (startIndex >= t1) |
| startIndex = t1 - 1; |
| for (i = startIndex; i >= 0; --i) { |
| if (i >= a.length) |
| return H.ioore(a, i); |
| if (J.$eq(a[i], element)) |
| return i; |
| } |
| return -1; |
| }, |
| Sort__doSort: function(a, left, right, compare) { |
| if (right - left <= 32) |
| H.Sort__insertionSort(a, left, right, compare); |
| else |
| H.Sort__dualPivotQuicksort(a, left, right, compare); |
| }, |
| Sort__insertionSort: function(a, left, right, compare) { |
| var i, t1, el, j, j0; |
| for (i = left + 1, t1 = J.getInterceptor$asx(a); i <= right; ++i) { |
| el = t1.$index(a, i); |
| j = i; |
| while (true) { |
| if (!(j > left && J.$gt$n(compare.call$2(t1.$index(a, j - 1), el), 0))) |
| break; |
| j0 = j - 1; |
| t1.$indexSet(a, j, t1.$index(a, j0)); |
| j = j0; |
| } |
| t1.$indexSet(a, j, el); |
| } |
| }, |
| Sort__dualPivotQuicksort: function(a, left, right, compare) { |
| var sixth, index1, index5, index3, index2, index4, t1, el1, el2, el3, el4, el5, t0, less, great, k, ak, comp, t2, great0, less0, pivots_are_equal; |
| sixth = C.JSInt_methods._tdivFast$1(right - left + 1, 6); |
| index1 = left + sixth; |
| index5 = right - sixth; |
| index3 = C.JSInt_methods._tdivFast$1(left + right, 2); |
| index2 = index3 - sixth; |
| index4 = index3 + sixth; |
| t1 = J.getInterceptor$asx(a); |
| el1 = t1.$index(a, index1); |
| el2 = t1.$index(a, index2); |
| el3 = t1.$index(a, index3); |
| el4 = t1.$index(a, index4); |
| el5 = t1.$index(a, index5); |
| if (J.$gt$n(compare.call$2(el1, el2), 0)) { |
| t0 = el2; |
| el2 = el1; |
| el1 = t0; |
| } |
| if (J.$gt$n(compare.call$2(el4, el5), 0)) { |
| t0 = el5; |
| el5 = el4; |
| el4 = t0; |
| } |
| if (J.$gt$n(compare.call$2(el1, el3), 0)) { |
| t0 = el3; |
| el3 = el1; |
| el1 = t0; |
| } |
| if (J.$gt$n(compare.call$2(el2, el3), 0)) { |
| t0 = el3; |
| el3 = el2; |
| el2 = t0; |
| } |
| if (J.$gt$n(compare.call$2(el1, el4), 0)) { |
| t0 = el4; |
| el4 = el1; |
| el1 = t0; |
| } |
| if (J.$gt$n(compare.call$2(el3, el4), 0)) { |
| t0 = el4; |
| el4 = el3; |
| el3 = t0; |
| } |
| if (J.$gt$n(compare.call$2(el2, el5), 0)) { |
| t0 = el5; |
| el5 = el2; |
| el2 = t0; |
| } |
| if (J.$gt$n(compare.call$2(el2, el3), 0)) { |
| t0 = el3; |
| el3 = el2; |
| el2 = t0; |
| } |
| if (J.$gt$n(compare.call$2(el4, el5), 0)) { |
| t0 = el5; |
| el5 = el4; |
| el4 = t0; |
| } |
| t1.$indexSet(a, index1, el1); |
| t1.$indexSet(a, index3, el3); |
| t1.$indexSet(a, index5, el5); |
| t1.$indexSet(a, index2, t1.$index(a, left)); |
| t1.$indexSet(a, index4, t1.$index(a, right)); |
| less = left + 1; |
| great = right - 1; |
| if (J.$eq(compare.call$2(el2, el4), 0)) { |
| for (k = less; k <= great; ++k) { |
| ak = t1.$index(a, k); |
| comp = compare.call$2(ak, el2); |
| t2 = J.getInterceptor(comp); |
| if (t2.$eq(comp, 0)) |
| continue; |
| if (t2.$lt(comp, 0)) { |
| if (k !== less) { |
| t1.$indexSet(a, k, t1.$index(a, less)); |
| t1.$indexSet(a, less, ak); |
| } |
| ++less; |
| } else |
| for (; true;) { |
| comp = compare.call$2(t1.$index(a, great), el2); |
| t2 = J.getInterceptor$n(comp); |
| if (t2.$gt(comp, 0)) { |
| --great; |
| continue; |
| } else { |
| great0 = great - 1; |
| if (t2.$lt(comp, 0)) { |
| t1.$indexSet(a, k, t1.$index(a, less)); |
| less0 = less + 1; |
| t1.$indexSet(a, less, t1.$index(a, great)); |
| t1.$indexSet(a, great, ak); |
| great = great0; |
| less = less0; |
| break; |
| } else { |
| t1.$indexSet(a, k, t1.$index(a, great)); |
| t1.$indexSet(a, great, ak); |
| great = great0; |
| break; |
| } |
| } |
| } |
| } |
| pivots_are_equal = true; |
| } else { |
| for (k = less; k <= great; ++k) { |
| ak = t1.$index(a, k); |
| if (J.$lt$n(compare.call$2(ak, el2), 0)) { |
| if (k !== less) { |
| t1.$indexSet(a, k, t1.$index(a, less)); |
| t1.$indexSet(a, less, ak); |
| } |
| ++less; |
| } else if (J.$gt$n(compare.call$2(ak, el4), 0)) |
| for (; true;) |
| if (J.$gt$n(compare.call$2(t1.$index(a, great), el4), 0)) { |
| --great; |
| if (great < k) |
| break; |
| continue; |
| } else { |
| great0 = great - 1; |
| if (J.$lt$n(compare.call$2(t1.$index(a, great), el2), 0)) { |
| t1.$indexSet(a, k, t1.$index(a, less)); |
| less0 = less + 1; |
| t1.$indexSet(a, less, t1.$index(a, great)); |
| t1.$indexSet(a, great, ak); |
| great = great0; |
| less = less0; |
| } else { |
| t1.$indexSet(a, k, t1.$index(a, great)); |
| t1.$indexSet(a, great, ak); |
| great = great0; |
| } |
| break; |
| } |
| } |
| pivots_are_equal = false; |
| } |
| t2 = less - 1; |
| t1.$indexSet(a, left, t1.$index(a, t2)); |
| t1.$indexSet(a, t2, el2); |
| t2 = great + 1; |
| t1.$indexSet(a, right, t1.$index(a, t2)); |
| t1.$indexSet(a, t2, el4); |
| H.Sort__doSort(a, left, less - 2, compare); |
| H.Sort__doSort(a, great + 2, right, compare); |
| if (pivots_are_equal) |
| return; |
| if (less < index1 && great > index5) { |
| for (; J.$eq(compare.call$2(t1.$index(a, less), el2), 0);) |
| ++less; |
| for (; J.$eq(compare.call$2(t1.$index(a, great), el4), 0);) |
| --great; |
| for (k = less; k <= great; ++k) { |
| ak = t1.$index(a, k); |
| if (J.$eq(compare.call$2(ak, el2), 0)) { |
| if (k !== less) { |
| t1.$indexSet(a, k, t1.$index(a, less)); |
| t1.$indexSet(a, less, ak); |
| } |
| ++less; |
| } else if (J.$eq(compare.call$2(ak, el4), 0)) |
| for (; true;) |
| if (J.$eq(compare.call$2(t1.$index(a, great), el4), 0)) { |
| --great; |
| if (great < k) |
| break; |
| continue; |
| } else { |
| great0 = great - 1; |
| if (J.$lt$n(compare.call$2(t1.$index(a, great), el2), 0)) { |
| t1.$indexSet(a, k, t1.$index(a, less)); |
| less0 = less + 1; |
| t1.$indexSet(a, less, t1.$index(a, great)); |
| t1.$indexSet(a, great, ak); |
| great = great0; |
| less = less0; |
| } else { |
| t1.$indexSet(a, k, t1.$index(a, great)); |
| t1.$indexSet(a, great, ak); |
| great = great0; |
| } |
| break; |
| } |
| } |
| H.Sort__doSort(a, less, great, compare); |
| } else |
| H.Sort__doSort(a, less, great, compare); |
| }, |
| ListIterable: { |
| "^": "IterableBase;", |
| get$iterator: function(_) { |
| return H.setRuntimeTypeInfo(new H.ListIterator(this, this.get$length(this), 0, null), [H.getRuntimeTypeArgument(this, "ListIterable", 0)]); |
| }, |
| forEach$1: function(_, action) { |
| var $length, i; |
| $length = this.get$length(this); |
| if (typeof $length !== "number") |
| return H.iae($length); |
| i = 0; |
| for (; i < $length; ++i) { |
| action.call$1(this.elementAt$1(0, i)); |
| if ($length !== this.get$length(this)) |
| throw H.wrapException(P.ConcurrentModificationError$(this)); |
| } |
| }, |
| get$isEmpty: function(_) { |
| return J.$eq(this.get$length(this), 0); |
| }, |
| get$last: function(_) { |
| if (J.$eq(this.get$length(this), 0)) |
| throw H.wrapException(H.IterableElementError_noElement()); |
| return this.elementAt$1(0, J.$sub$n(this.get$length(this), 1)); |
| }, |
| contains$1: function(_, element) { |
| var $length, i; |
| $length = this.get$length(this); |
| if (typeof $length !== "number") |
| return H.iae($length); |
| i = 0; |
| for (; i < $length; ++i) { |
| if (J.$eq(this.elementAt$1(0, i), element)) |
| return true; |
| if ($length !== this.get$length(this)) |
| throw H.wrapException(P.ConcurrentModificationError$(this)); |
| } |
| return false; |
| }, |
| any$1: function(_, test) { |
| var $length, i; |
| $length = this.get$length(this); |
| if (typeof $length !== "number") |
| return H.iae($length); |
| i = 0; |
| for (; i < $length; ++i) { |
| if (test.call$1(this.elementAt$1(0, i)) === true) |
| return true; |
| if ($length !== this.get$length(this)) |
| throw H.wrapException(P.ConcurrentModificationError$(this)); |
| } |
| return false; |
| }, |
| join$1: function(_, separator) { |
| var $length, t1, first, buffer, i, str; |
| $length = this.get$length(this); |
| if (separator.length !== 0) { |
| t1 = J.getInterceptor($length); |
| if (t1.$eq($length, 0)) |
| return ""; |
| first = H.S(this.elementAt$1(0, 0)); |
| if (!t1.$eq($length, this.get$length(this))) |
| throw H.wrapException(P.ConcurrentModificationError$(this)); |
| buffer = P.StringBuffer$(first); |
| if (typeof $length !== "number") |
| return H.iae($length); |
| i = 1; |
| for (; i < $length; ++i) { |
| buffer._contents += separator; |
| str = this.elementAt$1(0, i); |
| buffer._contents += typeof str === "string" ? str : H.S(str); |
| if ($length !== this.get$length(this)) |
| throw H.wrapException(P.ConcurrentModificationError$(this)); |
| } |
| return buffer._contents; |
| } else { |
| buffer = P.StringBuffer$(""); |
| if (typeof $length !== "number") |
| return H.iae($length); |
| i = 0; |
| for (; i < $length; ++i) { |
| str = this.elementAt$1(0, i); |
| buffer._contents += typeof str === "string" ? str : H.S(str); |
| if ($length !== this.get$length(this)) |
| throw H.wrapException(P.ConcurrentModificationError$(this)); |
| } |
| return buffer._contents; |
| } |
| }, |
| where$1: function(_, test) { |
| return P.IterableBase.prototype.where$1.call(this, this, test); |
| }, |
| map$1: [function(_, f) { |
| return H.setRuntimeTypeInfo(new H.MappedListIterable(this, f), [null, null]); |
| }, "call$1", "get$map", 2, 0, function() { |
| return H.computeSignature(function(E) { |
| return {func: "Iterable__dynamic__E0", ret: P.Iterable, args: [{func: "dynamic__E0", args: [E]}]}; |
| }, this.$receiver, "ListIterable"); |
| }, 31], |
| toList$1$growable: function(_, growable) { |
| var result, t1, i; |
| if (growable) { |
| result = H.setRuntimeTypeInfo([], [H.getRuntimeTypeArgument(this, "ListIterable", 0)]); |
| C.JSArray_methods.set$length(result, this.get$length(this)); |
| } else { |
| t1 = this.get$length(this); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| t1 = Array(t1); |
| t1.fixed$length = init; |
| result = H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "ListIterable", 0)]); |
| } |
| i = 0; |
| while (true) { |
| t1 = this.get$length(this); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| if (!(i < t1)) |
| break; |
| t1 = this.elementAt$1(0, i); |
| if (i >= result.length) |
| return H.ioore(result, i); |
| result[i] = t1; |
| ++i; |
| } |
| return result; |
| }, |
| toList$0: function($receiver) { |
| return this.toList$1$growable($receiver, true); |
| }, |
| $isEfficientLength: true |
| }, |
| SubListIterable: { |
| "^": "ListIterable;_iterable,_start,_endOrLength", |
| get$_endIndex: function() { |
| var $length, t1; |
| $length = J.get$length$asx(this._iterable); |
| t1 = this._endOrLength; |
| if (t1 == null || J.$gt$n(t1, $length)) |
| return $length; |
| return t1; |
| }, |
| get$_startIndex: function() { |
| var $length, t1; |
| $length = J.get$length$asx(this._iterable); |
| t1 = this._start; |
| if (J.$gt$n(t1, $length)) |
| return $length; |
| return t1; |
| }, |
| get$length: function(_) { |
| var $length, t1, t2; |
| $length = J.get$length$asx(this._iterable); |
| t1 = this._start; |
| if (J.$ge$n(t1, $length)) |
| return 0; |
| t2 = this._endOrLength; |
| if (t2 == null || J.$ge$n(t2, $length)) |
| return J.$sub$n($length, t1); |
| return J.$sub$n(t2, t1); |
| }, |
| elementAt$1: function(_, index) { |
| var realIndex = J.$add$ns(this.get$_startIndex(), index); |
| if (J.$lt$n(index, 0) || J.$ge$n(realIndex, this.get$_endIndex())) |
| throw H.wrapException(P.RangeError$range(index, 0, this.get$length(this))); |
| return J.elementAt$1$ax(this._iterable, realIndex); |
| }, |
| skip$1: function(_, count) { |
| if (J.$lt$n(count, 0)) |
| throw H.wrapException(P.RangeError$value(count)); |
| return H.SubListIterable$(this._iterable, J.$add$ns(this._start, count), this._endOrLength, null); |
| }, |
| take$1: function(_, count) { |
| var t1, t2, newEnd; |
| if (count < 0) |
| throw H.wrapException(P.RangeError$value(count)); |
| t1 = this._endOrLength; |
| t2 = this._start; |
| if (t1 == null) |
| return H.SubListIterable$(this._iterable, t2, J.$add$ns(t2, count), null); |
| else { |
| newEnd = J.$add$ns(t2, count); |
| if (J.$lt$n(t1, newEnd)) |
| return this; |
| return H.SubListIterable$(this._iterable, t2, newEnd, null); |
| } |
| }, |
| SubListIterable$3: function(_iterable, _start, _endOrLength, $E) { |
| var t1, t2, t3; |
| t1 = this._start; |
| t2 = J.getInterceptor$n(t1); |
| if (t2.$lt(t1, 0)) |
| throw H.wrapException(P.RangeError$value(t1)); |
| t3 = this._endOrLength; |
| if (t3 != null) { |
| if (J.$lt$n(t3, 0)) |
| throw H.wrapException(P.RangeError$value(t3)); |
| if (t2.$gt(t1, t3)) |
| throw H.wrapException(P.RangeError$range(t1, 0, t3)); |
| } |
| }, |
| static: {SubListIterable$: function(_iterable, _start, _endOrLength, $E) { |
| var t1 = H.setRuntimeTypeInfo(new H.SubListIterable(_iterable, _start, _endOrLength), [$E]); |
| t1.SubListIterable$3(_iterable, _start, _endOrLength, $E); |
| return t1; |
| }} |
| }, |
| ListIterator: { |
| "^": "Object;_iterable,_length,_index,_current", |
| get$current: function() { |
| return this._current; |
| }, |
| moveNext$0: function() { |
| var t1, t2, $length, t3; |
| t1 = this._iterable; |
| t2 = J.getInterceptor$asx(t1); |
| $length = t2.get$length(t1); |
| if (!J.$eq(this._length, $length)) |
| throw H.wrapException(P.ConcurrentModificationError$(t1)); |
| t3 = this._index; |
| if (typeof $length !== "number") |
| return H.iae($length); |
| if (t3 >= $length) { |
| this._current = null; |
| return false; |
| } |
| this._current = t2.elementAt$1(t1, t3); |
| ++this._index; |
| return true; |
| } |
| }, |
| MappedIterable: { |
| "^": "IterableBase;_iterable,_f", |
| _f$1: function(arg0) { |
| return this._f.call$1(arg0); |
| }, |
| get$iterator: function(_) { |
| var t1 = new H.MappedIterator(null, J.get$iterator$ax(this._iterable), this._f); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t1; |
| }, |
| get$length: function(_) { |
| return J.get$length$asx(this._iterable); |
| }, |
| get$isEmpty: function(_) { |
| return J.get$isEmpty$asx(this._iterable); |
| }, |
| get$last: function(_) { |
| return this._f$1(J.get$last$ax(this._iterable)); |
| }, |
| $asIterableBase: function($S, $T) { |
| return [$T]; |
| }, |
| $asIterable: function($S, $T) { |
| return [$T]; |
| }, |
| static: {MappedIterable_MappedIterable: function(iterable, $function, $S, $T) { |
| if (!!J.getInterceptor(iterable).$isEfficientLength) |
| return H.setRuntimeTypeInfo(new H.EfficientLengthMappedIterable(iterable, $function), [$S, $T]); |
| return H.setRuntimeTypeInfo(new H.MappedIterable(iterable, $function), [$S, $T]); |
| }} |
| }, |
| EfficientLengthMappedIterable: { |
| "^": "MappedIterable;_iterable,_f", |
| $isEfficientLength: true |
| }, |
| MappedIterator: { |
| "^": "Iterator;_current,_iterator,_f", |
| _f$1: function(arg0) { |
| return this._f.call$1(arg0); |
| }, |
| moveNext$0: function() { |
| var t1 = this._iterator; |
| if (t1.moveNext$0()) { |
| this._current = this._f$1(t1.get$current()); |
| return true; |
| } |
| this._current = null; |
| return false; |
| }, |
| get$current: function() { |
| return this._current; |
| }, |
| $asIterator: function($S, $T) { |
| return [$T]; |
| } |
| }, |
| MappedListIterable: { |
| "^": "ListIterable;_source,_f", |
| _f$1: function(arg0) { |
| return this._f.call$1(arg0); |
| }, |
| get$length: function(_) { |
| return J.get$length$asx(this._source); |
| }, |
| elementAt$1: function(_, index) { |
| return this._f$1(J.elementAt$1$ax(this._source, index)); |
| }, |
| $asListIterable: function($S, $T) { |
| return [$T]; |
| }, |
| $asIterableBase: function($S, $T) { |
| return [$T]; |
| }, |
| $asIterable: function($S, $T) { |
| return [$T]; |
| }, |
| $isEfficientLength: true |
| }, |
| WhereIterable: { |
| "^": "IterableBase;_iterable,_f", |
| get$iterator: function(_) { |
| var t1 = new H.WhereIterator(J.get$iterator$ax(this._iterable), this._f); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t1; |
| } |
| }, |
| WhereIterator: { |
| "^": "Iterator;_iterator,_f", |
| _f$1: function(arg0) { |
| return this._f.call$1(arg0); |
| }, |
| moveNext$0: function() { |
| for (var t1 = this._iterator; t1.moveNext$0();) |
| if (this._f$1(t1.get$current()) === true) |
| return true; |
| return false; |
| }, |
| get$current: function() { |
| return this._iterator.get$current(); |
| } |
| }, |
| ExpandIterable: { |
| "^": "IterableBase;_iterable,_f", |
| get$iterator: function(_) { |
| var t1 = new H.ExpandIterator(J.get$iterator$ax(this._iterable), this._f, C.C_EmptyIterator, null); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t1; |
| }, |
| $asIterableBase: function($S, $T) { |
| return [$T]; |
| }, |
| $asIterable: function($S, $T) { |
| return [$T]; |
| } |
| }, |
| ExpandIterator: { |
| "^": "Object;_iterator,_f,_currentExpansion,_current", |
| _f$1: function(arg0) { |
| return this._f.call$1(arg0); |
| }, |
| get$current: function() { |
| return this._current; |
| }, |
| moveNext$0: function() { |
| var t1, t2; |
| t1 = this._currentExpansion; |
| if (t1 == null) |
| return false; |
| for (t2 = this._iterator; !t1.moveNext$0();) { |
| this._current = null; |
| if (t2.moveNext$0()) { |
| this._currentExpansion = null; |
| t1 = J.get$iterator$ax(this._f$1(t2.get$current())); |
| this._currentExpansion = t1; |
| } else |
| return false; |
| } |
| this._current = this._currentExpansion.get$current(); |
| return true; |
| } |
| }, |
| EmptyIterator: { |
| "^": "Object;", |
| moveNext$0: function() { |
| return false; |
| }, |
| get$current: function() { |
| return; |
| } |
| }, |
| FixedLengthListMixin: { |
| "^": "Object;", |
| set$length: function(receiver, newLength) { |
| throw H.wrapException(P.UnsupportedError$("Cannot change the length of a fixed-length list")); |
| }, |
| add$1: function(receiver, value) { |
| throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); |
| }, |
| insert$2: function(receiver, index, value) { |
| throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); |
| }, |
| insertAll$2: function(receiver, at, iterable) { |
| throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); |
| }, |
| addAll$1: function(receiver, iterable) { |
| throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list")); |
| }, |
| clear$0: function(receiver) { |
| throw H.wrapException(P.UnsupportedError$("Cannot clear a fixed-length list")); |
| }, |
| removeRange$2: function(receiver, start, end) { |
| throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list")); |
| } |
| }, |
| UnmodifiableListMixin: { |
| "^": "Object;", |
| $indexSet: function(_, index, value) { |
| throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); |
| }, |
| set$length: function(_, newLength) { |
| throw H.wrapException(P.UnsupportedError$("Cannot change the length of an unmodifiable list")); |
| }, |
| setAll$2: function(_, at, iterable) { |
| throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); |
| }, |
| add$1: function(_, value) { |
| throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); |
| }, |
| insert$2: function(_, index, value) { |
| throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); |
| }, |
| insertAll$2: function(_, at, iterable) { |
| throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); |
| }, |
| addAll$1: function(_, iterable) { |
| throw H.wrapException(P.UnsupportedError$("Cannot add to an unmodifiable list")); |
| }, |
| sort$1: function(_, compare) { |
| throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); |
| }, |
| sort$0: function($receiver) { |
| return this.sort$1($receiver, null); |
| }, |
| clear$0: function(_) { |
| throw H.wrapException(P.UnsupportedError$("Cannot clear an unmodifiable list")); |
| }, |
| setRange$4: function(_, start, end, iterable, skipCount) { |
| throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable list")); |
| }, |
| setRange$3: function($receiver, start, end, iterable) { |
| return this.setRange$4($receiver, start, end, iterable, 0); |
| }, |
| removeRange$2: function(_, start, end) { |
| throw H.wrapException(P.UnsupportedError$("Cannot remove from an unmodifiable list")); |
| }, |
| $isList: true, |
| $asList: null, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null |
| }, |
| UnmodifiableListBase: { |
| "^": "ListBase+UnmodifiableListMixin;", |
| $isList: true, |
| $asList: null, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null |
| }, |
| ReversedListIterable: { |
| "^": "ListIterable;_source", |
| get$length: function(_) { |
| return J.get$length$asx(this._source); |
| }, |
| elementAt$1: function(_, index) { |
| var t1, t2, t3; |
| t1 = this._source; |
| t2 = J.getInterceptor$asx(t1); |
| t3 = t2.get$length(t1); |
| if (typeof index !== "number") |
| return H.iae(index); |
| return t2.elementAt$1(t1, t3 - 1 - index); |
| } |
| }, |
| Symbol0: { |
| "^": "Object;_name>", |
| $eq: function(_, other) { |
| if (other == null) |
| return false; |
| return !!J.getInterceptor(other).$isSymbol0 && J.$eq(this._name, other._name); |
| }, |
| get$hashCode: function(_) { |
| var t1 = J.get$hashCode$(this._name); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| return 536870911 & 664597 * t1; |
| }, |
| toString$0: function(_) { |
| return "Symbol(\"" + H.S(this._name) + "\")"; |
| }, |
| $isSymbol0: true, |
| $isSymbol: true, |
| static: {"^": "Symbol_reservedWordRE,Symbol_publicIdentifierRE,Symbol_identifierRE,Symbol_operatorRE,Symbol_publicSymbolPattern,Symbol_symbolPattern"} |
| } |
| }], |
| ["dart._js_names", "dart:_js_names", , H, { |
| "^": "", |
| extractKeys: function(victim) { |
| var t1 = H.setRuntimeTypeInfo(function(victim, hasOwnProperty) { |
| var result = []; |
| for (var key in victim) { |
| if (hasOwnProperty.call(victim, key)) |
| result.push(key); |
| } |
| return result; |
| }(victim, Object.prototype.hasOwnProperty), [null]); |
| t1.fixed$length = init; |
| return t1; |
| } |
| }], |
| ["dart.async", "dart:async", , P, { |
| "^": "", |
| _AsyncRun__initializeScheduleImmediate: function() { |
| if ($.get$globalThis().scheduleImmediate != null) |
| return P._AsyncRun__scheduleImmediateJsOverride$closure(); |
| return P._AsyncRun__scheduleImmediateWithTimer$closure(); |
| }, |
| _AsyncRun__scheduleImmediateJsOverride: [function(callback) { |
| ++init.globalState.topEventLoop._activeJsAsyncCount; |
| $.get$globalThis().scheduleImmediate(H.convertDartClosureToJS(new P._AsyncRun__scheduleImmediateJsOverride_internalCallback(callback), 0)); |
| }, "call$1", "_AsyncRun__scheduleImmediateJsOverride$closure", 2, 0, 19], |
| _AsyncRun__scheduleImmediateWithTimer: [function(callback) { |
| P._createTimer(C.Duration_0, callback); |
| }, "call$1", "_AsyncRun__scheduleImmediateWithTimer$closure", 2, 0, 19], |
| _registerErrorHandler: function(errorHandler, zone) { |
| var t1 = H.getDynamicRuntimeType(); |
| t1 = H.buildFunctionType(t1, [t1, t1])._isTest$1(errorHandler); |
| if (t1) |
| return zone.registerBinaryCallback$1(errorHandler); |
| else |
| return zone.registerUnaryCallback$1(errorHandler); |
| }, |
| Future_Future: function(computation, $T) { |
| var result = P._Future$($T); |
| P.Timer_Timer(C.Duration_0, new P.Future_Future_closure(computation, result)); |
| return result; |
| }, |
| Future_wait: function(futures, eagerError) { |
| var t1, t2, t3, values, completer; |
| t1 = {}; |
| t1.completer_0 = null; |
| t1.values_1 = null; |
| t1.remaining_2 = 0; |
| t1.error_3 = null; |
| t1.stackTrace_4 = null; |
| t2 = new P.Future_wait_handleError(t1, eagerError); |
| for (t3 = H.setRuntimeTypeInfo(new H.ListIterator(futures, futures.length, 0, null), [H.getTypeArgumentByIndex(futures, 0)]); t3.moveNext$0();) |
| t3._current.then$2$onError(new P.Future_wait_closure(t1, eagerError, t1.remaining_2++), t2); |
| t2 = t1.remaining_2; |
| if (t2 === 0) |
| return P._Future$immediate(C.List_empty, null); |
| values = Array(t2); |
| values.fixed$length = init; |
| t1.values_1 = values; |
| t2 = P.List; |
| completer = H.setRuntimeTypeInfo(new P._AsyncCompleter(P._Future$(t2)), [t2]); |
| t1.completer_0 = completer; |
| return completer.future; |
| }, |
| _asyncRunCallbackLoop: function() { |
| var entry = $._nextCallback; |
| for (; entry != null;) { |
| J.callback$0$x(entry); |
| entry = entry.get$next(); |
| $._nextCallback = entry; |
| } |
| $._lastCallback = null; |
| }, |
| _asyncRunCallback: [function() { |
| var exception; |
| try { |
| P._asyncRunCallbackLoop(); |
| } catch (exception) { |
| H.unwrapException(exception); |
| $.get$_AsyncRun_scheduleImmediateClosure().call$1(P._asyncRunCallback$closure()); |
| $._nextCallback = $._nextCallback.get$next(); |
| throw exception; |
| } |
| |
| }, "call$0", "_asyncRunCallback$closure", 0, 0, 18], |
| _scheduleAsyncCallback: function(callback) { |
| var t1, t2; |
| t1 = $._lastCallback; |
| if (t1 == null) { |
| t1 = new P._AsyncCallbackEntry(callback, null); |
| $._lastCallback = t1; |
| $._nextCallback = t1; |
| $.get$_AsyncRun_scheduleImmediateClosure().call$1(P._asyncRunCallback$closure()); |
| } else { |
| t2 = new P._AsyncCallbackEntry(callback, null); |
| t1.next = t2; |
| $._lastCallback = t2; |
| } |
| }, |
| scheduleMicrotask: function(callback) { |
| var t1; |
| if (J.$eq($.Zone__current, C.C__RootZone)) { |
| $.Zone__current.scheduleMicrotask$1(callback); |
| return; |
| } |
| t1 = $.Zone__current; |
| t1.scheduleMicrotask$1(t1.bindCallback$2$runGuarded(callback, true)); |
| }, |
| StreamController_StreamController: function(onCancel, onListen, onPause, onResume, sync, $T) { |
| return sync ? H.setRuntimeTypeInfo(new P._SyncStreamController(onListen, onPause, onResume, onCancel, null, 0, null), [$T]) : H.setRuntimeTypeInfo(new P._AsyncStreamController(onListen, onPause, onResume, onCancel, null, 0, null), [$T]); |
| }, |
| StreamController_StreamController$broadcast: function(onCancel, onListen, sync, $T) { |
| var t1; |
| if (sync) { |
| t1 = H.setRuntimeTypeInfo(new P._SyncBroadcastStreamController(onListen, onCancel, 0, null, null, null, null), [$T]); |
| t1._async$_previous = t1; |
| t1._async$_next = t1; |
| } else { |
| t1 = H.setRuntimeTypeInfo(new P._AsyncBroadcastStreamController(onListen, onCancel, 0, null, null, null, null), [$T]); |
| t1._async$_previous = t1; |
| t1._async$_next = t1; |
| } |
| return t1; |
| }, |
| _runGuarded: function(notificationHandler) { |
| var result, e, s, exception, t1; |
| if (notificationHandler == null) |
| return; |
| try { |
| result = notificationHandler.call$0(); |
| if (!!J.getInterceptor(result).$isFuture) |
| return result; |
| return; |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| $.Zone__current.handleUncaughtError$2(e, s); |
| } |
| |
| }, |
| _nullDataHandler: [function(value) { |
| }, "call$1", "_nullDataHandler$closure", 2, 0, 20, 21], |
| _nullErrorHandler: [function(error, stackTrace) { |
| $.Zone__current.handleUncaughtError$2(error, stackTrace); |
| }, function(error) { |
| return P._nullErrorHandler(error, null); |
| }, null, "call$2", "call$1", "_nullErrorHandler$closure", 2, 2, 22, 23, 24, 25], |
| _nullDoneHandler: [function() { |
| }, "call$0", "_nullDoneHandler$closure", 0, 0, 18], |
| _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 = subscription.cancel$0(); |
| if (!!J.getInterceptor(cancelFuture).$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); |
| }, |
| _cancelAndValue: function(subscription, future, value) { |
| var cancelFuture = subscription.cancel$0(); |
| if (!!J.getInterceptor(cancelFuture).$isFuture) |
| cancelFuture.whenComplete$1(new P._cancelAndValue_closure(future, value)); |
| else |
| future._complete$1(value); |
| }, |
| Timer_Timer: function(duration, callback) { |
| var t1; |
| if (J.$eq($.Zone__current, C.C__RootZone)) |
| return $.Zone__current.createTimer$2(duration, callback); |
| t1 = $.Zone__current; |
| return t1.createTimer$2(duration, t1.bindCallback$2$runGuarded(callback, true)); |
| }, |
| _createTimer: function(duration, callback) { |
| var milliseconds = duration.get$inMilliseconds(); |
| return H.TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback); |
| }, |
| Zone__enter: function(zone) { |
| var previous = $.Zone__current; |
| $.Zone__current = zone; |
| return previous; |
| }, |
| _rootHandleUncaughtError: [function($self, $parent, zone, error, stackTrace) { |
| $self.run$1(new P._rootHandleUncaughtError_closure(error, stackTrace)); |
| }, "call$5", "_rootHandleUncaughtError$closure", 10, 0, 26, 27, 28, 29, 24, 25], |
| _rootRun: [function($self, $parent, zone, f) { |
| var old, t1; |
| if (J.$eq($.Zone__current, zone)) |
| return f.call$0(); |
| old = P.Zone__enter(zone); |
| try { |
| t1 = f.call$0(); |
| return t1; |
| } finally { |
| $.Zone__current = old; |
| } |
| }, "call$4", "_rootRun$closure", 8, 0, 30, 27, 28, 29, 31], |
| _rootRunUnary: [function($self, $parent, zone, f, arg) { |
| var old, t1; |
| if (J.$eq($.Zone__current, zone)) |
| return f.call$1(arg); |
| old = P.Zone__enter(zone); |
| try { |
| t1 = f.call$1(arg); |
| return t1; |
| } finally { |
| $.Zone__current = old; |
| } |
| }, "call$5", "_rootRunUnary$closure", 10, 0, 32, 27, 28, 29, 31, 33], |
| _rootRunBinary: [function($self, $parent, zone, f, arg1, arg2) { |
| var old, t1; |
| if (J.$eq($.Zone__current, zone)) |
| return f.call$2(arg1, arg2); |
| old = P.Zone__enter(zone); |
| try { |
| t1 = f.call$2(arg1, arg2); |
| return t1; |
| } finally { |
| $.Zone__current = old; |
| } |
| }, "call$6", "_rootRunBinary$closure", 12, 0, 34, 27, 28, 29, 31, 9, 10], |
| _rootRegisterCallback: [function($self, $parent, zone, f) { |
| return f; |
| }, "call$4", "_rootRegisterCallback$closure", 8, 0, 35, 27, 28, 29, 31], |
| _rootRegisterUnaryCallback: [function($self, $parent, zone, f) { |
| return f; |
| }, "call$4", "_rootRegisterUnaryCallback$closure", 8, 0, 36, 27, 28, 29, 31], |
| _rootRegisterBinaryCallback: [function($self, $parent, zone, f) { |
| return f; |
| }, "call$4", "_rootRegisterBinaryCallback$closure", 8, 0, 37, 27, 28, 29, 31], |
| _rootScheduleMicrotask: [function($self, $parent, zone, f) { |
| P._scheduleAsyncCallback(C.C__RootZone !== zone ? zone.bindCallback$1(f) : f); |
| }, "call$4", "_rootScheduleMicrotask$closure", 8, 0, 38], |
| _rootCreateTimer: [function($self, $parent, zone, duration, callback) { |
| return P._createTimer(duration, C.C__RootZone !== zone ? zone.bindCallback$1(callback) : callback); |
| }, "call$5", "_rootCreateTimer$closure", 10, 0, 39, 27, 28, 29, 40, 41], |
| _rootPrint: [function($self, $parent, zone, line) { |
| H.printString(line); |
| }, "call$4", "_rootPrint$closure", 8, 0, 42], |
| _printToZone: [function(line) { |
| J.print$1$x($.Zone__current, line); |
| }, "call$1", "_printToZone$closure", 2, 0, 43], |
| _rootFork: [function($self, $parent, zone, specification, zoneValues) { |
| var copiedMap; |
| $.printToZone = P._printToZone$closure(); |
| copiedMap = P.HashMap_HashMap(null, null, null, null, null); |
| return new P._CustomizedZone(zone, specification, copiedMap); |
| }, "call$5", "_rootFork$closure", 10, 0, 44], |
| _AsyncRun__scheduleImmediateJsOverride_internalCallback: { |
| "^": "Closure:69;callback_0", |
| call$0: [function() { |
| H.leaveJsAsync(); |
| this.callback_0.call$0(); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _AsyncError: { |
| "^": "Object;error>,stackTrace<", |
| $isError: true |
| }, |
| _BroadcastStream: { |
| "^": "_ControllerStream;_async$_controller" |
| }, |
| _BroadcastSubscription: { |
| "^": "_ControllerSubscription;_eventState@,_async$_next@,_async$_previous@,_async$_controller,_onData,_onError,_onDone,_zone,_state,_cancelFuture,_pending", |
| get$_async$_controller: function() { |
| return this._async$_controller; |
| }, |
| _expectsEvent$1: function(eventId) { |
| var t1 = this._eventState; |
| if (typeof t1 !== "number") |
| return t1.$and(); |
| return (t1 & 1) === eventId; |
| }, |
| _toggleEventId$0: function() { |
| var t1 = this._eventState; |
| if (typeof t1 !== "number") |
| return t1.$xor(); |
| this._eventState = t1 ^ 1; |
| }, |
| get$_isFiring: function() { |
| var t1 = this._eventState; |
| if (typeof t1 !== "number") |
| return t1.$and(); |
| return (t1 & 2) !== 0; |
| }, |
| _setRemoveAfterFiring$0: function() { |
| var t1 = this._eventState; |
| if (typeof t1 !== "number") |
| return t1.$or(); |
| this._eventState = t1 | 4; |
| }, |
| get$_removeAfterFiring: function() { |
| var t1 = this._eventState; |
| if (typeof t1 !== "number") |
| return t1.$and(); |
| return (t1 & 4) !== 0; |
| }, |
| _onPause$0: [function() { |
| }, "call$0", "get$_onPause", 0, 0, 18], |
| _onResume$0: [function() { |
| }, "call$0", "get$_onResume", 0, 0, 18], |
| static: {"^": "_BroadcastSubscription__STATE_EVENT_ID,_BroadcastSubscription__STATE_FIRING,_BroadcastSubscription__STATE_REMOVE_AFTER_FIRING"} |
| }, |
| _BroadcastStreamController: { |
| "^": "Object;_async$_next@,_async$_previous@", |
| get$isPaused: function() { |
| return false; |
| }, |
| _ensureDoneFuture$0: function() { |
| var t1 = this._doneFuture; |
| if (t1 != null) |
| return t1; |
| t1 = P._Future$(null); |
| this._doneFuture = t1; |
| return t1; |
| }, |
| _removeListener$1: function(subscription) { |
| var previous, next; |
| previous = subscription.get$_async$_previous(); |
| next = subscription.get$_async$_next(); |
| previous.set$_async$_next(next); |
| next.set$_async$_previous(previous); |
| subscription.set$_async$_previous(subscription); |
| subscription.set$_async$_next(subscription); |
| }, |
| _subscribe$1: function(cancelOnError) { |
| var t1, t2, subscription; |
| if ((this._state & 4) !== 0) { |
| t1 = new P._DoneStreamSubscription($.Zone__current, 0, P._nullDoneHandler$closure()); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| t1._schedule$0(); |
| return t1; |
| } |
| t1 = $.Zone__current; |
| t2 = cancelOnError ? 1 : 0; |
| subscription = new P._BroadcastSubscription(null, null, null, this, null, null, null, t1, t2, null, null); |
| subscription.$builtinTypeInfo = this.$builtinTypeInfo; |
| subscription._async$_previous = subscription; |
| subscription._async$_next = subscription; |
| t2 = this._async$_previous; |
| subscription._async$_previous = t2; |
| subscription._async$_next = this; |
| t2.set$_async$_next(subscription); |
| this._async$_previous = subscription; |
| subscription._eventState = this._state & 1; |
| if (this._async$_next === subscription) |
| P._runGuarded(this._onListen); |
| return subscription; |
| }, |
| _recordCancel$1: function(subscription) { |
| if (subscription.get$_async$_next() === subscription) |
| return; |
| if (subscription.get$_isFiring()) |
| subscription._setRemoveAfterFiring$0(); |
| else { |
| this._removeListener$1(subscription); |
| if ((this._state & 2) === 0 && this._async$_next === this) |
| this._callOnCancel$0(); |
| } |
| }, |
| _recordPause$1: function(subscription) { |
| }, |
| _recordResume$1: function(subscription) { |
| }, |
| _addEventError$0: function() { |
| if ((this._state & 4) !== 0) |
| return new P.StateError("Cannot add new events after calling close"); |
| return new P.StateError("Cannot add new events while doing an addStream"); |
| }, |
| add$1: [function(_, data) { |
| if (this._state >= 4) |
| throw H.wrapException(this._addEventError$0()); |
| this._sendData$1(data); |
| }, "call$1", "get$add", 2, 0, function() { |
| return H.computeSignature(function(T) { |
| return {func: "void__T", void: true, args: [T]}; |
| }, this.$receiver, "_BroadcastStreamController"); |
| }, 104], |
| addError$2: [function(error, stackTrace) { |
| if (this._state >= 4) |
| throw H.wrapException(this._addEventError$0()); |
| this._sendError$2(error, stackTrace); |
| }, function(error) { |
| return this.addError$2(error, null); |
| }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 105, 23, 24, 25], |
| close$0: function(_) { |
| var t1, doneFuture; |
| t1 = this._state; |
| if ((t1 & 4) !== 0) |
| return this._doneFuture; |
| if (t1 >= 4) |
| throw H.wrapException(this._addEventError$0()); |
| this._state = t1 | 4; |
| doneFuture = this._ensureDoneFuture$0(); |
| this._sendDone$0(); |
| return doneFuture; |
| }, |
| _async$_add$1: function(_, data) { |
| this._sendData$1(data); |
| }, |
| _addError$2: function(error, stackTrace) { |
| this._sendError$2(error, stackTrace); |
| }, |
| _close$0: function() { |
| var addState = this._addStreamState; |
| this._addStreamState = null; |
| this._state &= 4294967287; |
| C.JSNull_methods.complete$0(addState); |
| }, |
| _forEachListener$1: function(action) { |
| var t1, link, id, link0; |
| t1 = this._state; |
| if ((t1 & 2) !== 0) |
| throw H.wrapException(P.StateError$("Cannot fire new event. Controller is already firing an event")); |
| link = this._async$_next; |
| if (link === this) |
| return; |
| id = t1 & 1; |
| this._state = t1 ^ 3; |
| for (; link !== this;) |
| if (link._expectsEvent$1(id)) { |
| t1 = link.get$_eventState(); |
| if (typeof t1 !== "number") |
| return t1.$or(); |
| link.set$_eventState(t1 | 2); |
| action.call$1(link); |
| link._toggleEventId$0(); |
| link0 = link.get$_async$_next(); |
| if (link.get$_removeAfterFiring()) |
| this._removeListener$1(link); |
| t1 = link.get$_eventState(); |
| if (typeof t1 !== "number") |
| return t1.$and(); |
| link.set$_eventState(t1 & 4294967293); |
| link = link0; |
| } else |
| link = link.get$_async$_next(); |
| this._state &= 4294967293; |
| if (this._async$_next === this) |
| this._callOnCancel$0(); |
| }, |
| _callOnCancel$0: function() { |
| if ((this._state & 4) !== 0 && this._doneFuture._state === 0) |
| this._doneFuture._asyncComplete$1(null); |
| P._runGuarded(this._onCancel); |
| } |
| }, |
| _SyncBroadcastStreamController: { |
| "^": "_BroadcastStreamController;_onListen,_onCancel,_state,_async$_next,_async$_previous,_addStreamState,_doneFuture", |
| _sendData$1: function(data) { |
| var t1 = this._async$_next; |
| if (t1 === this) |
| return; |
| if (t1.get$_async$_next() === this) { |
| this._state |= 2; |
| this._async$_next._async$_add$1(0, data); |
| this._state &= 4294967293; |
| if (this._async$_next === this) |
| this._callOnCancel$0(); |
| return; |
| } |
| this._forEachListener$1(new P._SyncBroadcastStreamController__sendData_closure(this, data)); |
| }, |
| _sendError$2: function(error, stackTrace) { |
| if (this._async$_next === this) |
| return; |
| this._forEachListener$1(new P._SyncBroadcastStreamController__sendError_closure(this, error, stackTrace)); |
| }, |
| _sendDone$0: function() { |
| if (this._async$_next !== this) |
| this._forEachListener$1(new P._SyncBroadcastStreamController__sendDone_closure(this)); |
| else |
| this._doneFuture._asyncComplete$1(null); |
| } |
| }, |
| _SyncBroadcastStreamController__sendData_closure: { |
| "^": "Closure;this_0,data_1", |
| call$1: function(subscription) { |
| subscription._async$_add$1(0, this.data_1); |
| }, |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(T) { |
| return {func: "dynamic___BufferingStreamSubscription", args: [[P._BufferingStreamSubscription, T]]}; |
| }, this.this_0, "_SyncBroadcastStreamController"); |
| } |
| }, |
| _SyncBroadcastStreamController__sendError_closure: { |
| "^": "Closure;this_0,error_1,stackTrace_2", |
| call$1: function(subscription) { |
| subscription._addError$2(this.error_1, this.stackTrace_2); |
| }, |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(T) { |
| return {func: "dynamic___BufferingStreamSubscription", args: [[P._BufferingStreamSubscription, T]]}; |
| }, this.this_0, "_SyncBroadcastStreamController"); |
| } |
| }, |
| _SyncBroadcastStreamController__sendDone_closure: { |
| "^": "Closure;this_0", |
| call$1: function(subscription) { |
| subscription._close$0(); |
| }, |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(T) { |
| return {func: "dynamic___BroadcastSubscription", args: [[P._BroadcastSubscription, T]]}; |
| }, this.this_0, "_SyncBroadcastStreamController"); |
| } |
| }, |
| _AsyncBroadcastStreamController: { |
| "^": "_BroadcastStreamController;_onListen,_onCancel,_state,_async$_next,_async$_previous,_addStreamState,_doneFuture", |
| _sendData$1: function(data) { |
| var link, t1; |
| for (link = this._async$_next; link !== this; link = link.get$_async$_next()) { |
| t1 = new P._DelayedData(data, null); |
| t1.$builtinTypeInfo = [null]; |
| link._addPending$1(t1); |
| } |
| }, |
| _sendError$2: function(error, stackTrace) { |
| var link; |
| for (link = this._async$_next; link !== this; link = link.get$_async$_next()) |
| link._addPending$1(new P._DelayedError(error, stackTrace, null)); |
| }, |
| _sendDone$0: function() { |
| var link = this._async$_next; |
| if (link !== this) |
| for (; link !== this; link = link.get$_async$_next()) |
| link._addPending$1(C.C__DelayedDone); |
| else |
| this._doneFuture._asyncComplete$1(null); |
| } |
| }, |
| Future: { |
| "^": "Object;", |
| $isFuture: true |
| }, |
| Future_Future_closure: { |
| "^": "Closure:69;computation_0,result_1", |
| call$0: [function() { |
| var e, s, exception, t1; |
| try { |
| this.result_1._complete$1(this.computation_0.call$0()); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| this.result_1._completeError$2(e, s); |
| } |
| |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| Future_wait_handleError: { |
| "^": "Closure:75;box_0,eagerError_1", |
| call$2: [function(theError, theStackTrace) { |
| var t1, t2, t3; |
| t1 = this.box_0; |
| t2 = t1.values_1; |
| t1.values_1 = null; |
| t3 = --t1.remaining_2; |
| if (t2 != null) |
| if (t3 === 0 || this.eagerError_1) |
| t1.completer_0.completeError$2(theError, theStackTrace); |
| else { |
| t1.error_3 = theError; |
| t1.stackTrace_4 = theStackTrace; |
| } |
| else if (t3 === 0 && !this.eagerError_1) |
| t1.completer_0.completeError$2(t1.error_3, t1.stackTrace_4); |
| }, "call$2", null, 4, 0, null, 106, 107, "call"], |
| $isFunction: true |
| }, |
| Future_wait_closure: { |
| "^": "Closure:108;box_0,eagerError_2,pos_3", |
| call$1: [function(value) { |
| var t1, t2, t3, t4; |
| t1 = this.box_0; |
| t2 = --t1.remaining_2; |
| t3 = t1.values_1; |
| if (t3 != null) { |
| t4 = this.pos_3; |
| if (t4 < 0 || t4 >= t3.length) |
| return H.ioore(t3, t4); |
| t3[t4] = value; |
| if (t2 === 0) { |
| t1 = t1.completer_0.future; |
| if (t1._state !== 0) |
| H.throwExpression(P.StateError$("Future already completed")); |
| t1._asyncComplete$1(t3); |
| } |
| } else if (t2 === 0 && !this.eagerError_2) |
| t1.completer_0.completeError$2(t1.error_3, t1.stackTrace_4); |
| }, "call$1", null, 2, 0, null, 21, "call"], |
| $isFunction: true |
| }, |
| Completer: { |
| "^": "Object;", |
| $isCompleter: true |
| }, |
| _Completer: { |
| "^": "Object;", |
| $isCompleter: true |
| }, |
| _AsyncCompleter: { |
| "^": "_Completer;future", |
| complete$1: [function(_, value) { |
| var t1 = this.future; |
| if (t1._state !== 0) |
| throw H.wrapException(P.StateError$("Future already completed")); |
| t1._asyncComplete$1(value); |
| }, function($receiver) { |
| return this.complete$1($receiver, null); |
| }, "complete$0", "call$1", "call$0", "get$complete", 0, 2, 109, 23, 21], |
| completeError$2: [function(error, stackTrace) { |
| var t1; |
| if (error == null) |
| throw H.wrapException(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); |
| }, function(error) { |
| return this.completeError$2(error, null); |
| }, "completeError$1", "call$2", "call$1", "get$completeError", 2, 2, 105, 23, 24, 25] |
| }, |
| _Future: { |
| "^": "Object;_state,_zone<,_resultOrListeners,_nextListener@,_onValueCallback,_errorTestCallback,_onErrorCallback,_whenCompleteActionCallback", |
| get$_isComplete: function() { |
| return this._state >= 4; |
| }, |
| get$_hasValue: 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; |
| }, |
| get$_errorTest: function() { |
| return this._state === 2 ? null : this._errorTestCallback; |
| }, |
| get$_onError: function() { |
| return this._state === 2 ? null : this._onErrorCallback; |
| }, |
| get$_whenCompleteAction: function() { |
| return this._state === 2 ? null : this._whenCompleteActionCallback; |
| }, |
| then$2$onError: function(f, onError) { |
| var t1, result; |
| t1 = $.Zone__current; |
| result = H.setRuntimeTypeInfo(new P._Future(0, t1, null, null, t1.registerUnaryCallback$1(f), null, P._registerErrorHandler(onError, $.Zone__current), null), [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 t1, t2, result; |
| t1 = $.Zone__current; |
| t2 = P._registerErrorHandler(onError, t1); |
| result = H.setRuntimeTypeInfo(new P._Future(0, t1, null, null, null, $.Zone__current.registerUnaryCallback$1(test), t2, null), [null]); |
| this._addListener$1(result); |
| return result; |
| }, |
| catchError$1: function(onError) { |
| return this.catchError$2$test(onError, null); |
| }, |
| whenComplete$1: function(action) { |
| var t1, result; |
| t1 = $.Zone__current; |
| result = new P._Future(0, t1, null, null, null, null, null, t1.registerCallback$1(action)); |
| result.$builtinTypeInfo = this.$builtinTypeInfo; |
| this._addListener$1(result); |
| return result; |
| }, |
| get$_async$_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.scheduleMicrotask$1(new P._Future__addListener_closure(this, listener)); |
| else { |
| listener.set$_nextListener(this._resultOrListeners); |
| this._resultOrListeners = listener; |
| } |
| }, |
| _removeListeners$0: function() { |
| var current, prev, next; |
| current = this._resultOrListeners; |
| this._resultOrListeners = null; |
| for (prev = null; current != null; prev = current, current = next) { |
| next = current.get$_nextListener(); |
| current.set$_nextListener(prev); |
| } |
| return prev; |
| }, |
| _complete$1: function(value) { |
| var t1, listeners; |
| t1 = J.getInterceptor(value); |
| if (!!t1.$isFuture) |
| if (!!t1.$is_Future) |
| P._Future__chainCoreFuture(value, this); |
| else |
| P._Future__chainForeignFuture(value, this); |
| else { |
| listeners = this._removeListeners$0(); |
| this._setValue$1(value); |
| P._Future__propagateToListeners(this, listeners); |
| } |
| }, |
| _completeWithValue$1: function(value) { |
| var 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); |
| }, function(error) { |
| return this._completeError$2(error, null); |
| }, "_completeError$1", "call$2", "call$1", "get$_completeError", 2, 2, 22, 23, 24, 25], |
| _asyncComplete$1: function(value) { |
| var t1; |
| if (value == null) |
| ; |
| else { |
| t1 = J.getInterceptor(value); |
| if (!!t1.$isFuture) { |
| if (!!t1.$is_Future) { |
| t1 = value._state; |
| if (t1 >= 4 && t1 === 8) { |
| if (this._state !== 0) |
| H.throwExpression(P.StateError$("Future already completed")); |
| this._state = 1; |
| this._zone.scheduleMicrotask$1(new P._Future__asyncComplete_closure(this, value)); |
| } else |
| P._Future__chainCoreFuture(value, this); |
| } else |
| P._Future__chainForeignFuture(value, this); |
| return; |
| } |
| } |
| if (this._state !== 0) |
| H.throwExpression(P.StateError$("Future already completed")); |
| this._state = 1; |
| this._zone.scheduleMicrotask$1(new P._Future__asyncComplete_closure0(this, value)); |
| }, |
| _asyncCompleteError$2: function(error, stackTrace) { |
| if (this._state !== 0) |
| H.throwExpression(P.StateError$("Future already completed")); |
| this._state = 1; |
| this._zone.scheduleMicrotask$1(new P._Future__asyncCompleteError_closure(this, error, stackTrace)); |
| }, |
| _async$_Future$immediate$1: function(value, $T) { |
| this._asyncComplete$1(value); |
| }, |
| _async$_Future$immediateError$2: function(error, stackTrace, $T) { |
| this._asyncCompleteError$2(error, stackTrace); |
| }, |
| $is_Future: true, |
| $isFuture: true, |
| static: {"^": "_Future__INCOMPLETE,_Future__PENDING_COMPLETE,_Future__CHAINED,_Future__VALUE,_Future__ERROR", _Future$: function($T) { |
| return H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null, null, null, null, null, null), [$T]); |
| }, _Future$immediate: function(value, $T) { |
| var t1 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null, null, null, null, null, null), [$T]); |
| t1._async$_Future$immediate$1(value, $T); |
| return t1; |
| }, _Future$immediateError: function(error, stackTrace, $T) { |
| var t1 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null, null, null, null, null, null), [$T]); |
| t1._async$_Future$immediateError$2(error, stackTrace, $T); |
| return t1; |
| }, _Future__chainForeignFuture: function(source, target) { |
| target.set$_isChained(true); |
| source.then$2$onError(new P._Future__chainForeignFuture_closure(target), new P._Future__chainForeignFuture_closure0(target)); |
| }, _Future__chainCoreFuture: function(source, target) { |
| target.set$_isChained(true); |
| if (source._state >= 4) |
| P._Future__propagateToListeners(source, target); |
| else |
| source._addListener$1(target); |
| }, _Future__propagateMultipleListeners: function(source, listeners) { |
| var listeners0; |
| do { |
| listeners0 = listeners.get$_nextListener(); |
| listeners.set$_nextListener(null); |
| P._Future__propagateToListeners(source, listeners); |
| if (listeners0 != null) { |
| listeners = listeners0; |
| continue; |
| } else |
| break; |
| } while (true); |
| }, _Future__propagateToListeners: function(source, listeners) { |
| var t1, t2, t3, hasError, asyncError, sourceValue, zone, oldZone, chainSource, listeners0; |
| t1 = {}; |
| t1.source_4 = source; |
| for (t2 = source; true;) { |
| t3 = {}; |
| if (!t2.get$_isComplete()) |
| return; |
| hasError = t1.source_4.get$_hasError(); |
| if (hasError && listeners == null) { |
| asyncError = t1.source_4.get$_error(); |
| t1.source_4.get$_zone().handleUncaughtError$2(J.get$error$x(asyncError), asyncError.get$stackTrace()); |
| return; |
| } |
| if (listeners == null) |
| return; |
| if (listeners.get$_nextListener() != null) { |
| P._Future__propagateMultipleListeners(t1.source_4, listeners); |
| return; |
| } |
| t3.listenerHasValue_1 = true; |
| sourceValue = t1.source_4.get$_hasValue() ? t1.source_4.get$_async$_value() : null; |
| t3.listenerValueOrError_2 = sourceValue; |
| t3.isPropagationAborted_3 = false; |
| t2 = !hasError; |
| if (!t2 || listeners.get$_onValue() != null || listeners.get$_whenCompleteAction() != null) { |
| zone = listeners.get$_zone(); |
| if (hasError && !t1.source_4.get$_zone().inSameErrorZone$1(zone)) { |
| asyncError = t1.source_4.get$_error(); |
| t1.source_4.get$_zone().handleUncaughtError$2(J.get$error$x(asyncError), asyncError.get$stackTrace()); |
| return; |
| } |
| oldZone = $.Zone__current; |
| if (oldZone == null ? zone != null : oldZone !== zone) |
| $.Zone__current = zone; |
| else |
| oldZone = null; |
| if (t2) { |
| if (listeners.get$_onValue() != null) |
| t3.listenerHasValue_1 = new P._Future__propagateToListeners_handleValueCallback(t3, listeners, sourceValue, zone).call$0(); |
| } else |
| new P._Future__propagateToListeners_handleError(t1, t3, listeners, zone).call$0(); |
| if (listeners.get$_whenCompleteAction() != null) |
| new P._Future__propagateToListeners_handleWhenCompleteCallback(t1, t3, hasError, listeners, zone).call$0(); |
| if (oldZone != null) |
| $.Zone__current = oldZone; |
| if (t3.isPropagationAborted_3) |
| return; |
| if (t3.listenerHasValue_1 === true) { |
| t2 = t3.listenerValueOrError_2; |
| t2 = (sourceValue == null ? t2 != null : sourceValue !== t2) && !!J.getInterceptor(t2).$isFuture; |
| } else |
| t2 = false; |
| if (t2) { |
| chainSource = t3.listenerValueOrError_2; |
| if (!!J.getInterceptor(chainSource).$is_Future) |
| if (chainSource._state >= 4) { |
| listeners.set$_isChained(true); |
| t1.source_4 = chainSource; |
| t2 = chainSource; |
| continue; |
| } else |
| P._Future__chainCoreFuture(chainSource, listeners); |
| else |
| P._Future__chainForeignFuture(chainSource, listeners); |
| return; |
| } |
| } |
| if (t3.listenerHasValue_1 === true) { |
| listeners0 = listeners._removeListeners$0(); |
| listeners._setValue$1(t3.listenerValueOrError_2); |
| } else { |
| listeners0 = listeners._removeListeners$0(); |
| asyncError = t3.listenerValueOrError_2; |
| listeners._setError$2(J.get$error$x(asyncError), asyncError.get$stackTrace()); |
| } |
| t1.source_4 = listeners; |
| t2 = listeners; |
| listeners = listeners0; |
| } |
| }} |
| }, |
| _Future__addListener_closure: { |
| "^": "Closure:69;this_0,listener_1", |
| call$0: [function() { |
| P._Future__propagateToListeners(this.this_0, this.listener_1); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _Future__chainForeignFuture_closure: { |
| "^": "Closure:13;target_0", |
| call$1: [function(value) { |
| this.target_0._completeWithValue$1(value); |
| }, "call$1", null, 2, 0, null, 21, "call"], |
| $isFunction: true |
| }, |
| _Future__chainForeignFuture_closure0: { |
| "^": "Closure:110;target_1", |
| call$2: [function(error, stackTrace) { |
| this.target_1._completeError$2(error, stackTrace); |
| }, function(error) { |
| return this.call$2(error, null); |
| }, "call$1", "call$2", null, null, 2, 2, null, 23, 24, 25, "call"], |
| $isFunction: true |
| }, |
| _Future__asyncComplete_closure: { |
| "^": "Closure:69;this_0,coreFuture_1", |
| call$0: [function() { |
| P._Future__chainCoreFuture(this.coreFuture_1, this.this_0); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _Future__asyncComplete_closure0: { |
| "^": "Closure:69;this_2,value_3", |
| call$0: [function() { |
| this.this_2._completeWithValue$1(this.value_3); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _Future__asyncCompleteError_closure: { |
| "^": "Closure:69;this_0,error_1,stackTrace_2", |
| call$0: [function() { |
| this.this_0._completeError$2(this.error_1, this.stackTrace_2); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _Future__propagateToListeners_handleValueCallback: { |
| "^": "Closure:111;box_1,listener_3,sourceValue_4,zone_5", |
| call$0: function() { |
| var e, s, exception, t1; |
| try { |
| this.box_1.listenerValueOrError_2 = this.zone_5.runUnary$2(this.listener_3.get$_onValue(), this.sourceValue_4); |
| return true; |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| this.box_1.listenerValueOrError_2 = new P._AsyncError(e, s); |
| return false; |
| } |
| |
| }, |
| $isFunction: true |
| }, |
| _Future__propagateToListeners_handleError: { |
| "^": "Closure:18;box_2,box_1,listener_6,zone_7", |
| call$0: function() { |
| var asyncError, test, matchesTest, e, s, errorCallback, e0, s0, t1, exception, t2, listenerValueOrError, t3, t4; |
| asyncError = this.box_2.source_4.get$_error(); |
| t1 = this.listener_6; |
| test = t1.get$_errorTest(); |
| matchesTest = true; |
| if (test != null) |
| try { |
| matchesTest = this.zone_7.runUnary$2(test, J.get$error$x(asyncError)); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| t1 = J.get$error$x(asyncError); |
| t2 = e; |
| listenerValueOrError = (t1 == null ? t2 == null : t1 === t2) ? asyncError : new P._AsyncError(e, s); |
| t1 = this.box_1; |
| t1.listenerValueOrError_2 = listenerValueOrError; |
| t1.listenerHasValue_1 = false; |
| return; |
| } |
| |
| errorCallback = t1.get$_onError(); |
| if (matchesTest === true && errorCallback != null) { |
| try { |
| t1 = errorCallback; |
| t2 = H.getDynamicRuntimeType(); |
| t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); |
| t3 = this.zone_7; |
| t4 = this.box_1; |
| if (t2) |
| t4.listenerValueOrError_2 = t3.runBinary$3(errorCallback, J.get$error$x(asyncError), asyncError.get$stackTrace()); |
| else |
| t4.listenerValueOrError_2 = t3.runUnary$2(errorCallback, J.get$error$x(asyncError)); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e0 = t1; |
| s0 = new H._StackTrace(exception, null); |
| t1 = J.get$error$x(asyncError); |
| t2 = e0; |
| listenerValueOrError = (t1 == null ? t2 == null : t1 === t2) ? asyncError : new P._AsyncError(e0, s0); |
| t1 = this.box_1; |
| t1.listenerValueOrError_2 = listenerValueOrError; |
| t1.listenerHasValue_1 = false; |
| return; |
| } |
| |
| this.box_1.listenerHasValue_1 = true; |
| } else { |
| t1 = this.box_1; |
| t1.listenerValueOrError_2 = asyncError; |
| t1.listenerHasValue_1 = false; |
| } |
| }, |
| $isFunction: true |
| }, |
| _Future__propagateToListeners_handleWhenCompleteCallback: { |
| "^": "Closure:18;box_2,box_1,hasError_8,listener_9,zone_10", |
| call$0: function() { |
| var t1, e, s, exception, t2, t3; |
| t1 = {}; |
| t1.completeResult_0 = null; |
| try { |
| t1.completeResult_0 = this.zone_10.run$1(this.listener_9.get$_whenCompleteAction()); |
| } catch (exception) { |
| t2 = H.unwrapException(exception); |
| e = t2; |
| s = new H._StackTrace(exception, null); |
| if (this.hasError_8) { |
| t2 = J.get$error$x(this.box_2.source_4.get$_error()); |
| t3 = e; |
| t3 = t2 == null ? t3 == null : t2 === t3; |
| t2 = t3; |
| } else |
| t2 = false; |
| t3 = this.box_1; |
| if (t2) |
| t3.listenerValueOrError_2 = this.box_2.source_4.get$_error(); |
| else |
| t3.listenerValueOrError_2 = new P._AsyncError(e, s); |
| t3.listenerHasValue_1 = false; |
| } |
| |
| if (!!J.getInterceptor(t1.completeResult_0).$isFuture) { |
| t2 = this.listener_9; |
| t2.set$_isChained(true); |
| this.box_1.isPropagationAborted_3 = true; |
| t1.completeResult_0.then$2$onError(new P._Future__propagateToListeners_handleWhenCompleteCallback_closure(this.box_2, t2), new P._Future__propagateToListeners_handleWhenCompleteCallback_closure0(t1, t2)); |
| } |
| }, |
| $isFunction: true |
| }, |
| _Future__propagateToListeners_handleWhenCompleteCallback_closure: { |
| "^": "Closure:13;box_2,listener_11", |
| call$1: [function(ignored) { |
| P._Future__propagateToListeners(this.box_2.source_4, this.listener_11); |
| }, "call$1", null, 2, 0, null, 112, "call"], |
| $isFunction: true |
| }, |
| _Future__propagateToListeners_handleWhenCompleteCallback_closure0: { |
| "^": "Closure:110;box_0,listener_12", |
| call$2: [function(error, stackTrace) { |
| var t1, completeResult; |
| t1 = this.box_0; |
| if (!J.getInterceptor(t1.completeResult_0).$is_Future) { |
| completeResult = P._Future$(null); |
| t1.completeResult_0 = completeResult; |
| completeResult._setError$2(error, stackTrace); |
| } |
| P._Future__propagateToListeners(t1.completeResult_0, this.listener_12); |
| }, function(error) { |
| return this.call$2(error, null); |
| }, "call$1", "call$2", null, null, 2, 2, null, 23, 24, 25, "call"], |
| $isFunction: true |
| }, |
| _AsyncCallbackEntry: { |
| "^": "Object;callback>,next@", |
| callback$0: function($receiver) { |
| return this.callback.call$0(); |
| } |
| }, |
| Stream: { |
| "^": "Object;", |
| map$1: [function(_, convert) { |
| return H.setRuntimeTypeInfo(new P._MapStream(convert, this), [H.getRuntimeTypeArgument(this, "Stream", 0), null]); |
| }, "call$1", "get$map", 2, 0, function() { |
| return H.computeSignature(function(T) { |
| return {func: "Stream__dynamic__T", ret: P.Stream, args: [{func: "dynamic__T", args: [T]}]}; |
| }, this.$receiver, "Stream"); |
| }, 113], |
| expand$1: [function(_, convert) { |
| return H.setRuntimeTypeInfo(new P._ExpandStream(convert, this), [H.getRuntimeTypeArgument(this, "Stream", 0), null]); |
| }, "call$1", "get$expand", 2, 0, function() { |
| return H.computeSignature(function(T) { |
| return {func: "Stream__Iterable__T", ret: P.Stream, args: [{func: "Iterable__T", ret: P.Iterable, args: [T]}]}; |
| }, this.$receiver, "Stream"); |
| }, 113], |
| contains$1: function(_, needle) { |
| var t1, future; |
| t1 = {}; |
| future = P._Future$(P.bool); |
| t1.subscription_0 = null; |
| t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Stream_contains_closure(t1, this, needle, future), true, new P.Stream_contains_closure0(future), future.get$_completeError()); |
| return future; |
| }, |
| 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; |
| }, |
| any$1: function(_, test) { |
| var t1, future; |
| t1 = {}; |
| future = P._Future$(P.bool); |
| t1.subscription_0 = null; |
| t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Stream_any_closure(t1, this, test, future), true, new P.Stream_any_closure0(future), future.get$_completeError()); |
| return future; |
| }, |
| get$length: function(_) { |
| var t1, future; |
| t1 = {}; |
| future = P._Future$(P.$int); |
| 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; |
| }, |
| get$isEmpty: function(_) { |
| var t1, future; |
| t1 = {}; |
| future = P._Future$(P.bool); |
| t1.subscription_0 = null; |
| t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Stream_isEmpty_closure(t1, future), true, new P.Stream_isEmpty_closure0(future), future.get$_completeError()); |
| return future; |
| }, |
| get$first: function(_) { |
| var t1, future; |
| t1 = {}; |
| future = P._Future$(H.getRuntimeTypeArgument(this, "Stream", 0)); |
| t1.subscription_0 = null; |
| t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Stream_first_closure(t1, this, future), true, new P.Stream_first_closure0(future), future.get$_completeError()); |
| return future; |
| }, |
| get$last: function(_) { |
| var t1, future; |
| t1 = {}; |
| future = P._Future$(H.getRuntimeTypeArgument(this, "Stream", 0)); |
| t1.result_0 = null; |
| t1.foundResult_1 = false; |
| this.listen$4$cancelOnError$onDone$onError(new P.Stream_last_closure(t1, this), true, new P.Stream_last_closure0(t1, future), future.get$_completeError()); |
| return future; |
| }, |
| $isStream: true |
| }, |
| Stream_contains_closure: { |
| "^": "Closure;box_0,this_1,needle_2,future_3", |
| call$1: [function(element) { |
| var t1, t2; |
| t1 = this.box_0; |
| t2 = this.future_3; |
| P._runUserCode(new P.Stream_contains__closure(this.needle_2, element), new P.Stream_contains__closure0(t1, t2), P._cancelAndErrorClosure(t1.subscription_0, t2)); |
| }, "call$1", null, 2, 0, null, 114, "call"], |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(T) { |
| return {func: "dynamic__T", args: [T]}; |
| }, this.this_1, "Stream"); |
| } |
| }, |
| Stream_contains__closure: { |
| "^": "Closure:69;needle_4,element_5", |
| call$0: function() { |
| return J.$eq(this.element_5, this.needle_4); |
| }, |
| $isFunction: true |
| }, |
| Stream_contains__closure0: { |
| "^": "Closure:115;box_0,future_6", |
| call$1: function(isMatch) { |
| if (isMatch === true) |
| P._cancelAndValue(this.box_0.subscription_0, this.future_6, true); |
| }, |
| $isFunction: true |
| }, |
| Stream_contains_closure0: { |
| "^": "Closure:69;future_7", |
| call$0: [function() { |
| this.future_7._complete$1(false); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| Stream_forEach_closure: { |
| "^": "Closure;box_0,this_1,action_2,future_3", |
| call$1: [function(element) { |
| P._runUserCode(new P.Stream_forEach__closure(this.action_2, element), new P.Stream_forEach__closure0(), P._cancelAndErrorClosure(this.box_0.subscription_0, this.future_3)); |
| }, "call$1", null, 2, 0, null, 114, "call"], |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(T) { |
| return {func: "dynamic__T", args: [T]}; |
| }, this.this_1, "Stream"); |
| } |
| }, |
| Stream_forEach__closure: { |
| "^": "Closure:69;action_4,element_5", |
| call$0: function() { |
| return this.action_4.call$1(this.element_5); |
| }, |
| $isFunction: true |
| }, |
| Stream_forEach__closure0: { |
| "^": "Closure:13;", |
| call$1: function(_) { |
| }, |
| $isFunction: true |
| }, |
| Stream_forEach_closure0: { |
| "^": "Closure:69;future_6", |
| call$0: [function() { |
| this.future_6._complete$1(null); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| Stream_any_closure: { |
| "^": "Closure;box_0,this_1,test_2,future_3", |
| call$1: [function(element) { |
| var t1, t2; |
| t1 = this.box_0; |
| t2 = this.future_3; |
| P._runUserCode(new P.Stream_any__closure(this.test_2, element), new P.Stream_any__closure0(t1, t2), P._cancelAndErrorClosure(t1.subscription_0, t2)); |
| }, "call$1", null, 2, 0, null, 114, "call"], |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(T) { |
| return {func: "dynamic__T", args: [T]}; |
| }, this.this_1, "Stream"); |
| } |
| }, |
| Stream_any__closure: { |
| "^": "Closure:69;test_4,element_5", |
| call$0: function() { |
| return this.test_4.call$1(this.element_5); |
| }, |
| $isFunction: true |
| }, |
| Stream_any__closure0: { |
| "^": "Closure:115;box_0,future_6", |
| call$1: function(isMatch) { |
| if (isMatch === true) |
| P._cancelAndValue(this.box_0.subscription_0, this.future_6, true); |
| }, |
| $isFunction: true |
| }, |
| Stream_any_closure0: { |
| "^": "Closure:69;future_7", |
| call$0: [function() { |
| this.future_7._complete$1(false); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| Stream_length_closure: { |
| "^": "Closure:13;box_0", |
| call$1: [function(_) { |
| ++this.box_0.count_0; |
| }, "call$1", null, 2, 0, null, 14, "call"], |
| $isFunction: true |
| }, |
| Stream_length_closure0: { |
| "^": "Closure:69;box_0,future_1", |
| call$0: [function() { |
| this.future_1._complete$1(this.box_0.count_0); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| Stream_isEmpty_closure: { |
| "^": "Closure:13;box_0,future_1", |
| call$1: [function(_) { |
| P._cancelAndValue(this.box_0.subscription_0, this.future_1, false); |
| }, "call$1", null, 2, 0, null, 14, "call"], |
| $isFunction: true |
| }, |
| Stream_isEmpty_closure0: { |
| "^": "Closure:69;future_2", |
| call$0: [function() { |
| this.future_2._complete$1(true); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| Stream_first_closure: { |
| "^": "Closure;box_0,this_1,future_2", |
| call$1: [function(value) { |
| P._cancelAndValue(this.box_0.subscription_0, this.future_2, value); |
| }, "call$1", null, 2, 0, null, 21, "call"], |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(T) { |
| return {func: "dynamic__T", args: [T]}; |
| }, this.this_1, "Stream"); |
| } |
| }, |
| Stream_first_closure0: { |
| "^": "Closure:69;future_3", |
| call$0: [function() { |
| this.future_3._completeError$1(new P.StateError("No elements")); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| Stream_last_closure: { |
| "^": "Closure;box_0,this_1", |
| call$1: [function(value) { |
| var t1 = this.box_0; |
| t1.foundResult_1 = true; |
| t1.result_0 = value; |
| }, "call$1", null, 2, 0, null, 21, "call"], |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(T) { |
| return {func: "dynamic__T", args: [T]}; |
| }, this.this_1, "Stream"); |
| } |
| }, |
| Stream_last_closure0: { |
| "^": "Closure:69;box_0,future_2", |
| call$0: [function() { |
| var t1 = this.box_0; |
| if (t1.foundResult_1) { |
| this.future_2._complete$1(t1.result_0); |
| return; |
| } |
| this.future_2._completeError$1(new P.StateError("No elements")); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| StreamSubscription: { |
| "^": "Object;", |
| $isStreamSubscription: true |
| }, |
| _StreamController: { |
| "^": "Object;", |
| get$isPaused: function() { |
| var t1 = this._state; |
| return (t1 & 1) !== 0 ? this.get$_subscription().get$_isInputPaused() : (t1 & 2) === 0; |
| }, |
| get$_pendingEvents: function() { |
| if ((this._state & 8) === 0) |
| return this._varData; |
| return this._varData.get$varData(); |
| }, |
| _ensurePendingEvents$0: function() { |
| var t1, state; |
| if ((this._state & 8) === 0) { |
| t1 = this._varData; |
| if (t1 == null) { |
| t1 = new P._StreamImplEvents(null, null, 0); |
| this._varData = t1; |
| } |
| return t1; |
| } |
| state = this._varData; |
| state.get$varData(); |
| return state.get$varData(); |
| }, |
| 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() { |
| var t1 = this._doneFuture; |
| if (t1 == null) { |
| t1 = (this._state & 2) !== 0 ? $.get$Future__nullFuture() : P._Future$(null); |
| this._doneFuture = t1; |
| } |
| return t1; |
| }, |
| add$1: [function(_, value) { |
| var t1 = this._state; |
| if (t1 >= 4) |
| throw H.wrapException(this._badEventState$0()); |
| if ((t1 & 1) !== 0) |
| this._sendData$1(value); |
| else if ((t1 & 3) === 0) |
| this._ensurePendingEvents$0().add$1(0, H.setRuntimeTypeInfo(new P._DelayedData(value, null), [H.getRuntimeTypeArgument(this, "_StreamController", 0)])); |
| }, "call$1", "get$add", 2, 0, function() { |
| return H.computeSignature(function(T) { |
| return {func: "void__T0", void: true, args: [T]}; |
| }, this.$receiver, "_StreamController"); |
| }], |
| close$0: function(_) { |
| var t1 = this._state; |
| if ((t1 & 4) !== 0) |
| return this._ensureDoneFuture$0(); |
| if (t1 >= 4) |
| throw H.wrapException(this._badEventState$0()); |
| t1 |= 4; |
| this._state = t1; |
| if ((t1 & 1) !== 0) |
| this._sendDone$0(); |
| else if ((t1 & 3) === 0) |
| this._ensurePendingEvents$0().add$1(0, C.C__DelayedDone); |
| return this._ensureDoneFuture$0(); |
| }, |
| _async$_add$1: function(_, value) { |
| var t1 = this._state; |
| if ((t1 & 1) !== 0) |
| this._sendData$1(value); |
| else if ((t1 & 3) === 0) |
| this._ensurePendingEvents$0().add$1(0, H.setRuntimeTypeInfo(new P._DelayedData(value, null), [H.getRuntimeTypeArgument(this, "_StreamController", 0)])); |
| }, |
| _addError$2: function(error, stackTrace) { |
| var t1 = this._state; |
| if ((t1 & 1) !== 0) |
| this._sendError$2(error, stackTrace); |
| else if ((t1 & 3) === 0) |
| this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackTrace, null)); |
| }, |
| _subscribe$1: function(cancelOnError) { |
| var t1, t2, subscription, pendingEvents, addState; |
| if ((this._state & 3) !== 0) |
| throw H.wrapException(P.StateError$("Stream has already been listened to.")); |
| t1 = $.Zone__current; |
| t2 = cancelOnError ? 1 : 0; |
| subscription = H.setRuntimeTypeInfo(new P._ControllerSubscription(this, null, null, null, t1, t2, null, null), [null]); |
| pendingEvents = this.get$_pendingEvents(); |
| t2 = this._state |= 1; |
| if ((t2 & 8) !== 0) { |
| addState = this._varData; |
| addState.set$varData(subscription); |
| addState.resume$0(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 result, e, s, exception, t1, result0; |
| result = null; |
| if ((this._state & 8) !== 0) |
| result = this._varData.cancel$0(); |
| this._varData = null; |
| this._state = this._state & 4294967286 | 2; |
| if (this.get$_onCancel() != null) |
| if (result == null) |
| try { |
| result = this._onCancel$0(); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| result0 = P._Future$(null); |
| result0._asyncCompleteError$2(e, s); |
| result = result0; |
| } |
| |
| else |
| result = result.whenComplete$1(this.get$_onCancel()); |
| t1 = new P._StreamController__recordCancel_complete(this); |
| if (result != null) |
| result = result.whenComplete$1(t1); |
| else |
| t1.call$0(); |
| return result; |
| }, |
| _recordPause$1: function(subscription) { |
| if ((this._state & 8) !== 0) |
| this._varData.pause$0(0); |
| P._runGuarded(this.get$_onPause()); |
| }, |
| _recordResume$1: function(subscription) { |
| if ((this._state & 8) !== 0) |
| this._varData.resume$0(0); |
| P._runGuarded(this.get$_onResume()); |
| } |
| }, |
| _StreamController__subscribe_closure: { |
| "^": "Closure:69;this_0", |
| call$0: function() { |
| P._runGuarded(this.this_0.get$_onListen()); |
| }, |
| $isFunction: true |
| }, |
| _StreamController__recordCancel_complete: { |
| "^": "Closure:18;this_0", |
| call$0: [function() { |
| var t1 = this.this_0._doneFuture; |
| if (t1 != null && t1._state === 0) |
| t1._asyncComplete$1(null); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _SyncStreamControllerDispatch: { |
| "^": "Object;", |
| _sendData$1: function(data) { |
| this.get$_subscription()._async$_add$1(0, data); |
| }, |
| _sendError$2: function(error, stackTrace) { |
| this.get$_subscription()._addError$2(error, stackTrace); |
| }, |
| _sendDone$0: function() { |
| this.get$_subscription()._close$0(); |
| } |
| }, |
| _AsyncStreamControllerDispatch: { |
| "^": "Object;", |
| _sendData$1: function(data) { |
| this.get$_subscription()._addPending$1(H.setRuntimeTypeInfo(new P._DelayedData(data, null), [null])); |
| }, |
| _sendError$2: function(error, stackTrace) { |
| this.get$_subscription()._addPending$1(new P._DelayedError(error, stackTrace, null)); |
| }, |
| _sendDone$0: function() { |
| this.get$_subscription()._addPending$1(C.C__DelayedDone); |
| } |
| }, |
| _AsyncStreamController: { |
| "^": "_StreamController__AsyncStreamControllerDispatch;_onListen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture", |
| _onCancel$0: function() { |
| return this._onCancel.call$0(); |
| } |
| }, |
| _StreamController__AsyncStreamControllerDispatch: { |
| "^": "_StreamController+_AsyncStreamControllerDispatch;" |
| }, |
| _SyncStreamController: { |
| "^": "_StreamController__SyncStreamControllerDispatch;_onListen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture", |
| _onCancel$0: function() { |
| return this._onCancel.call$0(); |
| } |
| }, |
| _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) { |
| if (other == null) |
| return false; |
| if (this === other) |
| return true; |
| if (!J.getInterceptor(other).$is_ControllerStream) |
| return false; |
| return other._async$_controller === this._async$_controller; |
| }, |
| $is_ControllerStream: true |
| }, |
| _ControllerSubscription: { |
| "^": "_BufferingStreamSubscription;_async$_controller<,_onData,_onError,_onDone,_zone,_state,_cancelFuture,_pending", |
| _onCancel$0: function() { |
| return this.get$_async$_controller()._recordCancel$1(this); |
| }, |
| _onPause$0: [function() { |
| this.get$_async$_controller()._recordPause$1(this); |
| }, "call$0", "get$_onPause", 0, 0, 18], |
| _onResume$0: [function() { |
| this.get$_async$_controller()._recordResume$1(this); |
| }, "call$0", "get$_onResume", 0, 0, 18] |
| }, |
| _EventSink: { |
| "^": "Object;" |
| }, |
| _BufferingStreamSubscription: { |
| "^": "Object;_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) { |
| this._onData = this._zone.registerUnaryCallback$1(handleData); |
| }, |
| onError$1: function(_, handleError) { |
| if (handleError == null) |
| handleError = P._nullErrorHandler$closure(); |
| this._onError = P._registerErrorHandler(handleError, this._zone); |
| }, |
| onDone$1: function(handleDone) { |
| if (handleDone == null) |
| handleDone = P._nullDoneHandler$closure(); |
| this._onDone = this._zone.registerCallback$1(handleDone); |
| }, |
| pause$1: [function(_, resumeSignal) { |
| var t1 = this._state; |
| if ((t1 & 8) !== 0) |
| return; |
| this._state = (t1 + 128 | 4) >>> 0; |
| if (resumeSignal != null) |
| resumeSignal.whenComplete$1(this.get$resume(this)); |
| if (t1 < 128 && this._pending != null) |
| this._pending.cancelSchedule$0(); |
| if ((t1 & 4) === 0 && (this._state & 32) === 0) |
| this._guardCallback$1(this.get$_onPause()); |
| }, function($receiver) { |
| return this.pause$1($receiver, null); |
| }, "pause$0", "call$1", "call$0", "get$pause", 0, 2, 116, 23, 117], |
| resume$0: [function(_) { |
| var t1 = this._state; |
| if ((t1 & 8) !== 0) |
| return; |
| if (t1 >= 128) { |
| t1 -= 128; |
| this._state = t1; |
| if (t1 < 128) { |
| if ((t1 & 64) !== 0) { |
| t1 = this._pending; |
| t1 = !t1.get$isEmpty(t1); |
| } else |
| t1 = false; |
| if (t1) |
| this._pending.schedule$1(this); |
| else { |
| t1 = (this._state & 4294967291) >>> 0; |
| this._state = t1; |
| if ((t1 & 32) === 0) |
| this._guardCallback$1(this.get$_onResume()); |
| } |
| } |
| } |
| }, "call$0", "get$resume", 0, 0, 18], |
| cancel$0: function() { |
| var t1 = (this._state & 4294967279) >>> 0; |
| this._state = t1; |
| if ((t1 & 8) !== 0) |
| return this._cancelFuture; |
| this._cancel$0(); |
| return this._cancelFuture; |
| }, |
| get$_isInputPaused: function() { |
| return (this._state & 4) !== 0; |
| }, |
| get$isPaused: function() { |
| return this._state >= 128; |
| }, |
| _cancel$0: function() { |
| var t1 = (this._state | 8) >>> 0; |
| this._state = t1; |
| if ((t1 & 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(H.setRuntimeTypeInfo(new P._DelayedData(data, null), [null])); |
| }, |
| _addError$2: function(error, stackTrace) { |
| var t1 = this._state; |
| if ((t1 & 8) !== 0) |
| return; |
| if (t1 < 32) |
| this._sendError$2(error, stackTrace); |
| else |
| this._addPending$1(new P._DelayedError(error, stackTrace, null)); |
| }, |
| _close$0: function() { |
| var t1 = this._state; |
| if ((t1 & 8) !== 0) |
| return; |
| t1 = (t1 | 2) >>> 0; |
| this._state = t1; |
| if (t1 < 32) |
| this._sendDone$0(); |
| else |
| this._addPending$1(C.C__DelayedDone); |
| }, |
| _onPause$0: [function() { |
| }, "call$0", "get$_onPause", 0, 0, 18], |
| _onResume$0: [function() { |
| }, "call$0", "get$_onResume", 0, 0, 18], |
| _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(0, $event); |
| t1 = this._state; |
| if ((t1 & 64) === 0) { |
| t1 = (t1 | 64) >>> 0; |
| this._state = t1; |
| if (t1 < 128) |
| this._pending.schedule$1(this); |
| } |
| }, |
| _sendData$1: function(data) { |
| var t1 = this._state; |
| this._state = (t1 | 32) >>> 0; |
| this._zone.runUnaryGuarded$2(this._onData, data); |
| this._state = (this._state & 4294967263) >>> 0; |
| this._checkState$1((t1 & 4) !== 0); |
| }, |
| _sendError$2: function(error, stackTrace) { |
| var t1, t2; |
| t1 = this._state; |
| t2 = new P._BufferingStreamSubscription__sendError_sendError(this, error, stackTrace); |
| if ((t1 & 1) !== 0) { |
| this._state = (t1 | 16) >>> 0; |
| this._cancel$0(); |
| t1 = this._cancelFuture; |
| if (!!J.getInterceptor(t1).$isFuture) |
| t1.whenComplete$1(t2); |
| else |
| t2.call$0(); |
| } else { |
| t2.call$0(); |
| this._checkState$1((t1 & 4) !== 0); |
| } |
| }, |
| _sendDone$0: function() { |
| var t1, t2; |
| t1 = new P._BufferingStreamSubscription__sendDone_sendDone(this); |
| this._cancel$0(); |
| this._state = (this._state | 16) >>> 0; |
| t2 = this._cancelFuture; |
| if (!!J.getInterceptor(t2).$isFuture) |
| t2.whenComplete$1(t1); |
| else |
| t1.call$0(); |
| }, |
| _guardCallback$1: function(callback) { |
| var t1 = this._state; |
| this._state = (t1 | 32) >>> 0; |
| callback.call$0(); |
| this._state = (this._state & 4294967263) >>> 0; |
| this._checkState$1((t1 & 4) !== 0); |
| }, |
| _checkState$1: function(wasInputPaused) { |
| var t1, isInputPaused; |
| if ((this._state & 64) !== 0) { |
| t1 = this._pending; |
| t1 = t1.get$isEmpty(t1); |
| } else |
| t1 = false; |
| if (t1) { |
| t1 = (this._state & 4294967231) >>> 0; |
| this._state = t1; |
| if ((t1 & 4) !== 0) |
| if (t1 < 128) { |
| t1 = this._pending; |
| t1 = t1 == null || t1.get$isEmpty(t1); |
| } else |
| t1 = false; |
| else |
| t1 = false; |
| if (t1) |
| 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); |
| }, |
| $isStreamSubscription: true, |
| static: {"^": "_BufferingStreamSubscription__STATE_CANCEL_ON_ERROR,_BufferingStreamSubscription__STATE_CLOSED,_BufferingStreamSubscription__STATE_INPUT_PAUSED,_BufferingStreamSubscription__STATE_CANCELED,_BufferingStreamSubscription__STATE_WAIT_FOR_CANCEL,_BufferingStreamSubscription__STATE_IN_CALLBACK,_BufferingStreamSubscription__STATE_HAS_PENDING,_BufferingStreamSubscription__STATE_PAUSE_COUNT,_BufferingStreamSubscription__STATE_PAUSE_COUNT_SHIFT"} |
| }, |
| _BufferingStreamSubscription__sendError_sendError: { |
| "^": "Closure:18;this_0,error_1,stackTrace_2", |
| call$0: [function() { |
| var t1, t2, t3, t4, t5, t6; |
| t1 = this.this_0; |
| t2 = t1._state; |
| if ((t2 & 8) !== 0 && (t2 & 16) === 0) |
| return; |
| t1._state = (t2 | 32) >>> 0; |
| t2 = t1._zone; |
| if (!t2.inSameErrorZone$1($.Zone__current)) |
| $.Zone__current.handleUncaughtError$2(this.error_1, this.stackTrace_2); |
| else { |
| t3 = t1._onError; |
| t4 = H.getDynamicRuntimeType(); |
| t4 = H.buildFunctionType(t4, [t4, t4])._isTest$1(t3); |
| t5 = t1._onError; |
| t6 = this.error_1; |
| if (t4) |
| t2.runBinaryGuarded$3(t5, t6, this.stackTrace_2); |
| else |
| t2.runUnaryGuarded$2(t5, t6); |
| } |
| t1._state = (t1._state & 4294967263) >>> 0; |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _BufferingStreamSubscription__sendDone_sendDone: { |
| "^": "Closure:18;this_0", |
| call$0: [function() { |
| var t1, t2; |
| t1 = this.this_0; |
| t2 = t1._state; |
| if ((t2 & 16) === 0) |
| return; |
| t1._state = (t2 | 42) >>> 0; |
| t1._zone.runGuarded$1(t1._onDone); |
| t1._state = (t1._state & 4294967263) >>> 0; |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _StreamImpl: { |
| "^": "Stream;", |
| listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { |
| var subscription = this._createSubscription$1(true === cancelOnError); |
| subscription.onData$1(onData); |
| subscription.onError$1(0, onError); |
| subscription.onDone$1(onDone); |
| return subscription; |
| }, |
| listen$1: function(onData) { |
| return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); |
| }, |
| listen$3$onDone$onError: function(onData, onDone, onError) { |
| return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); |
| }, |
| _createSubscription$1: function(cancelOnError) { |
| var t1, t2; |
| t1 = $.Zone__current; |
| t2 = cancelOnError ? 1 : 0; |
| t2 = new P._BufferingStreamSubscription(null, null, null, t1, t2, null, null); |
| t2.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t2; |
| } |
| }, |
| _DelayedEvent: { |
| "^": "Object;next@" |
| }, |
| _DelayedData: { |
| "^": "_DelayedEvent;value>,next", |
| perform$1: function(dispatch) { |
| dispatch._sendData$1(this.value); |
| } |
| }, |
| _DelayedError: { |
| "^": "_DelayedEvent;error>,stackTrace<,next", |
| perform$1: function(dispatch) { |
| dispatch._sendError$2(this.error, this.stackTrace); |
| } |
| }, |
| _DelayedDone: { |
| "^": "Object;", |
| perform$1: function(dispatch) { |
| dispatch._sendDone$0(); |
| }, |
| get$next: function() { |
| return; |
| }, |
| set$next: function(_) { |
| throw H.wrapException(P.StateError$("No events after a done.")); |
| } |
| }, |
| _PendingEvents: { |
| "^": "Object;", |
| schedule$1: function(dispatch) { |
| var t1 = this._state; |
| if (t1 === 1) |
| return; |
| if (t1 >= 1) { |
| this._state = 1; |
| return; |
| } |
| P.scheduleMicrotask(new P._PendingEvents_schedule_closure(this, dispatch)); |
| this._state = 1; |
| }, |
| cancelSchedule$0: function() { |
| if (this._state === 1) |
| this._state = 3; |
| } |
| }, |
| _PendingEvents_schedule_closure: { |
| "^": "Closure:69;this_0,dispatch_1", |
| call$0: [function() { |
| var t1, oldState; |
| t1 = this.this_0; |
| oldState = t1._state; |
| t1._state = 0; |
| if (oldState === 3) |
| return; |
| t1.handleNext$1(this.dispatch_1); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _StreamImplEvents: { |
| "^": "_PendingEvents;firstPendingEvent,lastPendingEvent,_state", |
| get$isEmpty: function(_) { |
| return this.lastPendingEvent == null; |
| }, |
| add$1: function(_, $event) { |
| var t1 = this.lastPendingEvent; |
| if (t1 == null) { |
| this.lastPendingEvent = $event; |
| this.firstPendingEvent = $event; |
| } else { |
| t1.set$next($event); |
| this.lastPendingEvent = $event; |
| } |
| }, |
| handleNext$1: function(dispatch) { |
| var $event, t1; |
| $event = this.firstPendingEvent; |
| t1 = $event.get$next(); |
| this.firstPendingEvent = t1; |
| if (t1 == null) |
| this.lastPendingEvent = null; |
| $event.perform$1(dispatch); |
| }, |
| clear$0: function(_) { |
| if (this._state === 1) |
| this._state = 3; |
| this.lastPendingEvent = null; |
| this.firstPendingEvent = null; |
| } |
| }, |
| _DoneStreamSubscription: { |
| "^": "Object;_zone<,_state,_onDone", |
| get$isPaused: function() { |
| return this._state >= 4; |
| }, |
| _schedule$0: function() { |
| if ((this._state & 2) !== 0) |
| return; |
| this._zone.scheduleMicrotask$1(this.get$_sendDone()); |
| this._state = (this._state | 2) >>> 0; |
| }, |
| onData$1: function(handleData) { |
| }, |
| onError$1: function(_, handleError) { |
| }, |
| onDone$1: function(handleDone) { |
| this._onDone = handleDone; |
| }, |
| pause$1: [function(_, resumeSignal) { |
| this._state += 4; |
| if (resumeSignal != null) |
| resumeSignal.whenComplete$1(this.get$resume(this)); |
| }, function($receiver) { |
| return this.pause$1($receiver, null); |
| }, "pause$0", "call$1", "call$0", "get$pause", 0, 2, 116, 23, 117], |
| resume$0: [function(_) { |
| var t1 = this._state; |
| if (t1 >= 4) { |
| t1 -= 4; |
| this._state = t1; |
| if (t1 < 4 && (t1 & 1) === 0) |
| this._schedule$0(); |
| } |
| }, "call$0", "get$resume", 0, 0, 18], |
| cancel$0: function() { |
| return; |
| }, |
| _sendDone$0: [function() { |
| var t1 = (this._state & 4294967293) >>> 0; |
| this._state = t1; |
| if (t1 >= 4) |
| return; |
| this._state = (t1 | 1) >>> 0; |
| t1 = this._onDone; |
| if (t1 != null) |
| this._zone.runGuarded$1(t1); |
| }, "call$0", "get$_sendDone", 0, 0, 18], |
| $isStreamSubscription: true, |
| static: {"^": "_DoneStreamSubscription__DONE_SENT,_DoneStreamSubscription__SCHEDULED,_DoneStreamSubscription__PAUSED"} |
| }, |
| _cancelAndError_closure: { |
| "^": "Closure:69;future_0,error_1,stackTrace_2", |
| call$0: [function() { |
| return this.future_0._completeError$2(this.error_1, this.stackTrace_2); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _cancelAndErrorClosure_closure: { |
| "^": "Closure:118;subscription_0,future_1", |
| call$2: function(error, stackTrace) { |
| return P._cancelAndError(this.subscription_0, this.future_1, error, stackTrace); |
| }, |
| $isFunction: true |
| }, |
| _cancelAndValue_closure: { |
| "^": "Closure:69;future_0,value_1", |
| call$0: [function() { |
| return this.future_0._complete$1(this.value_1); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _ForwardingStream: { |
| "^": "Stream;", |
| listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { |
| var t1, t2, t3, t4, result; |
| cancelOnError = true === cancelOnError; |
| t1 = H.getRuntimeTypeArgument(this, "_ForwardingStream", 0); |
| t2 = H.getRuntimeTypeArgument(this, "_ForwardingStream", 1); |
| t3 = $.Zone__current; |
| t4 = cancelOnError ? 1 : 0; |
| result = H.setRuntimeTypeInfo(new P._ForwardingStreamSubscription(this, null, null, null, null, t3, t4, null, null), [t1, t2]); |
| result._ForwardingStreamSubscription$2(this, cancelOnError, t1, t2); |
| result.onData$1(onData); |
| result.onError$1(0, onError); |
| result.onDone$1(onDone); |
| return result; |
| }, |
| listen$3$onDone$onError: function(onData, onDone, onError) { |
| return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); |
| }, |
| listen$1: function(onData) { |
| return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); |
| }, |
| _handleData$2: function(data, sink) { |
| sink._async$_add$1(0, data); |
| }, |
| $asStream: function($S, $T) { |
| return [$T]; |
| } |
| }, |
| _ForwardingStreamSubscription: { |
| "^": "_BufferingStreamSubscription;_stream,_subscription,_onData,_onError,_onDone,_zone,_state,_cancelFuture,_pending", |
| _async$_add$1: function(_, data) { |
| if ((this._state & 2) !== 0) |
| return; |
| P._BufferingStreamSubscription.prototype._async$_add$1.call(this, this, data); |
| }, |
| _addError$2: function(error, stackTrace) { |
| if ((this._state & 2) !== 0) |
| return; |
| P._BufferingStreamSubscription.prototype._addError$2.call(this, error, stackTrace); |
| }, |
| _onPause$0: [function() { |
| var t1 = this._subscription; |
| if (t1 == null) |
| return; |
| t1.pause$0(0); |
| }, "call$0", "get$_onPause", 0, 0, 18], |
| _onResume$0: [function() { |
| var t1 = this._subscription; |
| if (t1 == null) |
| return; |
| t1.resume$0(0); |
| }, "call$0", "get$_onResume", 0, 0, 18], |
| _onCancel$0: function() { |
| var t1 = this._subscription; |
| if (t1 != null) { |
| this._subscription = null; |
| t1.cancel$0(); |
| } |
| return; |
| }, |
| _handleData$1: [function(data) { |
| this._stream._handleData$2(data, this); |
| }, "call$1", "get$_handleData", 2, 0, function() { |
| return H.computeSignature(function(S, T) { |
| return {func: "void__S", void: true, args: [S]}; |
| }, this.$receiver, "_ForwardingStreamSubscription"); |
| }, 104], |
| _handleError$2: [function(error, stackTrace) { |
| this._addError$2(error, stackTrace); |
| }, "call$2", "get$_handleError", 4, 0, 119, 24, 25], |
| _handleDone$0: [function() { |
| this._close$0(); |
| }, "call$0", "get$_handleDone", 0, 0, 18], |
| _ForwardingStreamSubscription$2: function(_stream, cancelOnError, $S, $T) { |
| var t1, t2; |
| t1 = this.get$_handleData(); |
| t2 = this.get$_handleError(); |
| this._subscription = this._stream._async$_source.listen$3$onDone$onError(t1, this.get$_handleDone(), t2); |
| }, |
| $as_BufferingStreamSubscription: function($S, $T) { |
| return [$T]; |
| }, |
| $asStreamSubscription: function($S, $T) { |
| return [$T]; |
| } |
| }, |
| _WhereStream: { |
| "^": "_ForwardingStream;_test,_async$_source", |
| _test$1: function(arg0) { |
| return this._test.call$1(arg0); |
| }, |
| _handleData$2: function(inputEvent, sink) { |
| var satisfies, e, s, exception, t1; |
| satisfies = null; |
| try { |
| satisfies = this._test$1(inputEvent); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| sink._addError$2(e, s); |
| return; |
| } |
| |
| if (satisfies === true) |
| J._async$_add$1$x(sink, inputEvent); |
| }, |
| $as_ForwardingStream: function($T) { |
| return [$T, $T]; |
| }, |
| $asStream: null |
| }, |
| _MapStream: { |
| "^": "_ForwardingStream;_transform,_async$_source", |
| _transform$1: function(arg0) { |
| return this._transform.call$1(arg0); |
| }, |
| _handleData$2: function(inputEvent, sink) { |
| var outputEvent, e, s, exception, t1; |
| outputEvent = null; |
| try { |
| outputEvent = this._transform$1(inputEvent); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| sink._addError$2(e, s); |
| return; |
| } |
| |
| J._async$_add$1$x(sink, outputEvent); |
| } |
| }, |
| _ExpandStream: { |
| "^": "_ForwardingStream;_expand,_async$_source", |
| _expand$1: function(arg0) { |
| return this._expand.call$1(arg0); |
| }, |
| _handleData$2: function(inputEvent, sink) { |
| var value, e, s, t1, exception; |
| try { |
| for (t1 = J.get$iterator$ax(this._expand$1(inputEvent)); t1.moveNext$0();) { |
| value = t1.get$current(); |
| J._async$_add$1$x(sink, value); |
| } |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| sink._addError$2(e, s); |
| } |
| |
| } |
| }, |
| Timer: { |
| "^": "Object;" |
| }, |
| ZoneSpecification: { |
| "^": "Object;" |
| }, |
| _ZoneSpecification: { |
| "^": "Object;handleUncaughtError<,run<,runUnary<,runBinary<,registerCallback<,registerUnaryCallback<,registerBinaryCallback<,scheduleMicrotask<,createTimer<,createPeriodicTimer,print>,fork<", |
| handleUncaughtError$2: function(arg0, arg1) { |
| return this.handleUncaughtError.call$2(arg0, arg1); |
| }, |
| run$1: function(arg0) { |
| return this.run.call$1(arg0); |
| }, |
| runUnary$2: function(arg0, arg1) { |
| return this.runUnary.call$2(arg0, arg1); |
| }, |
| runBinary$3: function(arg0, arg1, arg2) { |
| return this.runBinary.call$3(arg0, arg1, arg2); |
| }, |
| registerCallback$1: function(arg0) { |
| return this.registerCallback.call$1(arg0); |
| }, |
| registerUnaryCallback$1: function(arg0) { |
| return this.registerUnaryCallback.call$1(arg0); |
| }, |
| registerBinaryCallback$1: function(arg0) { |
| return this.registerBinaryCallback.call$1(arg0); |
| }, |
| scheduleMicrotask$1: function(arg0) { |
| return this.scheduleMicrotask.call$1(arg0); |
| }, |
| scheduleMicrotask$2: function(arg0, arg1) { |
| return this.scheduleMicrotask.call$2(arg0, arg1); |
| }, |
| createTimer$2: function(arg0, arg1) { |
| return this.createTimer.call$2(arg0, arg1); |
| }, |
| print$1: function($receiver, arg0) { |
| return this.print.call$1(arg0); |
| }, |
| fork$1$specification: function(arg0) { |
| return this.fork.call$1$specification(arg0); |
| } |
| }, |
| ZoneDelegate: { |
| "^": "Object;" |
| }, |
| Zone: { |
| "^": "Object;" |
| }, |
| _ZoneDelegate: { |
| "^": "Object;_degelationTarget", |
| get$_zone: function() { |
| return this._degelationTarget; |
| }, |
| handleUncaughtError$3: function(zone, error, stackTrace) { |
| var $parent = this._degelationTarget; |
| for (; $parent.get$_specification().get$handleUncaughtError() == null;) |
| $parent = $parent.get$parent($parent); |
| return $parent.get$_specification().get$handleUncaughtError().call$5($parent, new P._ZoneDelegate($parent.get$parent($parent)), zone, error, stackTrace); |
| }, |
| run$2: function(zone, f) { |
| var $parent = this._degelationTarget; |
| for (; $parent.get$_specification().get$run() == null;) |
| $parent = $parent.get$parent($parent); |
| return $parent.get$_specification().get$run().call$4($parent, new P._ZoneDelegate($parent.get$parent($parent)), zone, f); |
| }, |
| runUnary$3: function(zone, f, arg) { |
| var $parent = this._degelationTarget; |
| for (; $parent.get$_specification().get$runUnary() == null;) |
| $parent = $parent.get$parent($parent); |
| return $parent.get$_specification().get$runUnary().call$5($parent, new P._ZoneDelegate($parent.get$parent($parent)), zone, f, arg); |
| }, |
| runBinary$4: function(zone, f, arg1, arg2) { |
| var $parent = this._degelationTarget; |
| for (; $parent.get$_specification().get$runBinary() == null;) |
| $parent = $parent.get$parent($parent); |
| return $parent.get$_specification().get$runBinary().call$6($parent, new P._ZoneDelegate($parent.get$parent($parent)), zone, f, arg1, arg2); |
| }, |
| registerCallback$2: function(zone, f) { |
| var $parent = this._degelationTarget; |
| for (; $parent.get$_specification().get$registerCallback() == null;) |
| $parent = $parent.get$parent($parent); |
| return $parent.get$_specification().get$registerCallback().call$4($parent, new P._ZoneDelegate($parent.get$parent($parent)), zone, f); |
| }, |
| registerUnaryCallback$2: function(zone, f) { |
| var $parent = this._degelationTarget; |
| for (; $parent.get$_specification().get$registerUnaryCallback() == null;) |
| $parent = $parent.get$parent($parent); |
| return $parent.get$_specification().get$registerUnaryCallback().call$4($parent, new P._ZoneDelegate($parent.get$parent($parent)), zone, f); |
| }, |
| registerBinaryCallback$2: function(zone, f) { |
| var $parent = this._degelationTarget; |
| for (; $parent.get$_specification().get$registerBinaryCallback() == null;) |
| $parent = $parent.get$parent($parent); |
| return $parent.get$_specification().get$registerBinaryCallback().call$4($parent, new P._ZoneDelegate($parent.get$parent($parent)), zone, f); |
| }, |
| scheduleMicrotask$2: function(zone, f) { |
| var $parent, t1; |
| $parent = this._degelationTarget; |
| for (; $parent.get$_specification().get$scheduleMicrotask() == null;) |
| $parent = $parent.get$parent($parent); |
| t1 = $parent.get$parent($parent); |
| $parent.get$_specification().get$scheduleMicrotask().call$4($parent, new P._ZoneDelegate(t1), zone, f); |
| }, |
| createTimer$3: function(zone, duration, f) { |
| var $parent = this._degelationTarget; |
| for (; $parent.get$_specification().get$createTimer() == null;) |
| $parent = $parent.get$parent($parent); |
| return $parent.get$_specification().get$createTimer().call$5($parent, new P._ZoneDelegate($parent.get$parent($parent)), zone, duration, f); |
| }, |
| print$2: function(_, zone, line) { |
| var $parent, t1; |
| $parent = this._degelationTarget; |
| for (; t1 = $parent.get$_specification(), t1.get$print(t1) == null;) |
| $parent = $parent.get$parent($parent); |
| t1 = $parent.get$_specification(); |
| t1.get$print(t1).call$4($parent, new P._ZoneDelegate($parent.get$parent($parent)), zone, line); |
| }, |
| fork$3: function(zone, specification, zoneValues) { |
| var $parent, t1; |
| $parent = this._degelationTarget; |
| for (; $parent.get$_specification().get$fork() == null;) |
| $parent = $parent.get$parent($parent); |
| t1 = $parent.get$parent($parent); |
| return $parent.get$_specification().get$fork().call$5($parent, new P._ZoneDelegate(t1), zone, specification, zoneValues); |
| } |
| }, |
| _BaseZone: { |
| "^": "Object;", |
| inSameErrorZone$1: function(otherZone) { |
| return this.get$_errorZone() === otherZone.get$_errorZone(); |
| }, |
| runGuarded$1: function(f) { |
| var e, s, t1, exception; |
| try { |
| t1 = this.run$1(f); |
| return t1; |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| return this.handleUncaughtError$2(e, s); |
| } |
| |
| }, |
| runUnaryGuarded$2: function(f, arg) { |
| var e, s, t1, exception; |
| try { |
| t1 = this.runUnary$2(f, arg); |
| return t1; |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| return this.handleUncaughtError$2(e, s); |
| } |
| |
| }, |
| runBinaryGuarded$3: function(f, arg1, arg2) { |
| var e, s, t1, exception; |
| try { |
| t1 = this.runBinary$3(f, arg1, arg2); |
| return t1; |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| return this.handleUncaughtError$2(e, s); |
| } |
| |
| }, |
| bindCallback$2$runGuarded: function(f, runGuarded) { |
| var registered = this.registerCallback$1(f); |
| if (runGuarded) |
| return new P._BaseZone_bindCallback_closure(this, registered); |
| else |
| return new P._BaseZone_bindCallback_closure0(this, registered); |
| }, |
| bindCallback$1: function(f) { |
| return this.bindCallback$2$runGuarded(f, true); |
| }, |
| 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); |
| }, |
| bindBinaryCallback$2$runGuarded: function(f, runGuarded) { |
| var registered = this.registerBinaryCallback$1(f); |
| if (runGuarded) |
| return new P._BaseZone_bindBinaryCallback_closure(this, registered); |
| else |
| return new P._BaseZone_bindBinaryCallback_closure0(this, registered); |
| } |
| }, |
| _BaseZone_bindCallback_closure: { |
| "^": "Closure:69;this_0,registered_1", |
| call$0: [function() { |
| return this.this_0.runGuarded$1(this.registered_1); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _BaseZone_bindCallback_closure0: { |
| "^": "Closure:69;this_2,registered_3", |
| call$0: [function() { |
| return this.this_2.run$1(this.registered_3); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _BaseZone_bindUnaryCallback_closure: { |
| "^": "Closure:13;this_0,registered_1", |
| call$1: [function(arg) { |
| return this.this_0.runUnaryGuarded$2(this.registered_1, arg); |
| }, "call$1", null, 2, 0, null, 33, "call"], |
| $isFunction: true |
| }, |
| _BaseZone_bindUnaryCallback_closure0: { |
| "^": "Closure:13;this_2,registered_3", |
| call$1: [function(arg) { |
| return this.this_2.runUnary$2(this.registered_3, arg); |
| }, "call$1", null, 2, 0, null, 33, "call"], |
| $isFunction: true |
| }, |
| _BaseZone_bindBinaryCallback_closure: { |
| "^": "Closure:75;this_0,registered_1", |
| call$2: [function(arg1, arg2) { |
| return this.this_0.runBinaryGuarded$3(this.registered_1, arg1, arg2); |
| }, "call$2", null, 4, 0, null, 9, 10, "call"], |
| $isFunction: true |
| }, |
| _BaseZone_bindBinaryCallback_closure0: { |
| "^": "Closure:75;this_2,registered_3", |
| call$2: [function(arg1, arg2) { |
| return this.this_2.runBinary$3(this.registered_3, arg1, arg2); |
| }, "call$2", null, 4, 0, null, 9, 10, "call"], |
| $isFunction: true |
| }, |
| _CustomizedZone: { |
| "^": "_BaseZone;parent>,_specification<,_async$_map", |
| get$_errorZone: function() { |
| return this.parent.get$_errorZone(); |
| }, |
| $index: function(_, key) { |
| var t1, result; |
| t1 = this._async$_map; |
| result = t1.$index(0, key); |
| if (result != null || t1.containsKey$1(key)) |
| return result; |
| return this.parent.$index(0, key); |
| }, |
| handleUncaughtError$2: function(error, stackTrace) { |
| return new P._ZoneDelegate(this).handleUncaughtError$3(this, error, stackTrace); |
| }, |
| fork$2$specification$zoneValues: function(specification, zoneValues) { |
| return new P._ZoneDelegate(this).fork$3(this, specification, zoneValues); |
| }, |
| fork$1$specification: function(specification) { |
| return this.fork$2$specification$zoneValues(specification, null); |
| }, |
| run$1: function(f) { |
| return new P._ZoneDelegate(this).run$2(this, f); |
| }, |
| runUnary$2: function(f, arg) { |
| return new P._ZoneDelegate(this).runUnary$3(this, f, arg); |
| }, |
| runBinary$3: function(f, arg1, arg2) { |
| return new P._ZoneDelegate(this).runBinary$4(this, f, arg1, arg2); |
| }, |
| registerCallback$1: function(f) { |
| return new P._ZoneDelegate(this).registerCallback$2(this, f); |
| }, |
| registerUnaryCallback$1: function(f) { |
| return new P._ZoneDelegate(this).registerUnaryCallback$2(this, f); |
| }, |
| registerBinaryCallback$1: function(f) { |
| return new P._ZoneDelegate(this).registerBinaryCallback$2(this, f); |
| }, |
| scheduleMicrotask$1: function(f) { |
| new P._ZoneDelegate(this).scheduleMicrotask$2(this, f); |
| }, |
| createTimer$2: function(duration, f) { |
| return new P._ZoneDelegate(this).createTimer$3(this, duration, f); |
| }, |
| print$1: function(_, line) { |
| new P._ZoneDelegate(this).print$2(0, this, line); |
| } |
| }, |
| _rootHandleUncaughtError_closure: { |
| "^": "Closure:69;error_0,stackTrace_1", |
| call$0: [function() { |
| P._scheduleAsyncCallback(new P._rootHandleUncaughtError__closure(this.error_0, this.stackTrace_1)); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _rootHandleUncaughtError__closure: { |
| "^": "Closure:69;error_2,stackTrace_3", |
| call$0: [function() { |
| var t1, trace; |
| t1 = this.error_2; |
| P.print("Uncaught Error: " + H.S(t1)); |
| trace = this.stackTrace_3; |
| if (trace == null && !!J.getInterceptor(t1).$isError) |
| trace = t1.get$stackTrace(); |
| if (trace != null) |
| P.print("Stack Trace: \n" + H.S(trace) + "\n"); |
| throw H.wrapException(t1); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _rootFork_closure: { |
| "^": "Closure:75;copiedMap_0", |
| call$2: [function(key, value) { |
| this.copiedMap_0.$indexSet(0, key, value); |
| }, "call$2", null, 4, 0, null, 76, 21, "call"], |
| $isFunction: true |
| }, |
| _RootZoneSpecification: { |
| "^": "Object;", |
| get$handleUncaughtError: function() { |
| return P._rootHandleUncaughtError$closure(); |
| }, |
| handleUncaughtError$2: function(arg0, arg1) { |
| return this.get$handleUncaughtError().call$2(arg0, arg1); |
| }, |
| get$run: function() { |
| return P._rootRun$closure(); |
| }, |
| run$1: function(arg0) { |
| return this.get$run().call$1(arg0); |
| }, |
| get$runUnary: function() { |
| return P._rootRunUnary$closure(); |
| }, |
| runUnary$2: function(arg0, arg1) { |
| return this.get$runUnary().call$2(arg0, arg1); |
| }, |
| get$runBinary: function() { |
| return P._rootRunBinary$closure(); |
| }, |
| runBinary$3: function(arg0, arg1, arg2) { |
| return this.get$runBinary().call$3(arg0, arg1, arg2); |
| }, |
| get$registerCallback: function() { |
| return P._rootRegisterCallback$closure(); |
| }, |
| registerCallback$1: function(arg0) { |
| return this.get$registerCallback().call$1(arg0); |
| }, |
| get$registerUnaryCallback: function() { |
| return P._rootRegisterUnaryCallback$closure(); |
| }, |
| registerUnaryCallback$1: function(arg0) { |
| return this.get$registerUnaryCallback().call$1(arg0); |
| }, |
| get$registerBinaryCallback: function() { |
| return P._rootRegisterBinaryCallback$closure(); |
| }, |
| registerBinaryCallback$1: function(arg0) { |
| return this.get$registerBinaryCallback().call$1(arg0); |
| }, |
| get$scheduleMicrotask: function() { |
| return P._rootScheduleMicrotask$closure(); |
| }, |
| scheduleMicrotask$1: function(arg0) { |
| return this.get$scheduleMicrotask().call$1(arg0); |
| }, |
| scheduleMicrotask$2: function(arg0, arg1) { |
| return this.get$scheduleMicrotask().call$2(arg0, arg1); |
| }, |
| get$createTimer: function() { |
| return P._rootCreateTimer$closure(); |
| }, |
| createTimer$2: function(arg0, arg1) { |
| return this.get$createTimer().call$2(arg0, arg1); |
| }, |
| get$print: function(_) { |
| return P._rootPrint$closure(); |
| }, |
| print$1: function($receiver, arg0) { |
| return this.get$print(this).call$1(arg0); |
| }, |
| get$fork: function() { |
| return P._rootFork$closure(); |
| }, |
| fork$1$specification: function(arg0) { |
| return this.get$fork().call$1$specification(arg0); |
| } |
| }, |
| _RootZone: { |
| "^": "_BaseZone;", |
| get$parent: function(_) { |
| return; |
| }, |
| get$_specification: function() { |
| return C.C__RootZoneSpecification; |
| }, |
| get$_errorZone: function() { |
| return this; |
| }, |
| inSameErrorZone$1: function(otherZone) { |
| return otherZone.get$_errorZone() === this; |
| }, |
| $index: function(_, key) { |
| return; |
| }, |
| handleUncaughtError$2: function(error, stackTrace) { |
| return P._rootHandleUncaughtError(this, null, this, error, stackTrace); |
| }, |
| fork$2$specification$zoneValues: function(specification, zoneValues) { |
| return P._rootFork(this, null, this, specification, zoneValues); |
| }, |
| fork$1$specification: function(specification) { |
| return this.fork$2$specification$zoneValues(specification, null); |
| }, |
| run$1: function(f) { |
| return P._rootRun(this, null, this, f); |
| }, |
| runUnary$2: function(f, arg) { |
| return P._rootRunUnary(this, null, this, f, arg); |
| }, |
| runBinary$3: function(f, arg1, arg2) { |
| return P._rootRunBinary(this, null, this, f, arg1, arg2); |
| }, |
| registerCallback$1: function(f) { |
| return f; |
| }, |
| registerUnaryCallback$1: function(f) { |
| return f; |
| }, |
| registerBinaryCallback$1: function(f) { |
| return f; |
| }, |
| scheduleMicrotask$1: function(f) { |
| P._rootScheduleMicrotask(this, null, this, f); |
| }, |
| createTimer$2: function(duration, f) { |
| return P._rootCreateTimer(this, null, this, duration, f); |
| }, |
| print$1: function(_, line) { |
| H.printString(line); |
| return; |
| } |
| } |
| }], |
| ["dart.collection", "dart:collection", , P, { |
| "^": "", |
| LinkedHashMap_LinkedHashMap$_literal: function(keyValuePairs, $K, $V) { |
| return H.fillLiteralMap(keyValuePairs, H.setRuntimeTypeInfo(new P._LinkedHashMap(0, null, null, null, null, null, 0), [$K, $V])); |
| }, |
| LinkedHashMap_LinkedHashMap$_empty: function($K, $V) { |
| return H.setRuntimeTypeInfo(new P._LinkedHashMap(0, null, null, null, null, null, 0), [$K, $V]); |
| }, |
| _defaultEquals: [function(a, b) { |
| return J.$eq(a, b); |
| }, "call$2", "_defaultEquals$closure", 4, 0, 45, 46, 47], |
| _defaultHashCode: [function(a) { |
| return J.get$hashCode$(a); |
| }, "call$1", "_defaultHashCode$closure", 2, 0, 48, 46], |
| HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) { |
| var t1; |
| if (equals == null) { |
| t1 = new P._HashMap(0, null, null, null, null); |
| t1.$builtinTypeInfo = [$K, $V]; |
| return t1; |
| } |
| hashCode = P._defaultHashCode$closure(); |
| return P._CustomHashMap$(equals, hashCode, isValidKey, $K, $V); |
| }, |
| HashMap_HashMap$identity: function($K, $V) { |
| return H.setRuntimeTypeInfo(new P._IdentityHashMap(0, null, null, null, null), [$K, $V]); |
| }, |
| HashSet_HashSet: function(equals, hashCode, isValidKey, $E) { |
| return H.setRuntimeTypeInfo(new P._HashSet(0, null, null, null, null), [$E]); |
| }, |
| IterableBase_iterableToShortString: function(iterable, leftDelimiter, rightDelimiter) { |
| var parts, t1; |
| if (P.IterableBase__isToStringVisiting(iterable)) { |
| if (leftDelimiter === "(" && rightDelimiter === ")") |
| return "(...)"; |
| return leftDelimiter + "..." + rightDelimiter; |
| } |
| parts = []; |
| t1 = $.get$IterableBase__toStringVisiting(); |
| t1.push(iterable); |
| try { |
| P.IterableBase__iterablePartsToStrings(iterable, parts); |
| } finally { |
| if (0 >= t1.length) |
| return H.ioore(t1, 0); |
| t1.pop(); |
| } |
| t1 = P.StringBuffer$(leftDelimiter); |
| t1.writeAll$2(parts, ", "); |
| t1.write$1(rightDelimiter); |
| return t1._contents; |
| }, |
| IterableBase_iterableToFullString: function(iterable, leftDelimiter, rightDelimiter) { |
| var buffer, t1; |
| if (P.IterableBase__isToStringVisiting(iterable)) |
| return leftDelimiter + "..." + rightDelimiter; |
| buffer = P.StringBuffer$(leftDelimiter); |
| t1 = $.get$IterableBase__toStringVisiting(); |
| t1.push(iterable); |
| try { |
| buffer.writeAll$2(iterable, ", "); |
| } finally { |
| if (0 >= t1.length) |
| return H.ioore(t1, 0); |
| t1.pop(); |
| } |
| buffer.write$1(rightDelimiter); |
| return buffer.get$_contents(); |
| }, |
| IterableBase__isToStringVisiting: function(o) { |
| var i, t1; |
| for (i = 0; t1 = $.get$IterableBase__toStringVisiting(), i < t1.length; ++i) |
| if (o === t1[i]) |
| return true; |
| return false; |
| }, |
| IterableBase__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) |
| return H.ioore(parts, 0); |
| ultimateString = parts.pop(); |
| if (0 >= parts.length) |
| return 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) |
| return 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) |
| return 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) |
| return 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) { |
| return H.setRuntimeTypeInfo(new P._LinkedHashMap(0, null, null, null, null, null, 0), [$K, $V]); |
| }, |
| LinkedHashSet_LinkedHashSet: function(equals, hashCode, isValidKey, $E) { |
| return H.setRuntimeTypeInfo(new P._LinkedHashSet(0, null, null, null, null, null, 0), [$E]); |
| }, |
| Maps_mapToString: function(m) { |
| var t1, result; |
| t1 = {}; |
| if (P.IterableBase__isToStringVisiting(m)) |
| return "{...}"; |
| result = P.StringBuffer$(""); |
| try { |
| $.get$IterableBase__toStringVisiting().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$IterableBase__toStringVisiting(); |
| if (0 >= t1.length) |
| return H.ioore(t1, 0); |
| t1.pop(); |
| } |
| return result.get$_contents(); |
| }, |
| _HashMap: { |
| "^": "Object;_collection$_length,_strings,_nums,_rest,_collection$_keys", |
| get$length: function(_) { |
| return this._collection$_length; |
| }, |
| get$isEmpty: function(_) { |
| return this._collection$_length === 0; |
| }, |
| get$isNotEmpty: function(_) { |
| return this._collection$_length !== 0; |
| }, |
| get$keys: function() { |
| return H.setRuntimeTypeInfo(new P.HashMapKeyIterable(this), [H.getTypeArgumentByIndex(this, 0)]); |
| }, |
| get$values: function(_) { |
| return H.MappedIterable_MappedIterable(H.setRuntimeTypeInfo(new P.HashMapKeyIterable(this), [H.getTypeArgumentByIndex(this, 0)]), new P._HashMap_values_closure(this), H.getTypeArgumentByIndex(this, 0), H.getTypeArgumentByIndex(this, 1)); |
| }, |
| containsKey$1: function(key) { |
| var strings, nums; |
| if (typeof key === "string" && key !== "__proto__") { |
| strings = this._strings; |
| return strings == null ? false : strings[key] != null; |
| } else if (typeof key === "number" && (key & 0x3ffffff) === key) { |
| nums = this._nums; |
| return nums == null ? false : nums[key] != null; |
| } else |
| return this._containsKey$1(key); |
| }, |
| _containsKey$1: function(key) { |
| var rest = this._rest; |
| if (rest == null) |
| return false; |
| return this._findBucketIndex$2(rest[this._computeHashCode$1(key)], key) >= 0; |
| }, |
| addAll$1: function(_, other) { |
| H.IterableMixinWorkaround_forEach(other, new P._HashMap_addAll_closure(this)); |
| }, |
| $index: function(_, key) { |
| var strings, t1, entry, nums; |
| 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 |
| return this._get$1(key); |
| }, |
| _get$1: function(key) { |
| var rest, bucket, index; |
| 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; |
| 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 |
| this._set$2(key, value); |
| }, |
| _set$2: function(key, value) { |
| var rest, hash, bucket, index; |
| 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$_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$_keys = null; |
| } |
| } |
| }, |
| remove$1: function(_, key) { |
| 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 |
| return this._remove$1(key); |
| }, |
| _remove$1: function(key) { |
| var rest, bucket, index; |
| rest = this._rest; |
| if (rest == null) |
| return; |
| bucket = rest[this._computeHashCode$1(key)]; |
| index = this._findBucketIndex$2(bucket, key); |
| if (index < 0) |
| return; |
| --this._collection$_length; |
| this._collection$_keys = null; |
| return bucket.splice(index, 2)[1]; |
| }, |
| clear$0: function(_) { |
| if (this._collection$_length > 0) { |
| this._collection$_keys = null; |
| this._rest = null; |
| this._nums = null; |
| this._strings = null; |
| this._collection$_length = 0; |
| } |
| }, |
| 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(0, key)); |
| if (keys !== this._collection$_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._collection$_keys; |
| if (t1 != null) |
| return t1; |
| result = Array(this._collection$_length); |
| result.fixed$length = init; |
| 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._collection$_keys = result; |
| return result; |
| }, |
| _addHashTableEntry$3: function(table, key, value) { |
| if (table[key] == null) { |
| ++this._collection$_length; |
| this._collection$_keys = null; |
| } |
| P._HashMap__setTableEntry(table, key, value); |
| }, |
| _removeHashTableEntry$2: function(table, key) { |
| var value; |
| if (table != null && table[key] != null) { |
| value = P._HashMap__getTableEntry(table, key); |
| delete table[key]; |
| --this._collection$_length; |
| this._collection$_keys = null; |
| return value; |
| } else |
| return; |
| }, |
| _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__getTableEntry: function(table, key) { |
| var entry = table[key]; |
| return entry === table ? null : entry; |
| }, _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:13;this_0", |
| call$1: [function(each) { |
| return this.this_0.$index(0, each); |
| }, "call$1", null, 2, 0, null, 120, "call"], |
| $isFunction: true |
| }, |
| _HashMap_addAll_closure: { |
| "^": "Closure;this_0", |
| call$2: function(key, value) { |
| this.this_0.$indexSet(0, key, value); |
| }, |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(K, V) { |
| return {func: "dynamic__K_V", args: [K, V]}; |
| }, this.this_0, "_HashMap"); |
| } |
| }, |
| _IdentityHashMap: { |
| "^": "_HashMap;_collection$_length,_strings,_nums,_rest,_collection$_keys", |
| _computeHashCode$1: function(key) { |
| return H.objectHashCode(key) & 0x3ffffff; |
| }, |
| _findBucketIndex$2: function(bucket, key) { |
| var $length, i, t1; |
| if (bucket == null) |
| return -1; |
| $length = bucket.length; |
| for (i = 0; i < $length; i += 2) { |
| t1 = bucket[i]; |
| if (t1 == null ? key == null : t1 === key) |
| return i; |
| } |
| return -1; |
| } |
| }, |
| _CustomHashMap: { |
| "^": "_HashMap;_equals,_hashCode,_validKey,_collection$_length,_strings,_nums,_rest,_collection$_keys", |
| _equals$2: function(arg0, arg1) { |
| return this._equals.call$2(arg0, arg1); |
| }, |
| _hashCode$1: function(arg0) { |
| return this._hashCode.call$1(arg0); |
| }, |
| _validKey$1: function(arg0) { |
| return this._validKey.call$1(arg0); |
| }, |
| $index: function(_, key) { |
| if (this._validKey$1(key) !== true) |
| return; |
| return P._HashMap.prototype._get$1.call(this, key); |
| }, |
| $indexSet: function(_, key, value) { |
| P._HashMap.prototype._set$2.call(this, key, value); |
| }, |
| containsKey$1: function(key) { |
| if (this._validKey$1(key) !== true) |
| return false; |
| return P._HashMap.prototype._containsKey$1.call(this, key); |
| }, |
| remove$1: function(_, key) { |
| if (this._validKey$1(key) !== true) |
| return; |
| return P._HashMap.prototype._remove$1.call(this, key); |
| }, |
| _computeHashCode$1: function(key) { |
| return this._hashCode$1(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 (this._equals$2(bucket[i], key) === true) |
| return i; |
| return -1; |
| }, |
| toString$0: function(_) { |
| return P.Maps_mapToString(this); |
| }, |
| static: {_CustomHashMap$: function(_equals, _hashCode, validKey, $K, $V) { |
| var t1 = new P._CustomHashMap_closure($K); |
| return H.setRuntimeTypeInfo(new P._CustomHashMap(_equals, _hashCode, t1, 0, null, null, null, null), [$K, $V]); |
| }} |
| }, |
| _CustomHashMap_closure: { |
| "^": "Closure:13;K_0", |
| call$1: function(v) { |
| var t1 = H.checkSubtypeOfRuntimeType(v, this.K_0); |
| return t1; |
| }, |
| $isFunction: true |
| }, |
| HashMapKeyIterable: { |
| "^": "IterableBase;_map", |
| get$length: function(_) { |
| return this._map._collection$_length; |
| }, |
| get$isEmpty: function(_) { |
| return this._map._collection$_length === 0; |
| }, |
| get$iterator: function(_) { |
| var t1 = this._map; |
| t1 = new P.HashMapKeyIterator(t1, t1._computeKeys$0(), 0, null); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t1; |
| }, |
| contains$1: function(_, element) { |
| return this._map.containsKey$1(element); |
| }, |
| 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._collection$_keys) |
| throw H.wrapException(P.ConcurrentModificationError$(t1)); |
| } |
| }, |
| $isEfficientLength: true |
| }, |
| HashMapKeyIterator: { |
| "^": "Object;_map,_collection$_keys,_offset,_collection$_current", |
| get$current: function() { |
| return this._collection$_current; |
| }, |
| moveNext$0: function() { |
| var keys, offset, t1; |
| keys = this._collection$_keys; |
| offset = this._offset; |
| t1 = this._map; |
| if (keys !== t1._collection$_keys) |
| throw H.wrapException(P.ConcurrentModificationError$(t1)); |
| else if (offset >= keys.length) { |
| this._collection$_current = null; |
| return false; |
| } else { |
| this._collection$_current = keys[offset]; |
| this._offset = offset + 1; |
| return true; |
| } |
| } |
| }, |
| _LinkedHashMap: { |
| "^": "Object;_collection$_length,_strings,_nums,_rest,_first,_last,_modifications", |
| get$length: function(_) { |
| return this._collection$_length; |
| }, |
| get$isEmpty: function(_) { |
| return this._collection$_length === 0; |
| }, |
| get$isNotEmpty: function(_) { |
| return this._collection$_length !== 0; |
| }, |
| get$keys: function() { |
| return H.setRuntimeTypeInfo(new P.LinkedHashMapKeyIterable(this), [H.getTypeArgumentByIndex(this, 0)]); |
| }, |
| get$values: function(_) { |
| return H.MappedIterable_MappedIterable(H.setRuntimeTypeInfo(new P.LinkedHashMapKeyIterable(this), [H.getTypeArgumentByIndex(this, 0)]), new P._LinkedHashMap_values_closure(this), H.getTypeArgumentByIndex(this, 0), H.getTypeArgumentByIndex(this, 1)); |
| }, |
| containsKey$1: function(key) { |
| var strings, nums; |
| if (typeof key === "string" && key !== "__proto__") { |
| strings = this._strings; |
| if (strings == null) |
| return false; |
| return strings[key] != null; |
| } else if (typeof key === "number" && (key & 0x3ffffff) === key) { |
| nums = this._nums; |
| if (nums == null) |
| return false; |
| return nums[key] != null; |
| } else |
| return this._containsKey$1(key); |
| }, |
| _containsKey$1: function(key) { |
| var rest = this._rest; |
| if (rest == null) |
| return false; |
| return this._findBucketIndex$2(rest[this._computeHashCode$1(key)], key) >= 0; |
| }, |
| addAll$1: function(_, other) { |
| J.forEach$1$ax(other, new P._LinkedHashMap_addAll_closure(this)); |
| }, |
| $index: function(_, key) { |
| var strings, cell, nums; |
| if (typeof key === "string" && key !== "__proto__") { |
| strings = this._strings; |
| if (strings == null) |
| return; |
| cell = strings[key]; |
| return cell == null ? null : cell.get$_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$_value(); |
| } else |
| return this._get$1(key); |
| }, |
| _get$1: function(key) { |
| var rest, bucket, index; |
| 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$_value(); |
| }, |
| $indexSet: function(_, key, value) { |
| var strings, nums; |
| 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 |
| this._set$2(key, value); |
| }, |
| _set$2: function(key, value) { |
| var rest, hash, bucket, index; |
| 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$_value(value); |
| else |
| bucket.push(this._newLinkedCell$2(key, value)); |
| } |
| }, |
| putIfAbsent$2: function(key, ifAbsent) { |
| var value; |
| if (this.containsKey$1(key)) |
| return this.$index(0, key); |
| value = ifAbsent.call$0(); |
| this.$indexSet(0, key, value); |
| return value; |
| }, |
| remove$1: function(_, key) { |
| 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 |
| return this._remove$1(key); |
| }, |
| _remove$1: function(key) { |
| var rest, bucket, index, cell; |
| 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$_value(); |
| }, |
| clear$0: function(_) { |
| if (this._collection$_length > 0) { |
| this._last = null; |
| this._first = null; |
| this._rest = null; |
| this._nums = null; |
| this._strings = null; |
| this._collection$_length = 0; |
| this._modifications = this._modifications + 1 & 67108863; |
| } |
| }, |
| forEach$1: function(_, action) { |
| var cell, modifications; |
| cell = this._first; |
| modifications = this._modifications; |
| for (; cell != null;) { |
| action.call$2(cell.get$_key(), cell.get$_value()); |
| if (modifications !== this._modifications) |
| throw H.wrapException(P.ConcurrentModificationError$(this)); |
| cell = cell.get$_next(); |
| } |
| }, |
| _addHashTableEntry$3: function(table, key, value) { |
| var cell = table[key]; |
| if (cell == null) |
| table[key] = this._newLinkedCell$2(key, value); |
| else |
| cell.set$_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$_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.set$_next(cell); |
| this._last = cell; |
| } |
| ++this._collection$_length; |
| this._modifications = this._modifications + 1 & 67108863; |
| return cell; |
| }, |
| _unlinkCell$1: function(cell) { |
| var previous, next; |
| previous = cell.get$_previous(); |
| next = cell.get$_next(); |
| if (previous == null) |
| this._first = next; |
| else |
| previous.set$_next(next); |
| if (next == null) |
| this._last = previous; |
| else |
| next.set$_previous(previous); |
| --this._collection$_length; |
| 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); |
| }, |
| $isLinkedHashMap: true, |
| $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:13;this_0", |
| call$1: [function(each) { |
| return this.this_0.$index(0, each); |
| }, "call$1", null, 2, 0, null, 120, "call"], |
| $isFunction: true |
| }, |
| _LinkedHashMap_addAll_closure: { |
| "^": "Closure;this_0", |
| call$2: function(key, value) { |
| this.this_0.$indexSet(0, key, value); |
| }, |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(K, V) { |
| return {func: "dynamic__K_V0", args: [K, V]}; |
| }, this.this_0, "_LinkedHashMap"); |
| } |
| }, |
| LinkedHashMapCell: { |
| "^": "Object;_key<,_value@,_next@,_previous@" |
| }, |
| LinkedHashMapKeyIterable: { |
| "^": "IterableBase;_map", |
| get$length: function(_) { |
| return this._map._collection$_length; |
| }, |
| get$isEmpty: function(_) { |
| return this._map._collection$_length === 0; |
| }, |
| get$iterator: function(_) { |
| var t1, t2; |
| t1 = this._map; |
| t2 = new P.LinkedHashMapKeyIterator(t1, t1._modifications, null, null); |
| t2.$builtinTypeInfo = this.$builtinTypeInfo; |
| t2._cell = t1._first; |
| return t2; |
| }, |
| contains$1: function(_, element) { |
| return this._map.containsKey$1(element); |
| }, |
| forEach$1: function(_, f) { |
| var t1, cell, modifications; |
| t1 = this._map; |
| cell = t1._first; |
| modifications = t1._modifications; |
| for (; cell != null;) { |
| f.call$1(cell.get$_key()); |
| if (modifications !== t1._modifications) |
| throw H.wrapException(P.ConcurrentModificationError$(t1)); |
| cell = cell.get$_next(); |
| } |
| }, |
| $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.get$_key(); |
| this._cell = this._cell.get$_next(); |
| return true; |
| } |
| } |
| } |
| }, |
| _HashSet: { |
| "^": "_HashSetBase;_collection$_length,_strings,_nums,_rest,_elements", |
| get$iterator: function(_) { |
| var t1 = new P.HashSetIterator(this, this._computeElements$0(), 0, null); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t1; |
| }, |
| get$length: function(_) { |
| return this._collection$_length; |
| }, |
| get$isEmpty: function(_) { |
| return this._collection$_length === 0; |
| }, |
| get$isNotEmpty: function(_) { |
| return this._collection$_length !== 0; |
| }, |
| contains$1: function(_, object) { |
| var strings, nums; |
| 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 |
| return this._contains$1(object); |
| }, |
| _contains$1: function(object) { |
| var 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; |
| if (!(typeof object === "string" && object !== "__proto__")) |
| t1 = typeof object === "number" && (object & 0x3ffffff) === object; |
| else |
| t1 = true; |
| if (t1) |
| return this.contains$1(0, object) ? object : null; |
| return this._lookup$1(object); |
| }, |
| _lookup$1: function(object) { |
| var rest, bucket, index; |
| 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 strings, table, nums; |
| if (typeof element === "string" && element !== "__proto__") { |
| strings = this._strings; |
| if (strings == null) { |
| table = Object.create(null); |
| table["<non-identifier-key>"] = table; |
| delete table["<non-identifier-key>"]; |
| this._strings = table; |
| strings = table; |
| } |
| return this._addHashTableEntry$2(strings, element); |
| } else if (typeof element === "number" && (element & 0x3ffffff) === element) { |
| nums = this._nums; |
| if (nums == null) { |
| table = Object.create(null); |
| table["<non-identifier-key>"] = table; |
| delete table["<non-identifier-key>"]; |
| this._nums = table; |
| nums = table; |
| } |
| return this._addHashTableEntry$2(nums, element); |
| } else |
| return this._add$1(0, element); |
| }, |
| _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._elements = null; |
| return true; |
| }, |
| addAll$1: function(_, objects) { |
| var t1; |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(objects, objects.length, 0, null), [H.getTypeArgumentByIndex(objects, 0)]); t1.moveNext$0();) |
| this.add$1(0, t1._current); |
| }, |
| remove$1: function(_, object) { |
| if (typeof object === "string" && object !== "__proto__") |
| return this._removeHashTableEntry$2(this._strings, object); |
| else if (typeof object === "number" && (object & 0x3ffffff) === object) |
| return this._removeHashTableEntry$2(this._nums, object); |
| else |
| return this._remove$1(object); |
| }, |
| _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._elements = null; |
| bucket.splice(index, 1); |
| return true; |
| }, |
| clear$0: function(_) { |
| if (this._collection$_length > 0) { |
| this._elements = null; |
| this._rest = null; |
| this._nums = null; |
| this._strings = null; |
| this._collection$_length = 0; |
| } |
| }, |
| _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 = Array(this._collection$_length); |
| result.fixed$length = init; |
| 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; |
| }, |
| _addHashTableEntry$2: function(table, element) { |
| if (table[element] != null) |
| return false; |
| table[element] = 0; |
| ++this._collection$_length; |
| this._elements = null; |
| return true; |
| }, |
| _removeHashTableEntry$2: function(table, element) { |
| if (table != null && table[element] != null) { |
| delete table[element]; |
| --this._collection$_length; |
| this._elements = null; |
| return true; |
| } else |
| return false; |
| }, |
| _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; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null, |
| static: {_HashSet__newHashTable: function() { |
| var table = Object.create(null); |
| table["<non-identifier-key>"] = table; |
| delete table["<non-identifier-key>"]; |
| return table; |
| }} |
| }, |
| 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; |
| } |
| } |
| }, |
| _LinkedHashSet: { |
| "^": "_HashSetBase;_collection$_length,_strings,_nums,_rest,_first,_last,_modifications", |
| get$iterator: function(_) { |
| var t1 = H.setRuntimeTypeInfo(new P.LinkedHashSetIterator(this, this._modifications, null, null), [null]); |
| t1._cell = t1._set._first; |
| return t1; |
| }, |
| get$length: function(_) { |
| return this._collection$_length; |
| }, |
| get$isEmpty: function(_) { |
| return this._collection$_length === 0; |
| }, |
| get$isNotEmpty: function(_) { |
| return this._collection$_length !== 0; |
| }, |
| contains$1: function(_, object) { |
| var strings, nums; |
| if (typeof object === "string" && object !== "__proto__") { |
| strings = this._strings; |
| if (strings == null) |
| return false; |
| return strings[object] != null; |
| } else if (typeof object === "number" && (object & 0x3ffffff) === object) { |
| nums = this._nums; |
| if (nums == null) |
| return false; |
| return nums[object] != null; |
| } else |
| return this._contains$1(object); |
| }, |
| _contains$1: function(object) { |
| var 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; |
| if (!(typeof object === "string" && object !== "__proto__")) |
| t1 = typeof object === "number" && (object & 0x3ffffff) === object; |
| else |
| t1 = true; |
| if (t1) |
| return this.contains$1(0, object) ? object : null; |
| else |
| return this._lookup$1(object); |
| }, |
| _lookup$1: function(object) { |
| var rest, bucket, index; |
| 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.get$_element$x(J.$index$asx(bucket, index)); |
| }, |
| forEach$1: function(_, action) { |
| var cell, modifications; |
| cell = this._first; |
| modifications = this._modifications; |
| for (; cell != null;) { |
| action.call$1(cell.get$_element(cell)); |
| if (modifications !== this._modifications) |
| throw H.wrapException(P.ConcurrentModificationError$(this)); |
| cell = cell.get$_next(); |
| } |
| }, |
| get$last: function(_) { |
| var t1 = this._last; |
| if (t1 == null) |
| throw H.wrapException(P.StateError$("No elements")); |
| return t1.get$_element(t1); |
| }, |
| add$1: function(_, element) { |
| var strings, table, nums; |
| if (typeof element === "string" && element !== "__proto__") { |
| strings = this._strings; |
| if (strings == null) { |
| table = Object.create(null); |
| table["<non-identifier-key>"] = table; |
| delete table["<non-identifier-key>"]; |
| this._strings = table; |
| strings = table; |
| } |
| return this._addHashTableEntry$2(strings, element); |
| } else if (typeof element === "number" && (element & 0x3ffffff) === element) { |
| nums = this._nums; |
| if (nums == null) { |
| table = Object.create(null); |
| table["<non-identifier-key>"] = table; |
| delete table["<non-identifier-key>"]; |
| this._nums = table; |
| nums = table; |
| } |
| return this._addHashTableEntry$2(nums, element); |
| } else |
| return this._add$1(0, element); |
| }, |
| _add$1: function(_, element) { |
| var rest, hash, bucket; |
| rest = this._rest; |
| if (rest == null) { |
| rest = P._LinkedHashSet__newHashTable(); |
| this._rest = rest; |
| } |
| hash = this._computeHashCode$1(element); |
| bucket = rest[hash]; |
| if (bucket == null) |
| rest[hash] = [this._newLinkedCell$1(element)]; |
| else { |
| if (this._findBucketIndex$2(bucket, element) >= 0) |
| return false; |
| bucket.push(this._newLinkedCell$1(element)); |
| } |
| return true; |
| }, |
| remove$1: function(_, object) { |
| if (typeof object === "string" && object !== "__proto__") |
| return this._removeHashTableEntry$2(this._strings, object); |
| else if (typeof object === "number" && (object & 0x3ffffff) === object) |
| return this._removeHashTableEntry$2(this._nums, object); |
| else |
| return this._remove$1(object); |
| }, |
| _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._unlinkCell$1(bucket.splice(index, 1)[0]); |
| return true; |
| }, |
| clear$0: function(_) { |
| if (this._collection$_length > 0) { |
| this._last = null; |
| this._first = null; |
| this._rest = null; |
| this._nums = null; |
| this._strings = null; |
| this._collection$_length = 0; |
| this._modifications = this._modifications + 1 & 67108863; |
| } |
| }, |
| _addHashTableEntry$2: function(table, element) { |
| if (table[element] != null) |
| return false; |
| table[element] = this._newLinkedCell$1(element); |
| return true; |
| }, |
| _removeHashTableEntry$2: function(table, element) { |
| var cell; |
| if (table == null) |
| return false; |
| cell = table[element]; |
| if (cell == null) |
| return false; |
| this._unlinkCell$1(cell); |
| delete table[element]; |
| return true; |
| }, |
| _newLinkedCell$1: function(element) { |
| var cell, last; |
| cell = new P.LinkedHashSetCell(element, null, null); |
| if (this._first == null) { |
| this._last = cell; |
| this._first = cell; |
| } else { |
| last = this._last; |
| cell._previous = last; |
| last.set$_next(cell); |
| this._last = cell; |
| } |
| ++this._collection$_length; |
| this._modifications = this._modifications + 1 & 67108863; |
| return cell; |
| }, |
| _unlinkCell$1: function(cell) { |
| var previous, next; |
| previous = cell.get$_previous(); |
| next = cell.get$_next(); |
| if (previous == null) |
| this._first = next; |
| else |
| previous.set$_next(next); |
| if (next == null) |
| this._last = previous; |
| else |
| next.set$_previous(previous); |
| --this._collection$_length; |
| this._modifications = this._modifications + 1 & 67108863; |
| }, |
| _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(J.get$_element$x(bucket[i]), element)) |
| return i; |
| return -1; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null, |
| static: {_LinkedHashSet__newHashTable: function() { |
| var table = Object.create(null); |
| table["<non-identifier-key>"] = table; |
| delete table["<non-identifier-key>"]; |
| return table; |
| }} |
| }, |
| LinkedHashSetCell: { |
| "^": "Object;_element>,_next@,_previous@" |
| }, |
| LinkedHashSetIterator: { |
| "^": "Object;_set,_modifications,_cell,_collection$_current", |
| get$current: function() { |
| return this._collection$_current; |
| }, |
| moveNext$0: function() { |
| var t1 = this._set; |
| 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.get$_element(t1); |
| this._cell = this._cell.get$_next(); |
| return true; |
| } |
| } |
| } |
| }, |
| UnmodifiableListView: { |
| "^": "UnmodifiableListBase;_collection$_source", |
| get$length: function(_) { |
| return this._collection$_source.length; |
| }, |
| $index: function(_, index) { |
| var t1 = this._collection$_source; |
| if (index >>> 0 !== index || index >= t1.length) |
| return H.ioore(t1, index); |
| return t1[index]; |
| } |
| }, |
| _HashSetBase: { |
| "^": "SetBase;" |
| }, |
| IterableBase: { |
| "^": "Object;", |
| map$1: [function(_, f) { |
| return H.MappedIterable_MappedIterable(this, f, H.getRuntimeTypeArgument(this, "IterableBase", 0), null); |
| }, "call$1", "get$map", 2, 0, function() { |
| return H.computeSignature(function(E) { |
| return {func: "Iterable__dynamic__E1", ret: P.Iterable, args: [{func: "dynamic__E1", args: [E]}]}; |
| }, this.$receiver, "IterableBase"); |
| }, 31], |
| where$1: function(_, f) { |
| return H.setRuntimeTypeInfo(new H.WhereIterable(this, f), [H.getRuntimeTypeArgument(this, "IterableBase", 0)]); |
| }, |
| expand$1: [function(_, f) { |
| return H.setRuntimeTypeInfo(new H.ExpandIterable(this, f), [H.getRuntimeTypeArgument(this, "IterableBase", 0), null]); |
| }, "call$1", "get$expand", 2, 0, function() { |
| return H.computeSignature(function(E) { |
| return {func: "Iterable__Iterable__E0", ret: P.Iterable, args: [{func: "Iterable__E0", ret: P.Iterable, args: [E]}]}; |
| }, this.$receiver, "IterableBase"); |
| }, 31], |
| contains$1: function(_, element) { |
| var t1; |
| for (t1 = this.get$iterator(this); t1.moveNext$0();) |
| if (J.$eq(t1.get$current(), element)) |
| return true; |
| return false; |
| }, |
| forEach$1: function(_, f) { |
| var t1; |
| for (t1 = this.get$iterator(this); t1.moveNext$0();) |
| f.call$1(t1.get$current()); |
| }, |
| join$1: function(_, separator) { |
| var iterator, buffer, t1; |
| iterator = this.get$iterator(this); |
| if (!iterator.moveNext$0()) |
| return ""; |
| buffer = P.StringBuffer$(""); |
| if (separator === "") |
| do { |
| t1 = H.S(iterator.get$current()); |
| buffer._contents += t1; |
| } while (iterator.moveNext$0()); |
| else { |
| buffer.write$1(H.S(iterator.get$current())); |
| for (; iterator.moveNext$0();) { |
| buffer._contents += separator; |
| t1 = H.S(iterator.get$current()); |
| buffer._contents += t1; |
| } |
| } |
| return buffer._contents; |
| }, |
| any$1: function(_, f) { |
| var t1; |
| for (t1 = this.get$iterator(this); t1.moveNext$0();) |
| if (f.call$1(t1.get$current()) === true) |
| return true; |
| return false; |
| }, |
| toList$1$growable: function(_, growable) { |
| return P.List_List$from(this, growable, H.getRuntimeTypeArgument(this, "IterableBase", 0)); |
| }, |
| toList$0: function($receiver) { |
| return this.toList$1$growable($receiver, true); |
| }, |
| get$length: function(_) { |
| var it, count; |
| it = this.get$iterator(this); |
| for (count = 0; it.moveNext$0();) |
| ++count; |
| return count; |
| }, |
| get$isEmpty: function(_) { |
| return !this.get$iterator(this).moveNext$0(); |
| }, |
| get$isNotEmpty: function(_) { |
| return this.get$isEmpty(this) !== true; |
| }, |
| get$last: function(_) { |
| var it, result; |
| it = this.get$iterator(this); |
| if (!it.moveNext$0()) |
| throw H.wrapException(H.IterableElementError_noElement()); |
| do |
| result = it.get$current(); |
| while (it.moveNext$0()); |
| return result; |
| }, |
| elementAt$1: function(_, index) { |
| var t1, remaining, element, t2; |
| if (typeof index !== "number" || Math.floor(index) !== index || index < 0) |
| throw H.wrapException(P.RangeError$value(index)); |
| for (t1 = this.get$iterator(this), remaining = index; t1.moveNext$0();) { |
| element = t1.get$current(); |
| t2 = J.getInterceptor(remaining); |
| if (t2.$eq(remaining, 0)) |
| return element; |
| remaining = t2.$sub(remaining, 1); |
| } |
| throw H.wrapException(P.RangeError$value(index)); |
| }, |
| toString$0: function(_) { |
| return P.IterableBase_iterableToShortString(this, "(", ")"); |
| }, |
| $isIterable: true, |
| $asIterable: null |
| }, |
| ListBase: { |
| "^": "Object_ListMixin;" |
| }, |
| Object_ListMixin: { |
| "^": "Object+ListMixin;", |
| $isList: true, |
| $asList: null, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null |
| }, |
| ListMixin: { |
| "^": "Object;", |
| get$iterator: function(receiver) { |
| return H.setRuntimeTypeInfo(new H.ListIterator(receiver, this.get$length(receiver), 0, null), [H.getRuntimeTypeArgument(receiver, "ListMixin", 0)]); |
| }, |
| 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) { |
| action.call$1(this.$index(receiver, i)); |
| if ($length !== this.get$length(receiver)) |
| throw H.wrapException(P.ConcurrentModificationError$(receiver)); |
| } |
| }, |
| get$isEmpty: function(receiver) { |
| return this.get$length(receiver) === 0; |
| }, |
| get$isNotEmpty: function(receiver) { |
| return !this.get$isEmpty(receiver); |
| }, |
| get$last: function(receiver) { |
| if (this.get$length(receiver) === 0) |
| throw H.wrapException(P.StateError$("No elements")); |
| return this.$index(receiver, this.get$length(receiver) - 1); |
| }, |
| contains$1: function(receiver, element) { |
| var $length, i; |
| $length = this.get$length(receiver); |
| for (i = 0; i < this.get$length(receiver); ++i) { |
| if (J.$eq(this.$index(receiver, i), element)) |
| return true; |
| if ($length !== this.get$length(receiver)) |
| throw H.wrapException(P.ConcurrentModificationError$(receiver)); |
| } |
| return false; |
| }, |
| any$1: function(receiver, test) { |
| var $length, i; |
| $length = this.get$length(receiver); |
| for (i = 0; i < $length; ++i) { |
| if (test.call$1(this.$index(receiver, i)) === true) |
| return true; |
| if ($length !== this.get$length(receiver)) |
| throw H.wrapException(P.ConcurrentModificationError$(receiver)); |
| } |
| return false; |
| }, |
| join$1: function(receiver, separator) { |
| var buffer; |
| if (this.get$length(receiver) === 0) |
| return ""; |
| buffer = P.StringBuffer$(""); |
| buffer.writeAll$2(receiver, separator); |
| return buffer._contents; |
| }, |
| where$1: function(receiver, test) { |
| return H.setRuntimeTypeInfo(new H.WhereIterable(receiver, test), [H.getRuntimeTypeArgument(receiver, "ListMixin", 0)]); |
| }, |
| map$1: [function(receiver, f) { |
| return H.setRuntimeTypeInfo(new H.MappedListIterable(receiver, f), [null, null]); |
| }, "call$1", "get$map", 2, 0, function() { |
| return H.computeSignature(function(E) { |
| return {func: "Iterable__dynamic__E2", ret: P.Iterable, args: [{func: "dynamic__E2", args: [E]}]}; |
| }, this.$receiver, "ListMixin"); |
| }, 31], |
| expand$1: [function(receiver, f) { |
| return H.setRuntimeTypeInfo(new H.ExpandIterable(receiver, f), [H.getRuntimeTypeArgument(receiver, "ListMixin", 0), null]); |
| }, "call$1", "get$expand", 2, 0, function() { |
| return H.computeSignature(function(E) { |
| return {func: "Iterable__Iterable__E1", ret: P.Iterable, args: [{func: "Iterable__E1", ret: P.Iterable, args: [E]}]}; |
| }, this.$receiver, "ListMixin"); |
| }, 31], |
| skip$1: function(receiver, count) { |
| return H.SubListIterable$(receiver, count, null, null); |
| }, |
| toList$1$growable: function(receiver, growable) { |
| var result, t1, i; |
| if (growable) { |
| result = H.setRuntimeTypeInfo([], [H.getRuntimeTypeArgument(receiver, "ListMixin", 0)]); |
| C.JSArray_methods.set$length(result, this.get$length(receiver)); |
| } else { |
| t1 = Array(this.get$length(receiver)); |
| t1.fixed$length = init; |
| result = H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(receiver, "ListMixin", 0)]); |
| } |
| for (i = 0; i < this.get$length(receiver); ++i) { |
| t1 = this.$index(receiver, i); |
| if (i >= result.length) |
| return H.ioore(result, i); |
| result[i] = t1; |
| } |
| return result; |
| }, |
| toList$0: function($receiver) { |
| return this.toList$1$growable($receiver, true); |
| }, |
| add$1: function(receiver, element) { |
| var t1 = this.get$length(receiver); |
| this.set$length(receiver, t1 + 1); |
| this.$indexSet(receiver, t1, element); |
| }, |
| addAll$1: function(receiver, iterable) { |
| var t1, element, t2; |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(iterable, iterable.length, 0, null), [H.getTypeArgumentByIndex(iterable, 0)]); t1.moveNext$0();) { |
| element = t1._current; |
| t2 = this.get$length(receiver); |
| this.set$length(receiver, t2 + 1); |
| this.$indexSet(receiver, t2, element); |
| } |
| }, |
| clear$0: function(receiver) { |
| this.set$length(receiver, 0); |
| }, |
| sort$1: function(receiver, compare) { |
| if (compare == null) |
| compare = P.Comparable_compare$closure(); |
| H.Sort__doSort(receiver, 0, this.get$length(receiver) - 1, compare); |
| }, |
| sort$0: function($receiver) { |
| return this.sort$1($receiver, null); |
| }, |
| _rangeCheck$2: function(receiver, start, end) { |
| var t1 = J.getInterceptor$n(start); |
| if (t1.$lt(start, 0) || t1.$gt(start, this.get$length(receiver))) |
| throw H.wrapException(P.RangeError$range(start, 0, this.get$length(receiver))); |
| t1 = J.getInterceptor$n(end); |
| if (t1.$lt(end, start) || t1.$gt(end, this.get$length(receiver))) |
| throw H.wrapException(P.RangeError$range(end, start, this.get$length(receiver))); |
| }, |
| getRange$2: function(receiver, start, end) { |
| this._rangeCheck$2(receiver, start, end); |
| return H.SubListIterable$(receiver, start, end, null); |
| }, |
| removeRange$2: function(receiver, start, end) { |
| var $length; |
| this._rangeCheck$2(receiver, start, end); |
| $length = end - start; |
| this.setRange$4(receiver, start, this.get$length(receiver) - $length, receiver, end); |
| this.set$length(receiver, this.get$length(receiver) - $length); |
| }, |
| setRange$4: function(receiver, start, end, iterable, skipCount) { |
| var $length, t1, otherStart, otherList, i; |
| if (start < 0 || start > this.get$length(receiver)) |
| H.throwExpression(P.RangeError$range(start, 0, this.get$length(receiver))); |
| if (end < start || end > this.get$length(receiver)) |
| H.throwExpression(P.RangeError$range(end, start, this.get$length(receiver))); |
| $length = end - start; |
| if ($length === 0) |
| return; |
| if (skipCount < 0) |
| throw H.wrapException(P.ArgumentError$(skipCount)); |
| t1 = J.getInterceptor(iterable); |
| if (!!t1.$isList) { |
| otherStart = skipCount; |
| otherList = iterable; |
| } else { |
| otherList = t1.skip$1(iterable, skipCount).toList$1$growable(0, false); |
| otherStart = 0; |
| } |
| t1 = J.getInterceptor$asx(otherList); |
| if (otherStart + $length > t1.get$length(otherList)) |
| throw H.wrapException(P.StateError$("Not enough elements")); |
| if (otherStart < start) |
| for (i = $length - 1; i >= 0; --i) |
| this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i)); |
| else |
| for (i = 0; i < $length; ++i) |
| this.$indexSet(receiver, start + i, t1.$index(otherList, otherStart + i)); |
| }, |
| setRange$3: function($receiver, start, end, iterable) { |
| return this.setRange$4($receiver, start, end, iterable, 0); |
| }, |
| indexOf$2: function(receiver, element, startIndex) { |
| var i; |
| if (startIndex >= this.get$length(receiver)) |
| return -1; |
| for (i = startIndex; i < this.get$length(receiver); ++i) |
| if (J.$eq(this.$index(receiver, i), element)) |
| return i; |
| return -1; |
| }, |
| indexOf$1: function($receiver, element) { |
| return this.indexOf$2($receiver, element, 0); |
| }, |
| lastIndexOf$2: function(receiver, element, startIndex) { |
| var i; |
| startIndex = this.get$length(receiver) - 1; |
| for (i = startIndex; i >= 0; --i) |
| if (J.$eq(this.$index(receiver, i), element)) |
| return i; |
| return -1; |
| }, |
| lastIndexOf$1: function($receiver, element) { |
| return this.lastIndexOf$2($receiver, element, null); |
| }, |
| insert$2: function(receiver, index, element) { |
| if (index > this.get$length(receiver)) |
| throw H.wrapException(P.RangeError$range(index, 0, this.get$length(receiver))); |
| if (index === this.get$length(receiver)) { |
| this.add$1(receiver, element); |
| return; |
| } |
| this.set$length(receiver, this.get$length(receiver) + 1); |
| this.setRange$4(receiver, index + 1, this.get$length(receiver), receiver, index); |
| this.$indexSet(receiver, index, element); |
| }, |
| insertAll$2: function(receiver, index, iterable) { |
| var t1, insertionLength; |
| if (index < 0 || index > this.get$length(receiver)) |
| throw H.wrapException(P.RangeError$range(index, 0, this.get$length(receiver))); |
| t1 = J.getInterceptor(iterable); |
| if (!!t1.$isEfficientLength) |
| iterable = t1.toList$0(iterable); |
| insertionLength = J.get$length$asx(iterable); |
| this.set$length(receiver, this.get$length(receiver) + insertionLength); |
| this.setRange$4(receiver, index + insertionLength, this.get$length(receiver), receiver, index); |
| this.setAll$2(receiver, index, iterable); |
| }, |
| setAll$2: function(receiver, index, iterable) { |
| var t1, index0; |
| t1 = J.getInterceptor(iterable); |
| if (!!t1.$isList) |
| this.setRange$3(receiver, index, index + t1.get$length(iterable), iterable); |
| else |
| for (t1 = t1.get$iterator(iterable); t1.moveNext$0(); index = index0) { |
| index0 = index + 1; |
| this.$indexSet(receiver, index, t1.get$current()); |
| } |
| }, |
| toString$0: function(receiver) { |
| return P.IterableBase_iterableToFullString(receiver, "[", "]"); |
| }, |
| $isList: true, |
| $asList: null, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null |
| }, |
| Maps_mapToString_closure: { |
| "^": "Closure:75;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); |
| }, |
| $isFunction: true |
| }, |
| ListQueue: { |
| "^": "IterableBase;_collection$_table,_head,_tail,_modificationCount", |
| get$iterator: function(_) { |
| var t1 = new P._ListQueueIterator(this, this._tail, this._modificationCount, this._head, null); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t1; |
| }, |
| forEach$1: function(_, action) { |
| var modificationCount, i, t1; |
| modificationCount = this._modificationCount; |
| for (i = this._head; i !== this._tail; i = (i + 1 & this._collection$_table.length - 1) >>> 0) { |
| t1 = this._collection$_table; |
| if (i < 0 || i >= t1.length) |
| return H.ioore(t1, i); |
| action.call$1(t1[i]); |
| if (modificationCount !== this._modificationCount) |
| H.throwExpression(P.ConcurrentModificationError$(this)); |
| } |
| }, |
| get$isEmpty: function(_) { |
| return this._head === this._tail; |
| }, |
| get$length: function(_) { |
| return (this._tail - this._head & this._collection$_table.length - 1) >>> 0; |
| }, |
| get$last: function(_) { |
| var t1, t2, t3; |
| t1 = this._head; |
| t2 = this._tail; |
| if (t1 === t2) |
| throw H.wrapException(H.IterableElementError_noElement()); |
| t1 = this._collection$_table; |
| t3 = t1.length; |
| t2 = (t2 - 1 & t3 - 1) >>> 0; |
| if (t2 < 0 || t2 >= t3) |
| return H.ioore(t1, t2); |
| return t1[t2]; |
| }, |
| toList$1$growable: function(_, growable) { |
| var list, t1; |
| if (growable) { |
| list = H.setRuntimeTypeInfo([], [H.getTypeArgumentByIndex(this, 0)]); |
| C.JSArray_methods.set$length(list, this.get$length(this)); |
| } else { |
| t1 = Array(this.get$length(this)); |
| t1.fixed$length = init; |
| list = H.setRuntimeTypeInfo(t1, [H.getTypeArgumentByIndex(this, 0)]); |
| } |
| this._writeToList$1(list); |
| return list; |
| }, |
| toList$0: function($receiver) { |
| return this.toList$1$growable($receiver, true); |
| }, |
| add$1: function(_, element) { |
| this._add$1(0, element); |
| }, |
| addAll$1: function(_, elements) { |
| var addCount, $length, t1, t2, t3, newCapacity, newTable, endSpace, preSpace; |
| addCount = elements.length; |
| $length = this.get$length(this); |
| t1 = $length + addCount; |
| t2 = this._collection$_table; |
| t3 = t2.length; |
| if (t1 >= t3) { |
| newCapacity = P.ListQueue__nextPowerOf2(t1); |
| if (typeof newCapacity !== "number") |
| return H.iae(newCapacity); |
| t2 = Array(newCapacity); |
| t2.fixed$length = init; |
| newTable = H.setRuntimeTypeInfo(t2, [H.getTypeArgumentByIndex(this, 0)]); |
| this._tail = this._writeToList$1(newTable); |
| this._collection$_table = newTable; |
| this._head = 0; |
| H.IterableMixinWorkaround_setRangeList(newTable, $length, t1, elements, 0); |
| this._tail += addCount; |
| } else { |
| t1 = this._tail; |
| endSpace = t3 - t1; |
| if (addCount < endSpace) { |
| H.IterableMixinWorkaround_setRangeList(t2, t1, t1 + addCount, elements, 0); |
| this._tail += addCount; |
| } else { |
| preSpace = addCount - endSpace; |
| H.IterableMixinWorkaround_setRangeList(t2, t1, t1 + endSpace, elements, 0); |
| t1 = this._collection$_table; |
| H.IterableMixinWorkaround_setRangeList(t1, 0, preSpace, elements, endSpace); |
| this._tail = preSpace; |
| } |
| } |
| ++this._modificationCount; |
| }, |
| clear$0: function(_) { |
| var i, t1, t2, t3, t4; |
| i = this._head; |
| t1 = this._tail; |
| if (i !== t1) { |
| for (t2 = this._collection$_table, t3 = t2.length, t4 = t3 - 1; i !== t1; i = (i + 1 & t4) >>> 0) { |
| if (i < 0 || i >= t3) |
| return H.ioore(t2, i); |
| t2[i] = null; |
| } |
| this._tail = 0; |
| this._head = 0; |
| ++this._modificationCount; |
| } |
| }, |
| toString$0: function(_) { |
| return P.IterableBase_iterableToFullString(this, "{", "}"); |
| }, |
| removeFirst$0: function() { |
| var t1, t2, t3, result; |
| t1 = this._head; |
| if (t1 === this._tail) |
| throw H.wrapException(H.IterableElementError_noElement()); |
| ++this._modificationCount; |
| t2 = this._collection$_table; |
| t3 = t2.length; |
| if (t1 >= t3) |
| return H.ioore(t2, t1); |
| result = t2[t1]; |
| t2[t1] = null; |
| this._head = (t1 + 1 & t3 - 1) >>> 0; |
| return result; |
| }, |
| _add$1: function(_, element) { |
| var t1, t2, t3; |
| t1 = this._collection$_table; |
| t2 = this._tail; |
| t3 = t1.length; |
| if (t2 < 0 || t2 >= t3) |
| return H.ioore(t1, t2); |
| t1[t2] = element; |
| t3 = (t2 + 1 & t3 - 1) >>> 0; |
| this._tail = t3; |
| if (this._head === t3) |
| this._grow$0(); |
| ++this._modificationCount; |
| }, |
| _grow$0: function() { |
| var t1, newTable, t2, split; |
| t1 = Array(this._collection$_table.length * 2); |
| t1.fixed$length = init; |
| newTable = H.setRuntimeTypeInfo(t1, [H.getTypeArgumentByIndex(this, 0)]); |
| t1 = this._collection$_table; |
| t2 = this._head; |
| split = t1.length - t2; |
| H.IterableMixinWorkaround_setRangeList(newTable, 0, split, t1, t2); |
| t1 = this._head; |
| t2 = this._collection$_table; |
| H.IterableMixinWorkaround_setRangeList(newTable, split, split + t1, t2, 0); |
| this._head = 0; |
| this._tail = this._collection$_table.length; |
| this._collection$_table = newTable; |
| }, |
| _writeToList$1: function(target) { |
| var t1, t2, t3, $length, firstPartSize; |
| t1 = this._head; |
| t2 = this._tail; |
| t3 = this._collection$_table; |
| if (t1 <= t2) { |
| $length = t2 - t1; |
| H.IterableMixinWorkaround_setRangeList(target, 0, $length, t3, t1); |
| return $length; |
| } else { |
| firstPartSize = t3.length - t1; |
| H.IterableMixinWorkaround_setRangeList(target, 0, firstPartSize, t3, t1); |
| t1 = this._tail; |
| t2 = this._collection$_table; |
| H.IterableMixinWorkaround_setRangeList(target, firstPartSize, firstPartSize + t1, t2, 0); |
| return this._tail + firstPartSize; |
| } |
| }, |
| ListQueue$1: function(initialCapacity, $E) { |
| var t1 = Array(8); |
| t1.fixed$length = init; |
| this._collection$_table = H.setRuntimeTypeInfo(t1, [$E]); |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null, |
| static: {"^": "ListQueue__INITIAL_CAPACITY", ListQueue__nextPowerOf2: function(number) { |
| var nextNumber; |
| if (typeof number !== "number") |
| return number.$shl(); |
| number = (number << 2 >>> 0) - 1; |
| for (; true; number = nextNumber) { |
| nextNumber = (number & number - 1) >>> 0; |
| if (nextNumber === 0) |
| return number; |
| } |
| }} |
| }, |
| _ListQueueIterator: { |
| "^": "Object;_queue,_end,_modificationCount,_collection$_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._collection$_position; |
| if (t2 === this._end) { |
| this._collection$_current = null; |
| return false; |
| } |
| t1 = t1._collection$_table; |
| t3 = t1.length; |
| if (t2 >= t3) |
| return H.ioore(t1, t2); |
| this._collection$_current = t1[t2]; |
| this._collection$_position = (t2 + 1 & t3 - 1) >>> 0; |
| return true; |
| } |
| }, |
| SetMixin: { |
| "^": "Object;", |
| get$isEmpty: function(_) { |
| return this.get$length(this) === 0; |
| }, |
| get$isNotEmpty: function(_) { |
| return this.get$length(this) !== 0; |
| }, |
| clear$0: function(_) { |
| this.removeAll$1(this.toList$0(0)); |
| }, |
| addAll$1: function(_, elements) { |
| var t1; |
| for (t1 = J.get$iterator$ax(elements); t1.moveNext$0();) |
| this.add$1(0, t1.get$current()); |
| }, |
| removeAll$1: function(elements) { |
| var t1; |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(elements, elements.length, 0, null), [H.getTypeArgumentByIndex(elements, 0)]); t1.moveNext$0();) |
| this.remove$1(0, t1._current); |
| }, |
| toList$1$growable: function(_, growable) { |
| var result, t1, i, element, i0; |
| if (growable) { |
| result = H.setRuntimeTypeInfo([], [H.getTypeArgumentByIndex(this, 0)]); |
| C.JSArray_methods.set$length(result, this.get$length(this)); |
| } else { |
| t1 = Array(this.get$length(this)); |
| t1.fixed$length = init; |
| result = H.setRuntimeTypeInfo(t1, [H.getTypeArgumentByIndex(this, 0)]); |
| } |
| for (t1 = this.get$iterator(this), i = 0; t1.moveNext$0(); i = i0) { |
| element = t1.get$current(); |
| i0 = i + 1; |
| if (i >= result.length) |
| return H.ioore(result, i); |
| result[i] = element; |
| } |
| return result; |
| }, |
| toList$0: function($receiver) { |
| return this.toList$1$growable($receiver, true); |
| }, |
| map$1: [function(_, f) { |
| return H.setRuntimeTypeInfo(new H.EfficientLengthMappedIterable(this, f), [H.getTypeArgumentByIndex(this, 0), null]); |
| }, "call$1", "get$map", 2, 0, function() { |
| return H.computeSignature(function(E) { |
| return {func: "Iterable__dynamic__E3", ret: P.Iterable, args: [{func: "dynamic__E3", args: [E]}]}; |
| }, this.$receiver, "SetMixin"); |
| }, 31], |
| toString$0: function(_) { |
| return P.IterableBase_iterableToFullString(this, "{", "}"); |
| }, |
| where$1: function(_, f) { |
| var t1 = new H.WhereIterable(this, f); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t1; |
| }, |
| expand$1: [function(_, f) { |
| return H.setRuntimeTypeInfo(new H.ExpandIterable(this, f), [H.getTypeArgumentByIndex(this, 0), null]); |
| }, "call$1", "get$expand", 2, 0, function() { |
| return H.computeSignature(function(E) { |
| return {func: "Iterable__Iterable__E2", ret: P.Iterable, args: [{func: "Iterable__E2", ret: P.Iterable, args: [E]}]}; |
| }, this.$receiver, "SetMixin"); |
| }, 31], |
| forEach$1: function(_, f) { |
| var t1; |
| for (t1 = this.get$iterator(this); t1.moveNext$0();) |
| f.call$1(t1.get$current()); |
| }, |
| join$1: function(_, separator) { |
| var iterator, buffer, t1; |
| iterator = this.get$iterator(this); |
| if (!iterator.moveNext$0()) |
| return ""; |
| buffer = P.StringBuffer$(""); |
| if (separator === "") |
| do { |
| t1 = H.S(iterator.get$current()); |
| buffer._contents += t1; |
| } while (iterator.moveNext$0()); |
| else { |
| buffer.write$1(H.S(iterator.get$current())); |
| for (; iterator.moveNext$0();) { |
| buffer._contents += separator; |
| t1 = H.S(iterator.get$current()); |
| buffer._contents += t1; |
| } |
| } |
| return buffer._contents; |
| }, |
| any$1: function(_, test) { |
| var t1; |
| for (t1 = this.get$iterator(this); t1.moveNext$0();) |
| if (test.call$1(t1.get$current()) === true) |
| return true; |
| return false; |
| }, |
| get$last: function(_) { |
| var it, result; |
| it = this.get$iterator(this); |
| if (!it.moveNext$0()) |
| throw H.wrapException(H.IterableElementError_noElement()); |
| do |
| result = it.get$current(); |
| while (it.moveNext$0()); |
| return result; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null |
| }, |
| SetBase: { |
| "^": "SetMixin;" |
| }, |
| _SplayTreeNode: { |
| "^": "Object;key>,left>,right>", |
| $is_SplayTreeNode: true |
| }, |
| _SplayTreeMapNode: { |
| "^": "_SplayTreeNode;value*,key,left,right", |
| $as_SplayTreeNode: function($K, $V) { |
| return [$K]; |
| } |
| }, |
| _SplayTree: { |
| "^": "Object;", |
| _splay$1: function(key) { |
| var current, left, right, left0, comp, t1, tmp, current0; |
| current = this._root; |
| if (current == null) |
| return -1; |
| left = this._dummy; |
| for (right = left, left0 = right, comp = null; true;) { |
| comp = this._compare$2(current.key, key); |
| t1 = J.getInterceptor$n(comp); |
| if (t1.$gt(comp, 0)) { |
| t1 = current.left; |
| if (t1 == null) |
| break; |
| comp = this._compare$2(t1.key, key); |
| if (J.$gt$n(comp, 0)) { |
| tmp = current.left; |
| current.left = tmp.right; |
| tmp.right = current; |
| if (tmp.left == null) { |
| current = tmp; |
| break; |
| } |
| current = tmp; |
| } |
| right.left = current; |
| current0 = current.left; |
| right = current; |
| current = current0; |
| } else { |
| if (t1.$lt(comp, 0)) { |
| t1 = current.right; |
| if (t1 == null) |
| break; |
| comp = this._compare$2(t1.key, key); |
| if (J.$lt$n(comp, 0)) { |
| tmp = current.right; |
| current.right = tmp.left; |
| tmp.left = current; |
| if (tmp.right == null) { |
| current = tmp; |
| break; |
| } |
| current = tmp; |
| } |
| left0.right = current; |
| current0 = current.right; |
| } else |
| break; |
| left0 = current; |
| current = current0; |
| } |
| } |
| left0.right = current.left; |
| right.left = current.right; |
| current.left = left.right; |
| current.right = left.left; |
| this._root = current; |
| left.right = null; |
| left.left = null; |
| ++this._splayCount; |
| return comp; |
| }, |
| _addNewRoot$2: function(node, comp) { |
| var t1, t2; |
| ++this._count; |
| ++this._modificationCount; |
| if (this._root == null) { |
| this._root = node; |
| return; |
| } |
| t1 = J.$lt$n(comp, 0); |
| t2 = this._root; |
| if (t1) { |
| node.left = t2; |
| node.right = t2.right; |
| t2.right = null; |
| } else { |
| node.right = t2; |
| node.left = t2.left; |
| t2.left = null; |
| } |
| this._root = node; |
| } |
| }, |
| SplayTreeMap: { |
| "^": "_SplayTree;_comparator,_validKey,_root,_dummy,_count,_modificationCount,_splayCount", |
| _comparator$2: function(arg0, arg1) { |
| return this._comparator.call$2(arg0, arg1); |
| }, |
| _validKey$1: function(arg0) { |
| return this._validKey.call$1(arg0); |
| }, |
| _compare$2: function(key1, key2) { |
| return this._comparator$2(key1, key2); |
| }, |
| $index: function(_, key) { |
| if (key == null) |
| throw H.wrapException(P.ArgumentError$(key)); |
| if (this._validKey$1(key) !== true) |
| return; |
| if (this._root != null) |
| if (J.$eq(this._splay$1(key), 0)) |
| return this._root.value; |
| return; |
| }, |
| $indexSet: function(_, key, value) { |
| var comp; |
| if (key == null) |
| throw H.wrapException(P.ArgumentError$(key)); |
| comp = this._splay$1(key); |
| if (J.$eq(comp, 0)) { |
| this._root.value = value; |
| return; |
| } |
| this._addNewRoot$2(H.setRuntimeTypeInfo(new P._SplayTreeMapNode(value, key, null, null), [null, null]), comp); |
| }, |
| addAll$1: function(_, other) { |
| H.IterableMixinWorkaround_forEach(other, new P.SplayTreeMap_addAll_closure(this)); |
| }, |
| get$isEmpty: function(_) { |
| return this._root == null; |
| }, |
| get$isNotEmpty: function(_) { |
| return this._root != null; |
| }, |
| forEach$1: function(_, f) { |
| var t1, nodes, node; |
| t1 = H.getTypeArgumentByIndex(this, 0); |
| nodes = H.setRuntimeTypeInfo(new P._SplayTreeNodeIterator(this, H.setRuntimeTypeInfo([], [P._SplayTreeNode]), this._modificationCount, this._splayCount, null), [t1]); |
| nodes._SplayTreeIterator$1(this, [P._SplayTreeNode, t1]); |
| for (; nodes.moveNext$0();) { |
| node = nodes.get$current(); |
| t1 = J.getInterceptor$x(node); |
| f.call$2(t1.get$key(node), t1.get$value(node)); |
| } |
| }, |
| get$length: function(_) { |
| return this._count; |
| }, |
| clear$0: function(_) { |
| this._root = null; |
| this._count = 0; |
| ++this._modificationCount; |
| }, |
| get$keys: function() { |
| return H.setRuntimeTypeInfo(new P._SplayTreeKeyIterable(this), [H.getTypeArgumentByIndex(this, 0)]); |
| }, |
| get$values: function(_) { |
| var t1 = new P._SplayTreeValueIterable(this); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t1; |
| }, |
| toString$0: function(_) { |
| return P.Maps_mapToString(this); |
| }, |
| $isSplayTreeMap: true, |
| $as_SplayTree: function($K, $V) { |
| return [$K]; |
| }, |
| $asMap: null, |
| $isMap: true, |
| static: {SplayTreeMap$: function(compare, isValidKey, $K, $V) { |
| var t1, t2; |
| t1 = P.Comparable_compare$closure(); |
| t2 = new P.SplayTreeMap_closure($K); |
| return H.setRuntimeTypeInfo(new P.SplayTreeMap(t1, t2, null, H.setRuntimeTypeInfo(new P._SplayTreeNode(null, null, null), [$K]), 0, 0, 0), [$K, $V]); |
| }} |
| }, |
| SplayTreeMap_closure: { |
| "^": "Closure:13;K_0", |
| call$1: function(v) { |
| var t1 = H.checkSubtypeOfRuntimeType(v, this.K_0); |
| return t1; |
| }, |
| $isFunction: true |
| }, |
| SplayTreeMap_addAll_closure: { |
| "^": "Closure;this_0", |
| call$2: function(key, value) { |
| this.this_0.$indexSet(0, key, value); |
| }, |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(K, V) { |
| return {func: "dynamic__K_V1", args: [K, V]}; |
| }, this.this_0, "SplayTreeMap"); |
| } |
| }, |
| _SplayTreeIterator: { |
| "^": "Object;", |
| get$current: function() { |
| var t1 = this._currentNode; |
| if (t1 == null) |
| return; |
| return this._getValue$1(t1); |
| }, |
| _findLeftMostDescendent$1: function(node) { |
| var t1; |
| for (t1 = this._workList; node != null;) { |
| t1.push(node); |
| node = node.left; |
| } |
| }, |
| moveNext$0: function() { |
| var t1, t2, t3; |
| t1 = this._tree; |
| if (this._modificationCount !== t1._modificationCount) |
| throw H.wrapException(P.ConcurrentModificationError$(t1)); |
| t2 = this._workList; |
| if (t2.length === 0) { |
| this._currentNode = null; |
| return false; |
| } |
| if (t1._splayCount !== this._splayCount && this._currentNode != null) { |
| t3 = this._currentNode; |
| C.JSArray_methods.set$length(t2, 0); |
| if (t3 == null) |
| this._findLeftMostDescendent$1(t1._root); |
| else { |
| t1._splay$1(t3.key); |
| this._findLeftMostDescendent$1(t1._root.right); |
| } |
| } |
| if (0 >= t2.length) |
| return H.ioore(t2, 0); |
| t1 = t2.pop(); |
| this._currentNode = t1; |
| this._findLeftMostDescendent$1(t1.right); |
| return true; |
| }, |
| _SplayTreeIterator$1: function(tree, $T) { |
| this._findLeftMostDescendent$1(tree._root); |
| } |
| }, |
| _SplayTreeKeyIterable: { |
| "^": "IterableBase;_tree", |
| get$length: function(_) { |
| return this._tree._count; |
| }, |
| get$isEmpty: function(_) { |
| return this._tree._count === 0; |
| }, |
| get$iterator: function(_) { |
| var t1, t2; |
| t1 = this._tree; |
| t2 = new P._SplayTreeKeyIterator(t1, H.setRuntimeTypeInfo([], [P._SplayTreeNode]), t1._modificationCount, t1._splayCount, null); |
| t2.$builtinTypeInfo = this.$builtinTypeInfo; |
| t2._SplayTreeIterator$1(t1, H.getTypeArgumentByIndex(this, 0)); |
| return t2; |
| }, |
| $isEfficientLength: true |
| }, |
| _SplayTreeValueIterable: { |
| "^": "IterableBase;_map", |
| get$length: function(_) { |
| return this._map._count; |
| }, |
| get$isEmpty: function(_) { |
| return this._map._count === 0; |
| }, |
| get$iterator: function(_) { |
| var t1, t2; |
| t1 = this._map; |
| t2 = new P._SplayTreeValueIterator(t1, H.setRuntimeTypeInfo([], [P._SplayTreeNode]), t1._modificationCount, t1._splayCount, null); |
| t2.$builtinTypeInfo = this.$builtinTypeInfo; |
| t2._SplayTreeIterator$1(t1, H.getTypeArgumentByIndex(this, 1)); |
| return t2; |
| }, |
| $asIterableBase: function($K, $V) { |
| return [$V]; |
| }, |
| $asIterable: function($K, $V) { |
| return [$V]; |
| }, |
| $isEfficientLength: true |
| }, |
| _SplayTreeKeyIterator: { |
| "^": "_SplayTreeIterator;_tree,_workList,_modificationCount,_splayCount,_currentNode", |
| _getValue$1: function(node) { |
| return node.key; |
| } |
| }, |
| _SplayTreeValueIterator: { |
| "^": "_SplayTreeIterator;_tree,_workList,_modificationCount,_splayCount,_currentNode", |
| _getValue$1: function(node) { |
| return node.value; |
| }, |
| $as_SplayTreeIterator: function($K, $V) { |
| return [$V]; |
| } |
| }, |
| _SplayTreeNodeIterator: { |
| "^": "_SplayTreeIterator;_tree,_workList,_modificationCount,_splayCount,_currentNode", |
| _getValue$1: function(node) { |
| return node; |
| }, |
| $as_SplayTreeIterator: function($K) { |
| return [[P._SplayTreeNode, $K]]; |
| } |
| } |
| }], |
| ["dart.convert", "dart:convert", , P, { |
| "^": "", |
| _convertJsonToDart: function(json, reviver) { |
| var revive = reviver == null ? new P._convertJsonToDart_closure() : reviver; |
| return revive.call$2(null, new P._convertJsonToDart_walk(revive).call$1(json)); |
| }, |
| _parseJson: function(source, reviver) { |
| var parsed, e, t1, exception; |
| t1 = source; |
| if (typeof t1 !== "string") |
| throw H.wrapException(P.ArgumentError$(source)); |
| parsed = null; |
| try { |
| parsed = JSON.parse(source); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| throw H.wrapException(P.FormatException$(String(e))); |
| } |
| |
| return P._convertJsonToDart(parsed, reviver); |
| }, |
| _defaultToEncodable: [function(object) { |
| return object.toJson$0(); |
| }, "call$1", "_defaultToEncodable$closure", 2, 0, 49, 50], |
| _convertJsonToDart_closure: { |
| "^": "Closure:75;", |
| call$2: function(key, value) { |
| return value; |
| }, |
| $isFunction: true |
| }, |
| _convertJsonToDart_walk: { |
| "^": "Closure:13;revive_0", |
| call$1: function(e) { |
| var list, t1, i, keys, map, key, proto; |
| if (e == null || typeof e != "object") |
| return e; |
| if (Object.getPrototypeOf(e) === Array.prototype) { |
| list = e; |
| for (t1 = this.revive_0, i = 0; i < list.length; ++i) |
| list[i] = t1.call$2(i, this.call$1(list[i])); |
| return list; |
| } |
| keys = Object.keys(e); |
| map = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| for (t1 = this.revive_0, i = 0; i < keys.length; ++i) { |
| key = keys[i]; |
| map.$indexSet(0, key, t1.call$2(key, this.call$1(e[key]))); |
| } |
| proto = e.__proto__; |
| if (typeof proto !== "undefined" && proto !== Object.prototype) |
| map.$indexSet(0, "__proto__", t1.call$2("__proto__", this.call$1(proto))); |
| return map; |
| }, |
| $isFunction: true |
| }, |
| Codec: { |
| "^": "Object;" |
| }, |
| Converter: { |
| "^": "Object;" |
| }, |
| Encoding: { |
| "^": "Codec;", |
| $asCodec: function() { |
| return [P.String, [P.List, P.$int]]; |
| } |
| }, |
| JsonUnsupportedObjectError: { |
| "^": "Error;unsupportedObject,cause", |
| toString$0: function(_) { |
| if (this.cause != null) |
| return "Converting object to an encodable object failed."; |
| else |
| return "Converting object did not return an encodable object."; |
| }, |
| static: {JsonUnsupportedObjectError$: function(unsupportedObject, cause) { |
| return new P.JsonUnsupportedObjectError(unsupportedObject, cause); |
| }} |
| }, |
| JsonCyclicError: { |
| "^": "JsonUnsupportedObjectError;unsupportedObject,cause", |
| toString$0: function(_) { |
| return "Cyclic error in JSON stringify"; |
| }, |
| static: {JsonCyclicError$: function(object) { |
| return new P.JsonCyclicError(object, null); |
| }} |
| }, |
| JsonCodec: { |
| "^": "Codec;_reviver<,_toEncodable", |
| decode$2$reviver: function(source, reviver) { |
| return P._parseJson(source, this.get$decoder()._reviver); |
| }, |
| decode$1: function(source) { |
| return this.decode$2$reviver(source, null); |
| }, |
| encode$2$toEncodable: function(value, toEncodable) { |
| var t1 = this.get$encoder(); |
| return P._JsonStringifier_stringify(value, t1._toEncodableFunction, t1.indent); |
| }, |
| encode$1: function(value) { |
| return this.encode$2$toEncodable(value, null); |
| }, |
| get$encoder: function() { |
| return C.JsonEncoder_null_null; |
| }, |
| get$decoder: function() { |
| return C.JsonDecoder_null; |
| }, |
| $asCodec: function() { |
| return [P.Object, P.String]; |
| } |
| }, |
| JsonEncoder: { |
| "^": "Converter;indent,_toEncodableFunction", |
| $asConverter: function() { |
| return [P.Object, P.String]; |
| } |
| }, |
| JsonDecoder: { |
| "^": "Converter;_reviver<", |
| $asConverter: function() { |
| return [P.String, P.Object]; |
| } |
| }, |
| _JsonStringifier: { |
| "^": "Object;_toEncodable,_sink,_convert$_seen", |
| _toEncodable$1: function(arg0) { |
| return this._toEncodable.call$1(arg0); |
| }, |
| escape$1: function(s) { |
| var t1, $length, t2, offset, i, charCode, t3; |
| t1 = J.getInterceptor$asx(s); |
| $length = t1.get$length(s); |
| if (typeof $length !== "number") |
| return H.iae($length); |
| t2 = this._sink; |
| offset = 0; |
| i = 0; |
| for (; i < $length; ++i) { |
| charCode = t1.codeUnitAt$1(s, i); |
| if (charCode > 92) |
| continue; |
| if (charCode < 32) { |
| if (i > offset) { |
| t3 = t1.substring$2(s, offset, i); |
| t2._contents += t3; |
| } |
| offset = i + 1; |
| t3 = H.Primitives_stringFromCharCode(92); |
| t2._contents += t3; |
| switch (charCode) { |
| case 8: |
| t3 = H.Primitives_stringFromCharCode(98); |
| t2._contents += t3; |
| break; |
| case 9: |
| t3 = H.Primitives_stringFromCharCode(116); |
| t2._contents += t3; |
| break; |
| case 10: |
| t3 = H.Primitives_stringFromCharCode(110); |
| t2._contents += t3; |
| break; |
| case 12: |
| t3 = H.Primitives_stringFromCharCode(102); |
| t2._contents += t3; |
| break; |
| case 13: |
| t3 = H.Primitives_stringFromCharCode(114); |
| t2._contents += t3; |
| break; |
| default: |
| t3 = H.Primitives_stringFromCharCode(117); |
| t2._contents += t3; |
| t3 = H.Primitives_stringFromCharCode(48); |
| t2._contents += t3; |
| t3 = H.Primitives_stringFromCharCode(48); |
| t2._contents += t3; |
| t3 = charCode >>> 4 & 15; |
| t3 = H.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); |
| t2._contents += t3; |
| t3 = charCode & 15; |
| t3 = H.Primitives_stringFromCharCode(t3 < 10 ? 48 + t3 : 87 + t3); |
| t2._contents += t3; |
| break; |
| } |
| } else if (charCode === 34 || charCode === 92) { |
| if (i > offset) { |
| t3 = t1.substring$2(s, offset, i); |
| t2._contents += t3; |
| } |
| offset = i + 1; |
| t3 = H.Primitives_stringFromCharCode(92); |
| t2._contents += t3; |
| t3 = H.Primitives_stringFromCharCode(charCode); |
| t2._contents += t3; |
| } |
| } |
| if (offset === 0) |
| t2._contents += typeof s === "string" ? s : H.S(s); |
| else if (offset < $length) { |
| t1 = t1.substring$2(s, offset, $length); |
| t2._contents += t1; |
| } |
| }, |
| checkCycle$1: function(object) { |
| var t1, t2, i, t3; |
| for (t1 = this._convert$_seen, t2 = t1.length, i = 0; i < t2; ++i) { |
| t3 = t1[i]; |
| if (object == null ? t3 == null : object === t3) |
| throw H.wrapException(P.JsonCyclicError$(object)); |
| } |
| t1.push(object); |
| }, |
| stringifyValue$1: function(object) { |
| var customJson, e, t1, exception; |
| if (!this.stringifyJsonValue$1(object)) { |
| this.checkCycle$1(object); |
| try { |
| customJson = this._toEncodable$1(object); |
| if (!this.stringifyJsonValue$1(customJson)) { |
| t1 = P.JsonUnsupportedObjectError$(object, null); |
| throw H.wrapException(t1); |
| } |
| t1 = this._convert$_seen; |
| if (0 >= t1.length) |
| return H.ioore(t1, 0); |
| t1.pop(); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| throw H.wrapException(P.JsonUnsupportedObjectError$(object, e)); |
| } |
| |
| } |
| }, |
| stringifyJsonValue$1: function(object) { |
| var t1, t2, i, t3, separator, key; |
| if (typeof object === "number") { |
| if (!C.JSNumber_methods.get$isFinite(object)) |
| return false; |
| this._sink.write$1(C.JSNumber_methods.toString$0(object)); |
| return true; |
| } else if (object === true) { |
| this._sink.write$1("true"); |
| return true; |
| } else if (object === false) { |
| this._sink.write$1("false"); |
| return true; |
| } else if (object == null) { |
| this._sink.write$1("null"); |
| return true; |
| } else if (typeof object === "string") { |
| t1 = this._sink; |
| t1.write$1("\""); |
| this.escape$1(object); |
| t1.write$1("\""); |
| return true; |
| } else { |
| t1 = J.getInterceptor(object); |
| if (!!t1.$isList) { |
| this.checkCycle$1(object); |
| t2 = this._sink; |
| t2.write$1("["); |
| if (t1.get$length(object) > 0) { |
| this.stringifyValue$1(t1.$index(object, 0)); |
| for (i = 1; i < t1.get$length(object); ++i) { |
| t2._contents += ","; |
| this.stringifyValue$1(t1.$index(object, i)); |
| } |
| } |
| t2.write$1("]"); |
| this._removeSeen$1(object); |
| return true; |
| } else if (!!t1.$isMap) { |
| this.checkCycle$1(object); |
| t2 = this._sink; |
| t2.write$1("{"); |
| for (t3 = J.get$iterator$ax(object.get$keys()), separator = "\""; t3.moveNext$0(); separator = ",\"") { |
| key = t3.get$current(); |
| t2._contents += separator; |
| this.escape$1(key); |
| t2._contents += "\":"; |
| this.stringifyValue$1(t1.$index(object, key)); |
| } |
| t2.write$1("}"); |
| this._removeSeen$1(object); |
| return true; |
| } else |
| return false; |
| } |
| }, |
| _removeSeen$1: function(object) { |
| var t1 = this._convert$_seen; |
| if (0 >= t1.length) |
| return H.ioore(t1, 0); |
| t1.pop(); |
| }, |
| static: {"^": "_JsonStringifier_BACKSPACE,_JsonStringifier_TAB,_JsonStringifier_NEWLINE,_JsonStringifier_CARRIAGE_RETURN,_JsonStringifier_FORM_FEED,_JsonStringifier_QUOTE,_JsonStringifier_CHAR_0,_JsonStringifier_BACKSLASH,_JsonStringifier_CHAR_b,_JsonStringifier_CHAR_f,_JsonStringifier_CHAR_n,_JsonStringifier_CHAR_r,_JsonStringifier_CHAR_t,_JsonStringifier_CHAR_u", _JsonStringifier__JsonStringifier: function(sink, toEncodable, indent) { |
| return new P._JsonStringifier(toEncodable, sink, []); |
| }, _JsonStringifier_stringify: function(object, toEncodable, indent) { |
| var output; |
| toEncodable = P._defaultToEncodable$closure(); |
| output = P.StringBuffer$(""); |
| P._JsonStringifier__JsonStringifier(output, toEncodable, indent).stringifyValue$1(object); |
| return output._contents; |
| }} |
| }, |
| Utf8Codec: { |
| "^": "Encoding;_allowMalformed", |
| get$name: function(_) { |
| return "utf-8"; |
| }, |
| get$encoder: function() { |
| return new P.Utf8Encoder(); |
| } |
| }, |
| Utf8Encoder: { |
| "^": "Converter;", |
| convert$1: function(string) { |
| var t1, t2, encoder; |
| t1 = J.getInterceptor$asx(string); |
| t2 = J.$mul$ns(t1.get$length(string), 3); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| t2 = H.setRuntimeTypeInfo(Array(t2), [P.$int]); |
| encoder = new P._Utf8Encoder(0, 0, t2); |
| if (encoder._fillBuffer$3(string, 0, t1.get$length(string)) !== t1.get$length(string)) |
| encoder._writeSurrogate$2(t1.codeUnitAt$1(string, J.$sub$n(t1.get$length(string), 1)), 0); |
| return C.JSArray_methods.sublist$2(t2, 0, encoder._bufferIndex); |
| }, |
| $asConverter: function() { |
| return [P.String, [P.List, P.$int]]; |
| } |
| }, |
| _Utf8Encoder: { |
| "^": "Object;_carry,_bufferIndex,_buffer", |
| _writeSurrogate$2: function(leadingSurrogate, nextCodeUnit) { |
| var t1, t2, rune, t3, t4; |
| t1 = this._buffer; |
| t2 = this._bufferIndex; |
| if ((nextCodeUnit & 64512) === 56320) { |
| rune = 65536 + ((leadingSurrogate & 1023) << 10 >>> 0) | nextCodeUnit & 1023; |
| t3 = t2 + 1; |
| this._bufferIndex = t3; |
| t4 = t1.length; |
| if (t2 >= t4) |
| return H.ioore(t1, t2); |
| t1[t2] = (240 | rune >>> 18) >>> 0; |
| t2 = t3 + 1; |
| this._bufferIndex = t2; |
| if (t3 >= t4) |
| return H.ioore(t1, t3); |
| t1[t3] = 128 | rune >>> 12 & 63; |
| t3 = t2 + 1; |
| this._bufferIndex = t3; |
| if (t2 >= t4) |
| return H.ioore(t1, t2); |
| t1[t2] = 128 | rune >>> 6 & 63; |
| this._bufferIndex = t3 + 1; |
| if (t3 >= t4) |
| return H.ioore(t1, t3); |
| t1[t3] = 128 | rune & 63; |
| return true; |
| } else { |
| t3 = t2 + 1; |
| this._bufferIndex = t3; |
| t4 = t1.length; |
| if (t2 >= t4) |
| return H.ioore(t1, t2); |
| t1[t2] = 224 | leadingSurrogate >>> 12; |
| t2 = t3 + 1; |
| this._bufferIndex = t2; |
| if (t3 >= t4) |
| return H.ioore(t1, t3); |
| t1[t3] = 128 | leadingSurrogate >>> 6 & 63; |
| this._bufferIndex = t2 + 1; |
| if (t2 >= t4) |
| return H.ioore(t1, t2); |
| t1[t2] = 128 | leadingSurrogate & 63; |
| return false; |
| } |
| }, |
| _fillBuffer$3: function(str, start, end) { |
| var t1, t2, t3, stringIndex, codeUnit, t4, stringIndex0, t5; |
| if (start !== end && (J.codeUnitAt$1$s(str, J.$sub$n(end, 1)) & 64512) === 55296) |
| end = J.$sub$n(end, 1); |
| if (typeof end !== "number") |
| return H.iae(end); |
| t1 = this._buffer; |
| t2 = t1.length; |
| t3 = J.getInterceptor$s(str); |
| stringIndex = start; |
| for (; stringIndex < end; ++stringIndex) { |
| codeUnit = t3.codeUnitAt$1(str, stringIndex); |
| if (codeUnit <= 127) { |
| t4 = this._bufferIndex; |
| if (t4 >= t2) |
| break; |
| this._bufferIndex = t4 + 1; |
| t1[t4] = codeUnit; |
| } else if ((codeUnit & 64512) === 55296) { |
| if (this._bufferIndex + 3 >= t2) |
| break; |
| stringIndex0 = stringIndex + 1; |
| if (this._writeSurrogate$2(codeUnit, t3.codeUnitAt$1(str, stringIndex0))) |
| stringIndex = stringIndex0; |
| } else if (codeUnit <= 2047) { |
| t4 = this._bufferIndex; |
| t5 = t4 + 1; |
| if (t5 >= t2) |
| break; |
| this._bufferIndex = t5; |
| if (t4 >= t2) |
| return H.ioore(t1, t4); |
| t1[t4] = 192 | codeUnit >>> 6; |
| this._bufferIndex = t5 + 1; |
| t1[t5] = 128 | codeUnit & 63; |
| } else { |
| t4 = this._bufferIndex; |
| if (t4 + 2 >= t2) |
| break; |
| t5 = t4 + 1; |
| this._bufferIndex = t5; |
| if (t4 >= t2) |
| return H.ioore(t1, t4); |
| t1[t4] = 224 | codeUnit >>> 12; |
| t4 = t5 + 1; |
| this._bufferIndex = t4; |
| if (t5 >= t2) |
| return H.ioore(t1, t5); |
| t1[t5] = 128 | codeUnit >>> 6 & 63; |
| this._bufferIndex = t4 + 1; |
| if (t4 >= t2) |
| return H.ioore(t1, t4); |
| t1[t4] = 128 | codeUnit & 63; |
| } |
| } |
| return stringIndex; |
| }, |
| static: {"^": "_Utf8Encoder__DEFAULT_BYTE_BUFFER_SIZE"} |
| } |
| }], |
| ["dart.core", "dart:core", , P, { |
| "^": "", |
| Function__toMangledNames: function(namedArguments) { |
| return; |
| }, |
| Comparable_compare: [function(a, b) { |
| return J.compareTo$1$ns(a, b); |
| }, "call$2", "Comparable_compare$closure", 4, 0, 51, 46, 47], |
| Error_safeToString: function(object) { |
| var buffer, t1, i, t2, codeUnit; |
| 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, t2 = "\""; i < t1; ++i) { |
| codeUnit = C.JSString_methods.codeUnitAt$1(object, i); |
| if (codeUnit <= 31) |
| if (codeUnit === 10) |
| t2 = buffer._contents += "\\n"; |
| else if (codeUnit === 13) |
| t2 = buffer._contents += "\\r"; |
| else if (codeUnit === 9) |
| t2 = buffer._contents += "\\t"; |
| else { |
| t2 = buffer._contents += "\\x"; |
| if (codeUnit < 16) |
| buffer._contents = t2 + "0"; |
| else { |
| buffer._contents = t2 + "1"; |
| codeUnit -= 16; |
| } |
| t2 = H.Primitives_stringFromCharCode(codeUnit < 10 ? 48 + codeUnit : 87 + codeUnit); |
| t2 = buffer._contents += t2; |
| } |
| else if (codeUnit === 92) |
| t2 = buffer._contents += "\\\\"; |
| else if (codeUnit === 34) |
| t2 = buffer._contents += "\\\""; |
| else { |
| t2 = H.Primitives_stringFromCharCode(codeUnit); |
| t2 = buffer._contents += t2; |
| } |
| } |
| t1 = t2 + "\""; |
| buffer._contents = t1; |
| return t1; |
| } |
| 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; |
| }, "call$2", "identical$closure", 4, 0, 52], |
| identityHashCode: [function(object) { |
| return H.objectHashCode(object); |
| }, "call$1", "identityHashCode$closure", 2, 0, 53], |
| List_List$filled: function($length, fill, $E) { |
| var result, t1, i; |
| result = J.JSArray_JSArray$fixed($length, $E); |
| 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; |
| list = H.setRuntimeTypeInfo([], [$E]); |
| for (t1 = J.get$iterator$ax(other); t1.moveNext$0();) |
| list.push(t1.get$current()); |
| if (growable) |
| return list; |
| list.fixed$length = init; |
| return list; |
| }, |
| print: function(object) { |
| var line, t1; |
| line = H.S(object); |
| t1 = $.printToZone; |
| if (t1 == null) |
| H.printString(line); |
| else |
| t1.call$1(line); |
| }, |
| Function__toMangledNames_closure: { |
| "^": "Closure:75;result_0", |
| call$2: function(symbol, value) { |
| this.result_0.$indexSet(0, symbol.get$_name(symbol), value); |
| }, |
| $isFunction: true |
| }, |
| NoSuchMethodError_toString_closure: { |
| "^": "Closure:121;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(J.get$_name$x(key)); |
| t1.sb_0.write$1(": "); |
| t1.sb_0.write$1(P.Error_safeToString(value)); |
| ++t1.i_1; |
| }, |
| $isFunction: true |
| }, |
| bool: { |
| "^": "Object;", |
| $isbool: true |
| }, |
| "+bool": 0, |
| Comparable: { |
| "^": "Object;" |
| }, |
| DateTime: { |
| "^": "Object;millisecondsSinceEpoch<,isUtc", |
| $eq: function(_, other) { |
| if (other == null) |
| return false; |
| if (!J.getInterceptor(other).$isDateTime) |
| return false; |
| return J.$eq(this.millisecondsSinceEpoch, other.millisecondsSinceEpoch) && this.isUtc === other.isUtc; |
| }, |
| compareTo$1: function(_, other) { |
| return J.compareTo$1$ns(this.millisecondsSinceEpoch, other.get$millisecondsSinceEpoch()); |
| }, |
| get$hashCode: function(_) { |
| return this.millisecondsSinceEpoch; |
| }, |
| toString$0: function(_) { |
| var t1, y, m, d, h, min, sec, ms; |
| t1 = this.isUtc; |
| y = P.DateTime__fourDigits(t1 ? H.Primitives_lazyAsJsDate(this).getUTCFullYear() + 0 : H.Primitives_lazyAsJsDate(this).getFullYear() + 0); |
| m = P.DateTime__twoDigits(t1 ? H.Primitives_lazyAsJsDate(this).getUTCMonth() + 1 : H.Primitives_lazyAsJsDate(this).getMonth() + 1); |
| d = P.DateTime__twoDigits(t1 ? H.Primitives_lazyAsJsDate(this).getUTCDate() + 0 : H.Primitives_lazyAsJsDate(this).getDate() + 0); |
| h = P.DateTime__twoDigits(t1 ? H.Primitives_lazyAsJsDate(this).getUTCHours() + 0 : H.Primitives_lazyAsJsDate(this).getHours() + 0); |
| min = P.DateTime__twoDigits(t1 ? H.Primitives_lazyAsJsDate(this).getUTCMinutes() + 0 : H.Primitives_lazyAsJsDate(this).getMinutes() + 0); |
| sec = P.DateTime__twoDigits(t1 ? H.Primitives_lazyAsJsDate(this).getUTCSeconds() + 0 : H.Primitives_lazyAsJsDate(this).getSeconds() + 0); |
| ms = P.DateTime__threeDigits(t1 ? H.Primitives_lazyAsJsDate(this).getUTCMilliseconds() + 0 : H.Primitives_lazyAsJsDate(this).getMilliseconds() + 0); |
| if (t1) |
| return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms + "Z"; |
| else |
| return y + "-" + m + "-" + d + " " + h + ":" + min + ":" + sec + "." + ms; |
| }, |
| add$1: function(_, duration) { |
| return P.DateTime$fromMillisecondsSinceEpoch(J.$add$ns(this.millisecondsSinceEpoch, duration.get$inMilliseconds()), this.isUtc); |
| }, |
| DateTime$_now$0: function() { |
| H.Primitives_lazyAsJsDate(this); |
| }, |
| DateTime$fromMillisecondsSinceEpoch$2$isUtc: function(millisecondsSinceEpoch, isUtc) { |
| if (J.abs$0$n(millisecondsSinceEpoch) > 8640000000000000) |
| throw H.wrapException(P.ArgumentError$(millisecondsSinceEpoch)); |
| }, |
| $isDateTime: true, |
| static: {"^": "DateTime_MONDAY,DateTime_TUESDAY,DateTime_WEDNESDAY,DateTime_THURSDAY,DateTime_FRIDAY,DateTime_SATURDAY,DateTime_SUNDAY,DateTime_DAYS_PER_WEEK,DateTime_JANUARY,DateTime_FEBRUARY,DateTime_MARCH,DateTime_APRIL,DateTime_MAY,DateTime_JUNE,DateTime_JULY,DateTime_AUGUST,DateTime_SEPTEMBER,DateTime_OCTOBER,DateTime_NOVEMBER,DateTime_DECEMBER,DateTime_MONTHS_PER_YEAR,DateTime__MAX_MILLISECONDS_SINCE_EPOCH", DateTime_parse: function(formattedString) { |
| var match, t1, t2, years, month, day, hour, minute, second, millisecond, addOneMillisecond, t3, sign, hourDifference, minuteDifference, isUtc, millisecondsSinceEpoch; |
| match = new H.JSSyntaxRegExp("^([+-]?\\d{4,5})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(.\\d{1,6})?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$", H.JSSyntaxRegExp_makeNative("^([+-]?\\d{4,5})-?(\\d\\d)-?(\\d\\d)(?:[ T](\\d\\d)(?::?(\\d\\d)(?::?(\\d\\d)(.\\d{1,6})?)?)?( ?[zZ]| ?([-+])(\\d\\d)(?::?(\\d\\d))?)?)?$", false, true, false), null, null).firstMatch$1(formattedString); |
| if (match != null) { |
| t1 = new P.DateTime_parse_parseIntOrZero(); |
| t2 = match._match; |
| if (1 >= t2.length) |
| return H.ioore(t2, 1); |
| years = H.Primitives_parseInt(t2[1], null, null); |
| if (2 >= t2.length) |
| return H.ioore(t2, 2); |
| month = H.Primitives_parseInt(t2[2], null, null); |
| if (3 >= t2.length) |
| return H.ioore(t2, 3); |
| day = H.Primitives_parseInt(t2[3], null, null); |
| if (4 >= t2.length) |
| return H.ioore(t2, 4); |
| hour = t1.call$1(t2[4]); |
| if (5 >= t2.length) |
| return H.ioore(t2, 5); |
| minute = t1.call$1(t2[5]); |
| if (6 >= t2.length) |
| return H.ioore(t2, 6); |
| second = t1.call$1(t2[6]); |
| if (7 >= t2.length) |
| return H.ioore(t2, 7); |
| millisecond = J.round$0$n(J.$mul$ns(new P.DateTime_parse_parseDoubleOrZero().call$1(t2[7]), 1000)); |
| if (millisecond === 1000) { |
| addOneMillisecond = true; |
| millisecond = 999; |
| } else |
| addOneMillisecond = false; |
| t3 = t2.length; |
| if (8 >= t3) |
| return H.ioore(t2, 8); |
| if (t2[8] != null) { |
| if (9 >= t3) |
| return H.ioore(t2, 9); |
| t3 = t2[9]; |
| if (t3 != null) { |
| sign = J.$eq(t3, "-") ? -1 : 1; |
| if (10 >= t2.length) |
| return H.ioore(t2, 10); |
| hourDifference = H.Primitives_parseInt(t2[10], null, null); |
| if (11 >= t2.length) |
| return H.ioore(t2, 11); |
| minuteDifference = t1.call$1(t2[11]); |
| if (typeof hourDifference !== "number") |
| return H.iae(hourDifference); |
| minuteDifference = J.$add$ns(minuteDifference, 60 * hourDifference); |
| if (typeof minuteDifference !== "number") |
| return H.iae(minuteDifference); |
| minute = J.$sub$n(minute, sign * minuteDifference); |
| } |
| isUtc = true; |
| } else |
| isUtc = false; |
| millisecondsSinceEpoch = H.Primitives_valueFromDecomposedDate(years, month, day, hour, minute, second, millisecond, isUtc); |
| return P.DateTime$fromMillisecondsSinceEpoch(addOneMillisecond ? millisecondsSinceEpoch + 1 : millisecondsSinceEpoch, isUtc); |
| } else |
| throw H.wrapException(P.FormatException$(formattedString)); |
| }, DateTime$fromMillisecondsSinceEpoch: function(millisecondsSinceEpoch, isUtc) { |
| var t1 = new P.DateTime(millisecondsSinceEpoch, isUtc); |
| t1.DateTime$fromMillisecondsSinceEpoch$2$isUtc(millisecondsSinceEpoch, isUtc); |
| return t1; |
| }, DateTime__fourDigits: function(n) { |
| var absN, sign; |
| absN = Math.abs(n); |
| sign = n < 0 ? "-" : ""; |
| if (absN >= 1000) |
| return "" + n; |
| if (absN >= 100) |
| return sign + "0" + H.S(absN); |
| if (absN >= 10) |
| return sign + "00" + H.S(absN); |
| return sign + "000" + H.S(absN); |
| }, DateTime__threeDigits: function(n) { |
| if (n >= 100) |
| return "" + n; |
| if (n >= 10) |
| return "0" + n; |
| return "00" + n; |
| }, DateTime__twoDigits: function(n) { |
| if (n >= 10) |
| return "" + n; |
| return "0" + n; |
| }} |
| }, |
| DateTime_parse_parseIntOrZero: { |
| "^": "Closure:122;", |
| call$1: function(matched) { |
| if (matched == null) |
| return 0; |
| return H.Primitives_parseInt(matched, null, null); |
| }, |
| $isFunction: true |
| }, |
| DateTime_parse_parseDoubleOrZero: { |
| "^": "Closure:123;", |
| call$1: function(matched) { |
| if (matched == null) |
| return 0; |
| return H.Primitives_parseDouble(matched, null); |
| }, |
| $isFunction: true |
| }, |
| $double: { |
| "^": "num;", |
| $is$double: true |
| }, |
| "+double": 0, |
| Duration: { |
| "^": "Object;_duration<", |
| $add: function(_, other) { |
| return P.Duration$(0, 0, this._duration + other.get$_duration(), 0, 0, 0); |
| }, |
| $sub: function(_, other) { |
| return P.Duration$(0, 0, this._duration - other.get$_duration(), 0, 0, 0); |
| }, |
| $mul: function(_, factor) { |
| if (typeof factor !== "number") |
| return H.iae(factor); |
| return P.Duration$(0, 0, C.JSNumber_methods.toInt$0(C.JSNumber_methods.roundToDouble$0(this._duration * factor)), 0, 0, 0); |
| }, |
| $tdiv: function(_, quotient) { |
| if (J.$eq(quotient, 0)) |
| throw H.wrapException(P.IntegerDivisionByZeroException$()); |
| if (typeof quotient !== "number") |
| return H.iae(quotient); |
| return P.Duration$(0, 0, C.JSNumber_methods.$tdiv(this._duration, quotient), 0, 0, 0); |
| }, |
| $lt: function(_, other) { |
| return this._duration < other.get$_duration(); |
| }, |
| $gt: function(_, other) { |
| return this._duration > other.get$_duration(); |
| }, |
| $le: function(_, other) { |
| return this._duration <= other.get$_duration(); |
| }, |
| $ge: function(_, other) { |
| return this._duration >= other.get$_duration(); |
| }, |
| get$inMilliseconds: function() { |
| return C.JSNumber_methods._tdivFast$1(this._duration, 1000); |
| }, |
| $eq: function(_, other) { |
| if (other == null) |
| return false; |
| if (!J.getInterceptor(other).$isDuration) |
| return false; |
| return this._duration === other._duration; |
| }, |
| get$hashCode: function(_) { |
| return this._duration & 0x1FFFFFFF; |
| }, |
| compareTo$1: function(_, other) { |
| return C.JSNumber_methods.compareTo$1(this._duration, other.get$_duration()); |
| }, |
| toString$0: function(_) { |
| var t1, t2, twoDigitMinutes, twoDigitSeconds, sixDigitUs; |
| t1 = new P.Duration_toString_twoDigits(); |
| t2 = this._duration; |
| if (t2 < 0) |
| return "-" + P.Duration$(0, 0, -t2, 0, 0, 0).toString$0(0); |
| twoDigitMinutes = t1.call$1(C.JSNumber_methods.remainder$1(C.JSNumber_methods._tdivFast$1(t2, 60000000), 60)); |
| twoDigitSeconds = t1.call$1(C.JSNumber_methods.remainder$1(C.JSNumber_methods._tdivFast$1(t2, 1000000), 60)); |
| sixDigitUs = new P.Duration_toString_sixDigits().call$1(C.JSNumber_methods.remainder$1(t2, 1000000)); |
| return H.S(C.JSNumber_methods._tdivFast$1(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:15;", |
| call$1: function(n) { |
| if (n >= 100000) |
| return H.S(n); |
| if (n >= 10000) |
| return "0" + H.S(n); |
| if (n >= 1000) |
| return "00" + H.S(n); |
| if (n >= 100) |
| return "000" + H.S(n); |
| if (n >= 10) |
| return "0000" + H.S(n); |
| return "00000" + H.S(n); |
| }, |
| $isFunction: true |
| }, |
| Duration_toString_twoDigits: { |
| "^": "Closure:15;", |
| call$1: function(n) { |
| if (n >= 10) |
| return H.S(n); |
| return "0" + H.S(n); |
| }, |
| $isFunction: 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$: function(message) { |
| return new P.RangeError(message); |
| }, 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 " + H.S(start) + ".." + H.S(end)); |
| }} |
| }, |
| FallThroughError: { |
| "^": "Error;", |
| static: {FallThroughError$: function() { |
| return new P.FallThroughError(); |
| }} |
| }, |
| NoSuchMethodError: { |
| "^": "Error;_core$_receiver,_memberName,_core$_arguments,_namedArguments,_existingArgumentNames", |
| toString$0: function(_) { |
| var t1, t2, t3, t4, t5, str; |
| t1 = {}; |
| t1.sb_0 = P.StringBuffer$(""); |
| t1.i_1 = 0; |
| for (t2 = this._core$_arguments, t3 = 0; t4 = t2.length, t3 < t4; t3 = ++t1.i_1) { |
| if (t3 > 0) { |
| t5 = t1.sb_0; |
| t5._contents += ", "; |
| } |
| t5 = t1.sb_0; |
| if (t3 < 0) |
| return H.ioore(t2, t3); |
| str = P.Error_safeToString(t2[t3]); |
| t5._contents += typeof str === "string" ? str : H.S(str); |
| } |
| this._namedArguments.forEach$1(0, new P.NoSuchMethodError_toString_closure(t1)); |
| return "NoSuchMethodError : method not found: '" + this._memberName.toString$0(0) + "'\nReceiver: " + H.S(P.Error_safeToString(this._core$_receiver)) + "\nArguments: [" + t1.sb_0._contents + "]"; |
| }, |
| $isNoSuchMethodError: true, |
| static: {NoSuchMethodError$: function(receiver, memberName, positionalArguments, namedArguments, existingArgumentNames) { |
| return new P.NoSuchMethodError(receiver, memberName, positionalArguments, namedArguments, existingArgumentNames); |
| }} |
| }, |
| UnsupportedError: { |
| "^": "Error;message>", |
| toString$0: function(_) { |
| return "Unsupported operation: " + this.message; |
| }, |
| static: {UnsupportedError$: function(message) { |
| return new P.UnsupportedError(message); |
| }} |
| }, |
| UnimplementedError: { |
| "^": "Error;message>", |
| toString$0: function(_) { |
| var t1 = this.message; |
| return t1 != null ? "UnimplementedError: " + H.S(t1) : "UnimplementedError"; |
| }, |
| $isError: true, |
| static: {UnimplementedError$: function(message) { |
| return new P.UnimplementedError(message); |
| }} |
| }, |
| StateError: { |
| "^": "Error;message>", |
| toString$0: function(_) { |
| return "Bad state: " + this.message; |
| }, |
| static: {StateError$: function(message) { |
| return new P.StateError(message); |
| }} |
| }, |
| ConcurrentModificationError: { |
| "^": "Error;modifiedObject", |
| toString$0: function(_) { |
| var t1 = this.modifiedObject; |
| if (t1 == null) |
| return "Concurrent modification during iteration."; |
| return "Concurrent modification during iteration: " + H.S(P.Error_safeToString(t1)) + "."; |
| }, |
| static: {ConcurrentModificationError$: function(modifiedObject) { |
| return new P.ConcurrentModificationError(modifiedObject); |
| }} |
| }, |
| OutOfMemoryError: { |
| "^": "Object;", |
| toString$0: function(_) { |
| return "Out of Memory"; |
| }, |
| get$stackTrace: function() { |
| return; |
| }, |
| $isError: true |
| }, |
| 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); |
| } |
| }, |
| FormatException: { |
| "^": "Object;message>", |
| toString$0: function(_) { |
| return "FormatException: " + H.S(this.message); |
| }, |
| static: {FormatException$: function(message) { |
| return new P.FormatException(message); |
| }} |
| }, |
| IntegerDivisionByZeroException: { |
| "^": "Object;", |
| toString$0: function(_) { |
| return "IntegerDivisionByZeroException"; |
| }, |
| static: {IntegerDivisionByZeroException$: function() { |
| return new P.IntegerDivisionByZeroException(); |
| }} |
| }, |
| Expando: { |
| "^": "Object;name>", |
| toString$0: function(_) { |
| return "Expando:" + H.S(this.name); |
| }, |
| $index: function(_, object) { |
| var values = H.Primitives_getProperty(object, "expando$values"); |
| return values == null ? null : H.Primitives_getProperty(values, this._getKey$0()); |
| }, |
| $indexSet: function(_, object, value) { |
| var values = H.Primitives_getProperty(object, "expando$values"); |
| if (values == null) { |
| values = new P.Object(); |
| H.Primitives_setProperty(object, "expando$values", values); |
| } |
| H.Primitives_setProperty(values, this._getKey$0(), value); |
| }, |
| _getKey$0: function() { |
| var key, t1; |
| key = H.Primitives_getProperty(this, "expando$key"); |
| if (key == null) { |
| t1 = $.Expando__keyCount; |
| $.Expando__keyCount = t1 + 1; |
| key = "expando$key$" + t1; |
| H.Primitives_setProperty(this, "expando$key", key); |
| } |
| return key; |
| }, |
| static: {"^": "Expando__KEY_PROPERTY_NAME,Expando__EXPANDO_PROPERTY_NAME,Expando__keyCount"} |
| }, |
| Function: { |
| "^": "Object;", |
| $isFunction: true |
| }, |
| $int: { |
| "^": "num;", |
| $is$int: true |
| }, |
| "+int": 0, |
| Iterable: { |
| "^": "Object;", |
| $isIterable: true, |
| $asIterable: null |
| }, |
| Iterator: { |
| "^": "Object;" |
| }, |
| List: { |
| "^": "Object;", |
| $isList: true, |
| $asList: null, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null |
| }, |
| "+List": 0, |
| Map: { |
| "^": "Object;", |
| $isMap: true |
| }, |
| Null: { |
| "^": "Object;", |
| toString$0: function(_) { |
| return "null"; |
| } |
| }, |
| "+Null": 0, |
| num: { |
| "^": "Object;", |
| $isnum: true |
| }, |
| "+num": 0, |
| Object: { |
| "^": ";", |
| $eq: function(_, other) { |
| return this === other; |
| }, |
| get$hashCode: function(_) { |
| return H.Primitives_objectHashCode(this); |
| }, |
| toString$0: function(_) { |
| return H.Primitives_objectToString(this); |
| }, |
| noSuchMethod$1: function(_, invocation) { |
| throw H.wrapException(P.NoSuchMethodError$(this, invocation.get$memberName(), invocation.get$positionalArguments(), invocation.get$namedArguments(), null)); |
| }, |
| get$runtimeType: function(_) { |
| return new H.TypeImpl(H.getRuntimeTypeString(this), null); |
| }, |
| $isObject: true |
| }, |
| Match: { |
| "^": "Object;", |
| $isMatch: true |
| }, |
| StackTrace: { |
| "^": "Object;" |
| }, |
| Stopwatch: { |
| "^": "Object;frequency,_core$_start,_stop", |
| start$0: function(_) { |
| var t1, t2, t3; |
| t1 = this._core$_start == null; |
| if (!t1 && this._stop == null) |
| return; |
| if (t1) |
| this._core$_start = H.Primitives_numMicroseconds(); |
| else { |
| t1 = H.Primitives_numMicroseconds(); |
| t2 = this._stop; |
| t3 = this._core$_start; |
| if (typeof t2 !== "number") |
| return t2.$sub(); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| this._core$_start = t1 - (t2 - t3); |
| this._stop = null; |
| } |
| } |
| }, |
| String: { |
| "^": "Object;", |
| $isString: true |
| }, |
| "+String": 0, |
| RuneIterator: { |
| "^": "Object;string,_core$_position,_nextPosition,_currentCodePoint", |
| get$current: function() { |
| return this._currentCodePoint; |
| }, |
| moveNext$0: function() { |
| var t1, t2, t3, codeUnit, nextPosition, nextCodeUnit; |
| t1 = this._nextPosition; |
| this._core$_position = t1; |
| t2 = this.string; |
| t3 = t2.length; |
| if (t1 === t3) { |
| this._currentCodePoint = null; |
| return false; |
| } |
| codeUnit = C.JSString_methods.codeUnitAt$1(t2, t1); |
| nextPosition = this._core$_position + 1; |
| if ((codeUnit & 64512) === 55296 && nextPosition < t3) { |
| nextCodeUnit = C.JSString_methods.codeUnitAt$1(t2, nextPosition); |
| if ((nextCodeUnit & 64512) === 56320) { |
| this._nextPosition = nextPosition + 1; |
| this._currentCodePoint = 65536 + ((codeUnit & 1023) << 10 >>> 0) + (nextCodeUnit & 1023); |
| return true; |
| } |
| } |
| this._nextPosition = nextPosition; |
| this._currentCodePoint = codeUnit; |
| return true; |
| } |
| }, |
| StringBuffer: { |
| "^": "Object;_contents<", |
| get$length: function(_) { |
| return this._contents.length; |
| }, |
| get$isEmpty: function(_) { |
| return this._contents.length === 0; |
| }, |
| get$isNotEmpty: function(_) { |
| return this._contents.length !== 0; |
| }, |
| write$1: function(obj) { |
| this._contents += typeof obj === "string" ? obj : H.S(obj); |
| }, |
| 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(); |
| this._contents += typeof str === "string" ? str : H.S(str); |
| } while (iterator.moveNext$0()); |
| else { |
| this.write$1(iterator.get$current()); |
| for (; iterator.moveNext$0();) { |
| this._contents += separator; |
| str = iterator.get$current(); |
| this._contents += typeof str === "string" ? str : H.S(str); |
| } |
| } |
| }, |
| clear$0: function(_) { |
| this._contents = ""; |
| }, |
| toString$0: function(_) { |
| return this._contents; |
| }, |
| StringBuffer$1: function($content) { |
| if (typeof $content === "string") |
| this._contents = $content; |
| else |
| this.write$1($content); |
| }, |
| static: {StringBuffer$: function($content) { |
| var t1 = new P.StringBuffer(""); |
| t1.StringBuffer$1($content); |
| return t1; |
| }} |
| }, |
| Symbol: { |
| "^": "Object;", |
| $isSymbol: true |
| }, |
| Type: { |
| "^": "Object;", |
| $isType: true |
| }, |
| Uri: { |
| "^": "Object;_host,_port,_path,scheme,userInfo,query,fragment,_pathSegments,_queryParameters", |
| get$host: function(_) { |
| var t1; |
| if (C.JSString_methods.startsWith$1(this._host, "[")) { |
| t1 = this._host; |
| return C.JSString_methods.substring$2(t1, 1, t1.length - 1); |
| } |
| return this._host; |
| }, |
| get$port: function(_) { |
| var t1; |
| if (J.$eq(this._port, 0)) { |
| t1 = this.scheme; |
| if (t1 === "http") |
| return 80; |
| if (t1 === "https") |
| return 443; |
| } |
| return this._port; |
| }, |
| get$path: function(_) { |
| return this._path; |
| }, |
| _makePath$2: function(path, pathSegments) { |
| var t1, result; |
| t1 = path == null; |
| if (t1 && true) |
| return ""; |
| t1 = !t1; |
| if (t1) |
| ; |
| result = t1 ? P.Uri__normalize(path) : C.JSNull_methods.map$1(pathSegments, new P.Uri__makePath_closure()).join$1(0, "/"); |
| if ((this.get$host(this) !== "" || this.scheme === "file") && J.getInterceptor$asx(result).get$isNotEmpty(result) && !C.JSString_methods.startsWith$1(result, "/")) |
| return "/" + H.S(result); |
| return result; |
| }, |
| _merge$2: function(base, reference) { |
| if (base === "") |
| return "/" + H.S(reference); |
| return C.JSString_methods.substring$2(base, 0, J.getInterceptor$asx(base).lastIndexOf$1(base, "/") + 1) + H.S(reference); |
| }, |
| _hasDotSegments$1: function(path) { |
| if (path.length > 0 && J.codeUnitAt$1$s(path, 0) === 58) |
| return true; |
| return J.indexOf$1$asx(path, "/.") !== -1; |
| }, |
| _removeDotSegments$1: function(path) { |
| var output, t1, appendSlash, segment, t2; |
| if (!this._hasDotSegments$1(path)) |
| return path; |
| output = []; |
| for (t1 = path.split("/"), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]), appendSlash = false; t1.moveNext$0();) { |
| segment = t1._current; |
| if (J.$eq(segment, "..")) { |
| t2 = output.length; |
| if (t2 !== 0) |
| if (t2 === 1) { |
| if (0 >= t2) |
| return H.ioore(output, 0); |
| t2 = !J.$eq(output[0], ""); |
| } else |
| t2 = true; |
| else |
| t2 = false; |
| if (t2) { |
| if (0 >= output.length) |
| return H.ioore(output, 0); |
| output.pop(); |
| } |
| appendSlash = true; |
| } else if ("." === segment) |
| appendSlash = true; |
| else { |
| output.push(segment); |
| appendSlash = false; |
| } |
| } |
| if (appendSlash) |
| output.push(""); |
| return C.JSArray_methods.join$1(output, "/"); |
| }, |
| toString$0: function(_) { |
| var sb, t1; |
| sb = P.StringBuffer$(""); |
| t1 = this.scheme; |
| if ("" !== t1) { |
| sb.write$1(t1); |
| sb.write$1(":"); |
| } |
| if (this.get$host(this) !== "" || t1 === "file") { |
| sb.write$1("//"); |
| t1 = this.userInfo; |
| if ("" !== t1) { |
| sb.write$1(t1); |
| sb.write$1("@"); |
| } |
| sb.write$1(this._host); |
| if (!J.$eq(this._port, 0)) { |
| sb.write$1(":"); |
| sb.write$1(J.toString$0(this._port)); |
| } |
| } |
| sb.write$1(this._path); |
| t1 = this.query; |
| if ("" !== t1) { |
| sb.write$1("?"); |
| sb.write$1(t1); |
| } |
| t1 = this.fragment; |
| if ("" !== t1) { |
| sb.write$1("#"); |
| sb.write$1(t1); |
| } |
| return sb._contents; |
| }, |
| $eq: function(_, other) { |
| var t1, t2, t3; |
| if (other == null) |
| return false; |
| t1 = J.getInterceptor(other); |
| if (!t1.$isUri) |
| return false; |
| t2 = this.scheme; |
| t3 = other.scheme; |
| if (t2 == null ? t3 == null : t2 === t3) |
| if (this.userInfo === other.userInfo) |
| if (this.get$host(this) === t1.get$host(other)) |
| if (J.$eq(this.get$port(this), t1.get$port(other))) { |
| t1 = this._path; |
| t2 = other._path; |
| if (t1 == null ? t2 == null : t1 === t2) { |
| t1 = this.query; |
| t2 = other.query; |
| if (t1 == null ? t2 == null : t1 === t2) { |
| t1 = this.fragment; |
| t2 = other.fragment; |
| t2 = t1 == null ? t2 == null : t1 === t2; |
| t1 = t2; |
| } else |
| t1 = false; |
| } else |
| t1 = false; |
| } else |
| t1 = false; |
| else |
| t1 = false; |
| else |
| t1 = false; |
| else |
| t1 = false; |
| return t1; |
| }, |
| get$hashCode: function(_) { |
| var t1 = new P.Uri_hashCode_combine(); |
| return t1.call$2(this.scheme, t1.call$2(this.userInfo, t1.call$2(this.get$host(this), t1.call$2(this.get$port(this), t1.call$2(this._path, t1.call$2(this.query, t1.call$2(this.fragment, 1))))))); |
| }, |
| Uri$9$fragment$host$path$pathSegments$port$query$queryParameters$scheme$userInfo: function(fragment, host, path, pathSegments, port, query, queryParameters, scheme, userInfo) { |
| if (scheme === "http" && J.$eq(port, 80)) |
| this._port = 0; |
| else if (scheme === "https" && J.$eq(port, 443)) |
| this._port = 0; |
| else |
| this._port = port; |
| this._path = this._makePath$2(path, pathSegments); |
| }, |
| $isUri: true, |
| static: {"^": "Uri__SPACE,Uri__DOUBLE_QUOTE,Uri__NUMBER_SIGN,Uri__PERCENT,Uri__ASTERISK,Uri__PLUS,Uri__SLASH,Uri__ZERO,Uri__NINE,Uri__COLON,Uri__LESS,Uri__GREATER,Uri__QUESTION,Uri__AT_SIGN,Uri__UPPER_CASE_A,Uri__UPPER_CASE_F,Uri__UPPER_CASE_Z,Uri__LEFT_BRACKET,Uri__BACKSLASH,Uri__RIGHT_BRACKET,Uri__LOWER_CASE_A,Uri__LOWER_CASE_F,Uri__LOWER_CASE_Z,Uri__BAR,Uri__unreservedTable,Uri__unreserved2396Table,Uri__encodeFullTable,Uri__schemeTable,Uri__schemeLowerTable,Uri__subDelimitersTable,Uri__regNameTable,Uri__pathCharTable,Uri__queryCharTable", Uri_parse: function(uri) { |
| var port, portStr, t1, t2, $length, index, schemeEndIndex, index0, codeUnit, t3, authorityEndIndex, portIndex, userInfoEndIndex, authorityEndIndex0, pathEndIndex, pathEndIndex0, queryEndIndex, queryEndIndex0, scheme, startIndex, userInfo, exception, host, path, query, fragment; |
| t1 = new P.Uri_parse_isRegName(); |
| t2 = new P.Uri_parse_ipV6Address(uri); |
| $length = uri.length; |
| if ($length === 0) |
| return P.Uri$("", "", null, null, 0, null, null, null, ""); |
| if (J.codeUnitAt$1$s(uri, 0) !== 47) |
| for (index = 0; schemeEndIndex = 0, index < $length; index = index0) { |
| index0 = index + 1; |
| if (index >= $length) |
| H.throwExpression(P.RangeError$value(index)); |
| codeUnit = uri.charCodeAt(index); |
| if (codeUnit < 128) { |
| t3 = codeUnit >>> 4; |
| if (t3 >= 8) |
| return H.ioore(C.List_JYB, t3); |
| t3 = (C.List_JYB[t3] & C.JSInt_methods._shlPositive$1(1, codeUnit & 15)) !== 0; |
| } else |
| t3 = false; |
| if (!t3) { |
| if (codeUnit === 58) { |
| schemeEndIndex = index0; |
| index = schemeEndIndex; |
| } else { |
| index = index0 - 1; |
| schemeEndIndex = 0; |
| } |
| break; |
| } |
| } |
| else { |
| index = 0; |
| schemeEndIndex = 0; |
| } |
| if (schemeEndIndex === index) { |
| t3 = schemeEndIndex + 1; |
| t3 = t3 < $length && C.JSString_methods.codeUnitAt$1(uri, schemeEndIndex) === 47 && C.JSString_methods.codeUnitAt$1(uri, t3) === 47; |
| } else |
| t3 = false; |
| if (t3) { |
| authorityEndIndex = schemeEndIndex + 2; |
| for (portIndex = -1; t3 = J.getInterceptor$n(authorityEndIndex), userInfoEndIndex = -1, t3.$lt(authorityEndIndex, $length);) { |
| authorityEndIndex0 = t3.$add(authorityEndIndex, 1); |
| if (typeof authorityEndIndex !== "number" || Math.floor(authorityEndIndex) !== authorityEndIndex) |
| H.throwExpression(P.ArgumentError$(authorityEndIndex)); |
| if (t3.$lt(authorityEndIndex, 0)) |
| H.throwExpression(P.RangeError$value(authorityEndIndex)); |
| if (t3.$ge(authorityEndIndex, $length)) |
| H.throwExpression(P.RangeError$value(authorityEndIndex)); |
| codeUnit = uri.charCodeAt(authorityEndIndex); |
| if (t1.call$1(codeUnit) !== true) |
| if (codeUnit === 91) |
| authorityEndIndex = t2.call$1(authorityEndIndex0); |
| else { |
| if (J.$eq(portIndex, -1) && codeUnit === 58) |
| ; |
| else { |
| t3 = codeUnit === 64 || codeUnit === 58; |
| authorityEndIndex = authorityEndIndex0 - 1; |
| if (t3) { |
| userInfoEndIndex = C.JSString_methods.indexOf$2(uri, "@", authorityEndIndex); |
| if (userInfoEndIndex === -1) { |
| authorityEndIndex = index; |
| break; |
| } |
| authorityEndIndex = userInfoEndIndex + 1; |
| for (portIndex = -1; t3 = J.getInterceptor$n(authorityEndIndex), t3.$lt(authorityEndIndex, $length);) { |
| authorityEndIndex0 = t3.$add(authorityEndIndex, 1); |
| if (typeof authorityEndIndex !== "number" || Math.floor(authorityEndIndex) !== authorityEndIndex) |
| H.throwExpression(P.ArgumentError$(authorityEndIndex)); |
| if (t3.$lt(authorityEndIndex, 0)) |
| H.throwExpression(P.RangeError$value(authorityEndIndex)); |
| if (t3.$ge(authorityEndIndex, $length)) |
| H.throwExpression(P.RangeError$value(authorityEndIndex)); |
| codeUnit = uri.charCodeAt(authorityEndIndex); |
| if (t1.call$1(codeUnit) !== true) |
| if (codeUnit === 91) |
| authorityEndIndex = t2.call$1(authorityEndIndex0); |
| else { |
| if (codeUnit === 58) { |
| if (!J.$eq(portIndex, -1)) |
| throw H.wrapException(P.FormatException$("Double port in host")); |
| } else { |
| authorityEndIndex = authorityEndIndex0 - 1; |
| break; |
| } |
| authorityEndIndex = authorityEndIndex0; |
| portIndex = authorityEndIndex; |
| } |
| else |
| authorityEndIndex = authorityEndIndex0; |
| } |
| break; |
| } else { |
| userInfoEndIndex = -1; |
| break; |
| } |
| } |
| authorityEndIndex = authorityEndIndex0; |
| portIndex = authorityEndIndex; |
| } |
| else |
| authorityEndIndex = authorityEndIndex0; |
| } |
| } else { |
| authorityEndIndex = schemeEndIndex; |
| userInfoEndIndex = -1; |
| portIndex = -1; |
| } |
| for (pathEndIndex = authorityEndIndex; t1 = J.getInterceptor$n(pathEndIndex), t1.$lt(pathEndIndex, $length); pathEndIndex = pathEndIndex0) { |
| pathEndIndex0 = t1.$add(pathEndIndex, 1); |
| if (typeof pathEndIndex !== "number" || Math.floor(pathEndIndex) !== pathEndIndex) |
| H.throwExpression(P.ArgumentError$(pathEndIndex)); |
| if (t1.$lt(pathEndIndex, 0)) |
| H.throwExpression(P.RangeError$value(pathEndIndex)); |
| if (t1.$ge(pathEndIndex, $length)) |
| H.throwExpression(P.RangeError$value(pathEndIndex)); |
| codeUnit = uri.charCodeAt(pathEndIndex); |
| if (codeUnit === 63 || codeUnit === 35) { |
| pathEndIndex = pathEndIndex0 - 1; |
| break; |
| } |
| } |
| t1 = J.getInterceptor$n(pathEndIndex); |
| if (t1.$lt(pathEndIndex, $length) && C.JSString_methods.codeUnitAt$1(uri, pathEndIndex) === 63) |
| for (queryEndIndex = pathEndIndex; t2 = J.getInterceptor$n(queryEndIndex), t2.$lt(queryEndIndex, $length); queryEndIndex = queryEndIndex0) { |
| queryEndIndex0 = t2.$add(queryEndIndex, 1); |
| if (typeof queryEndIndex !== "number" || Math.floor(queryEndIndex) !== queryEndIndex) |
| H.throwExpression(P.ArgumentError$(queryEndIndex)); |
| if (t2.$lt(queryEndIndex, 0)) |
| H.throwExpression(P.RangeError$value(queryEndIndex)); |
| if (t2.$ge(queryEndIndex, $length)) |
| H.throwExpression(P.RangeError$value(queryEndIndex)); |
| if (uri.charCodeAt(queryEndIndex) === 35) { |
| queryEndIndex = queryEndIndex0 - 1; |
| break; |
| } |
| } |
| else |
| queryEndIndex = pathEndIndex; |
| scheme = schemeEndIndex > 0 ? C.JSString_methods.substring$2(uri, 0, schemeEndIndex - 1) : null; |
| port = 0; |
| if (schemeEndIndex !== authorityEndIndex) { |
| startIndex = schemeEndIndex + 2; |
| if (userInfoEndIndex > 0) { |
| userInfo = C.JSString_methods.substring$2(uri, startIndex, userInfoEndIndex); |
| startIndex = userInfoEndIndex + 1; |
| } else |
| userInfo = ""; |
| t2 = J.getInterceptor$n(portIndex); |
| if (t2.$gt(portIndex, 0)) { |
| portStr = C.JSString_methods.substring$2(uri, portIndex, authorityEndIndex); |
| try { |
| port = H.Primitives_parseInt(portStr, null, null); |
| } catch (exception) { |
| H.unwrapException(exception); |
| throw H.wrapException(P.FormatException$("Invalid port: '" + H.S(portStr) + "'")); |
| } |
| |
| host = C.JSString_methods.substring$2(uri, startIndex, t2.$sub(portIndex, 1)); |
| } else |
| host = C.JSString_methods.substring$2(uri, startIndex, authorityEndIndex); |
| } else { |
| host = ""; |
| userInfo = ""; |
| } |
| path = C.JSString_methods.substring$2(uri, authorityEndIndex, pathEndIndex); |
| query = t1.$lt(pathEndIndex, queryEndIndex) ? C.JSString_methods.substring$2(uri, t1.$add(pathEndIndex, 1), queryEndIndex) : ""; |
| t1 = J.getInterceptor$n(queryEndIndex); |
| fragment = t1.$lt(queryEndIndex, $length) ? C.JSString_methods.substring$2(uri, t1.$add(queryEndIndex, 1), $length) : ""; |
| return P.Uri$(fragment, host, path, null, port, query, null, scheme, userInfo); |
| }, Uri$: function(fragment, host, path, pathSegments, port, query, queryParameters, scheme, userInfo) { |
| var t1 = P.Uri__makeScheme(scheme); |
| t1 = new P.Uri(P.Uri__makeHost(host), null, null, t1, userInfo, P.Uri__makeQuery(query, queryParameters), P.Uri__makeFragment(fragment), null, null); |
| t1.Uri$9$fragment$host$path$pathSegments$port$query$queryParameters$scheme$userInfo(fragment, host, path, pathSegments, port, query, queryParameters, scheme, userInfo); |
| return t1; |
| }, Uri__makeHost: function(host) { |
| var t1, i; |
| if (host.length === 0) |
| return host; |
| if (C.JSString_methods.codeUnitAt$1(host, 0) === 91) { |
| t1 = host.length - 1; |
| if (C.JSString_methods.codeUnitAt$1(host, t1) !== 93) |
| throw H.wrapException(P.FormatException$("Missing end `]` to match `[` in host")); |
| P.Uri_parseIPv6Address(C.JSString_methods.substring$2(host, 1, t1)); |
| return host; |
| } |
| for (t1 = host.length, i = 0; i < t1; ++i) { |
| if (i >= t1) |
| H.throwExpression(P.RangeError$value(i)); |
| if (host.charCodeAt(i) === 58) { |
| P.Uri_parseIPv6Address(host); |
| return "[" + host + "]"; |
| } |
| } |
| return host; |
| }, Uri__makeScheme: function(scheme) { |
| var t1, $length, allLowercase, i, codeUnit, t2; |
| t1 = new P.Uri__makeScheme_isSchemeLowerCharacter(); |
| if (scheme == null) |
| return ""; |
| $length = scheme.length; |
| for (allLowercase = true, i = 0; i < $length; ++i) { |
| if (i >= $length) |
| H.throwExpression(P.RangeError$value(i)); |
| codeUnit = scheme.charCodeAt(i); |
| if (i === 0) { |
| if (!(codeUnit >= 97 && codeUnit <= 122)) |
| t2 = codeUnit >= 65 && codeUnit <= 90; |
| else |
| t2 = true; |
| t2 = !t2; |
| } else |
| t2 = false; |
| if (t2) |
| throw H.wrapException(P.ArgumentError$("Illegal scheme: " + scheme)); |
| if (t1.call$1(codeUnit) !== true) { |
| if (codeUnit < 128) { |
| t2 = codeUnit >>> 4; |
| if (t2 >= 8) |
| return H.ioore(C.List_JYB, t2); |
| t2 = (C.List_JYB[t2] & C.JSInt_methods._shlPositive$1(1, codeUnit & 15)) !== 0; |
| } else |
| t2 = false; |
| if (t2) |
| ; |
| else |
| throw H.wrapException(P.ArgumentError$("Illegal scheme: " + scheme)); |
| allLowercase = false; |
| } |
| } |
| return allLowercase ? scheme : scheme.toLowerCase(); |
| }, Uri__makeQuery: function(query, queryParameters) { |
| var t1, t2, result; |
| t1 = {}; |
| t2 = query == null; |
| if (t2 && true) |
| return ""; |
| t2 = !t2; |
| if (t2) |
| ; |
| if (t2) |
| return P.Uri__normalize(query); |
| result = P.StringBuffer$(""); |
| t1.first_0 = true; |
| C.JSNull_methods.forEach$1(queryParameters, new P.Uri__makeQuery_closure(t1, result)); |
| return result._contents; |
| }, Uri__makeFragment: function(fragment) { |
| if (fragment == null) |
| return ""; |
| return P.Uri__normalize(fragment); |
| }, Uri__normalize: function(component) { |
| var t1, index, t2, t3, t4, t5, $length, t6, t7, codeUnit1, codeUnit2, decodedCodeUnit, t8, next; |
| t1 = {}; |
| index = J.getInterceptor$asx(component).indexOf$1(component, "%"); |
| t1.index_0 = index; |
| if (index < 0) |
| return component; |
| t2 = new P.Uri__normalize_isNormalizedHexDigit(); |
| t3 = new P.Uri__normalize_isUnreserved(); |
| t4 = new P.Uri__normalize_normalizeHexDigit(component, t2, new P.Uri__normalize_isLowerCaseHexDigit()); |
| t5 = new P.Uri__normalize_decodeHexDigitPair(component); |
| t1.result_1 = null; |
| $length = component.length; |
| t1.prevIndex_2 = 0; |
| t6 = new P.Uri__normalize_fillResult(t1, component); |
| for (t7 = index; t7 < $length;) { |
| if ($length < t7 + 2) |
| throw H.wrapException(P.ArgumentError$("Invalid percent-encoding in URI component: " + component)); |
| codeUnit1 = C.JSString_methods.codeUnitAt$1(component, t7 + 1); |
| codeUnit2 = C.JSString_methods.codeUnitAt$1(component, t1.index_0 + 2); |
| decodedCodeUnit = t5.call$1(t1.index_0 + 1); |
| if (t2.call$1(codeUnit1) === true && t2.call$1(codeUnit2) === true && t3.call$1(decodedCodeUnit) !== true) |
| t7 = t1.index_0 += 3; |
| else { |
| t6.call$0(); |
| t7 = t3.call$1(decodedCodeUnit); |
| t8 = t1.result_1; |
| if (t7 === true) { |
| t8.toString; |
| t7 = H.Primitives_stringFromCharCode(decodedCodeUnit); |
| t8._contents += t7; |
| } else { |
| t8.toString; |
| t8._contents += "%"; |
| t7 = t4.call$1(t1.index_0 + 1); |
| t8.toString; |
| t7 = H.Primitives_stringFromCharCode(t7); |
| t8._contents += t7; |
| t7 = t1.result_1; |
| t8 = t4.call$1(t1.index_0 + 2); |
| t7.toString; |
| t8 = H.Primitives_stringFromCharCode(t8); |
| t7._contents += t8; |
| } |
| t7 = t1.index_0 += 3; |
| t1.prevIndex_2 = t7; |
| } |
| next = C.JSString_methods.indexOf$2(component, "%", t7); |
| if (next >= t1.index_0) { |
| t1.index_0 = next; |
| t7 = next; |
| } else { |
| t1.index_0 = $length; |
| t7 = $length; |
| } |
| } |
| if (t1.result_1 == null) |
| return component; |
| if (t1.prevIndex_2 !== t7) |
| t6.call$0(); |
| return J.toString$0(t1.result_1); |
| }, Uri_parseIPv4Address: function(host) { |
| var t1, bytes; |
| t1 = new P.Uri_parseIPv4Address_error(); |
| bytes = host.split("."); |
| if (bytes.length !== 4) |
| t1.call$1("IPv4 address should contain exactly 4 parts"); |
| return H.setRuntimeTypeInfo(new H.MappedListIterable(bytes, new P.Uri_parseIPv4Address_closure(t1)), [null, null]).toList$0(0); |
| }, Uri_parseIPv6Address: function(host) { |
| var error, parseHex, parts, partStart, last, wildcardSeen, i, t1, t2, atEnd, isLastWildcard, exception; |
| error = new P.Uri_parseIPv6Address_error(); |
| parseHex = new P.Uri_parseIPv6Address_parseHex(host, error); |
| if (J.get$length$asx(host) < 2) |
| error.call$1("address is too short"); |
| parts = []; |
| partStart = 0; |
| wildcardSeen = false; |
| i = 0; |
| while (true) { |
| t1 = J.get$length$asx(host); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| if (!(i < t1)) |
| break; |
| t1 = host; |
| t2 = J.get$length$asx(t1); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| if (i >= t2) |
| H.throwExpression(P.RangeError$value(i)); |
| if (t1.charCodeAt(i) === 58) { |
| if (i === 0) { |
| ++i; |
| t1 = host; |
| if (i >= J.get$length$asx(t1)) |
| H.throwExpression(P.RangeError$value(i)); |
| if (t1.charCodeAt(i) !== 58) |
| error.call$1("invalid start colon."); |
| partStart = i; |
| } |
| if (i === partStart) { |
| if (wildcardSeen) |
| error.call$1("only one wildcard `::` is allowed"); |
| J.add$1$ax(parts, -1); |
| wildcardSeen = true; |
| } else |
| J.add$1$ax(parts, parseHex.call$2(partStart, i)); |
| partStart = i + 1; |
| } |
| ++i; |
| } |
| if (J.get$length$asx(parts) === 0) |
| error.call$1("too few parts"); |
| atEnd = J.$eq(partStart, J.get$length$asx(host)); |
| isLastWildcard = J.$eq(J.get$last$ax(parts), -1); |
| if (atEnd && !isLastWildcard) |
| error.call$1("expected a part after last `:`"); |
| if (!atEnd) |
| try { |
| J.add$1$ax(parts, parseHex.call$2(partStart, J.get$length$asx(host))); |
| } catch (exception) { |
| H.unwrapException(exception); |
| try { |
| last = P.Uri_parseIPv4Address(J.substring$1$s(host, partStart)); |
| t1 = J.$shl$n(J.$index$asx(last, 0), 8); |
| t2 = J.$index$asx(last, 1); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| J.add$1$ax(parts, (t1 | t2) >>> 0); |
| t2 = J.$shl$n(J.$index$asx(last, 2), 8); |
| t1 = J.$index$asx(last, 3); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| J.add$1$ax(parts, (t2 | t1) >>> 0); |
| } catch (exception) { |
| H.unwrapException(exception); |
| error.call$1("invalid end of IPv6 address."); |
| } |
| |
| } |
| |
| if (wildcardSeen) { |
| if (J.get$length$asx(parts) > 7) |
| error.call$1("an address with a wildcard must have less than 7 parts"); |
| } else if (J.get$length$asx(parts) !== 8) |
| error.call$1("an address without a wildcard must contain exactly 8 parts"); |
| t1 = new H.ExpandIterable(parts, new P.Uri_parseIPv6Address_closure(parts)); |
| t1.$builtinTypeInfo = [null, null]; |
| return P.List_List$from(t1, true, H.getRuntimeTypeArgument(t1, "IterableBase", 0)); |
| }, Uri__uriEncode: function(canonicalTable, text, encoding, spaceToPlus) { |
| var t1, result, bytes, i, $byte, t2, t3; |
| t1 = new P.Uri__uriEncode_byteToHex(); |
| result = P.StringBuffer$(""); |
| bytes = encoding.get$encoder().convert$1(text); |
| for (i = 0; i < bytes.length; ++i) { |
| $byte = bytes[i]; |
| t2 = J.getInterceptor$n($byte); |
| if (t2.$lt($byte, 128)) { |
| t3 = t2.$shr($byte, 4); |
| if (t3 >= 8) |
| return H.ioore(canonicalTable, t3); |
| t3 = (canonicalTable[t3] & C.JSInt_methods._shlPositive$1(1, t2.$and($byte, 15))) !== 0; |
| } else |
| t3 = false; |
| if (t3) { |
| t2 = H.Primitives_stringFromCharCode($byte); |
| result._contents += t2; |
| } else if (spaceToPlus && t2.$eq($byte, 32)) { |
| t2 = H.Primitives_stringFromCharCode(43); |
| result._contents += t2; |
| } else { |
| t2 = H.Primitives_stringFromCharCode(37); |
| result._contents += t2; |
| t1.call$2($byte, result); |
| } |
| } |
| return result._contents; |
| }} |
| }, |
| Uri_parse_isRegName: { |
| "^": "Closure:124;", |
| call$1: function(ch) { |
| var t1; |
| if (ch < 128) { |
| t1 = ch >>> 4; |
| if (t1 >= 8) |
| return H.ioore(C.List_qNA, t1); |
| t1 = (C.List_qNA[t1] & C.JSInt_methods._shlPositive$1(1, ch & 15)) !== 0; |
| } else |
| t1 = false; |
| return t1; |
| }, |
| $isFunction: true |
| }, |
| Uri_parse_ipV6Address: { |
| "^": "Closure:125;uri_0", |
| call$1: function(index) { |
| index = J.indexOf$2$asx(this.uri_0, "]", index); |
| if (index === -1) |
| throw H.wrapException(P.FormatException$("Bad end of IPv6 host")); |
| return index + 1; |
| }, |
| $isFunction: true |
| }, |
| Uri__makeScheme_isSchemeLowerCharacter: { |
| "^": "Closure:124;", |
| call$1: function(ch) { |
| var t1; |
| if (ch < 128) { |
| t1 = ch >>> 4; |
| if (t1 >= 8) |
| return H.ioore(C.List_6Pr, t1); |
| t1 = (C.List_6Pr[t1] & C.JSInt_methods._shlPositive$1(1, ch & 15)) !== 0; |
| } else |
| t1 = false; |
| return t1; |
| }, |
| $isFunction: true |
| }, |
| Uri__makePath_closure: { |
| "^": "Closure:13;", |
| call$1: function(s) { |
| return P.Uri__uriEncode(C.List_qg4, s, C.Utf8Codec_false, false); |
| }, |
| $isFunction: true |
| }, |
| Uri__makeQuery_closure: { |
| "^": "Closure:75;box_0,result_1", |
| call$2: function(key, value) { |
| 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(P.Uri__uriEncode(C.List_nxB, key, C.Utf8Codec_false, true)); |
| value.get$isEmpty(value); |
| t1.write$1("="); |
| t1.write$1(P.Uri__uriEncode(C.List_nxB, value, C.Utf8Codec_false, true)); |
| }, |
| $isFunction: true |
| }, |
| Uri__normalize_isNormalizedHexDigit: { |
| "^": "Closure:124;", |
| call$1: function(digit) { |
| var t1; |
| if (!(48 <= digit && digit <= 57)) |
| t1 = 65 <= digit && digit <= 70; |
| else |
| t1 = true; |
| return t1; |
| }, |
| $isFunction: true |
| }, |
| Uri__normalize_isLowerCaseHexDigit: { |
| "^": "Closure:124;", |
| call$1: function(digit) { |
| return 97 <= digit && digit <= 102; |
| }, |
| $isFunction: true |
| }, |
| Uri__normalize_isUnreserved: { |
| "^": "Closure:124;", |
| call$1: function(ch) { |
| var t1; |
| if (ch < 128) { |
| t1 = C.JSInt_methods._shrOtherPositive$1(ch, 4); |
| if (t1 >= 8) |
| return H.ioore(C.List_nxB, t1); |
| t1 = (C.List_nxB[t1] & C.JSInt_methods._shlPositive$1(1, ch & 15)) !== 0; |
| } else |
| t1 = false; |
| return t1; |
| }, |
| $isFunction: true |
| }, |
| Uri__normalize_normalizeHexDigit: { |
| "^": "Closure:125;component_1,isNormalizedHexDigit_2,isLowerCaseHexDigit_3", |
| call$1: function(index) { |
| var t1, codeUnit; |
| t1 = this.component_1; |
| codeUnit = J.codeUnitAt$1$s(t1, index); |
| if (this.isLowerCaseHexDigit_3.call$1(codeUnit) === true) |
| return codeUnit - 32; |
| else if (this.isNormalizedHexDigit_2.call$1(codeUnit) !== true) |
| throw H.wrapException(P.ArgumentError$("Invalid URI component: " + t1)); |
| else |
| return codeUnit; |
| }, |
| $isFunction: true |
| }, |
| Uri__normalize_decodeHexDigitPair: { |
| "^": "Closure:125;component_4", |
| call$1: function(index) { |
| var t1, t2, $byte, i, codeUnit; |
| for (t1 = this.component_4, t2 = J.getInterceptor$s(t1), $byte = 0, i = 0; i < 2; ++i) { |
| codeUnit = t2.codeUnitAt$1(t1, index + i); |
| if (48 <= codeUnit && codeUnit <= 57) |
| $byte = $byte * 16 + codeUnit - 48; |
| else { |
| codeUnit |= 32; |
| if (97 <= codeUnit && codeUnit <= 102) |
| $byte = $byte * 16 + codeUnit - 97 + 10; |
| else |
| throw H.wrapException(P.ArgumentError$("Invalid percent-encoding in URI component: " + t1)); |
| } |
| } |
| return $byte; |
| }, |
| $isFunction: true |
| }, |
| Uri__normalize_fillResult: { |
| "^": "Closure:18;box_0,component_5", |
| call$0: function() { |
| var t1, t2, t3, t4, t5; |
| t1 = this.box_0; |
| t2 = t1.result_1; |
| t3 = t1.prevIndex_2; |
| t4 = this.component_5; |
| t5 = t1.index_0; |
| if (t2 == null) |
| t1.result_1 = P.StringBuffer$(J.substring$2$s(t4, t3, t5)); |
| else |
| t2.write$1(J.substring$2$s(t4, t3, t5)); |
| }, |
| $isFunction: true |
| }, |
| Uri_hashCode_combine: { |
| "^": "Closure:126;", |
| call$2: function(part, current) { |
| var t1 = J.get$hashCode$(part); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| return current * 31 + t1 & 1073741823; |
| }, |
| $isFunction: true |
| }, |
| Uri_parseIPv4Address_error: { |
| "^": "Closure:43;", |
| call$1: function(msg) { |
| throw H.wrapException(P.FormatException$("Illegal IPv4 address, " + msg)); |
| }, |
| $isFunction: true |
| }, |
| Uri_parseIPv4Address_closure: { |
| "^": "Closure:13;error_0", |
| call$1: [function(byteString) { |
| var $byte, t1; |
| $byte = H.Primitives_parseInt(byteString, null, null); |
| t1 = J.getInterceptor$n($byte); |
| if (t1.$lt($byte, 0) || t1.$gt($byte, 255)) |
| this.error_0.call$1("each part must be in the range of `0..255`"); |
| return $byte; |
| }, "call$1", null, 2, 0, null, 127, "call"], |
| $isFunction: true |
| }, |
| Uri_parseIPv6Address_error: { |
| "^": "Closure:43;", |
| call$1: function(msg) { |
| throw H.wrapException(P.FormatException$("Illegal IPv6 address, " + msg)); |
| }, |
| $isFunction: true |
| }, |
| Uri_parseIPv6Address_parseHex: { |
| "^": "Closure:87;host_0,error_1", |
| call$2: function(start, end) { |
| var value, t1; |
| if (end - start > 4) |
| this.error_1.call$1("an IPv6 part can only contain a maximum of 4 hex digits"); |
| value = H.Primitives_parseInt(C.JSString_methods.substring$2(this.host_0, start, end), 16, null); |
| t1 = J.getInterceptor$n(value); |
| if (t1.$lt(value, 0) || t1.$gt(value, 65535)) |
| this.error_1.call$1("each part must be in the range of `0x0..0xFFFF`"); |
| return value; |
| }, |
| $isFunction: true |
| }, |
| Uri_parseIPv6Address_closure: { |
| "^": "Closure:13;parts_2", |
| call$1: function(value) { |
| var t1 = J.getInterceptor(value); |
| if (t1.$eq(value, -1)) |
| return P.List_List$filled((9 - this.parts_2.length) * 2, 0, null); |
| else |
| return [t1.$shr(value, 8) & 255, t1.$and(value, 255)]; |
| }, |
| $isFunction: true |
| }, |
| Uri__uriEncode_byteToHex: { |
| "^": "Closure:75;", |
| call$2: function($byte, buffer) { |
| var t1 = J.getInterceptor$n($byte); |
| buffer.write$1(H.Primitives_stringFromCharCode(C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", t1.$shr($byte, 4)))); |
| buffer.write$1(H.Primitives_stringFromCharCode(C.JSString_methods.codeUnitAt$1("0123456789ABCDEF", t1.$and($byte, 15)))); |
| }, |
| $isFunction: true |
| } |
| }], |
| ["dart.dom.html", "dart:html", , W, { |
| "^": "", |
| CustomEvent_CustomEvent: function(type, canBubble, cancelable, detail) { |
| var e, t1, exception; |
| e = document.createEvent("CustomEvent"); |
| J.set$_dartDetail$x(e, detail); |
| if (!J.getInterceptor(detail).$isList) |
| if (!J.getInterceptor(detail).$isMap) { |
| t1 = detail; |
| if (typeof t1 !== "string") { |
| t1 = detail; |
| t1 = typeof t1 === "number"; |
| } else |
| t1 = true; |
| } else |
| t1 = true; |
| else |
| t1 = true; |
| if (t1) |
| try { |
| detail = P._convertDartToNative_PrepareForStructuredClone(detail); |
| J._initCustomEvent$4$x(e, type, canBubble, cancelable, detail); |
| } catch (exception) { |
| H.unwrapException(exception); |
| J._initCustomEvent$4$x(e, type, canBubble, cancelable, null); |
| } |
| |
| else |
| J._initCustomEvent$4$x(e, type, canBubble, cancelable, null); |
| return e; |
| }, |
| _ElementFactoryProvider_createElement_tag: function(tag, typeExtension) { |
| return document.createElement(tag); |
| }, |
| HttpRequest_request: function(url, method, mimeType, onProgress, requestHeaders, responseType, sendData, withCredentials) { |
| var t1, completer, xhr; |
| t1 = W.HttpRequest; |
| completer = H.setRuntimeTypeInfo(new P._AsyncCompleter(P._Future$(t1)), [t1]); |
| xhr = new XMLHttpRequest(); |
| C.HttpRequest_methods.open$3$async(xhr, "GET", url, true); |
| requestHeaders.forEach$1(0, new W.HttpRequest_request_closure(xhr)); |
| t1 = H.setRuntimeTypeInfo(new W._EventStream(xhr, C.EventStreamProvider_load._eventType, false), [null]); |
| H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1._eventType, W._wrapZone(new W.HttpRequest_request_closure0(completer, xhr)), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
| t1 = H.setRuntimeTypeInfo(new W._EventStream(xhr, C.EventStreamProvider_error._eventType, false), [null]); |
| H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1._eventType, W._wrapZone(completer.get$completeError()), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
| xhr.send(); |
| return completer.future; |
| }, |
| InputElement_InputElement: function(type) { |
| var e, exception; |
| e = document.createElement("input", null); |
| if (type != null) |
| try { |
| J.set$type$x(e, type); |
| } catch (exception) { |
| H.unwrapException(exception); |
| } |
| |
| return e; |
| }, |
| _JenkinsSmiHash_combine: function(hash, value) { |
| hash = 536870911 & hash + value; |
| hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0); |
| return hash ^ hash >>> 6; |
| }, |
| _convertNativeToDart_Window: function(win) { |
| if (win == null) |
| return; |
| return W._DOMWindowCrossFrame__createSafe(win); |
| }, |
| _convertNativeToDart_EventTarget: function(e) { |
| var $window; |
| if (e == null) |
| return; |
| if ("setInterval" in e) { |
| $window = W._DOMWindowCrossFrame__createSafe(e); |
| if (!!J.getInterceptor($window).$isEventTarget) |
| return $window; |
| return; |
| } else |
| return e; |
| }, |
| _convertDartToNative_EventTarget: function(e) { |
| return e; |
| }, |
| _convertNativeToDart_XHR_Response: function(o) { |
| if (!!J.getInterceptor(o).$isDocument) |
| return o; |
| return P.convertNativeToDart_AcceptStructuredClone(o, true); |
| }, |
| _callConstructor: function($constructor, interceptor) { |
| return new W._callConstructor_closure($constructor, interceptor); |
| }, |
| _callAttached: [function(receiver) { |
| return J.attached$0$x(receiver); |
| }, "call$1", "_callAttached$closure", 2, 0, 13, 54], |
| _callDetached: [function(receiver) { |
| return J.detached$0$x(receiver); |
| }, "call$1", "_callDetached$closure", 2, 0, 13, 54], |
| _callAttributeChanged: [function(receiver, $name, oldValue, newValue) { |
| return J.attributeChanged$3$x(receiver, $name, oldValue, newValue); |
| }, "call$4", "_callAttributeChanged$closure", 8, 0, 55, 54, 56, 57, 58], |
| _registerCustomElement: function(context, $document, tag, type, extendsTagName) { |
| var interceptorClass, interceptor, $constructor, baseClassName, t1, baseConstructor, properties, proto, t2, options; |
| interceptorClass = J.findInterceptorConstructorForType(type); |
| if (interceptorClass == null) |
| throw H.wrapException(P.ArgumentError$(type)); |
| interceptor = interceptorClass.prototype; |
| $constructor = J.findConstructorForNativeSubclassType(type, "created"); |
| if ($constructor == null) |
| throw H.wrapException(P.ArgumentError$(H.S(type) + " has no constructor called 'created'")); |
| J.getNativeInterceptor(W._ElementFactoryProvider_createElement_tag("article", null)); |
| baseClassName = interceptorClass.$nativeSuperclassTag; |
| if (baseClassName == null) |
| throw H.wrapException(P.ArgumentError$(type)); |
| t1 = extendsTagName == null; |
| if (t1) { |
| if (!J.$eq(baseClassName, "HTMLElement")) |
| throw H.wrapException(P.UnsupportedError$("Class must provide extendsTag if base native class is not HtmlElement")); |
| } else if (!($document.createElement(extendsTagName) instanceof window[baseClassName])) |
| throw H.wrapException(P.UnsupportedError$("extendsTag does not match base native class")); |
| baseConstructor = context[baseClassName]; |
| properties = {}; |
| properties.createdCallback = {value: function(invokeCallback) { |
| return function() { |
| return invokeCallback(this); |
| }; |
| }(H.convertDartClosureToJS(W._callConstructor($constructor, interceptor), 1))}; |
| properties.attachedCallback = {value: function(invokeCallback) { |
| return function() { |
| return invokeCallback(this); |
| }; |
| }(H.convertDartClosureToJS(W._callAttached$closure(), 1))}; |
| properties.detachedCallback = {value: function(invokeCallback) { |
| return function() { |
| return invokeCallback(this); |
| }; |
| }(H.convertDartClosureToJS(W._callDetached$closure(), 1))}; |
| properties.attributeChangedCallback = {value: function(invokeCallback) { |
| return function(arg1, arg2, arg3) { |
| return invokeCallback(this, arg1, arg2, arg3); |
| }; |
| }(H.convertDartClosureToJS(W._callAttributeChanged$closure(), 4))}; |
| proto = Object.create(baseConstructor.prototype, properties); |
| t2 = H.makeLeafDispatchRecord(interceptor); |
| Object.defineProperty(proto, init.dispatchPropertyName, {value: t2, enumerable: false, writable: true, configurable: true}); |
| options = {prototype: proto}; |
| if (!t1) |
| options.extends = extendsTagName; |
| $document.registerElement(tag, options); |
| }, |
| _wrapZone: function(callback) { |
| if (J.$eq($.Zone__current, C.C__RootZone)) |
| return callback; |
| if (callback == null) |
| return; |
| return $.Zone__current.bindUnaryCallback$2$runGuarded(callback, true); |
| }, |
| _wrapBinaryZone: function(callback) { |
| if (J.$eq($.Zone__current, C.C__RootZone)) |
| return callback; |
| return $.Zone__current.bindBinaryCallback$2$runGuarded(callback, true); |
| }, |
| HtmlElement: { |
| "^": "Element;", |
| "%": "HTMLAppletElement|HTMLBRElement|HTMLContentElement|HTMLDListElement|HTMLDataListElement|HTMLDirectoryElement|HTMLDivElement|HTMLFontElement|HTMLFrameElement|HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLMarqueeElement|HTMLMenuElement|HTMLModElement|HTMLParagraphElement|HTMLPreElement|HTMLQuoteElement|HTMLShadowElement|HTMLSpanElement|HTMLTableCaptionElement|HTMLTableColElement|HTMLTitleElement|HTMLUListElement|HTMLUnknownElement;HTMLElement;HtmlElement_Polymer|HtmlElement_Polymer_ChangeNotifier|PolymerElement|PolymerElement_ChangeNotifier|ActionLinkElement|ObservatoryElement|ObservatoryElement_ChangeNotifier|BreakpointListElement|ObservatoryElement_ChangeNotifier0|ServiceRefElement|ClassRefElement|ObservatoryElement_ChangeNotifier1|ClassTreeElement|ObservatoryElement_ChangeNotifier2|ClassViewElement|CodeRefElement|ObservatoryElement_ChangeNotifier3|CodeViewElement|PolymerElement_ChangeNotifier0|CurlyBlockElement|ObservatoryElement_ChangeNotifier4|ErrorViewElement|ObservatoryElement_ChangeNotifier5|EvalBoxElement|PolymerElement_ChangeNotifier1|EvalLinkElement|FieldRefElement|ObservatoryElement_ChangeNotifier6|FieldViewElement|ObservatoryElement_ChangeNotifier7|FlagListElement|ObservatoryElement_ChangeNotifier8|FlagItemElement|ServiceRefElement_ChangeNotifier|FunctionRefElement|ObservatoryElement_ChangeNotifier9|FunctionViewElement|ObservatoryElement_ChangeNotifier10|HeapMapElement|ObservatoryElement_ChangeNotifier11|HeapProfileElement|InstanceRefElement|ObservatoryElement_ChangeNotifier12|InstanceViewElement|ObservatoryElement_ChangeNotifier13|IOViewElement|IORefElement|ObservatoryElement_ChangeNotifier14|IOHttpServerListViewElement|IOHttpServerRefElement|ObservatoryElement_ChangeNotifier15|IOHttpServerViewElement|ObservatoryElement_ChangeNotifier16|IOHttpServerConnectionViewElement|IOHttpServerConnectionRefElement|IOSocketRefElement|ObservatoryElement_ChangeNotifier17|IOSocketListViewElement|ObservatoryElement_ChangeNotifier18|IOSocketViewElement|IOWebSocketRefElement|ObservatoryElement_ChangeNotifier19|IOWebSocketListViewElement|ObservatoryElement_ChangeNotifier20|IOWebSocketViewElement|ObservatoryElement_ChangeNotifier21|IORandomAccessFileListViewElement|IORandomAccessFileRefElement|ObservatoryElement_ChangeNotifier22|IORandomAccessFileViewElement|ObservatoryElement_ChangeNotifier23|IOProcessListViewElement|ServiceRefElement_ChangeNotifier0|IOProcessRefElement|ObservatoryElement_ChangeNotifier24|IOProcessViewElement|ObservatoryElement_ChangeNotifier25|IsolateProfileElement|IsolateRefElement|ObservatoryElement_ChangeNotifier26|IsolateSummaryElement|ObservatoryElement_ChangeNotifier27|IsolateRunStateElement|ObservatoryElement_ChangeNotifier28|IsolateLocationElement|ObservatoryElement_ChangeNotifier29|IsolateSharedSummaryElement|ObservatoryElement_ChangeNotifier30|IsolateCounterChartElement|ObservatoryElement_ChangeNotifier31|IsolateViewElement|ObservatoryElement_ChangeNotifier32|JsonViewElement|LibraryRefElement|ObservatoryElement_ChangeNotifier33|LibraryViewElement|ObservatoryElement_ChangeNotifier34|NavBarElement|ObservatoryElement_ChangeNotifier35|NavMenuElement|ObservatoryElement_ChangeNotifier36|NavMenuItemElement|ObservatoryElement_ChangeNotifier37|NavRefreshElement|NavControlElement|ObservatoryElement_ChangeNotifier38|TopNavMenuElement|ObservatoryElement_ChangeNotifier39|IsolateNavMenuElement|ObservatoryElement_ChangeNotifier40|LibraryNavMenuElement|ObservatoryElement_ChangeNotifier41|ClassNavMenuElement|ObservatoryElement_ChangeNotifier42|ObservatoryApplicationElement|ObservatoryElement_ChangeNotifier43|ScriptInsetElement|ServiceRefElement_ChangeNotifier1|ScriptRefElement|ObservatoryElement_ChangeNotifier44|ScriptViewElement|ObservatoryElement_ChangeNotifier45|ServiceErrorViewElement|ObservatoryElement_ChangeNotifier46|ServiceExceptionViewElement|ObservatoryElement_ChangeNotifier47|ServiceObjectViewElement|PolymerElement_ChangeNotifier2|SlidingCheckboxElement|ObservatoryElement_ChangeNotifier48|StackFrameElement|ObservatoryElement_ChangeNotifier49|StackTraceElement|VMRefElement|ObservatoryElement_ChangeNotifier50|VMViewElement" |
| }, |
| _EntryArray: { |
| "^": "Interceptor;", |
| $isList: true, |
| $asList: function() { |
| return [W.Entry]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.Entry]; |
| }, |
| "%": "EntryArray" |
| }, |
| AnchorElement: { |
| "^": "HtmlElement;target=,type%,href%,protocol=", |
| toString$0: function(receiver) { |
| return receiver.toString(); |
| }, |
| "%": "HTMLAnchorElement" |
| }, |
| AreaElement: { |
| "^": "HtmlElement;target=,href%,protocol=", |
| toString$0: function(receiver) { |
| return receiver.toString(); |
| }, |
| "%": "HTMLAreaElement" |
| }, |
| BaseElement: { |
| "^": "HtmlElement;href%,target=", |
| "%": "HTMLBaseElement" |
| }, |
| Blob: { |
| "^": "Interceptor;type=", |
| $isBlob: true, |
| "%": ";Blob" |
| }, |
| BodyElement: { |
| "^": "HtmlElement;", |
| $isEventTarget: true, |
| "%": "HTMLBodyElement" |
| }, |
| ButtonElement: { |
| "^": "HtmlElement;form=,name%,type%,value%", |
| "%": "HTMLButtonElement" |
| }, |
| CanvasElement: { |
| "^": "HtmlElement;height},width}", |
| get$context2D: function(receiver) { |
| return receiver.getContext("2d"); |
| }, |
| "%": "HTMLCanvasElement" |
| }, |
| CanvasRenderingContext: { |
| "^": "Interceptor;", |
| "%": ";CanvasRenderingContext" |
| }, |
| CanvasRenderingContext2D: { |
| "^": "CanvasRenderingContext;", |
| putImageData$7: function(receiver, imagedata, dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight) { |
| var t1; |
| if (dirtyWidth != null) |
| t1 = true; |
| else |
| t1 = false; |
| if (t1) { |
| receiver.putImageData(P.convertDartToNative_ImageData(imagedata), dx, dy, dirtyX, dirtyY, dirtyWidth, dirtyHeight); |
| return; |
| } |
| throw H.wrapException(P.ArgumentError$("Incorrect number or type of arguments")); |
| }, |
| "%": "CanvasRenderingContext2D" |
| }, |
| CharacterData: { |
| "^": "Node;data=,length=,nextElementSibling=", |
| "%": "Comment;CharacterData" |
| }, |
| CloseEvent: { |
| "^": "Event;code=", |
| "%": "CloseEvent" |
| }, |
| CompositionEvent: { |
| "^": "UIEvent;data=", |
| "%": "CompositionEvent" |
| }, |
| CustomEvent: { |
| "^": "Event;_dartDetail}", |
| get$detail: function(receiver) { |
| var t1 = receiver._dartDetail; |
| if (t1 != null) |
| return t1; |
| return P.convertNativeToDart_AcceptStructuredClone(receiver.detail, true); |
| }, |
| _initCustomEvent$4: function(receiver, typeArg, canBubbleArg, cancelableArg, detailArg) { |
| return receiver.initCustomEvent(typeArg, canBubbleArg, cancelableArg, detailArg); |
| }, |
| $isCustomEvent: true, |
| "%": "CustomEvent" |
| }, |
| DetailsElement: { |
| "^": "HtmlElement;", |
| open$1: function($receiver, arg0) { |
| return $receiver.open.call$1(arg0); |
| }, |
| "%": "HTMLDetailsElement" |
| }, |
| DialogElement: { |
| "^": "HtmlElement;", |
| open$1: function($receiver, arg0) { |
| return $receiver.open.call$1(arg0); |
| }, |
| "%": "HTMLDialogElement" |
| }, |
| Document: { |
| "^": "Node;", |
| createDocumentFragment$0: function(receiver) { |
| return receiver.createDocumentFragment(); |
| }, |
| getElementById$1: function(receiver, elementId) { |
| return receiver.getElementById(elementId); |
| }, |
| importNode$2: function(receiver, node, deep) { |
| return receiver.importNode(node, deep); |
| }, |
| querySelector$1: function(receiver, selectors) { |
| return receiver.querySelector(selectors); |
| }, |
| get$onChange: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._EventStream(receiver, C.EventStreamProvider_change._eventType, false), [null]); |
| }, |
| get$onClick: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._EventStream(receiver, C.EventStreamProvider_click._eventType, false), [null]); |
| }, |
| get$onInput: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._EventStream(receiver, C.EventStreamProvider_input._eventType, false), [null]); |
| }, |
| querySelectorAll$1: function(receiver, selectors) { |
| return W._FrozenElementList$_wrap(receiver.querySelectorAll(selectors), null); |
| }, |
| $isDocument: true, |
| "%": "XMLDocument;Document" |
| }, |
| DocumentFragment: { |
| "^": "Node;", |
| get$children: function(receiver) { |
| if (receiver._docChildren == null) |
| receiver._docChildren = H.setRuntimeTypeInfo(new P.FilteredElementList(receiver, new W._ChildNodeListLazy(receiver)), [null]); |
| return receiver._docChildren; |
| }, |
| querySelectorAll$1: function(receiver, selectors) { |
| return W._FrozenElementList$_wrap(receiver.querySelectorAll(selectors), null); |
| }, |
| querySelector$1: function(receiver, selectors) { |
| return receiver.querySelector(selectors); |
| }, |
| "%": ";DocumentFragment" |
| }, |
| DomError: { |
| "^": "Interceptor;message=,name=", |
| "%": ";DOMError" |
| }, |
| DomException: { |
| "^": "Interceptor;message=", |
| get$name: function(receiver) { |
| var errorName = receiver.name; |
| if (P.Device_isWebKit() === true && errorName === "SECURITY_ERR") |
| return "SecurityError"; |
| if (P.Device_isWebKit() === true && errorName === "SYNTAX_ERR") |
| return "SyntaxError"; |
| return errorName; |
| }, |
| toString$0: function(receiver) { |
| return receiver.toString(); |
| }, |
| $isDomException: true, |
| "%": "DOMException" |
| }, |
| Element: { |
| "^": "Node;title},className%,id=,tagName=,nextElementSibling=", |
| get$attributes: function(receiver) { |
| return new W._ElementAttributeMap(receiver); |
| }, |
| get$children: function(receiver) { |
| return new W._ChildrenElementList(receiver, receiver.children); |
| }, |
| querySelectorAll$1: function(receiver, selectors) { |
| return W._FrozenElementList$_wrap(receiver.querySelectorAll(selectors), null); |
| }, |
| get$classes: function(receiver) { |
| return new W._ElementCssClassSet(receiver); |
| }, |
| get$offset: function(receiver) { |
| return P.Rectangle$(C.JSNumber_methods.toInt$0(C.JSNumber_methods.roundToDouble$0(receiver.offsetLeft)), C.JSNumber_methods.toInt$0(C.JSNumber_methods.roundToDouble$0(receiver.offsetTop)), C.JSNumber_methods.toInt$0(C.JSNumber_methods.roundToDouble$0(receiver.offsetWidth)), C.JSNumber_methods.toInt$0(C.JSNumber_methods.roundToDouble$0(receiver.offsetHeight)), null); |
| }, |
| attached$0: function(receiver) { |
| }, |
| detached$0: function(receiver) { |
| }, |
| attributeChanged$3: function(receiver, $name, oldValue, newValue) { |
| }, |
| get$localName: function(receiver) { |
| return receiver.localName; |
| }, |
| get$namespaceUri: function(receiver) { |
| return receiver.namespaceURI; |
| }, |
| toString$0: function(receiver) { |
| return receiver.localName; |
| }, |
| matches$1: function(receiver, selectors) { |
| if (!!receiver.matches) |
| return receiver.matches(selectors); |
| else if (!!receiver.webkitMatchesSelector) |
| return receiver.webkitMatchesSelector(selectors); |
| else if (!!receiver.mozMatchesSelector) |
| return receiver.mozMatchesSelector(selectors); |
| else if (!!receiver.msMatchesSelector) |
| return receiver.msMatchesSelector(selectors); |
| else if (!!receiver.oMatchesSelector) |
| return receiver.oMatchesSelector(selectors); |
| else |
| throw H.wrapException(P.UnsupportedError$("Not supported on this platform")); |
| }, |
| matchesWithAncestors$1: function(receiver, selectors) { |
| var elem = receiver; |
| do { |
| if (J.matches$1$x(elem, selectors)) |
| return true; |
| elem = elem.parentElement; |
| } while (elem != null); |
| return false; |
| }, |
| createShadowRoot$0: function(receiver) { |
| return (receiver.createShadowRoot || receiver.webkitCreateShadowRoot).call(receiver); |
| }, |
| get$on: function(receiver) { |
| return new W.ElementEvents(receiver, receiver); |
| }, |
| getAttribute$1: function(receiver, $name) { |
| return receiver.getAttribute($name); |
| }, |
| getBoundingClientRect$0: function(receiver) { |
| return receiver.getBoundingClientRect(); |
| }, |
| querySelector$1: function(receiver, selectors) { |
| return receiver.querySelector(selectors); |
| }, |
| get$onChange: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, C.EventStreamProvider_change._eventType, false), [null]); |
| }, |
| get$onClick: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, C.EventStreamProvider_click._eventType, false), [null]); |
| }, |
| get$onInput: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, C.EventStreamProvider_input._eventType, false), [null]); |
| }, |
| get$onMouseDown: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, C.EventStreamProvider_mousedown._eventType, false), [null]); |
| }, |
| get$onMouseMove: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, C.EventStreamProvider_mousemove._eventType, false), [null]); |
| }, |
| Element$created$0: function(receiver) { |
| }, |
| $isElement: true, |
| $isEventTarget: true, |
| "%": ";Element" |
| }, |
| EmbedElement: { |
| "^": "HtmlElement;height},name%,type%,width}", |
| "%": "HTMLEmbedElement" |
| }, |
| ErrorEvent: { |
| "^": "Event;error=,message=", |
| "%": "ErrorEvent" |
| }, |
| Event: { |
| "^": "Interceptor;_selector},path=,type=", |
| get$currentTarget: function(receiver) { |
| return W._convertNativeToDart_EventTarget(receiver.currentTarget); |
| }, |
| get$target: function(receiver) { |
| return W._convertNativeToDart_EventTarget(receiver.target); |
| }, |
| preventDefault$0: function(receiver) { |
| return receiver.preventDefault(); |
| }, |
| $isEvent: true, |
| "%": "AudioProcessingEvent|AutocompleteErrorEvent|BeforeLoadEvent|BeforeUnloadEvent|CSSFontFaceLoadEvent|DeviceMotionEvent|DeviceOrientationEvent|HashChangeEvent|IDBVersionChangeEvent|InstallEvent|InstallPhaseEvent|MIDIConnectionEvent|MediaKeyNeededEvent|MediaStreamEvent|MediaStreamTrackEvent|MutationEvent|OfflineAudioCompletionEvent|OverflowEvent|PageTransitionEvent|RTCDTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|SpeechInputEvent|TrackEvent|TransitionEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent;Event" |
| }, |
| EventTarget: { |
| "^": "Interceptor;", |
| get$on: function(receiver) { |
| return new W.Events(receiver); |
| }, |
| addEventListener$3: function(receiver, type, listener, useCapture) { |
| return receiver.addEventListener(type, H.convertDartClosureToJS(listener, 1), useCapture); |
| }, |
| addEventListener$2: function($receiver, type, listener) { |
| listener = H.convertDartClosureToJS(listener, 1); |
| return $receiver.addEventListener(type, listener); |
| }, |
| dispatchEvent$1: function(receiver, $event) { |
| return receiver.dispatchEvent($event); |
| }, |
| removeEventListener$3: function(receiver, type, listener, useCapture) { |
| return receiver.removeEventListener(type, H.convertDartClosureToJS(listener, 1), useCapture); |
| }, |
| $isEventTarget: true, |
| "%": ";EventTarget" |
| }, |
| FieldSetElement: { |
| "^": "HtmlElement;form=,name%,type=", |
| "%": "HTMLFieldSetElement" |
| }, |
| File: { |
| "^": "Blob;name=", |
| $isFile: true, |
| "%": "File" |
| }, |
| FileError: { |
| "^": "DomError;code=", |
| "%": "FileError" |
| }, |
| FormElement: { |
| "^": "HtmlElement;length=,name%,target=", |
| "%": "HTMLFormElement" |
| }, |
| History: { |
| "^": "Interceptor;length=", |
| "%": "History" |
| }, |
| HtmlCollection: { |
| "^": "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.")); |
| }, |
| set$length: function(receiver, value) { |
| throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); |
| }, |
| get$last: function(receiver) { |
| var len = receiver.length; |
| if (len > 0) |
| return receiver[len - 1]; |
| throw H.wrapException(P.StateError$("No elements")); |
| }, |
| elementAt$1: function(receiver, index) { |
| if (index >>> 0 !== index || index >= receiver.length) |
| return H.ioore(receiver, index); |
| return receiver[index]; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [W.Node]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.Node]; |
| }, |
| $isJavaScriptIndexingBehavior: true, |
| "%": "HTMLCollection|HTMLFormControlsCollection|HTMLOptionsCollection" |
| }, |
| HtmlDocument: { |
| "^": "Document;", |
| get$head: function(receiver) { |
| return receiver.head; |
| }, |
| set$title: function(receiver, value) { |
| receiver.title = value; |
| }, |
| "%": "HTMLDocument" |
| }, |
| HttpRequest: { |
| "^": "HttpRequestEventTarget;responseText=,status=,statusText=", |
| get$response: function(receiver) { |
| return W._convertNativeToDart_XHR_Response(receiver.response); |
| }, |
| open$5$async$password$user: function(receiver, method, url, async, password, user) { |
| return receiver.open(method, url, async, user, password); |
| }, |
| open$3$async: function($receiver, method, url, async) { |
| return $receiver.open(method, url, async); |
| }, |
| send$1: function(receiver, data) { |
| return receiver.send(data); |
| }, |
| $isHttpRequest: true, |
| "%": "XMLHttpRequest" |
| }, |
| HttpRequestEventTarget: { |
| "^": "EventTarget;", |
| "%": ";XMLHttpRequestEventTarget" |
| }, |
| IFrameElement: { |
| "^": "HtmlElement;height},name%,width}", |
| "%": "HTMLIFrameElement" |
| }, |
| ImageData: { |
| "^": "Interceptor;data=,height=,width=", |
| $isImageData: true, |
| "%": "ImageData" |
| }, |
| ImageElement: { |
| "^": "HtmlElement;height},width}", |
| complete$1: function($receiver, arg0) { |
| return $receiver.complete.call$1(arg0); |
| }, |
| "%": "HTMLImageElement" |
| }, |
| InputElement: { |
| "^": "HtmlElement;checked%,form=,height},list=,name%,type%,value%,width}", |
| accept$1: function($receiver, arg0) { |
| return $receiver.accept.call$1(arg0); |
| }, |
| $isInputElement: true, |
| $isElement: true, |
| $isEventTarget: true, |
| $isNode: true, |
| "%": "HTMLInputElement" |
| }, |
| KeyboardEvent: { |
| "^": "UIEvent;altKey=,ctrlKey=,metaKey=,shiftKey=", |
| "%": "KeyboardEvent" |
| }, |
| KeygenElement: { |
| "^": "HtmlElement;form=,name%,type=", |
| "%": "HTMLKeygenElement" |
| }, |
| LIElement: { |
| "^": "HtmlElement;value%", |
| "%": "HTMLLIElement" |
| }, |
| LabelElement: { |
| "^": "HtmlElement;form=", |
| "%": "HTMLLabelElement" |
| }, |
| LegendElement: { |
| "^": "HtmlElement;form=", |
| "%": "HTMLLegendElement" |
| }, |
| LinkElement: { |
| "^": "HtmlElement;href%,type%", |
| "%": "HTMLLinkElement" |
| }, |
| Location: { |
| "^": "Interceptor;href=,protocol=", |
| reload$0: function(receiver) { |
| return receiver.reload(); |
| }, |
| toString$0: function(receiver) { |
| return receiver.toString(); |
| }, |
| "%": "Location" |
| }, |
| MapElement: { |
| "^": "HtmlElement;name%", |
| "%": "HTMLMapElement" |
| }, |
| MediaElement: { |
| "^": "HtmlElement;error=", |
| load$0: function(receiver) { |
| return receiver.load(); |
| }, |
| pause$0: [function(receiver) { |
| return receiver.pause(); |
| }, "call$0", "get$pause", 0, 0, 18], |
| "%": "HTMLAudioElement;HTMLMediaElement", |
| static: {"^": "MediaElement_pauseEvent<"} |
| }, |
| MediaError: { |
| "^": "Interceptor;code=", |
| "%": "MediaError" |
| }, |
| MediaKeyError: { |
| "^": "Interceptor;code=", |
| "%": "MediaKeyError" |
| }, |
| MediaKeyEvent: { |
| "^": "Event;message=", |
| "%": "MediaKeyEvent" |
| }, |
| MediaKeyMessageEvent: { |
| "^": "Event;message=", |
| "%": "MediaKeyMessageEvent" |
| }, |
| MediaStream: { |
| "^": "EventTarget;id=,label=", |
| "%": "MediaStream" |
| }, |
| MessageEvent: { |
| "^": "Event;", |
| get$data: function(receiver) { |
| return P.convertNativeToDart_AcceptStructuredClone(receiver.data, true); |
| }, |
| $isMessageEvent: true, |
| "%": "MessageEvent" |
| }, |
| MetaElement: { |
| "^": "HtmlElement;content=,name%", |
| "%": "HTMLMetaElement" |
| }, |
| MeterElement: { |
| "^": "HtmlElement;value%", |
| "%": "HTMLMeterElement" |
| }, |
| MidiMessageEvent: { |
| "^": "Event;data=", |
| "%": "MIDIMessageEvent" |
| }, |
| MidiOutput: { |
| "^": "MidiPort;", |
| send$2: function(receiver, data, timestamp) { |
| return receiver.send(data, timestamp); |
| }, |
| send$1: function($receiver, data) { |
| return $receiver.send(data); |
| }, |
| "%": "MIDIOutput" |
| }, |
| MidiPort: { |
| "^": "EventTarget;id=,name=,type=,version=", |
| "%": "MIDIInput;MIDIPort" |
| }, |
| MouseEvent: { |
| "^": "UIEvent;altKey=,button=,ctrlKey=,metaKey=,shiftKey=", |
| _initMouseEvent$15: function(receiver, type, canBubble, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, relatedTarget) { |
| receiver.initMouseEvent(type, canBubble, cancelable, view, detail, screenX, screenY, clientX, clientY, ctrlKey, altKey, shiftKey, metaKey, button, W._convertDartToNative_EventTarget(relatedTarget)); |
| return; |
| }, |
| get$offset: function(receiver) { |
| var target, point; |
| if (!!receiver.offsetX) |
| return H.setRuntimeTypeInfo(new P.Point(receiver.offsetX, receiver.offsetY), [null]); |
| else { |
| if (!J.getInterceptor(W._convertNativeToDart_EventTarget(receiver.target)).$isElement) |
| throw H.wrapException(P.UnsupportedError$("offsetX is only supported on elements")); |
| target = W._convertNativeToDart_EventTarget(receiver.target); |
| point = H.setRuntimeTypeInfo(new P.Point(receiver.clientX, receiver.clientY), [null]).$sub(0, J.get$topLeft$x(J.getBoundingClientRect$0$x(target))); |
| return H.setRuntimeTypeInfo(new P.Point(J.toInt$0$n(point.x), J.toInt$0$n(point.y)), [null]); |
| } |
| }, |
| $isMouseEvent: true, |
| "%": "DragEvent|MSPointerEvent|MouseEvent|MouseScrollEvent|MouseWheelEvent|PointerEvent|WheelEvent" |
| }, |
| MutationObserver: { |
| "^": "Interceptor;", |
| observe$8$attributeFilter$attributeOldValue$attributes$characterData$characterDataOldValue$childList$subtree: function(receiver, target, attributeFilter, attributeOldValue, attributes, characterData, characterDataOldValue, childList, subtree) { |
| var parsedOptions, t1; |
| parsedOptions = {}; |
| t1 = new W.MutationObserver_observe_override(parsedOptions); |
| t1.call$2("childList", childList); |
| t1.call$2("attributes", attributes); |
| t1.call$2("characterData", characterData); |
| t1.call$2("subtree", subtree); |
| t1.call$2("attributeOldValue", attributeOldValue); |
| t1.call$2("characterDataOldValue", characterDataOldValue); |
| t1.call$2("attributeFilter", attributeFilter); |
| receiver.observe(target, parsedOptions); |
| }, |
| observe$3$attributeFilter$attributes: function($receiver, target, attributeFilter, attributes) { |
| return this.observe$8$attributeFilter$attributeOldValue$attributes$characterData$characterDataOldValue$childList$subtree($receiver, target, attributeFilter, null, attributes, null, null, null, null); |
| }, |
| "%": "MutationObserver|WebKitMutationObserver" |
| }, |
| MutationRecord: { |
| "^": "Interceptor;target=,type=", |
| "%": "MutationRecord" |
| }, |
| NavigatorUserMediaError: { |
| "^": "Interceptor;message=,name=", |
| "%": "NavigatorUserMediaError" |
| }, |
| Node: { |
| "^": "EventTarget;firstChild=,nextNode:nextSibling=,ownerDocument=,parent:parentElement=,parentNode=,text:textContent%", |
| get$nodes: function(receiver) { |
| return new W._ChildNodeListLazy(receiver); |
| }, |
| remove$0: function(receiver) { |
| var t1 = receiver.parentNode; |
| if (t1 != null) |
| t1.removeChild(receiver); |
| }, |
| replaceWith$1: function(receiver, otherNode) { |
| var $parent, exception; |
| try { |
| $parent = receiver.parentNode; |
| J._replaceChild$2$x($parent, otherNode, receiver); |
| } catch (exception) { |
| H.unwrapException(exception); |
| } |
| |
| return receiver; |
| }, |
| insertAllBefore$2: function(receiver, newNodes, refChild) { |
| var t1, len, i; |
| t1 = J.getInterceptor(newNodes); |
| if (!!t1.$is_ChildNodeListLazy) { |
| t1 = newNodes._this; |
| if (t1 === receiver) |
| throw H.wrapException(P.ArgumentError$(newNodes)); |
| for (len = t1.childNodes.length, i = 0; i < len; ++i) |
| receiver.insertBefore(t1.firstChild, refChild); |
| } else |
| for (t1 = t1.get$iterator(newNodes); t1.moveNext$0();) |
| receiver.insertBefore(t1.get$current(), refChild); |
| }, |
| _clearChildren$0: function(receiver) { |
| var t1; |
| for (; t1 = receiver.firstChild, t1 != null;) |
| receiver.removeChild(t1); |
| }, |
| toString$0: function(receiver) { |
| var t1 = receiver.nodeValue; |
| return t1 == null ? J.Interceptor.prototype.toString$0.call(this, receiver) : t1; |
| }, |
| append$1: function(receiver, newChild) { |
| return receiver.appendChild(newChild); |
| }, |
| contains$1: function(receiver, other) { |
| return receiver.contains(other); |
| }, |
| insertBefore$2: function(receiver, newChild, refChild) { |
| return receiver.insertBefore(newChild, refChild); |
| }, |
| _replaceChild$2: function(receiver, newChild, oldChild) { |
| return receiver.replaceChild(newChild, oldChild); |
| }, |
| $isNode: true, |
| "%": "DocumentType|Notation;Node" |
| }, |
| NodeList: { |
| "^": "Interceptor_ListMixin_ImmutableListMixin0;", |
| 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.")); |
| }, |
| set$length: function(receiver, value) { |
| throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); |
| }, |
| get$last: function(receiver) { |
| var len = receiver.length; |
| if (len > 0) |
| return receiver[len - 1]; |
| throw H.wrapException(P.StateError$("No elements")); |
| }, |
| elementAt$1: function(receiver, index) { |
| if (index >>> 0 !== index || index >= receiver.length) |
| return H.ioore(receiver, index); |
| return receiver[index]; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [W.Node]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.Node]; |
| }, |
| $isJavaScriptIndexingBehavior: true, |
| "%": "NodeList|RadioNodeList" |
| }, |
| OListElement: { |
| "^": "HtmlElement;type%", |
| "%": "HTMLOListElement" |
| }, |
| ObjectElement: { |
| "^": "HtmlElement;data=,form=,height},name%,type%,width}", |
| "%": "HTMLObjectElement" |
| }, |
| OptGroupElement: { |
| "^": "HtmlElement;label%", |
| "%": "HTMLOptGroupElement" |
| }, |
| OptionElement: { |
| "^": "HtmlElement;form=,index=,label%,value%", |
| $isOptionElement: true, |
| "%": "HTMLOptionElement" |
| }, |
| OutputElement: { |
| "^": "HtmlElement;form=,name%,type=,value%", |
| "%": "HTMLOutputElement" |
| }, |
| ParamElement: { |
| "^": "HtmlElement;name%,value%", |
| "%": "HTMLParamElement" |
| }, |
| PopStateEvent: { |
| "^": "Event;", |
| $isPopStateEvent: true, |
| "%": "PopStateEvent" |
| }, |
| PositionError: { |
| "^": "Interceptor;code=,message=", |
| "%": "PositionError" |
| }, |
| ProcessingInstruction: { |
| "^": "CharacterData;target=", |
| "%": "ProcessingInstruction" |
| }, |
| ProgressElement: { |
| "^": "HtmlElement;value%", |
| "%": "HTMLProgressElement" |
| }, |
| ProgressEvent: { |
| "^": "Event;loaded=", |
| $isProgressEvent: true, |
| "%": "XMLHttpRequestProgressEvent;ProgressEvent" |
| }, |
| ResourceProgressEvent: { |
| "^": "ProgressEvent;url=", |
| "%": "ResourceProgressEvent" |
| }, |
| ScriptElement: { |
| "^": "HtmlElement;type%", |
| "%": "HTMLScriptElement" |
| }, |
| SecurityPolicyViolationEvent: { |
| "^": "Event;lineNumber=", |
| "%": "SecurityPolicyViolationEvent" |
| }, |
| SelectElement: { |
| "^": "HtmlElement;form=,length%,name%,selectedIndex%,type=,value%", |
| $isSelectElement: true, |
| "%": "HTMLSelectElement" |
| }, |
| ShadowRoot: { |
| "^": "DocumentFragment;", |
| getElementById$1: function(receiver, elementId) { |
| return receiver.getElementById(elementId); |
| }, |
| $isShadowRoot: true, |
| "%": "ShadowRoot" |
| }, |
| SourceElement: { |
| "^": "HtmlElement;type%", |
| "%": "HTMLSourceElement" |
| }, |
| SpeechRecognitionError: { |
| "^": "Event;error=,message=", |
| "%": "SpeechRecognitionError" |
| }, |
| SpeechRecognitionEvent: { |
| "^": "Event;results=", |
| "%": "SpeechRecognitionEvent" |
| }, |
| SpeechRecognitionResult: { |
| "^": "Interceptor;isFinal=,length=", |
| "%": "SpeechRecognitionResult" |
| }, |
| SpeechSynthesisEvent: { |
| "^": "Event;name=", |
| "%": "SpeechSynthesisEvent" |
| }, |
| StorageEvent: { |
| "^": "Event;key=,url=", |
| "%": "StorageEvent" |
| }, |
| StyleElement: { |
| "^": "HtmlElement;type%", |
| "%": "HTMLStyleElement" |
| }, |
| TableCellElement: { |
| "^": "HtmlElement;", |
| $isTableCellElement: true, |
| "%": "HTMLTableCellElement|HTMLTableDataCellElement|HTMLTableHeaderCellElement" |
| }, |
| TableElement: { |
| "^": "HtmlElement;", |
| get$rows: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._WrappedList(receiver.rows), [W.TableRowElement]); |
| }, |
| "%": "HTMLTableElement" |
| }, |
| TableRowElement: { |
| "^": "HtmlElement;rowIndex=", |
| insertCell$1: function(receiver, index) { |
| return receiver.insertCell(index); |
| }, |
| $isTableRowElement: true, |
| "%": "HTMLTableRowElement" |
| }, |
| TableSectionElement: { |
| "^": "HtmlElement;", |
| get$rows: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._WrappedList(receiver.rows), [W.TableRowElement]); |
| }, |
| "%": "HTMLTableSectionElement" |
| }, |
| TemplateElement: { |
| "^": "HtmlElement;content=", |
| $isTemplateElement: true, |
| "%": ";HTMLTemplateElement;TemplateElement_Polymer|TemplateElement_Polymer_Observable|AutoBindingElement" |
| }, |
| Text: { |
| "^": "CharacterData;", |
| $isText: true, |
| "%": "CDATASection|Text" |
| }, |
| TextAreaElement: { |
| "^": "HtmlElement;form=,name%,rows=,type=,value%", |
| $isTextAreaElement: true, |
| "%": "HTMLTextAreaElement" |
| }, |
| TextEvent: { |
| "^": "UIEvent;data=", |
| "%": "TextEvent" |
| }, |
| TouchEvent: { |
| "^": "UIEvent;altKey=,ctrlKey=,metaKey=,shiftKey=", |
| "%": "TouchEvent" |
| }, |
| TrackElement: { |
| "^": "HtmlElement;kind%,label%", |
| "%": "HTMLTrackElement" |
| }, |
| UIEvent: { |
| "^": "Event;detail=", |
| "%": "FocusEvent|SVGZoomEvent;UIEvent" |
| }, |
| VideoElement: { |
| "^": "MediaElement;height},width}", |
| "%": "HTMLVideoElement" |
| }, |
| Window: { |
| "^": "EventTarget;name%,status%", |
| _requestAnimationFrame$1: function(receiver, callback) { |
| return receiver.requestAnimationFrame(H.convertDartClosureToJS(callback, 1)); |
| }, |
| _ensureRequestAnimationFrame$0: function(receiver) { |
| if (!!(receiver.requestAnimationFrame && receiver.cancelAnimationFrame)) |
| return; |
| (function($this) { |
| var vendors = ['ms', 'moz', 'webkit', 'o']; |
| for (var i = 0; i < vendors.length && !$this.requestAnimationFrame; ++i) { |
| $this.requestAnimationFrame = $this[vendors[i] + 'RequestAnimationFrame']; |
| $this.cancelAnimationFrame = $this[vendors[i] + 'CancelAnimationFrame'] || $this[vendors[i] + 'CancelRequestAnimationFrame']; |
| } |
| if ($this.requestAnimationFrame && $this.cancelAnimationFrame) |
| return; |
| $this.requestAnimationFrame = function(callback) { |
| return window.setTimeout(function() { |
| callback(Date.now()); |
| }, 16); |
| }; |
| $this.cancelAnimationFrame = function(id) { |
| clearTimeout(id); |
| }; |
| })(receiver); |
| }, |
| get$parent: function(receiver) { |
| return W._convertNativeToDart_Window(receiver.parent); |
| }, |
| close$0: function(receiver) { |
| return receiver.close(); |
| }, |
| postMessage$3: function(receiver, message, targetOrigin, messagePorts) { |
| receiver.postMessage(P._convertDartToNative_PrepareForStructuredClone(message), targetOrigin); |
| return; |
| }, |
| postMessage$2: function($receiver, message, targetOrigin) { |
| return this.postMessage$3($receiver, message, targetOrigin, null); |
| }, |
| toString$0: function(receiver) { |
| return receiver.toString(); |
| }, |
| get$onChange: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._EventStream(receiver, C.EventStreamProvider_change._eventType, false), [null]); |
| }, |
| get$onInput: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._EventStream(receiver, C.EventStreamProvider_input._eventType, false), [null]); |
| }, |
| $isWindow: true, |
| $isEventTarget: true, |
| "%": "DOMWindow|Window" |
| }, |
| _Attr: { |
| "^": "Node;name=,value%", |
| "%": "Attr" |
| }, |
| _ClientRect: { |
| "^": "Interceptor;bottom=,height=,left=,right=,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(other); |
| if (!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, hash; |
| t1 = J.get$hashCode$(receiver.left); |
| t2 = J.get$hashCode$(receiver.top); |
| t3 = J.get$hashCode$(receiver.width); |
| t4 = J.get$hashCode$(receiver.height); |
| t4 = W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(W._JenkinsSmiHash_combine(0, t1), t2), t3), t4); |
| hash = 536870911 & t4 + ((67108863 & t4) << 3 >>> 0); |
| hash ^= hash >>> 11; |
| return 536870911 & hash + ((16383 & hash) << 15 >>> 0); |
| }, |
| get$topLeft: function(receiver) { |
| return H.setRuntimeTypeInfo(new P.Point(receiver.left, receiver.top), [null]); |
| }, |
| $isRectangle: true, |
| $asRectangle: function() { |
| return [null]; |
| }, |
| "%": "ClientRect|DOMRect" |
| }, |
| _HTMLFrameSetElement: { |
| "^": "HtmlElement;", |
| $isEventTarget: true, |
| "%": "HTMLFrameSetElement" |
| }, |
| _NamedNodeMap: { |
| "^": "Interceptor_ListMixin_ImmutableListMixin1;", |
| 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.")); |
| }, |
| set$length: function(receiver, value) { |
| throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); |
| }, |
| get$last: function(receiver) { |
| var len = receiver.length; |
| if (len > 0) |
| return receiver[len - 1]; |
| throw H.wrapException(P.StateError$("No elements")); |
| }, |
| elementAt$1: function(receiver, index) { |
| if (index >>> 0 !== index || index >= receiver.length) |
| return H.ioore(receiver, index); |
| return receiver[index]; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [W.Node]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.Node]; |
| }, |
| $isJavaScriptIndexingBehavior: true, |
| "%": "MozNamedAttrMap|NamedNodeMap" |
| }, |
| _SpeechRecognitionResultList: { |
| "^": "Interceptor_ListMixin_ImmutableListMixin2;", |
| 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.")); |
| }, |
| set$length: function(receiver, value) { |
| throw H.wrapException(P.UnsupportedError$("Cannot resize immutable List.")); |
| }, |
| get$last: function(receiver) { |
| var len = receiver.length; |
| if (len > 0) |
| return receiver[len - 1]; |
| throw H.wrapException(P.StateError$("No elements")); |
| }, |
| elementAt$1: function(receiver, index) { |
| if (index >>> 0 !== index || index >= receiver.length) |
| return H.ioore(receiver, index); |
| return receiver[index]; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [W.SpeechRecognitionResult]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.SpeechRecognitionResult]; |
| }, |
| $isJavaScriptIndexingBehavior: true, |
| "%": "SpeechRecognitionResultList" |
| }, |
| _ChildrenElementList: { |
| "^": "ListBase;_html$_element,_childElements", |
| contains$1: function(_, element) { |
| return J.contains$1$asx(this._childElements, element); |
| }, |
| get$isEmpty: function(_) { |
| return this._html$_element.firstElementChild == null; |
| }, |
| get$length: function(_) { |
| return this._childElements.length; |
| }, |
| $index: function(_, index) { |
| var t1 = this._childElements; |
| if (index >>> 0 !== index || index >= t1.length) |
| return H.ioore(t1, index); |
| return t1[index]; |
| }, |
| $indexSet: function(_, index, value) { |
| var t1 = this._childElements; |
| if (index >>> 0 !== index || index >= t1.length) |
| return H.ioore(t1, index); |
| this._html$_element.replaceChild(value, t1[index]); |
| }, |
| set$length: function(_, newLength) { |
| throw H.wrapException(P.UnsupportedError$("Cannot resize element lists")); |
| }, |
| add$1: function(_, value) { |
| this._html$_element.appendChild(value); |
| return value; |
| }, |
| get$iterator: function(_) { |
| var t1 = this.toList$0(this); |
| return H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); |
| }, |
| addAll$1: function(_, iterable) { |
| var t1, t2; |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(iterable, iterable.length, 0, null), [H.getTypeArgumentByIndex(iterable, 0)]), t2 = this._html$_element; t1.moveNext$0();) |
| t2.appendChild(t1._current); |
| }, |
| sort$1: function(_, compare) { |
| throw H.wrapException(P.UnsupportedError$("Cannot sort element lists")); |
| }, |
| sort$0: function($receiver) { |
| return this.sort$1($receiver, null); |
| }, |
| setRange$4: function(_, start, end, iterable, skipCount) { |
| throw H.wrapException(P.UnimplementedError$(null)); |
| }, |
| setRange$3: function($receiver, start, end, iterable) { |
| return this.setRange$4($receiver, start, end, iterable, 0); |
| }, |
| insert$2: function(_, index, element) { |
| var t1, t2, t3; |
| if (index > this._childElements.length) |
| throw H.wrapException(P.RangeError$range(index, 0, this.get$length(this))); |
| t1 = this._childElements; |
| t2 = t1.length; |
| t3 = this._html$_element; |
| if (index === t2) |
| t3.appendChild(element); |
| else { |
| if (index >= t2) |
| return H.ioore(t1, index); |
| t3.insertBefore(element, t1[index]); |
| } |
| }, |
| setAll$2: function(_, index, iterable) { |
| throw H.wrapException(P.UnimplementedError$(null)); |
| }, |
| clear$0: function(_) { |
| J._clearChildren$0$x(this._html$_element); |
| }, |
| removeLast$0: function(_) { |
| var result = this.get$last(this); |
| if (result != null) |
| this._html$_element.removeChild(result); |
| return result; |
| }, |
| get$last: function(_) { |
| var result = this._html$_element.lastElementChild; |
| if (result == null) |
| throw H.wrapException(P.StateError$("No elements")); |
| return result; |
| }, |
| $asListBase: function() { |
| return [W.Element]; |
| }, |
| $asObject_ListMixin: function() { |
| return [W.Element]; |
| }, |
| $asList: function() { |
| return [W.Element]; |
| }, |
| $asIterable: function() { |
| return [W.Element]; |
| } |
| }, |
| _FrozenElementList: { |
| "^": "ListBase;_nodeList,_elementList", |
| get$length: function(_) { |
| return this._nodeList.length; |
| }, |
| $index: function(_, index) { |
| var t1 = this._nodeList; |
| if (index >>> 0 !== index || index >= t1.length) |
| return H.ioore(t1, index); |
| return t1[index]; |
| }, |
| $indexSet: function(_, index, value) { |
| throw H.wrapException(P.UnsupportedError$("Cannot modify list")); |
| }, |
| set$length: function(_, newLength) { |
| throw H.wrapException(P.UnsupportedError$("Cannot modify list")); |
| }, |
| sort$1: function(_, compare) { |
| throw H.wrapException(P.UnsupportedError$("Cannot sort list")); |
| }, |
| sort$0: function($receiver) { |
| return this.sort$1($receiver, null); |
| }, |
| get$last: function(_) { |
| return C.NodeList_methods.get$last(this._nodeList); |
| }, |
| get$classes: function(_) { |
| return W._MultiElementCssClassSet$(this._elementList); |
| }, |
| get$onChange: function(_) { |
| return H.setRuntimeTypeInfo(new W._ElementListEventStreamImpl(this, false, C.EventStreamProvider_change._eventType), [null]); |
| }, |
| get$onInput: function(_) { |
| return H.setRuntimeTypeInfo(new W._ElementListEventStreamImpl(this, false, C.EventStreamProvider_input._eventType), [null]); |
| }, |
| _html$_FrozenElementList$_wrap$1: function(_nodeList, $T) { |
| var t1 = C.NodeList_methods.where$1(this._nodeList, new W._FrozenElementList$_wrap_closure()); |
| this._elementList = P.List_List$from(t1, true, H.getRuntimeTypeArgument(t1, "IterableBase", 0)); |
| }, |
| $isList: true, |
| $asList: null, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null, |
| static: {_FrozenElementList$_wrap: function(_nodeList, $T) { |
| var t1 = H.setRuntimeTypeInfo(new W._FrozenElementList(_nodeList, null), [$T]); |
| t1._html$_FrozenElementList$_wrap$1(_nodeList, $T); |
| return t1; |
| }} |
| }, |
| _FrozenElementList$_wrap_closure: { |
| "^": "Closure:13;", |
| call$1: function(e) { |
| return !!J.getInterceptor(e).$isElement; |
| }, |
| $isFunction: true |
| }, |
| Entry: { |
| "^": "Interceptor;" |
| }, |
| Events: { |
| "^": "Object;_ptr<", |
| $index: function(_, type) { |
| return H.setRuntimeTypeInfo(new W._EventStream(this.get$_ptr(), type, false), [null]); |
| } |
| }, |
| ElementEvents: { |
| "^": "Events;_ptr:html$ElementEvents$_ptr<,_ptr", |
| $index: function(_, type) { |
| var t1, t2; |
| t1 = $.get$ElementEvents_webkitEvents(); |
| t2 = J.getInterceptor$s(type); |
| if (t1.get$keys()._map.containsKey$1(t2.toLowerCase$0(type))) |
| if (P.Device_isWebKit() === true) |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(this.html$ElementEvents$_ptr, t1.$index(0, t2.toLowerCase$0(type)), false), [null]); |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(this.html$ElementEvents$_ptr, type, false), [null]); |
| }, |
| static: {"^": "ElementEvents_webkitEvents"} |
| }, |
| Interceptor_ListMixin: { |
| "^": "Interceptor+ListMixin;", |
| $isList: true, |
| $asList: function() { |
| return [W.Node]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.Node]; |
| } |
| }, |
| Interceptor_ListMixin_ImmutableListMixin: { |
| "^": "Interceptor_ListMixin+ImmutableListMixin;", |
| $isList: true, |
| $asList: function() { |
| return [W.Node]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.Node]; |
| } |
| }, |
| HttpRequest_request_closure: { |
| "^": "Closure:75;xhr_0", |
| call$2: function(header, value) { |
| this.xhr_0.setRequestHeader(header, value); |
| }, |
| $isFunction: true |
| }, |
| HttpRequest_request_closure0: { |
| "^": "Closure:13;completer_1,xhr_2", |
| call$1: [function(e) { |
| var t1, t2, t3; |
| t1 = this.xhr_2; |
| t2 = t1.status; |
| if (typeof t2 !== "number") |
| return t2.$ge(); |
| t2 = t2 >= 200 && t2 < 300 || t2 === 0 || t2 === 304; |
| t3 = this.completer_1; |
| if (t2) { |
| t2 = t3.future; |
| if (t2._state !== 0) |
| H.throwExpression(P.StateError$("Future already completed")); |
| t2._asyncComplete$1(t1); |
| } else |
| t3.completeError$1(e); |
| }, "call$1", null, 2, 0, null, 1, "call"], |
| $isFunction: true |
| }, |
| MutationObserver_observe_override: { |
| "^": "Closure:75;parsedOptions_0", |
| call$2: function(key, value) { |
| if (value != null) |
| this.parsedOptions_0[key] = value; |
| }, |
| $isFunction: true |
| }, |
| _ChildNodeListLazy: { |
| "^": "ListBase;_this", |
| get$last: function(_) { |
| var result = this._this.lastChild; |
| if (result == null) |
| throw H.wrapException(P.StateError$("No elements")); |
| return result; |
| }, |
| add$1: function(_, value) { |
| this._this.appendChild(value); |
| }, |
| addAll$1: function(_, iterable) { |
| var t1, t2; |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(iterable, iterable.length, 0, null), [H.getTypeArgumentByIndex(iterable, 0)]), t2 = this._this; t1.moveNext$0();) |
| t2.appendChild(t1._current); |
| }, |
| insert$2: function(_, index, node) { |
| var t1, t2, t3; |
| if (index > this._this.childNodes.length) |
| throw H.wrapException(P.RangeError$range(index, 0, this.get$length(this))); |
| t1 = this._this; |
| t2 = t1.childNodes; |
| t3 = t2.length; |
| if (index === t3) |
| t1.appendChild(node); |
| else { |
| if (index >= t3) |
| return H.ioore(t2, index); |
| t1.insertBefore(node, t2[index]); |
| } |
| }, |
| insertAll$2: function(_, index, iterable) { |
| var t1, t2; |
| t1 = this._this; |
| t2 = t1.childNodes; |
| if (index < 0 || index >= t2.length) |
| return H.ioore(t2, index); |
| J.insertAllBefore$2$x(t1, iterable, t2[index]); |
| }, |
| setAll$2: function(_, index, iterable) { |
| throw H.wrapException(P.UnsupportedError$("Cannot setAll on Node list")); |
| }, |
| clear$0: function(_) { |
| J._clearChildren$0$x(this._this); |
| }, |
| $indexSet: function(_, index, value) { |
| var t1, t2; |
| t1 = this._this; |
| t2 = t1.childNodes; |
| if (index >>> 0 !== index || index >= t2.length) |
| return H.ioore(t2, index); |
| t1.replaceChild(value, t2[index]); |
| }, |
| get$iterator: function(_) { |
| return C.NodeList_methods.get$iterator(this._this.childNodes); |
| }, |
| sort$1: function(_, compare) { |
| throw H.wrapException(P.UnsupportedError$("Cannot sort Node list")); |
| }, |
| sort$0: function($receiver) { |
| return this.sort$1($receiver, null); |
| }, |
| setRange$4: function(_, start, end, iterable, skipCount) { |
| throw H.wrapException(P.UnsupportedError$("Cannot setRange on Node list")); |
| }, |
| setRange$3: function($receiver, start, end, iterable) { |
| return this.setRange$4($receiver, start, end, iterable, 0); |
| }, |
| get$length: function(_) { |
| return this._this.childNodes.length; |
| }, |
| set$length: function(_, value) { |
| throw H.wrapException(P.UnsupportedError$("Cannot set length on immutable List.")); |
| }, |
| $index: function(_, index) { |
| var t1 = this._this.childNodes; |
| if (index >>> 0 !== index || index >= t1.length) |
| return H.ioore(t1, index); |
| return t1[index]; |
| }, |
| $is_ChildNodeListLazy: true, |
| $asListBase: function() { |
| return [W.Node]; |
| }, |
| $asObject_ListMixin: function() { |
| return [W.Node]; |
| }, |
| $asList: function() { |
| return [W.Node]; |
| }, |
| $asIterable: function() { |
| return [W.Node]; |
| } |
| }, |
| Interceptor_ListMixin0: { |
| "^": "Interceptor+ListMixin;", |
| $isList: true, |
| $asList: function() { |
| return [W.Node]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.Node]; |
| } |
| }, |
| Interceptor_ListMixin_ImmutableListMixin0: { |
| "^": "Interceptor_ListMixin0+ImmutableListMixin;", |
| $isList: true, |
| $asList: function() { |
| return [W.Node]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.Node]; |
| } |
| }, |
| Interceptor_ListMixin1: { |
| "^": "Interceptor+ListMixin;", |
| $isList: true, |
| $asList: function() { |
| return [W.Node]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.Node]; |
| } |
| }, |
| Interceptor_ListMixin_ImmutableListMixin1: { |
| "^": "Interceptor_ListMixin1+ImmutableListMixin;", |
| $isList: true, |
| $asList: function() { |
| return [W.Node]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.Node]; |
| } |
| }, |
| Interceptor_ListMixin2: { |
| "^": "Interceptor+ListMixin;", |
| $isList: true, |
| $asList: function() { |
| return [W.SpeechRecognitionResult]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.SpeechRecognitionResult]; |
| } |
| }, |
| Interceptor_ListMixin_ImmutableListMixin2: { |
| "^": "Interceptor_ListMixin2+ImmutableListMixin;", |
| $isList: true, |
| $asList: function() { |
| return [W.SpeechRecognitionResult]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [W.SpeechRecognitionResult]; |
| } |
| }, |
| _AttributeMap: { |
| "^": "Object;", |
| addAll$1: function(_, other) { |
| J.forEach$1$ax(other, new W._AttributeMap_addAll_closure(this)); |
| }, |
| clear$0: function(_) { |
| var t1; |
| for (t1 = this.get$keys(), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) |
| this.remove$1(0, t1._current); |
| }, |
| forEach$1: function(_, f) { |
| var t1, key; |
| for (t1 = this.get$keys(), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { |
| key = t1._current; |
| f.call$2(key, this.$index(0, key)); |
| } |
| }, |
| get$keys: function() { |
| var attributes, keys, len, i; |
| attributes = this._html$_element.attributes; |
| keys = H.setRuntimeTypeInfo([], [P.String]); |
| for (len = attributes.length, i = 0; i < len; ++i) { |
| if (i >= attributes.length) |
| return H.ioore(attributes, i); |
| if (this._matches$1(attributes[i])) { |
| if (i >= attributes.length) |
| return H.ioore(attributes, i); |
| keys.push(J.get$name$x(attributes[i])); |
| } |
| } |
| return keys; |
| }, |
| get$values: function(_) { |
| var attributes, values, len, i; |
| attributes = this._html$_element.attributes; |
| values = H.setRuntimeTypeInfo([], [P.String]); |
| for (len = attributes.length, i = 0; i < len; ++i) { |
| if (i >= attributes.length) |
| return H.ioore(attributes, i); |
| if (this._matches$1(attributes[i])) { |
| if (i >= attributes.length) |
| return H.ioore(attributes, i); |
| values.push(J.get$value$x(attributes[i])); |
| } |
| } |
| return values; |
| }, |
| get$isEmpty: function(_) { |
| return this.get$length(this) === 0; |
| }, |
| get$isNotEmpty: function(_) { |
| return this.get$length(this) !== 0; |
| }, |
| $isMap: true, |
| $asMap: function() { |
| return [P.String, P.String]; |
| } |
| }, |
| _AttributeMap_addAll_closure: { |
| "^": "Closure:75;this_0", |
| call$2: function(k, v) { |
| this.this_0.$indexSet(0, k, v); |
| }, |
| $isFunction: true |
| }, |
| _ElementAttributeMap: { |
| "^": "_AttributeMap;_html$_element", |
| containsKey$1: function(key) { |
| return this._html$_element.hasAttribute(key); |
| }, |
| $index: function(_, key) { |
| return this._html$_element.getAttribute(key); |
| }, |
| $indexSet: function(_, key, value) { |
| this._html$_element.setAttribute(key, value); |
| }, |
| remove$1: function(_, key) { |
| var t1, value; |
| t1 = this._html$_element; |
| value = t1.getAttribute(key); |
| t1.removeAttribute(key); |
| return value; |
| }, |
| get$length: function(_) { |
| return this.get$keys().length; |
| }, |
| _matches$1: function(node) { |
| return node.namespaceURI == null; |
| } |
| }, |
| _MultiElementCssClassSet: { |
| "^": "CssClassSetImpl;_elementIterable,_elementCssClassSetIterable", |
| readClasses$0: function() { |
| var s = P.LinkedHashSet_LinkedHashSet(null, null, null, P.String); |
| this._elementCssClassSetIterable.forEach$1(0, new W._MultiElementCssClassSet_readClasses_closure(s)); |
| return s; |
| }, |
| writeClasses$1: function(s) { |
| var classes, t1; |
| classes = C.JSArray_methods.join$1(P.List_List$from(s, true, null), " "); |
| for (t1 = this._elementIterable, t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) |
| J.set$className$x(t1._current, classes); |
| }, |
| modify$1: function(f) { |
| this._elementCssClassSetIterable.forEach$1(0, new W._MultiElementCssClassSet_modify_closure(f)); |
| }, |
| _MultiElementCssClassSet$1: function(_elementIterable) { |
| this._elementCssClassSetIterable = H.setRuntimeTypeInfo(new H.MappedListIterable(P.List_List$from(this._elementIterable, true, null), new W._MultiElementCssClassSet_closure()), [null, null]); |
| }, |
| static: {_MultiElementCssClassSet$: function(_elementIterable) { |
| var t1 = new W._MultiElementCssClassSet(_elementIterable, null); |
| t1._MultiElementCssClassSet$1(_elementIterable); |
| return t1; |
| }} |
| }, |
| _MultiElementCssClassSet_closure: { |
| "^": "Closure:13;", |
| call$1: [function(e) { |
| return new W._ElementCssClassSet(e); |
| }, "call$1", null, 2, 0, null, 1, "call"], |
| $isFunction: true |
| }, |
| _MultiElementCssClassSet_readClasses_closure: { |
| "^": "Closure:13;s_0", |
| call$1: function(e) { |
| return this.s_0.addAll$1(0, e.readClasses$0()); |
| }, |
| $isFunction: true |
| }, |
| _MultiElementCssClassSet_modify_closure: { |
| "^": "Closure:13;f_0", |
| call$1: function(e) { |
| return e.modify$1(this.f_0); |
| }, |
| $isFunction: true |
| }, |
| _ElementCssClassSet: { |
| "^": "CssClassSetImpl;_html$_element", |
| readClasses$0: function() { |
| var s, t1, trimmed; |
| s = P.LinkedHashSet_LinkedHashSet(null, null, null, P.String); |
| for (t1 = J.get$className$x(this._html$_element).split(" "), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { |
| trimmed = J.trim$0$s(t1._current); |
| if (trimmed.length !== 0) |
| s.add$1(0, trimmed); |
| } |
| return s; |
| }, |
| writeClasses$1: function(s) { |
| P.List_List$from(s, true, null); |
| J.set$className$x(this._html$_element, s.join$1(0, " ")); |
| } |
| }, |
| EventStreamProvider: { |
| "^": "Object;_eventType", |
| forTarget$2$useCapture: function(e, useCapture) { |
| return H.setRuntimeTypeInfo(new W._EventStream(e, this._eventType, useCapture), [null]); |
| }, |
| forTarget$1: function(e) { |
| return this.forTarget$2$useCapture(e, false); |
| } |
| }, |
| _EventStream: { |
| "^": "Stream;_html$_target,_eventType,_useCapture", |
| listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { |
| var t1 = new W._EventStreamSubscription(0, this._html$_target, this._eventType, W._wrapZone(onData), this._useCapture); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| t1._tryResume$0(); |
| return t1; |
| }, |
| listen$3$onDone$onError: function(onData, onDone, onError) { |
| return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); |
| }, |
| listen$1: function(onData) { |
| return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); |
| } |
| }, |
| _ElementEventStreamImpl: { |
| "^": "_EventStream;_html$_target,_eventType,_useCapture", |
| matches$1: function(_, selector) { |
| var t1 = H.setRuntimeTypeInfo(new P._WhereStream(new W._ElementEventStreamImpl_matches_closure(selector), this), [H.getRuntimeTypeArgument(this, "Stream", 0)]); |
| return H.setRuntimeTypeInfo(new P._MapStream(new W._ElementEventStreamImpl_matches_closure0(selector), t1), [H.getRuntimeTypeArgument(t1, "Stream", 0), null]); |
| }, |
| $isStream: true |
| }, |
| _ElementEventStreamImpl_matches_closure: { |
| "^": "Closure:13;selector_0", |
| call$1: function($event) { |
| return J.matchesWithAncestors$1$x(J.get$target$x($event), this.selector_0); |
| }, |
| $isFunction: true |
| }, |
| _ElementEventStreamImpl_matches_closure0: { |
| "^": "Closure:13;selector_1", |
| call$1: [function(e) { |
| J.set$_selector$x(e, this.selector_1); |
| return e; |
| }, "call$1", null, 2, 0, null, 1, "call"], |
| $isFunction: true |
| }, |
| _ElementListEventStreamImpl: { |
| "^": "Stream;_targetList,_useCapture,_eventType", |
| matches$1: function(_, selector) { |
| var t1 = H.setRuntimeTypeInfo(new P._WhereStream(new W._ElementListEventStreamImpl_matches_closure(selector), this), [H.getRuntimeTypeArgument(this, "Stream", 0)]); |
| return H.setRuntimeTypeInfo(new P._MapStream(new W._ElementListEventStreamImpl_matches_closure0(selector), t1), [H.getRuntimeTypeArgument(t1, "Stream", 0), null]); |
| }, |
| listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { |
| var pool, t1, t2, t3, t4; |
| pool = H.setRuntimeTypeInfo(new W._StreamPool(null, P.LinkedHashMap_LinkedHashMap(null, null, null, [P.Stream, null], [P.StreamSubscription, null])), [null]); |
| pool._html$_StreamPool$broadcast$0(null); |
| for (t1 = this._targetList, t1 = t1.get$iterator(t1), t2 = this._eventType, t3 = this._useCapture; t1.moveNext$0();) { |
| t4 = new W._EventStream(t1._current, t2, t3); |
| t4.$builtinTypeInfo = [null]; |
| pool.add$1(0, t4); |
| } |
| t1 = pool._html$_controller; |
| t1.toString; |
| return H.setRuntimeTypeInfo(new P._BroadcastStream(t1), [H.getTypeArgumentByIndex(t1, 0)]).listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDone, onError); |
| }, |
| listen$3$onDone$onError: function(onData, onDone, onError) { |
| return this.listen$4$cancelOnError$onDone$onError(onData, null, onDone, onError); |
| }, |
| listen$1: function(onData) { |
| return this.listen$4$cancelOnError$onDone$onError(onData, null, null, null); |
| }, |
| $isStream: true |
| }, |
| _ElementListEventStreamImpl_matches_closure: { |
| "^": "Closure:13;selector_0", |
| call$1: function($event) { |
| return J.matchesWithAncestors$1$x(J.get$target$x($event), this.selector_0); |
| }, |
| $isFunction: true |
| }, |
| _ElementListEventStreamImpl_matches_closure0: { |
| "^": "Closure:13;selector_1", |
| call$1: [function(e) { |
| J.set$_selector$x(e, this.selector_1); |
| return e; |
| }, "call$1", null, 2, 0, null, 1, "call"], |
| $isFunction: true |
| }, |
| _EventStreamSubscription: { |
| "^": "StreamSubscription;_pauseCount,_html$_target,_eventType,_html$_onData,_useCapture", |
| cancel$0: function() { |
| if (this._html$_target == null) |
| return; |
| this._unlisten$0(); |
| this._html$_target = null; |
| this._html$_onData = null; |
| return; |
| }, |
| pause$1: [function(_, resumeSignal) { |
| if (this._html$_target == null) |
| return; |
| ++this._pauseCount; |
| this._unlisten$0(); |
| if (resumeSignal != null) |
| resumeSignal.whenComplete$1(this.get$resume(this)); |
| }, function($receiver) { |
| return this.pause$1($receiver, null); |
| }, "pause$0", "call$1", "call$0", "get$pause", 0, 2, 116, 23, 117], |
| get$isPaused: function() { |
| return this._pauseCount > 0; |
| }, |
| resume$0: [function(_) { |
| if (this._html$_target == null || this._pauseCount <= 0) |
| return; |
| --this._pauseCount; |
| this._tryResume$0(); |
| }, "call$0", "get$resume", 0, 0, 18], |
| _tryResume$0: function() { |
| var t1 = this._html$_onData; |
| if (t1 != null && this._pauseCount <= 0) |
| J.addEventListener$3$x(this._html$_target, this._eventType, t1, this._useCapture); |
| }, |
| _unlisten$0: function() { |
| var t1 = this._html$_onData; |
| if (t1 != null) |
| J.removeEventListener$3$x(this._html$_target, this._eventType, t1, this._useCapture); |
| } |
| }, |
| _StreamPool: { |
| "^": "Object;_html$_controller,_subscriptions", |
| add$1: function(_, stream) { |
| var t1, t2; |
| t1 = this._subscriptions; |
| if (t1.containsKey$1(stream)) |
| return; |
| t2 = this._html$_controller; |
| t1.$indexSet(0, stream, stream.listen$3$onDone$onError(t2.get$add(t2), new W._StreamPool_add_closure(this, stream), this._html$_controller.get$addError())); |
| }, |
| remove$1: function(_, stream) { |
| var subscription = this._subscriptions.remove$1(0, stream); |
| if (subscription != null) |
| subscription.cancel$0(); |
| }, |
| close$0: [function(_) { |
| var t1, t2; |
| for (t1 = this._subscriptions, t2 = t1.get$values(t1), t2 = H.setRuntimeTypeInfo(new H.MappedIterator(null, J.get$iterator$ax(t2._iterable), t2._f), [H.getTypeArgumentByIndex(t2, 0), H.getTypeArgumentByIndex(t2, 1)]); t2.moveNext$0();) |
| t2._current.cancel$0(); |
| t1.clear$0(0); |
| this._html$_controller.close$0(0); |
| }, "call$0", "get$close", 0, 0, 18], |
| _html$_StreamPool$broadcast$0: function($T) { |
| this._html$_controller = P.StreamController_StreamController$broadcast(this.get$close(this), null, true, $T); |
| } |
| }, |
| _StreamPool_add_closure: { |
| "^": "Closure:69;this_0,stream_1", |
| call$0: [function() { |
| return this.this_0.remove$1(0, this.stream_1); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| ImmutableListMixin: { |
| "^": "Object;", |
| get$iterator: function(receiver) { |
| return H.setRuntimeTypeInfo(new W.FixedSizeListIterator(receiver, this.get$length(receiver), -1, null), [H.getRuntimeTypeArgument(receiver, "ImmutableListMixin", 0)]); |
| }, |
| add$1: function(receiver, value) { |
| throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); |
| }, |
| addAll$1: function(receiver, iterable) { |
| throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); |
| }, |
| sort$1: function(receiver, compare) { |
| throw H.wrapException(P.UnsupportedError$("Cannot sort immutable List.")); |
| }, |
| sort$0: function($receiver) { |
| return this.sort$1($receiver, null); |
| }, |
| insert$2: function(receiver, index, element) { |
| throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); |
| }, |
| insertAll$2: function(receiver, index, iterable) { |
| throw H.wrapException(P.UnsupportedError$("Cannot add to immutable List.")); |
| }, |
| setAll$2: function(receiver, index, iterable) { |
| throw H.wrapException(P.UnsupportedError$("Cannot modify an immutable List.")); |
| }, |
| setRange$4: function(receiver, start, end, iterable, skipCount) { |
| throw H.wrapException(P.UnsupportedError$("Cannot setRange on immutable List.")); |
| }, |
| setRange$3: function($receiver, start, end, iterable) { |
| return this.setRange$4($receiver, start, end, iterable, 0); |
| }, |
| removeRange$2: function(receiver, start, end) { |
| throw H.wrapException(P.UnsupportedError$("Cannot removeRange on immutable List.")); |
| }, |
| $isList: true, |
| $asList: null, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null |
| }, |
| _WrappedList: { |
| "^": "ListBase;_list", |
| get$iterator: function(_) { |
| return H.setRuntimeTypeInfo(new W._WrappedIterator(J.get$iterator$ax(this._list)), [null]); |
| }, |
| get$length: function(_) { |
| return this._list.length; |
| }, |
| add$1: function(_, element) { |
| J.add$1$ax(this._list, element); |
| }, |
| clear$0: function(_) { |
| J.clear$0$ax(this._list); |
| }, |
| $index: function(_, index) { |
| var t1 = this._list; |
| if (index >>> 0 !== index || index >= t1.length) |
| return H.ioore(t1, index); |
| return t1[index]; |
| }, |
| $indexSet: function(_, index, value) { |
| var t1 = this._list; |
| if (index >>> 0 !== index || index >= t1.length) |
| return H.ioore(t1, index); |
| t1[index] = value; |
| }, |
| set$length: function(_, newLength) { |
| J.set$length$asx(this._list, newLength); |
| }, |
| sort$1: function(_, compare) { |
| J.sort$1$ax(this._list, compare); |
| }, |
| sort$0: function($receiver) { |
| return this.sort$1($receiver, null); |
| }, |
| indexOf$2: function(_, element, start) { |
| return J.indexOf$2$asx(this._list, element, start); |
| }, |
| indexOf$1: function($receiver, element) { |
| return this.indexOf$2($receiver, element, 0); |
| }, |
| lastIndexOf$2: function(_, element, start) { |
| return J.lastIndexOf$2$asx(this._list, element, start); |
| }, |
| lastIndexOf$1: function($receiver, element) { |
| return this.lastIndexOf$2($receiver, element, null); |
| }, |
| insert$2: function(_, index, element) { |
| return J.insert$2$ax(this._list, index, element); |
| }, |
| setRange$4: function(_, start, end, iterable, skipCount) { |
| J.setRange$4$ax(this._list, start, end, iterable, skipCount); |
| }, |
| setRange$3: function($receiver, start, end, iterable) { |
| return this.setRange$4($receiver, start, end, iterable, 0); |
| }, |
| removeRange$2: function(_, start, end) { |
| J.removeRange$2$ax(this._list, start, end); |
| } |
| }, |
| _WrappedIterator: { |
| "^": "Object;_html$_iterator", |
| moveNext$0: function() { |
| return this._html$_iterator.moveNext$0(); |
| }, |
| get$current: function() { |
| return this._html$_iterator._html$_current; |
| } |
| }, |
| FixedSizeListIterator: { |
| "^": "Object;_array,_html$_length,_position,_html$_current", |
| moveNext$0: function() { |
| var nextPosition, t1; |
| nextPosition = this._position + 1; |
| t1 = this._html$_length; |
| if (nextPosition < t1) { |
| this._html$_current = J.$index$asx(this._array, nextPosition); |
| this._position = nextPosition; |
| return true; |
| } |
| this._html$_current = null; |
| this._position = t1; |
| return false; |
| }, |
| get$current: function() { |
| return this._html$_current; |
| } |
| }, |
| _callConstructor_closure: { |
| "^": "Closure:13;constructor_0,interceptor_1", |
| call$1: [function(receiver) { |
| var t1 = H.makeLeafDispatchRecord(this.interceptor_1); |
| Object.defineProperty(receiver, init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true}); |
| receiver.constructor = receiver.__proto__.constructor; |
| return this.constructor_0(receiver); |
| }, "call$1", null, 2, 0, null, 54, "call"], |
| $isFunction: true |
| }, |
| _DOMWindowCrossFrame: { |
| "^": "Object;_window", |
| get$parent: function(_) { |
| return W._DOMWindowCrossFrame__createSafe(this._window.parent); |
| }, |
| close$0: function(_) { |
| return this._window.close(); |
| }, |
| postMessage$3: function(_, message, targetOrigin, messagePorts) { |
| this._window.postMessage(P._convertDartToNative_PrepareForStructuredClone(message), targetOrigin); |
| }, |
| postMessage$2: function($receiver, message, targetOrigin) { |
| return this.postMessage$3($receiver, message, targetOrigin, null); |
| }, |
| get$on: function(_) { |
| return H.throwExpression(P.UnsupportedError$("You can only attach EventListeners to your own window.")); |
| }, |
| addEventListener$3: function(_, type, listener, useCapture) { |
| return H.throwExpression(P.UnsupportedError$("You can only attach EventListeners to your own window.")); |
| }, |
| removeEventListener$3: function(_, type, listener, useCapture) { |
| return H.throwExpression(P.UnsupportedError$("You can only attach EventListeners to your own window.")); |
| }, |
| $isEventTarget: true, |
| static: {_DOMWindowCrossFrame__createSafe: function(w) { |
| if (w === window) |
| return w; |
| else |
| return new W._DOMWindowCrossFrame(w); |
| }} |
| } |
| }], |
| ["dart.dom.indexed_db", "dart:indexed_db", , P, { |
| "^": "", |
| KeyRange: { |
| "^": "Interceptor;", |
| $isKeyRange: true, |
| "%": "IDBKeyRange" |
| } |
| }], |
| ["dart.dom.svg", "dart:svg", , P, { |
| "^": "", |
| AElement: { |
| "^": "GraphicsElement;target=,href=", |
| "%": "SVGAElement" |
| }, |
| AltGlyphElement: { |
| "^": "TextPositioningElement;href=", |
| "%": "SVGAltGlyphElement" |
| }, |
| FEBlendElement: { |
| "^": "SvgElement;result=,x=,y=", |
| "%": "SVGFEBlendElement" |
| }, |
| FEColorMatrixElement: { |
| "^": "SvgElement;type=,values=,result=,x=,y=", |
| "%": "SVGFEColorMatrixElement" |
| }, |
| FEComponentTransferElement: { |
| "^": "SvgElement;result=,x=,y=", |
| "%": "SVGFEComponentTransferElement" |
| }, |
| FECompositeElement: { |
| "^": "SvgElement;operator=,result=,x=,y=", |
| "%": "SVGFECompositeElement" |
| }, |
| FEConvolveMatrixElement: { |
| "^": "SvgElement;result=,x=,y=", |
| "%": "SVGFEConvolveMatrixElement" |
| }, |
| FEDiffuseLightingElement: { |
| "^": "SvgElement;result=,x=,y=", |
| "%": "SVGFEDiffuseLightingElement" |
| }, |
| FEDisplacementMapElement: { |
| "^": "SvgElement;result=,x=,y=", |
| "%": "SVGFEDisplacementMapElement" |
| }, |
| FEFloodElement: { |
| "^": "SvgElement;result=,x=,y=", |
| "%": "SVGFEFloodElement" |
| }, |
| FEGaussianBlurElement: { |
| "^": "SvgElement;result=,x=,y=", |
| "%": "SVGFEGaussianBlurElement" |
| }, |
| FEImageElement: { |
| "^": "SvgElement;result=,x=,y=,href=", |
| "%": "SVGFEImageElement" |
| }, |
| FEMergeElement: { |
| "^": "SvgElement;result=,x=,y=", |
| "%": "SVGFEMergeElement" |
| }, |
| FEMorphologyElement: { |
| "^": "SvgElement;operator=,result=,x=,y=", |
| "%": "SVGFEMorphologyElement" |
| }, |
| FEOffsetElement: { |
| "^": "SvgElement;result=,x=,y=", |
| "%": "SVGFEOffsetElement" |
| }, |
| FEPointLightElement: { |
| "^": "SvgElement;x=,y=", |
| "%": "SVGFEPointLightElement" |
| }, |
| FESpecularLightingElement: { |
| "^": "SvgElement;result=,x=,y=", |
| "%": "SVGFESpecularLightingElement" |
| }, |
| FESpotLightElement: { |
| "^": "SvgElement;x=,y=", |
| "%": "SVGFESpotLightElement" |
| }, |
| FETileElement: { |
| "^": "SvgElement;result=,x=,y=", |
| "%": "SVGFETileElement" |
| }, |
| FETurbulenceElement: { |
| "^": "SvgElement;type=,result=,x=,y=", |
| "%": "SVGFETurbulenceElement" |
| }, |
| FilterElement: { |
| "^": "SvgElement;x=,y=,href=", |
| "%": "SVGFilterElement" |
| }, |
| ForeignObjectElement: { |
| "^": "GraphicsElement;x=,y=", |
| "%": "SVGForeignObjectElement" |
| }, |
| GeometryElement: { |
| "^": "GraphicsElement;", |
| "%": "SVGCircleElement|SVGEllipseElement|SVGLineElement|SVGPathElement|SVGPolygonElement|SVGPolylineElement;SVGGeometryElement" |
| }, |
| GraphicsElement: { |
| "^": "SvgElement;", |
| "%": "SVGClipPathElement|SVGDefsElement|SVGGElement|SVGSwitchElement;SVGGraphicsElement" |
| }, |
| ImageElement0: { |
| "^": "GraphicsElement;x=,y=,href=", |
| "%": "SVGImageElement" |
| }, |
| MaskElement: { |
| "^": "SvgElement;x=,y=", |
| "%": "SVGMaskElement" |
| }, |
| PatternElement: { |
| "^": "SvgElement;x=,y=,href=", |
| "%": "SVGPatternElement" |
| }, |
| RectElement: { |
| "^": "GeometryElement;x=,y=", |
| "%": "SVGRectElement" |
| }, |
| ScriptElement0: { |
| "^": "SvgElement;type%,href=", |
| "%": "SVGScriptElement" |
| }, |
| StyleElement0: { |
| "^": "SvgElement;type%", |
| set$title: function(receiver, value) { |
| receiver.title = value; |
| }, |
| "%": "SVGStyleElement" |
| }, |
| SvgElement: { |
| "^": "Element;", |
| get$classes: function(receiver) { |
| if (receiver._cssClassSet == null) |
| receiver._cssClassSet = new P._AttributeClassSet(receiver); |
| return receiver._cssClassSet; |
| }, |
| get$children: function(receiver) { |
| return H.setRuntimeTypeInfo(new P.FilteredElementList(receiver, new W._ChildNodeListLazy(receiver)), [W.Element]); |
| }, |
| get$onChange: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, C.EventStreamProvider_change._eventType, false), [null]); |
| }, |
| get$onClick: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, C.EventStreamProvider_click._eventType, false), [null]); |
| }, |
| get$onInput: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, C.EventStreamProvider_input._eventType, false), [null]); |
| }, |
| get$onMouseDown: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, C.EventStreamProvider_mousedown._eventType, false), [null]); |
| }, |
| get$onMouseMove: function(receiver) { |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(receiver, C.EventStreamProvider_mousemove._eventType, false), [null]); |
| }, |
| $isEventTarget: true, |
| "%": "SVGAltGlyphDefElement|SVGAltGlyphItemElement|SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTransformElement|SVGAnimationElement|SVGComponentTransferFunctionElement|SVGCursorElement|SVGDescElement|SVGDiscardElement|SVGFEDistantLightElement|SVGFEDropShadowElement|SVGFEFuncAElement|SVGFEFuncBElement|SVGFEFuncGElement|SVGFEFuncRElement|SVGFEMergeNodeElement|SVGFontElement|SVGFontFaceElement|SVGFontFaceFormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement|SVGGlyphElement|SVGGlyphRefElement|SVGHKernElement|SVGMPathElement|SVGMarkerElement|SVGMetadataElement|SVGMissingGlyphElement|SVGSetElement|SVGStopElement|SVGSymbolElement|SVGTitleElement|SVGVKernElement|SVGViewElement;SVGElement", |
| static: {"^": "SvgElement_pauseEvent<"} |
| }, |
| SvgSvgElement: { |
| "^": "GraphicsElement;x=,y=", |
| getElementById$1: function(receiver, elementId) { |
| return receiver.getElementById(elementId); |
| }, |
| $isSvgSvgElement: true, |
| "%": "SVGSVGElement" |
| }, |
| TextContentElement: { |
| "^": "GraphicsElement;", |
| "%": ";SVGTextContentElement" |
| }, |
| TextPathElement: { |
| "^": "TextContentElement;href=", |
| "%": "SVGTextPathElement" |
| }, |
| TextPositioningElement: { |
| "^": "TextContentElement;x=,y=", |
| "%": "SVGTSpanElement|SVGTextElement;SVGTextPositioningElement" |
| }, |
| UseElement: { |
| "^": "GraphicsElement;x=,y=,href=", |
| "%": "SVGUseElement" |
| }, |
| _GradientElement: { |
| "^": "SvgElement;href=", |
| "%": "SVGGradientElement|SVGLinearGradientElement|SVGRadialGradientElement" |
| }, |
| _AttributeClassSet: { |
| "^": "CssClassSetImpl;_svg$_element", |
| readClasses$0: function() { |
| var classname, s, t1, trimmed; |
| classname = this._svg$_element.getAttribute("class"); |
| s = P.LinkedHashSet_LinkedHashSet(null, null, null, P.String); |
| if (classname == null) |
| return s; |
| for (t1 = classname.split(" "), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { |
| trimmed = J.trim$0$s(t1._current); |
| if (trimmed.length !== 0) |
| s.add$1(0, trimmed); |
| } |
| return s; |
| }, |
| writeClasses$1: function(s) { |
| this._svg$_element.setAttribute("class", s.join$1(0, " ")); |
| } |
| } |
| }], |
| ["dart.dom.web_sql", "dart:web_sql", , P, { |
| "^": "", |
| SqlError: { |
| "^": "Interceptor;code=,message=", |
| "%": "SQLError" |
| } |
| }], |
| ["dart.isolate", "dart:isolate", , P, { |
| "^": "", |
| ReceivePort_ReceivePort: function() { |
| var t1, t2, t3; |
| t1 = $.RawReceivePortImpl__nextFreeId; |
| $.RawReceivePortImpl__nextFreeId = t1 + 1; |
| t2 = new H.RawReceivePortImpl(t1, null, false); |
| t3 = init.globalState.currentContext; |
| t3._addRegistration$2(t1, t2); |
| t3._updateGlobalState$0(); |
| t3 = new H.ReceivePortImpl(t2, null); |
| t3.ReceivePortImpl$fromRawReceivePort$1(t2); |
| return t3; |
| }, |
| Capability: { |
| "^": "Object;", |
| $isCapability: true, |
| static: {Capability_Capability: function() { |
| return new H.CapabilityImpl((Math.random() * 0x100000000 >>> 0) + (Math.random() * 0x100000000 >>> 0) * 4294967296); |
| }} |
| } |
| }], |
| ["dart.js", "dart:js", , P, { |
| "^": "", |
| _convertDartFunction: function(f, captureThis) { |
| return function(_call, f, captureThis) { |
| return function() { |
| return _call(f, captureThis, this, Array.prototype.slice.apply(arguments)); |
| }; |
| }(P._callDartFunction, f, captureThis); |
| }, |
| _callDartFunction: [function(callback, captureThis, $self, $arguments) { |
| var arguments0; |
| if (captureThis === true) { |
| arguments0 = [$self]; |
| C.JSArray_methods.addAll$1(arguments0, $arguments); |
| $arguments = arguments0; |
| } |
| return P._convertToJS(H.Primitives_applyFunction(callback, P.List_List$from(J.map$1$ax($arguments, P._convertToDart$closure()), true, null), P.Function__toMangledNames(null))); |
| }, "call$4", "_callDartFunction$closure", 8, 0, null, 41, 59, 27, 60], |
| _defineProperty: function(o, $name, value) { |
| var exception; |
| if (Object.isExtensible(o)) |
| try { |
| Object.defineProperty(o, $name, {value: value}); |
| return true; |
| } catch (exception) { |
| H.unwrapException(exception); |
| } |
| |
| return false; |
| }, |
| _getOwnProperty: function(o, $name) { |
| if (Object.prototype.hasOwnProperty.call(o, $name)) |
| return o[$name]; |
| return; |
| }, |
| _convertToJS: [function(o) { |
| var t1; |
| if (o == null) |
| return; |
| else if (typeof o === "string" || typeof o === "number" || typeof o === "boolean") |
| return o; |
| else { |
| t1 = J.getInterceptor(o); |
| if (!!t1.$isBlob || !!t1.$isEvent || !!t1.$isKeyRange || !!t1.$isImageData || !!t1.$isNode || !!t1.$isTypedData || !!t1.$isWindow) |
| return o; |
| else if (!!t1.$isDateTime) |
| return H.Primitives_lazyAsJsDate(o); |
| else if (!!t1.$isJsObject) |
| return o._js$_jsObject; |
| else if (!!t1.$isFunction) |
| return P._getJsProxy(o, "$dart_jsFunction", new P._convertToJS_closure()); |
| else |
| return P._getJsProxy(o, "_$dart_jsObject", new P._convertToJS_closure0($.get$_dartProxyCtor())); |
| } |
| }, "call$1", "_convertToJS$closure", 2, 0, 13, 61], |
| _getJsProxy: function(o, propertyName, createProxy) { |
| var jsProxy = P._getOwnProperty(o, propertyName); |
| if (jsProxy == null) { |
| jsProxy = createProxy.call$1(o); |
| P._defineProperty(o, propertyName, jsProxy); |
| } |
| return jsProxy; |
| }, |
| _convertToDart: [function(o) { |
| var t1; |
| if (o == null || typeof o == "string" || typeof o == "number" || typeof o == "boolean") |
| return o; |
| else { |
| if (o instanceof Object) { |
| t1 = J.getInterceptor(o); |
| t1 = !!t1.$isBlob || !!t1.$isEvent || !!t1.$isKeyRange || !!t1.$isImageData || !!t1.$isNode || !!t1.$isTypedData || !!t1.$isWindow; |
| } else |
| t1 = false; |
| if (t1) |
| return o; |
| else if (o instanceof Date) |
| return P.DateTime$fromMillisecondsSinceEpoch(o.getTime(), false); |
| else if (o.constructor === $.get$_dartProxyCtor()) |
| return o.o; |
| else |
| return P._wrapToDart(o); |
| } |
| }, "call$1", "_convertToDart$closure", 2, 0, 49, 61], |
| _wrapToDart: function(o) { |
| if (typeof o == "function") |
| return P._getDartProxy(o, $.get$_DART_CLOSURE_PROPERTY_NAME(), new P._wrapToDart_closure()); |
| else if (o instanceof Array) |
| return P._getDartProxy(o, $.get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapToDart_closure0()); |
| else |
| return P._getDartProxy(o, $.get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapToDart_closure1()); |
| }, |
| _getDartProxy: function(o, propertyName, createProxy) { |
| var dartProxy = P._getOwnProperty(o, propertyName); |
| if (dartProxy == null || !(o instanceof Object)) { |
| dartProxy = createProxy.call$1(o); |
| P._defineProperty(o, propertyName, dartProxy); |
| } |
| return dartProxy; |
| }, |
| JsObject: { |
| "^": "Object;_js$_jsObject", |
| $index: function(_, property) { |
| if (typeof property !== "string" && typeof property !== "number") |
| throw H.wrapException(P.ArgumentError$("property is not a String or num")); |
| return P._convertToDart(this._js$_jsObject[property]); |
| }, |
| $indexSet: function(_, property, value) { |
| if (typeof property !== "string" && typeof property !== "number") |
| throw H.wrapException(P.ArgumentError$("property is not a String or num")); |
| this._js$_jsObject[property] = P._convertToJS(value); |
| }, |
| get$hashCode: function(_) { |
| return 0; |
| }, |
| $eq: function(_, other) { |
| if (other == null) |
| return false; |
| return !!J.getInterceptor(other).$isJsObject && this._js$_jsObject === other._js$_jsObject; |
| }, |
| hasProperty$1: function(property) { |
| return property in this._js$_jsObject; |
| }, |
| toString$0: function(_) { |
| var t1, exception; |
| try { |
| t1 = String(this._js$_jsObject); |
| return t1; |
| } catch (exception) { |
| H.unwrapException(exception); |
| return P.Object.prototype.toString$0.call(this, this); |
| } |
| |
| }, |
| callMethod$2: function(method, args) { |
| var t1, t2; |
| t1 = this._js$_jsObject; |
| t2 = args == null ? null : P.List_List$from(H.setRuntimeTypeInfo(new H.MappedListIterable(args, P._convertToJS$closure()), [null, null]), true, null); |
| return P._convertToDart(t1[method].apply(t1, t2)); |
| }, |
| callMethod$1: function(method) { |
| return this.callMethod$2(method, null); |
| }, |
| $isJsObject: true, |
| static: {JsObject_JsObject: function($constructor, $arguments) { |
| var constr, args, factoryFunction; |
| constr = P._convertToJS($constructor); |
| if ($arguments == null) |
| return P._wrapToDart(new constr()); |
| args = [null]; |
| C.JSArray_methods.addAll$1(args, H.setRuntimeTypeInfo(new H.MappedListIterable($arguments, P._convertToJS$closure()), [null, null])); |
| factoryFunction = constr.bind.apply(constr, args); |
| String(factoryFunction); |
| return P._wrapToDart(new factoryFunction()); |
| }, JsObject_JsObject$fromBrowserObject: function(object) { |
| if (object == null) |
| throw H.wrapException(P.ArgumentError$("object cannot be a num, string, bool, or null")); |
| return P._wrapToDart(P._convertToJS(object)); |
| }, JsObject_JsObject$jsify: function(object) { |
| return P._wrapToDart(P.JsObject__convertDataTree(object)); |
| }, JsObject__convertDataTree: function(data) { |
| return new P.JsObject__convertDataTree__convert(P.HashMap_HashMap$identity(null, null)).call$1(data); |
| }} |
| }, |
| JsObject__convertDataTree__convert: { |
| "^": "Closure:13;_convertedObjects_0", |
| call$1: [function(o) { |
| var t1, t2, convertedMap, key, convertedList; |
| t1 = this._convertedObjects_0; |
| if (t1.containsKey$1(o)) |
| return t1.$index(0, o); |
| t2 = J.getInterceptor(o); |
| if (!!t2.$isMap) { |
| convertedMap = {}; |
| t1.$indexSet(0, o, convertedMap); |
| for (t1 = J.get$iterator$ax(o.get$keys()); t1.moveNext$0();) { |
| key = t1.get$current(); |
| convertedMap[key] = this.call$1(t2.$index(o, key)); |
| } |
| return convertedMap; |
| } else if (!!t2.$isIterable) { |
| convertedList = []; |
| t1.$indexSet(0, o, convertedList); |
| C.JSArray_methods.addAll$1(convertedList, t2.map$1(o, this)); |
| return convertedList; |
| } else |
| return P._convertToJS(o); |
| }, "call$1", null, 2, 0, null, 61, "call"], |
| $isFunction: true |
| }, |
| JsFunction: { |
| "^": "JsObject;_js$_jsObject", |
| apply$2$thisArg: function(args, thisArg) { |
| var t1, t2; |
| t1 = P._convertToJS(thisArg); |
| t2 = P.List_List$from(H.setRuntimeTypeInfo(new H.MappedListIterable(args, P._convertToJS$closure()), [null, null]), true, null); |
| return P._convertToDart(this._js$_jsObject.apply(t1, t2)); |
| }, |
| apply$1: function(args) { |
| return this.apply$2$thisArg(args, null); |
| }, |
| $isJsFunction: true, |
| static: {JsFunction_JsFunction$withThis: function(f) { |
| return new P.JsFunction(P._convertDartFunction(f, true)); |
| }} |
| }, |
| JsArray: { |
| "^": "JsObject_ListMixin;_js$_jsObject", |
| $index: function(_, index) { |
| var t1; |
| if (typeof index === "number" && index === C.JSNumber_methods.toInt$0(index)) { |
| if (typeof index === "number" && Math.floor(index) === index) |
| t1 = index < 0 || index >= this.get$length(this); |
| else |
| t1 = false; |
| if (t1) |
| H.throwExpression(P.RangeError$range(index, 0, this.get$length(this))); |
| } |
| return P.JsObject.prototype.$index.call(this, this, index); |
| }, |
| $indexSet: function(_, index, value) { |
| var t1; |
| if (typeof index === "number" && index === C.JSNumber_methods.toInt$0(index)) { |
| if (typeof index === "number" && Math.floor(index) === index) |
| t1 = index < 0 || index >= this.get$length(this); |
| else |
| t1 = false; |
| if (t1) |
| H.throwExpression(P.RangeError$range(index, 0, this.get$length(this))); |
| } |
| P.JsObject.prototype.$indexSet.call(this, this, index, value); |
| }, |
| get$length: function(_) { |
| var len = this._js$_jsObject.length; |
| if (typeof len === "number" && len >>> 0 === len) |
| return len; |
| throw H.wrapException(P.StateError$("Bad JsArray length")); |
| }, |
| set$length: function(_, $length) { |
| P.JsObject.prototype.$indexSet.call(this, this, "length", $length); |
| }, |
| add$1: function(_, value) { |
| this.callMethod$2("push", [value]); |
| }, |
| addAll$1: function(_, iterable) { |
| this.callMethod$2("push", iterable instanceof Array ? iterable : P.List_List$from(iterable, true, null)); |
| }, |
| insert$2: function(_, index, element) { |
| if (index >= this.get$length(this) + 1) |
| H.throwExpression(P.RangeError$range(index, 0, this.get$length(this))); |
| this.callMethod$2("splice", [index, 0, element]); |
| }, |
| removeRange$2: function(_, start, end) { |
| P.JsArray__checkRange(start, end, this.get$length(this)); |
| this.callMethod$2("splice", [start, end - start]); |
| }, |
| setRange$4: function(_, start, end, iterable, skipCount) { |
| var t1, $length, args; |
| t1 = this.get$length(this); |
| if (start < 0 || start > t1) |
| H.throwExpression(P.RangeError$range(start, 0, t1)); |
| if (end < start || end > t1) |
| H.throwExpression(P.RangeError$range(end, start, t1)); |
| $length = end - start; |
| if ($length === 0) |
| return; |
| if (skipCount < 0) |
| throw H.wrapException(P.ArgumentError$(skipCount)); |
| args = [start, $length]; |
| C.JSArray_methods.addAll$1(args, J.skip$1$ax(iterable, skipCount).take$1(0, $length)); |
| this.callMethod$2("splice", args); |
| }, |
| setRange$3: function($receiver, start, end, iterable) { |
| return this.setRange$4($receiver, start, end, iterable, 0); |
| }, |
| sort$1: function(_, compare) { |
| this.callMethod$2("sort", [compare]); |
| }, |
| sort$0: function($receiver) { |
| return this.sort$1($receiver, null); |
| }, |
| static: {JsArray__checkRange: function(start, end, $length) { |
| if (start < 0 || start > $length) |
| throw H.wrapException(P.RangeError$range(start, 0, $length)); |
| if (end < start || end > $length) |
| throw H.wrapException(P.RangeError$range(end, start, $length)); |
| }} |
| }, |
| JsObject_ListMixin: { |
| "^": "JsObject+ListMixin;", |
| $isList: true, |
| $asList: null, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: null |
| }, |
| _convertToJS_closure: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| var jsFunction = P._convertDartFunction(o, false); |
| P._defineProperty(jsFunction, $.get$_DART_CLOSURE_PROPERTY_NAME(), o); |
| return jsFunction; |
| }, |
| $isFunction: true |
| }, |
| _convertToJS_closure0: { |
| "^": "Closure:13;ctor_0", |
| call$1: function(o) { |
| return new this.ctor_0(o); |
| }, |
| $isFunction: true |
| }, |
| _wrapToDart_closure: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return new P.JsFunction(o); |
| }, |
| $isFunction: true |
| }, |
| _wrapToDart_closure0: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return H.setRuntimeTypeInfo(new P.JsArray(o), [null]); |
| }, |
| $isFunction: true |
| }, |
| _wrapToDart_closure1: { |
| "^": "Closure:13;", |
| call$1: function(o) { |
| return new P.JsObject(o); |
| }, |
| $isFunction: true |
| } |
| }], |
| ["dart.math", "dart:math", , P, { |
| "^": "", |
| _JenkinsSmiHash_combine0: function(hash, value) { |
| hash = 536870911 & hash + value; |
| hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0); |
| return hash ^ hash >>> 6; |
| }, |
| _JenkinsSmiHash_finish: function(hash) { |
| hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0); |
| hash ^= hash >>> 11; |
| return 536870911 & hash + ((16383 & hash) << 15 >>> 0); |
| }, |
| min: function(a, b) { |
| var t1; |
| if (typeof a !== "number") |
| throw H.wrapException(P.ArgumentError$(a)); |
| if (typeof b !== "number") |
| throw H.wrapException(P.ArgumentError$(b)); |
| if (a > b) |
| return b; |
| if (a < b) |
| return a; |
| if (typeof b === "number") { |
| if (typeof a === "number") |
| if (a === 0) |
| return (a + b) * a * b; |
| if (a === 0) |
| t1 = b === 0 ? 1 / b < 0 : b < 0; |
| else |
| t1 = false; |
| if (t1 || isNaN(b)) |
| return b; |
| return a; |
| } |
| return a; |
| }, |
| max: function(a, b) { |
| if (typeof a !== "number") |
| throw H.wrapException(P.ArgumentError$(a)); |
| if (typeof b !== "number") |
| throw H.wrapException(P.ArgumentError$(b)); |
| if (a > b) |
| return a; |
| if (a < b) |
| return b; |
| if (typeof b === "number") { |
| if (typeof a === "number") |
| if (a === 0) |
| return a + b; |
| if (C.JSDouble_methods.get$isNaN(b)) |
| return b; |
| return a; |
| } |
| if (b === 0 && C.JSNumber_methods.get$isNegative(a)) |
| return b; |
| return a; |
| }, |
| _JSRandom: { |
| "^": "Object;", |
| nextInt$1: function(max) { |
| if (max <= 0 || max > 4294967296) |
| throw H.wrapException(P.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max)); |
| return Math.random() * max >>> 0; |
| } |
| }, |
| _Random: { |
| "^": "Object;_lo,_hi", |
| _nextState$0: function() { |
| var t1, tmpHi, tmpHiLo, tmpLo, tmpLoLo, newLo; |
| t1 = this._lo; |
| tmpHi = 4294901760 * t1; |
| tmpHiLo = (tmpHi & 4294967295) >>> 0; |
| tmpLo = 55905 * t1; |
| tmpLoLo = (tmpLo & 4294967295) >>> 0; |
| newLo = tmpLoLo + tmpHiLo + this._hi; |
| t1 = (newLo & 4294967295) >>> 0; |
| this._lo = t1; |
| this._hi = (C.JSInt_methods._tdivFast$1(tmpLo - tmpLoLo + (tmpHi - tmpHiLo) + (newLo - t1), 4294967296) & 4294967295) >>> 0; |
| }, |
| nextInt$1: function(max) { |
| var t1, rnd32, result; |
| if (max <= 0 || max > 4294967296) |
| throw H.wrapException(P.RangeError$("max must be in range 0 < max \u2264 2^32, was " + max)); |
| t1 = max - 1; |
| if ((max & t1) === 0) { |
| this._nextState$0(); |
| return (this._lo & t1) >>> 0; |
| } |
| do { |
| this._nextState$0(); |
| rnd32 = this._lo; |
| result = rnd32 % max; |
| } while (rnd32 - result + max >= 4294967296); |
| return result; |
| }, |
| _Random$1: function(seed) { |
| var empty_seed, t1, low, high, tmplow, low0, t2, t3; |
| empty_seed = J.$lt$n(seed, 0) ? -1 : 0; |
| do { |
| t1 = J.getInterceptor$n(seed); |
| low = t1.$and(seed, 4294967295); |
| seed = J.$tdiv$n(t1.$sub(seed, low), 4294967296); |
| t1 = J.getInterceptor$n(seed); |
| high = t1.$and(seed, 4294967295); |
| seed = J.$tdiv$n(t1.$sub(seed, high), 4294967296); |
| tmplow = ((~low & 4294967295) >>> 0) + (low << 21 >>> 0); |
| low0 = (tmplow & 4294967295) >>> 0; |
| high = (~high >>> 0) + ((high << 21 | low >>> 11) >>> 0) + C.JSInt_methods._tdivFast$1(tmplow - low0, 4294967296) & 4294967295; |
| tmplow = ((low0 ^ (low0 >>> 24 | high << 8)) >>> 0) * 265; |
| low = (tmplow & 4294967295) >>> 0; |
| high = ((high ^ high >>> 24) >>> 0) * 265 + C.JSInt_methods._tdivFast$1(tmplow - low, 4294967296) & 4294967295; |
| tmplow = ((low ^ (low >>> 14 | high << 18)) >>> 0) * 21; |
| low = (tmplow & 4294967295) >>> 0; |
| high = ((high ^ high >>> 14) >>> 0) * 21 + C.JSInt_methods._tdivFast$1(tmplow - low, 4294967296) & 4294967295; |
| low = (low ^ (low >>> 28 | high << 4)) >>> 0; |
| high = (high ^ high >>> 28) >>> 0; |
| tmplow = (low << 31 >>> 0) + low; |
| low0 = (tmplow & 4294967295) >>> 0; |
| t1 = C.JSInt_methods._tdivFast$1(tmplow - low0, 4294967296); |
| tmplow = this._lo * 1037; |
| t2 = (tmplow & 4294967295) >>> 0; |
| this._lo = t2; |
| t3 = (this._hi * 1037 + C.JSInt_methods._tdivFast$1(tmplow - t2, 4294967296) & 4294967295) >>> 0; |
| this._hi = t3; |
| this._lo = (t2 ^ low0) >>> 0; |
| this._hi = (t3 ^ high + ((high << 31 | low >>> 1) >>> 0) + t1 & 4294967295) >>> 0; |
| } while (!J.$eq(seed, empty_seed)); |
| if (this._hi === 0 && this._lo === 0) |
| this._lo = 23063; |
| this._nextState$0(); |
| this._nextState$0(); |
| this._nextState$0(); |
| this._nextState$0(); |
| }, |
| static: {"^": "_Random__POW2_53_D,_Random__POW2_27_D,_Random__MASK32", _Random$: function(seed) { |
| var t1 = new P._Random(0, 0); |
| t1._Random$1(seed); |
| return t1; |
| }} |
| }, |
| 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; |
| if (!J.getInterceptor(other).$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_finish(P._JenkinsSmiHash_combine0(P._JenkinsSmiHash_combine0(0, t1), t2)); |
| }, |
| $add: function(_, other) { |
| var t1, t2, t3, t4; |
| t1 = this.x; |
| t2 = J.getInterceptor$x(other); |
| t3 = t2.get$x(other); |
| if (typeof t1 !== "number") |
| return t1.$add(); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| t4 = this.y; |
| t2 = t2.get$y(other); |
| if (typeof t4 !== "number") |
| return t4.$add(); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| t2 = new P.Point(t1 + t3, t4 + t2); |
| t2.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t2; |
| }, |
| $sub: function(_, other) { |
| var t1, t2, t3, t4; |
| t1 = this.x; |
| t2 = J.getInterceptor$x(other); |
| t3 = t2.get$x(other); |
| if (typeof t1 !== "number") |
| return t1.$sub(); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| t4 = this.y; |
| t2 = t2.get$y(other); |
| if (typeof t4 !== "number") |
| return t4.$sub(); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| t2 = new P.Point(t1 - t3, t4 - t2); |
| t2.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t2; |
| }, |
| $mul: function(_, factor) { |
| var t1, t2; |
| t1 = this.x; |
| if (typeof t1 !== "number") |
| return t1.$mul(); |
| if (typeof factor !== "number") |
| return H.iae(factor); |
| t2 = this.y; |
| if (typeof t2 !== "number") |
| return t2.$mul(); |
| t2 = new P.Point(t1 * factor, t2 * factor); |
| t2.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t2; |
| }, |
| $isPoint: true |
| }, |
| _RectangleBase: { |
| "^": "Object;", |
| get$right: function(_) { |
| return this.get$left(this) + this.width; |
| }, |
| get$bottom: function(_) { |
| return this.get$top(this) + this.height; |
| }, |
| toString$0: function(_) { |
| return "Rectangle (" + this.get$left(this) + ", " + this.top + ") " + this.width + " x " + this.height; |
| }, |
| $eq: function(_, other) { |
| var t1, t2; |
| if (other == null) |
| return false; |
| t1 = J.getInterceptor(other); |
| if (!t1.$isRectangle) |
| return false; |
| if (this.get$left(this) === t1.get$left(other)) { |
| t2 = this.top; |
| t1 = t2 === t1.get$top(other) && this.left + this.width === t1.get$right(other) && t2 + this.height === t1.get$bottom(other); |
| } else |
| t1 = false; |
| return t1; |
| }, |
| get$hashCode: function(_) { |
| var t1 = this.top; |
| return P._JenkinsSmiHash_finish(P._JenkinsSmiHash_combine0(P._JenkinsSmiHash_combine0(P._JenkinsSmiHash_combine0(P._JenkinsSmiHash_combine0(0, this.get$left(this) & 0x1FFFFFFF), t1 & 0x1FFFFFFF), this.left + this.width & 0x1FFFFFFF), t1 + this.height & 0x1FFFFFFF)); |
| }, |
| get$topLeft: function(_) { |
| var t1 = new P.Point(this.get$left(this), this.top); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t1; |
| } |
| }, |
| Rectangle: { |
| "^": "_RectangleBase;left>,top>,width>,height>", |
| $isRectangle: true, |
| $asRectangle: null, |
| static: {Rectangle$: function(left, $top, width, height, $T) { |
| var t1, t2; |
| t1 = width < 0 ? -width * 0 : width; |
| t2 = height < 0 ? -height * 0 : height; |
| return H.setRuntimeTypeInfo(new P.Rectangle(left, $top, t1, t2), [$T]); |
| }} |
| } |
| }], |
| ["dart.pkg.collection.wrappers", "package:collection/wrappers.dart", , Q, { |
| "^": "", |
| UnmodifiableMapMixin__throw: function() { |
| throw H.wrapException(P.UnsupportedError$("Cannot modify an unmodifiable Map")); |
| }, |
| UnmodifiableMapView: { |
| "^": "DelegatingMap_UnmodifiableMapMixin;_base" |
| }, |
| DelegatingMap_UnmodifiableMapMixin: { |
| "^": "DelegatingMap+UnmodifiableMapMixin;", |
| $isMap: true |
| }, |
| UnmodifiableMapMixin: { |
| "^": "Object;", |
| $indexSet: function(_, key, value) { |
| return Q.UnmodifiableMapMixin__throw(); |
| }, |
| addAll$1: function(_, other) { |
| return Q.UnmodifiableMapMixin__throw(); |
| }, |
| clear$0: function(_) { |
| return Q.UnmodifiableMapMixin__throw(); |
| }, |
| $isMap: true |
| }, |
| DelegatingMap: { |
| "^": "Object;", |
| $index: function(_, key) { |
| return this._base.$index(0, key); |
| }, |
| $indexSet: function(_, key, value) { |
| this._base.$indexSet(0, key, value); |
| }, |
| addAll$1: function(_, other) { |
| this._base.addAll$1(0, other); |
| }, |
| clear$0: function(_) { |
| this._base.clear$0(0); |
| }, |
| forEach$1: function(_, f) { |
| this._base.forEach$1(0, f); |
| }, |
| get$isEmpty: function(_) { |
| return this._base._collection$_length === 0; |
| }, |
| get$isNotEmpty: function(_) { |
| return this._base._collection$_length !== 0; |
| }, |
| get$keys: function() { |
| var t1 = this._base; |
| return H.setRuntimeTypeInfo(new P.LinkedHashMapKeyIterable(t1), [H.getTypeArgumentByIndex(t1, 0)]); |
| }, |
| get$length: function(_) { |
| return this._base._collection$_length; |
| }, |
| get$values: function(_) { |
| var t1 = this._base; |
| return t1.get$values(t1); |
| }, |
| toString$0: function(_) { |
| return P.Maps_mapToString(this._base); |
| }, |
| $isMap: true |
| } |
| }], |
| ["dart.typed_data.implementation", "dart:_native_typed_data", , H, { |
| "^": "", |
| NativeTypedArray$: function(receiver) { |
| receiver.toString; |
| return receiver; |
| }, |
| NativeTypedArrayOfDouble$: function(receiver) { |
| receiver.toString; |
| return receiver; |
| }, |
| NativeTypedArrayOfInt$: function(receiver) { |
| receiver.toString; |
| return receiver; |
| }, |
| NativeByteBuffer: { |
| "^": "Interceptor;", |
| get$runtimeType: function(receiver) { |
| return C.Type_wAg; |
| }, |
| $isNativeByteBuffer: true, |
| "%": "ArrayBuffer" |
| }, |
| NativeTypedData: { |
| "^": "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(P.ArgumentError$("Invalid list index " + H.S(index))); |
| }, |
| _checkIndex$2: function(receiver, index, $length) { |
| if (index >>> 0 !== index || index >= $length) |
| this._invalidIndex$2(receiver, index, $length); |
| }, |
| $isNativeTypedData: true, |
| $isTypedData: true, |
| "%": ";ArrayBufferView;NativeTypedArray|NativeTypedArray_ListMixin|NativeTypedArray_ListMixin_FixedLengthListMixin|NativeTypedArrayOfDouble|NativeTypedArray_ListMixin0|NativeTypedArray_ListMixin_FixedLengthListMixin0|NativeTypedArrayOfInt" |
| }, |
| NativeByteData: { |
| "^": "NativeTypedData;", |
| get$runtimeType: function(receiver) { |
| return C.Type_oGP; |
| }, |
| $isTypedData: true, |
| "%": "DataView" |
| }, |
| NativeFloat32List: { |
| "^": "NativeTypedArrayOfDouble;", |
| get$runtimeType: function(receiver) { |
| return C.Type_Art; |
| }, |
| $index: function(receiver, index) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| return receiver[index]; |
| }, |
| $indexSet: function(receiver, index, value) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| receiver[index] = value; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [P.$double]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$double]; |
| }, |
| $isTypedData: true, |
| "%": "Float32Array" |
| }, |
| NativeFloat64List: { |
| "^": "NativeTypedArrayOfDouble;", |
| get$runtimeType: function(receiver) { |
| return C.Type_ckn; |
| }, |
| $index: function(receiver, index) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| return receiver[index]; |
| }, |
| $indexSet: function(receiver, index, value) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| receiver[index] = value; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [P.$double]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$double]; |
| }, |
| $isTypedData: true, |
| "%": "Float64Array" |
| }, |
| NativeInt16List: { |
| "^": "NativeTypedArrayOfInt;", |
| get$runtimeType: function(receiver) { |
| return C.Type_UoK; |
| }, |
| $index: function(receiver, index) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| return receiver[index]; |
| }, |
| $indexSet: function(receiver, index, value) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| receiver[index] = value; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [P.$int]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$int]; |
| }, |
| $isTypedData: true, |
| "%": "Int16Array" |
| }, |
| NativeInt32List: { |
| "^": "NativeTypedArrayOfInt;", |
| get$runtimeType: function(receiver) { |
| return C.Type_dTZ; |
| }, |
| $index: function(receiver, index) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| return receiver[index]; |
| }, |
| $indexSet: function(receiver, index, value) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| receiver[index] = value; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [P.$int]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$int]; |
| }, |
| $isTypedData: true, |
| "%": "Int32Array" |
| }, |
| NativeInt8List: { |
| "^": "NativeTypedArrayOfInt;", |
| get$runtimeType: function(receiver) { |
| return C.Type_mp3; |
| }, |
| $index: function(receiver, index) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| return receiver[index]; |
| }, |
| $indexSet: function(receiver, index, value) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| receiver[index] = value; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [P.$int]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$int]; |
| }, |
| $isTypedData: true, |
| "%": "Int8Array" |
| }, |
| NativeUint16List: { |
| "^": "NativeTypedArrayOfInt;", |
| get$runtimeType: function(receiver) { |
| return C.Type_CAk; |
| }, |
| $index: function(receiver, index) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| return receiver[index]; |
| }, |
| $indexSet: function(receiver, index, value) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| receiver[index] = value; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [P.$int]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$int]; |
| }, |
| $isTypedData: true, |
| "%": "Uint16Array" |
| }, |
| NativeUint32List: { |
| "^": "NativeTypedArrayOfInt;", |
| get$runtimeType: function(receiver) { |
| return C.Type_irB; |
| }, |
| $index: function(receiver, index) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| return receiver[index]; |
| }, |
| $indexSet: function(receiver, index, value) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| receiver[index] = value; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [P.$int]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$int]; |
| }, |
| $isTypedData: true, |
| "%": "Uint32Array" |
| }, |
| NativeUint8ClampedList: { |
| "^": "NativeTypedArrayOfInt;", |
| get$runtimeType: function(receiver) { |
| return C.Type_QuW; |
| }, |
| get$length: function(receiver) { |
| return receiver.length; |
| }, |
| $index: function(receiver, index) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| return receiver[index]; |
| }, |
| $indexSet: function(receiver, index, value) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| receiver[index] = value; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [P.$int]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$int]; |
| }, |
| $isTypedData: true, |
| "%": "CanvasPixelArray|Uint8ClampedArray" |
| }, |
| NativeUint8List: { |
| "^": "NativeTypedArrayOfInt;", |
| get$runtimeType: function(receiver) { |
| return C.Type_6L0; |
| }, |
| get$length: function(receiver) { |
| return receiver.length; |
| }, |
| $index: function(receiver, index) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| return receiver[index]; |
| }, |
| $indexSet: function(receiver, index, value) { |
| var t1 = receiver.length; |
| if (index >>> 0 !== index || index >= t1) |
| this._invalidIndex$2(receiver, index, t1); |
| receiver[index] = value; |
| }, |
| $isList: true, |
| $asList: function() { |
| return [P.$int]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$int]; |
| }, |
| $isTypedData: true, |
| "%": ";Uint8Array" |
| }, |
| NativeTypedArray: { |
| "^": "NativeTypedData;", |
| get$length: function(receiver) { |
| return receiver.length; |
| }, |
| _setRangeFast$4: function(receiver, start, end, source, skipCount) { |
| var t1, count, sourceLength; |
| t1 = receiver.length + 1; |
| this._checkIndex$2(receiver, start, t1); |
| this._checkIndex$2(receiver, end, t1); |
| if (start > end) |
| throw H.wrapException(P.RangeError$range(start, 0, end)); |
| count = end - start; |
| if (skipCount < 0) |
| throw H.wrapException(P.ArgumentError$(skipCount)); |
| sourceLength = source.length; |
| if (sourceLength - skipCount < count) |
| throw H.wrapException(P.StateError$("Not enough elements")); |
| if (skipCount !== 0 || sourceLength !== count) |
| source = source.subarray(skipCount, skipCount + count); |
| receiver.set(source, start); |
| }, |
| $isJavaScriptIndexingBehavior: true |
| }, |
| NativeTypedArrayOfDouble: { |
| "^": "NativeTypedArray_ListMixin_FixedLengthListMixin;", |
| setRange$4: function(receiver, start, end, iterable, skipCount) { |
| if (!!J.getInterceptor(iterable).$isNativeTypedArrayOfDouble) { |
| this._setRangeFast$4(receiver, start, end, iterable, skipCount); |
| return; |
| } |
| P.ListMixin.prototype.setRange$4.call(this, receiver, start, end, iterable, skipCount); |
| }, |
| setRange$3: function($receiver, start, end, iterable) { |
| return this.setRange$4($receiver, start, end, iterable, 0); |
| }, |
| $isNativeTypedArrayOfDouble: true, |
| $isList: true, |
| $asList: function() { |
| return [P.$double]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$double]; |
| } |
| }, |
| NativeTypedArray_ListMixin: { |
| "^": "NativeTypedArray+ListMixin;", |
| $isList: true, |
| $asList: function() { |
| return [P.$double]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$double]; |
| } |
| }, |
| NativeTypedArray_ListMixin_FixedLengthListMixin: { |
| "^": "NativeTypedArray_ListMixin+FixedLengthListMixin;" |
| }, |
| NativeTypedArrayOfInt: { |
| "^": "NativeTypedArray_ListMixin_FixedLengthListMixin0;", |
| setRange$4: function(receiver, start, end, iterable, skipCount) { |
| if (!!J.getInterceptor(iterable).$isNativeTypedArrayOfInt) { |
| this._setRangeFast$4(receiver, start, end, iterable, skipCount); |
| return; |
| } |
| P.ListMixin.prototype.setRange$4.call(this, receiver, start, end, iterable, skipCount); |
| }, |
| setRange$3: function($receiver, start, end, iterable) { |
| return this.setRange$4($receiver, start, end, iterable, 0); |
| }, |
| $isNativeTypedArrayOfInt: true, |
| $isList: true, |
| $asList: function() { |
| return [P.$int]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$int]; |
| } |
| }, |
| NativeTypedArray_ListMixin0: { |
| "^": "NativeTypedArray+ListMixin;", |
| $isList: true, |
| $asList: function() { |
| return [P.$int]; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.$int]; |
| } |
| }, |
| NativeTypedArray_ListMixin_FixedLengthListMixin0: { |
| "^": "NativeTypedArray_ListMixin0+FixedLengthListMixin;" |
| } |
| }], |
| ["dart2js._js_primitives", "dart:_js_primitives", , H, { |
| "^": "", |
| printString: function(string) { |
| if (typeof dartPrint == "function") { |
| dartPrint(string); |
| return; |
| } |
| if (typeof console == "object" && typeof console.log != "undefined") { |
| console.log(string); |
| return; |
| } |
| if (typeof window == "object") |
| return; |
| if (typeof print == "function") { |
| print(string); |
| return; |
| } |
| throw "Unable to print message: " + String(string); |
| } |
| }], |
| ["error_view_element", "package:observatory/src/elements/error_view.dart", , F, { |
| "^": "", |
| ErrorViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier4;_error_view_element$__$error,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$error: function(receiver) { |
| return receiver._error_view_element$__$error; |
| }, |
| set$error: function(receiver, value) { |
| receiver._error_view_element$__$error = this.notifyPropertyChange$3(receiver, C.Symbol_error, receiver._error_view_element$__$error, value); |
| }, |
| static: {ErrorViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ErrorViewElement_methods.Element$created$0(receiver); |
| C.ErrorViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier4: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["eval_box_element", "package:observatory/src/elements/eval_box.dart", , L, { |
| "^": "", |
| EvalBoxElement: { |
| "^": "ObservatoryElement_ChangeNotifier5;_eval_box_element$__$text,_eval_box_element$__$lineMode,_eval_box_element$__$callback,_eval_box_element$__$results,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$text: function(receiver) { |
| return receiver._eval_box_element$__$text; |
| }, |
| set$text: function(receiver, value) { |
| receiver._eval_box_element$__$text = this.notifyPropertyChange$3(receiver, C.Symbol_text, receiver._eval_box_element$__$text, value); |
| }, |
| get$lineMode: function(receiver) { |
| return receiver._eval_box_element$__$lineMode; |
| }, |
| set$lineMode: function(receiver, value) { |
| receiver._eval_box_element$__$lineMode = this.notifyPropertyChange$3(receiver, C.Symbol_lineMode, receiver._eval_box_element$__$lineMode, value); |
| }, |
| get$callback: function(receiver) { |
| return receiver._eval_box_element$__$callback; |
| }, |
| callback$0: function($receiver) { |
| return this.get$callback($receiver).call$0(); |
| }, |
| callback$1: function($receiver, arg0) { |
| return this.get$callback($receiver).call$1(arg0); |
| }, |
| set$callback: function(receiver, value) { |
| receiver._eval_box_element$__$callback = this.notifyPropertyChange$3(receiver, C.Symbol_callback, receiver._eval_box_element$__$callback, value); |
| }, |
| get$results: function(receiver) { |
| return receiver._eval_box_element$__$results; |
| }, |
| set$results: function(receiver, value) { |
| receiver._eval_box_element$__$results = this.notifyPropertyChange$3(receiver, C.Symbol_results, receiver._eval_box_element$__$results, value); |
| }, |
| updateLineMode$3: [function(receiver, e, detail, target) { |
| var t1 = H.interceptedTypeCast(J.get$target$x(e), "$isInputElement").value; |
| t1 = this.notifyPropertyChange$3(receiver, C.Symbol_lineMode, receiver._eval_box_element$__$lineMode, t1); |
| receiver._eval_box_element$__$lineMode = t1; |
| if (J.$eq(t1, "1-line")) { |
| t1 = J.replaceAll$2$s(receiver._eval_box_element$__$text, "\n", " "); |
| receiver._eval_box_element$__$text = this.notifyPropertyChange$3(receiver, C.Symbol_text, receiver._eval_box_element$__$text, t1); |
| } |
| }, "call$3", "get$updateLineMode", 6, 0, 102, 1, 93, 94], |
| eval$3: [function(receiver, e, detail, target) { |
| var expr, t1, map; |
| J.preventDefault$0$x(e); |
| expr = receiver._eval_box_element$__$text; |
| receiver._eval_box_element$__$text = this.notifyPropertyChange$3(receiver, C.Symbol_text, expr, ""); |
| if (receiver._eval_box_element$__$callback != null) { |
| t1 = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| map = R._toObservableDeep(t1); |
| J.$indexSet$ax(map, "expr", expr); |
| J.insert$2$ax(receiver._eval_box_element$__$results, 0, map); |
| this.callback$1(receiver, expr).then$1(new L.EvalBoxElement_eval_closure(map)); |
| } |
| }, "call$3", "get$eval", 6, 0, 102, 1, 93, 94], |
| selectExpr$1: [function(receiver, e) { |
| var t1 = J.getAttribute$1$x(J.get$target$x(e), "expr"); |
| receiver._eval_box_element$__$text = this.notifyPropertyChange$3(receiver, C.Symbol_text, receiver._eval_box_element$__$text, t1); |
| }, "call$1", "get$selectExpr", 2, 0, 128, 1], |
| static: {EvalBoxElement$created: function(receiver) { |
| var t1, t2, t3; |
| t1 = R._toObservableDeep([]); |
| t2 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t3 = P.String; |
| t3 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t3, null), null, null), [t3, null]); |
| receiver._eval_box_element$__$lineMode = "1-line"; |
| receiver._eval_box_element$__$results = t1; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t2; |
| receiver.polymer$Polymer$$ = t3; |
| C.EvalBoxElement_methods.Element$created$0(receiver); |
| C.EvalBoxElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier5: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| EvalBoxElement_eval_closure: { |
| "^": "Closure:13;map_0", |
| call$1: [function(result) { |
| J.$indexSet$ax(this.map_0, "value", result); |
| }, "call$1", null, 2, 0, null, 129, "call"], |
| $isFunction: true |
| } |
| }], |
| ["eval_link_element", "package:observatory/src/elements/eval_link.dart", , R, { |
| "^": "", |
| EvalLinkElement: { |
| "^": "PolymerElement_ChangeNotifier1;_eval_link_element$__$busy,_eval_link_element$__$label,_eval_link_element$__$callback,_eval_link_element$__$expr,_eval_link_element$__$result,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$busy: function(receiver) { |
| return receiver._eval_link_element$__$busy; |
| }, |
| set$busy: function(receiver, value) { |
| receiver._eval_link_element$__$busy = this.notifyPropertyChange$3(receiver, C.Symbol_busy, receiver._eval_link_element$__$busy, value); |
| }, |
| get$label: function(receiver) { |
| return receiver._eval_link_element$__$label; |
| }, |
| set$label: function(receiver, value) { |
| receiver._eval_link_element$__$label = this.notifyPropertyChange$3(receiver, C.Symbol_label, receiver._eval_link_element$__$label, value); |
| }, |
| get$callback: function(receiver) { |
| return receiver._eval_link_element$__$callback; |
| }, |
| callback$0: function($receiver) { |
| return this.get$callback($receiver).call$0(); |
| }, |
| callback$1: function($receiver, arg0) { |
| return this.get$callback($receiver).call$1(arg0); |
| }, |
| set$callback: function(receiver, value) { |
| receiver._eval_link_element$__$callback = this.notifyPropertyChange$3(receiver, C.Symbol_callback, receiver._eval_link_element$__$callback, value); |
| }, |
| get$expr: function(receiver) { |
| return receiver._eval_link_element$__$expr; |
| }, |
| set$expr: function(receiver, value) { |
| receiver._eval_link_element$__$expr = this.notifyPropertyChange$3(receiver, C.Symbol_expr, receiver._eval_link_element$__$expr, value); |
| }, |
| get$result: function(receiver) { |
| return receiver._eval_link_element$__$result; |
| }, |
| set$result: function(receiver, value) { |
| receiver._eval_link_element$__$result = this.notifyPropertyChange$3(receiver, C.Symbol_result, receiver._eval_link_element$__$result, value); |
| }, |
| evalNow$3: [function(receiver, a, b, c) { |
| var t1 = receiver._eval_link_element$__$busy; |
| if (t1 === true) |
| return; |
| if (receiver._eval_link_element$__$callback != null) { |
| receiver._eval_link_element$__$busy = this.notifyPropertyChange$3(receiver, C.Symbol_busy, t1, true); |
| receiver._eval_link_element$__$result = this.notifyPropertyChange$3(receiver, C.Symbol_result, receiver._eval_link_element$__$result, null); |
| this.callback$1(receiver, receiver._eval_link_element$__$expr).then$1(new R.EvalLinkElement_evalNow_closure(receiver)).whenComplete$1(new R.EvalLinkElement_evalNow_closure0(receiver)); |
| } |
| }, "call$3", "get$evalNow", 6, 0, 79, 46, 47, 80], |
| static: {EvalLinkElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._eval_link_element$__$busy = false; |
| receiver._eval_link_element$__$label = "[evaluate]"; |
| receiver._eval_link_element$__$callback = null; |
| receiver._eval_link_element$__$expr = ""; |
| receiver._eval_link_element$__$result = null; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.EvalLinkElement_methods.Element$created$0(receiver); |
| C.EvalLinkElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| PolymerElement_ChangeNotifier1: { |
| "^": "PolymerElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| EvalLinkElement_evalNow_closure: { |
| "^": "Closure:130;this_0", |
| call$1: [function(obj) { |
| var t1 = this.this_0; |
| t1._eval_link_element$__$result = J.notifyPropertyChange$3$x(t1, C.Symbol_result, t1._eval_link_element$__$result, obj); |
| }, "call$1", null, 2, 0, null, 81, "call"], |
| $isFunction: true |
| }, |
| EvalLinkElement_evalNow_closure0: { |
| "^": "Closure:69;this_1", |
| call$0: [function() { |
| var t1 = this.this_1; |
| t1._eval_link_element$__$busy = J.notifyPropertyChange$3$x(t1, C.Symbol_busy, t1._eval_link_element$__$busy, false); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| } |
| }], |
| ["field_ref_element", "package:observatory/src/elements/field_ref.dart", , D, { |
| "^": "", |
| FieldRefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| static: {FieldRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.FieldRefElement_methods.Element$created$0(receiver); |
| C.FieldRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| } |
| }], |
| ["field_view_element", "package:observatory/src/elements/field_view.dart", , A, { |
| "^": "", |
| FieldViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier6;_field_view_element$__$field,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$field: function(receiver) { |
| return receiver._field_view_element$__$field; |
| }, |
| set$field: function(receiver, value) { |
| receiver._field_view_element$__$field = this.notifyPropertyChange$3(receiver, C.Symbol_field, receiver._field_view_element$__$field, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._field_view_element$__$field).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {FieldViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.FieldViewElement_methods.Element$created$0(receiver); |
| C.FieldViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier6: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["flag_list_element", "package:observatory/src/elements/flag_list.dart", , X, { |
| "^": "", |
| FlagListElement: { |
| "^": "ObservatoryElement_ChangeNotifier7;_flag_list_element$__$flagList,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$flagList: function(receiver) { |
| return receiver._flag_list_element$__$flagList; |
| }, |
| set$flagList: function(receiver, value) { |
| receiver._flag_list_element$__$flagList = this.notifyPropertyChange$3(receiver, C.Symbol_flagList, receiver._flag_list_element$__$flagList, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._flag_list_element$__$flagList).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {FlagListElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.FlagListElement_methods.Element$created$0(receiver); |
| C.FlagListElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier7: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| FlagItemElement: { |
| "^": "ObservatoryElement_ChangeNotifier8;_flag_list_element$__$flag,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$flag: function(receiver) { |
| return receiver._flag_list_element$__$flag; |
| }, |
| set$flag: function(receiver, value) { |
| receiver._flag_list_element$__$flag = this.notifyPropertyChange$3(receiver, C.Symbol_flag, receiver._flag_list_element$__$flag, value); |
| }, |
| static: {FlagItemElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.FlagItemElement_methods.Element$created$0(receiver); |
| C.FlagItemElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier8: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["function_ref_element", "package:observatory/src/elements/function_ref.dart", , U, { |
| "^": "", |
| FunctionRefElement: { |
| "^": "ServiceRefElement_ChangeNotifier;_function_ref_element$__$qualified,_function_ref_element$__$hasParent,_function_ref_element$__$hasClass,_function_ref_element$__$isDart,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$qualified: function(receiver) { |
| return receiver._function_ref_element$__$qualified; |
| }, |
| set$qualified: function(receiver, value) { |
| receiver._function_ref_element$__$qualified = this.notifyPropertyChange$3(receiver, C.Symbol_qualified, receiver._function_ref_element$__$qualified, value); |
| }, |
| refChanged$1: [function(receiver, oldValue) { |
| var refMap, t1, t2; |
| Q.ServiceRefElement.prototype.refChanged$1.call(this, receiver, oldValue); |
| this.notifyPropertyChange$3(receiver, C.Symbol_hasParent, 0, 1); |
| this.notifyPropertyChange$3(receiver, C.Symbol_hasClass, 0, 1); |
| refMap = receiver._service_ref_element$__$ref; |
| t1 = refMap != null; |
| if (t1) { |
| t2 = J.getInterceptor$asx(refMap); |
| t2 = !J.$eq(t2.$index(refMap, "kind"), "Collected") && !J.$eq(t2.$index(refMap, "kind"), "Native") && !J.$eq(t2.$index(refMap, "kind"), "Tag") && !J.$eq(t2.$index(refMap, "kind"), "Reused"); |
| } else |
| t2 = false; |
| receiver._function_ref_element$__$isDart = this.notifyPropertyChange$3(receiver, C.Symbol_isDart, receiver._function_ref_element$__$isDart, t2); |
| t2 = t1 && J.$index$asx(refMap, "parent") != null; |
| receiver._function_ref_element$__$hasParent = this.notifyPropertyChange$3(receiver, C.Symbol_hasParent, receiver._function_ref_element$__$hasParent, t2); |
| if (t1) { |
| t1 = J.getInterceptor$asx(refMap); |
| t1 = t1.$index(refMap, "owner") != null && J.$eq(t1.$index(refMap, "owner").get$serviceType(), "Class"); |
| } else |
| t1 = false; |
| receiver._function_ref_element$__$hasClass = this.notifyPropertyChange$3(receiver, C.Symbol_hasClass, receiver._function_ref_element$__$hasClass, t1); |
| }, "call$1", "get$refChanged", 2, 0, 20, 57], |
| get$hasParent: function(receiver) { |
| return receiver._function_ref_element$__$hasParent; |
| }, |
| set$hasParent: function(receiver, value) { |
| receiver._function_ref_element$__$hasParent = this.notifyPropertyChange$3(receiver, C.Symbol_hasParent, receiver._function_ref_element$__$hasParent, value); |
| }, |
| get$hasClass: function(receiver) { |
| return receiver._function_ref_element$__$hasClass; |
| }, |
| set$hasClass: function(receiver, value) { |
| receiver._function_ref_element$__$hasClass = this.notifyPropertyChange$3(receiver, C.Symbol_hasClass, receiver._function_ref_element$__$hasClass, value); |
| }, |
| get$isDart: function(receiver) { |
| return receiver._function_ref_element$__$isDart; |
| }, |
| set$isDart: function(receiver, value) { |
| receiver._function_ref_element$__$isDart = this.notifyPropertyChange$3(receiver, C.Symbol_isDart, receiver._function_ref_element$__$isDart, value); |
| }, |
| static: {FunctionRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._function_ref_element$__$qualified = true; |
| receiver._function_ref_element$__$hasParent = false; |
| receiver._function_ref_element$__$hasClass = false; |
| receiver._function_ref_element$__$isDart = false; |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.FunctionRefElement_methods.Element$created$0(receiver); |
| C.FunctionRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ServiceRefElement_ChangeNotifier: { |
| "^": "ServiceRefElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["function_view_element", "package:observatory/src/elements/function_view.dart", , N, { |
| "^": "", |
| FunctionViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier9;_function_view_element$__$function,_function_view_element$__$qualifiedName,_function_view_element$__$kind,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$$function: function(receiver) { |
| return receiver._function_view_element$__$function; |
| }, |
| set$$function: function(receiver, value) { |
| receiver._function_view_element$__$function = this.notifyPropertyChange$3(receiver, C.Symbol_function, receiver._function_view_element$__$function, value); |
| }, |
| get$qualifiedName: function(receiver) { |
| return receiver._function_view_element$__$qualifiedName; |
| }, |
| set$qualifiedName: function(receiver, value) { |
| receiver._function_view_element$__$qualifiedName = this.notifyPropertyChange$3(receiver, C.Symbol_qualifiedName, receiver._function_view_element$__$qualifiedName, value); |
| }, |
| get$kind: function(receiver) { |
| return receiver._function_view_element$__$kind; |
| }, |
| set$kind: function(receiver, value) { |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, receiver._function_view_element$__$kind, value); |
| }, |
| _getQualifiedName$1: function(receiver, $function) { |
| var t1, $parent, cls; |
| t1 = $function != null; |
| $parent = t1 && J.$index$asx($function, "parent") != null ? J.$index$asx($function, "parent") : null; |
| if ($parent != null) |
| return this._getQualifiedName$1(receiver, $parent) + "." + H.S(J.$index$asx($function, "user_name")); |
| if (t1) { |
| t1 = J.getInterceptor$asx($function); |
| t1 = t1.$index($function, "owner") != null && J.$eq(t1.$index($function, "owner").get$serviceType(), "Class"); |
| } else |
| t1 = false; |
| cls = t1 ? J.$index$asx($function, "owner") : null; |
| if (cls != null) |
| return H.S(J.$index$asx(cls, "user_name")) + "." + H.S(J.$index$asx($function, "user_name")); |
| return H.S(J.$index$asx($function, "user_name")); |
| }, |
| functionChanged$1: [function(receiver, oldValue) { |
| var t1, t2; |
| this.notifyPropertyChange$3(receiver, C.Symbol_qualifiedName, 0, 1); |
| this.notifyPropertyChange$3(receiver, C.Symbol_kind, 0, 1); |
| t1 = this._getQualifiedName$1(receiver, receiver._function_view_element$__$function); |
| receiver._function_view_element$__$qualifiedName = this.notifyPropertyChange$3(receiver, C.Symbol_qualifiedName, receiver._function_view_element$__$qualifiedName, t1); |
| t1 = J.$index$asx(receiver._function_view_element$__$function, "kind"); |
| t2 = receiver._function_view_element$__$kind; |
| switch (t1) { |
| case "kRegularFunction": |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "function"); |
| break; |
| case "kClosureFunction": |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "closure function"); |
| break; |
| case "kSignatureFunction": |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "signature function"); |
| break; |
| case "kGetterFunction": |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "getter function"); |
| break; |
| case "kSetterFunction": |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "setter function"); |
| break; |
| case "kConstructor": |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "constructor"); |
| break; |
| case "kImplicitGetterFunction": |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "implicit getter function"); |
| break; |
| case "kImplicitSetterFunction": |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "implicit setter function"); |
| break; |
| case "kStaticInitializer": |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "static initializer"); |
| break; |
| case "kMethodExtractor": |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "method extractor"); |
| break; |
| case "kNoSuchMethodDispatcher": |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "noSuchMethod dispatcher"); |
| break; |
| case "kInvokeFieldDispatcher": |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "invoke field dispatcher"); |
| break; |
| default: |
| receiver._function_view_element$__$kind = this.notifyPropertyChange$3(receiver, C.Symbol_kind, t2, "UNKNOWN"); |
| break; |
| } |
| }, "call$1", "get$functionChanged", 2, 0, 20, 57], |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._function_view_element$__$function).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {FunctionViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.FunctionViewElement_methods.Element$created$0(receiver); |
| C.FunctionViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier9: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["heap_map_element", "package:observatory/src/elements/heap_map.dart", , O, { |
| "^": "", |
| PixelReference: { |
| "^": "Object;_data,_dataIndex", |
| next$0: [function() { |
| return new O.PixelReference(this._data, this._dataIndex + 4); |
| }, "call$0", "get$next", 0, 0, 131], |
| get$index: function(_) { |
| return C.JSNumber_methods._tdivFast$1(this._dataIndex, 4); |
| }, |
| static: {"^": "PixelReference_NUM_COLOR_COMPONENTS", PixelReference$: function(data, point) { |
| var t1, t2, t3; |
| t1 = point.get$y(point); |
| t2 = J.get$width$x(data); |
| if (typeof t1 !== "number") |
| return t1.$mul(); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| t3 = point.get$x(point); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| return new O.PixelReference(data, (t1 * t2 + t3) * 4); |
| }} |
| }, |
| ObjectInfo: { |
| "^": "Object;address<,size" |
| }, |
| HeapMapElement: { |
| "^": "ObservatoryElement_ChangeNotifier10;_fragmentationCanvas,_fragmentationData,_pageHeight,_classIdToColor,_colorToClassId,_classIdToName,_heap_map_element$__$status,_heap_map_element$__$fragmentation,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$status: function(receiver) { |
| return receiver._heap_map_element$__$status; |
| }, |
| set$status: function(receiver, value) { |
| receiver._heap_map_element$__$status = this.notifyPropertyChange$3(receiver, C.Symbol_status, receiver._heap_map_element$__$status, value); |
| }, |
| get$fragmentation: function(receiver) { |
| return receiver._heap_map_element$__$fragmentation; |
| }, |
| set$fragmentation: function(receiver, value) { |
| receiver._heap_map_element$__$fragmentation = this.notifyPropertyChange$3(receiver, C.Symbol_fragmentation, receiver._heap_map_element$__$fragmentation, value); |
| }, |
| attached$0: function(receiver) { |
| var t1; |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| t1 = (receiver.shadowRoot || receiver.webkitShadowRoot).querySelector("#fragmentation"); |
| receiver._fragmentationCanvas = t1; |
| t1 = J.get$onMouseMove$x(t1); |
| H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1._eventType, W._wrapZone(this.get$_handleMouseMove(receiver)), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
| t1 = J.get$onMouseDown$x(receiver._fragmentationCanvas); |
| H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1._eventType, W._wrapZone(this.get$_handleClick(receiver)), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
| }, |
| _packColor$1: function(receiver, color) { |
| var t1, packed, component; |
| for (t1 = J.get$iterator$ax(color), packed = 0; t1.moveNext$0();) { |
| component = t1._current; |
| if (typeof component !== "number") |
| return H.iae(component); |
| packed = packed * 256 + component; |
| } |
| return packed; |
| }, |
| _addClass$3: function(receiver, classId, $name, color) { |
| var t1 = J.split$1$s($name, "@"); |
| if (0 >= t1.length) |
| return H.ioore(t1, 0); |
| receiver._classIdToName.$indexSet(0, classId, t1[0]); |
| receiver._classIdToColor.$indexSet(0, classId, color); |
| receiver._colorToClassId.$indexSet(0, this._packColor$1(receiver, color), classId); |
| }, |
| _updateClassList$2: function(receiver, classList, freeClassId) { |
| var t1, t2, t3, t4, member, classId, rng, color, t5; |
| for (t1 = J.get$iterator$ax(J.$index$asx(classList, "members")), t2 = receiver._classIdToName, t3 = receiver._classIdToColor, t4 = receiver._colorToClassId; t1.moveNext$0();) { |
| member = t1.get$current(); |
| if (!J.getInterceptor(member).$isClass) { |
| N.Logger_Logger("").info$1(H.S(member)); |
| continue; |
| } |
| classId = H.Primitives_parseInt(C.JSArray_methods.get$last(J.split$1$s(member._id, "/")), null, null); |
| rng = classId == null ? C.C__JSRandom : P._Random$(classId); |
| color = [rng.nextInt$1(128), rng.nextInt$1(128), rng.nextInt$1(128), 255]; |
| t5 = J.split$1$s(member._service$__$name, "@"); |
| if (0 >= t5.length) |
| return H.ioore(t5, 0); |
| t2.$indexSet(0, classId, t5[0]); |
| t3.$indexSet(0, classId, color); |
| t4.$indexSet(0, this._packColor$1(receiver, color), classId); |
| } |
| this._addClass$3(receiver, freeClassId, "Free", $.get$HeapMapElement__freeColor()); |
| this._addClass$3(receiver, 0, "", $.get$HeapMapElement__pageSeparationColor()); |
| }, |
| _objectAt$1: function(receiver, point) { |
| var t1, t2, pagePixels, index, pageIndex, pageOffset, pages, page, objects, offset, size, i, t3; |
| t1 = receiver._pageHeight; |
| t2 = J.get$width$x(receiver._fragmentationData); |
| if (typeof t1 !== "number") |
| return t1.$mul(); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| pagePixels = t1 * t2; |
| index = C.JSNumber_methods._tdivFast$1(O.PixelReference$(receiver._fragmentationData, point)._dataIndex, 4); |
| pageIndex = C.JSNumber_methods.$tdiv(index, pagePixels); |
| pageOffset = C.JSNumber_methods.$mod(index, pagePixels); |
| pages = J.$index$asx(receiver._heap_map_element$__$fragmentation, "pages"); |
| if (!(pageIndex < 0)) { |
| t1 = J.get$length$asx(pages); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| t1 = pageIndex >= t1; |
| } else |
| t1 = true; |
| if (t1) |
| return; |
| page = J.$index$asx(pages, pageIndex); |
| t1 = J.getInterceptor$asx(page); |
| objects = t1.$index(page, "objects"); |
| t2 = J.getInterceptor$asx(objects); |
| offset = 0; |
| size = 0; |
| i = 0; |
| while (true) { |
| t3 = t2.get$length(objects); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (!(i < t3)) |
| break; |
| size = t2.$index(objects, i); |
| if (typeof size !== "number") |
| return H.iae(size); |
| offset += size; |
| if (offset > pageOffset) { |
| pageOffset = offset - size; |
| break; |
| } |
| i += 2; |
| } |
| t1 = H.Primitives_parseInt(t1.$index(page, "object_start"), null, null); |
| t2 = J.$index$asx(receiver._heap_map_element$__$fragmentation, "unit_size_bytes"); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| return new O.ObjectInfo(J.$add$ns(t1, pageOffset * t2), J.$mul$ns(size, J.$index$asx(receiver._heap_map_element$__$fragmentation, "unit_size_bytes"))); |
| }, |
| _handleMouseMove$1: [function(receiver, $event) { |
| var t1, info, addressString, t2, className; |
| t1 = J.getInterceptor$x($event); |
| info = this._objectAt$1(receiver, t1.get$offset($event)); |
| addressString = H.S(info.size) + "B @ 0x" + J.toRadixString$1$n(info.address, 16); |
| t1 = t1.get$offset($event); |
| t1 = O.PixelReference$(receiver._fragmentationData, t1); |
| t2 = t1._dataIndex; |
| className = receiver._classIdToName.$index(0, receiver._colorToClassId.$index(0, this._packColor$1(receiver, C.NativeUint8ClampedList_methods.getRange$2(J.get$data$x(t1._data), t2, t2 + 4)))); |
| t1 = J.$eq(className, "") ? "-" : H.S(className) + " " + addressString; |
| receiver._heap_map_element$__$status = this.notifyPropertyChange$3(receiver, C.Symbol_status, receiver._heap_map_element$__$status, t1); |
| }, "call$1", "get$_handleMouseMove", 2, 0, 128, 2], |
| _handleClick$1: [function(receiver, $event) { |
| var address = J.toRadixString$1$n(this._objectAt$1(receiver, J.get$offset$x($event)).address, 16); |
| window.location.hash = "/" + H.S(J.get$link$x(J.get$isolate$x(receiver._heap_map_element$__$fragmentation))) + "/address/" + address; |
| }, "call$1", "get$_handleClick", 2, 0, 128, 2], |
| _updateFragmentationData$0: function(receiver) { |
| var t1, pages, width, t2, height; |
| t1 = receiver._heap_map_element$__$fragmentation; |
| if (t1 == null || receiver._fragmentationCanvas == null) |
| return; |
| this._updateClassList$2(receiver, J.$index$asx(t1, "class_list"), J.$index$asx(receiver._heap_map_element$__$fragmentation, "free_class_id")); |
| pages = J.$index$asx(receiver._heap_map_element$__$fragmentation, "pages"); |
| t1 = receiver._fragmentationCanvas.parentElement; |
| t1.toString; |
| width = P.Rectangle$(C.JSNumber_methods.toInt$0(C.JSNumber_methods.roundToDouble$0(t1.clientLeft)), C.JSNumber_methods.toInt$0(C.JSNumber_methods.roundToDouble$0(t1.clientTop)), C.JSNumber_methods.toInt$0(C.JSNumber_methods.roundToDouble$0(t1.clientWidth)), C.JSNumber_methods.toInt$0(C.JSNumber_methods.roundToDouble$0(t1.clientHeight)), null).width; |
| t1 = J.$tdiv$n(J.$tdiv$n(J.$index$asx(receiver._heap_map_element$__$fragmentation, "page_size_bytes"), J.$index$asx(receiver._heap_map_element$__$fragmentation, "unit_size_bytes")), width); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| t1 = 4 + t1; |
| receiver._pageHeight = t1; |
| t2 = J.get$length$asx(pages); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| height = P.min(t1 * t2, 6000); |
| t2 = P.convertNativeToDart_ImageData(J.get$context2D$x(receiver._fragmentationCanvas).createImageData(width, height)); |
| receiver._fragmentationData = t2; |
| J.set$width$x(receiver._fragmentationCanvas, J.get$width$x(t2)); |
| J.set$height$x(receiver._fragmentationCanvas, J.get$height$x(receiver._fragmentationData)); |
| this._renderPages$1(receiver, 0); |
| }, |
| _renderPages$1: function(receiver, startPage) { |
| var pages, t1, t2, startY, endY, pixel, objects, i, t3, count, color, count0, t4, t5, t6; |
| pages = J.$index$asx(receiver._heap_map_element$__$fragmentation, "pages"); |
| t1 = J.getInterceptor$asx(pages); |
| t2 = "Loaded " + startPage + " of " + H.S(t1.get$length(pages)) + " pages"; |
| receiver._heap_map_element$__$status = this.notifyPropertyChange$3(receiver, C.Symbol_status, receiver._heap_map_element$__$status, t2); |
| t2 = receiver._pageHeight; |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| startY = startPage * t2; |
| endY = startY + t2; |
| t2 = t1.get$length(pages); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| if (!(startPage >= t2)) { |
| t2 = J.get$height$x(receiver._fragmentationData); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| t2 = endY > t2; |
| } else |
| t2 = true; |
| if (t2) |
| return; |
| pixel = O.PixelReference$(receiver._fragmentationData, H.setRuntimeTypeInfo(new P.Point(0, startY), [null])); |
| objects = J.$index$asx(t1.$index(pages, startPage), "objects"); |
| t1 = J.getInterceptor$asx(objects); |
| t2 = receiver._classIdToColor; |
| i = 0; |
| while (true) { |
| t3 = t1.get$length(objects); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (!(i < t3)) |
| break; |
| count = t1.$index(objects, i); |
| color = t2.$index(0, t1.$index(objects, i + 1)); |
| for (; t3 = J.getInterceptor$n(count), count0 = t3.$sub(count, 1), t3.$gt(count, 0); count = count0) { |
| t3 = pixel._data; |
| t4 = pixel._dataIndex; |
| t5 = t4 + 4; |
| C.NativeUint8ClampedList_methods.setRange$3(J.get$data$x(t3), t4, t5, color); |
| pixel = new O.PixelReference(t3, t5); |
| } |
| i += 2; |
| } |
| while (true) { |
| t1 = pixel._dataIndex; |
| t2 = C.JSNumber_methods._tdivFast$1(t1, 4); |
| t3 = pixel._data; |
| t4 = J.getInterceptor$x(t3); |
| t5 = t4.get$width(t3); |
| if (typeof t5 !== "number") |
| return H.iae(t5); |
| t5 = C.JSNumber_methods.$mod(t2, t5); |
| t6 = t4.get$width(t3); |
| if (typeof t6 !== "number") |
| return H.iae(t6); |
| t6 = C.JSNumber_methods.$tdiv(t2, t6); |
| new P.Point(t5, t6).$builtinTypeInfo = [null]; |
| if (!(t6 < endY)) |
| break; |
| t2 = $.get$HeapMapElement__pageSeparationColor(); |
| t5 = t1 + 4; |
| C.NativeUint8ClampedList_methods.setRange$3(t4.get$data(t3), t1, t5, t2); |
| pixel = new O.PixelReference(t3, t5); |
| } |
| t1 = J.get$context2D$x(receiver._fragmentationCanvas); |
| t2 = receiver._fragmentationData; |
| J.putImageData$7$x(t1, t2, 0, 0, 0, startY, J.get$width$x(t2), endY); |
| P.Future_Future(new O.HeapMapElement__renderPages_closure(receiver, startPage), null); |
| }, |
| refresh$1: [function(receiver, done) { |
| var t1 = receiver._heap_map_element$__$fragmentation; |
| if (t1 == null) |
| return; |
| J.get$isolate$x(t1).get$1("heapmap").then$1(new O.HeapMapElement_refresh_closure(receiver)).catchError$1(new O.HeapMapElement_refresh_closure0()).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| fragmentationChanged$1: [function(receiver, oldValue) { |
| P.Future_Future(new O.HeapMapElement_fragmentationChanged_closure(receiver), null); |
| }, "call$1", "get$fragmentationChanged", 2, 0, 20, 57], |
| static: {"^": "HeapMapElement__freeColor,HeapMapElement__pageSeparationColor,HeapMapElement__PAGE_SEPARATION_HEIGHT,HeapMapElement__MAX_CANVAS_HEIGHT", HeapMapElement$created: function(receiver) { |
| var t1, t2, t3, t4, t5; |
| t1 = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| t2 = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| t3 = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| t4 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t5 = P.String; |
| t5 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t5, null), null, null), [t5, null]); |
| receiver._classIdToColor = t1; |
| receiver._colorToClassId = t2; |
| receiver._classIdToName = t3; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t4; |
| receiver.polymer$Polymer$$ = t5; |
| C.HeapMapElement_methods.Element$created$0(receiver); |
| C.HeapMapElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier10: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| HeapMapElement__renderPages_closure: { |
| "^": "Closure:69;this_0,startPage_1", |
| call$0: function() { |
| J._renderPages$1$x(this.this_0, this.startPage_1 + 1); |
| }, |
| $isFunction: true |
| }, |
| HeapMapElement_refresh_closure: { |
| "^": "Closure:101;this_0", |
| call$1: [function(response) { |
| var t1 = this.this_0; |
| t1._heap_map_element$__$fragmentation = J.notifyPropertyChange$3$x(t1, C.Symbol_fragmentation, t1._heap_map_element$__$fragmentation, response); |
| }, "call$1", null, 2, 0, null, 132, "call"], |
| $isFunction: true |
| }, |
| HeapMapElement_refresh_closure0: { |
| "^": "Closure:75;", |
| call$2: [function(e, st) { |
| N.Logger_Logger("").info$1(H.S(e) + " " + H.S(st)); |
| }, "call$2", null, 4, 0, null, 1, 133, "call"], |
| $isFunction: true |
| }, |
| HeapMapElement_fragmentationChanged_closure: { |
| "^": "Closure:69;this_0", |
| call$0: function() { |
| J._updateFragmentationData$0$x(this.this_0); |
| }, |
| $isFunction: true |
| } |
| }], |
| ["heap_profile_element", "package:observatory/src/elements/heap_profile.dart", , K, { |
| "^": "", |
| ClassSortedTable: { |
| "^": "SortedTable;columns,rows,sortedRows,_sortColumnIndex,_sortDescending,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| getSortKeyFor$2: function(row, col) { |
| var t1; |
| if (col === 0) { |
| t1 = this.rows; |
| if (row >>> 0 !== row || row >= t1.length) |
| return H.ioore(t1, row); |
| return J.get$name$x(J.$index$asx(J.get$values$x(t1[row]), col)); |
| } |
| return G.SortedTable.prototype.getSortKeyFor$2.call(this, row, col); |
| } |
| }, |
| HeapProfileElement: { |
| "^": "ObservatoryElement_ChangeNotifier11;_heap_profile_element$__$lastServiceGC,_heap_profile_element$__$lastAccumulatorReset,_newPieDataTable,_newPieChart,_oldPieDataTable,_oldPieChart,_heap_profile_element$__$classTable,_classTableBody,_heap_profile_element$__$profile,_heap_profile_element$__$isolate,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$lastServiceGC: function(receiver) { |
| return receiver._heap_profile_element$__$lastServiceGC; |
| }, |
| set$lastServiceGC: function(receiver, value) { |
| receiver._heap_profile_element$__$lastServiceGC = this.notifyPropertyChange$3(receiver, C.Symbol_lastServiceGC, receiver._heap_profile_element$__$lastServiceGC, value); |
| }, |
| get$lastAccumulatorReset: function(receiver) { |
| return receiver._heap_profile_element$__$lastAccumulatorReset; |
| }, |
| set$lastAccumulatorReset: function(receiver, value) { |
| receiver._heap_profile_element$__$lastAccumulatorReset = this.notifyPropertyChange$3(receiver, C.Symbol_lastAccumulatorReset, receiver._heap_profile_element$__$lastAccumulatorReset, value); |
| }, |
| get$classTable: function(receiver) { |
| return receiver._heap_profile_element$__$classTable; |
| }, |
| set$classTable: function(receiver, value) { |
| receiver._heap_profile_element$__$classTable = this.notifyPropertyChange$3(receiver, C.Symbol_classTable, receiver._heap_profile_element$__$classTable, value); |
| }, |
| get$profile: function(receiver) { |
| return receiver._heap_profile_element$__$profile; |
| }, |
| set$profile: function(receiver, value) { |
| receiver._heap_profile_element$__$profile = this.notifyPropertyChange$3(receiver, C.Symbol_profile, receiver._heap_profile_element$__$profile, value); |
| }, |
| get$isolate: function(receiver) { |
| return receiver._heap_profile_element$__$isolate; |
| }, |
| set$isolate: function(receiver, value) { |
| receiver._heap_profile_element$__$isolate = this.notifyPropertyChange$3(receiver, C.Symbol_isolate, receiver._heap_profile_element$__$isolate, value); |
| }, |
| attached$0: function(receiver) { |
| var t1, t2; |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| t1 = (receiver.shadowRoot || receiver.webkitShadowRoot).querySelector("#newPieChart"); |
| t2 = new G.Chart(null, P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)); |
| t2._app$_chart = P.JsObject_JsObject(J.$index$asx($.GoogleChart__api, "PieChart"), [t1]); |
| receiver._newPieChart = t2; |
| t2 = (receiver.shadowRoot || receiver.webkitShadowRoot).querySelector("#oldPieChart"); |
| t1 = new G.Chart(null, P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)); |
| t1._app$_chart = P.JsObject_JsObject(J.$index$asx($.GoogleChart__api, "PieChart"), [t2]); |
| receiver._oldPieChart = t1; |
| receiver._classTableBody = (receiver.shadowRoot || receiver.webkitShadowRoot).querySelector("#classTableBody"); |
| }, |
| _updateClasses$0: function(receiver) { |
| var t1, clsAllocations, t2, cls; |
| for (t1 = J.get$iterator$ax(J.$index$asx(receiver._heap_profile_element$__$profile, "members")); t1.moveNext$0();) { |
| clsAllocations = t1.get$current(); |
| t2 = J.getInterceptor$asx(clsAllocations); |
| cls = t2.$index(clsAllocations, "class"); |
| if (cls == null) |
| continue; |
| cls.get$newSpace().update$1(t2.$index(clsAllocations, "new")); |
| cls.get$oldSpace().update$1(t2.$index(clsAllocations, "old")); |
| } |
| }, |
| _updateClassTable$0: function(receiver) { |
| var t1, cls, t2, t3, t4, t5, t6, t7, t8, t9; |
| receiver._heap_profile_element$__$classTable.clearRows$0(); |
| for (t1 = J.get$iterator$ax(J.$index$asx(receiver._heap_profile_element$__$profile, "members")); t1.moveNext$0();) { |
| cls = J.$index$asx(t1.get$current(), "class"); |
| if (cls == null) |
| continue; |
| if (cls.get$hasNoAllocations()) |
| continue; |
| t2 = cls.get$newSpace().get$accumulated()._service$__$bytes; |
| t3 = cls.get$newSpace().get$accumulated()._service$__$instances; |
| t4 = cls.get$newSpace().get$current()._service$__$bytes; |
| t5 = cls.get$newSpace().get$current()._service$__$instances; |
| t6 = cls.get$oldSpace().get$accumulated()._service$__$bytes; |
| t7 = cls.get$oldSpace().get$accumulated()._service$__$instances; |
| t8 = cls.get$oldSpace().get$current()._service$__$bytes; |
| t9 = cls.get$oldSpace().get$current()._service$__$instances; |
| J.addRow$1$x(receiver._heap_profile_element$__$classTable, new G.SortedTableRow([cls, "", t2, t3, t4, t5, "", t6, t7, t8, t9])); |
| } |
| J.sort$0$ax(receiver._heap_profile_element$__$classTable); |
| }, |
| _fillClassTableDomRow$2: function(receiver, tr, rowIndex) { |
| var row, t1, t2, i, t3, cell; |
| row = J.$index$asx(J.get$rows$x(receiver._heap_profile_element$__$classTable), rowIndex); |
| t1 = J.getInterceptor$x(tr); |
| t2 = J.getInterceptor$x(row); |
| J.set$ref$x(J.$index$asx(J.get$children$x(J.$index$asx(t1.get$children(tr), 0)), 0), J.$index$asx(t2.get$values(row), 0)); |
| i = 1; |
| while (true) { |
| t3 = J.get$length$asx(t2.get$values(row)); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (!(i < t3)) |
| break; |
| c$0: { |
| if (C.JSArray_methods.contains$1(C.List_1_6, i)) |
| break c$0; |
| cell = J.$index$asx(t1.get$children(tr), i); |
| t3 = J.getInterceptor$x(cell); |
| t3.set$title(cell, J.toString$0(J.$index$asx(t2.get$values(row), i))); |
| t3.set$text(cell, receiver._heap_profile_element$__$classTable.getFormattedValue$2(rowIndex, i)); |
| } |
| ++i; |
| } |
| }, |
| _updateClassTableInDom$0: function(receiver) { |
| var t1, deadRows, i, t2, newRows, tr, cell, rowIndex; |
| t1 = J.get$children$x(receiver._classTableBody); |
| if (t1.get$length(t1) > receiver._heap_profile_element$__$classTable.get$sortedRows().length) { |
| t1 = J.get$children$x(receiver._classTableBody); |
| deadRows = t1.get$length(t1) - receiver._heap_profile_element$__$classTable.get$sortedRows().length; |
| for (i = 0; i < deadRows; ++i) |
| J.get$children$x(receiver._classTableBody).removeLast$0(0); |
| } else { |
| t1 = J.get$children$x(receiver._classTableBody); |
| if (t1.get$length(t1) < receiver._heap_profile_element$__$classTable.get$sortedRows().length) { |
| t1 = receiver._heap_profile_element$__$classTable.get$sortedRows().length; |
| t2 = J.get$children$x(receiver._classTableBody); |
| newRows = t1 - t2.get$length(t2); |
| for (i = 0; i < newRows; ++i) { |
| tr = document.createElement("tr", null); |
| t1 = J.getInterceptor$x(tr); |
| t1.insertCell$1(tr, -1).appendChild(W._ElementFactoryProvider_createElement_tag("class-ref", null)); |
| cell = t1.insertCell$1(tr, -1); |
| cell.toString; |
| new W._ElementCssClassSet(cell).add$1(0, "left-border-spacer"); |
| t1.insertCell$1(tr, -1); |
| t1.insertCell$1(tr, -1); |
| t1.insertCell$1(tr, -1); |
| t1.insertCell$1(tr, -1); |
| cell = t1.insertCell$1(tr, -1); |
| cell.toString; |
| new W._ElementCssClassSet(cell).add$1(0, "left-border-spacer"); |
| t1.insertCell$1(tr, -1); |
| t1.insertCell$1(tr, -1); |
| t1.insertCell$1(tr, -1); |
| t1.insertCell$1(tr, -1); |
| J.get$children$x(receiver._classTableBody).add$1(0, tr); |
| } |
| } |
| } |
| for (i = 0; i < receiver._heap_profile_element$__$classTable.get$sortedRows().length; ++i) { |
| t1 = receiver._heap_profile_element$__$classTable.get$sortedRows(); |
| if (i >= t1.length) |
| return H.ioore(t1, i); |
| rowIndex = t1[i]; |
| this._fillClassTableDomRow$2(receiver, J.get$children$x(receiver._classTableBody).$index(0, i), rowIndex); |
| } |
| }, |
| changeSort$3: [function(receiver, e, detail, target) { |
| var t1, t2, t3; |
| if (!!J.getInterceptor(target).$isTableCellElement) { |
| t1 = receiver._heap_profile_element$__$classTable.get$sortColumnIndex(); |
| t2 = target.cellIndex; |
| t3 = receiver._heap_profile_element$__$classTable; |
| if (t1 == null ? t2 != null : t1 !== t2) { |
| t3.set$sortColumnIndex(t2); |
| receiver._heap_profile_element$__$classTable.set$sortDescending(true); |
| } else |
| t3.set$sortDescending(!t3.get$sortDescending()); |
| J.sort$0$ax(receiver._heap_profile_element$__$classTable); |
| this._updateClassTableInDom$0(receiver); |
| } |
| }, "call$3", "get$changeSort", 6, 0, 92, 1, 93, 94], |
| refresh$1: [function(receiver, done) { |
| var t1 = receiver._heap_profile_element$__$profile; |
| if (t1 == null) |
| return; |
| J.get$isolate$x(t1).get$1("/allocationprofile").then$1(this.get$_heap_profile_element$_update(receiver)).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| refreshGC$1: [function(receiver, done) { |
| var t1 = receiver._heap_profile_element$__$profile; |
| if (t1 == null) |
| return; |
| J.get$isolate$x(t1).get$1("/allocationprofile?gc=full").then$1(this.get$_heap_profile_element$_update(receiver)).whenComplete$1(done); |
| }, "call$1", "get$refreshGC", 2, 0, 20, 89], |
| resetAccumulator$1: [function(receiver, done) { |
| var t1 = receiver._heap_profile_element$__$profile; |
| if (t1 == null) |
| return; |
| J.get$isolate$x(t1).get$1("/allocationprofile?reset=true").then$1(this.get$_heap_profile_element$_update(receiver)).whenComplete$1(done); |
| }, "call$1", "get$resetAccumulator", 2, 0, 20, 89], |
| _heap_profile_element$_update$1: [function(receiver, newProfile) { |
| receiver._heap_profile_element$__$profile = this.notifyPropertyChange$3(receiver, C.Symbol_profile, receiver._heap_profile_element$__$profile, newProfile); |
| }, "call$1", "get$_heap_profile_element$_update", 2, 0, 134, 135], |
| profileChanged$1: [function(receiver, oldValue) { |
| var t1, millis, isolate, t2, t3; |
| t1 = receiver._heap_profile_element$__$profile; |
| if (t1 == null) |
| return; |
| t1 = J.get$isolate$x(t1); |
| t1 = this.notifyPropertyChange$3(receiver, C.Symbol_isolate, receiver._heap_profile_element$__$isolate, t1); |
| receiver._heap_profile_element$__$isolate = t1; |
| t1.updateHeapsFromMap$1(J.$index$asx(receiver._heap_profile_element$__$profile, "heaps")); |
| millis = H.Primitives_parseInt(J.$index$asx(receiver._heap_profile_element$__$profile, "dateLastAccumulatorReset"), null, null); |
| if (!J.$eq(millis, 0)) { |
| t1 = P.DateTime$fromMillisecondsSinceEpoch(millis, false).toString$0(0); |
| receiver._heap_profile_element$__$lastAccumulatorReset = this.notifyPropertyChange$3(receiver, C.Symbol_lastAccumulatorReset, receiver._heap_profile_element$__$lastAccumulatorReset, t1); |
| } |
| millis = H.Primitives_parseInt(J.$index$asx(receiver._heap_profile_element$__$profile, "dateLastServiceGC"), null, null); |
| if (!J.$eq(millis, 0)) { |
| t1 = P.DateTime$fromMillisecondsSinceEpoch(millis, false).toString$0(0); |
| receiver._heap_profile_element$__$lastServiceGC = this.notifyPropertyChange$3(receiver, C.Symbol_lastServiceGC, receiver._heap_profile_element$__$lastServiceGC, t1); |
| } |
| t1 = receiver._newPieDataTable._app$_table; |
| t1.callMethod$2("removeRows", [0, t1.callMethod$1("getNumberOfRows")]); |
| isolate = J.get$isolate$x(receiver._heap_profile_element$__$profile); |
| t1 = receiver._newPieDataTable; |
| t2 = isolate.get$newSpace().get$used(); |
| t1 = t1._app$_table; |
| t3 = []; |
| C.JSArray_methods.addAll$1(t3, C.JSArray_methods.map$1(["Used", t2], P._convertToJS$closure())); |
| t1.callMethod$2("addRow", [H.setRuntimeTypeInfo(new P.JsArray(t3), [null])]); |
| t3 = receiver._newPieDataTable; |
| t1 = J.$sub$n(isolate.get$newSpace().get$capacity(), isolate.get$newSpace().get$used()); |
| t3 = t3._app$_table; |
| t2 = []; |
| C.JSArray_methods.addAll$1(t2, C.JSArray_methods.map$1(["Free", t1], P._convertToJS$closure())); |
| t3.callMethod$2("addRow", [H.setRuntimeTypeInfo(new P.JsArray(t2), [null])]); |
| t2 = receiver._newPieDataTable; |
| t3 = isolate.get$newSpace().get$external(); |
| t2 = t2._app$_table; |
| t1 = []; |
| C.JSArray_methods.addAll$1(t1, C.JSArray_methods.map$1(["External", t3], P._convertToJS$closure())); |
| t2.callMethod$2("addRow", [H.setRuntimeTypeInfo(new P.JsArray(t1), [null])]); |
| t1 = receiver._oldPieDataTable._app$_table; |
| t1.callMethod$2("removeRows", [0, t1.callMethod$1("getNumberOfRows")]); |
| t1 = receiver._oldPieDataTable; |
| t2 = isolate.get$oldSpace().get$used(); |
| t1 = t1._app$_table; |
| t3 = []; |
| C.JSArray_methods.addAll$1(t3, C.JSArray_methods.map$1(["Used", t2], P._convertToJS$closure())); |
| t1.callMethod$2("addRow", [H.setRuntimeTypeInfo(new P.JsArray(t3), [null])]); |
| t3 = receiver._oldPieDataTable; |
| t1 = J.$sub$n(isolate.get$oldSpace().get$capacity(), isolate.get$oldSpace().get$used()); |
| t3 = t3._app$_table; |
| t2 = []; |
| C.JSArray_methods.addAll$1(t2, C.JSArray_methods.map$1(["Free", t1], P._convertToJS$closure())); |
| t3.callMethod$2("addRow", [H.setRuntimeTypeInfo(new P.JsArray(t2), [null])]); |
| t2 = receiver._oldPieDataTable; |
| t3 = isolate.get$oldSpace().get$external(); |
| t2 = t2._app$_table; |
| t1 = []; |
| C.JSArray_methods.addAll$1(t1, C.JSArray_methods.map$1(["External", t3], P._convertToJS$closure())); |
| t2.callMethod$2("addRow", [H.setRuntimeTypeInfo(new P.JsArray(t1), [null])]); |
| this._updateClasses$0(receiver); |
| this._updateClassTable$0(receiver); |
| this._updateClassTableInDom$0(receiver); |
| receiver._newPieChart.draw$1(receiver._newPieDataTable); |
| receiver._oldPieChart.draw$1(receiver._oldPieDataTable); |
| this.notifyPropertyChange$3(receiver, C.Symbol_formattedAverage, 0, 1); |
| this.notifyPropertyChange$3(receiver, C.Symbol_formattedTotalCollectionTime, 0, 1); |
| this.notifyPropertyChange$3(receiver, C.Symbol_formattedCollections, 0, 1); |
| }, "call$1", "get$profileChanged", 2, 0, 20, 57], |
| formattedAverage$1: [function(receiver, newSpace) { |
| var t1, t2, heap; |
| t1 = receiver._heap_profile_element$__$profile; |
| if (t1 == null) |
| return ""; |
| t2 = J.getInterceptor$x(t1); |
| heap = newSpace === true ? t2.get$isolate(t1).get$newSpace() : t2.get$isolate(t1).get$oldSpace(); |
| return C.JSNumber_methods.toStringAsFixed$1(J.$div$n(J.$mul$ns(heap.get$totalCollectionTimeInSeconds(), 1000), heap.get$collections()), 2) + " ms"; |
| }, "call$1", "get$formattedAverage", 2, 0, 136, 137], |
| formattedCollections$1: [function(receiver, newSpace) { |
| var t1, t2; |
| t1 = receiver._heap_profile_element$__$profile; |
| if (t1 == null) |
| return ""; |
| t2 = J.getInterceptor$x(t1); |
| return J.toString$0((newSpace === true ? t2.get$isolate(t1).get$newSpace() : t2.get$isolate(t1).get$oldSpace()).get$collections()); |
| }, "call$1", "get$formattedCollections", 2, 0, 136, 137], |
| formattedTotalCollectionTime$1: [function(receiver, newSpace) { |
| var t1, t2; |
| t1 = receiver._heap_profile_element$__$profile; |
| if (t1 == null) |
| return ""; |
| t2 = J.getInterceptor$x(t1); |
| return J.toStringAsFixed$1$n((newSpace === true ? t2.get$isolate(t1).get$newSpace() : t2.get$isolate(t1).get$oldSpace()).get$totalCollectionTimeInSeconds(), 2) + " secs"; |
| }, "call$1", "get$formattedTotalCollectionTime", 2, 0, 136, 137], |
| HeapProfileElement$created$0: function(receiver) { |
| var t1 = P.JsObject_JsObject(J.$index$asx($.GoogleChart__api, "DataTable"), null); |
| receiver._newPieDataTable = new G.DataTable(t1); |
| t1.callMethod$2("addColumn", ["string", "Type"]); |
| receiver._newPieDataTable._app$_table.callMethod$2("addColumn", ["number", "Size"]); |
| t1 = P.JsObject_JsObject(J.$index$asx($.GoogleChart__api, "DataTable"), null); |
| receiver._oldPieDataTable = new G.DataTable(t1); |
| t1.callMethod$2("addColumn", ["string", "Type"]); |
| receiver._oldPieDataTable._app$_table.callMethod$2("addColumn", ["number", "Size"]); |
| t1 = H.setRuntimeTypeInfo([], [G.SortedTableRow]); |
| t1 = this.notifyPropertyChange$3(receiver, C.Symbol_classTable, receiver._heap_profile_element$__$classTable, new K.ClassSortedTable([new G.SortedTableColumn("Class", G.SortedTableColumn_toStringFormatter$closure()), new G.SortedTableColumn("", G.SortedTableColumn_toStringFormatter$closure()), new G.SortedTableColumn("Accumulated Size (New)", G.Utils_formatSize$closure()), new G.SortedTableColumn("Accumulated Instances", G.Utils_formatCommaSeparated$closure()), new G.SortedTableColumn("Current Size", G.Utils_formatSize$closure()), new G.SortedTableColumn("Current Instances", G.Utils_formatCommaSeparated$closure()), new G.SortedTableColumn("", G.SortedTableColumn_toStringFormatter$closure()), new G.SortedTableColumn("Accumulator Size (Old)", G.Utils_formatSize$closure()), new G.SortedTableColumn("Accumulator Instances", G.Utils_formatCommaSeparated$closure()), new G.SortedTableColumn("Current Size", G.Utils_formatSize$closure()), new G.SortedTableColumn("Current Instances", G.Utils_formatCommaSeparated$closure())], t1, [], 0, true, null, null)); |
| receiver._heap_profile_element$__$classTable = t1; |
| t1.set$sortColumnIndex(2); |
| }, |
| static: {HeapProfileElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._heap_profile_element$__$lastServiceGC = "---"; |
| receiver._heap_profile_element$__$lastAccumulatorReset = "---"; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.HeapProfileElement_methods.Element$created$0(receiver); |
| C.HeapProfileElement_methods.PolymerElement$created$0(receiver); |
| C.HeapProfileElement_methods.HeapProfileElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier11: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["html_common", "dart:html_common", , P, { |
| "^": "", |
| _convertDartToNative_PrepareForStructuredClone: function(value) { |
| var copies, copy; |
| copies = []; |
| copy = new P._convertDartToNative_PrepareForStructuredClone_walk(new P._convertDartToNative_PrepareForStructuredClone_findSlot([], copies), new P._convertDartToNative_PrepareForStructuredClone_readSlot(copies), new P._convertDartToNative_PrepareForStructuredClone_writeSlot(copies)).call$1(value); |
| new P._convertDartToNative_PrepareForStructuredClone_cleanupSlots().call$0(); |
| return copy; |
| }, |
| convertNativeToDart_AcceptStructuredClone: function(object, mustCopy) { |
| var copies = []; |
| return new P.convertNativeToDart_AcceptStructuredClone_walk(mustCopy, new P.convertNativeToDart_AcceptStructuredClone_findSlot([], copies), new P.convertNativeToDart_AcceptStructuredClone_readSlot(copies), new P.convertNativeToDart_AcceptStructuredClone_writeSlot(copies)).call$1(object); |
| }, |
| convertNativeToDart_ImageData: function(nativeImageData) { |
| var t1, data; |
| t1 = J.getInterceptor(nativeImageData); |
| if (!!t1.$isImageData) { |
| data = t1.get$data(nativeImageData); |
| if (data.constructor === Array) |
| if (typeof CanvasPixelArray !== "undefined") { |
| data.constructor = CanvasPixelArray; |
| data.BYTES_PER_ELEMENT = 1; |
| } |
| return nativeImageData; |
| } |
| return new P._TypedImageData(nativeImageData.data, nativeImageData.height, nativeImageData.width); |
| }, |
| convertDartToNative_ImageData: function(imageData) { |
| if (!!J.getInterceptor(imageData).$is_TypedImageData) |
| return {data: imageData.data, height: imageData.height, width: imageData.width}; |
| return imageData; |
| }, |
| Device_isWebKit: function() { |
| var t1 = $.Device__isWebKit; |
| if (t1 == null) { |
| t1 = $.Device__isOpera; |
| if (t1 == null) { |
| t1 = J.contains$2$asx(window.navigator.userAgent, "Opera", 0); |
| $.Device__isOpera = t1; |
| } |
| t1 = t1 !== true && J.contains$2$asx(window.navigator.userAgent, "WebKit", 0); |
| $.Device__isWebKit = t1; |
| } |
| return t1; |
| }, |
| _convertDartToNative_PrepareForStructuredClone_findSlot: { |
| "^": "Closure:48;values_1,copies_2", |
| call$1: function(value) { |
| var t1, $length, i; |
| t1 = this.values_1; |
| $length = t1.length; |
| for (i = 0; i < $length; ++i) |
| if (t1[i] === value) |
| return i; |
| t1.push(value); |
| this.copies_2.push(null); |
| return $length; |
| }, |
| $isFunction: true |
| }, |
| _convertDartToNative_PrepareForStructuredClone_readSlot: { |
| "^": "Closure:138;copies_3", |
| call$1: function(i) { |
| var t1 = this.copies_3; |
| if (i >= t1.length) |
| return H.ioore(t1, i); |
| return t1[i]; |
| }, |
| $isFunction: true |
| }, |
| _convertDartToNative_PrepareForStructuredClone_writeSlot: { |
| "^": "Closure:139;copies_4", |
| call$2: function(i, x) { |
| var t1 = this.copies_4; |
| if (i >= t1.length) |
| return H.ioore(t1, i); |
| t1[i] = x; |
| }, |
| $isFunction: true |
| }, |
| _convertDartToNative_PrepareForStructuredClone_cleanupSlots: { |
| "^": "Closure:69;", |
| call$0: function() { |
| }, |
| $isFunction: true |
| }, |
| _convertDartToNative_PrepareForStructuredClone_walk: { |
| "^": "Closure:13;findSlot_5,readSlot_6,writeSlot_7", |
| call$1: function(e) { |
| var t1, t2, slot, copy, $length, i; |
| t1 = {}; |
| if (e == null) |
| return e; |
| if (typeof e === "boolean") |
| return e; |
| if (typeof e === "number") |
| return e; |
| if (typeof e === "string") |
| return e; |
| t2 = J.getInterceptor(e); |
| if (!!t2.$isDateTime) |
| return new Date(e.millisecondsSinceEpoch); |
| if (!!t2.$isRegExp) |
| throw H.wrapException(P.UnimplementedError$("structured clone of RegExp")); |
| if (!!t2.$isFile) |
| return e; |
| if (!!t2.$isBlob) |
| return e; |
| if (!!t2.$isImageData) |
| return e; |
| if (!!t2.$isNativeByteBuffer) |
| return e; |
| if (!!t2.$isNativeTypedData) |
| return e; |
| if (!!t2.$isMap) { |
| slot = this.findSlot_5.call$1(e); |
| copy = this.readSlot_6.call$1(slot); |
| t1.copy_0 = copy; |
| if (copy != null) |
| return copy; |
| copy = {}; |
| t1.copy_0 = copy; |
| this.writeSlot_7.call$2(slot, copy); |
| t2.forEach$1(e, new P._convertDartToNative_PrepareForStructuredClone_walk_closure(t1, this)); |
| return t1.copy_0; |
| } |
| if (!!t2.$isList) { |
| $length = t2.get$length(e); |
| slot = this.findSlot_5.call$1(e); |
| copy = this.readSlot_6.call$1(slot); |
| if (copy != null) { |
| if (true === copy) { |
| copy = new Array($length); |
| this.writeSlot_7.call$2(slot, copy); |
| } |
| return copy; |
| } |
| copy = new Array($length); |
| this.writeSlot_7.call$2(slot, copy); |
| for (i = 0; i < $length; ++i) { |
| t1 = this.call$1(t2.$index(e, i)); |
| if (i >= copy.length) |
| return H.ioore(copy, i); |
| copy[i] = t1; |
| } |
| return copy; |
| } |
| throw H.wrapException(P.UnimplementedError$("structured clone of other type")); |
| }, |
| $isFunction: true |
| }, |
| _convertDartToNative_PrepareForStructuredClone_walk_closure: { |
| "^": "Closure:75;box_0,walk_8", |
| call$2: function(key, value) { |
| this.box_0.copy_0[key] = this.walk_8.call$1(value); |
| }, |
| $isFunction: true |
| }, |
| convertNativeToDart_AcceptStructuredClone_findSlot: { |
| "^": "Closure:48;values_0,copies_1", |
| call$1: function(value) { |
| var t1, $length, i, t2; |
| t1 = this.values_0; |
| $length = t1.length; |
| for (i = 0; i < $length; ++i) { |
| t2 = t1[i]; |
| if (t2 == null ? value == null : t2 === value) |
| return i; |
| } |
| t1.push(value); |
| this.copies_1.push(null); |
| return $length; |
| }, |
| $isFunction: true |
| }, |
| convertNativeToDart_AcceptStructuredClone_readSlot: { |
| "^": "Closure:138;copies_2", |
| call$1: function(i) { |
| var t1 = this.copies_2; |
| if (i >= t1.length) |
| return H.ioore(t1, i); |
| return t1[i]; |
| }, |
| $isFunction: true |
| }, |
| convertNativeToDart_AcceptStructuredClone_writeSlot: { |
| "^": "Closure:139;copies_3", |
| call$2: function(i, x) { |
| var t1 = this.copies_3; |
| if (i >= t1.length) |
| return H.ioore(t1, i); |
| t1[i] = x; |
| }, |
| $isFunction: true |
| }, |
| convertNativeToDart_AcceptStructuredClone_walk: { |
| "^": "Closure:13;mustCopy_4,findSlot_5,readSlot_6,writeSlot_7", |
| call$1: function(e) { |
| var slot, copy, t1, key, $length, t2, i; |
| if (e == null) |
| return e; |
| if (typeof e === "boolean") |
| return e; |
| if (typeof e === "number") |
| return e; |
| if (typeof e === "string") |
| return e; |
| if (e instanceof Date) |
| return P.DateTime$fromMillisecondsSinceEpoch(e.getTime(), true); |
| if (e instanceof RegExp) |
| throw H.wrapException(P.UnimplementedError$("structured clone of RegExp")); |
| if (Object.getPrototypeOf(e) === Object.prototype) { |
| slot = this.findSlot_5.call$1(e); |
| copy = this.readSlot_6.call$1(slot); |
| if (copy != null) |
| return copy; |
| copy = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| this.writeSlot_7.call$2(slot, copy); |
| for (t1 = Object.keys(e), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { |
| key = t1._current; |
| copy.$indexSet(0, key, this.call$1(e[key])); |
| } |
| return copy; |
| } |
| if (e instanceof Array) { |
| slot = this.findSlot_5.call$1(e); |
| copy = this.readSlot_6.call$1(slot); |
| if (copy != null) |
| return copy; |
| t1 = J.getInterceptor$asx(e); |
| $length = t1.get$length(e); |
| copy = this.mustCopy_4 ? new Array($length) : e; |
| this.writeSlot_7.call$2(slot, copy); |
| if (typeof $length !== "number") |
| return H.iae($length); |
| t2 = J.getInterceptor$ax(copy); |
| i = 0; |
| for (; i < $length; ++i) |
| t2.$indexSet(copy, i, this.call$1(t1.$index(e, i))); |
| return copy; |
| } |
| return e; |
| }, |
| $isFunction: true |
| }, |
| _TypedImageData: { |
| "^": "Object;data>,height>,width>", |
| $is_TypedImageData: true, |
| $isImageData: true |
| }, |
| CssClassSetImpl: { |
| "^": "Object;", |
| toString$0: function(_) { |
| return this.readClasses$0().join$1(0, " "); |
| }, |
| get$iterator: function(_) { |
| var t1 = this.readClasses$0(); |
| t1 = H.setRuntimeTypeInfo(new P.LinkedHashSetIterator(t1, t1._modifications, null, null), [null]); |
| t1._cell = t1._set._first; |
| return t1; |
| }, |
| forEach$1: function(_, f) { |
| this.readClasses$0().forEach$1(0, f); |
| }, |
| join$1: function(_, separator) { |
| return this.readClasses$0().join$1(0, separator); |
| }, |
| map$1: [function(_, f) { |
| var t1 = this.readClasses$0(); |
| return H.setRuntimeTypeInfo(new H.EfficientLengthMappedIterable(t1, f), [H.getTypeArgumentByIndex(t1, 0), null]); |
| }, "call$1", "get$map", 2, 0, 140, 31], |
| where$1: function(_, f) { |
| var t1 = this.readClasses$0(); |
| return H.setRuntimeTypeInfo(new H.WhereIterable(t1, f), [H.getTypeArgumentByIndex(t1, 0)]); |
| }, |
| expand$1: [function(_, f) { |
| var t1 = this.readClasses$0(); |
| return H.setRuntimeTypeInfo(new H.ExpandIterable(t1, f), [H.getTypeArgumentByIndex(t1, 0), null]); |
| }, "call$1", "get$expand", 2, 0, 141, 31], |
| any$1: function(_, f) { |
| return this.readClasses$0().any$1(0, f); |
| }, |
| get$isEmpty: function(_) { |
| return this.readClasses$0()._collection$_length === 0; |
| }, |
| get$isNotEmpty: function(_) { |
| return this.readClasses$0()._collection$_length !== 0; |
| }, |
| get$length: function(_) { |
| return this.readClasses$0()._collection$_length; |
| }, |
| contains$1: function(_, value) { |
| return this.readClasses$0().contains$1(0, value); |
| }, |
| lookup$1: function(value) { |
| return this.readClasses$0().contains$1(0, value) ? value : null; |
| }, |
| add$1: function(_, value) { |
| return this.modify$1(new P.CssClassSetImpl_add_closure(value)); |
| }, |
| remove$1: function(_, value) { |
| var s, result; |
| s = this.readClasses$0(); |
| result = s.remove$1(0, value); |
| this.writeClasses$1(s); |
| return result; |
| }, |
| addAll$1: function(_, iterable) { |
| this.modify$1(new P.CssClassSetImpl_addAll_closure(iterable)); |
| }, |
| get$last: function(_) { |
| var t1 = this.readClasses$0()._last; |
| if (t1 == null) |
| H.throwExpression(P.StateError$("No elements")); |
| return t1.get$_element(t1); |
| }, |
| toList$1$growable: function(_, growable) { |
| return this.readClasses$0().toList$1$growable(0, growable); |
| }, |
| toList$0: function($receiver) { |
| return this.toList$1$growable($receiver, true); |
| }, |
| clear$0: function(_) { |
| this.modify$1(new P.CssClassSetImpl_clear_closure()); |
| }, |
| modify$1: function(f) { |
| var s, ret; |
| s = this.readClasses$0(); |
| ret = f.call$1(s); |
| this.writeClasses$1(s); |
| return ret; |
| }, |
| $isEfficientLength: true, |
| $isIterable: true, |
| $asIterable: function() { |
| return [P.String]; |
| } |
| }, |
| CssClassSetImpl_add_closure: { |
| "^": "Closure:13;value_0", |
| call$1: [function(s) { |
| return J.add$1$ax(s, this.value_0); |
| }, "call$1", null, 2, 0, null, 142, "call"], |
| $isFunction: true |
| }, |
| CssClassSetImpl_addAll_closure: { |
| "^": "Closure:13;iterable_0", |
| call$1: [function(s) { |
| return J.addAll$1$ax(s, this.iterable_0); |
| }, "call$1", null, 2, 0, null, 142, "call"], |
| $isFunction: true |
| }, |
| CssClassSetImpl_clear_closure: { |
| "^": "Closure:13;", |
| call$1: [function(s) { |
| return J.clear$0$ax(s); |
| }, "call$1", null, 2, 0, null, 142, "call"], |
| $isFunction: true |
| }, |
| FilteredElementList: { |
| "^": "ListBase;_html_common$_node,_childNodes", |
| get$_filtered: function() { |
| var t1 = this._childNodes; |
| return P.List_List$from(t1.where$1(t1, new P.FilteredElementList__filtered_closure()), true, W.Element); |
| }, |
| forEach$1: function(_, f) { |
| H.IterableMixinWorkaround_forEach(this.get$_filtered(), f); |
| }, |
| $indexSet: function(_, index, value) { |
| var t1 = this.get$_filtered(); |
| if (index >>> 0 !== index || index >= t1.length) |
| return H.ioore(t1, index); |
| J.replaceWith$1$x(t1[index], value); |
| }, |
| set$length: function(_, newLength) { |
| var len = this.get$_filtered().length; |
| if (newLength >= len) |
| return; |
| else if (newLength < 0) |
| throw H.wrapException(P.ArgumentError$("Invalid list length")); |
| this.removeRange$2(0, newLength, len); |
| }, |
| add$1: function(_, value) { |
| this._childNodes._this.appendChild(value); |
| }, |
| addAll$1: function(_, iterable) { |
| var t1, t2; |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(iterable, iterable.length, 0, null), [H.getTypeArgumentByIndex(iterable, 0)]), t2 = this._childNodes._this; t1.moveNext$0();) |
| t2.appendChild(t1._current); |
| }, |
| contains$1: function(_, needle) { |
| return false; |
| }, |
| sort$1: function(_, compare) { |
| throw H.wrapException(P.UnsupportedError$("Cannot sort filtered list")); |
| }, |
| sort$0: function($receiver) { |
| return this.sort$1($receiver, null); |
| }, |
| setRange$4: function(_, start, end, iterable, skipCount) { |
| throw H.wrapException(P.UnsupportedError$("Cannot setRange on filtered list")); |
| }, |
| setRange$3: function($receiver, start, end, iterable) { |
| return this.setRange$4($receiver, start, end, iterable, 0); |
| }, |
| removeRange$2: function(_, start, end) { |
| H.IterableMixinWorkaround_forEach(C.JSArray_methods.sublist$2(this.get$_filtered(), start, end), new P.FilteredElementList_removeRange_closure()); |
| }, |
| clear$0: function(_) { |
| J._clearChildren$0$x(this._childNodes._this); |
| }, |
| removeLast$0: function(_) { |
| var result = this.get$last(this); |
| if (result != null) |
| J.remove$0$ax(result); |
| return result; |
| }, |
| insert$2: function(_, index, value) { |
| this._childNodes.insert$2(0, index, value); |
| }, |
| insertAll$2: function(_, index, iterable) { |
| var t1, t2; |
| t1 = this._childNodes._this; |
| t2 = t1.childNodes; |
| if (index < 0 || index >= t2.length) |
| return H.ioore(t2, index); |
| J.insertAllBefore$2$x(t1, iterable, t2[index]); |
| }, |
| get$length: function(_) { |
| return this.get$_filtered().length; |
| }, |
| $index: function(_, index) { |
| var t1 = this.get$_filtered(); |
| if (index >>> 0 !== index || index >= t1.length) |
| return H.ioore(t1, index); |
| return t1[index]; |
| }, |
| get$iterator: function(_) { |
| var t1 = this.get$_filtered(); |
| return H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); |
| } |
| }, |
| FilteredElementList__filtered_closure: { |
| "^": "Closure:13;", |
| call$1: function(n) { |
| return !!J.getInterceptor(n).$isElement; |
| }, |
| $isFunction: true |
| }, |
| FilteredElementList_removeRange_closure: { |
| "^": "Closure:13;", |
| call$1: function(el) { |
| return J.remove$0$ax(el); |
| }, |
| $isFunction: true |
| } |
| }], |
| ["instance_ref_element", "package:observatory/src/elements/instance_ref.dart", , B, { |
| "^": "", |
| InstanceRefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$hoverText: function(receiver) { |
| var t1 = receiver._service_ref_element$__$ref; |
| if (t1 != null) |
| if (J.$eq(t1.get$serviceType(), "Null")) |
| if (J.$eq(J.get$id$x(receiver._service_ref_element$__$ref), "objects/optimized-out")) |
| return "This object is no longer needed and has been removed by the optimizing compiler."; |
| else if (J.$eq(J.get$id$x(receiver._service_ref_element$__$ref), "objects/collected")) |
| return "This object has been reclaimed by the garbage collector."; |
| else if (J.$eq(J.get$id$x(receiver._service_ref_element$__$ref), "objects/expired")) |
| return "The handle to this object has expired. Consider refreshing the page."; |
| else if (J.$eq(J.get$id$x(receiver._service_ref_element$__$ref), "objects/not-initialized")) |
| return "This object will be initialized once it is accessed by the program."; |
| else if (J.$eq(J.get$id$x(receiver._service_ref_element$__$ref), "objects/being-initialized")) |
| return "This object is currently being initialized."; |
| return Q.ServiceRefElement.prototype.get$hoverText.call(this, receiver); |
| }, |
| expander$0: [function(receiver) { |
| return this.get$expandEvent(receiver); |
| }, "call$0", "get$expander", 0, 0, 69], |
| expandEvent$2: [function(receiver, expand, done) { |
| var t1, t2; |
| t1 = receiver._service_ref_element$__$ref; |
| if (expand === true) |
| J.reload$0$x(t1).then$1(new B.InstanceRefElement_expandEvent_closure(receiver)).whenComplete$1(done); |
| else { |
| t2 = J.getInterceptor$ax(t1); |
| t2.$indexSet(t1, "fields", null); |
| t2.$indexSet(t1, "elements", null); |
| done.call$0(); |
| } |
| }, "call$2", "get$expandEvent", 4, 0, 143, 144, 89], |
| static: {InstanceRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.InstanceRefElement_methods.Element$created$0(receiver); |
| C.InstanceRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| InstanceRefElement_expandEvent_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(result) { |
| var t1, t2; |
| t1 = J.getInterceptor$asx(result); |
| if (t1.$index(result, "valueAsString") != null) { |
| t1.set$name(result, t1.$index(result, "valueAsString")); |
| result.set$vmName(t1.$index(result, "valueAsString")); |
| } |
| t1 = this.this_0; |
| t2 = J.getInterceptor$x(t1); |
| t1._service_ref_element$__$ref = t2.notifyPropertyChange$3(t1, C.Symbol_ref, t1._service_ref_element$__$ref, result); |
| t2.notifyPropertyChange$3(t1, C.Symbol_ref, 0, 1); |
| }, "call$1", null, 2, 0, null, 129, "call"], |
| $isFunction: true |
| } |
| }], |
| ["instance_view_element", "package:observatory/src/elements/instance_view.dart", , Z, { |
| "^": "", |
| InstanceViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier12;_instance_view_element$__$instance,_instance_view_element$__$path,_instance_view_element$__$retainedBytes,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$instance: function(receiver) { |
| return receiver._instance_view_element$__$instance; |
| }, |
| set$instance: function(receiver, value) { |
| receiver._instance_view_element$__$instance = this.notifyPropertyChange$3(receiver, C.Symbol_instance, receiver._instance_view_element$__$instance, value); |
| }, |
| get$path: function(receiver) { |
| return receiver._instance_view_element$__$path; |
| }, |
| set$path: function(receiver, value) { |
| receiver._instance_view_element$__$path = this.notifyPropertyChange$3(receiver, C.Symbol_path, receiver._instance_view_element$__$path, value); |
| }, |
| get$retainedBytes: function(receiver) { |
| return receiver._instance_view_element$__$retainedBytes; |
| }, |
| set$retainedBytes: function(receiver, value) { |
| receiver._instance_view_element$__$retainedBytes = this.notifyPropertyChange$3(receiver, C.Symbol_retainedBytes, receiver._instance_view_element$__$retainedBytes, value); |
| }, |
| eval$1: [function(receiver, text) { |
| return J.get$isolate$x(receiver._instance_view_element$__$instance).get$1(J.$add$ns(J.get$id$x(receiver._instance_view_element$__$instance), "/eval?expr=" + P.Uri__uriEncode(C.List_KIf, text, C.Utf8Codec_false, false))); |
| }, "call$1", "get$eval", 2, 0, 96, 97], |
| retainedSize$1: [function(receiver, dummy) { |
| return J.get$isolate$x(receiver._instance_view_element$__$instance).get$1(J.$add$ns(J.get$id$x(receiver._instance_view_element$__$instance), "/retained")).then$1(new Z.InstanceViewElement_retainedSize_closure(receiver)); |
| }, "call$1", "get$retainedSize", 2, 0, 98, 100], |
| retainingPath$1: [function(receiver, arg) { |
| return J.get$isolate$x(receiver._instance_view_element$__$instance).get$1(J.$add$ns(J.get$id$x(receiver._instance_view_element$__$instance), "/retaining_path?limit=" + H.S(arg))).then$1(new Z.InstanceViewElement_retainingPath_closure(receiver)); |
| }, "call$1", "get$retainingPath", 2, 0, 98, 33], |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._instance_view_element$__$instance).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {InstanceViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._instance_view_element$__$retainedBytes = null; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.InstanceViewElement_methods.Element$created$0(receiver); |
| C.InstanceViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier12: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| InstanceViewElement_retainedSize_closure: { |
| "^": "Closure:101;this_0", |
| call$1: [function(obj) { |
| var t1, t2; |
| t1 = this.this_0; |
| t2 = H.Primitives_parseInt(J.$index$asx(obj, "valueAsString"), null, null); |
| t1._instance_view_element$__$retainedBytes = J.notifyPropertyChange$3$x(t1, C.Symbol_retainedBytes, t1._instance_view_element$__$retainedBytes, t2); |
| }, "call$1", null, 2, 0, null, 81, "call"], |
| $isFunction: true |
| }, |
| InstanceViewElement_retainingPath_closure: { |
| "^": "Closure:130;this_0", |
| call$1: [function(obj) { |
| var t1 = this.this_0; |
| t1._instance_view_element$__$path = J.notifyPropertyChange$3$x(t1, C.Symbol_path, t1._instance_view_element$__$path, obj); |
| }, "call$1", null, 2, 0, null, 81, "call"], |
| $isFunction: true |
| } |
| }], |
| ["io_view_element", "package:observatory/src/elements/io_view.dart", , E, { |
| "^": "", |
| IOViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier13;_io_view_element$__$io,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$io: function(receiver) { |
| return receiver._io_view_element$__$io; |
| }, |
| set$io: function(receiver, value) { |
| receiver._io_view_element$__$io = this.notifyPropertyChange$3(receiver, C.Symbol_io, receiver._io_view_element$__$io, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._io_view_element$__$io).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {IOViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOViewElement_methods.Element$created$0(receiver); |
| C.IOViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier13: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IORefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| static: {IORefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IORefElement_methods.Element$created$0(receiver); |
| C.IORefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| IOHttpServerListViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier14;_io_view_element$__$list,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$list: function(receiver) { |
| return receiver._io_view_element$__$list; |
| }, |
| set$list: function(receiver, value) { |
| receiver._io_view_element$__$list = this.notifyPropertyChange$3(receiver, C.Symbol_list, receiver._io_view_element$__$list, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._io_view_element$__$list).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {IOHttpServerListViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOHttpServerListViewElement_methods.Element$created$0(receiver); |
| C.IOHttpServerListViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier14: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IOHttpServerRefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| static: {IOHttpServerRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOHttpServerRefElement_methods.Element$created$0(receiver); |
| C.IOHttpServerRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| IOHttpServerViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier15;_io_view_element$__$httpServer,_updateTimer,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$httpServer: function(receiver) { |
| return receiver._io_view_element$__$httpServer; |
| }, |
| set$httpServer: function(receiver, value) { |
| receiver._io_view_element$__$httpServer = this.notifyPropertyChange$3(receiver, C.Symbol_httpServer, receiver._io_view_element$__$httpServer, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._io_view_element$__$httpServer).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| _updateHttpServer$0: [function(receiver) { |
| J.reload$0$x(receiver._io_view_element$__$httpServer).whenComplete$1(new E.IOHttpServerViewElement__updateHttpServer_closure(receiver)); |
| }, "call$0", "get$_updateHttpServer", 0, 0, 18], |
| attached$0: function(receiver) { |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| receiver._updateTimer = P.Timer_Timer(P.Duration$(0, 0, 0, 0, 0, 1), this.get$_updateHttpServer(receiver)); |
| }, |
| detached$0: function(receiver) { |
| var t1; |
| Z.ObservatoryElement.prototype.detached$0.call(this, receiver); |
| t1 = receiver._updateTimer; |
| if (t1 != null) { |
| t1.cancel$0(); |
| receiver._updateTimer = null; |
| } |
| }, |
| static: {IOHttpServerViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOHttpServerViewElement_methods.Element$created$0(receiver); |
| C.IOHttpServerViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier15: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IOHttpServerViewElement__updateHttpServer_closure: { |
| "^": "Closure:69;this_0", |
| call$0: [function() { |
| var t1 = this.this_0; |
| if (t1._updateTimer != null) |
| t1._updateTimer = P.Timer_Timer(P.Duration$(0, 0, 0, 0, 0, 1), J.get$_updateHttpServer$x(t1)); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| IOHttpServerConnectionViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier16;_io_view_element$__$connection,_updateTimer,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$connection: function(receiver) { |
| return receiver._io_view_element$__$connection; |
| }, |
| set$connection: function(receiver, value) { |
| receiver._io_view_element$__$connection = this.notifyPropertyChange$3(receiver, C.Symbol_connection, receiver._io_view_element$__$connection, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._io_view_element$__$connection).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| _updateHttpServer$0: [function(receiver) { |
| J.reload$0$x(receiver._io_view_element$__$connection).whenComplete$1(new E.IOHttpServerConnectionViewElement__updateHttpServer_closure(receiver)); |
| }, "call$0", "get$_updateHttpServer", 0, 0, 18], |
| attached$0: function(receiver) { |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| receiver._updateTimer = P.Timer_Timer(P.Duration$(0, 0, 0, 0, 0, 1), this.get$_updateHttpServer(receiver)); |
| }, |
| detached$0: function(receiver) { |
| var t1; |
| Z.ObservatoryElement.prototype.detached$0.call(this, receiver); |
| t1 = receiver._updateTimer; |
| if (t1 != null) { |
| t1.cancel$0(); |
| receiver._updateTimer = null; |
| } |
| }, |
| static: {IOHttpServerConnectionViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOHttpServerConnectionViewElement_methods.Element$created$0(receiver); |
| C.IOHttpServerConnectionViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier16: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IOHttpServerConnectionViewElement__updateHttpServer_closure: { |
| "^": "Closure:69;this_0", |
| call$0: [function() { |
| var t1 = this.this_0; |
| if (t1._updateTimer != null) |
| t1._updateTimer = P.Timer_Timer(P.Duration$(0, 0, 0, 0, 0, 1), J.get$_updateHttpServer$x(t1)); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| IOHttpServerConnectionRefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| static: {IOHttpServerConnectionRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOHttpServerConnectionRefElement_methods.Element$created$0(receiver); |
| C.IOHttpServerConnectionRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| IOSocketRefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| static: {IOSocketRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOSocketRefElement_methods.Element$created$0(receiver); |
| C.IOSocketRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| IOSocketListViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier17;_io_view_element$__$list,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$list: function(receiver) { |
| return receiver._io_view_element$__$list; |
| }, |
| set$list: function(receiver, value) { |
| receiver._io_view_element$__$list = this.notifyPropertyChange$3(receiver, C.Symbol_list, receiver._io_view_element$__$list, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._io_view_element$__$list).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {IOSocketListViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOSocketListViewElement_methods.Element$created$0(receiver); |
| C.IOSocketListViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier17: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IOSocketViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier18;_io_view_element$__$socket,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$socket: function(receiver) { |
| return receiver._io_view_element$__$socket; |
| }, |
| set$socket: function(receiver, value) { |
| receiver._io_view_element$__$socket = this.notifyPropertyChange$3(receiver, C.Symbol_socket, receiver._io_view_element$__$socket, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._io_view_element$__$socket).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {IOSocketViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOSocketViewElement_methods.Element$created$0(receiver); |
| C.IOSocketViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier18: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IOWebSocketRefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| static: {IOWebSocketRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOWebSocketRefElement_methods.Element$created$0(receiver); |
| C.IOWebSocketRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| IOWebSocketListViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier19;_io_view_element$__$list,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$list: function(receiver) { |
| return receiver._io_view_element$__$list; |
| }, |
| set$list: function(receiver, value) { |
| receiver._io_view_element$__$list = this.notifyPropertyChange$3(receiver, C.Symbol_list, receiver._io_view_element$__$list, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._io_view_element$__$list).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {IOWebSocketListViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOWebSocketListViewElement_methods.Element$created$0(receiver); |
| C.IOWebSocketListViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier19: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IOWebSocketViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier20;_io_view_element$__$webSocket,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$webSocket: function(receiver) { |
| return receiver._io_view_element$__$webSocket; |
| }, |
| set$webSocket: function(receiver, value) { |
| receiver._io_view_element$__$webSocket = this.notifyPropertyChange$3(receiver, C.Symbol_webSocket, receiver._io_view_element$__$webSocket, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._io_view_element$__$webSocket).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {IOWebSocketViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOWebSocketViewElement_methods.Element$created$0(receiver); |
| C.IOWebSocketViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier20: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IORandomAccessFileListViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier21;_io_view_element$__$list,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$list: function(receiver) { |
| return receiver._io_view_element$__$list; |
| }, |
| set$list: function(receiver, value) { |
| receiver._io_view_element$__$list = this.notifyPropertyChange$3(receiver, C.Symbol_list, receiver._io_view_element$__$list, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._io_view_element$__$list).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {IORandomAccessFileListViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IORandomAccessFileListViewElement_methods.Element$created$0(receiver); |
| C.IORandomAccessFileListViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier21: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IORandomAccessFileRefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| static: {IORandomAccessFileRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IORandomAccessFileRefElement_methods.Element$created$0(receiver); |
| C.IORandomAccessFileRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| IORandomAccessFileViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier22;_io_view_element$__$file,_updateTimer,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$file: function(receiver) { |
| return receiver._io_view_element$__$file; |
| }, |
| set$file: function(receiver, value) { |
| receiver._io_view_element$__$file = this.notifyPropertyChange$3(receiver, C.Symbol_file, receiver._io_view_element$__$file, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._io_view_element$__$file).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| _updateFile$0: [function(receiver) { |
| J.reload$0$x(receiver._io_view_element$__$file).whenComplete$1(new E.IORandomAccessFileViewElement__updateFile_closure(receiver)); |
| }, "call$0", "get$_updateFile", 0, 0, 18], |
| attached$0: function(receiver) { |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| receiver._updateTimer = P.Timer_Timer(P.Duration$(0, 0, 0, 0, 0, 1), this.get$_updateFile(receiver)); |
| }, |
| detached$0: function(receiver) { |
| var t1; |
| Z.ObservatoryElement.prototype.detached$0.call(this, receiver); |
| t1 = receiver._updateTimer; |
| if (t1 != null) { |
| t1.cancel$0(); |
| receiver._updateTimer = null; |
| } |
| }, |
| static: {IORandomAccessFileViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IORandomAccessFileViewElement_methods.Element$created$0(receiver); |
| C.IORandomAccessFileViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier22: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IORandomAccessFileViewElement__updateFile_closure: { |
| "^": "Closure:69;this_0", |
| call$0: [function() { |
| var t1 = this.this_0; |
| if (t1._updateTimer != null) |
| t1._updateTimer = P.Timer_Timer(P.Duration$(0, 0, 0, 0, 0, 1), J.get$_updateFile$x(t1)); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| IOProcessListViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier23;_io_view_element$__$list,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$list: function(receiver) { |
| return receiver._io_view_element$__$list; |
| }, |
| set$list: function(receiver, value) { |
| receiver._io_view_element$__$list = this.notifyPropertyChange$3(receiver, C.Symbol_list, receiver._io_view_element$__$list, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._io_view_element$__$list).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {IOProcessListViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOProcessListViewElement_methods.Element$created$0(receiver); |
| C.IOProcessListViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier23: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IOProcessRefElement: { |
| "^": "ServiceRefElement_ChangeNotifier0;_io_view_element$__$small,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$small: function(receiver) { |
| return receiver._io_view_element$__$small; |
| }, |
| set$small: function(receiver, value) { |
| receiver._io_view_element$__$small = this.notifyPropertyChange$3(receiver, C.Symbol_small, receiver._io_view_element$__$small, value); |
| }, |
| static: {IOProcessRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._io_view_element$__$small = false; |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOProcessRefElement_methods.Element$created$0(receiver); |
| C.IOProcessRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ServiceRefElement_ChangeNotifier0: { |
| "^": "ServiceRefElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IOProcessViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier24;_io_view_element$__$process,_updateTimer,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$process: function(receiver) { |
| return receiver._io_view_element$__$process; |
| }, |
| process$0: function($receiver) { |
| return this.get$process($receiver).call$0(); |
| }, |
| set$process: function(receiver, value) { |
| receiver._io_view_element$__$process = this.notifyPropertyChange$3(receiver, C.Symbol_process, receiver._io_view_element$__$process, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._io_view_element$__$process).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| _updateFile$0: [function(receiver) { |
| J.reload$0$x(receiver._io_view_element$__$process).whenComplete$1(new E.IOProcessViewElement__updateFile_closure(receiver)); |
| }, "call$0", "get$_updateFile", 0, 0, 18], |
| attached$0: function(receiver) { |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| receiver._updateTimer = P.Timer_Timer(P.Duration$(0, 0, 0, 0, 0, 1), this.get$_updateFile(receiver)); |
| }, |
| detached$0: function(receiver) { |
| var t1; |
| Z.ObservatoryElement.prototype.detached$0.call(this, receiver); |
| t1 = receiver._updateTimer; |
| if (t1 != null) { |
| t1.cancel$0(); |
| receiver._updateTimer = null; |
| } |
| }, |
| static: {IOProcessViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IOProcessViewElement_methods.Element$created$0(receiver); |
| C.IOProcessViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier24: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IOProcessViewElement__updateFile_closure: { |
| "^": "Closure:69;this_0", |
| call$0: [function() { |
| var t1 = this.this_0; |
| if (t1._updateTimer != null) |
| t1._updateTimer = P.Timer_Timer(P.Duration$(0, 0, 0, 0, 0, 1), J.get$_updateFile$x(t1)); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| } |
| }], |
| ["isolate_profile_element", "package:observatory/src/elements/isolate_profile.dart", , X, { |
| "^": "", |
| ProfileCodeTrieNodeTreeRow: { |
| "^": "TableTreeRow;profile>,root,node,tipKind<,tipParent<,tipExclusive<,tipTicks<,tipTime<,parent,depth,children,columns,_app$__$expander,_app$__$expanderStyle,_expanded,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$code: function(_) { |
| return J.get$code$x(this.node); |
| }, |
| onShow$0: function(_) { |
| var t1, threshold, t2, t3, t4, t5, childNode, t6; |
| t1 = this.profile; |
| threshold = J.$index$asx(t1, "threshold"); |
| t2 = this.children; |
| if (t2.length > 0) |
| return; |
| for (t3 = this.node, t4 = J.get$iterator$ax(J.get$children$x(t3)), t5 = this.root; t4.moveNext$0();) { |
| childNode = t4.get$current(); |
| t6 = J.$div$n(childNode.get$count(), t3.get$count()); |
| if (typeof threshold !== "number") |
| return H.iae(threshold); |
| if (!(t6 > threshold || J.$div$n(J.get$code$x(childNode).get$exclusiveTicks(), t5.count) > threshold)) |
| continue; |
| t2.push(X.ProfileCodeTrieNodeTreeRow$(t1, t5, childNode, this)); |
| } |
| }, |
| onHide$0: function() { |
| }, |
| hasChildren$0: function() { |
| return J.get$length$asx(J.get$children$x(this.node)) > 0; |
| }, |
| ProfileCodeTrieNodeTreeRow$4: function(profile, root, node, $parent) { |
| var t1, t2; |
| t1 = this.node; |
| this.tipTicks = H.S(t1.get$count()); |
| this.tipTime = G.Utils_formatTimePrecise(J.$div$n(J.$mul$ns(J.$index$asx(this.profile, "period"), t1.get$count()), 1000000)); |
| t2 = J.getInterceptor$x(t1); |
| if (J.$eq(J.get$kind$x(t2.get$code(t1)), C.CodeKind_Tag)) { |
| this.tipKind = "Tag (category)"; |
| if ($parent == null) |
| this.tipParent = G.Utils_formatPercent(t1.get$count(), this.root.count); |
| else |
| this.tipParent = G.Utils_formatPercent(t1.get$count(), $parent.node.get$count()); |
| this.tipExclusive = G.Utils_formatPercent(t1.get$count(), this.root.count); |
| } else { |
| if (J.$eq(J.get$kind$x(t2.get$code(t1)), C.CodeKind_Collected) || J.$eq(J.get$kind$x(t2.get$code(t1)), C.CodeKind_Reused)) |
| this.tipKind = "Garbage Collected Code"; |
| else |
| this.tipKind = H.S(J.get$kind$x(t2.get$code(t1))) + " (Function)"; |
| if ($parent == null) |
| this.tipParent = G.Utils_formatPercent(t1.get$count(), this.root.count); |
| else |
| this.tipParent = G.Utils_formatPercent(t1.get$count(), $parent.node.get$count()); |
| this.tipExclusive = G.Utils_formatPercent(t2.get$code(t1).get$exclusiveTicks(), this.root.count); |
| } |
| t1 = this.columns; |
| t1.push(this.tipParent); |
| t1.push(this.tipExclusive); |
| }, |
| static: {ProfileCodeTrieNodeTreeRow$: function(profile, root, node, $parent) { |
| var t1, t2; |
| t1 = H.setRuntimeTypeInfo([], [G.TableTreeRow]); |
| t2 = $parent != null ? $parent.depth + 1 : 0; |
| t1 = new X.ProfileCodeTrieNodeTreeRow(profile, root, node, "", "", "", "", "", $parent, t2, t1, [], "\u2192", "cursor: pointer;", false, null, null); |
| t1.TableTreeRow$1($parent); |
| t1.ProfileCodeTrieNodeTreeRow$4(profile, root, node, $parent); |
| return t1; |
| }} |
| }, |
| IsolateProfileElement: { |
| "^": "ObservatoryElement_ChangeNotifier25;_isolate_profile_element$__$profile,_isolate_profile_element$__$hideTagsChecked,_isolate_profile_element$__$sampleCount,_isolate_profile_element$__$refreshTime,_isolate_profile_element$__$sampleRate,_isolate_profile_element$__$sampleDepth,_isolate_profile_element$__$displayCutoff,_isolate_profile_element$__$timeSpan,displayThreshold,_isolate_profile_element$__$tagSelector,_isolate_profile_element$_id,tree=,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$profile: function(receiver) { |
| return receiver._isolate_profile_element$__$profile; |
| }, |
| set$profile: function(receiver, value) { |
| receiver._isolate_profile_element$__$profile = this.notifyPropertyChange$3(receiver, C.Symbol_profile, receiver._isolate_profile_element$__$profile, value); |
| }, |
| get$hideTagsChecked: function(receiver) { |
| return receiver._isolate_profile_element$__$hideTagsChecked; |
| }, |
| set$hideTagsChecked: function(receiver, value) { |
| receiver._isolate_profile_element$__$hideTagsChecked = this.notifyPropertyChange$3(receiver, C.Symbol_hideTagsChecked, receiver._isolate_profile_element$__$hideTagsChecked, value); |
| }, |
| get$sampleCount: function(receiver) { |
| return receiver._isolate_profile_element$__$sampleCount; |
| }, |
| set$sampleCount: function(receiver, value) { |
| receiver._isolate_profile_element$__$sampleCount = this.notifyPropertyChange$3(receiver, C.Symbol_sampleCount, receiver._isolate_profile_element$__$sampleCount, value); |
| }, |
| get$refreshTime: function(receiver) { |
| return receiver._isolate_profile_element$__$refreshTime; |
| }, |
| set$refreshTime: function(receiver, value) { |
| receiver._isolate_profile_element$__$refreshTime = this.notifyPropertyChange$3(receiver, C.Symbol_refreshTime, receiver._isolate_profile_element$__$refreshTime, value); |
| }, |
| get$sampleRate: function(receiver) { |
| return receiver._isolate_profile_element$__$sampleRate; |
| }, |
| set$sampleRate: function(receiver, value) { |
| receiver._isolate_profile_element$__$sampleRate = this.notifyPropertyChange$3(receiver, C.Symbol_sampleRate, receiver._isolate_profile_element$__$sampleRate, value); |
| }, |
| get$sampleDepth: function(receiver) { |
| return receiver._isolate_profile_element$__$sampleDepth; |
| }, |
| set$sampleDepth: function(receiver, value) { |
| receiver._isolate_profile_element$__$sampleDepth = this.notifyPropertyChange$3(receiver, C.Symbol_sampleDepth, receiver._isolate_profile_element$__$sampleDepth, value); |
| }, |
| get$displayCutoff: function(receiver) { |
| return receiver._isolate_profile_element$__$displayCutoff; |
| }, |
| set$displayCutoff: function(receiver, value) { |
| receiver._isolate_profile_element$__$displayCutoff = this.notifyPropertyChange$3(receiver, C.Symbol_displayCutoff, receiver._isolate_profile_element$__$displayCutoff, value); |
| }, |
| get$timeSpan: function(receiver) { |
| return receiver._isolate_profile_element$__$timeSpan; |
| }, |
| set$timeSpan: function(receiver, value) { |
| receiver._isolate_profile_element$__$timeSpan = this.notifyPropertyChange$3(receiver, C.Symbol_timeSpan, receiver._isolate_profile_element$__$timeSpan, value); |
| }, |
| get$tagSelector: function(receiver) { |
| return receiver._isolate_profile_element$__$tagSelector; |
| }, |
| set$tagSelector: function(receiver, value) { |
| receiver._isolate_profile_element$__$tagSelector = this.notifyPropertyChange$3(receiver, C.Symbol_tagSelector, receiver._isolate_profile_element$__$tagSelector, value); |
| }, |
| profileChanged$1: [function(receiver, oldValue) { |
| var t1, totalSamples, now, period, t2; |
| t1 = receiver._isolate_profile_element$__$profile; |
| if (t1 == null) |
| return; |
| totalSamples = J.$index$asx(t1, "samples"); |
| now = new P.DateTime(Date.now(), false); |
| now.DateTime$_now$0(); |
| t1 = J.toString$0(totalSamples); |
| receiver._isolate_profile_element$__$sampleCount = this.notifyPropertyChange$3(receiver, C.Symbol_sampleCount, receiver._isolate_profile_element$__$sampleCount, t1); |
| t1 = now.toString$0(0); |
| receiver._isolate_profile_element$__$refreshTime = this.notifyPropertyChange$3(receiver, C.Symbol_refreshTime, receiver._isolate_profile_element$__$refreshTime, t1); |
| t1 = J.toString$0(J.$index$asx(receiver._isolate_profile_element$__$profile, "depth")); |
| receiver._isolate_profile_element$__$sampleDepth = this.notifyPropertyChange$3(receiver, C.Symbol_sampleDepth, receiver._isolate_profile_element$__$sampleDepth, t1); |
| period = J.$index$asx(receiver._isolate_profile_element$__$profile, "period"); |
| if (typeof period !== "number") |
| return H.iae(period); |
| t1 = C.JSNumber_methods.toStringAsFixed$1(1000000 / period, 0); |
| receiver._isolate_profile_element$__$sampleRate = this.notifyPropertyChange$3(receiver, C.Symbol_sampleRate, receiver._isolate_profile_element$__$sampleRate, t1); |
| t1 = G.Utils_formatTime(J.$index$asx(receiver._isolate_profile_element$__$profile, "timeSpan")); |
| receiver._isolate_profile_element$__$timeSpan = this.notifyPropertyChange$3(receiver, C.Symbol_timeSpan, receiver._isolate_profile_element$__$timeSpan, t1); |
| t1 = receiver.displayThreshold; |
| t2 = C.JSDouble_methods.toString$0(t1 * 100) + "%"; |
| receiver._isolate_profile_element$__$displayCutoff = this.notifyPropertyChange$3(receiver, C.Symbol_displayCutoff, receiver._isolate_profile_element$__$displayCutoff, t2); |
| J.get$isolate$x(receiver._isolate_profile_element$__$profile).processProfile$1(receiver._isolate_profile_element$__$profile); |
| J.$indexSet$ax(receiver._isolate_profile_element$__$profile, "threshold", t1); |
| this._isolate_profile_element$_update$0(receiver); |
| }, "call$1", "get$profileChanged", 2, 0, 20, 57], |
| attached$0: function(receiver) { |
| var t1; |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| t1 = R._toObservableDeep([]); |
| receiver.tree = new G.TableTree(t1, null, null); |
| this._isolate_profile_element$_update$0(receiver); |
| }, |
| tagSelectorChanged$1: [function(receiver, oldValue) { |
| this.refresh$1(receiver, null); |
| }, "call$1", "get$tagSelectorChanged", 2, 0, 20, 57], |
| refresh$1: [function(receiver, done) { |
| var request = "profile?tags=" + H.S(receiver._isolate_profile_element$__$tagSelector); |
| J.get$isolate$x(receiver._isolate_profile_element$__$profile).get$1(request).then$1(new X.IsolateProfileElement_refresh_closure(receiver)).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| _isolate_profile_element$_update$0: function(receiver) { |
| if (receiver._isolate_profile_element$__$profile == null) |
| return; |
| this._buildStackTree$0(receiver); |
| }, |
| _buildStackTree$0: function(receiver) { |
| var root, e, stackTrace, exception, t1; |
| root = J.get$isolate$x(receiver._isolate_profile_element$__$profile).get$profileTrieRoot(); |
| if (root == null) |
| return; |
| try { |
| receiver.tree.initialize$1(X.ProfileCodeTrieNodeTreeRow$(receiver._isolate_profile_element$__$profile, root, root, null)); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| stackTrace = new H._StackTrace(exception, null); |
| N.Logger_Logger("").warning$3("_buildStackTree", e, stackTrace); |
| } |
| |
| if (J.$eq(J.get$length$asx(receiver.tree.rows), 1)) |
| receiver.tree.toggle$1(0); |
| this.notifyPropertyChange$3(receiver, C.Symbol_tree, null, receiver.tree); |
| }, |
| padding$1: [function(receiver, row) { |
| return "padding-left: " + row.get$depth() * 16 + "px;"; |
| }, "call$1", "get$padding", 2, 0, 90, 91], |
| coloring$1: [function(receiver, row) { |
| return C.List_mBx[C.JSInt_methods.$mod(row.get$depth() - 1, 9)]; |
| }, "call$1", "get$coloring", 2, 0, 90, 91], |
| toggleExpanded$3: [function(receiver, e, detail, target) { |
| var row, e0, stackTrace, t1, t2, exception; |
| t1 = J.getInterceptor$x(e); |
| if (!J.$eq(J.get$id$x(t1.get$target(e)), "expand") && !J.$eq(t1.get$target(e), target)) |
| return; |
| row = J.get$parent$x(target); |
| if (!!J.getInterceptor(row).$isTableRowElement) |
| try { |
| t1 = receiver.tree; |
| t2 = J.get$rowIndex$x(row); |
| if (typeof t2 !== "number") |
| return t2.$sub(); |
| t1.toggle$1(t2 - 1); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e0 = t1; |
| stackTrace = new H._StackTrace(exception, null); |
| N.Logger_Logger("").warning$3("toggleExpanded", e0, stackTrace); |
| } |
| |
| }, "call$3", "get$toggleExpanded", 6, 0, 92, 1, 93, 94], |
| static: {"^": "IsolateProfileElement_MICROSECONDS_PER_SECOND", IsolateProfileElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._isolate_profile_element$__$sampleCount = ""; |
| receiver._isolate_profile_element$__$refreshTime = ""; |
| receiver._isolate_profile_element$__$sampleRate = ""; |
| receiver._isolate_profile_element$__$sampleDepth = ""; |
| receiver._isolate_profile_element$__$displayCutoff = ""; |
| receiver._isolate_profile_element$__$timeSpan = ""; |
| receiver.displayThreshold = 0.0002; |
| receiver._isolate_profile_element$__$tagSelector = "uv"; |
| receiver._isolate_profile_element$_id = "#tableTree"; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IsolateProfileElement_methods.Element$created$0(receiver); |
| C.IsolateProfileElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier25: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IsolateProfileElement_refresh_closure: { |
| "^": "Closure:101;this_0", |
| call$1: [function(m) { |
| var t1 = this.this_0; |
| t1._isolate_profile_element$__$profile = J.notifyPropertyChange$3$x(t1, C.Symbol_profile, t1._isolate_profile_element$__$profile, m); |
| }, "call$1", null, 2, 0, null, 145, "call"], |
| $isFunction: true |
| } |
| }], |
| ["isolate_ref_element", "package:observatory/src/elements/isolate_ref.dart", , N, { |
| "^": "", |
| IsolateRefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| static: {IsolateRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IsolateRefElement_methods.Element$created$0(receiver); |
| C.IsolateRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| } |
| }], |
| ["isolate_summary_element", "package:observatory/src/elements/isolate_summary.dart", , D, { |
| "^": "", |
| IsolateSummaryElement: { |
| "^": "ObservatoryElement_ChangeNotifier26;_isolate_summary_element$__$isolate,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$isolate: function(receiver) { |
| return receiver._isolate_summary_element$__$isolate; |
| }, |
| set$isolate: function(receiver, value) { |
| receiver._isolate_summary_element$__$isolate = this.notifyPropertyChange$3(receiver, C.Symbol_isolate, receiver._isolate_summary_element$__$isolate, value); |
| }, |
| static: {IsolateSummaryElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IsolateSummaryElement_methods.Element$created$0(receiver); |
| C.IsolateSummaryElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier26: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IsolateRunStateElement: { |
| "^": "ObservatoryElement_ChangeNotifier27;_isolate_summary_element$__$isolate,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$isolate: function(receiver) { |
| return receiver._isolate_summary_element$__$isolate; |
| }, |
| set$isolate: function(receiver, value) { |
| receiver._isolate_summary_element$__$isolate = this.notifyPropertyChange$3(receiver, C.Symbol_isolate, receiver._isolate_summary_element$__$isolate, value); |
| }, |
| pause$1: [function(receiver, _) { |
| return receiver._isolate_summary_element$__$isolate.get$1("debug/pause").then$1(new D.IsolateRunStateElement_pause_closure(receiver)); |
| }, "call$1", "get$pause", 2, 0, 146, 14], |
| resume$1: [function(receiver, _) { |
| return receiver._isolate_summary_element$__$isolate.get$1("debug/resume").then$1(new D.IsolateRunStateElement_resume_closure(receiver)); |
| }, "call$1", "get$resume", 2, 0, 146, 14], |
| static: {IsolateRunStateElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IsolateRunStateElement_methods.Element$created$0(receiver); |
| C.IsolateRunStateElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier27: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IsolateRunStateElement_pause_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(result) { |
| return J.reload$0$x(this.this_0._isolate_summary_element$__$isolate); |
| }, "call$1", null, 2, 0, null, 129, "call"], |
| $isFunction: true |
| }, |
| IsolateRunStateElement_resume_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(result) { |
| return J.reload$0$x(this.this_0._isolate_summary_element$__$isolate); |
| }, "call$1", null, 2, 0, null, 129, "call"], |
| $isFunction: true |
| }, |
| IsolateLocationElement: { |
| "^": "ObservatoryElement_ChangeNotifier28;_isolate_summary_element$__$isolate,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$isolate: function(receiver) { |
| return receiver._isolate_summary_element$__$isolate; |
| }, |
| set$isolate: function(receiver, value) { |
| receiver._isolate_summary_element$__$isolate = this.notifyPropertyChange$3(receiver, C.Symbol_isolate, receiver._isolate_summary_element$__$isolate, value); |
| }, |
| static: {IsolateLocationElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IsolateLocationElement_methods.Element$created$0(receiver); |
| C.IsolateLocationElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier28: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IsolateSharedSummaryElement: { |
| "^": "ObservatoryElement_ChangeNotifier29;_isolate_summary_element$__$isolate,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$isolate: function(receiver) { |
| return receiver._isolate_summary_element$__$isolate; |
| }, |
| set$isolate: function(receiver, value) { |
| receiver._isolate_summary_element$__$isolate = this.notifyPropertyChange$3(receiver, C.Symbol_isolate, receiver._isolate_summary_element$__$isolate, value); |
| }, |
| static: {IsolateSharedSummaryElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IsolateSharedSummaryElement_methods.Element$created$0(receiver); |
| C.IsolateSharedSummaryElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier29: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| CounterChart: { |
| "^": "Object;_table,_chart", |
| update$1: function(counters) { |
| var t1, t2, t3, key, t4, t5; |
| t1 = this._table._app$_table; |
| if (J.$eq(t1.callMethod$1("getNumberOfColumns"), 0)) { |
| t1.callMethod$2("addColumn", ["string", "Name"]); |
| t1.callMethod$2("addColumn", ["number", "Value"]); |
| } |
| t1.callMethod$2("removeRows", [0, t1.callMethod$1("getNumberOfRows")]); |
| for (t2 = J.get$iterator$ax(counters.get$keys()), t3 = J.getInterceptor$asx(counters); t2.moveNext$0();) { |
| key = t2.get$current(); |
| t4 = J.split$1$s(t3.$index(counters, key), "%"); |
| if (0 >= t4.length) |
| return H.ioore(t4, 0); |
| t5 = []; |
| C.JSArray_methods.addAll$1(t5, C.JSArray_methods.map$1([key, H.Primitives_parseDouble(t4[0], null)], P._convertToJS$closure())); |
| t5 = new P.JsArray(t5); |
| t5.$builtinTypeInfo = [null]; |
| t1.callMethod$2("addRow", [t5]); |
| } |
| } |
| }, |
| IsolateCounterChartElement: { |
| "^": "ObservatoryElement_ChangeNotifier30;_isolate_summary_element$__$counters,chart,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$counters: function(receiver) { |
| return receiver._isolate_summary_element$__$counters; |
| }, |
| set$counters: function(receiver, value) { |
| receiver._isolate_summary_element$__$counters = this.notifyPropertyChange$3(receiver, C.Symbol_counters, receiver._isolate_summary_element$__$counters, value); |
| }, |
| countersChanged$1: [function(receiver, oldValue) { |
| var t1, element, t2; |
| if (receiver._isolate_summary_element$__$counters == null) |
| return; |
| if ($.get$GoogleChart__completer().future._state !== 0 && receiver.chart == null) |
| receiver.chart = new D.CounterChart(new G.DataTable(P.JsObject_JsObject(J.$index$asx($.GoogleChart__api, "DataTable"), null)), null); |
| t1 = receiver.chart; |
| if (t1 == null) |
| return; |
| t1.update$1(receiver._isolate_summary_element$__$counters); |
| element = (receiver.shadowRoot || receiver.webkitShadowRoot).querySelector("#counterPieChart"); |
| if (element != null) { |
| t1 = receiver.chart; |
| t2 = t1._chart; |
| if (t2 == null) { |
| t2 = new G.Chart(null, P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)); |
| t2._app$_chart = P.JsObject_JsObject(J.$index$asx($.GoogleChart__api, "PieChart"), [element]); |
| t1._chart = t2; |
| } |
| t2.draw$1(t1._table); |
| } |
| }, "call$1", "get$countersChanged", 2, 0, 20, 57], |
| static: {IsolateCounterChartElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IsolateCounterChartElement_methods.Element$created$0(receiver); |
| C.IsolateCounterChartElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier30: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["isolate_view_element", "package:observatory/src/elements/isolate_view.dart", , L, { |
| "^": "", |
| TagProfileChart: { |
| "^": "Object;_isolate_view_element$_table,_isolate_view_element$_chart", |
| update$1: function(tagProfile) { |
| var t1, t2, tagName, idleIndex, t, i, snapshotTime, row, sum, j; |
| t1 = this._isolate_view_element$_table._app$_table; |
| if (J.$eq(t1.callMethod$1("getNumberOfColumns"), 0)) { |
| t1.callMethod$2("addColumn", ["string", "Time"]); |
| for (t2 = J.get$iterator$ax(tagProfile.get$names()); t2.moveNext$0();) { |
| tagName = t2._current; |
| if (J.$eq(tagName, "Idle")) |
| continue; |
| t1.callMethod$2("addColumn", ["number", tagName]); |
| } |
| } |
| t1.callMethod$2("removeRows", [0, t1.callMethod$1("getNumberOfRows")]); |
| idleIndex = J.indexOf$1$asx(tagProfile.get$names(), "Idle"); |
| t = tagProfile.get$updatedAtSeconds(); |
| for (i = 0; i < tagProfile.get$snapshots().length; ++i) { |
| t2 = tagProfile.get$snapshots(); |
| if (i >= t2.length) |
| return H.ioore(t2, i); |
| snapshotTime = t2[i].seconds; |
| row = []; |
| if (snapshotTime > 0) { |
| if (typeof t !== "number") |
| return H.iae(t); |
| row.push("t " + C.JSNumber_methods.toStringAsFixed$1(snapshotTime - t, 2)); |
| } else |
| row.push(""); |
| t2 = tagProfile.get$snapshots(); |
| if (i >= t2.length) |
| return H.ioore(t2, i); |
| sum = t2[i]._sum; |
| if (sum === 0) { |
| j = 0; |
| while (true) { |
| t2 = tagProfile.get$snapshots(); |
| if (i >= t2.length) |
| return H.ioore(t2, i); |
| if (!(j < t2[i].counters.length)) |
| break; |
| c$1: { |
| if (j === idleIndex) |
| break c$1; |
| row.push(0); |
| } |
| ++j; |
| } |
| } else { |
| j = 0; |
| while (true) { |
| t2 = tagProfile.get$snapshots(); |
| if (i >= t2.length) |
| return H.ioore(t2, i); |
| if (!(j < t2[i].counters.length)) |
| break; |
| c$1: { |
| if (j === idleIndex) |
| break c$1; |
| t2 = tagProfile.get$snapshots(); |
| if (i >= t2.length) |
| return H.ioore(t2, i); |
| t2 = t2[i].counters; |
| if (j >= t2.length) |
| return H.ioore(t2, j); |
| row.push(C.JSNumber_methods.toInt$0(J.$div$n(t2[j], sum) * 100)); |
| } |
| ++j; |
| } |
| } |
| t2 = []; |
| C.JSArray_methods.addAll$1(t2, C.JSArray_methods.map$1(row, P._convertToJS$closure())); |
| t2 = new P.JsArray(t2); |
| t2.$builtinTypeInfo = [null]; |
| t1.callMethod$2("addRow", [t2]); |
| } |
| } |
| }, |
| IsolateViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier31;_isolate_view_element$__$isolate,_isolate_view_element$_updateTimer,tagProfileChart,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$isolate: function(receiver) { |
| return receiver._isolate_view_element$__$isolate; |
| }, |
| set$isolate: function(receiver, value) { |
| receiver._isolate_view_element$__$isolate = this.notifyPropertyChange$3(receiver, C.Symbol_isolate, receiver._isolate_view_element$__$isolate, value); |
| }, |
| eval$1: [function(receiver, text) { |
| var t1 = receiver._isolate_view_element$__$isolate; |
| return t1.get$1(J.$add$ns(J.get$id$x(t1.get$rootLib()), "/eval?expr=" + P.Uri__uriEncode(C.List_KIf, text, C.Utf8Codec_false, false))); |
| }, "call$1", "get$eval", 2, 0, 96, 97], |
| _updateTagProfile$0: [function(receiver) { |
| receiver._isolate_view_element$__$isolate.updateTagProfile$0().then$1(new L.IsolateViewElement__updateTagProfile_closure(receiver)); |
| }, "call$0", "get$_updateTagProfile", 0, 0, 18], |
| attached$0: function(receiver) { |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| receiver._isolate_view_element$_updateTimer = P.Timer_Timer(P.Duration$(0, 0, 0, 0, 0, 1), this.get$_updateTagProfile(receiver)); |
| }, |
| detached$0: function(receiver) { |
| var t1; |
| Z.ObservatoryElement.prototype.detached$0.call(this, receiver); |
| t1 = receiver._isolate_view_element$_updateTimer; |
| if (t1 != null) { |
| t1.cancel$0(); |
| receiver._isolate_view_element$_updateTimer = null; |
| } |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._isolate_view_element$__$isolate).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| pause$1: [function(receiver, _) { |
| return receiver._isolate_view_element$__$isolate.get$1("debug/pause").then$1(new L.IsolateViewElement_pause_closure(receiver)); |
| }, "call$1", "get$pause", 2, 0, 146, 14], |
| resume$1: [function(receiver, _) { |
| return receiver._isolate_view_element$__$isolate.get$1("resume").then$1(new L.IsolateViewElement_resume_closure(receiver)); |
| }, "call$1", "get$resume", 2, 0, 146, 14], |
| static: {IsolateViewElement$created: function(receiver) { |
| var t1, t2, t3; |
| t1 = P.JsObject_JsObject(J.$index$asx($.GoogleChart__api, "DataTable"), null); |
| t2 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t3 = P.String; |
| t3 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t3, null), null, null), [t3, null]); |
| receiver.tagProfileChart = new L.TagProfileChart(new G.DataTable(t1), null); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t2; |
| receiver.polymer$Polymer$$ = t3; |
| C.IsolateViewElement_methods.Element$created$0(receiver); |
| C.IsolateViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier31: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IsolateViewElement__updateTagProfile_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(tagProfile) { |
| var t1, t2, element, t3, t4; |
| t1 = this.this_0; |
| t2 = t1.tagProfileChart; |
| t2.update$1(tagProfile); |
| element = (t1.shadowRoot || t1.webkitShadowRoot).querySelector("#tagProfileChart"); |
| if (element != null) { |
| if (t2._isolate_view_element$_chart == null) { |
| t3 = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null); |
| t4 = new G.Chart(null, t3); |
| t4._app$_chart = P.JsObject_JsObject(J.$index$asx($.GoogleChart__api, "SteppedAreaChart"), [element]); |
| t2._isolate_view_element$_chart = t4; |
| t3.$indexSet(0, "isStacked", true); |
| t2._isolate_view_element$_chart.options.$indexSet(0, "connectSteps", false); |
| t2._isolate_view_element$_chart.options.$indexSet(0, "vAxis", P.LinkedHashMap_LinkedHashMap$_literal(["minValue", 0, "maxValue", 100], null, null)); |
| } |
| t2._isolate_view_element$_chart.draw$1(t2._isolate_view_element$_table); |
| } |
| if (t1._isolate_view_element$_updateTimer != null) |
| t1._isolate_view_element$_updateTimer = P.Timer_Timer(P.Duration$(0, 0, 0, 0, 0, 1), J.get$_updateTagProfile$x(t1)); |
| }, "call$1", null, 2, 0, null, 147, "call"], |
| $isFunction: true |
| }, |
| IsolateViewElement_pause_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(result) { |
| return J.reload$0$x(this.this_0._isolate_view_element$__$isolate); |
| }, "call$1", null, 2, 0, null, 129, "call"], |
| $isFunction: true |
| }, |
| IsolateViewElement_resume_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(result) { |
| return J.reload$0$x(this.this_0._isolate_view_element$__$isolate); |
| }, "call$1", null, 2, 0, null, 129, "call"], |
| $isFunction: true |
| } |
| }], |
| ["json_view_element", "package:observatory/src/elements/json_view.dart", , Z, { |
| "^": "", |
| JsonPrettyPrinter: { |
| "^": "Object;_json_view_element$_buffer,_seen", |
| _printMap$2: function(map, depth) { |
| var t1, t2, t3, t4, t5, k, v, t6; |
| t1 = this._seen; |
| if (t1.contains$1(0, map)) |
| return; |
| t1.add$1(0, map); |
| for (t2 = J.get$iterator$ax(map.get$keys()), t3 = this._json_view_element$_buffer, t4 = J.getInterceptor$asx(map), t5 = depth + 1; t2.moveNext$0();) { |
| k = t2.get$current(); |
| v = t4.$index(map, k); |
| t6 = J.getInterceptor(v); |
| if (!!t6.$isMap) { |
| t6 = C.JSString_methods.$mul(" ", depth); |
| t3._contents += t6; |
| t6 = "\"" + H.S(k) + "\": {\n"; |
| t3._contents += t6; |
| this._printMap$2(v, t5); |
| t6 = C.JSString_methods.$mul(" ", depth); |
| t6 = t3._contents += t6; |
| t3._contents = t6 + "}\n"; |
| } else if (!!t6.$isList) { |
| t6 = C.JSString_methods.$mul(" ", depth); |
| t3._contents += t6; |
| t6 = "\"" + H.S(k) + "\": [\n"; |
| t3._contents += t6; |
| this._printList$2(v, t5); |
| t6 = C.JSString_methods.$mul(" ", depth); |
| t6 = t3._contents += t6; |
| t3._contents = t6 + "]\n"; |
| } else { |
| t6 = C.JSString_methods.$mul(" ", depth); |
| t3._contents += t6; |
| t6 = "\"" + H.S(k) + "\": " + H.S(v); |
| t6 = t3._contents += t6; |
| t3._contents = t6 + "\n"; |
| } |
| } |
| t1.remove$1(0, map); |
| }, |
| _printList$2: function(list, depth) { |
| var t1, t2, t3, t4, v, t5; |
| t1 = this._seen; |
| if (t1.contains$1(0, list)) |
| return; |
| t1.add$1(0, list); |
| for (t2 = J.get$iterator$ax(list), t3 = this._json_view_element$_buffer, t4 = depth + 1; t2.moveNext$0();) { |
| v = t2.get$current(); |
| t5 = J.getInterceptor(v); |
| if (!!t5.$isMap) { |
| t5 = C.JSString_methods.$mul(" ", depth); |
| t5 = t3._contents += t5; |
| t3._contents = t5 + "{\n"; |
| this._printMap$2(v, t4); |
| t5 = C.JSString_methods.$mul(" ", depth); |
| t5 = t3._contents += t5; |
| t3._contents = t5 + "}\n"; |
| } else if (!!t5.$isList) { |
| t5 = C.JSString_methods.$mul(" ", depth); |
| t5 = t3._contents += t5; |
| t3._contents = t5 + "[\n"; |
| this._printList$2(v, t4); |
| t5 = C.JSString_methods.$mul(" ", depth); |
| t5 = t3._contents += t5; |
| t3._contents = t5 + "]\n"; |
| } else { |
| t5 = C.JSString_methods.$mul(" ", depth); |
| t3._contents += t5; |
| t5 = t3._contents += typeof v === "string" ? v : H.S(v); |
| t3._contents = t5 + "\n"; |
| } |
| } |
| t1.remove$1(0, list); |
| } |
| }, |
| JsonViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier32;_json_view_element$__$map,_json_view_element$__$mapAsString,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$map: function(receiver) { |
| return receiver._json_view_element$__$map; |
| }, |
| map$1: function($receiver, arg0) { |
| return this.get$map($receiver).call$1(arg0); |
| }, |
| set$map: function(receiver, value) { |
| receiver._json_view_element$__$map = this.notifyPropertyChange$3(receiver, C.Symbol_map, receiver._json_view_element$__$map, value); |
| }, |
| get$mapAsString: function(receiver) { |
| return receiver._json_view_element$__$mapAsString; |
| }, |
| set$mapAsString: function(receiver, value) { |
| receiver._json_view_element$__$mapAsString = this.notifyPropertyChange$3(receiver, C.Symbol_mapAsString, receiver._json_view_element$__$mapAsString, value); |
| }, |
| mapChanged$1: [function(receiver, oldValue) { |
| var t1, t2, t3; |
| t1 = P.StringBuffer$(""); |
| t2 = P.LinkedHashSet_LinkedHashSet(null, null, null, null); |
| t3 = receiver._json_view_element$__$map; |
| t1._contents = ""; |
| t1.write$1("{\n"); |
| new Z.JsonPrettyPrinter(t1, t2)._printMap$2(t3, 0); |
| t1.write$1("}\n"); |
| t1 = t1._contents; |
| receiver._json_view_element$__$mapAsString = this.notifyPropertyChange$3(receiver, C.Symbol_mapAsString, receiver._json_view_element$__$mapAsString, t1); |
| }, "call$1", "get$mapChanged", 2, 0, 20, 57], |
| static: {JsonViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.JsonViewElement_methods.Element$created$0(receiver); |
| C.JsonViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier32: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["library_ref_element", "package:observatory/src/elements/library_ref.dart", , R, { |
| "^": "", |
| LibraryRefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| static: {LibraryRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.LibraryRefElement_methods.Element$created$0(receiver); |
| C.LibraryRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| } |
| }], |
| ["library_view_element", "package:observatory/src/elements/library_view.dart", , M, { |
| "^": "", |
| LibraryViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier33;_library_view_element$__$library,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$library: function(receiver) { |
| return receiver._library_view_element$__$library; |
| }, |
| set$library: function(receiver, value) { |
| receiver._library_view_element$__$library = this.notifyPropertyChange$3(receiver, C.Symbol_library, receiver._library_view_element$__$library, value); |
| }, |
| eval$1: [function(receiver, text) { |
| return J.get$isolate$x(receiver._library_view_element$__$library).get$1(J.$add$ns(J.get$id$x(receiver._library_view_element$__$library), "/eval?expr=" + P.Uri__uriEncode(C.List_KIf, text, C.Utf8Codec_false, false))); |
| }, "call$1", "get$eval", 2, 0, 96, 97], |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._library_view_element$__$library).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {LibraryViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.LibraryViewElement_methods.Element$created$0(receiver); |
| C.LibraryViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier33: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["logging", "package:logging/logging.dart", , N, { |
| "^": "", |
| Logger: { |
| "^": "Object;name>,parent>,_level,_children>,children>,_controller", |
| get$fullName: function() { |
| var t1, t2, t3; |
| t1 = this.parent; |
| t2 = t1 == null || J.$eq(J.get$name$x(t1), ""); |
| t3 = this.name; |
| return t2 ? t3 : t1.get$fullName() + "." + t3; |
| }, |
| get$level: function() { |
| if ($.hierarchicalLoggingEnabled) { |
| var t1 = this._level; |
| if (t1 != null) |
| return t1; |
| t1 = this.parent; |
| if (t1 != null) |
| return t1.get$level(); |
| } |
| return $._rootLevel; |
| }, |
| set$level: function(value) { |
| if ($.hierarchicalLoggingEnabled && this.parent != null) |
| this._level = value; |
| else { |
| if (this.parent != null) |
| throw H.wrapException(P.UnsupportedError$("Please set \"hierarchicalLoggingEnabled\" to true if you want to change the level on a non-root logger.")); |
| $._rootLevel = value; |
| } |
| }, |
| get$onRecord: function() { |
| return this._getStream$0(); |
| }, |
| isLoggable$1: function(value) { |
| return value.value >= this.get$level().value; |
| }, |
| log$4: function(logLevel, message, error, stackTrace) { |
| var t1, t2, t3, record, target; |
| if (logLevel.value >= this.get$level().value) { |
| t1 = this.get$fullName(); |
| t2 = new P.DateTime(Date.now(), false); |
| t2.DateTime$_now$0(); |
| t3 = $.LogRecord__nextNumber; |
| $.LogRecord__nextNumber = t3 + 1; |
| record = new N.LogRecord(logLevel, message, t1, t2, t3, error, stackTrace); |
| if ($.hierarchicalLoggingEnabled) |
| for (target = this; target != null;) { |
| target._publish$1(record); |
| target = J.get$parent$x(target); |
| } |
| else |
| N.Logger_Logger("")._publish$1(record); |
| } |
| }, |
| finer$3: function(message, error, stackTrace) { |
| return this.log$4(C.Level_FINER_400, message, error, stackTrace); |
| }, |
| finer$1: function(message) { |
| return this.finer$3(message, null, null); |
| }, |
| fine$3: function(message, error, stackTrace) { |
| return this.log$4(C.Level_FINE_500, message, error, stackTrace); |
| }, |
| fine$1: function(message) { |
| return this.fine$3(message, null, null); |
| }, |
| info$3: function(message, error, stackTrace) { |
| return this.log$4(C.Level_INFO_800, message, error, stackTrace); |
| }, |
| info$1: function(message) { |
| return this.info$3(message, null, null); |
| }, |
| warning$3: function(message, error, stackTrace) { |
| return this.log$4(C.Level_WARNING_900, message, error, stackTrace); |
| }, |
| warning$1: function(message) { |
| return this.warning$3(message, null, null); |
| }, |
| severe$3: function(message, error, stackTrace) { |
| return this.log$4(C.Level_SEVERE_1000, message, error, stackTrace); |
| }, |
| severe$1: function(message) { |
| return this.severe$3(message, null, null); |
| }, |
| _getStream$0: function() { |
| if ($.hierarchicalLoggingEnabled || this.parent == null) { |
| var t1 = this._controller; |
| if (t1 == null) { |
| t1 = P.StreamController_StreamController$broadcast(null, null, true, N.LogRecord); |
| this._controller = t1; |
| } |
| t1.toString; |
| return H.setRuntimeTypeInfo(new P._BroadcastStream(t1), [H.getTypeArgumentByIndex(t1, 0)]); |
| } else |
| return N.Logger_Logger("")._getStream$0(); |
| }, |
| _publish$1: function(record) { |
| var t1 = this._controller; |
| if (t1 != null) { |
| if (t1._state >= 4) |
| H.throwExpression(t1._addEventError$0()); |
| t1._sendData$1(record); |
| } |
| }, |
| Logger$_internal$3: function($name, $parent, children) { |
| var t1 = this.parent; |
| if (t1 != null) |
| J.get$_children$x(t1).$indexSet(0, this.name, this); |
| }, |
| $isLogger: true, |
| static: {"^": "Logger__loggers", Logger_Logger: function($name) { |
| return $.get$Logger__loggers().putIfAbsent$2($name, new N.Logger_Logger_closure($name)); |
| }} |
| }, |
| Logger_Logger_closure: { |
| "^": "Closure:69;name_0", |
| call$0: function() { |
| var thisName, dot, $parent, t1, t2; |
| thisName = this.name_0; |
| if (C.JSString_methods.startsWith$1(thisName, ".")) |
| H.throwExpression(P.ArgumentError$("name shouldn't start with a '.'")); |
| dot = C.JSString_methods.lastIndexOf$1(thisName, "."); |
| if (dot === -1) |
| $parent = thisName !== "" ? N.Logger_Logger("") : null; |
| else { |
| $parent = N.Logger_Logger(C.JSString_methods.substring$2(thisName, 0, dot)); |
| thisName = C.JSString_methods.substring$1(thisName, dot + 1); |
| } |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, N.Logger); |
| t2 = new N.Logger(thisName, $parent, null, t1, H.setRuntimeTypeInfo(new Q.UnmodifiableMapView(t1), [null, null]), null); |
| t2.Logger$_internal$3(thisName, $parent, t1); |
| return t2; |
| }, |
| $isFunction: true |
| }, |
| Level: { |
| "^": "Object;name>,value>", |
| $eq: function(_, other) { |
| if (other == null) |
| return false; |
| return !!J.getInterceptor(other).$isLevel && this.value === other.value; |
| }, |
| $lt: function(_, other) { |
| var t1 = J.get$value$x(other); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| return this.value < t1; |
| }, |
| $le: function(_, other) { |
| var t1 = J.get$value$x(other); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| return this.value <= t1; |
| }, |
| $gt: function(_, other) { |
| var t1 = J.get$value$x(other); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| return this.value > t1; |
| }, |
| $ge: function(_, other) { |
| var t1 = J.get$value$x(other); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| return this.value >= t1; |
| }, |
| compareTo$1: function(_, other) { |
| var t1 = J.get$value$x(other); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| return this.value - t1; |
| }, |
| get$hashCode: function(_) { |
| return this.value; |
| }, |
| toString$0: function(_) { |
| return this.name; |
| }, |
| $isLevel: true, |
| static: {"^": "Level_ALL,Level_OFF,Level_FINEST,Level_FINER,Level_FINE,Level_CONFIG,Level_INFO,Level_WARNING,Level_SEVERE,Level_SHOUT,Level_LEVELS"} |
| }, |
| LogRecord: { |
| "^": "Object;level<,message>,loggerName,time<,sequenceNumber,error>,stackTrace<", |
| toString$0: function(_) { |
| return "[" + this.level.name + "] " + this.loggerName + ": " + this.message; |
| }, |
| $isLogRecord: true, |
| static: {"^": "LogRecord__nextNumber"} |
| } |
| }], |
| ["", "main.dart", , F, { |
| "^": "", |
| main: function() { |
| var t1, t2; |
| N.Logger_Logger("").set$level(C.Level_INFO_800); |
| N.Logger_Logger("").get$onRecord().listen$1(new F.main_closure414()); |
| N.Logger_Logger("").info$1("Starting Observatory"); |
| N.Logger_Logger("").info$1("Loading Google Charts API"); |
| t1 = J.$index$asx($.get$context(), "google"); |
| t2 = $.get$GoogleChart__completer(); |
| t1.callMethod$2("load", ["visualization", "1", P.JsObject_JsObject$jsify(P.LinkedHashMap_LinkedHashMap$_literal(["packages", ["corechart", "table"], "callback", P.JsFunction_JsFunction$withThis(t2.get$complete(t2))], null, null))]); |
| $.get$GoogleChart__completer().future.then$1(G.GoogleChart__initOnceOnComplete$closure()).then$1(new F.main_closure415()); |
| }, |
| main_closure414: { |
| "^": "Closure:149;", |
| call$1: [function(rec) { |
| var t1; |
| if (J.$eq(rec.get$level(), C.Level_WARNING_900)) { |
| t1 = J.getInterceptor$x(rec); |
| if (J.startsWith$1$s(t1.get$message(rec), "Error evaluating expression")) |
| t1 = J.contains$1$asx(t1.get$message(rec), "Can't assign to null: ") === true || J.contains$1$asx(t1.get$message(rec), "Expression is not assignable: ") === true; |
| else |
| t1 = false; |
| } else |
| t1 = false; |
| if (t1) |
| return; |
| P.print(rec.get$level().name + ": " + rec.get$time().toString$0(0) + ": " + H.S(J.get$message$x(rec))); |
| }, "call$1", null, 2, 0, null, 148, "call"], |
| $isFunction: true |
| }, |
| main_closure415: { |
| "^": "Closure:13;", |
| call$1: [function(_) { |
| N.Logger_Logger("").info$1("Initializing Polymer"); |
| A.initPolymer(); |
| }, "call$1", null, 2, 0, null, 14, "call"], |
| $isFunction: true |
| } |
| }], |
| ["nav_bar_element", "package:observatory/src/elements/nav_bar.dart", , A, { |
| "^": "", |
| NavBarElement: { |
| "^": "ObservatoryElement_ChangeNotifier34;_nav_bar_element$__$pad,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$pad: function(receiver) { |
| return receiver._nav_bar_element$__$pad; |
| }, |
| set$pad: function(receiver, value) { |
| receiver._nav_bar_element$__$pad = this.notifyPropertyChange$3(receiver, C.Symbol_pad, receiver._nav_bar_element$__$pad, value); |
| }, |
| static: {NavBarElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._nav_bar_element$__$pad = true; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.NavBarElement_methods.Element$created$0(receiver); |
| C.NavBarElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier34: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| NavMenuElement: { |
| "^": "ObservatoryElement_ChangeNotifier35;_nav_bar_element$__$link,_nav_bar_element$__$anchor,_nav_bar_element$__$last,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$link: function(receiver) { |
| return receiver._nav_bar_element$__$link; |
| }, |
| set$link: function(receiver, value) { |
| receiver._nav_bar_element$__$link = this.notifyPropertyChange$3(receiver, C.Symbol_link, receiver._nav_bar_element$__$link, value); |
| }, |
| get$anchor: function(receiver) { |
| return receiver._nav_bar_element$__$anchor; |
| }, |
| set$anchor: function(receiver, value) { |
| receiver._nav_bar_element$__$anchor = this.notifyPropertyChange$3(receiver, C.Symbol_anchor, receiver._nav_bar_element$__$anchor, value); |
| }, |
| get$last: function(receiver) { |
| return receiver._nav_bar_element$__$last; |
| }, |
| set$last: function(receiver, value) { |
| receiver._nav_bar_element$__$last = this.notifyPropertyChange$3(receiver, C.Symbol_last, receiver._nav_bar_element$__$last, value); |
| }, |
| static: {NavMenuElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._nav_bar_element$__$link = "#"; |
| receiver._nav_bar_element$__$anchor = "---"; |
| receiver._nav_bar_element$__$last = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.NavMenuElement_methods.Element$created$0(receiver); |
| C.NavMenuElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier35: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| NavMenuItemElement: { |
| "^": "ObservatoryElement_ChangeNotifier36;_nav_bar_element$__$link,_nav_bar_element$__$anchor,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$link: function(receiver) { |
| return receiver._nav_bar_element$__$link; |
| }, |
| set$link: function(receiver, value) { |
| receiver._nav_bar_element$__$link = this.notifyPropertyChange$3(receiver, C.Symbol_link, receiver._nav_bar_element$__$link, value); |
| }, |
| get$anchor: function(receiver) { |
| return receiver._nav_bar_element$__$anchor; |
| }, |
| set$anchor: function(receiver, value) { |
| receiver._nav_bar_element$__$anchor = this.notifyPropertyChange$3(receiver, C.Symbol_anchor, receiver._nav_bar_element$__$anchor, value); |
| }, |
| static: {NavMenuItemElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._nav_bar_element$__$link = "#"; |
| receiver._nav_bar_element$__$anchor = "---"; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.NavMenuItemElement_methods.Element$created$0(receiver); |
| C.NavMenuItemElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier36: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| NavRefreshElement: { |
| "^": "ObservatoryElement_ChangeNotifier37;_nav_bar_element$__$callback,_nav_bar_element$__$active,_nav_bar_element$__$label,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$callback: function(receiver) { |
| return receiver._nav_bar_element$__$callback; |
| }, |
| callback$0: function($receiver) { |
| return this.get$callback($receiver).call$0(); |
| }, |
| callback$1: function($receiver, arg0) { |
| return this.get$callback($receiver).call$1(arg0); |
| }, |
| set$callback: function(receiver, value) { |
| receiver._nav_bar_element$__$callback = this.notifyPropertyChange$3(receiver, C.Symbol_callback, receiver._nav_bar_element$__$callback, value); |
| }, |
| get$active: function(receiver) { |
| return receiver._nav_bar_element$__$active; |
| }, |
| set$active: function(receiver, value) { |
| receiver._nav_bar_element$__$active = this.notifyPropertyChange$3(receiver, C.Symbol_active, receiver._nav_bar_element$__$active, value); |
| }, |
| get$label: function(receiver) { |
| return receiver._nav_bar_element$__$label; |
| }, |
| set$label: function(receiver, value) { |
| receiver._nav_bar_element$__$label = this.notifyPropertyChange$3(receiver, C.Symbol_label, receiver._nav_bar_element$__$label, value); |
| }, |
| buttonClick$3: [function(receiver, e, detail, target) { |
| var t1 = receiver._nav_bar_element$__$active; |
| if (t1 === true) |
| return; |
| receiver._nav_bar_element$__$active = this.notifyPropertyChange$3(receiver, C.Symbol_active, t1, true); |
| if (receiver._nav_bar_element$__$callback != null) |
| this.callback$1(receiver, this.get$refreshDone(receiver)); |
| }, "call$3", "get$buttonClick", 6, 0, 102, 1, 93, 94], |
| refreshDone$0: [function(receiver) { |
| receiver._nav_bar_element$__$active = this.notifyPropertyChange$3(receiver, C.Symbol_active, receiver._nav_bar_element$__$active, false); |
| }, "call$0", "get$refreshDone", 0, 0, 18], |
| static: {NavRefreshElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._nav_bar_element$__$active = false; |
| receiver._nav_bar_element$__$label = "Refresh"; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.NavRefreshElement_methods.Element$created$0(receiver); |
| C.NavRefreshElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier37: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| NavControlElement: { |
| "^": "ObservatoryElement;change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| static: {NavControlElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.NavControlElement_methods.Element$created$0(receiver); |
| C.NavControlElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| TopNavMenuElement: { |
| "^": "ObservatoryElement_ChangeNotifier38;_nav_bar_element$__$last,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$last: function(receiver) { |
| return receiver._nav_bar_element$__$last; |
| }, |
| set$last: function(receiver, value) { |
| receiver._nav_bar_element$__$last = this.notifyPropertyChange$3(receiver, C.Symbol_last, receiver._nav_bar_element$__$last, value); |
| }, |
| static: {TopNavMenuElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._nav_bar_element$__$last = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.TopNavMenuElement_methods.Element$created$0(receiver); |
| C.TopNavMenuElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier38: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| IsolateNavMenuElement: { |
| "^": "ObservatoryElement_ChangeNotifier39;_nav_bar_element$__$last,_nav_bar_element$__$isolate,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$last: function(receiver) { |
| return receiver._nav_bar_element$__$last; |
| }, |
| set$last: function(receiver, value) { |
| receiver._nav_bar_element$__$last = this.notifyPropertyChange$3(receiver, C.Symbol_last, receiver._nav_bar_element$__$last, value); |
| }, |
| get$isolate: function(receiver) { |
| return receiver._nav_bar_element$__$isolate; |
| }, |
| set$isolate: function(receiver, value) { |
| receiver._nav_bar_element$__$isolate = this.notifyPropertyChange$3(receiver, C.Symbol_isolate, receiver._nav_bar_element$__$isolate, value); |
| }, |
| isolateChanged$1: [function(receiver, oldValue) { |
| this.notifyPropertyChange$3(receiver, C.Symbol_hashLinkWorkaround, 0, 1); |
| }, "call$1", "get$isolateChanged", 2, 0, 20, 57], |
| get$hashLinkWorkaround: function(receiver) { |
| var t1 = receiver._nav_bar_element$__$isolate; |
| if (t1 != null) |
| return J.get$link$x(t1); |
| else |
| return ""; |
| }, |
| set$hashLinkWorkaround: function(receiver, x) { |
| }, |
| static: {IsolateNavMenuElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._nav_bar_element$__$last = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.IsolateNavMenuElement_methods.Element$created$0(receiver); |
| C.IsolateNavMenuElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier39: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| LibraryNavMenuElement: { |
| "^": "ObservatoryElement_ChangeNotifier40;_nav_bar_element$__$library,_nav_bar_element$__$last,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$library: function(receiver) { |
| return receiver._nav_bar_element$__$library; |
| }, |
| set$library: function(receiver, value) { |
| receiver._nav_bar_element$__$library = this.notifyPropertyChange$3(receiver, C.Symbol_library, receiver._nav_bar_element$__$library, value); |
| }, |
| get$last: function(receiver) { |
| return receiver._nav_bar_element$__$last; |
| }, |
| set$last: function(receiver, value) { |
| receiver._nav_bar_element$__$last = this.notifyPropertyChange$3(receiver, C.Symbol_last, receiver._nav_bar_element$__$last, value); |
| }, |
| static: {LibraryNavMenuElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._nav_bar_element$__$last = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.LibraryNavMenuElement_methods.Element$created$0(receiver); |
| C.LibraryNavMenuElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier40: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| ClassNavMenuElement: { |
| "^": "ObservatoryElement_ChangeNotifier41;_nav_bar_element$__$cls,_nav_bar_element$__$last,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$cls: function(receiver) { |
| return receiver._nav_bar_element$__$cls; |
| }, |
| set$cls: function(receiver, value) { |
| receiver._nav_bar_element$__$cls = this.notifyPropertyChange$3(receiver, C.Symbol_cls, receiver._nav_bar_element$__$cls, value); |
| }, |
| get$last: function(receiver) { |
| return receiver._nav_bar_element$__$last; |
| }, |
| set$last: function(receiver, value) { |
| receiver._nav_bar_element$__$last = this.notifyPropertyChange$3(receiver, C.Symbol_last, receiver._nav_bar_element$__$last, value); |
| }, |
| static: {ClassNavMenuElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._nav_bar_element$__$last = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ClassNavMenuElement_methods.Element$created$0(receiver); |
| C.ClassNavMenuElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier41: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["observatory_application_element", "package:observatory/src/elements/observatory_application.dart", , V, { |
| "^": "", |
| ObservatoryApplicationElement: { |
| "^": "ObservatoryElement_ChangeNotifier42;_observatory_application_element$__$devtools,app,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$devtools: function(receiver) { |
| return receiver._observatory_application_element$__$devtools; |
| }, |
| set$devtools: function(receiver, value) { |
| receiver._observatory_application_element$__$devtools = this.notifyPropertyChange$3(receiver, C.Symbol_devtools, receiver._observatory_application_element$__$devtools, value); |
| }, |
| attached$0: function(receiver) { |
| var t1, t2; |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| if (receiver._observatory_application_element$__$devtools === true) { |
| t1 = H.setRuntimeTypeInfo([], [G.Pane]); |
| t2 = new U.DartiumVM(P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, P.Completer), 0, "unknown", "unknown", 0, false, false, "", null, P.StreamController_StreamController$broadcast(null, null, false, null), P.StreamController_StreamController$broadcast(null, null, false, null), P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, D.ServiceObject), P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, D.Isolate), null, null, null, null, null, false, null, null, null, null, null); |
| t2.VM$0(); |
| t2.DartiumVM$0(); |
| t2 = new G.ObservatoryApplication(t1, null, null, new G.HashLocationManager("/vm", null, null, null, null, null), t2, null, receiver, null, null, null); |
| t2.ObservatoryApplication$devtools$1(receiver); |
| receiver.app = t2; |
| } else { |
| t1 = H.setRuntimeTypeInfo([], [G.Pane]); |
| t2 = new U.HttpVM(null, "unknown", "unknown", 0, false, false, "", null, P.StreamController_StreamController$broadcast(null, null, false, null), P.StreamController_StreamController$broadcast(null, null, false, null), P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, D.ServiceObject), P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, D.Isolate), null, null, null, null, null, false, null, null, null, null, null); |
| t2.VM$0(); |
| t2.HttpVM$0(); |
| t2 = new G.ObservatoryApplication(t1, null, null, new G.HashLocationManager("/vm", null, null, null, null, null), t2, null, receiver, null, null, null); |
| t2.ObservatoryApplication$1(receiver); |
| receiver.app = t2; |
| } |
| }, |
| static: {ObservatoryApplicationElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._observatory_application_element$__$devtools = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ObservatoryApplicationElement_methods.Element$created$0(receiver); |
| C.ObservatoryApplicationElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier42: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["observatory_element", "package:observatory/src/elements/observatory_element.dart", , Z, { |
| "^": "", |
| ObservatoryElement: { |
| "^": "PolymerElement;change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| attached$0: function(receiver) { |
| A.Polymer.prototype.attached$0.call(this, receiver); |
| }, |
| attributeChanged$3: function(receiver, $name, oldValue, newValue) { |
| A.Polymer.prototype.attributeChanged$3.call(this, receiver, $name, oldValue, newValue); |
| }, |
| detached$0: function(receiver) { |
| A.Polymer.prototype.detached$0.call(this, receiver); |
| }, |
| ready$0: function(receiver) { |
| A.Polymer.prototype.ready$0.call(this, receiver); |
| }, |
| goto$3: [function(receiver, $event, detail, target) { |
| $.location.onGoto$3($event, detail, target); |
| }, "call$3", "get$$goto", 6, 0, 150, 2, 93, 94], |
| gotoLink$1: [function(receiver, url) { |
| $.location.toString; |
| return "#" + H.S(url); |
| }, "call$1", "get$gotoLink", 2, 0, 151, 152], |
| formatTime$1: [function(receiver, time) { |
| return G.Utils_formatTime(time); |
| }, "call$1", "get$formatTime", 2, 0, 153, 154], |
| formatSize$1: [function(receiver, bytes) { |
| return G.Utils_formatSize(bytes); |
| }, "call$1", "get$formatSize", 2, 0, 15, 16], |
| isNull$1: [function(receiver, type) { |
| return J.$eq(type, "Null"); |
| }, "call$1", "get$isNull", 2, 0, 155, 156], |
| isError$1: [function(receiver, type) { |
| return J.$eq(type, "Error"); |
| }, "call$1", "get$isError", 2, 0, 155, 156], |
| isInt$1: [function(receiver, type) { |
| var t1 = J.getInterceptor(type); |
| return t1.$eq(type, "Smi") || t1.$eq(type, "Mint") || t1.$eq(type, "Bigint"); |
| }, "call$1", "get$isInt", 2, 0, 155, 156], |
| isBool$1: [function(receiver, type) { |
| return J.$eq(type, "Bool"); |
| }, "call$1", "get$isBool", 2, 0, 155, 156], |
| isString$1: [function(receiver, type) { |
| return J.$eq(type, "String"); |
| }, "call$1", "get$isString", 2, 0, 155, 156], |
| isInstance$1: [function(receiver, type) { |
| return J.$eq(type, "Instance"); |
| }, "call$1", "get$isInstance", 2, 0, 155, 156], |
| isDouble$1: [function(receiver, type) { |
| return J.$eq(type, "Double"); |
| }, "call$1", "get$isDouble", 2, 0, 155, 156], |
| isList$1: [function(receiver, type) { |
| var t1 = J.getInterceptor(type); |
| return t1.$eq(type, "GrowableObjectArray") || t1.$eq(type, "Array"); |
| }, "call$1", "get$isList", 2, 0, 155, 156], |
| isType$1: [function(receiver, type) { |
| return J.$eq(type, "Type"); |
| }, "call$1", "get$isType", 2, 0, 155, 156], |
| isUnexpected$1: [function(receiver, type) { |
| return !C.JSArray_methods.contains$1(["Null", "Smi", "Mint", "Bigint", "Bool", "String", "Double", "Instance", "GrowableObjectArray", "Array", "Type", "Error"], type); |
| }, "call$1", "get$isUnexpected", 2, 0, 155, 156], |
| static: {ObservatoryElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ObservatoryElement_methods.Element$created$0(receiver); |
| C.ObservatoryElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| } |
| }], |
| ["observe.src.bindable", "package:observe/src/bindable.dart", , A, { |
| "^": "", |
| Bindable: { |
| "^": "Object;", |
| set$value: function(_, newValue) { |
| }, |
| $isBindable: true |
| } |
| }], |
| ["observe.src.change_notifier", "package:observe/src/change_notifier.dart", , O, { |
| "^": "", |
| ChangeNotifier: { |
| "^": "Object;", |
| get$changes: function(receiver) { |
| var t1 = receiver.change_notifier$ChangeNotifier$_changes; |
| if (t1 == null) { |
| t1 = this.get$observed(receiver); |
| t1 = P.StreamController_StreamController$broadcast(this.get$unobserved(receiver), t1, true, null); |
| receiver.change_notifier$ChangeNotifier$_changes = t1; |
| } |
| t1.toString; |
| return H.setRuntimeTypeInfo(new P._BroadcastStream(t1), [H.getTypeArgumentByIndex(t1, 0)]); |
| }, |
| observed$0: [function(receiver) { |
| }, "call$0", "get$observed", 0, 0, 18], |
| unobserved$0: [function(receiver) { |
| receiver.change_notifier$ChangeNotifier$_changes = null; |
| }, "call$0", "get$unobserved", 0, 0, 18], |
| deliverChanges$0: [function(receiver) { |
| var records, t1, t2; |
| records = receiver.change_notifier$ChangeNotifier$_change_notifier$_records; |
| receiver.change_notifier$ChangeNotifier$_change_notifier$_records = null; |
| if (this.get$hasObservers(receiver) && records != null) { |
| t1 = receiver.change_notifier$ChangeNotifier$_changes; |
| t2 = H.setRuntimeTypeInfo(new P.UnmodifiableListView(records), [T.ChangeRecord]); |
| if (t1._state >= 4) |
| H.throwExpression(t1._addEventError$0()); |
| t1._sendData$1(t2); |
| return true; |
| } |
| return false; |
| }, "call$0", "get$deliverChanges", 0, 0, 111], |
| get$hasObservers: function(receiver) { |
| var t1, t2; |
| t1 = receiver.change_notifier$ChangeNotifier$_changes; |
| if (t1 != null) { |
| t2 = t1._async$_next; |
| t1 = t2 == null ? t1 != null : t2 !== t1; |
| } else |
| t1 = false; |
| return t1; |
| }, |
| notifyPropertyChange$3: function(receiver, field, oldValue, newValue) { |
| return F.notifyPropertyChangeHelper(receiver, field, oldValue, newValue); |
| }, |
| notifyChange$1: function(receiver, record) { |
| if (!this.get$hasObservers(receiver)) |
| return; |
| if (receiver.change_notifier$ChangeNotifier$_change_notifier$_records == null) { |
| receiver.change_notifier$ChangeNotifier$_change_notifier$_records = []; |
| P.scheduleMicrotask(this.get$deliverChanges(receiver)); |
| } |
| receiver.change_notifier$ChangeNotifier$_change_notifier$_records.push(record); |
| }, |
| $isObservable: true |
| } |
| }], |
| ["observe.src.change_record", "package:observe/src/change_record.dart", , T, { |
| "^": "", |
| ChangeRecord: { |
| "^": "Object;", |
| $isChangeRecord: true |
| }, |
| PropertyChangeRecord: { |
| "^": "ChangeRecord;object>,name>,oldValue,newValue", |
| toString$0: function(_) { |
| return "#<PropertyChangeRecord " + H.S(this.name) + " from: " + H.S(this.oldValue) + " to: " + H.S(this.newValue) + ">"; |
| }, |
| $isPropertyChangeRecord: true |
| } |
| }], |
| ["observe.src.dirty_check", "package:observe/src/dirty_check.dart", , O, { |
| "^": "", |
| dirtyCheckObservables: function() { |
| var cycles, debugLoop, toCheck, t1, anyChanged, i, observer, t2, info, t3; |
| if ($._delivering) |
| return; |
| if ($._allObservables == null) |
| return; |
| $._delivering = true; |
| cycles = 0; |
| debugLoop = null; |
| do { |
| ++cycles; |
| if (cycles === 1000) |
| debugLoop = []; |
| toCheck = $._allObservables; |
| t1 = []; |
| t1.$builtinTypeInfo = [F.Observable]; |
| $._allObservables = t1; |
| for (t1 = debugLoop != null, anyChanged = false, i = 0; i < toCheck.length; ++i) { |
| observer = toCheck[i]; |
| t2 = J.getInterceptor$x(observer); |
| if (t2.get$hasObservers(observer)) { |
| if (t2.deliverChanges$0(observer)) { |
| if (t1) |
| debugLoop.push([i, observer]); |
| anyChanged = true; |
| } |
| $._allObservables.push(observer); |
| } |
| } |
| } while (cycles < 1000 && anyChanged); |
| if (t1 && anyChanged) { |
| t1 = $.get$_logger(); |
| t1.warning$1("Possible loop in Observable.dirtyCheck, stopped checking."); |
| for (t2 = H.setRuntimeTypeInfo(new H.ListIterator(debugLoop, debugLoop.length, 0, null), [H.getTypeArgumentByIndex(debugLoop, 0)]); t2.moveNext$0();) { |
| info = t2._current; |
| t3 = J.getInterceptor$asx(info); |
| t1.warning$1("In last iteration Observable changed at index " + H.S(t3.$index(info, 0)) + ", object: " + H.S(t3.$index(info, 1)) + "."); |
| } |
| } |
| $._allObservablesCount = $._allObservables.length; |
| $._delivering = false; |
| }, |
| dirtyCheckZoneSpec: function() { |
| var t1 = {}; |
| t1.pending_0 = false; |
| t1 = new O.dirtyCheckZoneSpec_enqueueDirtyCheck(t1); |
| return new P._ZoneSpecification(null, null, null, null, new O.dirtyCheckZoneSpec_wrapCallback(t1), new O.dirtyCheckZoneSpec_wrapUnaryCallback(t1), null, null, null, null, null, null); |
| }, |
| dirtyCheckZoneSpec_enqueueDirtyCheck: { |
| "^": "Closure:157;box_0", |
| call$2: function($parent, zone) { |
| var t1 = this.box_0; |
| if (t1.pending_0) |
| return; |
| t1.pending_0 = true; |
| $parent.scheduleMicrotask$2(zone, new O.dirtyCheckZoneSpec_enqueueDirtyCheck_closure(t1)); |
| }, |
| $isFunction: true |
| }, |
| dirtyCheckZoneSpec_enqueueDirtyCheck_closure: { |
| "^": "Closure:69;box_0", |
| call$0: [function() { |
| this.box_0.pending_0 = false; |
| O.dirtyCheckObservables(); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| dirtyCheckZoneSpec_wrapCallback: { |
| "^": "Closure:30;enqueueDirtyCheck_1", |
| call$4: [function($self, $parent, zone, f) { |
| if (f == null) |
| return f; |
| return new O.dirtyCheckZoneSpec_wrapCallback_closure(this.enqueueDirtyCheck_1, $parent, zone, f); |
| }, "call$4", null, 8, 0, null, 27, 28, 29, 31, "call"], |
| $isFunction: true |
| }, |
| dirtyCheckZoneSpec_wrapCallback_closure: { |
| "^": "Closure:69;enqueueDirtyCheck_2,parent_3,zone_4,f_5", |
| call$0: [function() { |
| this.enqueueDirtyCheck_2.call$2(this.parent_3, this.zone_4); |
| return this.f_5.call$0(); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| dirtyCheckZoneSpec_wrapUnaryCallback: { |
| "^": "Closure:158;enqueueDirtyCheck_6", |
| call$4: [function($self, $parent, zone, f) { |
| if (f == null) |
| return f; |
| return new O.dirtyCheckZoneSpec_wrapUnaryCallback_closure(this.enqueueDirtyCheck_6, $parent, zone, f); |
| }, "call$4", null, 8, 0, null, 27, 28, 29, 31, "call"], |
| $isFunction: true |
| }, |
| dirtyCheckZoneSpec_wrapUnaryCallback_closure: { |
| "^": "Closure:13;enqueueDirtyCheck_7,parent_8,zone_9,f_10", |
| call$1: [function(x) { |
| this.enqueueDirtyCheck_7.call$2(this.parent_8, this.zone_9); |
| return this.f_10.call$1(x); |
| }, "call$1", null, 2, 0, null, 65, "call"], |
| $isFunction: true |
| } |
| }], |
| ["observe.src.list_diff", "package:observe/src/list_diff.dart", , G, { |
| "^": "", |
| _calcEditDistances: function(current, currentStart, currentEnd, old, oldStart, oldEnd) { |
| var rowCount, columnCount, distances, t1, i, t2, j, t3, t4, t5, t6, t7, t8, t9; |
| rowCount = oldEnd - oldStart + 1; |
| columnCount = J.$add$ns(J.$sub$n(currentEnd, currentStart), 1); |
| distances = Array(rowCount); |
| for (t1 = distances.length, i = 0; i < rowCount; ++i) { |
| if (typeof columnCount !== "number") |
| return H.iae(columnCount); |
| t2 = Array(columnCount); |
| if (i >= t1) |
| return H.ioore(distances, i); |
| distances[i] = t2; |
| if (0 >= t2.length) |
| return H.ioore(t2, 0); |
| t2[0] = i; |
| } |
| if (typeof columnCount !== "number") |
| return H.iae(columnCount); |
| j = 0; |
| for (; j < columnCount; ++j) { |
| if (0 >= t1) |
| return H.ioore(distances, 0); |
| t2 = distances[0]; |
| if (j >= t2.length) |
| return H.ioore(t2, j); |
| t2[j] = j; |
| } |
| for (t2 = J.getInterceptor$ns(currentStart), t3 = J.getInterceptor$asx(current), i = 1; i < rowCount; ++i) |
| for (t4 = i - 1, t5 = oldStart + i - 1, j = 1; j < columnCount; ++j) { |
| if (t5 >>> 0 !== t5 || t5 >= old.length) |
| return H.ioore(old, t5); |
| t6 = J.$eq(old[t5], t3.$index(current, J.$sub$n(t2.$add(currentStart, j), 1))); |
| t7 = distances[i]; |
| t8 = distances[t4]; |
| t9 = j - 1; |
| if (t6) { |
| if (i >= t1) |
| return H.ioore(distances, i); |
| if (t4 >= t1) |
| return H.ioore(distances, t4); |
| if (t9 >= t8.length) |
| return H.ioore(t8, t9); |
| t6 = t8[t9]; |
| if (j >= t7.length) |
| return H.ioore(t7, j); |
| t7[j] = t6; |
| } else { |
| if (t4 >= t1) |
| return H.ioore(distances, t4); |
| if (j >= t8.length) |
| return H.ioore(t8, j); |
| t6 = t8[j]; |
| if (typeof t6 !== "number") |
| return t6.$add(); |
| if (i >= t1) |
| return H.ioore(distances, i); |
| t8 = t7.length; |
| if (t9 >= t8) |
| return H.ioore(t7, t9); |
| t9 = t7[t9]; |
| if (typeof t9 !== "number") |
| return t9.$add(); |
| t9 = P.min(t6 + 1, t9 + 1); |
| if (j >= t8) |
| return H.ioore(t7, j); |
| t7[j] = t9; |
| } |
| } |
| return distances; |
| }, |
| _spliceOperationsFromEditDistances: function(distances) { |
| var t1, i, j, t2, current, edits, t3, t4, t5, northWest, west, north, min; |
| t1 = distances.length; |
| i = t1 - 1; |
| if (0 >= t1) |
| return H.ioore(distances, 0); |
| j = distances[0].length - 1; |
| if (i < 0) |
| return H.ioore(distances, i); |
| t2 = distances[i]; |
| if (j < 0 || j >= t2.length) |
| return H.ioore(t2, j); |
| current = t2[j]; |
| edits = []; |
| while (true) { |
| if (!(i > 0 || j > 0)) |
| break; |
| c$0: { |
| if (i === 0) { |
| edits.push(2); |
| --j; |
| break c$0; |
| } |
| if (j === 0) { |
| edits.push(3); |
| --i; |
| break c$0; |
| } |
| t2 = i - 1; |
| if (t2 < 0) |
| return H.ioore(distances, t2); |
| t3 = distances[t2]; |
| t4 = j - 1; |
| t5 = t3.length; |
| if (t4 < 0 || t4 >= t5) |
| return H.ioore(t3, t4); |
| northWest = t3[t4]; |
| if (j < 0 || j >= t5) |
| return H.ioore(t3, j); |
| west = t3[j]; |
| if (i < 0) |
| return H.ioore(distances, i); |
| t3 = distances[i]; |
| if (t4 >= t3.length) |
| return H.ioore(t3, t4); |
| north = t3[t4]; |
| min = P.min(P.min(west, north), northWest); |
| if (min === northWest) { |
| if (northWest == null ? current == null : northWest === current) |
| edits.push(0); |
| else { |
| edits.push(1); |
| current = northWest; |
| } |
| j = t4; |
| i = t2; |
| } else if (min === west) { |
| edits.push(3); |
| current = west; |
| i = t2; |
| } else { |
| edits.push(2); |
| current = north; |
| j = t4; |
| } |
| } |
| } |
| return H.setRuntimeTypeInfo(new H.ReversedListIterable(edits), [null]).toList$0(0); |
| }, |
| _sharedPrefix: function(arr1, arr2, searchLength) { |
| var t1, i, t2; |
| for (t1 = J.getInterceptor$asx(arr1), i = 0; i < searchLength; ++i) { |
| t2 = t1.$index(arr1, i); |
| if (i >= arr2.length) |
| return H.ioore(arr2, i); |
| if (!J.$eq(t2, arr2[i])) |
| return i; |
| } |
| return searchLength; |
| }, |
| _sharedSuffix: function(arr1, arr2, searchLength) { |
| var t1, index1, index2, count, t2; |
| t1 = J.getInterceptor$asx(arr1); |
| index1 = t1.get$length(arr1); |
| index2 = arr2.length; |
| count = 0; |
| while (true) { |
| if (count < searchLength) { |
| --index1; |
| t2 = t1.$index(arr1, index1); |
| --index2; |
| if (index2 < 0 || index2 >= arr2.length) |
| return H.ioore(arr2, index2); |
| t2 = J.$eq(t2, arr2[index2]); |
| } else |
| t2 = false; |
| if (!t2) |
| break; |
| ++count; |
| } |
| return count; |
| }, |
| calcSplices: function(current, currentStart, currentEnd, old, oldStart, oldEnd) { |
| var t1, minLength, t2, prefixCount, suffixCount, removed, splice, oldStart0, ops, splices, oldIndex, index, i; |
| t1 = J.getInterceptor$n(currentEnd); |
| minLength = P.min(t1.$sub(currentEnd, currentStart), oldEnd - oldStart); |
| t2 = J.getInterceptor(currentStart); |
| prefixCount = t2.$eq(currentStart, 0) && oldStart === 0 ? G._sharedPrefix(current, old, minLength) : 0; |
| suffixCount = t1.$eq(currentEnd, J.get$length$asx(current)) && oldEnd === old.length ? G._sharedSuffix(current, old, minLength - prefixCount) : 0; |
| currentStart = t2.$add(currentStart, prefixCount); |
| oldStart += prefixCount; |
| currentEnd = t1.$sub(currentEnd, suffixCount); |
| oldEnd -= suffixCount; |
| t1 = J.getInterceptor$n(currentEnd); |
| if (J.$eq(t1.$sub(currentEnd, currentStart), 0) && oldEnd - oldStart === 0) |
| return C.List_empty; |
| if (J.$eq(currentStart, currentEnd)) { |
| removed = []; |
| t1 = new P.UnmodifiableListView(removed); |
| t1.$builtinTypeInfo = [null]; |
| splice = new G.ListChangeRecord(current, t1, removed, currentStart, 0); |
| for (; oldStart < oldEnd; oldStart = oldStart0) { |
| t1 = splice._removed; |
| oldStart0 = oldStart + 1; |
| if (oldStart >>> 0 !== oldStart || oldStart >= old.length) |
| return H.ioore(old, oldStart); |
| J.add$1$ax(t1, old[oldStart]); |
| } |
| return [splice]; |
| } else if (oldStart === oldEnd) { |
| t1 = t1.$sub(currentEnd, currentStart); |
| removed = []; |
| t2 = new P.UnmodifiableListView(removed); |
| t2.$builtinTypeInfo = [null]; |
| return [new G.ListChangeRecord(current, t2, removed, currentStart, t1)]; |
| } |
| ops = G._spliceOperationsFromEditDistances(G._calcEditDistances(current, currentStart, currentEnd, old, oldStart, oldEnd)); |
| splices = []; |
| splices.$builtinTypeInfo = [G.ListChangeRecord]; |
| for (oldIndex = oldStart, index = currentStart, splice = null, i = 0; i < ops.length; ++i) |
| switch (ops[i]) { |
| case 0: |
| if (splice != null) { |
| splices.push(splice); |
| splice = null; |
| } |
| index = J.$add$ns(index, 1); |
| ++oldIndex; |
| break; |
| case 1: |
| if (splice == null) { |
| removed = []; |
| t1 = new P.UnmodifiableListView(removed); |
| t1.$builtinTypeInfo = [null]; |
| splice = new G.ListChangeRecord(current, t1, removed, index, 0); |
| } |
| splice._addedCount = J.$add$ns(splice._addedCount, 1); |
| index = J.$add$ns(index, 1); |
| t1 = splice._removed; |
| if (oldIndex >>> 0 !== oldIndex || oldIndex >= old.length) |
| return H.ioore(old, oldIndex); |
| J.add$1$ax(t1, old[oldIndex]); |
| ++oldIndex; |
| break; |
| case 2: |
| if (splice == null) { |
| removed = []; |
| t1 = new P.UnmodifiableListView(removed); |
| t1.$builtinTypeInfo = [null]; |
| splice = new G.ListChangeRecord(current, t1, removed, index, 0); |
| } |
| splice._addedCount = J.$add$ns(splice._addedCount, 1); |
| index = J.$add$ns(index, 1); |
| break; |
| case 3: |
| if (splice == null) { |
| removed = []; |
| t1 = new P.UnmodifiableListView(removed); |
| t1.$builtinTypeInfo = [null]; |
| splice = new G.ListChangeRecord(current, t1, removed, index, 0); |
| } |
| t1 = splice._removed; |
| if (oldIndex >>> 0 !== oldIndex || oldIndex >= old.length) |
| return H.ioore(old, oldIndex); |
| J.add$1$ax(t1, old[oldIndex]); |
| ++oldIndex; |
| break; |
| } |
| if (splice != null) |
| splices.push(splice); |
| return splices; |
| }, |
| _mergeSplice: function(splices, record) { |
| var t1, t2, t3, addedCount, t4, splice, inserted, insertionOffset, i, current, intersectCount, removed, offset; |
| t1 = J.getInterceptor$x(record); |
| t2 = t1.get$object(record); |
| t1 = t1.get$index(record); |
| t3 = J.toList$0$ax(record.get$_removed()); |
| addedCount = record.get$addedCount(); |
| if (addedCount == null) |
| addedCount = 0; |
| t4 = new P.UnmodifiableListView(t3); |
| t4.$builtinTypeInfo = [null]; |
| splice = new G.ListChangeRecord(t2, t4, t3, t1, addedCount); |
| for (inserted = false, insertionOffset = 0, i = 0; t1 = splices.length, i < t1; ++i) { |
| if (i < 0) |
| return H.ioore(splices, i); |
| current = splices[i]; |
| current._list_diff$_index = J.$add$ns(current._list_diff$_index, insertionOffset); |
| if (inserted) |
| continue; |
| t1 = splice._list_diff$_index; |
| t2 = J.$add$ns(t1, splice._unmodifiableRemoved._collection$_source.length); |
| t3 = current._list_diff$_index; |
| intersectCount = P.min(t2, J.$add$ns(t3, current._addedCount)) - P.max(t1, t3); |
| if (intersectCount >= 0) { |
| C.JSArray_methods.removeAt$1(splices, i); |
| --i; |
| t1 = J.$sub$n(current._addedCount, current._unmodifiableRemoved._collection$_source.length); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| insertionOffset -= t1; |
| t1 = J.$add$ns(splice._addedCount, J.$sub$n(current._addedCount, intersectCount)); |
| splice._addedCount = t1; |
| t2 = splice._unmodifiableRemoved._collection$_source.length; |
| t3 = current._unmodifiableRemoved._collection$_source.length; |
| if (J.$eq(t1, 0) && t2 + t3 - intersectCount === 0) |
| inserted = true; |
| else { |
| removed = current._removed; |
| if (J.$lt$n(splice._list_diff$_index, current._list_diff$_index)) { |
| t1 = splice._unmodifiableRemoved; |
| t1 = t1.getRange$2(t1, 0, J.$sub$n(current._list_diff$_index, splice._list_diff$_index)); |
| removed.toString; |
| if (typeof removed !== "object" || removed === null || !!removed.fixed$length) |
| H.throwExpression(P.UnsupportedError$("insertAll")); |
| H.IterableMixinWorkaround_insertAllList(removed, 0, t1); |
| } |
| if (J.$gt$n(J.$add$ns(splice._list_diff$_index, splice._unmodifiableRemoved._collection$_source.length), J.$add$ns(current._list_diff$_index, current._addedCount))) { |
| t1 = splice._unmodifiableRemoved; |
| J.addAll$1$ax(removed, t1.getRange$2(t1, J.$sub$n(J.$add$ns(current._list_diff$_index, current._addedCount), splice._list_diff$_index), splice._unmodifiableRemoved._collection$_source.length)); |
| } |
| splice._removed = removed; |
| splice._unmodifiableRemoved = current._unmodifiableRemoved; |
| if (J.$lt$n(current._list_diff$_index, splice._list_diff$_index)) |
| splice._list_diff$_index = current._list_diff$_index; |
| inserted = false; |
| } |
| } else if (J.$lt$n(splice._list_diff$_index, current._list_diff$_index)) { |
| C.JSArray_methods.insert$2(splices, i, splice); |
| ++i; |
| offset = J.$sub$n(splice._addedCount, splice._unmodifiableRemoved._collection$_source.length); |
| current._list_diff$_index = J.$add$ns(current._list_diff$_index, offset); |
| if (typeof offset !== "number") |
| return H.iae(offset); |
| insertionOffset += offset; |
| inserted = true; |
| } else |
| inserted = false; |
| } |
| if (!inserted) |
| splices.push(splice); |
| }, |
| _createInitialSplices: function(list, records) { |
| var splices, t1; |
| splices = H.setRuntimeTypeInfo([], [G.ListChangeRecord]); |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(records, records.length, 0, null), [H.getTypeArgumentByIndex(records, 0)]); t1.moveNext$0();) |
| G._mergeSplice(splices, t1._current); |
| return splices; |
| }, |
| projectListSplices: function(list, records) { |
| var splices, t1, t2, splice, t3, t4; |
| if (records.length <= 1) |
| return records; |
| splices = []; |
| for (t1 = G._createInitialSplices(list, records), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]), t2 = list._observable_list$_list; t1.moveNext$0();) { |
| splice = t1._current; |
| if (J.$eq(splice.get$addedCount(), 1) && splice.get$removed()._collection$_source.length === 1) { |
| t3 = splice.get$removed()._collection$_source; |
| if (0 >= t3.length) |
| return H.ioore(t3, 0); |
| t3 = t3[0]; |
| t4 = J.get$index$x(splice); |
| if (t4 >>> 0 !== t4 || t4 >= t2.length) |
| return H.ioore(t2, t4); |
| if (!J.$eq(t3, t2[t4])) |
| splices.push(splice); |
| continue; |
| } |
| t3 = J.getInterceptor$x(splice); |
| C.JSArray_methods.addAll$1(splices, G.calcSplices(list, t3.get$index(splice), J.$add$ns(t3.get$index(splice), splice.get$addedCount()), splice.get$_removed(), 0, splice.get$removed()._collection$_source.length)); |
| } |
| return splices; |
| }, |
| ListChangeRecord: { |
| "^": "Object;object>,_unmodifiableRemoved,_removed<,_list_diff$_index,_addedCount", |
| get$index: function(_) { |
| return this._list_diff$_index; |
| }, |
| get$removed: function() { |
| return this._unmodifiableRemoved; |
| }, |
| get$addedCount: function() { |
| return this._addedCount; |
| }, |
| indexChanged$1: function(key) { |
| var t1; |
| if (typeof key === "number" && Math.floor(key) === key) { |
| t1 = this._list_diff$_index; |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| t1 = key < t1; |
| } else |
| t1 = true; |
| if (t1) |
| return false; |
| if (!J.$eq(this._addedCount, this._unmodifiableRemoved._collection$_source.length)) |
| return true; |
| return J.$lt$n(key, J.$add$ns(this._list_diff$_index, this._addedCount)); |
| }, |
| toString$0: function(_) { |
| var t1, t2; |
| t1 = "#<ListChangeRecord index: " + H.S(this._list_diff$_index) + ", removed: "; |
| t2 = this._unmodifiableRemoved; |
| return t1 + t2.toString$0(t2) + ", addedCount: " + H.S(this._addedCount) + ">"; |
| }, |
| $isListChangeRecord: true, |
| static: {ListChangeRecord_ListChangeRecord: function(object, index, addedCount, removed) { |
| var t1; |
| if (removed == null) |
| removed = []; |
| if (addedCount == null) |
| addedCount = 0; |
| t1 = new P.UnmodifiableListView(removed); |
| t1.$builtinTypeInfo = [null]; |
| return new G.ListChangeRecord(object, t1, removed, index, addedCount); |
| }} |
| } |
| }], |
| ["observe.src.metadata", "package:observe/src/metadata.dart", , K, { |
| "^": "", |
| ObservableProperty: { |
| "^": "Object;" |
| }, |
| Reflectable: { |
| "^": "Object;" |
| } |
| }], |
| ["observe.src.observable", "package:observe/src/observable.dart", , F, { |
| "^": "", |
| Observable_dirtyCheck: [function() { |
| return O.dirtyCheckObservables(); |
| }, "call$0", "Observable_dirtyCheck$closure", 0, 0, 18], |
| notifyPropertyChangeHelper: function(obj, field, oldValue, newValue) { |
| var t1 = J.getInterceptor$x(obj); |
| if (t1.get$hasObservers(obj) && !J.$eq(oldValue, newValue)) |
| t1.notifyChange$1(obj, H.setRuntimeTypeInfo(new T.PropertyChangeRecord(obj, field, oldValue, newValue), [null])); |
| return newValue; |
| }, |
| Observable: { |
| "^": "Object;_observable$_changes:observable$Observable$_observable$_changes%,_values:observable$Observable$_values%,_records:observable$Observable$_records%", |
| get$changes: function(receiver) { |
| var t1; |
| if (this.get$_observable$_changes(receiver) == null) { |
| t1 = this.get$_observable$_observed(receiver); |
| this.set$_observable$_changes(receiver, P.StreamController_StreamController$broadcast(this.get$_unobserved(receiver), t1, true, null)); |
| } |
| t1 = this.get$_observable$_changes(receiver); |
| t1.toString; |
| return H.setRuntimeTypeInfo(new P._BroadcastStream(t1), [H.getTypeArgumentByIndex(t1, 0)]); |
| }, |
| get$hasObservers: function(receiver) { |
| var t1, t2; |
| if (this.get$_observable$_changes(receiver) != null) { |
| t1 = this.get$_observable$_changes(receiver); |
| t2 = t1._async$_next; |
| t1 = t2 == null ? t1 != null : t2 !== t1; |
| } else |
| t1 = false; |
| return t1; |
| }, |
| _observable$_observed$0: [function(receiver) { |
| var t1, values, $name, getter; |
| t1 = $._allObservables; |
| if (t1 == null) { |
| t1 = H.setRuntimeTypeInfo([], [F.Observable]); |
| $._allObservables = t1; |
| } |
| t1.push(receiver); |
| $._allObservablesCount = $._allObservablesCount + 1; |
| values = P.LinkedHashMap_LinkedHashMap(null, null, null, P.Symbol, P.Object); |
| for (t1 = this.get$runtimeType(receiver), t1 = $.get$typeInspector().query$2(0, t1, new A.QueryOptions(true, false, true, C.Type_HqF, false, false, C.List_GGa, null)), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { |
| $name = J.get$name$x(t1._current); |
| getter = $.get$objectAccessor()._getters.$index(0, $name); |
| if (getter == null) |
| H.throwExpression(O.MissingCodeException$("getter \"" + H.S($name) + "\" in " + this.toString$0(receiver))); |
| values.$indexSet(0, $name, getter.call$1(receiver)); |
| } |
| this.set$_values(receiver, values); |
| }, "call$0", "get$_observable$_observed", 0, 0, 18], |
| _unobserved$0: [function(receiver) { |
| if (this.get$_values(receiver) != null) |
| this.set$_values(receiver, null); |
| }, "call$0", "get$_unobserved", 0, 0, 18], |
| deliverChanges$0: function(receiver) { |
| var t1, t2; |
| t1 = {}; |
| if (this.get$_values(receiver) == null || !this.get$hasObservers(receiver)) |
| return false; |
| t1.records_0 = this.get$_records(receiver); |
| this.set$_records(receiver, null); |
| this.get$_values(receiver).forEach$1(0, new F.Observable_deliverChanges_closure(t1, receiver)); |
| if (t1.records_0 == null) |
| return false; |
| t2 = this.get$_observable$_changes(receiver); |
| t1 = H.setRuntimeTypeInfo(new P.UnmodifiableListView(t1.records_0), [T.ChangeRecord]); |
| if (t2._state >= 4) |
| H.throwExpression(t2._addEventError$0()); |
| t2._sendData$1(t1); |
| return true; |
| }, |
| notifyChange$1: function(receiver, record) { |
| if (!this.get$hasObservers(receiver)) |
| return; |
| if (this.get$_records(receiver) == null) |
| this.set$_records(receiver, []); |
| this.get$_records(receiver).push(record); |
| }, |
| $isObservable: true |
| }, |
| Observable_deliverChanges_closure: { |
| "^": "Closure:75;box_0,this_1", |
| call$2: function($name, oldValue) { |
| var t1, newValue, t2, t3, records; |
| t1 = this.this_1; |
| newValue = $.get$objectAccessor().read$2(t1, $name); |
| if (!J.$eq(oldValue, newValue)) { |
| t2 = this.box_0; |
| t3 = t2.records_0; |
| if (t3 == null) { |
| records = []; |
| t2.records_0 = records; |
| t2 = records; |
| } else |
| t2 = t3; |
| t2.push(H.setRuntimeTypeInfo(new T.PropertyChangeRecord(t1, $name, oldValue, newValue), [null])); |
| J.get$_values$x(t1).$indexSet(0, $name, newValue); |
| } |
| }, |
| $isFunction: true |
| } |
| }], |
| ["observe.src.observable_box", "package:observe/src/observable_box.dart", , A, { |
| "^": "", |
| ObservableBox: { |
| "^": "ChangeNotifier;", |
| get$value: function(_) { |
| return this._observable_box$_value; |
| }, |
| set$value: function(_, newValue) { |
| this._observable_box$_value = F.notifyPropertyChangeHelper(this, C.Symbol_value, this._observable_box$_value, newValue); |
| }, |
| toString$0: function(_) { |
| return "#<" + new H.TypeImpl(H.getRuntimeTypeString(this), null).toString$0(0) + " value: " + H.S(this._observable_box$_value) + ">"; |
| } |
| } |
| }], |
| ["observe.src.observable_list", "package:observe/src/observable_list.dart", , Q, { |
| "^": "", |
| ObservableList: { |
| "^": "ListBase_ChangeNotifier;_listRecords@,_listChanges,_observable_list$_list,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$listChanges: function() { |
| var t1 = this._listChanges; |
| if (t1 == null) { |
| t1 = P.StreamController_StreamController$broadcast(new Q.ObservableList_listChanges_closure(this), null, true, null); |
| this._listChanges = t1; |
| } |
| t1.toString; |
| return H.setRuntimeTypeInfo(new P._BroadcastStream(t1), [H.getTypeArgumentByIndex(t1, 0)]); |
| }, |
| get$length: function(_) { |
| return this._observable_list$_list.length; |
| }, |
| set$length: function(_, value) { |
| var t1, len, t2, t3, removed; |
| t1 = this._observable_list$_list; |
| len = t1.length; |
| if (len === value) |
| return; |
| this.notifyPropertyChange$3(this, C.Symbol_length, len, value); |
| t2 = len === 0; |
| t3 = value === 0; |
| this.notifyPropertyChange$3(this, C.Symbol_isEmpty, t2, t3); |
| this.notifyPropertyChange$3(this, C.Symbol_isNotEmpty, !t2, !t3); |
| t2 = this._listChanges; |
| if (t2 != null) { |
| t3 = t2._async$_next; |
| t2 = t3 == null ? t2 != null : t3 !== t2; |
| } else |
| t2 = false; |
| if (t2) |
| if (value < len) { |
| if (value < 0 || value > t1.length) |
| H.throwExpression(P.RangeError$range(value, 0, t1.length)); |
| if (len < value || len > t1.length) |
| H.throwExpression(P.RangeError$range(len, value, t1.length)); |
| t2 = new H.SubListIterable(t1, value, len); |
| t2.$builtinTypeInfo = [null]; |
| if (value < 0) |
| H.throwExpression(P.RangeError$value(value)); |
| if (len < 0) |
| H.throwExpression(P.RangeError$value(len)); |
| if (value > len) |
| H.throwExpression(P.RangeError$range(value, 0, len)); |
| t2 = t2.toList$0(0); |
| t3 = new P.UnmodifiableListView(t2); |
| t3.$builtinTypeInfo = [null]; |
| this._recordChange$1(new G.ListChangeRecord(this, t3, t2, value, 0)); |
| } else { |
| removed = []; |
| t2 = new P.UnmodifiableListView(removed); |
| t2.$builtinTypeInfo = [null]; |
| this._recordChange$1(new G.ListChangeRecord(this, t2, removed, len, value - len)); |
| } |
| C.JSArray_methods.set$length(t1, value); |
| }, |
| $index: function(_, index) { |
| var t1 = this._observable_list$_list; |
| if (index >>> 0 !== index || index >= t1.length) |
| return H.ioore(t1, index); |
| return t1[index]; |
| }, |
| $indexSet: function(_, index, value) { |
| var t1, oldValue, t2, t3; |
| t1 = this._observable_list$_list; |
| if (index >>> 0 !== index || index >= t1.length) |
| return H.ioore(t1, index); |
| oldValue = t1[index]; |
| t2 = this._listChanges; |
| if (t2 != null) { |
| t3 = t2._async$_next; |
| t2 = t3 == null ? t2 != null : t3 !== t2; |
| } else |
| t2 = false; |
| if (t2) { |
| t2 = [oldValue]; |
| t3 = new P.UnmodifiableListView(t2); |
| t3.$builtinTypeInfo = [null]; |
| this._recordChange$1(new G.ListChangeRecord(this, t3, t2, index, 1)); |
| } |
| if (index >= t1.length) |
| return H.ioore(t1, index); |
| t1[index] = value; |
| }, |
| get$isEmpty: function(_) { |
| return P.ListMixin.prototype.get$isEmpty.call(this, this); |
| }, |
| get$isNotEmpty: function(_) { |
| return P.ListMixin.prototype.get$isNotEmpty.call(this, this); |
| }, |
| setAll$2: function(_, index, iterable) { |
| var t1, len, t2; |
| t1 = J.getInterceptor(iterable); |
| if (!t1.$isList && true) |
| iterable = t1.toList$0(iterable); |
| len = J.get$length$asx(iterable); |
| t1 = this._listChanges; |
| if (t1 != null) { |
| t2 = t1._async$_next; |
| t1 = t2 == null ? t1 != null : t2 !== t1; |
| } else |
| t1 = false; |
| if (t1 && len > 0) { |
| t1 = this._observable_list$_list; |
| H.IterableMixinWorkaround__rangeCheck(t1, index, len); |
| this._recordChange$1(G.ListChangeRecord_ListChangeRecord(this, index, len, H.SubListIterable$(t1, index, len, null).toList$0(0))); |
| } |
| H.IterableMixinWorkaround_setAllList(this._observable_list$_list, index, iterable); |
| }, |
| add$1: function(_, value) { |
| var t1, len, t2, t3; |
| t1 = this._observable_list$_list; |
| len = t1.length; |
| this._notifyChangeLength$2(len, len + 1); |
| t2 = this._listChanges; |
| if (t2 != null) { |
| t3 = t2._async$_next; |
| t2 = t3 == null ? t2 != null : t3 !== t2; |
| } else |
| t2 = false; |
| if (t2) |
| this._recordChange$1(G.ListChangeRecord_ListChangeRecord(this, len, 1, null)); |
| C.JSArray_methods.add$1(t1, value); |
| }, |
| addAll$1: function(_, iterable) { |
| var t1, len, added, t2; |
| t1 = this._observable_list$_list; |
| len = t1.length; |
| C.JSArray_methods.addAll$1(t1, iterable); |
| this._notifyChangeLength$2(len, t1.length); |
| added = t1.length - len; |
| t1 = this._listChanges; |
| if (t1 != null) { |
| t2 = t1._async$_next; |
| t1 = t2 == null ? t1 != null : t2 !== t1; |
| } else |
| t1 = false; |
| if (t1 && added > 0) |
| this._recordChange$1(G.ListChangeRecord_ListChangeRecord(this, len, added, null)); |
| }, |
| removeRange$2: function(_, start, end) { |
| var t1, t2, rangeLength, t3, len, t4, t5; |
| t1 = start >= 0; |
| if (!t1 || start > this._observable_list$_list.length) |
| H.throwExpression(P.RangeError$range(start, 0, this.get$length(this))); |
| t2 = end >= start; |
| if (!t2 || end > this._observable_list$_list.length) |
| H.throwExpression(P.RangeError$range(end, start, this.get$length(this))); |
| rangeLength = end - start; |
| t3 = this._observable_list$_list; |
| len = t3.length; |
| t4 = len - rangeLength; |
| this.notifyPropertyChange$3(this, C.Symbol_length, len, t4); |
| t5 = len === 0; |
| t4 = t4 === 0; |
| this.notifyPropertyChange$3(this, C.Symbol_isEmpty, t5, t4); |
| this.notifyPropertyChange$3(this, C.Symbol_isNotEmpty, !t5, !t4); |
| t4 = this._listChanges; |
| if (t4 != null) { |
| t5 = t4._async$_next; |
| t4 = t5 == null ? t4 != null : t5 !== t4; |
| } else |
| t4 = false; |
| if (t4 && rangeLength > 0) { |
| if (!t1 || start > t3.length) |
| H.throwExpression(P.RangeError$range(start, 0, t3.length)); |
| if (!t2 || end > t3.length) |
| H.throwExpression(P.RangeError$range(end, start, t3.length)); |
| t1 = new H.SubListIterable(t3, start, end); |
| t1.$builtinTypeInfo = [null]; |
| if (start < 0) |
| H.throwExpression(P.RangeError$value(start)); |
| if (end < 0) |
| H.throwExpression(P.RangeError$value(end)); |
| if (start > end) |
| H.throwExpression(P.RangeError$range(start, 0, end)); |
| t1 = t1.toList$0(0); |
| t2 = new P.UnmodifiableListView(t1); |
| t2.$builtinTypeInfo = [null]; |
| this._recordChange$1(new G.ListChangeRecord(this, t2, t1, start, 0)); |
| } |
| C.JSArray_methods.removeRange$2(t3, start, end); |
| }, |
| insertAll$2: function(_, index, iterable) { |
| var t1, insertionLength, len, t2; |
| if (index < 0 || index > this._observable_list$_list.length) |
| throw H.wrapException(P.RangeError$range(index, 0, this.get$length(this))); |
| t1 = J.getInterceptor(iterable); |
| if (!t1.$isList && true) |
| iterable = t1.toList$0(iterable); |
| insertionLength = J.get$length$asx(iterable); |
| t1 = this._observable_list$_list; |
| len = t1.length; |
| C.JSArray_methods.set$length(t1, len + insertionLength); |
| t2 = t1.length; |
| H.IterableMixinWorkaround_setRangeList(t1, index + insertionLength, t2, this, index); |
| H.IterableMixinWorkaround_setAllList(t1, index, iterable); |
| this._notifyChangeLength$2(len, t1.length); |
| t1 = this._listChanges; |
| if (t1 != null) { |
| t2 = t1._async$_next; |
| t1 = t2 == null ? t1 != null : t2 !== t1; |
| } else |
| t1 = false; |
| if (t1 && insertionLength > 0) |
| this._recordChange$1(G.ListChangeRecord_ListChangeRecord(this, index, insertionLength, null)); |
| }, |
| insert$2: function(_, index, element) { |
| var t1, t2, t3; |
| if (index > this._observable_list$_list.length) |
| throw H.wrapException(P.RangeError$range(index, 0, this.get$length(this))); |
| t1 = this._observable_list$_list; |
| t2 = t1.length; |
| if (index === t2) { |
| this.add$1(0, element); |
| return; |
| } |
| C.JSArray_methods.set$length(t1, t2 + 1); |
| t2 = t1.length; |
| H.IterableMixinWorkaround_setRangeList(t1, index + 1, t2, this, index); |
| t2 = t1.length; |
| this._notifyChangeLength$2(t2 - 1, t2); |
| t2 = this._listChanges; |
| if (t2 != null) { |
| t3 = t2._async$_next; |
| t2 = t3 == null ? t2 != null : t3 !== t2; |
| } else |
| t2 = false; |
| if (t2) |
| this._recordChange$1(G.ListChangeRecord_ListChangeRecord(this, index, 1, null)); |
| if (index >= t1.length) |
| return H.ioore(t1, index); |
| t1[index] = element; |
| }, |
| _recordChange$1: function(record) { |
| var t1, t2; |
| t1 = this._listChanges; |
| if (t1 != null) { |
| t2 = t1._async$_next; |
| t1 = t2 == null ? t1 != null : t2 !== t1; |
| } else |
| t1 = false; |
| if (!t1) |
| return; |
| if (this._listRecords == null) { |
| this._listRecords = []; |
| P.scheduleMicrotask(this.get$deliverListChanges()); |
| } |
| this._listRecords.push(record); |
| }, |
| _notifyChangeLength$2: function(oldValue, newValue) { |
| var t1, t2; |
| this.notifyPropertyChange$3(this, C.Symbol_length, oldValue, newValue); |
| t1 = oldValue === 0; |
| t2 = newValue === 0; |
| this.notifyPropertyChange$3(this, C.Symbol_isEmpty, t1, t2); |
| this.notifyPropertyChange$3(this, C.Symbol_isNotEmpty, !t1, !t2); |
| }, |
| deliverListChanges$0: [function() { |
| var t1, records, t2; |
| t1 = this._listRecords; |
| if (t1 == null) |
| return false; |
| records = G.projectListSplices(this, t1); |
| this._listRecords = null; |
| t1 = this._listChanges; |
| if (t1 != null) { |
| t2 = t1._async$_next; |
| t2 = t2 == null ? t1 != null : t2 !== t1; |
| } else |
| t2 = false; |
| if (t2 && records.length !== 0) { |
| t2 = H.setRuntimeTypeInfo(new P.UnmodifiableListView(records), [G.ListChangeRecord]); |
| if (t1._state >= 4) |
| H.throwExpression(t1._addEventError$0()); |
| t1._sendData$1(t2); |
| return true; |
| } |
| return false; |
| }, "call$0", "get$deliverListChanges", 0, 0, 111], |
| $isObservableList: true, |
| static: {ObservableList$: function($length, $E) { |
| var t1 = H.setRuntimeTypeInfo([], [$E]); |
| return H.setRuntimeTypeInfo(new Q.ObservableList(null, null, t1, null, null), [$E]); |
| }, ObservableList_applyChangeRecords: function(previous, current, changeRecords) { |
| var t1, t2, change, t3, addEnd, removeEnd, addedItems, t4, t5, removeLength, insertLength, delta, insertEnd, newEnd, newLength; |
| if (previous === current) |
| throw H.wrapException(P.ArgumentError$("can't use same list for previous and current")); |
| for (t1 = J.get$iterator$ax(changeRecords), t2 = J.getInterceptor$ax(current); t1.moveNext$0();) { |
| change = t1.get$current(); |
| t3 = J.getInterceptor$x(change); |
| addEnd = J.$add$ns(t3.get$index(change), change.get$addedCount()); |
| removeEnd = J.$add$ns(t3.get$index(change), change.get$removed()._collection$_source.length); |
| addedItems = t2.getRange$2(current, t3.get$index(change), addEnd); |
| t3 = t3.get$index(change); |
| t4 = J.getInterceptor$n(t3); |
| if (t4.$lt(t3, 0) || t4.$gt(t3, previous.length)) |
| H.throwExpression(P.RangeError$range(t3, 0, previous.length)); |
| t5 = J.getInterceptor$n(removeEnd); |
| if (t5.$lt(removeEnd, t3) || t5.$gt(removeEnd, previous.length)) |
| H.throwExpression(P.RangeError$range(removeEnd, t3, previous.length)); |
| removeLength = t5.$sub(removeEnd, t3); |
| insertLength = addedItems.get$length(addedItems); |
| t5 = J.getInterceptor$n(removeLength); |
| if (t5.$ge(removeLength, insertLength)) { |
| delta = t5.$sub(removeLength, insertLength); |
| insertEnd = t4.$add(t3, insertLength); |
| t4 = previous.length; |
| if (typeof delta !== "number") |
| return H.iae(delta); |
| newEnd = t4 - delta; |
| H.IterableMixinWorkaround_setRangeList(previous, t3, insertEnd, addedItems, 0); |
| if (delta !== 0) { |
| H.IterableMixinWorkaround_setRangeList(previous, insertEnd, newEnd, previous, removeEnd); |
| C.JSArray_methods.set$length(previous, newEnd); |
| } |
| } else { |
| delta = J.$sub$n(insertLength, removeLength); |
| t5 = previous.length; |
| if (typeof delta !== "number") |
| return H.iae(delta); |
| newLength = t5 + delta; |
| insertEnd = t4.$add(t3, insertLength); |
| C.JSArray_methods.set$length(previous, newLength); |
| H.IterableMixinWorkaround_setRangeList(previous, insertEnd, newLength, previous, removeEnd); |
| H.IterableMixinWorkaround_setRangeList(previous, t3, insertEnd, addedItems, 0); |
| } |
| } |
| }} |
| }, |
| ListBase_ChangeNotifier: { |
| "^": "ListBase+ChangeNotifier;", |
| $isObservable: true |
| }, |
| ObservableList_listChanges_closure: { |
| "^": "Closure:69;this_0", |
| call$0: function() { |
| this.this_0._listChanges = null; |
| }, |
| $isFunction: true |
| } |
| }], |
| ["observe.src.observable_map", "package:observe/src/observable_map.dart", , V, { |
| "^": "", |
| MapChangeRecord: { |
| "^": "ChangeRecord;key>,oldValue,newValue,isInsert,isRemove", |
| toString$0: function(_) { |
| var kind; |
| if (this.isInsert) |
| kind = "insert"; |
| else |
| kind = this.isRemove ? "remove" : "set"; |
| return "#<MapChangeRecord " + kind + " " + H.S(this.key) + " from: " + H.S(this.oldValue) + " to: " + H.S(this.newValue) + ">"; |
| }, |
| $isMapChangeRecord: true |
| }, |
| ObservableMap: { |
| "^": "ChangeNotifier;_observable_map$_map,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$keys: function() { |
| return this._observable_map$_map.get$keys(); |
| }, |
| get$values: function(_) { |
| var t1 = this._observable_map$_map; |
| return t1.get$values(t1); |
| }, |
| get$length: function(_) { |
| var t1 = this._observable_map$_map; |
| return t1.get$length(t1); |
| }, |
| get$isEmpty: function(_) { |
| var t1 = this._observable_map$_map; |
| return t1.get$length(t1) === 0; |
| }, |
| get$isNotEmpty: function(_) { |
| var t1 = this._observable_map$_map; |
| return t1.get$length(t1) !== 0; |
| }, |
| $index: function(_, key) { |
| return this._observable_map$_map.$index(0, key); |
| }, |
| $indexSet: function(_, key, value) { |
| var t1, t2, len, oldValue; |
| t1 = this.change_notifier$ChangeNotifier$_changes; |
| if (t1 != null) { |
| t2 = t1._async$_next; |
| t1 = t2 == null ? t1 != null : t2 !== t1; |
| } else |
| t1 = false; |
| if (!t1) { |
| this._observable_map$_map.$indexSet(0, key, value); |
| return; |
| } |
| t1 = this._observable_map$_map; |
| len = t1.get$length(t1); |
| oldValue = t1.$index(0, key); |
| t1.$indexSet(0, key, value); |
| if (len !== t1.get$length(t1)) { |
| F.notifyPropertyChangeHelper(this, C.Symbol_length, len, t1.get$length(t1)); |
| this.notifyChange$1(this, H.setRuntimeTypeInfo(new V.MapChangeRecord(key, null, value, true, false), [null, null])); |
| this._notifyKeysValuesChanged$0(); |
| } else if (!J.$eq(oldValue, value)) { |
| this.notifyChange$1(this, H.setRuntimeTypeInfo(new V.MapChangeRecord(key, oldValue, value, false, false), [null, null])); |
| this.notifyChange$1(this, H.setRuntimeTypeInfo(new T.PropertyChangeRecord(this, C.Symbol_values, null, null), [null])); |
| } |
| }, |
| addAll$1: function(_, other) { |
| J.forEach$1$ax(other, new V.ObservableMap_addAll_closure(this)); |
| }, |
| clear$0: function(_) { |
| var t1, len, t2, t3; |
| t1 = this._observable_map$_map; |
| len = t1.get$length(t1); |
| t2 = this.change_notifier$ChangeNotifier$_changes; |
| if (t2 != null) { |
| t3 = t2._async$_next; |
| t2 = t3 == null ? t2 != null : t3 !== t2; |
| } else |
| t2 = false; |
| if (t2 && len > 0) { |
| t1.forEach$1(0, new V.ObservableMap_clear_closure(this)); |
| F.notifyPropertyChangeHelper(this, C.Symbol_length, len, 0); |
| this._notifyKeysValuesChanged$0(); |
| } |
| t1.clear$0(0); |
| }, |
| forEach$1: function(_, f) { |
| return this._observable_map$_map.forEach$1(0, f); |
| }, |
| toString$0: function(_) { |
| return P.Maps_mapToString(this); |
| }, |
| _notifyKeysValuesChanged$0: function() { |
| this.notifyChange$1(this, H.setRuntimeTypeInfo(new T.PropertyChangeRecord(this, C.Symbol_keys, null, null), [null])); |
| this.notifyChange$1(this, H.setRuntimeTypeInfo(new T.PropertyChangeRecord(this, C.Symbol_values, null, null), [null])); |
| }, |
| $isObservableMap: true, |
| $isMap: true, |
| static: {ObservableMap_ObservableMap$createFromType: function(other, $K, $V) { |
| var result; |
| if (!!other.$isSplayTreeMap) |
| result = H.setRuntimeTypeInfo(new V.ObservableMap(P.SplayTreeMap$(null, null, $K, $V), null, null), [$K, $V]); |
| else |
| result = !!other.$isLinkedHashMap ? H.setRuntimeTypeInfo(new V.ObservableMap(P.LinkedHashMap_LinkedHashMap(null, null, null, $K, $V), null, null), [$K, $V]) : H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, $K, $V), null, null), [$K, $V]); |
| return result; |
| }} |
| }, |
| ObservableMap_addAll_closure: { |
| "^": "Closure;this_0", |
| call$2: [function(key, value) { |
| this.this_0.$indexSet(0, key, value); |
| }, "call$2", null, 4, 0, null, 76, 21, "call"], |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(K, V) { |
| return {func: "dynamic__K_V2", args: [K, V]}; |
| }, this.this_0, "ObservableMap"); |
| } |
| }, |
| ObservableMap_clear_closure: { |
| "^": "Closure:75;this_0", |
| call$2: function(key, value) { |
| var t1 = this.this_0; |
| t1.notifyChange$1(t1, H.setRuntimeTypeInfo(new V.MapChangeRecord(key, value, null, false, true), [null, null])); |
| }, |
| $isFunction: true |
| } |
| }], |
| ["observe.src.observer_transform", "package:observe/src/observer_transform.dart", , Y, { |
| "^": "", |
| ObserverTransform: { |
| "^": "Bindable;_bindable,_getTransformer,_setTransformer,_observer_transform$_notifyCallback,_observer_transform$_value", |
| _getTransformer$1: function(arg0) { |
| return this._getTransformer.call$1(arg0); |
| }, |
| _observer_transform$_notifyCallback$1: function(arg0) { |
| return this._observer_transform$_notifyCallback.call$1(arg0); |
| }, |
| open$1: function(_, callback) { |
| var t1; |
| this._observer_transform$_notifyCallback = callback; |
| t1 = this._getTransformer$1(J.open$1$x(this._bindable, this.get$_observedCallback())); |
| this._observer_transform$_value = t1; |
| return t1; |
| }, |
| _observedCallback$1: [function(newValue) { |
| var value = this._getTransformer$1(newValue); |
| if (J.$eq(value, this._observer_transform$_value)) |
| return; |
| this._observer_transform$_value = value; |
| return this._observer_transform$_notifyCallback$1(value); |
| }, "call$1", "get$_observedCallback", 2, 0, 13, 58], |
| close$0: function(_) { |
| var t1 = this._bindable; |
| if (t1 != null) |
| J.close$0$x(t1); |
| this._bindable = null; |
| this._getTransformer = null; |
| this._setTransformer = null; |
| this._observer_transform$_notifyCallback = null; |
| this._observer_transform$_value = null; |
| }, |
| get$value: function(_) { |
| var t1 = this._getTransformer$1(J.get$value$x(this._bindable)); |
| this._observer_transform$_value = t1; |
| return t1; |
| }, |
| set$value: function(_, newValue) { |
| J.set$value$x(this._bindable, newValue); |
| } |
| } |
| }], |
| ["observe.src.path_observer", "package:observe/src/path_observer.dart", , L, { |
| "^": "", |
| _getObjectProperty: function(object, property) { |
| var t1, t2, getter, exception, decl; |
| if (object == null) |
| return; |
| t1 = property; |
| if (typeof t1 === "number" && Math.floor(t1) === t1) { |
| if (!!J.getInterceptor(object).$isList && J.$ge$n(property, 0) && J.$lt$n(property, J.get$length$asx(object))) |
| return J.$index$asx(object, property); |
| } else if (!!J.getInterceptor(property).$isSymbol) { |
| t1 = object; |
| t2 = H.checkSubtype(t1, "$isIndexable", [P.String, null], "$asIndexable"); |
| if (!t2) { |
| t1 = object; |
| t2 = H.checkSubtype(t1, "$isMap", [P.String, null], "$asMap"); |
| t1 = t2 && !C.JSArray_methods.contains$1(C.List_8QI, property); |
| } else |
| t1 = true; |
| if (t1) |
| return J.$index$asx(object, $.get$symbolConverter()._names.$index(0, property)); |
| try { |
| t1 = object; |
| t2 = property; |
| getter = $.get$objectAccessor()._getters.$index(0, t2); |
| if (getter == null) |
| H.throwExpression(O.MissingCodeException$("getter \"" + H.S(t2) + "\" in " + H.S(t1))); |
| t1 = getter.call$1(t1); |
| return t1; |
| } catch (exception) { |
| if (!!J.getInterceptor(H.unwrapException(exception)).$isNoSuchMethodError) { |
| t1 = J.get$runtimeType$(object); |
| decl = $.get$typeInspector()._findDeclaration$2(t1, C.Symbol_noSuchMethod); |
| if (!(decl != null && decl.kind === C.DeclarationKind_2 && !decl.isStatic)) |
| throw exception; |
| } else |
| throw exception; |
| } |
| |
| } |
| t1 = $.get$_logger0(); |
| if (t1.isLoggable$1(C.Level_FINER_400)) |
| t1.finer$1("can't get " + H.S(property) + " in " + H.S(object)); |
| return; |
| }, |
| _setObjectProperty: function(object, property, value) { |
| var t1, t2, exception; |
| if (object == null) |
| return false; |
| t1 = property; |
| if (typeof t1 === "number" && Math.floor(t1) === t1) { |
| if (!!J.getInterceptor(object).$isList && J.$ge$n(property, 0) && J.$lt$n(property, J.get$length$asx(object))) { |
| J.$indexSet$ax(object, property, value); |
| return true; |
| } |
| } else if (!!J.getInterceptor(property).$isSymbol) { |
| t1 = object; |
| t2 = H.checkSubtype(t1, "$isIndexable", [P.String, null], "$asIndexable"); |
| if (!t2) { |
| t1 = object; |
| t2 = H.checkSubtype(t1, "$isMap", [P.String, null], "$asMap"); |
| t1 = t2 && !C.JSArray_methods.contains$1(C.List_8QI, property); |
| } else |
| t1 = true; |
| if (t1) { |
| J.$indexSet$ax(object, $.get$symbolConverter()._names.$index(0, property), value); |
| return true; |
| } |
| try { |
| $.get$objectAccessor().write$3(object, property, value); |
| return true; |
| } catch (exception) { |
| if (!!J.getInterceptor(H.unwrapException(exception)).$isNoSuchMethodError) { |
| t1 = J.get$runtimeType$(object); |
| if (!$.get$typeInspector().hasInstanceMethod$2(t1, C.Symbol_noSuchMethod)) |
| throw exception; |
| } else |
| throw exception; |
| } |
| |
| } |
| t1 = $.get$_logger0(); |
| if (t1.isLoggable$1(C.Level_FINER_400)) |
| t1.finer$1("can't set " + H.S(property) + " in " + H.S(object)); |
| return false; |
| }, |
| _isPathValid: function(s) { |
| s = J.trim$0$s(s); |
| if (s === "") |
| return true; |
| if (0 >= s.length) |
| return H.ioore(s, 0); |
| if (s[0] === ".") |
| return false; |
| return $.get$_pathRegExp().hasMatch$1(s); |
| }, |
| PathObserver: { |
| "^": "_Observer;_path_observer$_path,_object,_directObserver,_birthId,_notifyCallback,_notifyArgumentCount,_path_observer$_value", |
| get$_path_observer$_isClosed: function() { |
| return this._path_observer$_path == null; |
| }, |
| set$value: function(_, newValue) { |
| var t1 = this._path_observer$_path; |
| if (t1 != null) |
| t1.setValueFrom$2(this._object, newValue); |
| }, |
| get$_reportArgumentCount: function() { |
| return 2; |
| }, |
| open$1: function(_, callback) { |
| return L._Observer.prototype.open$1.call(this, this, callback); |
| }, |
| _connect$0: function() { |
| this._directObserver = L._ObservedSet__ObservedSet(this, this._object); |
| this._check$1$skipChanges(true); |
| }, |
| _disconnect$0: function() { |
| this._path_observer$_value = null; |
| this._path_observer$_path = null; |
| this._object = null; |
| }, |
| _iterateObjects$1: function(observe) { |
| this._path_observer$_path._iterateObjects$2(this._object, observe); |
| }, |
| _check$1$skipChanges: function(skipChanges) { |
| var oldValue, t1; |
| oldValue = this._path_observer$_value; |
| t1 = this._path_observer$_path.getValueFrom$1(this._object); |
| this._path_observer$_value = t1; |
| if (skipChanges || J.$eq(t1, oldValue)) |
| return false; |
| this._report$2(this._path_observer$_value, oldValue); |
| return true; |
| }, |
| _check$0: function() { |
| return this._check$1$skipChanges(false); |
| }, |
| $isBindable: true |
| }, |
| PropertyPath: { |
| "^": "Object;_segments", |
| get$length: function(_) { |
| return this._segments.length; |
| }, |
| get$isEmpty: function(_) { |
| return this._segments.length === 0; |
| }, |
| get$isValid: function() { |
| return true; |
| }, |
| toString$0: function(_) { |
| if (!this.get$isValid()) |
| return "<invalid path>"; |
| return H.setRuntimeTypeInfo(new H.MappedListIterable(this._segments, new L.PropertyPath_toString_closure()), [null, null]).join$1(0, "."); |
| }, |
| $eq: function(_, other) { |
| var t1, len, t2, i, t3; |
| if (other == null) |
| return false; |
| if (this === other) |
| return true; |
| if (!J.getInterceptor(other).$isPropertyPath) |
| return false; |
| if (this.get$isValid() !== other.get$isValid()) |
| return false; |
| t1 = this._segments; |
| len = t1.length; |
| t2 = other._segments; |
| if (len !== t2.length) |
| return false; |
| for (i = 0; i < len; ++i) { |
| if (i >= t1.length) |
| return H.ioore(t1, i); |
| t3 = t1[i]; |
| if (i >= t2.length) |
| return H.ioore(t2, i); |
| if (!J.$eq(t3, t2[i])) |
| return false; |
| } |
| return true; |
| }, |
| get$hashCode: function(_) { |
| var t1, len, hash, i, t2; |
| for (t1 = this._segments, len = t1.length, hash = 0, i = 0; i < len; ++i) { |
| if (i >= t1.length) |
| return H.ioore(t1, i); |
| t2 = J.get$hashCode$(t1[i]); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| hash = 536870911 & hash + t2; |
| 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); |
| }, |
| getValueFrom$1: function(obj) { |
| var t1, segment; |
| if (!this.get$isValid()) |
| return; |
| for (t1 = this._segments, t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { |
| segment = t1._current; |
| if (obj == null) |
| return; |
| obj = L._getObjectProperty(obj, segment); |
| } |
| return obj; |
| }, |
| setValueFrom$2: function(obj, value) { |
| var t1, end, i; |
| t1 = this._segments; |
| end = t1.length - 1; |
| if (end < 0) |
| return false; |
| for (i = 0; i < end; ++i) { |
| if (obj == null) |
| return false; |
| if (i >= t1.length) |
| return H.ioore(t1, i); |
| obj = L._getObjectProperty(obj, t1[i]); |
| } |
| if (end >= t1.length) |
| return H.ioore(t1, end); |
| return L._setObjectProperty(obj, t1[end], value); |
| }, |
| _iterateObjects$2: function(obj, observe) { |
| var t1, last, i, i0; |
| if (!this.get$isValid() || this._segments.length === 0) |
| return; |
| t1 = this._segments; |
| last = t1.length - 1; |
| for (i = 0; obj != null; i = i0) { |
| observe.call$1(obj); |
| if (i >= last) |
| break; |
| i0 = i + 1; |
| if (i >= t1.length) |
| return H.ioore(t1, i); |
| obj = L._getObjectProperty(obj, t1[i]); |
| } |
| }, |
| $isPropertyPath: true, |
| static: {PropertyPath_PropertyPath: function(path) { |
| var copy, t1, segment, pathObj, segments, t2, index, it; |
| if (!!J.getInterceptor(path).$isList) { |
| copy = P.List_List$from(path, false, null); |
| t1 = new H.ListIterator(copy, copy.length, 0, null); |
| t1.$builtinTypeInfo = [H.getTypeArgumentByIndex(copy, 0)]; |
| for (; t1.moveNext$0();) { |
| segment = t1._current; |
| if ((typeof segment !== "number" || Math.floor(segment) !== segment) && !J.getInterceptor(segment).$isSymbol) |
| throw H.wrapException(P.ArgumentError$("List must contain only ints and Symbols")); |
| } |
| return new L.PropertyPath(copy); |
| } |
| if (path == null) |
| path = ""; |
| pathObj = $.get$_pathCache().$index(0, path); |
| if (pathObj != null) |
| return pathObj; |
| if (!L._isPathValid(path)) |
| return $.get$_InvalidPropertyPath__instance(); |
| segments = []; |
| t1 = J.trim$0$s(path).split("."); |
| t2 = new H.ListIterator(t1, t1.length, 0, null); |
| t2.$builtinTypeInfo = [H.getTypeArgumentByIndex(t1, 0)]; |
| for (; t2.moveNext$0();) { |
| segment = t2._current; |
| if (J.$eq(segment, "")) |
| continue; |
| index = H.Primitives_parseInt(segment, 10, new L.PropertyPath_PropertyPath_closure()); |
| segments.push(index != null ? index : $.get$symbolConverter()._symbols.$index(0, segment)); |
| } |
| pathObj = new L.PropertyPath(C.JSArray_methods.toList$1$growable(segments, false)); |
| t1 = $.get$_pathCache(); |
| if (t1._collection$_length >= 100) { |
| t1.toString; |
| t2 = new P.LinkedHashMapKeyIterable(t1); |
| t2.$builtinTypeInfo = [H.getTypeArgumentByIndex(t1, 0)]; |
| it = t2.get$iterator(t2); |
| if (!it.moveNext$0()) |
| H.throwExpression(H.IterableElementError_noElement()); |
| t1.remove$1(0, it.get$current()); |
| } |
| t1.$indexSet(0, path, pathObj); |
| return pathObj; |
| }} |
| }, |
| PropertyPath_PropertyPath_closure: { |
| "^": "Closure:13;", |
| call$1: function(_) { |
| return; |
| }, |
| $isFunction: true |
| }, |
| PropertyPath_toString_closure: { |
| "^": "Closure:13;", |
| call$1: [function(s) { |
| return !!J.getInterceptor(s).$isSymbol ? $.get$symbolConverter()._names.$index(0, s) : s; |
| }, "call$1", null, 2, 0, null, 142, "call"], |
| $isFunction: true |
| }, |
| _InvalidPropertyPath: { |
| "^": "PropertyPath;_segments", |
| get$isValid: function() { |
| return false; |
| }, |
| static: {"^": "_InvalidPropertyPath__instance"} |
| }, |
| closure7: { |
| "^": "Closure:69;", |
| call$0: function() { |
| return new H.JSSyntaxRegExp("^(?:(?:[$_a-zA-Z]+[$_a-zA-Z0-9]*|(?:[0-9]|[1-9]+[0-9]+)))(?:\\.(?:[$_a-zA-Z]+[$_a-zA-Z0-9]*|(?:[0-9]|[1-9]+[0-9]+)))*$", H.JSSyntaxRegExp_makeNative("^(?:(?:[$_a-zA-Z]+[$_a-zA-Z0-9]*|(?:[0-9]|[1-9]+[0-9]+)))(?:\\.(?:[$_a-zA-Z]+[$_a-zA-Z0-9]*|(?:[0-9]|[1-9]+[0-9]+)))*$", false, true, false), null, null); |
| }, |
| $isFunction: true |
| }, |
| CompoundObserver: { |
| "^": "_Observer;_directObserver,_observed,_birthId,_notifyCallback,_notifyArgumentCount,_path_observer$_value", |
| get$_path_observer$_isClosed: function() { |
| return this._observed == null; |
| }, |
| get$_reportArgumentCount: function() { |
| return 3; |
| }, |
| open$1: function(_, callback) { |
| return L._Observer.prototype.open$1.call(this, this, callback); |
| }, |
| _connect$0: function() { |
| var t1, t2, i, object; |
| this._check$1$skipChanges(true); |
| for (t1 = this._observed, t2 = t1.length, i = 0; i < t2; i += 2) { |
| object = t1[i]; |
| if (object !== C.C__ObserverSentinel) { |
| t1 = $._ObservedSet__lastSet; |
| if (t1 != null) { |
| t2 = t1._rootObject; |
| t2 = t2 == null ? object != null : t2 !== object; |
| } else |
| t2 = true; |
| if (t2) { |
| t1 = new L._ObservedSet(object, P.SplayTreeMap$(null, null, null, null), null, null, false); |
| $._ObservedSet__lastSet = t1; |
| } |
| t1._path_observer$_observers.$indexSet(0, this._birthId, this); |
| this._iterateObjects$1(t1.get$observe(t1)); |
| this._directObserver = null; |
| break; |
| } |
| } |
| }, |
| _disconnect$0: function() { |
| var i, t1, t2, t3; |
| this._path_observer$_value = null; |
| for (i = 0; t1 = this._observed, t2 = t1.length, i < t2; i += 2) |
| if (t1[i] === C.C__ObserverSentinel) { |
| t3 = i + 1; |
| if (t3 >= t2) |
| return H.ioore(t1, t3); |
| J.close$0$x(t1[t3]); |
| } |
| this._observed = null; |
| }, |
| addPath$2: function(object, path) { |
| var t1; |
| if (this._notifyCallback != null || this._observed == null) |
| throw H.wrapException(P.StateError$("Cannot add paths once started.")); |
| if (!J.getInterceptor(path).$isPropertyPath) |
| path = L.PropertyPath_PropertyPath(path); |
| t1 = this._observed; |
| t1.push(object); |
| t1.push(path); |
| }, |
| addPath$1: function(object) { |
| return this.addPath$2(object, null); |
| }, |
| _iterateObjects$1: function(observe) { |
| var i, t1, t2, object, t3; |
| for (i = 0; t1 = this._observed, t2 = t1.length, i < t2; i += 2) { |
| object = t1[i]; |
| if (object !== C.C__ObserverSentinel) { |
| t3 = i + 1; |
| if (t3 >= t2) |
| return H.ioore(t1, t3); |
| H.interceptedTypeCast(t1[t3], "$isPropertyPath")._iterateObjects$2(object, observe); |
| } |
| } |
| }, |
| _check$1$skipChanges: function(skipChanges) { |
| var changed, oldValues, i, t1, t2, t3, pathOrObserver, object, value; |
| J.set$length$asx(this._path_observer$_value, C.JSInt_methods._tdivFast$1(this._observed.length, 2)); |
| for (changed = false, oldValues = null, i = 0; t1 = this._observed, t2 = t1.length, i < t2; i += 2) { |
| t3 = i + 1; |
| if (t3 >= t2) |
| return H.ioore(t1, t3); |
| pathOrObserver = t1[t3]; |
| object = t1[i]; |
| if (object === C.C__ObserverSentinel) { |
| H.interceptedTypeCast(pathOrObserver, "$isBindable"); |
| value = pathOrObserver.get$value(pathOrObserver); |
| } else |
| value = H.interceptedTypeCast(pathOrObserver, "$isPropertyPath").getValueFrom$1(object); |
| if (skipChanges) { |
| J.$indexSet$ax(this._path_observer$_value, C.JSInt_methods._tdivFast$1(i, 2), value); |
| continue; |
| } |
| t1 = this._path_observer$_value; |
| t2 = C.JSInt_methods._tdivFast$1(i, 2); |
| if (J.$eq(value, J.$index$asx(t1, t2))) |
| continue; |
| t1 = this._notifyArgumentCount; |
| if (typeof t1 !== "number") |
| return t1.$ge(); |
| if (t1 >= 2) { |
| if (oldValues == null) |
| oldValues = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null); |
| oldValues.$indexSet(0, t2, J.$index$asx(this._path_observer$_value, t2)); |
| } |
| J.$indexSet$ax(this._path_observer$_value, t2, value); |
| changed = true; |
| } |
| if (!changed) |
| return false; |
| this._report$3(this._path_observer$_value, oldValues, t1); |
| return true; |
| }, |
| _check$0: function() { |
| return this._check$1$skipChanges(false); |
| }, |
| $isBindable: true |
| }, |
| _ObserverSentinel: { |
| "^": "Object;" |
| }, |
| _Observer: { |
| "^": "Bindable;_birthId<", |
| _notifyCallback$0: function() { |
| return this._notifyCallback.call$0(); |
| }, |
| _notifyCallback$1: function(arg0) { |
| return this._notifyCallback.call$1(arg0); |
| }, |
| _notifyCallback$2: function(arg0, arg1) { |
| return this._notifyCallback.call$2(arg0, arg1); |
| }, |
| _notifyCallback$3: function(arg0, arg1, arg2) { |
| return this._notifyCallback.call$3(arg0, arg1, arg2); |
| }, |
| get$_isOpen: function() { |
| return this._notifyCallback != null; |
| }, |
| open$1: function(_, callback) { |
| if (this._notifyCallback != null || this.get$_path_observer$_isClosed()) |
| throw H.wrapException(P.StateError$("Observer has already been opened.")); |
| if (X.minArgs(callback) > this.get$_reportArgumentCount()) |
| throw H.wrapException(P.ArgumentError$("callback should take " + this.get$_reportArgumentCount() + " or fewer arguments")); |
| this._notifyCallback = callback; |
| this._notifyArgumentCount = P.min(this.get$_reportArgumentCount(), X.maxArgs(callback)); |
| this._connect$0(); |
| return this._path_observer$_value; |
| }, |
| get$value: function(_) { |
| this._check$1$skipChanges(true); |
| return this._path_observer$_value; |
| }, |
| close$0: function(_) { |
| if (this._notifyCallback == null) |
| return; |
| this._disconnect$0(); |
| this._path_observer$_value = null; |
| this._notifyCallback = null; |
| }, |
| _deliver$1: [function(_) { |
| if (this._notifyCallback != null) |
| this._dirtyCheck$0(); |
| }, "call$1", "get$_deliver", 2, 0, 20, 14], |
| _dirtyCheck$0: function() { |
| var cycles = 0; |
| while (true) { |
| if (!(cycles < 1000 && this._check$0())) |
| break; |
| ++cycles; |
| } |
| return cycles > 0; |
| }, |
| _report$3: function(newValue, oldValue, extraArg) { |
| var e, s, exception, t1; |
| try { |
| switch (this._notifyArgumentCount) { |
| case 0: |
| this._notifyCallback$0(); |
| break; |
| case 1: |
| this._notifyCallback$1(newValue); |
| break; |
| case 2: |
| this._notifyCallback$2(newValue, oldValue); |
| break; |
| case 3: |
| this._notifyCallback$3(newValue, oldValue, extraArg); |
| break; |
| } |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| H.setRuntimeTypeInfo(new P._AsyncCompleter(P._Future$(null)), [null]).completeError$2(e, s); |
| } |
| |
| }, |
| _report$2: function(newValue, oldValue) { |
| return this._report$3(newValue, oldValue, null); |
| } |
| }, |
| _ObservedSet: { |
| "^": "Object;_rootObject,_path_observer$_observers,_objects,_toRemove,_resetNeeded", |
| open$1: function(_, obs) { |
| this._path_observer$_observers.$indexSet(0, obs.get$_birthId(), obs); |
| obs._iterateObjects$1(this.get$observe(this)); |
| }, |
| observe$1: [function(_, obj) { |
| var t1 = J.getInterceptor(obj); |
| if (!!t1.$isObservableList) |
| this._observeStream$1(obj.get$listChanges()); |
| if (!!t1.$isObservable) |
| this._observeStream$1(t1.get$changes(obj)); |
| }, "call$1", "get$observe", 2, 0, 159, 81], |
| _observeStream$1: function(stream) { |
| var t1, sub; |
| if (this._objects == null) |
| this._objects = P.HashMap_HashMap(null, null, null, null, null); |
| t1 = this._toRemove; |
| sub = t1 != null ? t1.remove$1(0, stream) : null; |
| if (sub != null) |
| this._objects.$indexSet(0, stream, sub); |
| else if (!this._objects.containsKey$1(stream)) |
| this._objects.$indexSet(0, stream, stream.listen$1(this.get$_path_observer$_callback())); |
| }, |
| reset$0: [function(_) { |
| var objs, t1, t2, t3, observer; |
| if (!this._resetNeeded) |
| return; |
| objs = this._toRemove; |
| if (objs == null) |
| objs = P.HashMap_HashMap(null, null, null, null, null); |
| this._toRemove = this._objects; |
| this._objects = objs; |
| for (t1 = this._path_observer$_observers, t1 = H.setRuntimeTypeInfo(new P._SplayTreeValueIterable(t1), [H.getTypeArgumentByIndex(t1, 0), H.getTypeArgumentByIndex(t1, 1)]), t2 = t1._map, t3 = H.getTypeArgumentByIndex(t1, 1), t1 = H.setRuntimeTypeInfo(new P._SplayTreeValueIterator(t2, H.setRuntimeTypeInfo([], [P._SplayTreeNode]), t2._modificationCount, t2._splayCount, null), [H.getTypeArgumentByIndex(t1, 0), t3]), t1._SplayTreeIterator$1(t2, t3); t1.moveNext$0();) { |
| observer = t1.get$current(); |
| if (observer.get$_isOpen()) |
| observer._iterateObjects$1(this.get$observe(this)); |
| } |
| for (t1 = this._toRemove, t1 = t1.get$values(t1), t1 = H.setRuntimeTypeInfo(new H.MappedIterator(null, J.get$iterator$ax(t1._iterable), t1._f), [H.getTypeArgumentByIndex(t1, 0), H.getTypeArgumentByIndex(t1, 1)]); t1.moveNext$0();) |
| t1._current.cancel$0(); |
| this._toRemove = null; |
| }, "call$0", "get$reset", 0, 0, 18], |
| _path_observer$_callback$1: [function(records) { |
| var t1, observer; |
| for (t1 = this._path_observer$_observers, t1 = H.setRuntimeTypeInfo(new P._SplayTreeValueIterable(t1), [H.getTypeArgumentByIndex(t1, 0), H.getTypeArgumentByIndex(t1, 1)]), t1 = P.List_List$from(t1, false, H.getRuntimeTypeArgument(t1, "IterableBase", 0)), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { |
| observer = t1._current; |
| if (observer.get$_isOpen()) |
| observer._check$0(); |
| } |
| this._resetNeeded = true; |
| P.scheduleMicrotask(this.get$reset(this)); |
| }, "call$1", "get$_path_observer$_callback", 2, 0, 20, 160], |
| static: {"^": "_ObservedSet__lastSet", _ObservedSet__ObservedSet: function(observer, rootObj) { |
| var t1, t2; |
| t1 = $._ObservedSet__lastSet; |
| if (t1 != null) { |
| t2 = t1._rootObject; |
| t2 = t2 == null ? rootObj != null : t2 !== rootObj; |
| } else |
| t2 = true; |
| if (t2) { |
| t1 = new L._ObservedSet(rootObj, P.SplayTreeMap$(null, null, null, null), null, null, false); |
| $._ObservedSet__lastSet = t1; |
| } |
| t1._path_observer$_observers.$indexSet(0, observer._birthId, observer); |
| observer._iterateObjects$1(t1.get$observe(t1)); |
| }} |
| } |
| }], |
| ["observe.src.to_observable", "package:observe/src/to_observable.dart", , R, { |
| "^": "", |
| _toObservableDeep: [function(value) { |
| var t1, result, t2; |
| t1 = J.getInterceptor(value); |
| if (!!t1.$isObservable) |
| return value; |
| if (!!t1.$isMap) { |
| result = V.ObservableMap_ObservableMap$createFromType(value, null, null); |
| t1.forEach$1(value, new R._toObservableDeep_closure(result)); |
| return result; |
| } |
| if (!!t1.$isIterable) { |
| t1 = t1.map$1(value, R._toObservableDeep$closure()); |
| t2 = Q.ObservableList$(null, null); |
| t2.addAll$1(0, t1); |
| return t2; |
| } |
| return value; |
| }, "call$1", "_toObservableDeep$closure", 2, 0, 13, 21], |
| _toObservableDeep_closure: { |
| "^": "Closure:75;result_0", |
| call$2: function(k, v) { |
| this.result_0.$indexSet(0, R._toObservableDeep(k), R._toObservableDeep(v)); |
| }, |
| $isFunction: true |
| } |
| }], |
| ["polymer", "package:polymer/polymer.dart", , A, { |
| "^": "", |
| _shimShadowDomStyling: function(template, $name, extendee) { |
| if (template == null || $.get$_ShadowCss() == null) |
| return; |
| $.get$_ShadowCss().callMethod$2("shimStyling", [template, $name, extendee]); |
| }, |
| _cssTextFromSheet: function(sheet) { |
| var href, e, t, t1, exception; |
| if (sheet == null) |
| return ""; |
| if ($.deployMode) |
| return ""; |
| t1 = J.getInterceptor$x(sheet); |
| href = t1.get$href(sheet); |
| if (J.$eq(href, "")) |
| href = t1.get$attributes(sheet)._html$_element.getAttribute("href"); |
| try { |
| t1 = new XMLHttpRequest(); |
| C.HttpRequest_methods.open$3$async(t1, "GET", href, false); |
| t1.send(); |
| t1 = t1.responseText; |
| return t1; |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| if (!!J.getInterceptor(t1).$isDomException) { |
| e = t1; |
| t = new H._StackTrace(exception, null); |
| $.get$_sheetLog().fine$1("failed to XHR stylesheet text href=\"" + H.S(href) + "\" error: " + H.S(e) + ", trace: " + H.S(t)); |
| return ""; |
| } else |
| throw exception; |
| } |
| |
| }, |
| _isObserverMethod: [function(symbol) { |
| var $name, t1; |
| $name = $.get$symbolConverter()._names.$index(0, symbol); |
| if ($name == null) |
| return false; |
| t1 = J.getInterceptor$s($name); |
| return t1.endsWith$1($name, "Changed") && !t1.$eq($name, "attributeChanged"); |
| }, "call$1", "_isObserverMethod$closure", 2, 0, 62, 63], |
| Polymer_register: function($name, type) { |
| $.get$_typesByName().$indexSet(0, $name, type); |
| H.interceptedTypeCast(J.$index$asx($.get$context(), "Polymer"), "$isJsFunction").apply$1([$name]); |
| }, |
| Polymer_applyStyleToScope: function(style, scope) { |
| var clone, attr, refNode, styleElement; |
| if (style == null) |
| return; |
| document; |
| if ($.get$_hasShadowDomPolyfill() === true) |
| scope = document.head; |
| clone = document.createElement("style", null); |
| J.set$text$x(clone, J.get$text$x(style)); |
| attr = style.getAttribute("element"); |
| if (attr != null) |
| clone.setAttribute("element", attr); |
| refNode = scope.firstChild; |
| if (scope === document.head) { |
| styleElement = W._FrozenElementList$_wrap(document.head.querySelectorAll("style[element]"), null); |
| if (styleElement.get$isNotEmpty(styleElement)) |
| refNode = J.get$nextElementSibling$x(C.NodeList_methods.get$last(styleElement._nodeList)); |
| } |
| scope.insertBefore(clone, refNode); |
| }, |
| initPolymer: function() { |
| if ($.deployMode) { |
| A.startPolymer($.initializers, true); |
| return $.Zone__current; |
| } |
| var t1 = $.Zone__current.fork$1$specification(O.dirtyCheckZoneSpec()); |
| t1.run$1(new A.initPolymer_closure()); |
| return t1; |
| }, |
| startPolymer: function(initializers, deployMode) { |
| var poly, t1; |
| if ($._startPolymerCalled) |
| throw H.wrapException("Initialization was already done."); |
| $._startPolymerCalled = true; |
| A._hookJsPolymer(); |
| $._deployMode = deployMode; |
| if (initializers == null) |
| throw H.wrapException("Missing initialization of polymer elements. Please check that the list of entry points in your pubspec.yaml is correct. If you are using pub-serve, you may need to restart it."); |
| A.Polymer_register("d-auto-binding", C.Type_s8b); |
| poly = document.createElement("polymer-element", null); |
| poly.setAttribute("name", "d-auto-binding"); |
| poly.setAttribute("extends", "template"); |
| J.$index$asx($.get$_polymerElementProto(), "init").apply$2$thisArg([], poly); |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(initializers, 74, 0, null), [H.getTypeArgumentByIndex(initializers, 0)]); t1.moveNext$0();) |
| t1._current.call$0(); |
| }, |
| _hookJsPolymer: function() { |
| var t1, polymerJs, zone, originalRegister; |
| t1 = $.get$context(); |
| if (J.$index$asx(t1, "Platform") == null) |
| throw H.wrapException(P.StateError$("platform.js, dart_support.js must be loaded at the top of your application, before any other scripts or HTML imports that use polymer. Putting these two script tags at the top of your <head> element should address this issue: <script src=\"packages/web_components/platform.js\"></script> and <script src=\"packages/web_components/dart_support.js\"></script>.")); |
| polymerJs = J.$index$asx(t1, "Polymer"); |
| if (polymerJs == null) |
| throw H.wrapException(P.StateError$("polymer.js must be loaded before polymer.dart, please add <link rel=\"import\" href=\"packages/polymer/polymer.html\"> to your <head> before any Dart scripts. Alternatively you can get a different version of polymer.js by following the instructions at http://www.polymer-project.org.")); |
| zone = $.Zone__current; |
| polymerJs.callMethod$2("whenPolymerReady", [zone.bindCallback$1(new A._hookJsPolymer_closure())]); |
| originalRegister = J.$index$asx($.get$_polymerElementProto(), "register"); |
| if (originalRegister == null) |
| throw H.wrapException(P.StateError$("polymer.js must expose \"register\" function on polymer-element to enable polymer.dart to interoperate.")); |
| J.$indexSet$ax($.get$_polymerElementProto(), "register", P.JsFunction_JsFunction$withThis(new A._hookJsPolymer_registerDart(zone, originalRegister))); |
| }, |
| PolymerDeclaration: { |
| "^": "Object;element>,type>,superDeclaration<,name>,_polymer$_publish<,_publishLC<,_observe>,_instanceAttributes<,_reflect<,_sheets,_styles,syntax>,_eventDelegates<,_templateDelegates,_rootUri", |
| get$templateContent: function() { |
| var template, t1; |
| template = J.querySelector$1$x(this.element, "template"); |
| if (template != null) |
| t1 = J.get$content$x(!!J.getInterceptor(template).$isNodeBindExtension ? template : M.nodeBindFallback(template)); |
| else |
| t1 = null; |
| return t1; |
| }, |
| registerType$1: function($name) { |
| var baseTag, decl, t1; |
| for (baseTag = null, decl = this; decl != null;) { |
| baseTag = J.get$attributes$x(J.get$element$x(decl))._html$_element.getAttribute("extends"); |
| decl = decl.get$superDeclaration(); |
| } |
| t1 = document; |
| W._registerCustomElement(window, t1, $name, this.type, baseTag); |
| }, |
| resolveElementPaths$1: function(node) { |
| var t1 = $.get$_Platform(); |
| if (t1 == null) |
| return; |
| J.$index$asx(t1, "urlResolver").callMethod$2("resolveDom", [node]); |
| }, |
| publishAttributes$1: function(superDecl) { |
| var t1, t2, attrs, t3, attr, property, path, t4, decl; |
| if (superDecl != null) { |
| if (superDecl.get$_polymer$_publish() != null) { |
| t1 = superDecl.get$_polymer$_publish(); |
| t2 = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null); |
| t2.addAll$1(0, t1); |
| this._polymer$_publish = t2; |
| } |
| if (superDecl.get$_reflect() != null) { |
| t1 = superDecl.get$_reflect(); |
| t2 = P.LinkedHashSet_LinkedHashSet(null, null, null, null); |
| t2.addAll$1(0, t1); |
| this._reflect = t2; |
| } |
| } |
| t1 = this.type; |
| this._getPublishedProperties$1(t1); |
| attrs = J.get$attributes$x(this.element)._html$_element.getAttribute("attributes"); |
| if (attrs != null) |
| for (t2 = C.JSString_methods.split$1(attrs, $.get$_ATTRIBUTES_REGEX()), t2 = H.setRuntimeTypeInfo(new H.ListIterator(t2, t2.length, 0, null), [H.getTypeArgumentByIndex(t2, 0)]), t3 = this.name; t2.moveNext$0();) { |
| attr = J.trim$0$s(t2._current); |
| if (attr === "") |
| continue; |
| property = $.get$symbolConverter()._symbols.$index(0, attr); |
| path = L.PropertyPath_PropertyPath([property]); |
| t4 = this._polymer$_publish; |
| if (t4 != null && t4.containsKey$1(path)) |
| continue; |
| decl = $.get$typeInspector().getDeclaration$2(t1, property); |
| if (decl == null || decl.kind === C.DeclarationKind_2 || decl.isFinal) { |
| window; |
| t4 = "property for attribute " + attr + " of polymer-element name=" + H.S(t3) + " not found."; |
| if (typeof console != "undefined") |
| console.warn(t4); |
| continue; |
| } |
| t4 = this._polymer$_publish; |
| if (t4 == null) { |
| t4 = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| this._polymer$_publish = t4; |
| } |
| t4.$indexSet(0, path, decl); |
| } |
| }, |
| _getPublishedProperties$1: function(type) { |
| var t1, decl, t2, t3; |
| for (t1 = $.get$typeInspector().query$2(0, type, C.QueryOptions_sAl), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { |
| decl = t1._current; |
| t2 = J.getInterceptor$x(decl); |
| if (t2.get$isFinal(decl) === true) |
| continue; |
| t3 = this._polymer$_publish; |
| if (t3 == null) { |
| t3 = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| this._polymer$_publish = t3; |
| } |
| t3.$indexSet(0, L.PropertyPath_PropertyPath([t2.get$name(decl)]), decl); |
| t3 = new H.WhereIterable(decl.get$annotations(), new A.PolymerDeclaration__getPublishedProperties_closure()); |
| t3.$builtinTypeInfo = [null]; |
| if (t3.any$1(0, new A.PolymerDeclaration__getPublishedProperties_closure0())) { |
| t3 = this._reflect; |
| if (t3 == null) { |
| t3 = P.LinkedHashSet_LinkedHashSet(null, null, null, null); |
| this._reflect = t3; |
| } |
| t2 = t2.get$name(decl); |
| t3.add$1(0, $.get$symbolConverter()._names.$index(0, t2)); |
| } |
| } |
| }, |
| accumulateInstanceAttributes$0: function() { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, P.Object); |
| this._instanceAttributes = t1; |
| t2 = this.superDeclaration; |
| if (t2 != null) |
| t1.addAll$1(0, t2.get$_instanceAttributes()); |
| J.get$attributes$x(this.element).forEach$1(0, new A.PolymerDeclaration_accumulateInstanceAttributes_closure(this)); |
| }, |
| addAttributeDelegates$1: function(delegates) { |
| J.get$attributes$x(this.element).forEach$1(0, new A.PolymerDeclaration_addAttributeDelegates_closure(delegates)); |
| }, |
| cacheSheets$0: function() { |
| var t1 = this.findNodes$1("link[rel=stylesheet]"); |
| this._sheets = t1; |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) |
| J.remove$0$ax(t1._current); |
| }, |
| cacheStyles$0: function() { |
| var t1 = this.findNodes$1("style[polymer-scope]"); |
| this._styles = t1; |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) |
| J.remove$0$ax(t1._current); |
| }, |
| installLocalSheets$0: function() { |
| var t1, sheets, $content, cssText, t2, str, t3, style; |
| t1 = this._sheets; |
| t1.toString; |
| sheets = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new A.PolymerDeclaration_installLocalSheets_closure()), [null]); |
| $content = this.get$templateContent(); |
| if ($content != null) { |
| cssText = P.StringBuffer$(""); |
| for (t1 = H.setRuntimeTypeInfo(new H.WhereIterator(J.get$iterator$ax(sheets._iterable), sheets._f), [H.getTypeArgumentByIndex(sheets, 0)]), t2 = t1._iterator; t1.moveNext$0();) { |
| str = A._cssTextFromSheet(t2.get$current()); |
| t3 = cssText._contents += typeof str === "string" ? str : H.S(str); |
| cssText._contents = t3 + "\n"; |
| } |
| if (cssText._contents.length > 0) { |
| style = J.get$ownerDocument$x(this.element).createElement("style", null); |
| J.set$text$x(style, H.S(cssText)); |
| t1 = J.getInterceptor$x($content); |
| t1.insertBefore$2($content, style, t1.get$firstChild($content)); |
| } |
| } |
| }, |
| findNodes$2: function(selector, matcher) { |
| var t1, nodes, $content; |
| t1 = J.querySelectorAll$1$x(this.element, selector); |
| nodes = t1.toList$0(t1); |
| $content = this.get$templateContent(); |
| if ($content != null) |
| C.JSArray_methods.addAll$1(nodes, J.querySelectorAll$1$x($content, selector)); |
| return nodes; |
| }, |
| findNodes$1: function(selector) { |
| return this.findNodes$2(selector, null); |
| }, |
| cssTextForScope$1: function(scopeDescriptor) { |
| var cssText, t1, t2, t3, str, t4; |
| cssText = P.StringBuffer$(""); |
| t1 = new A.PolymerDeclaration_cssTextForScope_matcher("[polymer-scope=" + scopeDescriptor + "]"); |
| for (t2 = this._sheets, t2.toString, t2 = H.setRuntimeTypeInfo(new H.WhereIterable(t2, t1), [null]), t2 = H.setRuntimeTypeInfo(new H.WhereIterator(J.get$iterator$ax(t2._iterable), t2._f), [H.getTypeArgumentByIndex(t2, 0)]), t3 = t2._iterator; t2.moveNext$0();) { |
| str = A._cssTextFromSheet(t3.get$current()); |
| t4 = cssText._contents += typeof str === "string" ? str : H.S(str); |
| cssText._contents = t4 + "\n\n"; |
| } |
| for (t2 = this._styles, t2.toString, t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t2, t1), [null]), t1 = H.setRuntimeTypeInfo(new H.WhereIterator(J.get$iterator$ax(t1._iterable), t1._f), [H.getTypeArgumentByIndex(t1, 0)]), t2 = t1._iterator; t1.moveNext$0();) { |
| str = J.get$text$x(t2.get$current()); |
| t3 = cssText._contents += typeof str === "string" ? str : H.S(str); |
| cssText._contents = t3 + "\n\n"; |
| } |
| return cssText._contents; |
| }, |
| cssTextToScopeStyle$2: function(cssText, scopeDescriptor) { |
| var t1; |
| if (cssText === "") |
| return; |
| t1 = document.createElement("style", null); |
| J.set$text$x(t1, cssText); |
| t1.setAttribute("element", H.S(this.name) + "-" + scopeDescriptor); |
| return t1; |
| }, |
| inferObservers$0: function() { |
| var t1, decl, t2, t3, $name; |
| for (t1 = $.get$_changedMethodQueryOptions(), t1 = $.get$typeInspector().query$2(0, this.type, t1), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { |
| decl = t1._current; |
| if (this._observe == null) |
| this._observe = P.HashMap_HashMap(null, null, null, null, null); |
| t2 = J.getInterceptor$x(decl); |
| t3 = t2.get$name(decl); |
| $name = $.get$symbolConverter()._names.$index(0, t3); |
| t3 = J.getInterceptor$asx($name); |
| $name = t3.substring$2($name, 0, J.$sub$n(t3.get$length($name), 7)); |
| this._observe.$indexSet(0, L.PropertyPath_PropertyPath($name), [t2.get$name(decl)]); |
| } |
| }, |
| explodeObservers$0: function() { |
| var t1, t2, t3; |
| for (t1 = $.get$typeInspector().query$2(0, this.type, C.QueryOptions_xw8), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { |
| t2 = t1._current.get$annotations(); |
| t3 = new H.ListIterator(t2, t2.length, 0, null); |
| t3.$builtinTypeInfo = [H.getTypeArgumentByIndex(t2, 0)]; |
| for (; t3.moveNext$0();) |
| continue; |
| } |
| }, |
| _lowerCaseMap$1: function(properties) { |
| var map = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, null); |
| properties.forEach$1(0, new A.PolymerDeclaration__lowerCaseMap_closure(map)); |
| return map; |
| }, |
| $isPolymerDeclaration: true, |
| static: {"^": "PolymerDeclaration__polymerSyntax"} |
| }, |
| PolymerDeclaration__getPublishedProperties_closure: { |
| "^": "Closure:13;", |
| call$1: function(a) { |
| return !!J.getInterceptor(a).$isPublishedProperty; |
| }, |
| $isFunction: true |
| }, |
| PolymerDeclaration__getPublishedProperties_closure0: { |
| "^": "Closure:13;", |
| call$1: function(a) { |
| return a.get$reflect(); |
| }, |
| $isFunction: true |
| }, |
| PolymerDeclaration_accumulateInstanceAttributes_closure: { |
| "^": "Closure:75;this_0", |
| call$2: function($name, value) { |
| if (C.Map_EJn7R.containsKey$1($name) !== true && !J.startsWith$1$s($name, "on-")) |
| this.this_0._instanceAttributes.$indexSet(0, $name, value); |
| }, |
| $isFunction: true |
| }, |
| PolymerDeclaration_addAttributeDelegates_closure: { |
| "^": "Closure:75;delegates_0", |
| call$2: function($name, value) { |
| var t1, start, end; |
| t1 = J.getInterceptor$s($name); |
| if (t1.startsWith$1($name, "on-")) { |
| start = J.getInterceptor$asx(value).indexOf$1(value, "{{"); |
| end = C.JSString_methods.lastIndexOf$1(value, "}}"); |
| if (start >= 0 && end >= 0) |
| this.delegates_0.$indexSet(0, t1.substring$1($name, 3), C.JSString_methods.trim$0(C.JSString_methods.substring$2(value, start + 2, end))); |
| } |
| }, |
| $isFunction: true |
| }, |
| PolymerDeclaration_installLocalSheets_closure: { |
| "^": "Closure:13;", |
| call$1: function(s) { |
| return J.get$attributes$x(s)._html$_element.hasAttribute("polymer-scope") !== true; |
| }, |
| $isFunction: true |
| }, |
| PolymerDeclaration_cssTextForScope_matcher: { |
| "^": "Closure:13;selector_0", |
| call$1: function(s) { |
| return J.matches$1$x(s, this.selector_0); |
| }, |
| $isFunction: true |
| }, |
| PolymerDeclaration_explodeObservers_closure: { |
| "^": "Closure:69;", |
| call$0: function() { |
| return []; |
| }, |
| $isFunction: true |
| }, |
| PolymerDeclaration__lowerCaseMap_closure: { |
| "^": "Closure:161;map_0", |
| call$2: function(path, value) { |
| this.map_0.$indexSet(0, H.S(path).toLowerCase(), value); |
| }, |
| $isFunction: true |
| }, |
| PolymerExpressions: { |
| "^": "BindingDelegate_PolymerEventBindings;_delegate,_bindingMaps", |
| prepareBinding$3: function(path, $name, node) { |
| if (J.startsWith$1$s($name, "on-")) |
| return this.prepareEventBinding$3(path, $name, node); |
| return this._delegate.prepareBinding$3(path, $name, node); |
| } |
| }, |
| BindingDelegate_PolymerEventBindings: { |
| "^": "BindingDelegate+PolymerEventBindings;" |
| }, |
| PolymerEventBindings: { |
| "^": "Object;", |
| findController$1: function(node) { |
| var t1; |
| for (; t1 = J.getInterceptor$x(node), t1.get$parentNode(node) != null;) { |
| if (!!t1.$isPolymer && J.$index$asx(node.polymer$Polymer$_jsElem, "eventController") != null) |
| return J.$index$asx(t1.get$_jsElem(node), "eventController"); |
| node = t1.get$parentNode(node); |
| } |
| return !!t1.$isShadowRoot ? node.host : null; |
| }, |
| getEventHandler$3: function(controller, target, method) { |
| var t1 = {}; |
| t1.controller_0 = controller; |
| return new A.PolymerEventBindings_getEventHandler_closure(t1, this, target, method); |
| }, |
| prepareEventBinding$3: function(path, $name, node) { |
| var t1, t2, eventType, translated; |
| t1 = {}; |
| t2 = J.getInterceptor$s($name); |
| if (!t2.startsWith$1($name, "on-")) |
| return; |
| eventType = t2.substring$1($name, 3); |
| t1.eventType_0 = eventType; |
| translated = C.Map_AmMJ5.$index(0, eventType); |
| t1.eventType_0 = translated != null ? translated : t1.eventType_0; |
| return new A.PolymerEventBindings_prepareEventBinding_closure(t1, this, path); |
| } |
| }, |
| PolymerEventBindings_getEventHandler_closure: { |
| "^": "Closure:13;box_0,this_1,target_2,method_3", |
| call$1: [function(e) { |
| var t1, t2, controller, detail; |
| t1 = this.box_0; |
| t2 = t1.controller_0; |
| if (t2 == null || !J.getInterceptor(t2).$isPolymer) { |
| controller = this.this_1.findController$1(this.target_2); |
| t1.controller_0 = controller; |
| t2 = controller; |
| } |
| if (!!J.getInterceptor(t2).$isPolymer) { |
| t2 = J.getInterceptor(e); |
| if (!!t2.$isCustomEvent) { |
| detail = t2.get$detail(e); |
| if (detail == null) |
| detail = J.$index$asx(P.JsObject_JsObject$fromBrowserObject(e), "detail"); |
| } else |
| detail = null; |
| t2 = t2.get$currentTarget(e); |
| t1 = t1.controller_0; |
| J.dispatchMethod$3$x(t1, t1, this.method_3, [e, detail, t2]); |
| } else |
| throw H.wrapException(P.StateError$("controller " + H.S(t2) + " is not a Dart polymer-element.")); |
| }, "call$1", null, 2, 0, null, 1, "call"], |
| $isFunction: true |
| }, |
| PolymerEventBindings_prepareEventBinding_closure: { |
| "^": "Closure:165;box_0,this_1,path_2", |
| call$3: [function(model, node, oneTime) { |
| var t1, handler, t2, sub; |
| t1 = this.path_2; |
| handler = this.this_1.getEventHandler$3(null, node, t1); |
| t2 = J.get$on$x(node).$index(0, this.box_0.eventType_0); |
| sub = H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t2._html$_target, t2._eventType, W._wrapZone(handler), t2._useCapture), [H.getTypeArgumentByIndex(t2, 0)]); |
| sub._tryResume$0(); |
| if (oneTime === true) |
| return; |
| return new A._EventBindable(sub, t1); |
| }, "call$3", null, 6, 0, null, 162, 163, 164, "call"], |
| $isFunction: true |
| }, |
| _EventBindable: { |
| "^": "Bindable;_sub,_polymer$_path", |
| get$value: function(_) { |
| return "{{ " + this._polymer$_path + " }}"; |
| }, |
| open$1: function(_, callback) { |
| return "{{ " + this._polymer$_path + " }}"; |
| }, |
| close$0: function(_) { |
| var t1 = this._sub; |
| if (t1 != null) { |
| t1.cancel$0(); |
| this._sub = null; |
| } |
| } |
| }, |
| PublishedProperty: { |
| "^": "ObservableProperty;reflect<", |
| $isPublishedProperty: true |
| }, |
| PolymerElement: { |
| "^": "HtmlElement_Polymer_ChangeNotifier;change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| PolymerElement$created$0: function(receiver) { |
| this.polymerCreated$0(receiver); |
| }, |
| static: {PolymerElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.PolymerElement_methods.Element$created$0(receiver); |
| C.PolymerElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| HtmlElement_Polymer: { |
| "^": "HtmlElement+Polymer;_jsElem:polymer$Polymer$_jsElem=", |
| $isPolymer: true, |
| $isNodeBindExtension: true, |
| $isObservable: true, |
| $isElement: true, |
| $isEventTarget: true, |
| $isNode: true |
| }, |
| HtmlElement_Polymer_ChangeNotifier: { |
| "^": "HtmlElement_Polymer+ChangeNotifier;", |
| $isObservable: true |
| }, |
| Polymer: { |
| "^": "Object;_jsElem:polymer$Polymer$_jsElem=", |
| get$element: function(receiver) { |
| return receiver.polymer$Polymer$_polymer$_element; |
| }, |
| get$syntax: function(receiver) { |
| return; |
| }, |
| get$_polymer$_name: function(receiver) { |
| var t1, isAttr; |
| t1 = receiver.polymer$Polymer$_polymer$_element; |
| if (t1 != null) |
| return J.get$name$x(t1); |
| isAttr = this.get$attributes(receiver)._html$_element.getAttribute("is"); |
| return isAttr == null || isAttr === "" ? this.get$localName(receiver) : isAttr; |
| }, |
| polymerCreated$0: function(receiver) { |
| var t, t1; |
| t = this.get$templateInstance(receiver); |
| if (t != null && t.model != null) { |
| window; |
| t1 = "Attributes on " + H.S(this.get$_polymer$_name(receiver)) + " were data bound prior to Polymer upgrading the element. This may result in incorrect binding types."; |
| if (typeof console != "undefined") |
| console.warn(t1); |
| } |
| this.prepareElement$0(receiver); |
| t1 = this.get$ownerDocument(receiver); |
| if (!J.$eq($.get$_isStagingDocument().$index(0, t1), true) || $.get$_hasShadowDomPolyfill() === true) |
| this.makeElementReady$0(receiver); |
| }, |
| prepareElement$0: function(receiver) { |
| var t1, t2; |
| if (receiver.polymer$Polymer$_polymer$_element != null) { |
| window; |
| t1 = "Element already prepared: " + H.S(this.get$_polymer$_name(receiver)); |
| if (typeof console != "undefined") |
| console.warn(t1); |
| return; |
| } |
| receiver.polymer$Polymer$_jsElem = P.JsObject_JsObject$fromBrowserObject(receiver); |
| t1 = this.get$_polymer$_name(receiver); |
| receiver.polymer$Polymer$_polymer$_element = $.get$_declarations().$index(0, t1); |
| this.createPropertyObserver$0(receiver); |
| t1 = receiver.polymer$Polymer$_propertyObserver; |
| if (t1 != null) { |
| t2 = this.get$notifyPropertyChanges(receiver); |
| t1.toString; |
| L._Observer.prototype.open$1.call(J.getInterceptor(t1), t1, t2); |
| } |
| if (receiver.polymer$Polymer$_polymer$_element.get$_polymer$_publish() != null) |
| this.get$changes(receiver).listen$1(this.get$_propertyChange(receiver)); |
| this.copyInstanceAttributes$0(receiver); |
| this.takeAttributes$0(receiver); |
| this.addHostListeners$0(receiver); |
| }, |
| makeElementReady$0: function(receiver) { |
| if (receiver.polymer$Polymer$_readied) |
| return; |
| receiver.polymer$Polymer$_readied = true; |
| this.parseDeclarations$1(receiver, receiver.polymer$Polymer$_polymer$_element); |
| this.get$attributes(receiver).remove$1(0, "unresolved"); |
| this.ready$0(receiver); |
| }, |
| ready$0: function(receiver) { |
| }, |
| attached$0: function(receiver) { |
| if (receiver.polymer$Polymer$_polymer$_element == null) |
| throw H.wrapException(P.StateError$("polymerCreated was not called for custom element " + H.S(this.get$_polymer$_name(receiver)) + ", this should normally be done in the .created() if Polymer is used as a mixin.")); |
| this.cancelUnbindAll$0(receiver); |
| if (!receiver.polymer$Polymer$_hasBeenAttached) { |
| receiver.polymer$Polymer$_hasBeenAttached = true; |
| this.async$1(receiver, new A.Polymer_attached_closure(receiver)); |
| } |
| }, |
| detached$0: function(receiver) { |
| this.asyncUnbindAll$0(receiver); |
| }, |
| parseDeclarations$1: function(receiver, declaration) { |
| if (declaration != null) { |
| this.parseDeclarations$1(receiver, declaration.get$superDeclaration()); |
| this.parseDeclaration$1(receiver, J.get$element$x(declaration)); |
| } |
| }, |
| parseDeclaration$1: function(receiver, elementElement) { |
| var t1, template, root, $name; |
| t1 = J.getInterceptor$x(elementElement); |
| template = t1.querySelector$1(elementElement, "template"); |
| if (template != null) { |
| root = this.shadowFromTemplate$1(receiver, template); |
| $name = t1.get$attributes(elementElement)._html$_element.getAttribute("name"); |
| if ($name == null) |
| return; |
| receiver.polymer$Polymer$shadowRoots.$indexSet(0, $name, root); |
| } |
| }, |
| shadowFromTemplate$1: function(receiver, template) { |
| var root, syntax, t, dom, ext, t1; |
| if (template == null) |
| return; |
| root = this.createShadowRoot$0(receiver); |
| syntax = this.get$syntax(receiver); |
| t = !!J.getInterceptor(template).$isNodeBindExtension ? template : M.nodeBindFallback(template); |
| dom = J.createInstance$2$x(t, receiver, syntax == null && J.get$bindingDelegate$x(t) == null ? J.get$syntax$x(receiver.polymer$Polymer$_polymer$_element) : syntax); |
| ext = $.get$_instanceExtension().$index(0, dom); |
| t1 = ext != null ? ext.get$_bindings() : ext; |
| receiver.polymer$Polymer$_observers.push(t1); |
| root.appendChild(dom); |
| this.marshalNodeReferences$1(receiver, root); |
| t1 = $.get$_PolymerGestures(); |
| if (t1 != null) |
| t1.callMethod$2("register", [root]); |
| return root; |
| }, |
| marshalNodeReferences$1: function(receiver, root) { |
| var t1, t2, n; |
| if (root == null) |
| return; |
| for (t1 = J.querySelectorAll$1$x(root, "[id]"), t1 = t1.get$iterator(t1), t2 = receiver.polymer$Polymer$$; t1.moveNext$0();) { |
| n = t1._current; |
| t2.$indexSet(0, J.get$id$x(n), n); |
| } |
| }, |
| attributeChanged$3: function(receiver, $name, oldValue, newValue) { |
| var t1 = J.getInterceptor($name); |
| if (!t1.$eq($name, "class") && !t1.$eq($name, "style")) |
| this.attributeToProperty$2(receiver, $name, newValue); |
| }, |
| copyInstanceAttributes$0: function(receiver) { |
| receiver.polymer$Polymer$_polymer$_element.get$_instanceAttributes().forEach$1(0, new A.Polymer_copyInstanceAttributes_closure(receiver)); |
| }, |
| takeAttributes$0: function(receiver) { |
| if (receiver.polymer$Polymer$_polymer$_element.get$_publishLC() == null) |
| return; |
| this.get$attributes(receiver).forEach$1(0, this.get$attributeToProperty(receiver)); |
| }, |
| attributeToProperty$2: [function(receiver, $name, value) { |
| var decl, t1, t2, currentValue, type, newValue; |
| decl = this.propertyForAttribute$1(receiver, $name); |
| if (decl == null) |
| return; |
| if (value == null || J.contains$1$asx(value, $.get$Polymer_bindPattern()) === true) |
| return; |
| t1 = J.getInterceptor$x(decl); |
| t2 = t1.get$name(decl); |
| currentValue = $.get$objectAccessor().read$2(receiver, t2); |
| type = t1.get$type(decl); |
| t2 = J.getInterceptor(type); |
| newValue = Z.deserializeValue(value, currentValue, (t2.$eq(type, C.Type_HqF) || t2.$eq(type, C.Type_dynamic)) && currentValue != null ? J.get$runtimeType$(currentValue) : type); |
| if (newValue == null ? currentValue != null : newValue !== currentValue) { |
| t1 = t1.get$name(decl); |
| $.get$objectAccessor().write$3(receiver, t1, newValue); |
| } |
| }, "call$2", "get$attributeToProperty", 4, 0, 166], |
| propertyForAttribute$1: function(receiver, $name) { |
| var publishLC = receiver.polymer$Polymer$_polymer$_element.get$_publishLC(); |
| if (publishLC == null) |
| return; |
| return publishLC.$index(0, $name); |
| }, |
| serializeValue$1: function(receiver, value) { |
| if (value == null) |
| return; |
| if (typeof value === "boolean") |
| return value ? "" : null; |
| else if (typeof value === "string" || typeof value === "number") |
| return H.S(value); |
| return; |
| }, |
| reflectPropertyToAttribute$1: function(receiver, path) { |
| var propValue, serializedValue, t1; |
| propValue = L.PropertyPath_PropertyPath(path).getValueFrom$1(receiver); |
| serializedValue = this.serializeValue$1(receiver, propValue); |
| if (serializedValue != null) |
| this.get$attributes(receiver)._html$_element.setAttribute(path, serializedValue); |
| else if (typeof propValue === "boolean") { |
| t1 = this.get$attributes(receiver)._html$_element; |
| t1.getAttribute(path); |
| t1.removeAttribute(path); |
| } |
| }, |
| bind$3$oneTime: function(receiver, $name, bindable, oneTime) { |
| var decl, t1, t2, t3, observer, reflect, propName; |
| decl = this.propertyForAttribute$1(receiver, $name); |
| if (decl == null) |
| return J.bind$3$oneTime$x(M.nodeBindFallback(receiver), $name, bindable, oneTime); |
| else { |
| t1 = J.getInterceptor$x(decl); |
| t2 = t1.get$name(decl); |
| t3 = $.get$_bindLog(); |
| if (t3.isLoggable$1(C.Level_FINE_500)) |
| t3.fine$1("bindProperty: [" + H.S(bindable) + "] to [" + H.S(this.get$_polymer$_name(receiver)) + "].[" + H.S(t2) + "]"); |
| t3 = J.getInterceptor$x(bindable); |
| if (t3.get$value(bindable) == null) |
| t3.set$value(bindable, $.get$objectAccessor().read$2(receiver, t2)); |
| observer = new A._PolymerBinding(receiver, t2, bindable, null, null); |
| observer._sub = this.get$changes(receiver).listen$1(observer.get$_propertyValueChanged()); |
| t3 = J.open$1$x(bindable, observer.get$_updateNode()); |
| observer._lastValue = t3; |
| $.get$objectAccessor().write$3(receiver, t2, t3); |
| if ($.enableBindingsReflection && true) { |
| if (J.get$bindings$x(M.nodeBindFallback(receiver)) == null) { |
| t2 = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| J.set$bindings$x(M.nodeBindFallback(receiver), t2); |
| } |
| J.$indexSet$ax(J.get$bindings$x(M.nodeBindFallback(receiver)), $name, observer); |
| } |
| reflect = receiver.polymer$Polymer$_polymer$_element.get$_reflect(); |
| t1 = t1.get$name(decl); |
| propName = $.get$symbolConverter()._names.$index(0, t1); |
| if (reflect != null && reflect.contains$1(0, propName)) |
| this.reflectPropertyToAttribute$1(receiver, propName); |
| return observer; |
| } |
| }, |
| bindFinished$0: function(receiver) { |
| return this.makeElementReady$0(receiver); |
| }, |
| get$bindings: function(receiver) { |
| return J.get$bindings$x(M.nodeBindFallback(receiver)); |
| }, |
| set$bindings: function(receiver, value) { |
| J.set$bindings$x(M.nodeBindFallback(receiver), value); |
| }, |
| get$templateInstance: function(receiver) { |
| return J.get$templateInstance$x(M.nodeBindFallback(receiver)); |
| }, |
| asyncUnbindAll$0: function(receiver) { |
| var job, t1; |
| if (receiver.polymer$Polymer$_unbound === true) |
| return; |
| $.get$_unbindLog().fine$1("[" + H.S(this.get$_polymer$_name(receiver)) + "] asyncUnbindAll"); |
| job = receiver.polymer$Polymer$_unbindAllJob; |
| t1 = this.get$unbindAll(receiver); |
| if (job == null) |
| job = new A.PolymerJob(null, null, null); |
| job.start$2(0, t1, null); |
| receiver.polymer$Polymer$_unbindAllJob = job; |
| }, |
| unbindAll$0: [function(receiver) { |
| if (receiver.polymer$Polymer$_unbound === true) |
| return; |
| H.IterableMixinWorkaround_forEach(receiver.polymer$Polymer$_observers, this.get$closeObserverList(receiver)); |
| receiver.polymer$Polymer$_observers = []; |
| this.closeNamedObservers$0(receiver); |
| receiver.polymer$Polymer$_unbound = true; |
| }, "call$0", "get$unbindAll", 0, 0, 18], |
| cancelUnbindAll$0: function(receiver) { |
| var t1; |
| if (receiver.polymer$Polymer$_unbound === true) { |
| $.get$_unbindLog().warning$1("[" + H.S(this.get$_polymer$_name(receiver)) + "] already unbound, cannot cancel unbindAll"); |
| return; |
| } |
| $.get$_unbindLog().fine$1("[" + H.S(this.get$_polymer$_name(receiver)) + "] cancelUnbindAll"); |
| t1 = receiver.polymer$Polymer$_unbindAllJob; |
| if (t1 != null) { |
| t1.stop$0(0); |
| receiver.polymer$Polymer$_unbindAllJob = null; |
| } |
| }, |
| createPropertyObserver$0: function(receiver) { |
| var observe, t1, o, t2, path; |
| observe = J.get$_observe$x(receiver.polymer$Polymer$_polymer$_element); |
| if (observe != null) { |
| t1 = $._Observer__nextBirthId; |
| $._Observer__nextBirthId = t1 + 1; |
| o = new L.CompoundObserver(null, [], t1, null, null, null); |
| o._path_observer$_value = []; |
| receiver.polymer$Polymer$_propertyObserver = o; |
| receiver.polymer$Polymer$_observers.push([o]); |
| for (t1 = H.setRuntimeTypeInfo(new P.HashMapKeyIterable(observe), [H.getTypeArgumentByIndex(observe, 0)]), t2 = t1._map, t1 = H.setRuntimeTypeInfo(new P.HashMapKeyIterator(t2, t2._computeKeys$0(), 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { |
| path = t1._collection$_current; |
| o.addPath$2(receiver, path); |
| this.observeArrayValue$3(receiver, path, path.getValueFrom$1(receiver), null); |
| } |
| } |
| }, |
| notifyPropertyChanges$3: [function(receiver, newValues, oldValues, paths) { |
| J.forEach$1$ax(oldValues, new A.Polymer_notifyPropertyChanges_closure(receiver, newValues, oldValues, paths, J.get$_observe$x(receiver.polymer$Polymer$_polymer$_element), P.HashSet_HashSet(null, null, null, null))); |
| }, "call$3", "get$notifyPropertyChanges", 6, 0, 167], |
| _propertyChange$1: [function(receiver, records) { |
| var t1, record, t2, $name, reflect; |
| for (t1 = J.get$iterator$ax(records); t1.moveNext$0();) { |
| record = t1.get$current(); |
| if (!J.getInterceptor(record).$isPropertyChangeRecord) |
| continue; |
| t2 = record.name; |
| $name = $.get$symbolConverter()._names.$index(0, t2); |
| reflect = receiver.polymer$Polymer$_polymer$_element.get$_reflect(); |
| if (reflect != null && reflect.contains$1(0, $name)) |
| this.reflectPropertyToAttribute$1(receiver, $name); |
| } |
| }, "call$1", "get$_propertyChange", 2, 0, 168, 160], |
| observeArrayValue$3: function(receiver, $name, value, old) { |
| var observe, callbacks, t1, subscription, t2; |
| observe = J.get$_observe$x(receiver.polymer$Polymer$_polymer$_element); |
| if (observe == null) |
| return; |
| callbacks = observe.$index(0, $name); |
| if (callbacks == null) |
| return; |
| if (!!J.getInterceptor(old).$isObservableList) { |
| t1 = $.get$_observeLog(); |
| if (t1.isLoggable$1(C.Level_FINE_500)) |
| t1.fine$1("[" + H.S(this.get$_polymer$_name(receiver)) + "] observeArrayValue: unregister " + H.S($name)); |
| this.closeNamedObserver$1(receiver, H.S($name) + "__array"); |
| } |
| if (!!J.getInterceptor(value).$isObservableList) { |
| t1 = $.get$_observeLog(); |
| if (t1.isLoggable$1(C.Level_FINE_500)) |
| t1.fine$1("[" + H.S(this.get$_polymer$_name(receiver)) + "] observeArrayValue: register " + H.S($name)); |
| subscription = value.get$listChanges()._createSubscription$1(false); |
| subscription.onData$1(new A.Polymer_observeArrayValue_closure(receiver, old, callbacks)); |
| subscription.onError$1(0, null); |
| subscription.onDone$1(null); |
| t1 = H.S($name) + "__array"; |
| t2 = receiver.polymer$Polymer$_namedObservers; |
| if (t2 == null) { |
| t2 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, P.StreamSubscription); |
| receiver.polymer$Polymer$_namedObservers = t2; |
| } |
| t2.$indexSet(0, t1, subscription); |
| } |
| }, |
| closeObserverList$1: [function(receiver, observers) { |
| var t1, o; |
| for (t1 = J.get$iterator$ax(observers); t1.moveNext$0();) { |
| o = t1.get$current(); |
| if (o != null) |
| J.close$0$x(o); |
| } |
| }, "call$1", "get$closeObserverList", 2, 0, 169], |
| closeNamedObserver$1: function(receiver, $name) { |
| var sub = receiver.polymer$Polymer$_namedObservers.remove$1(0, $name); |
| if (sub == null) |
| return false; |
| sub.cancel$0(); |
| return true; |
| }, |
| closeNamedObservers$0: function(receiver) { |
| var t1, sub; |
| t1 = receiver.polymer$Polymer$_namedObservers; |
| if (t1 == null) |
| return; |
| for (t1 = t1.get$values(t1), t1 = H.setRuntimeTypeInfo(new H.MappedIterator(null, J.get$iterator$ax(t1._iterable), t1._f), [H.getTypeArgumentByIndex(t1, 0), H.getTypeArgumentByIndex(t1, 1)]); t1.moveNext$0();) { |
| sub = t1._current; |
| if (sub != null) |
| sub.cancel$0(); |
| } |
| receiver.polymer$Polymer$_namedObservers.clear$0(0); |
| receiver.polymer$Polymer$_namedObservers = null; |
| }, |
| addHostListeners$0: function(receiver) { |
| var events, t1; |
| events = receiver.polymer$Polymer$_polymer$_element.get$_eventDelegates(); |
| if (events.get$isEmpty(events)) |
| return; |
| t1 = $.get$_eventsLog(); |
| if (t1.isLoggable$1(C.Level_FINE_500)) |
| t1.fine$1("[" + H.S(this.get$_polymer$_name(receiver)) + "] addHostListeners: " + events.toString$0(0)); |
| events.forEach$1(0, new A.Polymer_addHostListeners_closure(receiver)); |
| }, |
| dispatchMethod$3: function(receiver, object, callbackOrMethod, args) { |
| var t1, log, maxArgs, t2; |
| t1 = $.get$_eventsLog(); |
| log = t1.isLoggable$1(C.Level_FINE_500); |
| if (log) |
| t1.fine$1(">>> [" + H.S(this.get$_polymer$_name(receiver)) + "]: dispatch " + H.S(callbackOrMethod)); |
| if (!!J.getInterceptor(callbackOrMethod).$isFunction) { |
| maxArgs = X.maxArgs(callbackOrMethod); |
| if (maxArgs === -1) |
| t1.warning$1("invalid callback: expected callback of 0, 1, 2, or 3 arguments"); |
| C.JSArray_methods.set$length(args, maxArgs); |
| H.Primitives_applyFunction(callbackOrMethod, args, P.Function__toMangledNames(null)); |
| } else if (typeof callbackOrMethod === "string") { |
| t2 = $.get$symbolConverter()._symbols.$index(0, callbackOrMethod); |
| $.get$objectAccessor().invoke$5$adjust$namedArgs(object, t2, args, true, null); |
| } else |
| t1.warning$1("invalid callback"); |
| if (log) |
| t1.info$1("<<< [" + H.S(this.get$_polymer$_name(receiver)) + "]: dispatch " + H.S(callbackOrMethod)); |
| }, |
| async$1: function(receiver, method) { |
| var t1; |
| P.scheduleMicrotask(F.Observable_dirtyCheck$closure()); |
| $.get$_Platform().callMethod$1("flush"); |
| t1 = window; |
| C.Window_methods._ensureRequestAnimationFrame$0(t1); |
| return C.Window_methods._requestAnimationFrame$1(t1, W._wrapZone(method)); |
| }, |
| fire$5$canBubble$cancelable$detail$onNode: function(receiver, type, canBubble, cancelable, detail, onNode) { |
| var $event = W.CustomEvent_CustomEvent(type, true, true, detail); |
| this.dispatchEvent$1(receiver, $event); |
| return $event; |
| }, |
| fire$1: function($receiver, type) { |
| return this.fire$5$canBubble$cancelable$detail$onNode($receiver, type, null, null, null, null); |
| }, |
| $isPolymer: true, |
| $isNodeBindExtension: true, |
| $isObservable: true, |
| $isElement: true, |
| $isEventTarget: true, |
| $isNode: true |
| }, |
| Polymer_attached_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(_) { |
| return; |
| }, "call$1", null, 2, 0, null, 14, "call"], |
| $isFunction: true |
| }, |
| Polymer_copyInstanceAttributes_closure: { |
| "^": "Closure:75;this_0", |
| call$2: function($name, value) { |
| var t1 = J.get$attributes$x(this.this_0); |
| if (t1.containsKey$1($name) !== true) |
| t1.$indexSet(0, $name, new A.Polymer_copyInstanceAttributes__closure(value).call$0()); |
| t1.$index(0, $name); |
| }, |
| $isFunction: true |
| }, |
| Polymer_copyInstanceAttributes__closure: { |
| "^": "Closure:69;value_1", |
| call$0: function() { |
| return this.value_1; |
| }, |
| $isFunction: true |
| }, |
| Polymer_notifyPropertyChanges_closure: { |
| "^": "Closure:75;this_0,newValues_1,oldValues_2,paths_3,observe_4,called_5", |
| call$2: [function(i, oldValue) { |
| var t1, newValue, t2, t3, path, methods, t4, t5, t6, t7, method; |
| t1 = this.newValues_1; |
| newValue = J.$index$asx(t1, i); |
| t2 = this.paths_3; |
| if (typeof i !== "number") |
| return H.iae(i); |
| t3 = 2 * i + 1; |
| if (t3 >>> 0 !== t3 || t3 >= t2.length) |
| return H.ioore(t2, t3); |
| path = t2[t3]; |
| t3 = this.observe_4; |
| if (t3 == null) |
| return; |
| methods = t3.$index(0, path); |
| if (methods == null) |
| return; |
| for (t3 = J.get$iterator$ax(methods), t4 = this.this_0, t5 = J.getInterceptor$x(t4), t6 = this.oldValues_2, t7 = this.called_5; t3.moveNext$0();) { |
| method = t3.get$current(); |
| if (!t7.add$1(0, method)) |
| continue; |
| t5.observeArrayValue$3(t4, path, newValue, oldValue); |
| $.get$objectAccessor().invoke$5$adjust$namedArgs(t4, method, [oldValue, newValue, t1, t6, t2], true, null); |
| } |
| }, "call$2", null, 4, 0, null, 82, 57, "call"], |
| $isFunction: true |
| }, |
| Polymer_observeArrayValue_closure: { |
| "^": "Closure:13;this_0,old_1,callbacks_2", |
| call$1: [function(changes) { |
| var t1, t2, t3, callback; |
| for (t1 = J.get$iterator$ax(this.callbacks_2), t2 = this.this_0, t3 = this.old_1; t1.moveNext$0();) { |
| callback = t1.get$current(); |
| $.get$objectAccessor().invoke$5$adjust$namedArgs(t2, callback, [t3], true, null); |
| } |
| }, "call$1", null, 2, 0, null, 170, "call"], |
| $isFunction: true |
| }, |
| Polymer_addHostListeners_closure: { |
| "^": "Closure:75;this_0", |
| call$2: function(type, methodName) { |
| var t1 = this.this_0; |
| J.addEventListener$2$x(t1, type, J.get$syntax$x(t1.polymer$Polymer$_polymer$_element).getEventHandler$3(t1, t1, methodName)); |
| }, |
| $isFunction: true |
| }, |
| _PolymerBinding: { |
| "^": "Bindable;_polymer$_target,_property,_polymer$_bindable,_sub,_lastValue", |
| _updateNode$1: [function(newValue) { |
| this._lastValue = newValue; |
| $.get$objectAccessor().write$3(this._polymer$_target, this._property, newValue); |
| }, "call$1", "get$_updateNode", 2, 0, 20, 58], |
| _propertyValueChanged$1: [function(records) { |
| var t1, t2, record, getter, newValue; |
| for (t1 = J.get$iterator$ax(records), t2 = this._property; t1.moveNext$0();) { |
| record = t1.get$current(); |
| if (!!J.getInterceptor(record).$isPropertyChangeRecord && J.$eq(record.name, t2)) { |
| t1 = this._polymer$_target; |
| getter = $.get$objectAccessor()._getters.$index(0, t2); |
| if (getter == null) |
| H.throwExpression(O.MissingCodeException$("getter \"" + H.S(t2) + "\" in " + J.toString$0(t1))); |
| newValue = getter.call$1(t1); |
| t1 = this._lastValue; |
| if (t1 == null ? newValue != null : t1 !== newValue) |
| J.set$value$x(this._polymer$_bindable, newValue); |
| return; |
| } |
| } |
| }, "call$1", "get$_propertyValueChanged", 2, 0, 168, 160], |
| open$1: function(_, callback) { |
| return J.open$1$x(this._polymer$_bindable, callback); |
| }, |
| get$value: function(_) { |
| return J.get$value$x(this._polymer$_bindable); |
| }, |
| set$value: function(_, newValue) { |
| J.set$value$x(this._polymer$_bindable, newValue); |
| return newValue; |
| }, |
| close$0: function(_) { |
| var t1 = this._sub; |
| if (t1 != null) { |
| t1.cancel$0(); |
| this._sub = null; |
| } |
| J.close$0$x(this._polymer$_bindable); |
| } |
| }, |
| PolymerJob: { |
| "^": "Object;_callback,_timer,_polymer$_id", |
| _callback$0: function() { |
| return this._callback.call$0(); |
| }, |
| start$2: function(_, callback, wait) { |
| var t1; |
| this.stop$0(0); |
| this._callback = callback; |
| t1 = window; |
| C.Window_methods._ensureRequestAnimationFrame$0(t1); |
| this._polymer$_id = C.Window_methods._requestAnimationFrame$1(t1, W._wrapZone(new A.PolymerJob_start_closure(this))); |
| }, |
| stop$0: function(_) { |
| var t1, t2; |
| t1 = this._polymer$_id; |
| if (t1 != null) { |
| t2 = window; |
| C.Window_methods._ensureRequestAnimationFrame$0(t2); |
| t2.cancelAnimationFrame(t1); |
| this._polymer$_id = null; |
| } |
| t1 = this._timer; |
| if (t1 != null) { |
| t1.cancel$0(); |
| this._timer = null; |
| } |
| } |
| }, |
| PolymerJob_start_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(_) { |
| var t1 = this.this_0; |
| if (t1._timer != null || t1._polymer$_id != null) { |
| t1.stop$0(0); |
| t1._callback$0(); |
| } |
| return; |
| }, "call$1", null, 2, 0, null, 14, "call"], |
| $isFunction: true |
| }, |
| initPolymer_closure: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| return A.startPolymer($.initializers, $.deployMode); |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _hookJsPolymer_closure: { |
| "^": "Closure:69;", |
| call$0: [function() { |
| var t1 = $.get$Polymer__onReady().future; |
| if (t1._state !== 0) |
| H.throwExpression(P.StateError$("Future already completed")); |
| t1._asyncComplete$1(null); |
| return; |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| _hookJsPolymer_registerDart: { |
| "^": "Closure:173;zone_0,originalRegister_1", |
| call$3: [function(jsElem, $name, extendee) { |
| var type = $.get$_typesByName().$index(0, $name); |
| if (type != null) |
| return this.zone_0.run$1(new A._hookJsPolymer_registerDart_closure(jsElem, $name, type, $.get$_declarations().$index(0, extendee))); |
| return this.originalRegister_1.apply$2$thisArg([$name, extendee], jsElem); |
| }, "call$3", null, 6, 0, null, 171, 56, 172, "call"], |
| $isFunction: true |
| }, |
| _hookJsPolymer_registerDart_closure: { |
| "^": "Closure:69;jsElem_2,name_3,type_4,extendsDecl_5", |
| call$0: [function() { |
| var t1, t2, t3, t4, t5, t6, t7, t8, t9, assetPath, base, targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery; |
| t1 = this.jsElem_2; |
| t2 = this.name_3; |
| t3 = this.type_4; |
| t4 = this.extendsDecl_5; |
| t5 = $.get$PolymerDeclaration__polymerSyntax(); |
| t6 = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| t7 = new A.PolymerDeclaration(t1, t3, t4, t2, null, null, null, null, null, null, null, t5, t6, null, null); |
| $.get$_declarations().$indexSet(0, t2, t7); |
| t7.publishAttributes$1(t4); |
| t8 = t7._polymer$_publish; |
| if (t8 != null) |
| t7._publishLC = t7._lowerCaseMap$1(t8); |
| t7.inferObservers$0(); |
| t7.explodeObservers$0(); |
| t8 = J.getInterceptor$x(t1); |
| t9 = t8.querySelector$1(t1, "template"); |
| if (t9 != null) |
| J.set$bindingDelegate$x(!!J.getInterceptor(t9).$isNodeBindExtension ? t9 : M.nodeBindFallback(t9), t5); |
| t7.cacheSheets$0(); |
| t7.cacheStyles$0(); |
| t7.installLocalSheets$0(); |
| A.Polymer_applyStyleToScope(t7.cssTextToScopeStyle$2(t7.cssTextForScope$1("global"), "global"), document.head); |
| t7.resolveElementPaths$1(t1); |
| t7.accumulateInstanceAttributes$0(); |
| t7.addAttributeDelegates$1(t6); |
| assetPath = t8.get$attributes(t1)._html$_element.getAttribute("assetpath"); |
| if (assetPath == null) |
| assetPath = ""; |
| base = P.Uri_parse(t8.get$ownerDocument(t1).baseURI); |
| t1 = P.Uri_parse(assetPath); |
| targetScheme = t1.scheme; |
| if (targetScheme !== "") { |
| targetUserInfo = t1.userInfo; |
| targetHost = t1.get$host(t1); |
| targetPort = t1.get$port(t1); |
| targetPath = base._removeDotSegments$1(t1._path); |
| targetQuery = t1.query; |
| } else { |
| if (t1.get$host(t1) !== "") { |
| targetUserInfo = t1.userInfo; |
| targetHost = t1.get$host(t1); |
| targetPort = t1.get$port(t1); |
| targetPath = base._removeDotSegments$1(t1._path); |
| targetQuery = t1.query; |
| } else { |
| t5 = t1._path; |
| if (t5 === "") { |
| targetPath = base._path; |
| targetQuery = t1.query; |
| targetQuery = targetQuery !== "" ? targetQuery : base.query; |
| } else { |
| t5 = J.startsWith$1$s(t5, "/"); |
| t6 = t1._path; |
| targetPath = t5 ? base._removeDotSegments$1(t6) : base._removeDotSegments$1(base._merge$2(base._path, t6)); |
| targetQuery = t1.query; |
| } |
| targetUserInfo = base.userInfo; |
| targetHost = base.get$host(base); |
| targetPort = base.get$port(base); |
| } |
| targetScheme = base.scheme; |
| } |
| t7._rootUri = P.Uri$(t1.fragment, targetHost, targetPath, null, targetPort, targetQuery, null, targetScheme, targetUserInfo); |
| t1 = t7.get$templateContent(); |
| A._shimShadowDomStyling(t1, t2, t4 != null ? J.get$name$x(t4) : null); |
| if ($.get$typeInspector().hasStaticMethod$2(t3, C.Symbol_registerCallback)) |
| $.get$objectAccessor().invoke$5$adjust$namedArgs(t3, C.Symbol_registerCallback, [t7], false, null); |
| t7.registerType$1(t2); |
| return; |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| closure: { |
| "^": "Closure:69;", |
| call$0: function() { |
| var proto = J.$index$asx(P.JsObject_JsObject$fromBrowserObject(document.createElement("polymer-element", null)), "__proto__"); |
| return !!J.getInterceptor(proto).$isNode ? P.JsObject_JsObject$fromBrowserObject(proto) : proto; |
| }, |
| $isFunction: true |
| } |
| }], |
| ["polymer.auto_binding", "package:polymer/auto_binding.dart", , Y, { |
| "^": "", |
| AutoBindingElement: { |
| "^": "TemplateElement_Polymer_Observable;_auto_binding$_self,observable$Observable$_observable$_changes,observable$Observable$_values,observable$Observable$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$model: function(receiver) { |
| return J.get$model$x(receiver._auto_binding$_self); |
| }, |
| get$bindingDelegate: function(receiver) { |
| return J.get$bindingDelegate$x(receiver._auto_binding$_self); |
| }, |
| set$bindingDelegate: function(receiver, value) { |
| J.set$bindingDelegate$x(receiver._auto_binding$_self, value); |
| }, |
| clear$0: function(receiver) { |
| return J.clear$0$ax(receiver._auto_binding$_self); |
| }, |
| get$syntax: function(receiver) { |
| return J.get$bindingDelegate$x(receiver._auto_binding$_self); |
| }, |
| createInstance$2: function(receiver, model, delegate) { |
| return J.createInstance$2$x(receiver._auto_binding$_self, model, delegate); |
| }, |
| AutoBindingElement$created$0: function(receiver) { |
| var t1; |
| this.polymerCreated$0(receiver); |
| receiver._auto_binding$_self = M.nodeBindFallback(receiver); |
| t1 = T.PolymerExpressions$(null, C.C_ScopeFactory); |
| J.set$bindingDelegate$x(receiver._auto_binding$_self, new Y._AutoBindingSyntax(receiver, t1, null)); |
| $.get$Polymer__onReady().future.then$1(new Y.AutoBindingElement$created_closure(receiver)); |
| }, |
| $isTemplateBindExtension: true, |
| $isNodeBindExtension: true, |
| static: {AutoBindingElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.AutoBindingElement_methods.Element$created$0(receiver); |
| C.AutoBindingElement_methods.AutoBindingElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| TemplateElement_Polymer: { |
| "^": "TemplateElement+Polymer;_jsElem:polymer$Polymer$_jsElem=", |
| $isPolymer: true, |
| $isNodeBindExtension: true, |
| $isObservable: true, |
| $isElement: true, |
| $isEventTarget: true, |
| $isNode: true |
| }, |
| TemplateElement_Polymer_Observable: { |
| "^": "TemplateElement_Polymer+Observable;_observable$_changes:observable$Observable$_observable$_changes%,_values:observable$Observable$_values%,_records:observable$Observable$_records%", |
| $isObservable: true |
| }, |
| AutoBindingElement$created_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(_) { |
| var t1 = this.this_0; |
| t1.setAttribute("bind", ""); |
| J.async$1$x(t1, new Y.AutoBindingElement$created__closure(t1)); |
| }, "call$1", null, 2, 0, null, 14, "call"], |
| $isFunction: true |
| }, |
| AutoBindingElement$created__closure: { |
| "^": "Closure:13;this_1", |
| call$1: [function(_) { |
| var t1, t2; |
| t1 = this.this_1; |
| t2 = J.getInterceptor$x(t1); |
| t2.marshalNodeReferences$1(t1, t1.parentNode); |
| t2.fire$1(t1, "template-bound"); |
| }, "call$1", null, 2, 0, null, 14, "call"], |
| $isFunction: true |
| }, |
| _AutoBindingSyntax: { |
| "^": "PolymerExpressions;_auto_binding$_node,_delegate,_bindingMaps", |
| getEventHandler$3: function(controller, target, method) { |
| var t1 = {}; |
| t1.controller_0 = controller; |
| return new Y._AutoBindingSyntax_getEventHandler_closure(t1, this, method); |
| } |
| }, |
| _AutoBindingSyntax_getEventHandler_closure: { |
| "^": "Closure:13;box_0,this_1,method_2", |
| call$1: [function(e) { |
| var t1, t2, controller, t3, obj, t4; |
| t1 = this.box_0; |
| t2 = t1.controller_0; |
| if (t2 == null || !J.getInterceptor(t2).$isPolymer) { |
| controller = this.this_1._auto_binding$_node; |
| t1.controller_0 = controller; |
| t2 = controller; |
| } |
| t3 = J.getInterceptor(t2); |
| if (!!t3.$isPolymer) { |
| t2 = J.getInterceptor$x(e); |
| t3 = t2.get$detail(e); |
| t2 = t2.get$currentTarget(e); |
| obj = t1.controller_0; |
| t4 = this.this_1._auto_binding$_node; |
| if (obj === t4) |
| obj = J.get$model$x(t4._auto_binding$_self); |
| J.dispatchMethod$3$x(t1.controller_0, obj, this.method_2, [e, t3, t2]); |
| } else |
| throw H.wrapException(P.StateError$("controller " + t3.toString$0(t2) + " is not a Dart polymer-element.")); |
| }, "call$1", null, 2, 0, null, 1, "call"], |
| $isFunction: true |
| } |
| }], |
| ["polymer.deserialize", "package:polymer/deserialize.dart", , Z, { |
| "^": "", |
| deserializeValue: function(value, currentValue, type) { |
| var handler, t1, exception; |
| handler = $.get$_typeHandlers().$index(0, type); |
| if (handler != null) |
| return handler.call$2(value, currentValue); |
| try { |
| t1 = C.JsonCodec_null_null.decode$1(J.replaceAll$2$s(value, "'", "\"")); |
| return t1; |
| } catch (exception) { |
| H.unwrapException(exception); |
| return value; |
| } |
| |
| }, |
| closure0: { |
| "^": "Closure:75;", |
| call$2: function(x, _) { |
| return x; |
| }, |
| $isFunction: true |
| }, |
| closure1: { |
| "^": "Closure:75;", |
| call$2: function(x, _) { |
| return x; |
| }, |
| $isFunction: true |
| }, |
| closure2: { |
| "^": "Closure:75;", |
| call$2: function(x, def) { |
| var t1, exception; |
| try { |
| t1 = P.DateTime_parse(x); |
| return t1; |
| } catch (exception) { |
| H.unwrapException(exception); |
| return def; |
| } |
| |
| }, |
| $isFunction: true |
| }, |
| closure3: { |
| "^": "Closure:75;", |
| call$2: function(x, _) { |
| return !J.$eq(x, "false"); |
| }, |
| $isFunction: true |
| }, |
| closure4: { |
| "^": "Closure:75;", |
| call$2: function(x, def) { |
| return H.Primitives_parseInt(x, null, new Z._closure0(def)); |
| }, |
| $isFunction: true |
| }, |
| _closure0: { |
| "^": "Closure:13;def_0", |
| call$1: function(_) { |
| return this.def_0; |
| }, |
| $isFunction: true |
| }, |
| closure5: { |
| "^": "Closure:75;", |
| call$2: function(x, def) { |
| return H.Primitives_parseDouble(x, new Z._closure(def)); |
| }, |
| $isFunction: true |
| }, |
| _closure: { |
| "^": "Closure:13;def_1", |
| call$1: function(_) { |
| return this.def_1; |
| }, |
| $isFunction: true |
| } |
| }], |
| ["polymer_expressions", "package:polymer_expressions/polymer_expressions.dart", , T, { |
| "^": "", |
| _classAttributeConverter: [function(v) { |
| var t1 = J.getInterceptor(v); |
| if (!!t1.$isMap) |
| t1 = J.where$1$ax(v.get$keys(), new T._classAttributeConverter_closure(v)).join$1(0, " "); |
| else |
| t1 = !!t1.$isIterable ? t1.join$1(v, " ") : v; |
| return t1; |
| }, "call$1", "_classAttributeConverter$closure", 2, 0, 49, 64], |
| _styleAttributeConverter: [function(v) { |
| var t1 = J.getInterceptor(v); |
| if (!!t1.$isMap) |
| t1 = J.map$1$ax(v.get$keys(), new T._styleAttributeConverter_closure(v)).join$1(0, ";"); |
| else |
| t1 = !!t1.$isIterable ? t1.join$1(v, ";") : v; |
| return t1; |
| }, "call$1", "_styleAttributeConverter$closure", 2, 0, 49, 64], |
| _identity: [function(x) { |
| return x; |
| }, "call$1", "_identity$closure", 2, 0, 13, 65], |
| _classAttributeConverter_closure: { |
| "^": "Closure:13;v_0", |
| call$1: function(k) { |
| return J.$eq(this.v_0.$index(0, k), true); |
| }, |
| $isFunction: true |
| }, |
| _styleAttributeConverter_closure: { |
| "^": "Closure:13;v_0", |
| call$1: [function(k) { |
| return H.S(k) + ": " + H.S(this.v_0.$index(0, k)); |
| }, "call$1", null, 2, 0, null, 174, "call"], |
| $isFunction: true |
| }, |
| PolymerExpressions0: { |
| "^": "BindingDelegate;_scopeFactory,globals,_scopes,_scopeIdents,_bindingMaps", |
| prepareBinding$3: function(path, $name, boundNode) { |
| var t1, t2, t3, expr; |
| t1 = {}; |
| t2 = new Y.Tokenizer(H.setRuntimeTypeInfo([], [Y.Token]), P.StringBuffer$(""), new P.RuneIterator(path, 0, 0, null), null); |
| t3 = new U.AstFactory(); |
| t3 = new T.Parser(t3, t2, null, null); |
| t2 = t2.tokenize$0(); |
| t3._tokens = t2; |
| t3._parser$_iterator = H.setRuntimeTypeInfo(new H.ListIterator(t2, t2.length, 0, null), [H.getTypeArgumentByIndex(t2, 0)]); |
| t3._advance$0(); |
| expr = t3._parseExpression$0(); |
| if (M.isSemanticTemplate(boundNode)) { |
| t2 = J.getInterceptor($name); |
| t2 = t2.$eq($name, "bind") || t2.$eq($name, "repeat"); |
| } else |
| t2 = false; |
| if (t2) { |
| t1 = J.getInterceptor(expr); |
| if (!!t1.$isHasIdentifier) |
| return new T.PolymerExpressions_prepareBinding_closure(this, expr.get$identifier(), t1.get$expr(expr)); |
| else |
| return new T.PolymerExpressions_prepareBinding_closure0(this, expr); |
| } |
| t1.converter_0 = null; |
| t2 = !!J.getInterceptor(boundNode).$isElement; |
| if (t2 && J.$eq($name, "class")) |
| t1.converter_0 = T._classAttributeConverter$closure(); |
| else if (t2 && J.$eq($name, "style")) |
| t1.converter_0 = T._styleAttributeConverter$closure(); |
| return new T.PolymerExpressions_prepareBinding_closure1(t1, this, expr); |
| }, |
| prepareInstanceModel$1: function(template) { |
| var ident = this._scopeIdents.$index(0, template); |
| if (ident == null) |
| return new T.PolymerExpressions_prepareInstanceModel_closure(this, template); |
| return new T.PolymerExpressions_prepareInstanceModel_closure0(this, template, ident); |
| }, |
| _getParentScope$1: function(node) { |
| var t1, $parent, templateExtension, templateInstance, model; |
| t1 = J.getInterceptor$x(node); |
| $parent = t1.get$parentNode(node); |
| if ($parent == null) |
| return; |
| if (M.isSemanticTemplate(node)) { |
| templateExtension = !!t1.$isNodeBindExtension ? node : M.nodeBindFallback(node); |
| t1 = J.getInterceptor$x(templateExtension); |
| templateInstance = t1.get$templateInstance(templateExtension); |
| model = templateInstance == null ? t1.get$model(templateExtension) : templateInstance.model; |
| if (!!J.getInterceptor(model).$isScope) |
| return model; |
| else |
| return this._scopes.$index(0, node); |
| } |
| return this._getParentScope$1($parent); |
| }, |
| _getScopeForModel$2: function(node, model) { |
| var t1, t2; |
| if (node == null) |
| return K.Scope_Scope(model, this.globals); |
| t1 = J.getInterceptor(node); |
| if (!!t1.$isElement) |
| ; |
| if (!!J.getInterceptor(model).$isScope) |
| return model; |
| t2 = this._scopes; |
| if (t2.$index(0, node) != null) { |
| t2.$index(0, node); |
| return t2.$index(0, node); |
| } else if (t1.get$parentNode(node) != null) |
| return this._getContainingScope$2(t1.get$parentNode(node), model); |
| else { |
| if (!M.isSemanticTemplate(node)) |
| throw H.wrapException("expected a template instead of " + H.S(node)); |
| return this._getContainingScope$2(node, model); |
| } |
| }, |
| _getContainingScope$2: function(node, model) { |
| var templateExtension, t1, scope; |
| if (M.isSemanticTemplate(node)) { |
| templateExtension = !!J.getInterceptor(node).$isNodeBindExtension ? node : M.nodeBindFallback(node); |
| t1 = J.getInterceptor$x(templateExtension); |
| if (t1.get$templateInstance(templateExtension) == null) |
| t1.get$model(templateExtension); |
| return this._scopes.$index(0, node); |
| } else { |
| t1 = J.getInterceptor$x(node); |
| if (t1.get$parent(node) == null) { |
| scope = this._scopes.$index(0, node); |
| return scope != null ? scope : K.Scope_Scope(model, this.globals); |
| } else |
| return this._getContainingScope$2(t1.get$parentNode(node), model); |
| } |
| }, |
| static: {"^": "PolymerExpressions_DEFAULT_GLOBALS", PolymerExpressions$: function(globals, scopeFactory) { |
| var t1, t2, t3; |
| t1 = H.setRuntimeTypeInfo(new P.Expando(null), [K.Scope]); |
| t2 = H.setRuntimeTypeInfo(new P.Expando(null), [P.String]); |
| t3 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, P.Object); |
| t3.addAll$1(0, C.Map_wgEsG); |
| return new T.PolymerExpressions0(scopeFactory, t3, t1, t2, null); |
| }} |
| }, |
| PolymerExpressions_prepareBinding_closure: { |
| "^": "Closure:175;this_1,identifier_2,bindExpr_3", |
| call$3: [function(model, node, oneTime) { |
| var t1, scope; |
| t1 = this.this_1; |
| t1._scopeIdents.$indexSet(0, node, this.identifier_2); |
| scope = !!J.getInterceptor(model).$isScope ? model : K.Scope_Scope(model, t1.globals); |
| t1._scopes.$indexSet(0, node, scope); |
| t1 = T._identity$closure(); |
| return new T._Binding(scope, t1, this.bindExpr_3, null, null, null, null); |
| }, "call$3", null, 6, 0, null, 162, 163, 164, "call"], |
| $isFunction: true |
| }, |
| PolymerExpressions_prepareBinding_closure0: { |
| "^": "Closure:175;this_4,expr_5", |
| call$3: [function(model, node, oneTime) { |
| var t1, scope; |
| t1 = this.this_4; |
| scope = !!J.getInterceptor(model).$isScope ? model : K.Scope_Scope(model, t1.globals); |
| t1._scopes.$indexSet(0, node, scope); |
| if (oneTime === true) |
| return T._Binding__oneTime(this.expr_5, scope, null); |
| t1 = T._identity$closure(); |
| return new T._Binding(scope, t1, this.expr_5, null, null, null, null); |
| }, "call$3", null, 6, 0, null, 162, 163, 164, "call"], |
| $isFunction: true |
| }, |
| PolymerExpressions_prepareBinding_closure1: { |
| "^": "Closure:175;box_0,this_6,expr_7", |
| call$3: [function(model, node, oneTime) { |
| var scope, t1; |
| scope = this.this_6._getScopeForModel$2(node, model); |
| if (oneTime === true) |
| return T._Binding__oneTime(this.expr_7, scope, this.box_0.converter_0); |
| t1 = this.box_0.converter_0; |
| if (t1 == null) |
| t1 = T._identity$closure(); |
| return new T._Binding(scope, t1, this.expr_7, null, null, null, null); |
| }, "call$3", null, 6, 0, null, 162, 163, 164, "call"], |
| $isFunction: true |
| }, |
| PolymerExpressions_prepareInstanceModel_closure: { |
| "^": "Closure:13;this_0,template_1", |
| call$1: [function(model) { |
| var t1, t2, existingScope; |
| t1 = this.this_0; |
| t2 = this.template_1; |
| existingScope = t1._scopes.$index(0, t2); |
| if (existingScope != null) { |
| if (J.$eq(model, J.get$model$x(existingScope))) |
| return existingScope; |
| return K.Scope_Scope(model, t1.globals); |
| } else |
| return t1._getScopeForModel$2(t2, model); |
| }, "call$1", null, 2, 0, null, 162, "call"], |
| $isFunction: true |
| }, |
| PolymerExpressions_prepareInstanceModel_closure0: { |
| "^": "Closure:13;this_2,template_3,ident_4", |
| call$1: [function(model) { |
| var t1, t2, existingScope, t3; |
| t1 = this.this_2; |
| t2 = this.template_3; |
| existingScope = t1._scopes.$index(0, t2); |
| t3 = this.ident_4; |
| if (existingScope != null) |
| return existingScope.childScope$2(t3, model); |
| else |
| return t1._getParentScope$1(t2).childScope$2(t3, model); |
| }, "call$1", null, 2, 0, null, 162, "call"], |
| $isFunction: true |
| }, |
| _Binding: { |
| "^": "Bindable;_scope,_converter,_polymer_expressions$_expr,_polymer_expressions$_callback,_polymer_expressions$_sub,_observer,_polymer_expressions$_value", |
| _converter$1: function(arg0) { |
| return this._converter.call$1(arg0); |
| }, |
| _polymer_expressions$_callback$1: function(arg0) { |
| return this._polymer_expressions$_callback.call$1(arg0); |
| }, |
| _polymer_expressions$_check$2$skipChanges: [function(v, skipChanges) { |
| var oldValue, t1; |
| oldValue = this._polymer_expressions$_value; |
| t1 = this._converter$1(v); |
| this._polymer_expressions$_value = t1; |
| if (skipChanges !== true && this._polymer_expressions$_callback != null && !J.$eq(oldValue, t1)) |
| this._polymer_expressions$_callback$1(this._polymer_expressions$_value); |
| }, function(v) { |
| return this._polymer_expressions$_check$2$skipChanges(v, false); |
| }, "_polymer_expressions$_check$1", "call$2$skipChanges", "call$1", "get$_polymer_expressions$_check", 2, 3, 176, 177, 64, 178], |
| get$value: function(_) { |
| if (this._polymer_expressions$_callback != null) |
| return this._polymer_expressions$_value; |
| return T._Binding__oneTime(this._polymer_expressions$_expr, this._scope, this._converter); |
| }, |
| set$value: function(_, v) { |
| var newValue, e, s, exception, t1; |
| try { |
| newValue = K.assign(this._polymer_expressions$_expr, v, this._scope, false); |
| this._polymer_expressions$_check$2$skipChanges(newValue, true); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| H.setRuntimeTypeInfo(new P._AsyncCompleter(P._Future$(null)), [null]).completeError$2("Error evaluating expression '" + H.S(this._polymer_expressions$_expr) + "': " + H.S(e), s); |
| } |
| |
| }, |
| open$1: function(_, callback) { |
| var e, s, t1, observer, exception; |
| if (this._polymer_expressions$_callback != null) |
| throw H.wrapException(P.StateError$("already open")); |
| this._polymer_expressions$_callback = callback; |
| t1 = H.setRuntimeTypeInfo(new P.ListQueue(null, 0, 0, 0), [null]); |
| t1.ListQueue$1(null, null); |
| observer = this._polymer_expressions$_expr.accept$1(0, new K.ObserverBuilder(t1)); |
| this._observer = observer; |
| t1 = observer.get$onUpdate().listen$1(this.get$_polymer_expressions$_check()); |
| t1.onError$1(0, new T._Binding_open_closure(this)); |
| this._polymer_expressions$_sub = t1; |
| try { |
| t1 = this._observer; |
| J.accept$1$x(t1, new K.Updater(this._scope)); |
| t1.get$currentValue(); |
| this._polymer_expressions$_check$2$skipChanges(this._observer.get$currentValue(), true); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| H.setRuntimeTypeInfo(new P._AsyncCompleter(P._Future$(null)), [null]).completeError$2("Error evaluating expression '" + H.S(this._observer) + "': " + H.S(e), s); |
| } |
| |
| return this._polymer_expressions$_value; |
| }, |
| close$0: function(_) { |
| var t1, t2; |
| if (this._polymer_expressions$_callback == null) |
| return; |
| this._polymer_expressions$_sub.cancel$0(); |
| this._polymer_expressions$_sub = null; |
| this._polymer_expressions$_callback = null; |
| t1 = $.get$Closer__instance(); |
| t2 = this._observer; |
| t1.toString; |
| J.accept$1$x(t2, t1); |
| this._observer = null; |
| }, |
| static: {_Binding__oneTime: function(expr, scope, converter) { |
| var value, e, s, t1, exception; |
| try { |
| value = J.accept$1$x(expr, new K.EvalVisitor(scope)); |
| t1 = converter == null ? value : converter.call$1(value); |
| return t1; |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| s = new H._StackTrace(exception, null); |
| H.setRuntimeTypeInfo(new P._AsyncCompleter(P._Future$(null)), [null]).completeError$2("Error evaluating expression '" + H.S(expr) + "': " + H.S(e), s); |
| } |
| |
| return; |
| }} |
| }, |
| _Binding_open_closure: { |
| "^": "Closure:75;this_0", |
| call$2: [function(e, s) { |
| H.setRuntimeTypeInfo(new P._AsyncCompleter(P._Future$(null)), [null]).completeError$2("Error evaluating expression '" + H.S(this.this_0._observer) + "': " + H.S(e), s); |
| }, "call$2", null, 4, 0, null, 1, 142, "call"], |
| $isFunction: true |
| }, |
| ScopeFactory: { |
| "^": "Object;" |
| } |
| }], |
| ["polymer_expressions.async", "package:polymer_expressions/async.dart", , B, { |
| "^": "", |
| StreamBinding: { |
| "^": "ObservableBox;stream,_observable_box$_value,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| StreamBinding$1: function(stream, $T) { |
| this.stream.listen$1(new B.StreamBinding_closure($T, this)); |
| }, |
| $asObservableBox: function($T) { |
| return [null]; |
| }, |
| static: {StreamBinding$: function(stream, $T) { |
| var t1 = H.setRuntimeTypeInfo(new B.StreamBinding(stream, null, null, null), [$T]); |
| t1.StreamBinding$1(stream, $T); |
| return t1; |
| }} |
| }, |
| StreamBinding_closure: { |
| "^": "Closure;T_0,this_1", |
| call$1: [function(i) { |
| var t1 = this.this_1; |
| t1._observable_box$_value = F.notifyPropertyChangeHelper(t1, C.Symbol_value, t1._observable_box$_value, i); |
| }, "call$1", null, 2, 0, null, 82, "call"], |
| $isFunction: true, |
| $signature: function() { |
| return H.computeSignature(function(T) { |
| return {func: "dynamic__T0", args: [T]}; |
| }, this.this_1, "StreamBinding"); |
| } |
| } |
| }], |
| ["polymer_expressions.eval", "package:polymer_expressions/eval.dart", , K, { |
| "^": "", |
| assign: function(expr, value, scope, checkAssignability) { |
| var filters, t1, property, expression, isIndex, filterExpr, o; |
| filters = H.setRuntimeTypeInfo([], [U.Expression]); |
| for (; t1 = J.getInterceptor(expr), !!t1.$isBinaryOperator;) { |
| if (!J.$eq(t1.get$operator(expr), "|")) |
| break; |
| filters.push(t1.get$right(expr)); |
| expr = t1.get$left(expr); |
| } |
| if (!!t1.$isIdentifier) { |
| property = t1.get$value(expr); |
| expression = C.C_EmptyExpression; |
| isIndex = false; |
| } else if (!!t1.$isIndex) { |
| expression = expr.get$receiver(); |
| property = expr.get$argument(); |
| isIndex = true; |
| } else { |
| if (!!t1.$isGetter) { |
| expression = expr.get$receiver(); |
| property = t1.get$name(expr); |
| } else { |
| if (checkAssignability) |
| throw H.wrapException(K.EvalException$("Expression is not assignable: " + H.S(expr))); |
| return; |
| } |
| isIndex = false; |
| } |
| for (t1 = H.setRuntimeTypeInfo(new H.ListIterator(filters, filters.length, 0, null), [H.getTypeArgumentByIndex(filters, 0)]); t1.moveNext$0();) { |
| filterExpr = t1._current; |
| J.accept$1$x(filterExpr, new K.EvalVisitor(scope)); |
| if (checkAssignability) |
| throw H.wrapException(K.EvalException$("filter must implement Transformer to be assignable: " + H.S(filterExpr))); |
| else |
| return; |
| } |
| o = J.accept$1$x(expression, new K.EvalVisitor(scope)); |
| if (o == null) |
| return; |
| if (isIndex) |
| J.$indexSet$ax(o, J.accept$1$x(property, new K.EvalVisitor(scope)), value); |
| else { |
| t1 = $.get$symbolConverter()._symbols.$index(0, property); |
| $.get$objectAccessor().write$3(o, t1, value); |
| } |
| return value; |
| }, |
| Scope_Scope: function(model, variables) { |
| var scope, t1, t2; |
| scope = new K._ModelScope(model); |
| if (variables == null) |
| t1 = scope; |
| else { |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, P.Object); |
| t1.addAll$1(0, variables); |
| t2 = new K._GlobalsScope(scope, t1); |
| if (t1.containsKey$1("this")) |
| H.throwExpression(K.EvalException$("'this' cannot be used as a variable name.")); |
| t1 = t2; |
| } |
| return t1; |
| }, |
| closure14: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return J.$add$ns(a, b); |
| }, |
| $isFunction: true |
| }, |
| closure15: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return J.$sub$n(a, b); |
| }, |
| $isFunction: true |
| }, |
| closure16: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return J.$mul$ns(a, b); |
| }, |
| $isFunction: true |
| }, |
| closure17: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return J.$div$n(a, b); |
| }, |
| $isFunction: true |
| }, |
| closure18: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return J.$mod$n(a, b); |
| }, |
| $isFunction: true |
| }, |
| closure19: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return J.$eq(a, b); |
| }, |
| $isFunction: true |
| }, |
| closure20: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return !J.$eq(a, b); |
| }, |
| $isFunction: true |
| }, |
| closure21: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return a == null ? b == null : a === b; |
| }, |
| $isFunction: true |
| }, |
| closure22: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return a == null ? b != null : a !== b; |
| }, |
| $isFunction: true |
| }, |
| closure23: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return J.$gt$n(a, b); |
| }, |
| $isFunction: true |
| }, |
| closure24: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return J.$ge$n(a, b); |
| }, |
| $isFunction: true |
| }, |
| closure25: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return J.$lt$n(a, b); |
| }, |
| $isFunction: true |
| }, |
| closure26: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return J.$le$n(a, b); |
| }, |
| $isFunction: true |
| }, |
| closure27: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return a === true || b === true; |
| }, |
| $isFunction: true |
| }, |
| closure28: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return a === true && b === true; |
| }, |
| $isFunction: true |
| }, |
| closure29: { |
| "^": "Closure:75;", |
| call$2: function(a, f) { |
| var t1 = H.buildInterfaceType(P.Object); |
| t1 = H.buildFunctionType(t1, [t1])._isTest$1(f); |
| if (t1) |
| return f.call$1(a); |
| throw H.wrapException(K.EvalException$("Filters must be a one-argument function.")); |
| }, |
| $isFunction: true |
| }, |
| closure11: { |
| "^": "Closure:13;", |
| call$1: function(a) { |
| return a; |
| }, |
| $isFunction: true |
| }, |
| closure12: { |
| "^": "Closure:13;", |
| call$1: function(a) { |
| return J.$negate$n(a); |
| }, |
| $isFunction: true |
| }, |
| closure13: { |
| "^": "Closure:13;", |
| call$1: function(a) { |
| return a !== true; |
| }, |
| $isFunction: true |
| }, |
| Scope: { |
| "^": "Object;", |
| $indexSet: function(_, $name, value) { |
| throw H.wrapException(P.UnsupportedError$("[]= is not supported in Scope.")); |
| }, |
| childScope$2: function($name, value) { |
| if (J.$eq($name, "this")) |
| H.throwExpression(K.EvalException$("'this' cannot be used as a variable name.")); |
| return new K._LocalVariableScope(this, $name, value); |
| }, |
| $isScope: true, |
| $isIndexable: true, |
| $asIndexable: function() { |
| return [P.String, P.Object]; |
| } |
| }, |
| _ModelScope: { |
| "^": "Scope;model>", |
| $index: function(_, $name) { |
| var symbol, t1; |
| if (J.$eq($name, "this")) |
| return this.model; |
| symbol = $.get$symbolConverter()._symbols.$index(0, $name); |
| t1 = this.model; |
| if (t1 == null || symbol == null) |
| throw H.wrapException(K.EvalException$("variable '" + H.S($name) + "' not found")); |
| t1 = $.get$objectAccessor().read$2(t1, symbol); |
| return !!J.getInterceptor(t1).$isStream ? B.StreamBinding$(t1, null) : t1; |
| }, |
| _isModelProperty$1: function($name) { |
| return !J.$eq($name, "this"); |
| }, |
| toString$0: function(_) { |
| return "[model: " + H.S(this.model) + "]"; |
| } |
| }, |
| _LocalVariableScope: { |
| "^": "Scope;parent>,varName,value>", |
| get$model: function(_) { |
| var t1 = this.parent; |
| t1 = t1.get$model(t1); |
| return t1; |
| }, |
| $index: function(_, $name) { |
| var t1; |
| if (J.$eq(this.varName, $name)) { |
| t1 = this.value; |
| return !!J.getInterceptor(t1).$isStream ? B.StreamBinding$(t1, null) : t1; |
| } |
| return this.parent.$index(0, $name); |
| }, |
| _isModelProperty$1: function($name) { |
| if (J.$eq(this.varName, $name)) |
| return false; |
| return this.parent._isModelProperty$1($name); |
| }, |
| toString$0: function(_) { |
| return this.parent.toString$0(0) + " > [local: " + H.S(this.varName) + "]"; |
| } |
| }, |
| _GlobalsScope: { |
| "^": "Scope;parent>,variables<", |
| get$model: function(_) { |
| return this.parent.model; |
| }, |
| $index: function(_, $name) { |
| var t1 = this.variables; |
| if (t1.containsKey$1($name)) { |
| t1 = t1.$index(0, $name); |
| return !!J.getInterceptor(t1).$isStream ? B.StreamBinding$(t1, null) : t1; |
| } |
| return this.parent.$index(0, $name); |
| }, |
| _isModelProperty$1: function($name) { |
| if (this.variables.containsKey$1($name)) |
| return false; |
| return !J.$eq($name, "this"); |
| }, |
| toString$0: function(_) { |
| var t1 = this.variables; |
| return "[model: " + H.S(this.parent.model) + "] > [global: " + P.IterableBase_iterableToShortString(H.setRuntimeTypeInfo(new P.LinkedHashMapKeyIterable(t1), [H.getTypeArgumentByIndex(t1, 0)]), "(", ")") + "]"; |
| } |
| }, |
| ExpressionObserver: { |
| "^": "Object;_parent?,_eval$_value<", |
| get$onUpdate: function() { |
| var t1 = this._eval$_controller; |
| return H.setRuntimeTypeInfo(new P._BroadcastStream(t1), [H.getTypeArgumentByIndex(t1, 0)]); |
| }, |
| get$currentValue: function() { |
| return this._eval$_value; |
| }, |
| _updateSelf$1: function(scope) { |
| }, |
| _invalidate$1: function(scope) { |
| var t1; |
| this._eval$_observe$1(0, scope); |
| t1 = this._parent; |
| if (t1 != null) |
| t1._invalidate$1(scope); |
| }, |
| _eval$_unobserve$0: function() { |
| var t1 = this._eval$_subscription; |
| if (t1 != null) { |
| t1.cancel$0(); |
| this._eval$_subscription = null; |
| } |
| }, |
| _eval$_observe$1: function(_, scope) { |
| var _oldValue, t1, t2; |
| this._eval$_unobserve$0(); |
| _oldValue = this._eval$_value; |
| this._updateSelf$1(scope); |
| t1 = this._eval$_value; |
| if (t1 == null ? _oldValue != null : t1 !== _oldValue) { |
| t2 = this._eval$_controller; |
| if (t2._state >= 4) |
| H.throwExpression(t2._addEventError$0()); |
| t2._sendData$1(t1); |
| } |
| }, |
| toString$0: function(_) { |
| return this._eval$_expr.toString$0(0); |
| }, |
| $isExpression: true |
| }, |
| Updater: { |
| "^": "RecursiveVisitor;scope", |
| visitExpression$1: function(e) { |
| e._eval$_observe$1(0, this.scope); |
| } |
| }, |
| Closer: { |
| "^": "RecursiveVisitor;", |
| visitExpression$1: function(e) { |
| e._eval$_unobserve$0(); |
| }, |
| static: {"^": "Closer__instance"} |
| }, |
| EvalVisitor: { |
| "^": "Visitor;scope", |
| visitEmptyExpression$1: function(e) { |
| return J.get$model$x(this.scope); |
| }, |
| visitParenthesizedExpression$1: function(e) { |
| return e.child.accept$1(0, this); |
| }, |
| visitGetter$1: function(g) { |
| var receiver, t1, symbol; |
| receiver = J.accept$1$x(g.get$receiver(), this); |
| if (receiver == null) |
| return; |
| t1 = g.get$name(g); |
| symbol = $.get$symbolConverter()._symbols.$index(0, t1); |
| return $.get$objectAccessor().read$2(receiver, symbol); |
| }, |
| visitIndex$1: function(i) { |
| var receiver = J.accept$1$x(i.get$receiver(), this); |
| if (receiver == null) |
| return; |
| return J.$index$asx(receiver, J.accept$1$x(i.get$argument(), this)); |
| }, |
| visitInvoke$1: function(i) { |
| var receiver, args, t1, t2, symbol; |
| receiver = J.accept$1$x(i.get$receiver(), this); |
| if (receiver == null) |
| return; |
| if (i.get$arguments() == null) |
| args = null; |
| else { |
| t1 = i.get$arguments(); |
| t2 = this.get$visit(); |
| t1.toString; |
| args = H.setRuntimeTypeInfo(new H.MappedListIterable(t1, t2), [null, null]).toList$1$growable(0, false); |
| } |
| if (i.get$method(i) == null) |
| return H.Primitives_applyFunction(receiver, args, P.Function__toMangledNames(null)); |
| t1 = i.get$method(i); |
| symbol = $.get$symbolConverter()._symbols.$index(0, t1); |
| return $.get$objectAccessor().invoke$5$adjust$namedArgs(receiver, symbol, args, false, null); |
| }, |
| visitLiteral$1: function(l) { |
| return l.get$value(l); |
| }, |
| visitListLiteral$1: function(l) { |
| return H.setRuntimeTypeInfo(new H.MappedListIterable(l.get$items(), this.get$visit()), [null, null]).toList$0(0); |
| }, |
| visitMapLiteral$1: function(l) { |
| var map, t1, entry; |
| map = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| for (t1 = l.get$entries(l), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) { |
| entry = t1._current; |
| map.$indexSet(0, J.accept$1$x(J.get$key$x(entry), this), J.accept$1$x(entry.get$entryValue(), this)); |
| } |
| return map; |
| }, |
| visitMapLiteralEntry$1: function(e) { |
| return H.throwExpression(P.UnsupportedError$("should never be called")); |
| }, |
| visitIdentifier$1: function(i) { |
| return J.$index$asx(this.scope, i.get$value(i)); |
| }, |
| visitBinaryOperator$1: function(o) { |
| var operator, left, right, f, t1; |
| operator = o.get$operator(o); |
| left = J.accept$1$x(o.get$left(o), this); |
| right = J.accept$1$x(o.get$right(o), this); |
| f = $.get$_BINARY_OPERATORS().$index(0, operator); |
| t1 = J.getInterceptor(operator); |
| if (t1.$eq(operator, "&&") || t1.$eq(operator, "||")) { |
| t1 = left == null ? false : left; |
| return f.call$2(t1, right == null ? false : right); |
| } else if (t1.$eq(operator, "==") || t1.$eq(operator, "!=")) |
| return f.call$2(left, right); |
| else if (left == null || right == null) |
| return; |
| return f.call$2(left, right); |
| }, |
| visitUnaryOperator$1: function(o) { |
| var expr, f; |
| expr = J.accept$1$x(o.get$child(), this); |
| f = $.get$_UNARY_OPERATORS().$index(0, o.get$operator(o)); |
| if (J.$eq(o.get$operator(o), "!")) |
| return f.call$1(expr == null ? false : expr); |
| return expr == null ? null : f.call$1(expr); |
| }, |
| visitTernaryOperator$1: function(o) { |
| return J.$eq(J.accept$1$x(o.get$condition(), this), true) ? J.accept$1$x(o.get$trueExpr(), this) : J.accept$1$x(o.get$falseExpr(), this); |
| }, |
| visitInExpression$1: function(i) { |
| return H.throwExpression(P.UnsupportedError$("can't eval an 'in' expression")); |
| }, |
| visitAsExpression$1: function(i) { |
| return H.throwExpression(P.UnsupportedError$("can't eval an 'as' expression")); |
| } |
| }, |
| ObserverBuilder: { |
| "^": "Visitor;parents", |
| visitEmptyExpression$1: function(e) { |
| return new K.EmptyObserver(e, null, null, null, P.StreamController_StreamController$broadcast(null, null, false, null)); |
| }, |
| visitParenthesizedExpression$1: function(e) { |
| return e.child.accept$1(0, this); |
| }, |
| visitGetter$1: function(g) { |
| var receiver, getter; |
| receiver = J.accept$1$x(g.get$receiver(), this); |
| getter = new K.GetterObserver(receiver, g, null, null, null, P.StreamController_StreamController$broadcast(null, null, false, null)); |
| receiver.set$_parent(getter); |
| return getter; |
| }, |
| visitIndex$1: function(i) { |
| var receiver, arg, index; |
| receiver = J.accept$1$x(i.get$receiver(), this); |
| arg = J.accept$1$x(i.get$argument(), this); |
| index = new K.IndexObserver(receiver, arg, i, null, null, null, P.StreamController_StreamController$broadcast(null, null, false, null)); |
| receiver.set$_parent(index); |
| arg.set$_parent(index); |
| return index; |
| }, |
| visitInvoke$1: function(i) { |
| var receiver, args, t1, t2, invoke; |
| receiver = J.accept$1$x(i.get$receiver(), this); |
| if (i.get$arguments() == null) |
| args = null; |
| else { |
| t1 = i.get$arguments(); |
| t2 = this.get$visit(); |
| t1.toString; |
| args = H.setRuntimeTypeInfo(new H.MappedListIterable(t1, t2), [null, null]).toList$1$growable(0, false); |
| } |
| invoke = new K.InvokeObserver(receiver, args, i, null, null, null, P.StreamController_StreamController$broadcast(null, null, false, null)); |
| receiver.set$_parent(invoke); |
| if (args != null) |
| H.IterableMixinWorkaround_forEach(args, new K.ObserverBuilder_visitInvoke_closure(invoke)); |
| return invoke; |
| }, |
| visitLiteral$1: function(l) { |
| return new K.LiteralObserver(l, null, null, null, P.StreamController_StreamController$broadcast(null, null, false, null)); |
| }, |
| visitListLiteral$1: function(l) { |
| var items, list; |
| items = H.setRuntimeTypeInfo(new H.MappedListIterable(l.get$items(), this.get$visit()), [null, null]).toList$1$growable(0, false); |
| list = new K.ListLiteralObserver(items, l, null, null, null, P.StreamController_StreamController$broadcast(null, null, false, null)); |
| H.IterableMixinWorkaround_forEach(items, new K.ObserverBuilder_visitListLiteral_closure(list)); |
| return list; |
| }, |
| visitMapLiteral$1: function(l) { |
| var entries, map; |
| entries = H.setRuntimeTypeInfo(new H.MappedListIterable(l.get$entries(l), this.get$visit()), [null, null]).toList$1$growable(0, false); |
| map = new K.MapLiteralObserver(entries, l, null, null, null, P.StreamController_StreamController$broadcast(null, null, false, null)); |
| H.IterableMixinWorkaround_forEach(entries, new K.ObserverBuilder_visitMapLiteral_closure(map)); |
| return map; |
| }, |
| visitMapLiteralEntry$1: function(e) { |
| var key, value, entry; |
| key = J.accept$1$x(e.get$key(e), this); |
| value = J.accept$1$x(e.get$entryValue(), this); |
| entry = new K.MapLiteralEntryObserver(key, value, e, null, null, null, P.StreamController_StreamController$broadcast(null, null, false, null)); |
| key.set$_parent(entry); |
| value.set$_parent(entry); |
| return entry; |
| }, |
| visitIdentifier$1: function(i) { |
| return new K.IdentifierObserver(i, null, null, null, P.StreamController_StreamController$broadcast(null, null, false, null)); |
| }, |
| visitBinaryOperator$1: function(o) { |
| var left, right, binary; |
| left = J.accept$1$x(o.get$left(o), this); |
| right = J.accept$1$x(o.get$right(o), this); |
| binary = new K.BinaryObserver(left, right, o, null, null, null, P.StreamController_StreamController$broadcast(null, null, false, null)); |
| left.set$_parent(binary); |
| right.set$_parent(binary); |
| return binary; |
| }, |
| visitUnaryOperator$1: function(o) { |
| var expr, unary; |
| expr = J.accept$1$x(o.get$child(), this); |
| unary = new K.UnaryObserver(expr, o, null, null, null, P.StreamController_StreamController$broadcast(null, null, false, null)); |
| expr.set$_parent(unary); |
| return unary; |
| }, |
| visitTernaryOperator$1: function(o) { |
| var condition, trueExpr, falseExpr, ternary; |
| condition = J.accept$1$x(o.get$condition(), this); |
| trueExpr = J.accept$1$x(o.get$trueExpr(), this); |
| falseExpr = J.accept$1$x(o.get$falseExpr(), this); |
| ternary = new K.TernaryObserver(condition, trueExpr, falseExpr, o, null, null, null, P.StreamController_StreamController$broadcast(null, null, false, null)); |
| condition.set$_parent(ternary); |
| trueExpr.set$_parent(ternary); |
| falseExpr.set$_parent(ternary); |
| return ternary; |
| }, |
| visitInExpression$1: function(i) { |
| throw H.wrapException(P.UnsupportedError$("can't eval an 'in' expression")); |
| }, |
| visitAsExpression$1: function(i) { |
| throw H.wrapException(P.UnsupportedError$("can't eval an 'as' expression")); |
| } |
| }, |
| ObserverBuilder_visitInvoke_closure: { |
| "^": "Closure:13;invoke_0", |
| call$1: function(a) { |
| var t1 = this.invoke_0; |
| a.set$_parent(t1); |
| return t1; |
| }, |
| $isFunction: true |
| }, |
| ObserverBuilder_visitListLiteral_closure: { |
| "^": "Closure:13;list_0", |
| call$1: function(e) { |
| var t1 = this.list_0; |
| e.set$_parent(t1); |
| return t1; |
| }, |
| $isFunction: true |
| }, |
| ObserverBuilder_visitMapLiteral_closure: { |
| "^": "Closure:13;map_0", |
| call$1: function(e) { |
| var t1 = this.map_0; |
| e.set$_parent(t1); |
| return t1; |
| }, |
| $isFunction: true |
| }, |
| EmptyObserver: { |
| "^": "ExpressionObserver;_eval$_expr,_parent,_eval$_subscription,_eval$_value,_eval$_controller", |
| _updateSelf$1: function(scope) { |
| this._eval$_value = J.get$model$x(scope); |
| }, |
| accept$1: function(_, v) { |
| return v.visitEmptyExpression$1(this); |
| }, |
| $asExpressionObserver: function() { |
| return [U.EmptyExpression]; |
| }, |
| $isEmptyExpression: true, |
| $isExpression: true |
| }, |
| LiteralObserver: { |
| "^": "ExpressionObserver;_eval$_expr,_parent,_eval$_subscription,_eval$_value,_eval$_controller", |
| get$value: function(_) { |
| var t1 = this._eval$_expr; |
| return t1.get$value(t1); |
| }, |
| _updateSelf$1: function(scope) { |
| var t1 = this._eval$_expr; |
| this._eval$_value = t1.get$value(t1); |
| }, |
| accept$1: function(_, v) { |
| return v.visitLiteral$1(this); |
| }, |
| $asExpressionObserver: function() { |
| return [U.Literal]; |
| }, |
| $asLiteral: function() { |
| return [null]; |
| }, |
| $isLiteral: true, |
| $isExpression: true |
| }, |
| ListLiteralObserver: { |
| "^": "ExpressionObserver;items<,_eval$_expr,_parent,_eval$_subscription,_eval$_value,_eval$_controller", |
| _updateSelf$1: function(scope) { |
| this._eval$_value = H.setRuntimeTypeInfo(new H.MappedListIterable(this.items, new K.ListLiteralObserver__updateSelf_closure()), [null, null]).toList$0(0); |
| }, |
| accept$1: function(_, v) { |
| return v.visitListLiteral$1(this); |
| }, |
| $asExpressionObserver: function() { |
| return [U.ListLiteral]; |
| }, |
| $isListLiteral: true, |
| $isExpression: true |
| }, |
| ListLiteralObserver__updateSelf_closure: { |
| "^": "Closure:13;", |
| call$1: [function(i) { |
| return i.get$_eval$_value(); |
| }, "call$1", null, 2, 0, null, 82, "call"], |
| $isFunction: true |
| }, |
| MapLiteralObserver: { |
| "^": "ExpressionObserver;entries>,_eval$_expr,_parent,_eval$_subscription,_eval$_value,_eval$_controller", |
| _updateSelf$1: function(scope) { |
| this._eval$_value = H.IterableMixinWorkaround_fold(this.entries, P.LinkedHashMap_LinkedHashMap(null, null, null, null, null), new K.MapLiteralObserver__updateSelf_closure()); |
| }, |
| accept$1: function(_, v) { |
| return v.visitMapLiteral$1(this); |
| }, |
| $asExpressionObserver: function() { |
| return [U.MapLiteral]; |
| }, |
| $isMapLiteral: true, |
| $isExpression: true |
| }, |
| MapLiteralObserver__updateSelf_closure: { |
| "^": "Closure:75;", |
| call$2: function(m, e) { |
| J.$indexSet$ax(m, J.get$key$x(e).get$_eval$_value(), e.get$entryValue().get$_eval$_value()); |
| return m; |
| }, |
| $isFunction: true |
| }, |
| MapLiteralEntryObserver: { |
| "^": "ExpressionObserver;key>,entryValue<,_eval$_expr,_parent,_eval$_subscription,_eval$_value,_eval$_controller", |
| accept$1: function(_, v) { |
| return v.visitMapLiteralEntry$1(this); |
| }, |
| $asExpressionObserver: function() { |
| return [U.MapLiteralEntry]; |
| }, |
| $isMapLiteralEntry: true, |
| $isExpression: true |
| }, |
| IdentifierObserver: { |
| "^": "ExpressionObserver;_eval$_expr,_parent,_eval$_subscription,_eval$_value,_eval$_controller", |
| get$value: function(_) { |
| var t1 = this._eval$_expr; |
| return t1.get$value(t1); |
| }, |
| _updateSelf$1: function(scope) { |
| var t1, t2, model, symbol; |
| t1 = this._eval$_expr; |
| t2 = J.getInterceptor$asx(scope); |
| this._eval$_value = t2.$index(scope, t1.get$value(t1)); |
| if (!scope._isModelProperty$1(t1.get$value(t1))) |
| return; |
| model = t2.get$model(scope); |
| t2 = J.getInterceptor(model); |
| if (!t2.$isObservable) |
| return; |
| t1 = t1.get$value(t1); |
| symbol = $.get$symbolConverter()._symbols.$index(0, t1); |
| this._eval$_subscription = t2.get$changes(model).listen$1(new K.IdentifierObserver__updateSelf_closure(this, scope, symbol)); |
| }, |
| accept$1: function(_, v) { |
| return v.visitIdentifier$1(this); |
| }, |
| $asExpressionObserver: function() { |
| return [U.Identifier]; |
| }, |
| $isIdentifier: true, |
| $isExpression: true |
| }, |
| IdentifierObserver__updateSelf_closure: { |
| "^": "Closure:13;this_0,scope_1,symbol_2", |
| call$1: [function(changes) { |
| if (J.any$1$ax(changes, new K.IdentifierObserver__updateSelf__closure(this.symbol_2)) === true) |
| this.this_0._invalidate$1(this.scope_1); |
| }, "call$1", null, 2, 0, null, 170, "call"], |
| $isFunction: true |
| }, |
| IdentifierObserver__updateSelf__closure: { |
| "^": "Closure:13;symbol_3", |
| call$1: [function(c) { |
| return !!J.getInterceptor(c).$isPropertyChangeRecord && J.$eq(c.name, this.symbol_3); |
| }, "call$1", null, 2, 0, null, 80, "call"], |
| $isFunction: true |
| }, |
| UnaryObserver: { |
| "^": "ExpressionObserver;child<,_eval$_expr,_parent,_eval$_subscription,_eval$_value,_eval$_controller", |
| get$operator: function(_) { |
| var t1 = this._eval$_expr; |
| return t1.get$operator(t1); |
| }, |
| _updateSelf$1: function(scope) { |
| var t1, f; |
| t1 = this._eval$_expr; |
| f = $.get$_UNARY_OPERATORS().$index(0, t1.get$operator(t1)); |
| if (J.$eq(t1.get$operator(t1), "!")) { |
| t1 = this.child.get$_eval$_value(); |
| this._eval$_value = f.call$1(t1 == null ? false : t1); |
| } else { |
| t1 = this.child; |
| this._eval$_value = t1.get$_eval$_value() == null ? null : f.call$1(t1.get$_eval$_value()); |
| } |
| }, |
| accept$1: function(_, v) { |
| return v.visitUnaryOperator$1(this); |
| }, |
| $asExpressionObserver: function() { |
| return [U.UnaryOperator]; |
| }, |
| $isUnaryOperator: true, |
| $isExpression: true |
| }, |
| BinaryObserver: { |
| "^": "ExpressionObserver;left>,right>,_eval$_expr,_parent,_eval$_subscription,_eval$_value,_eval$_controller", |
| get$operator: function(_) { |
| var t1 = this._eval$_expr; |
| return t1.get$operator(t1); |
| }, |
| _updateSelf$1: function(scope) { |
| var t1, f, t2; |
| t1 = this._eval$_expr; |
| f = $.get$_BINARY_OPERATORS().$index(0, t1.get$operator(t1)); |
| if (J.$eq(t1.get$operator(t1), "&&") || J.$eq(t1.get$operator(t1), "||")) { |
| t1 = this.left.get$_eval$_value(); |
| if (t1 == null) |
| t1 = false; |
| t2 = this.right.get$_eval$_value(); |
| this._eval$_value = f.call$2(t1, t2 == null ? false : t2); |
| } else if (J.$eq(t1.get$operator(t1), "==") || J.$eq(t1.get$operator(t1), "!=")) |
| this._eval$_value = f.call$2(this.left.get$_eval$_value(), this.right.get$_eval$_value()); |
| else { |
| t2 = this.left; |
| if (t2.get$_eval$_value() == null || this.right.get$_eval$_value() == null) |
| this._eval$_value = null; |
| else { |
| if (J.$eq(t1.get$operator(t1), "|") && !!J.getInterceptor(t2.get$_eval$_value()).$isObservableList) |
| this._eval$_subscription = H.interceptedTypeCast(t2.get$_eval$_value(), "$isObservableList").get$listChanges().listen$1(new K.BinaryObserver__updateSelf_closure(this, scope)); |
| this._eval$_value = f.call$2(t2.get$_eval$_value(), this.right.get$_eval$_value()); |
| } |
| } |
| }, |
| accept$1: function(_, v) { |
| return v.visitBinaryOperator$1(this); |
| }, |
| $asExpressionObserver: function() { |
| return [U.BinaryOperator]; |
| }, |
| $isBinaryOperator: true, |
| $isExpression: true |
| }, |
| BinaryObserver__updateSelf_closure: { |
| "^": "Closure:13;this_0,scope_1", |
| call$1: [function(_) { |
| return this.this_0._invalidate$1(this.scope_1); |
| }, "call$1", null, 2, 0, null, 14, "call"], |
| $isFunction: true |
| }, |
| TernaryObserver: { |
| "^": "ExpressionObserver;condition<,trueExpr<,falseExpr<,_eval$_expr,_parent,_eval$_subscription,_eval$_value,_eval$_controller", |
| _updateSelf$1: function(scope) { |
| var t1 = this.condition.get$_eval$_value(); |
| this._eval$_value = (t1 == null ? false : t1) === true ? this.trueExpr.get$_eval$_value() : this.falseExpr.get$_eval$_value(); |
| }, |
| accept$1: function(_, v) { |
| return v.visitTernaryOperator$1(this); |
| }, |
| $asExpressionObserver: function() { |
| return [U.TernaryOperator]; |
| }, |
| $isTernaryOperator: true, |
| $isExpression: true |
| }, |
| GetterObserver: { |
| "^": "ExpressionObserver;receiver<,_eval$_expr,_parent,_eval$_subscription,_eval$_value,_eval$_controller", |
| get$name: function(_) { |
| var t1 = this._eval$_expr; |
| return t1.get$name(t1); |
| }, |
| _updateSelf$1: function(scope) { |
| var receiverValue, t1, symbol; |
| receiverValue = this.receiver.get$_eval$_value(); |
| if (receiverValue == null) { |
| this._eval$_value = null; |
| return; |
| } |
| t1 = this._eval$_expr; |
| t1 = t1.get$name(t1); |
| symbol = $.get$symbolConverter()._symbols.$index(0, t1); |
| this._eval$_value = $.get$objectAccessor().read$2(receiverValue, symbol); |
| t1 = J.getInterceptor(receiverValue); |
| if (!!t1.$isObservable) |
| this._eval$_subscription = t1.get$changes(receiverValue).listen$1(new K.GetterObserver__updateSelf_closure(this, scope, symbol)); |
| }, |
| accept$1: function(_, v) { |
| return v.visitGetter$1(this); |
| }, |
| $asExpressionObserver: function() { |
| return [U.Getter]; |
| }, |
| $isGetter: true, |
| $isExpression: true |
| }, |
| GetterObserver__updateSelf_closure: { |
| "^": "Closure:13;this_0,scope_1,symbol_2", |
| call$1: [function(changes) { |
| if (J.any$1$ax(changes, new K.GetterObserver__updateSelf__closure(this.symbol_2)) === true) |
| this.this_0._invalidate$1(this.scope_1); |
| }, "call$1", null, 2, 0, null, 170, "call"], |
| $isFunction: true |
| }, |
| GetterObserver__updateSelf__closure: { |
| "^": "Closure:13;symbol_3", |
| call$1: [function(c) { |
| return !!J.getInterceptor(c).$isPropertyChangeRecord && J.$eq(c.name, this.symbol_3); |
| }, "call$1", null, 2, 0, null, 80, "call"], |
| $isFunction: true |
| }, |
| IndexObserver: { |
| "^": "ExpressionObserver;receiver<,argument<,_eval$_expr,_parent,_eval$_subscription,_eval$_value,_eval$_controller", |
| _updateSelf$1: function(scope) { |
| var receiverValue, key, t1; |
| receiverValue = this.receiver.get$_eval$_value(); |
| if (receiverValue == null) { |
| this._eval$_value = null; |
| return; |
| } |
| key = this.argument.get$_eval$_value(); |
| t1 = J.getInterceptor$asx(receiverValue); |
| this._eval$_value = t1.$index(receiverValue, key); |
| if (!!t1.$isObservableList) |
| this._eval$_subscription = receiverValue.get$listChanges().listen$1(new K.IndexObserver__updateSelf_closure(this, scope, key)); |
| else if (!!t1.$isObservable) |
| this._eval$_subscription = t1.get$changes(receiverValue).listen$1(new K.IndexObserver__updateSelf_closure0(this, scope, key)); |
| }, |
| accept$1: function(_, v) { |
| return v.visitIndex$1(this); |
| }, |
| $asExpressionObserver: function() { |
| return [U.Index]; |
| }, |
| $isIndex: true, |
| $isExpression: true |
| }, |
| IndexObserver__updateSelf_closure: { |
| "^": "Closure:13;this_0,scope_1,key_2", |
| call$1: [function(changes) { |
| if (J.any$1$ax(changes, new K.IndexObserver__updateSelf__closure0(this.key_2)) === true) |
| this.this_0._invalidate$1(this.scope_1); |
| }, "call$1", null, 2, 0, null, 170, "call"], |
| $isFunction: true |
| }, |
| IndexObserver__updateSelf__closure0: { |
| "^": "Closure:13;key_3", |
| call$1: [function(c) { |
| return c.indexChanged$1(this.key_3); |
| }, "call$1", null, 2, 0, null, 80, "call"], |
| $isFunction: true |
| }, |
| IndexObserver__updateSelf_closure0: { |
| "^": "Closure:13;this_4,scope_5,key_6", |
| call$1: [function(changes) { |
| if (J.any$1$ax(changes, new K.IndexObserver__updateSelf__closure(this.key_6)) === true) |
| this.this_4._invalidate$1(this.scope_5); |
| }, "call$1", null, 2, 0, null, 170, "call"], |
| $isFunction: true |
| }, |
| IndexObserver__updateSelf__closure: { |
| "^": "Closure:13;key_7", |
| call$1: [function(c) { |
| return !!J.getInterceptor(c).$isMapChangeRecord && J.$eq(c.key, this.key_7); |
| }, "call$1", null, 2, 0, null, 80, "call"], |
| $isFunction: true |
| }, |
| InvokeObserver: { |
| "^": "ExpressionObserver;receiver<,arguments<,_eval$_expr,_parent,_eval$_subscription,_eval$_value,_eval$_controller", |
| get$method: function(_) { |
| var t1 = this._eval$_expr; |
| return t1.get$method(t1); |
| }, |
| _updateSelf$1: function(scope) { |
| var t1, args, receiverValue, symbol; |
| t1 = this.arguments; |
| t1.toString; |
| args = H.setRuntimeTypeInfo(new H.MappedListIterable(t1, new K.InvokeObserver__updateSelf_closure()), [null, null]).toList$0(0); |
| receiverValue = this.receiver.get$_eval$_value(); |
| if (receiverValue == null) { |
| this._eval$_value = null; |
| return; |
| } |
| t1 = this._eval$_expr; |
| if (t1.get$method(t1) == null) { |
| t1 = H.Primitives_applyFunction(receiverValue, args, P.Function__toMangledNames(null)); |
| this._eval$_value = !!J.getInterceptor(t1).$isStream ? B.StreamBinding$(t1, null) : t1; |
| } else { |
| t1 = t1.get$method(t1); |
| symbol = $.get$symbolConverter()._symbols.$index(0, t1); |
| this._eval$_value = $.get$objectAccessor().invoke$5$adjust$namedArgs(receiverValue, symbol, args, false, null); |
| t1 = J.getInterceptor(receiverValue); |
| if (!!t1.$isObservable) |
| this._eval$_subscription = t1.get$changes(receiverValue).listen$1(new K.InvokeObserver__updateSelf_closure0(this, scope, symbol)); |
| } |
| }, |
| accept$1: function(_, v) { |
| return v.visitInvoke$1(this); |
| }, |
| $asExpressionObserver: function() { |
| return [U.Invoke]; |
| }, |
| $isInvoke: true, |
| $isExpression: true |
| }, |
| InvokeObserver__updateSelf_closure: { |
| "^": "Closure:13;", |
| call$1: [function(a) { |
| return a.get$_eval$_value(); |
| }, "call$1", null, 2, 0, null, 46, "call"], |
| $isFunction: true |
| }, |
| InvokeObserver__updateSelf_closure0: { |
| "^": "Closure:179;this_0,scope_1,symbol_2", |
| call$1: [function(changes) { |
| if (J.any$1$ax(changes, new K.InvokeObserver__updateSelf__closure(this.symbol_2)) === true) |
| this.this_0._invalidate$1(this.scope_1); |
| }, "call$1", null, 2, 0, null, 170, "call"], |
| $isFunction: true |
| }, |
| InvokeObserver__updateSelf__closure: { |
| "^": "Closure:13;symbol_3", |
| call$1: [function(c) { |
| return !!J.getInterceptor(c).$isPropertyChangeRecord && J.$eq(c.name, this.symbol_3); |
| }, "call$1", null, 2, 0, null, 80, "call"], |
| $isFunction: true |
| }, |
| EvalException: { |
| "^": "Object;message>", |
| toString$0: function(_) { |
| return "EvalException: " + this.message; |
| }, |
| static: {EvalException$: function(message) { |
| return new K.EvalException(message); |
| }} |
| } |
| }], |
| ["polymer_expressions.expression", "package:polymer_expressions/expression.dart", , U, { |
| "^": "", |
| _listEquals: function(a, b) { |
| var i, t1; |
| if (a == null ? b == null : a === b) |
| return true; |
| if (a == null || b == null) |
| return false; |
| if (a.length !== b.length) |
| return false; |
| for (i = 0; i < a.length; ++i) { |
| t1 = a[i]; |
| if (i >= b.length) |
| return H.ioore(b, i); |
| if (!J.$eq(t1, b[i])) |
| return false; |
| } |
| return true; |
| }, |
| _hashList: function(l) { |
| l.toString; |
| return U._JenkinsSmiHash_finish0(H.IterableMixinWorkaround_fold(l, 0, new U._hashList_closure())); |
| }, |
| _JenkinsSmiHash_combine1: function(hash, value) { |
| var t1 = J.$add$ns(hash, value); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| hash = 536870911 & t1; |
| hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0); |
| return hash ^ hash >>> 6; |
| }, |
| _JenkinsSmiHash_finish0: function(hash) { |
| if (typeof hash !== "number") |
| return H.iae(hash); |
| hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0); |
| hash = (hash ^ hash >>> 11) >>> 0; |
| return 536870911 & hash + ((16383 & hash) << 15 >>> 0); |
| }, |
| AstFactory: { |
| "^": "Object;", |
| index$2: [function(_, e, a) { |
| return new U.Index(e, a); |
| }, "call$2", "get$index", 4, 0, 180, 1, 46] |
| }, |
| Expression: { |
| "^": "Object;", |
| $isExpression: true |
| }, |
| EmptyExpression: { |
| "^": "Expression;", |
| accept$1: function(_, v) { |
| return v.visitEmptyExpression$1(this); |
| }, |
| $isEmptyExpression: true |
| }, |
| Literal: { |
| "^": "Expression;value>", |
| accept$1: function(_, v) { |
| return v.visitLiteral$1(this); |
| }, |
| toString$0: function(_) { |
| var t1 = this.value; |
| return typeof t1 === "string" ? "\"" + H.S(t1) + "\"" : H.S(t1); |
| }, |
| $eq: function(_, o) { |
| var t1; |
| if (o == null) |
| return false; |
| t1 = H.checkSubtype(o, "$isLiteral", [H.getTypeArgumentByIndex(this, 0)], "$asLiteral"); |
| return t1 && J.$eq(J.get$value$x(o), this.value); |
| }, |
| get$hashCode: function(_) { |
| return J.get$hashCode$(this.value); |
| }, |
| $isLiteral: true |
| }, |
| ListLiteral: { |
| "^": "Expression;items<", |
| accept$1: function(_, v) { |
| return v.visitListLiteral$1(this); |
| }, |
| toString$0: function(_) { |
| return H.S(this.items); |
| }, |
| $eq: function(_, o) { |
| if (o == null) |
| return false; |
| return !!J.getInterceptor(o).$isListLiteral && U._listEquals(o.get$items(), this.items); |
| }, |
| get$hashCode: function(_) { |
| return U._hashList(this.items); |
| }, |
| $isListLiteral: true |
| }, |
| MapLiteral: { |
| "^": "Expression;entries>", |
| accept$1: function(_, v) { |
| return v.visitMapLiteral$1(this); |
| }, |
| toString$0: function(_) { |
| return "{" + H.S(this.entries) + "}"; |
| }, |
| $eq: function(_, o) { |
| var t1; |
| if (o == null) |
| return false; |
| t1 = J.getInterceptor(o); |
| return !!t1.$isMapLiteral && U._listEquals(t1.get$entries(o), this.entries); |
| }, |
| get$hashCode: function(_) { |
| return U._hashList(this.entries); |
| }, |
| $isMapLiteral: true |
| }, |
| MapLiteralEntry: { |
| "^": "Expression;key>,entryValue<", |
| accept$1: function(_, v) { |
| return v.visitMapLiteralEntry$1(this); |
| }, |
| toString$0: function(_) { |
| return this.key.toString$0(0) + ": " + H.S(this.entryValue); |
| }, |
| $eq: function(_, o) { |
| var t1; |
| if (o == null) |
| return false; |
| t1 = J.getInterceptor(o); |
| return !!t1.$isMapLiteralEntry && J.$eq(t1.get$key(o), this.key) && J.$eq(o.get$entryValue(), this.entryValue); |
| }, |
| get$hashCode: function(_) { |
| var t1, t2; |
| t1 = J.get$hashCode$(this.key.value); |
| t2 = J.get$hashCode$(this.entryValue); |
| return U._JenkinsSmiHash_finish0(U._JenkinsSmiHash_combine1(U._JenkinsSmiHash_combine1(0, t1), t2)); |
| }, |
| $isMapLiteralEntry: true |
| }, |
| ParenthesizedExpression: { |
| "^": "Expression;child", |
| accept$1: function(_, v) { |
| return v.visitParenthesizedExpression$1(this); |
| }, |
| toString$0: function(_) { |
| return "(" + H.S(this.child) + ")"; |
| }, |
| $eq: function(_, o) { |
| if (o == null) |
| return false; |
| return !!J.getInterceptor(o).$isParenthesizedExpression && J.$eq(o.child, this.child); |
| }, |
| get$hashCode: function(_) { |
| return J.get$hashCode$(this.child); |
| }, |
| $isParenthesizedExpression: true |
| }, |
| Identifier: { |
| "^": "Expression;value>", |
| accept$1: function(_, v) { |
| return v.visitIdentifier$1(this); |
| }, |
| toString$0: function(_) { |
| return this.value; |
| }, |
| $eq: function(_, o) { |
| var t1; |
| if (o == null) |
| return false; |
| t1 = J.getInterceptor(o); |
| return !!t1.$isIdentifier && J.$eq(t1.get$value(o), this.value); |
| }, |
| get$hashCode: function(_) { |
| return J.get$hashCode$(this.value); |
| }, |
| $isIdentifier: true |
| }, |
| UnaryOperator: { |
| "^": "Expression;operator>,child<", |
| accept$1: function(_, v) { |
| return v.visitUnaryOperator$1(this); |
| }, |
| toString$0: function(_) { |
| return H.S(this.operator) + " " + H.S(this.child); |
| }, |
| $eq: function(_, o) { |
| var t1; |
| if (o == null) |
| return false; |
| t1 = J.getInterceptor(o); |
| return !!t1.$isUnaryOperator && J.$eq(t1.get$operator(o), this.operator) && J.$eq(o.get$child(), this.child); |
| }, |
| get$hashCode: function(_) { |
| var t1, t2; |
| t1 = J.get$hashCode$(this.operator); |
| t2 = J.get$hashCode$(this.child); |
| return U._JenkinsSmiHash_finish0(U._JenkinsSmiHash_combine1(U._JenkinsSmiHash_combine1(0, t1), t2)); |
| }, |
| $isUnaryOperator: true |
| }, |
| BinaryOperator: { |
| "^": "Expression;operator>,left>,right>", |
| accept$1: function(_, v) { |
| return v.visitBinaryOperator$1(this); |
| }, |
| toString$0: function(_) { |
| return "(" + H.S(this.left) + " " + H.S(this.operator) + " " + H.S(this.right) + ")"; |
| }, |
| $eq: function(_, o) { |
| var t1; |
| if (o == null) |
| return false; |
| t1 = J.getInterceptor(o); |
| return !!t1.$isBinaryOperator && J.$eq(t1.get$operator(o), this.operator) && J.$eq(t1.get$left(o), this.left) && J.$eq(t1.get$right(o), this.right); |
| }, |
| get$hashCode: function(_) { |
| var t1, t2, t3; |
| t1 = J.get$hashCode$(this.operator); |
| t2 = J.get$hashCode$(this.left); |
| t3 = J.get$hashCode$(this.right); |
| return U._JenkinsSmiHash_finish0(U._JenkinsSmiHash_combine1(U._JenkinsSmiHash_combine1(U._JenkinsSmiHash_combine1(0, t1), t2), t3)); |
| }, |
| $isBinaryOperator: true |
| }, |
| TernaryOperator: { |
| "^": "Expression;condition<,trueExpr<,falseExpr<", |
| accept$1: function(_, v) { |
| return v.visitTernaryOperator$1(this); |
| }, |
| toString$0: function(_) { |
| return "(" + H.S(this.condition) + " ? " + H.S(this.trueExpr) + " : " + H.S(this.falseExpr) + ")"; |
| }, |
| $eq: function(_, o) { |
| if (o == null) |
| return false; |
| return !!J.getInterceptor(o).$isTernaryOperator && J.$eq(o.get$condition(), this.condition) && J.$eq(o.get$trueExpr(), this.trueExpr) && J.$eq(o.get$falseExpr(), this.falseExpr); |
| }, |
| get$hashCode: function(_) { |
| var t1, t2, t3; |
| t1 = J.get$hashCode$(this.condition); |
| t2 = J.get$hashCode$(this.trueExpr); |
| t3 = J.get$hashCode$(this.falseExpr); |
| return U._JenkinsSmiHash_finish0(U._JenkinsSmiHash_combine1(U._JenkinsSmiHash_combine1(U._JenkinsSmiHash_combine1(0, t1), t2), t3)); |
| }, |
| $isTernaryOperator: true |
| }, |
| InExpression: { |
| "^": "Expression;left>,right>", |
| accept$1: function(_, v) { |
| return v.visitInExpression$1(this); |
| }, |
| get$identifier: function() { |
| var t1 = this.left; |
| return t1.get$value(t1); |
| }, |
| get$expr: function(_) { |
| return this.right; |
| }, |
| toString$0: function(_) { |
| return "(" + H.S(this.left) + " in " + H.S(this.right) + ")"; |
| }, |
| $eq: function(_, o) { |
| if (o == null) |
| return false; |
| return !!J.getInterceptor(o).$isInExpression && o.left.$eq(0, this.left) && J.$eq(o.right, this.right); |
| }, |
| get$hashCode: function(_) { |
| var t1, t2; |
| t1 = this.left; |
| t1 = t1.get$hashCode(t1); |
| t2 = J.get$hashCode$(this.right); |
| return U._JenkinsSmiHash_finish0(U._JenkinsSmiHash_combine1(U._JenkinsSmiHash_combine1(0, t1), t2)); |
| }, |
| $isInExpression: true, |
| $isHasIdentifier: true |
| }, |
| AsExpression: { |
| "^": "Expression;left>,right>", |
| accept$1: function(_, v) { |
| return v.visitAsExpression$1(this); |
| }, |
| get$identifier: function() { |
| var t1 = this.right; |
| return t1.get$value(t1); |
| }, |
| get$expr: function(_) { |
| return this.left; |
| }, |
| toString$0: function(_) { |
| return "(" + H.S(this.left) + " as " + H.S(this.right) + ")"; |
| }, |
| $eq: function(_, o) { |
| if (o == null) |
| return false; |
| return !!J.getInterceptor(o).$isAsExpression && J.$eq(o.left, this.left) && o.right.$eq(0, this.right); |
| }, |
| get$hashCode: function(_) { |
| var t1, t2; |
| t1 = J.get$hashCode$(this.left); |
| t2 = this.right; |
| t2 = t2.get$hashCode(t2); |
| return U._JenkinsSmiHash_finish0(U._JenkinsSmiHash_combine1(U._JenkinsSmiHash_combine1(0, t1), t2)); |
| }, |
| $isAsExpression: true, |
| $isHasIdentifier: true |
| }, |
| Index: { |
| "^": "Expression;receiver<,argument<", |
| accept$1: function(_, v) { |
| return v.visitIndex$1(this); |
| }, |
| toString$0: function(_) { |
| return H.S(this.receiver) + "[" + H.S(this.argument) + "]"; |
| }, |
| $eq: function(_, o) { |
| if (o == null) |
| return false; |
| return !!J.getInterceptor(o).$isIndex && J.$eq(o.get$receiver(), this.receiver) && J.$eq(o.get$argument(), this.argument); |
| }, |
| get$hashCode: function(_) { |
| var t1, t2; |
| t1 = J.get$hashCode$(this.receiver); |
| t2 = J.get$hashCode$(this.argument); |
| return U._JenkinsSmiHash_finish0(U._JenkinsSmiHash_combine1(U._JenkinsSmiHash_combine1(0, t1), t2)); |
| }, |
| $isIndex: true |
| }, |
| Getter: { |
| "^": "Expression;receiver<,name>", |
| accept$1: function(_, v) { |
| return v.visitGetter$1(this); |
| }, |
| toString$0: function(_) { |
| return H.S(this.receiver) + "." + H.S(this.name); |
| }, |
| $eq: function(_, o) { |
| var t1; |
| if (o == null) |
| return false; |
| t1 = J.getInterceptor(o); |
| return !!t1.$isGetter && J.$eq(o.get$receiver(), this.receiver) && J.$eq(t1.get$name(o), this.name); |
| }, |
| get$hashCode: function(_) { |
| var t1, t2; |
| t1 = J.get$hashCode$(this.receiver); |
| t2 = J.get$hashCode$(this.name); |
| return U._JenkinsSmiHash_finish0(U._JenkinsSmiHash_combine1(U._JenkinsSmiHash_combine1(0, t1), t2)); |
| }, |
| $isGetter: true |
| }, |
| Invoke: { |
| "^": "Expression;receiver<,method>,arguments<", |
| accept$1: function(_, v) { |
| return v.visitInvoke$1(this); |
| }, |
| toString$0: function(_) { |
| return H.S(this.receiver) + "." + H.S(this.method) + "(" + H.S(this.arguments) + ")"; |
| }, |
| $eq: function(_, o) { |
| var t1; |
| if (o == null) |
| return false; |
| t1 = J.getInterceptor(o); |
| return !!t1.$isInvoke && J.$eq(o.get$receiver(), this.receiver) && J.$eq(t1.get$method(o), this.method) && U._listEquals(o.get$arguments(), this.arguments); |
| }, |
| get$hashCode: function(_) { |
| var t1, t2, t3; |
| t1 = J.get$hashCode$(this.receiver); |
| t2 = J.get$hashCode$(this.method); |
| t3 = U._hashList(this.arguments); |
| return U._JenkinsSmiHash_finish0(U._JenkinsSmiHash_combine1(U._JenkinsSmiHash_combine1(U._JenkinsSmiHash_combine1(0, t1), t2), t3)); |
| }, |
| $isInvoke: true |
| }, |
| _hashList_closure: { |
| "^": "Closure:75;", |
| call$2: function(h, item) { |
| return U._JenkinsSmiHash_combine1(h, J.get$hashCode$(item)); |
| }, |
| $isFunction: true |
| } |
| }], |
| ["polymer_expressions.parser", "package:polymer_expressions/parser.dart", , T, { |
| "^": "", |
| Parser: { |
| "^": "Object;_astFactory,_tokenizer,_tokens,_parser$_iterator", |
| get$_token: function() { |
| return this._parser$_iterator._current; |
| }, |
| _advance$2: function(kind, value) { |
| var t1; |
| if (kind != null) { |
| t1 = this._parser$_iterator._current; |
| t1 = t1 == null || !J.$eq(J.get$kind$x(t1), kind); |
| } else |
| t1 = false; |
| if (!t1) |
| if (value != null) { |
| t1 = this._parser$_iterator._current; |
| t1 = t1 == null || !J.$eq(J.get$value$x(t1), value); |
| } else |
| t1 = false; |
| else |
| t1 = true; |
| if (t1) |
| throw H.wrapException(Y.ParseException$("Expected kind " + H.S(kind) + " (" + H.S(value) + "): " + H.S(this.get$_token()))); |
| this._parser$_iterator.moveNext$0(); |
| }, |
| _advance$0: function() { |
| return this._advance$2(null, null); |
| }, |
| _advance$1: function(kind) { |
| return this._advance$2(kind, null); |
| }, |
| _parseExpression$0: function() { |
| if (this._parser$_iterator._current == null) { |
| this._astFactory.toString; |
| return C.C_EmptyExpression; |
| } |
| var expr = this._parseUnary$0(); |
| return expr == null ? null : this._parsePrecedence$2(expr, 0); |
| }, |
| _parsePrecedence$2: function(left, precedence) { |
| var t1, args, indexExpr, right, trueExpr, falseExpr; |
| for (; t1 = this._parser$_iterator._current, t1 != null;) |
| if (J.$eq(J.get$kind$x(t1), 9)) |
| if (J.$eq(J.get$value$x(this._parser$_iterator._current), "(")) { |
| args = this._parseArguments$0(); |
| this._astFactory.toString; |
| left = new U.Invoke(left, null, args); |
| } else if (J.$eq(J.get$value$x(this._parser$_iterator._current), "[")) { |
| indexExpr = this._parseIndex$0(); |
| this._astFactory.toString; |
| left = new U.Index(left, indexExpr); |
| } else |
| break; |
| else if (J.$eq(J.get$kind$x(this._parser$_iterator._current), 3)) { |
| this._advance$0(); |
| left = this._makeInvokeOrGetter$2(left, this._parseUnary$0()); |
| } else if (J.$eq(J.get$kind$x(this._parser$_iterator._current), 10)) |
| if (J.$eq(J.get$value$x(this._parser$_iterator._current), "in")) { |
| if (!J.getInterceptor(left).$isIdentifier) |
| H.throwExpression(Y.ParseException$("in... statements must start with an identifier")); |
| this._advance$0(); |
| right = this._parseExpression$0(); |
| this._astFactory.toString; |
| left = new U.InExpression(left, right); |
| } else if (J.$eq(J.get$value$x(this._parser$_iterator._current), "as")) { |
| this._advance$0(); |
| right = this._parseExpression$0(); |
| if (!J.getInterceptor(right).$isIdentifier) |
| H.throwExpression(Y.ParseException$("'as' statements must end with an identifier")); |
| this._astFactory.toString; |
| left = new U.AsExpression(left, right); |
| } else |
| break; |
| else { |
| if (J.$eq(J.get$kind$x(this._parser$_iterator._current), 8)) { |
| t1 = this._parser$_iterator._current.get$precedence(); |
| if (typeof t1 !== "number") |
| return t1.$ge(); |
| if (typeof precedence !== "number") |
| return H.iae(precedence); |
| t1 = t1 >= precedence; |
| } else |
| t1 = false; |
| if (t1) |
| if (J.$eq(J.get$value$x(this._parser$_iterator._current), "?")) { |
| this._advance$2(8, "?"); |
| trueExpr = this._parseExpression$0(); |
| this._advance$1(5); |
| falseExpr = this._parseExpression$0(); |
| this._astFactory.toString; |
| left = new U.TernaryOperator(left, trueExpr, falseExpr); |
| } else |
| left = this._parseBinary$1(left); |
| else |
| break; |
| } |
| return left; |
| }, |
| _makeInvokeOrGetter$2: function(left, right) { |
| var t1, t2; |
| t1 = J.getInterceptor(right); |
| if (!!t1.$isIdentifier) { |
| t1 = t1.get$value(right); |
| this._astFactory.toString; |
| return new U.Getter(left, t1); |
| } else if (!!t1.$isInvoke && !!J.getInterceptor(right.get$receiver()).$isIdentifier) { |
| t1 = J.get$value$x(right.get$receiver()); |
| t2 = right.get$arguments(); |
| this._astFactory.toString; |
| return new U.Invoke(left, t1, t2); |
| } else |
| throw H.wrapException(Y.ParseException$("expected identifier: " + H.S(right))); |
| }, |
| _parseBinary$1: function(left) { |
| var op, t1, right, t2, t3; |
| op = this._parser$_iterator._current; |
| t1 = J.getInterceptor$x(op); |
| if (!C.JSArray_methods.contains$1(C.List_EuK, t1.get$value(op))) |
| throw H.wrapException(Y.ParseException$("unknown operator: " + H.S(t1.get$value(op)))); |
| this._advance$0(); |
| right = this._parseUnary$0(); |
| while (true) { |
| t2 = this._parser$_iterator._current; |
| if (t2 != null) |
| if (J.$eq(J.get$kind$x(t2), 8) || J.$eq(J.get$kind$x(this._parser$_iterator._current), 3) || J.$eq(J.get$kind$x(this._parser$_iterator._current), 9)) { |
| t2 = this._parser$_iterator._current.get$precedence(); |
| t3 = op.get$precedence(); |
| if (typeof t2 !== "number") |
| return t2.$gt(); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| t3 = t2 > t3; |
| t2 = t3; |
| } else |
| t2 = false; |
| else |
| t2 = false; |
| if (!t2) |
| break; |
| right = this._parsePrecedence$2(right, this._parser$_iterator._current.get$precedence()); |
| } |
| t1 = t1.get$value(op); |
| this._astFactory.toString; |
| return new U.BinaryOperator(t1, left, right); |
| }, |
| _parseUnary$0: function() { |
| var value, t1, t2, expr; |
| if (J.$eq(J.get$kind$x(this._parser$_iterator._current), 8)) { |
| value = J.get$value$x(this._parser$_iterator._current); |
| t1 = J.getInterceptor(value); |
| if (t1.$eq(value, "+") || t1.$eq(value, "-")) { |
| this._advance$0(); |
| if (J.$eq(J.get$kind$x(this._parser$_iterator._current), 6)) { |
| t1 = H.Primitives_parseInt(H.S(value) + H.S(J.get$value$x(this._parser$_iterator._current)), null, null); |
| this._astFactory.toString; |
| value = new U.Literal(t1); |
| value.$builtinTypeInfo = [null]; |
| this._advance$0(); |
| return value; |
| } else { |
| t1 = this._astFactory; |
| if (J.$eq(J.get$kind$x(this._parser$_iterator._current), 7)) { |
| t2 = H.Primitives_parseDouble(H.S(value) + H.S(J.get$value$x(this._parser$_iterator._current)), null); |
| t1.toString; |
| value = new U.Literal(t2); |
| value.$builtinTypeInfo = [null]; |
| this._advance$0(); |
| return value; |
| } else { |
| expr = this._parsePrecedence$2(this._parsePrimary$0(), 11); |
| t1.toString; |
| return new U.UnaryOperator(value, expr); |
| } |
| } |
| } else if (t1.$eq(value, "!")) { |
| this._advance$0(); |
| expr = this._parsePrecedence$2(this._parsePrimary$0(), 11); |
| this._astFactory.toString; |
| return new U.UnaryOperator(value, expr); |
| } else |
| throw H.wrapException(Y.ParseException$("unexpected token: " + H.S(value))); |
| } |
| return this._parsePrimary$0(); |
| }, |
| _parsePrimary$0: function() { |
| var keyword, expr; |
| switch (J.get$kind$x(this._parser$_iterator._current)) { |
| case 10: |
| keyword = J.get$value$x(this._parser$_iterator._current); |
| if (J.$eq(keyword, "this")) { |
| this._advance$0(); |
| this._astFactory.toString; |
| return new U.Identifier("this"); |
| } else if (C.JSArray_methods.contains$1(C.List_as_in_this, keyword)) |
| throw H.wrapException(Y.ParseException$("unexpected keyword: " + H.S(keyword))); |
| throw H.wrapException(Y.ParseException$("unrecognized keyword: " + H.S(keyword))); |
| case 2: |
| return this._parseInvokeOrIdentifier$0(); |
| case 1: |
| return this._parseString$0(); |
| case 6: |
| return this._parseInteger$0(); |
| case 7: |
| return this._parseDecimal$0(); |
| case 9: |
| if (J.$eq(J.get$value$x(this._parser$_iterator._current), "(")) { |
| this._advance$0(); |
| expr = this._parseExpression$0(); |
| this._advance$2(9, ")"); |
| this._astFactory.toString; |
| return new U.ParenthesizedExpression(expr); |
| } else if (J.$eq(J.get$value$x(this._parser$_iterator._current), "{")) |
| return this._parseMapLiteral$0(); |
| else if (J.$eq(J.get$value$x(this._parser$_iterator._current), "[")) |
| return this._parseListLiteral$0(); |
| return; |
| case 5: |
| throw H.wrapException(Y.ParseException$("unexpected token \":\"")); |
| default: |
| return; |
| } |
| }, |
| _parseListLiteral$0: function() { |
| var items, t1; |
| items = []; |
| do { |
| this._advance$0(); |
| if (J.$eq(J.get$kind$x(this._parser$_iterator._current), 9) && J.$eq(J.get$value$x(this._parser$_iterator._current), "]")) |
| break; |
| items.push(this._parseExpression$0()); |
| t1 = this._parser$_iterator._current; |
| } while (t1 != null && J.$eq(J.get$value$x(t1), ",")); |
| this._advance$2(9, "]"); |
| return new U.ListLiteral(items); |
| }, |
| _parseMapLiteral$0: function() { |
| var entries, t1, value; |
| entries = []; |
| do { |
| this._advance$0(); |
| if (J.$eq(J.get$kind$x(this._parser$_iterator._current), 9) && J.$eq(J.get$value$x(this._parser$_iterator._current), "}")) |
| break; |
| t1 = J.get$value$x(this._parser$_iterator._current); |
| this._astFactory.toString; |
| value = new U.Literal(t1); |
| value.$builtinTypeInfo = [null]; |
| this._advance$0(); |
| this._advance$2(5, ":"); |
| entries.push(new U.MapLiteralEntry(value, this._parseExpression$0())); |
| t1 = this._parser$_iterator._current; |
| } while (t1 != null && J.$eq(J.get$value$x(t1), ",")); |
| this._advance$2(9, "}"); |
| return new U.MapLiteral(entries); |
| }, |
| _parseInvokeOrIdentifier$0: function() { |
| var value, identifier, args; |
| if (J.$eq(J.get$value$x(this._parser$_iterator._current), "true")) { |
| this._advance$0(); |
| this._astFactory.toString; |
| return H.setRuntimeTypeInfo(new U.Literal(true), [null]); |
| } |
| if (J.$eq(J.get$value$x(this._parser$_iterator._current), "false")) { |
| this._advance$0(); |
| this._astFactory.toString; |
| return H.setRuntimeTypeInfo(new U.Literal(false), [null]); |
| } |
| if (J.$eq(J.get$value$x(this._parser$_iterator._current), "null")) { |
| this._advance$0(); |
| this._astFactory.toString; |
| return H.setRuntimeTypeInfo(new U.Literal(null), [null]); |
| } |
| if (!J.$eq(J.get$kind$x(this._parser$_iterator._current), 2)) |
| H.throwExpression(Y.ParseException$("expected identifier: " + H.S(this.get$_token()) + ".value")); |
| value = J.get$value$x(this._parser$_iterator._current); |
| this._advance$0(); |
| this._astFactory.toString; |
| identifier = new U.Identifier(value); |
| args = this._parseArguments$0(); |
| if (args == null) |
| return identifier; |
| else |
| return new U.Invoke(identifier, null, args); |
| }, |
| _parseArguments$0: function() { |
| var t1, args; |
| t1 = this._parser$_iterator._current; |
| if (t1 != null && J.$eq(J.get$kind$x(t1), 9) && J.$eq(J.get$value$x(this._parser$_iterator._current), "(")) { |
| args = []; |
| do { |
| this._advance$0(); |
| if (J.$eq(J.get$kind$x(this._parser$_iterator._current), 9) && J.$eq(J.get$value$x(this._parser$_iterator._current), ")")) |
| break; |
| args.push(this._parseExpression$0()); |
| t1 = this._parser$_iterator._current; |
| } while (t1 != null && J.$eq(J.get$value$x(t1), ",")); |
| this._advance$2(9, ")"); |
| return args; |
| } |
| return; |
| }, |
| _parseIndex$0: function() { |
| var t1, expr; |
| t1 = this._parser$_iterator._current; |
| if (t1 != null && J.$eq(J.get$kind$x(t1), 9) && J.$eq(J.get$value$x(this._parser$_iterator._current), "[")) { |
| this._advance$0(); |
| expr = this._parseExpression$0(); |
| this._advance$2(9, "]"); |
| return expr; |
| } |
| return; |
| }, |
| _parseString$0: function() { |
| var t1, value; |
| t1 = J.get$value$x(this._parser$_iterator._current); |
| this._astFactory.toString; |
| value = H.setRuntimeTypeInfo(new U.Literal(t1), [null]); |
| this._advance$0(); |
| return value; |
| }, |
| _parseInteger$1: function(prefix) { |
| var t1, value; |
| t1 = H.Primitives_parseInt(H.S(prefix) + H.S(J.get$value$x(this._parser$_iterator._current)), null, null); |
| this._astFactory.toString; |
| value = H.setRuntimeTypeInfo(new U.Literal(t1), [null]); |
| this._advance$0(); |
| return value; |
| }, |
| _parseInteger$0: function() { |
| return this._parseInteger$1(""); |
| }, |
| _parseDecimal$1: function(prefix) { |
| var t1, value; |
| t1 = H.Primitives_parseDouble(H.S(prefix) + H.S(J.get$value$x(this._parser$_iterator._current)), null); |
| this._astFactory.toString; |
| value = H.setRuntimeTypeInfo(new U.Literal(t1), [null]); |
| this._advance$0(); |
| return value; |
| }, |
| _parseDecimal$0: function() { |
| return this._parseDecimal$1(""); |
| } |
| } |
| }], |
| ["polymer_expressions.src.globals", "package:polymer_expressions/src/globals.dart", , K, { |
| "^": "", |
| enumerate: [function(iterable) { |
| return H.setRuntimeTypeInfo(new K.EnumerateIterable(iterable), [null]); |
| }, "call$1", "enumerate$closure", 2, 0, 66, 67], |
| IndexedValue: { |
| "^": "Object;index>,value>", |
| $eq: function(_, o) { |
| if (o == null) |
| return false; |
| return !!J.getInterceptor(o).$isIndexedValue && J.$eq(o.index, this.index) && J.$eq(o.value, this.value); |
| }, |
| get$hashCode: function(_) { |
| return J.get$hashCode$(this.value); |
| }, |
| toString$0: function(_) { |
| return "(" + H.S(this.index) + ", " + H.S(this.value) + ")"; |
| }, |
| $isIndexedValue: true |
| }, |
| EnumerateIterable: { |
| "^": "IterableBase;_globals$_iterable", |
| get$iterator: function(_) { |
| var t1 = new K.EnumerateIterator(J.get$iterator$ax(this._globals$_iterable), 0, null); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t1; |
| }, |
| get$length: function(_) { |
| return J.get$length$asx(this._globals$_iterable); |
| }, |
| get$isEmpty: function(_) { |
| return J.get$isEmpty$asx(this._globals$_iterable); |
| }, |
| get$last: function(_) { |
| var t1, t2; |
| t1 = this._globals$_iterable; |
| t2 = J.getInterceptor$asx(t1); |
| t1 = new K.IndexedValue(J.$sub$n(t2.get$length(t1), 1), t2.get$last(t1)); |
| t1.$builtinTypeInfo = this.$builtinTypeInfo; |
| return t1; |
| }, |
| $asIterableBase: function($V) { |
| return [[K.IndexedValue, $V]]; |
| }, |
| $asIterable: function($V) { |
| return [[K.IndexedValue, $V]]; |
| } |
| }, |
| EnumerateIterator: { |
| "^": "Iterator;_globals$_iterator,_globals$_index,_globals$_current", |
| get$current: function() { |
| return this._globals$_current; |
| }, |
| moveNext$0: function() { |
| var t1 = this._globals$_iterator; |
| if (t1.moveNext$0()) { |
| this._globals$_current = H.setRuntimeTypeInfo(new K.IndexedValue(this._globals$_index++, t1.get$current()), [null]); |
| return true; |
| } |
| this._globals$_current = null; |
| return false; |
| }, |
| $asIterator: function($V) { |
| return [[K.IndexedValue, $V]]; |
| } |
| } |
| }], |
| ["polymer_expressions.tokenizer", "package:polymer_expressions/tokenizer.dart", , Y, { |
| "^": "", |
| escape: function(c) { |
| switch (c) { |
| case 102: |
| return 12; |
| case 110: |
| return 10; |
| case 114: |
| return 13; |
| case 116: |
| return 9; |
| case 118: |
| return 11; |
| default: |
| return c; |
| } |
| }, |
| Token: { |
| "^": "Object;kind>,value>,precedence<", |
| toString$0: function(_) { |
| return "(" + this.kind + ", '" + this.value + "')"; |
| }, |
| $isToken: true |
| }, |
| Tokenizer: { |
| "^": "Object;_tokenizer$_tokens,_sb,_tokenizer$_iterator,_tokenizer$_next", |
| tokenize$0: function() { |
| var t1, t2, t3, t4, startChar, op2, op, value; |
| t1 = this._tokenizer$_iterator; |
| this._tokenizer$_next = t1.moveNext$0() ? t1._currentCodePoint : null; |
| for (t2 = this._tokenizer$_tokens; t3 = this._tokenizer$_next, t3 != null;) |
| if (t3 === 32 || t3 === 9 || t3 === 160) |
| this._tokenizer$_next = t1.moveNext$0() ? t1._currentCodePoint : null; |
| else if (t3 === 34 || t3 === 39) |
| this.tokenizeString$0(); |
| else { |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (!(97 <= t3 && t3 <= 122)) |
| t4 = 65 <= t3 && t3 <= 90 || t3 === 95 || t3 === 36 || t3 > 127; |
| else |
| t4 = true; |
| if (t4) |
| this.tokenizeIdentifierOrKeyword$0(); |
| else if (48 <= t3 && t3 <= 57) |
| this.tokenizeNumber$0(); |
| else if (t3 === 46) { |
| t3 = t1.moveNext$0() ? t1._currentCodePoint : null; |
| this._tokenizer$_next = t3; |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (48 <= t3 && t3 <= 57) |
| this.tokenizeFraction$0(); |
| else |
| t2.push(new Y.Token(3, ".", 11)); |
| } else if (t3 === 44) { |
| this._tokenizer$_next = t1.moveNext$0() ? t1._currentCodePoint : null; |
| t2.push(new Y.Token(4, ",", 0)); |
| } else if (t3 === 58) { |
| this._tokenizer$_next = t1.moveNext$0() ? t1._currentCodePoint : null; |
| t2.push(new Y.Token(5, ":", 0)); |
| } else if (C.JSArray_methods.contains$1(C.List_mC8, t3)) { |
| startChar = this._tokenizer$_next; |
| t3 = t1.moveNext$0() ? t1._currentCodePoint : null; |
| this._tokenizer$_next = t3; |
| if (C.JSArray_methods.contains$1(C.List_mC8, t3)) { |
| t3 = this._tokenizer$_next; |
| op2 = H.Primitives_stringFromCharCodes([startChar, t3]); |
| if (C.JSArray_methods.contains$1(C.List_Ynd, op2)) { |
| t3 = t1.moveNext$0() ? t1._currentCodePoint : null; |
| this._tokenizer$_next = t3; |
| if (t3 === 61) |
| t3 = startChar === 33 || startChar === 61; |
| else |
| t3 = false; |
| if (t3) { |
| op = op2 + "="; |
| this._tokenizer$_next = t1.moveNext$0() ? t1._currentCodePoint : null; |
| } else |
| op = op2; |
| } else |
| op = H.Primitives_stringFromCharCode(startChar); |
| } else |
| op = H.Primitives_stringFromCharCode(startChar); |
| t2.push(new Y.Token(8, op, C.Map_L0K61.$index(0, op))); |
| } else if (C.JSArray_methods.contains$1(C.List_ww8, this._tokenizer$_next)) { |
| value = H.Primitives_stringFromCharCode(this._tokenizer$_next); |
| t2.push(new Y.Token(9, value, C.Map_L0K61.$index(0, value))); |
| this._tokenizer$_next = t1.moveNext$0() ? t1._currentCodePoint : null; |
| } else |
| this._tokenizer$_next = t1.moveNext$0() ? t1._currentCodePoint : null; |
| } |
| return t2; |
| }, |
| tokenizeString$0: function() { |
| var quoteChar, t1, t2, t3; |
| quoteChar = this._tokenizer$_next; |
| t1 = this._tokenizer$_iterator; |
| t2 = t1.moveNext$0() ? t1._currentCodePoint : null; |
| this._tokenizer$_next = t2; |
| for (t3 = this._sb; t2 == null ? quoteChar != null : t2 !== quoteChar;) { |
| if (t2 == null) |
| throw H.wrapException(Y.ParseException$("unterminated string")); |
| if (t2 === 92) { |
| t2 = t1.moveNext$0() ? t1._currentCodePoint : null; |
| this._tokenizer$_next = t2; |
| if (t2 == null) |
| throw H.wrapException(Y.ParseException$("unterminated string")); |
| t2 = H.Primitives_stringFromCharCode(Y.escape(t2)); |
| t3._contents += t2; |
| } else { |
| t2 = H.Primitives_stringFromCharCode(t2); |
| t3._contents += t2; |
| } |
| t2 = t1.moveNext$0() ? t1._currentCodePoint : null; |
| this._tokenizer$_next = t2; |
| } |
| this._tokenizer$_tokens.push(new Y.Token(1, t3._contents, 0)); |
| t3._contents = ""; |
| this._tokenizer$_next = t1.moveNext$0() ? t1._currentCodePoint : null; |
| }, |
| tokenizeIdentifierOrKeyword$0: function() { |
| var t1, t2, t3, t4, value; |
| t1 = this._tokenizer$_iterator; |
| t2 = this._sb; |
| while (true) { |
| t3 = this._tokenizer$_next; |
| if (t3 != null) { |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (!(97 <= t3 && t3 <= 122)) |
| if (!(65 <= t3 && t3 <= 90)) |
| t4 = 48 <= t3 && t3 <= 57 || t3 === 95 || t3 === 36 || t3 > 127; |
| else |
| t4 = true; |
| else |
| t4 = true; |
| } else |
| t4 = false; |
| if (!t4) |
| break; |
| t3 = H.Primitives_stringFromCharCode(t3); |
| t2._contents += t3; |
| this._tokenizer$_next = t1.moveNext$0() ? t1._currentCodePoint : null; |
| } |
| value = t2._contents; |
| t1 = this._tokenizer$_tokens; |
| if (C.JSArray_methods.contains$1(C.List_as_in_this, value)) |
| t1.push(new Y.Token(10, value, 0)); |
| else |
| t1.push(new Y.Token(2, value, 0)); |
| t2._contents = ""; |
| }, |
| tokenizeNumber$0: function() { |
| var t1, t2, t3, t4; |
| t1 = this._tokenizer$_iterator; |
| t2 = this._sb; |
| while (true) { |
| t3 = this._tokenizer$_next; |
| if (t3 != null) { |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| t4 = 48 <= t3 && t3 <= 57; |
| } else |
| t4 = false; |
| if (!t4) |
| break; |
| t3 = H.Primitives_stringFromCharCode(t3); |
| t2._contents += t3; |
| this._tokenizer$_next = t1.moveNext$0() ? t1._currentCodePoint : null; |
| } |
| if (t3 === 46) { |
| t1 = t1.moveNext$0() ? t1._currentCodePoint : null; |
| this._tokenizer$_next = t1; |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| if (48 <= t1 && t1 <= 57) |
| this.tokenizeFraction$0(); |
| else |
| this._tokenizer$_tokens.push(new Y.Token(3, ".", 11)); |
| } else { |
| this._tokenizer$_tokens.push(new Y.Token(6, t2._contents, 0)); |
| t2._contents = ""; |
| } |
| }, |
| tokenizeFraction$0: function() { |
| var t1, t2, t3, t4; |
| t1 = this._sb; |
| t1.write$1(H.Primitives_stringFromCharCode(46)); |
| t2 = this._tokenizer$_iterator; |
| while (true) { |
| t3 = this._tokenizer$_next; |
| if (t3 != null) { |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| t4 = 48 <= t3 && t3 <= 57; |
| } else |
| t4 = false; |
| if (!t4) |
| break; |
| t3 = H.Primitives_stringFromCharCode(t3); |
| t1._contents += t3; |
| this._tokenizer$_next = t2.moveNext$0() ? t2._currentCodePoint : null; |
| } |
| this._tokenizer$_tokens.push(new Y.Token(7, t1._contents, 0)); |
| t1._contents = ""; |
| } |
| }, |
| ParseException: { |
| "^": "Object;message>", |
| toString$0: function(_) { |
| return "ParseException: " + this.message; |
| }, |
| static: {ParseException$: function(message) { |
| return new Y.ParseException(message); |
| }} |
| } |
| }], |
| ["polymer_expressions.visitor", "package:polymer_expressions/visitor.dart", , S, { |
| "^": "", |
| Visitor: { |
| "^": "Object;", |
| visit$1: [function(s) { |
| return J.accept$1$x(s, this); |
| }, "call$1", "get$visit", 2, 0, 181, 142] |
| }, |
| RecursiveVisitor: { |
| "^": "Visitor;", |
| visitExpression$1: function(e) { |
| }, |
| visitEmptyExpression$1: function(e) { |
| this.visitExpression$1(e); |
| }, |
| visitParenthesizedExpression$1: function(e) { |
| e.child.accept$1(0, this); |
| this.visitExpression$1(e); |
| }, |
| visitGetter$1: function(i) { |
| J.accept$1$x(i.get$receiver(), this); |
| this.visitExpression$1(i); |
| }, |
| visitIndex$1: function(i) { |
| J.accept$1$x(i.get$receiver(), this); |
| J.accept$1$x(i.get$argument(), this); |
| this.visitExpression$1(i); |
| }, |
| visitInvoke$1: function(i) { |
| var t1; |
| J.accept$1$x(i.get$receiver(), this); |
| if (i.get$arguments() != null) |
| for (t1 = i.get$arguments(), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) |
| J.accept$1$x(t1._current, this); |
| this.visitExpression$1(i); |
| }, |
| visitLiteral$1: function(l) { |
| this.visitExpression$1(l); |
| }, |
| visitListLiteral$1: function(l) { |
| var t1; |
| for (t1 = l.get$items(), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) |
| J.accept$1$x(t1._current, this); |
| this.visitExpression$1(l); |
| }, |
| visitMapLiteral$1: function(l) { |
| var t1; |
| for (t1 = l.get$entries(l), t1 = H.setRuntimeTypeInfo(new H.ListIterator(t1, t1.length, 0, null), [H.getTypeArgumentByIndex(t1, 0)]); t1.moveNext$0();) |
| J.accept$1$x(t1._current, this); |
| this.visitExpression$1(l); |
| }, |
| visitMapLiteralEntry$1: function(e) { |
| J.accept$1$x(e.get$key(e), this); |
| J.accept$1$x(e.get$entryValue(), this); |
| this.visitExpression$1(e); |
| }, |
| visitIdentifier$1: function(i) { |
| this.visitExpression$1(i); |
| }, |
| visitBinaryOperator$1: function(o) { |
| J.accept$1$x(o.get$left(o), this); |
| J.accept$1$x(o.get$right(o), this); |
| this.visitExpression$1(o); |
| }, |
| visitUnaryOperator$1: function(o) { |
| J.accept$1$x(o.get$child(), this); |
| this.visitExpression$1(o); |
| }, |
| visitTernaryOperator$1: function(o) { |
| J.accept$1$x(o.get$condition(), this); |
| J.accept$1$x(o.get$trueExpr(), this); |
| J.accept$1$x(o.get$falseExpr(), this); |
| this.visitExpression$1(o); |
| }, |
| visitInExpression$1: function(c) { |
| c.left.accept$1(0, this); |
| c.right.accept$1(0, this); |
| this.visitExpression$1(c); |
| }, |
| visitAsExpression$1: function(c) { |
| c.left.accept$1(0, this); |
| c.right.accept$1(0, this); |
| this.visitExpression$1(c); |
| } |
| } |
| }], |
| ["script_inset_element", "package:observatory/src/elements/script_inset.dart", , T, { |
| "^": "", |
| ScriptInsetElement: { |
| "^": "ObservatoryElement_ChangeNotifier43;_script_inset_element$__$script,_script_inset_element$__$pos,_script_inset_element$__$endPos,lineNumbers=,_script_inset_element$__$startLine,_script_inset_element$__$endLine,_script_inset_element$__$lines,_updateFuture,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$script: function(receiver) { |
| return receiver._script_inset_element$__$script; |
| }, |
| set$script: function(receiver, value) { |
| receiver._script_inset_element$__$script = this.notifyPropertyChange$3(receiver, C.Symbol_script, receiver._script_inset_element$__$script, value); |
| }, |
| get$pos: function(receiver) { |
| return receiver._script_inset_element$__$pos; |
| }, |
| set$pos: function(receiver, value) { |
| receiver._script_inset_element$__$pos = this.notifyPropertyChange$3(receiver, C.Symbol_pos, receiver._script_inset_element$__$pos, value); |
| }, |
| get$endPos: function(receiver) { |
| return receiver._script_inset_element$__$endPos; |
| }, |
| set$endPos: function(receiver, value) { |
| receiver._script_inset_element$__$endPos = this.notifyPropertyChange$3(receiver, C.Symbol_endPos, receiver._script_inset_element$__$endPos, value); |
| }, |
| get$startLine: function(receiver) { |
| return receiver._script_inset_element$__$startLine; |
| }, |
| set$startLine: function(receiver, value) { |
| receiver._script_inset_element$__$startLine = this.notifyPropertyChange$3(receiver, C.Symbol_startLine, receiver._script_inset_element$__$startLine, value); |
| }, |
| get$endLine: function(receiver) { |
| return receiver._script_inset_element$__$endLine; |
| }, |
| set$endLine: function(receiver, value) { |
| receiver._script_inset_element$__$endLine = this.notifyPropertyChange$3(receiver, C.Symbol_endLine, receiver._script_inset_element$__$endLine, value); |
| }, |
| get$lines: function(receiver) { |
| return receiver._script_inset_element$__$lines; |
| }, |
| set$lines: function(receiver, value) { |
| receiver._script_inset_element$__$lines = this.notifyPropertyChange$3(receiver, C.Symbol_lines, receiver._script_inset_element$__$lines, value); |
| }, |
| attached$0: function(receiver) { |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| }, |
| scriptChanged$1: [function(receiver, oldValue) { |
| this._updateLines$0(receiver); |
| }, "call$1", "get$scriptChanged", 2, 0, 20, 57], |
| posChanged$1: [function(receiver, oldValue) { |
| this._updateLines$0(receiver); |
| }, "call$1", "get$posChanged", 2, 0, 20, 57], |
| endPosChanged$1: [function(receiver, oldValue) { |
| this._updateLines$0(receiver); |
| }, "call$1", "get$endPosChanged", 2, 0, 20, 57], |
| styleForHits$1: [function(receiver, hits) { |
| if (hits == null) |
| return "min-width:32px;"; |
| else if (J.$eq(hits, 0)) |
| return "min-width:32px; background-color:red"; |
| return "min-width:32px; background-color:green"; |
| }, "call$1", "get$styleForHits", 2, 0, 15, 182], |
| _updateLines$0: function(receiver) { |
| var t1, t2, i; |
| if (receiver._updateFuture != null) |
| return; |
| if (J.get$loaded$x(receiver._script_inset_element$__$script) !== true) { |
| receiver._updateFuture = J.load$0$x(receiver._script_inset_element$__$script).then$1(new T.ScriptInsetElement__updateLines_closure(receiver)); |
| return; |
| } |
| t1 = receiver._script_inset_element$__$pos; |
| t1 = t1 != null ? J.$sub$n(receiver._script_inset_element$__$script.tokenToLine$1(t1), 1) : 0; |
| receiver._script_inset_element$__$startLine = this.notifyPropertyChange$3(receiver, C.Symbol_startLine, receiver._script_inset_element$__$startLine, t1); |
| t1 = receiver._script_inset_element$__$endPos; |
| t2 = receiver._script_inset_element$__$script; |
| t1 = t1 != null ? t2.tokenToLine$1(t1) : J.get$length$asx(J.get$lines$x(t2)); |
| receiver._script_inset_element$__$endLine = this.notifyPropertyChange$3(receiver, C.Symbol_endLine, receiver._script_inset_element$__$endLine, t1); |
| t1 = receiver.lineNumbers; |
| t1.clear$0(t1); |
| for (i = receiver._script_inset_element$__$startLine; t2 = J.getInterceptor$n(i), t2.$lt(i, receiver._script_inset_element$__$endLine); i = t2.$add(i, 1)) |
| t1.add$1(0, i); |
| }, |
| static: {"^": "ScriptInsetElement_hitStyleNone,ScriptInsetElement_hitStyleExecuted,ScriptInsetElement_hitStyleNotExecuted", ScriptInsetElement$created: function(receiver) { |
| var t1, t2, t3, t4; |
| t1 = Q.ObservableList$(null, P.$int); |
| t2 = R._toObservableDeep([]); |
| t3 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t4 = P.String; |
| t4 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t4, null), null, null), [t4, null]); |
| receiver.lineNumbers = t1; |
| receiver._script_inset_element$__$lines = t2; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t3; |
| receiver.polymer$Polymer$$ = t4; |
| C.ScriptInsetElement_methods.Element$created$0(receiver); |
| C.ScriptInsetElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier43: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| }, |
| ScriptInsetElement__updateLines_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(_) { |
| var t1 = this.this_0; |
| if (J.get$loaded$x(t1._script_inset_element$__$script) === true) { |
| t1._updateFuture = null; |
| J._updateLines$0$x(t1); |
| } |
| }, "call$1", null, 2, 0, null, 14, "call"], |
| $isFunction: true |
| } |
| }], |
| ["script_ref_element", "package:observatory/src/elements/script_ref.dart", , A, { |
| "^": "", |
| ScriptRefElement: { |
| "^": "ServiceRefElement_ChangeNotifier1;_script_ref_element$__$pos,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$pos: function(receiver) { |
| return receiver._script_ref_element$__$pos; |
| }, |
| set$pos: function(receiver, value) { |
| receiver._script_ref_element$__$pos = this.notifyPropertyChange$3(receiver, C.Symbol_pos, receiver._script_ref_element$__$pos, value); |
| }, |
| get$hoverText: function(receiver) { |
| var t1 = receiver._service_ref_element$__$ref; |
| if (t1 == null) |
| return Q.ServiceRefElement.prototype.get$hoverText.call(this, receiver); |
| return t1.get$vmName(); |
| }, |
| posChanged$1: [function(receiver, oldValue) { |
| this._updateProperties$1(receiver, null); |
| }, "call$1", "get$posChanged", 2, 0, 20, 57], |
| _updateProperties$1: [function(receiver, _) { |
| var t1 = receiver._service_ref_element$__$ref; |
| if (t1 != null && J.get$loaded$x(t1) === true) { |
| this.notifyPropertyChange$3(receiver, C.Symbol_name, 0, 1); |
| this.notifyPropertyChange$3(receiver, C.Symbol_url, 0, 1); |
| } |
| }, "call$1", "get$_updateProperties", 2, 0, 20, 14], |
| get$name: function(receiver) { |
| var t1, script; |
| if (receiver._service_ref_element$__$ref == null) |
| return Q.ServiceRefElement.prototype.get$name.call(this, receiver); |
| if (J.$ge$n(receiver._script_ref_element$__$pos, 0)) { |
| t1 = J.get$loaded$x(receiver._service_ref_element$__$ref); |
| script = receiver._service_ref_element$__$ref; |
| if (t1 === true) |
| return H.S(Q.ServiceRefElement.prototype.get$name.call(this, receiver)) + ":" + H.S(script.tokenToLine$1(receiver._script_ref_element$__$pos)); |
| else |
| J.load$0$x(script).then$1(this.get$_updateProperties(receiver)); |
| } |
| return Q.ServiceRefElement.prototype.get$name.call(this, receiver); |
| }, |
| get$url: function(receiver) { |
| var t1, script; |
| if (receiver._service_ref_element$__$ref == null) |
| return Q.ServiceRefElement.prototype.get$url.call(this, receiver); |
| if (J.$ge$n(receiver._script_ref_element$__$pos, 0)) { |
| t1 = J.get$loaded$x(receiver._service_ref_element$__$ref); |
| script = receiver._service_ref_element$__$ref; |
| if (t1 === true) |
| return Q.ServiceRefElement.prototype.get$url.call(this, receiver) + "#line=" + H.S(script.tokenToLine$1(receiver._script_ref_element$__$pos)); |
| else |
| J.load$0$x(script).then$1(this.get$_updateProperties(receiver)); |
| } |
| return Q.ServiceRefElement.prototype.get$url.call(this, receiver); |
| }, |
| static: {ScriptRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._script_ref_element$__$pos = -1; |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ScriptRefElement_methods.Element$created$0(receiver); |
| C.ScriptRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ServiceRefElement_ChangeNotifier1: { |
| "^": "ServiceRefElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["script_view_element", "package:observatory/src/elements/script_view.dart", , U, { |
| "^": "", |
| ScriptViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier44;_script_view_element$__$script,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$script: function(receiver) { |
| return receiver._script_view_element$__$script; |
| }, |
| set$script: function(receiver, value) { |
| receiver._script_view_element$__$script = this.notifyPropertyChange$3(receiver, C.Symbol_script, receiver._script_view_element$__$script, value); |
| }, |
| attached$0: function(receiver) { |
| var t1; |
| Z.ObservatoryElement.prototype.attached$0.call(this, receiver); |
| t1 = receiver._script_view_element$__$script; |
| if (t1 == null) |
| return; |
| J.load$0$x(t1); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._script_view_element$__$script).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| refreshCoverage$1: [function(receiver, done) { |
| J.refreshCoverage$0$x(J.get$isolate$x(receiver._script_view_element$__$script)).whenComplete$1(done); |
| }, "call$1", "get$refreshCoverage", 2, 0, 20, 89], |
| static: {ScriptViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ScriptViewElement_methods.Element$created$0(receiver); |
| C.ScriptViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier44: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["service", "package:observatory/service.dart", , D, { |
| "^": "", |
| ServiceObject_ServiceObject$_fromMap: function(owner, map) { |
| var t1, type, t2, t3, t4, t5, t6, obj, t7; |
| if (map == null) |
| return; |
| t1 = J.getInterceptor$asx(map); |
| t1 = t1.$index(map, "id") != null && t1.$index(map, "type") != null; |
| if (!t1) |
| N.Logger_Logger("").severe$1("Malformed service object: " + H.S(map)); |
| type = J.$index$asx(map, "type"); |
| t1 = J.getInterceptor$s(type); |
| switch (t1.startsWith$1(type, "@") ? t1.substring$1(type, 1) : type) { |
| case "Class": |
| t1 = D.Class; |
| t2 = []; |
| t2.$builtinTypeInfo = [t1]; |
| t2 = new Q.ObservableList(null, null, t2, null, null); |
| t2.$builtinTypeInfo = [t1]; |
| t1 = D.Class; |
| t3 = []; |
| t3.$builtinTypeInfo = [t1]; |
| t3 = new Q.ObservableList(null, null, t3, null, null); |
| t3.$builtinTypeInfo = [t1]; |
| t1 = D.ServiceMap; |
| t4 = []; |
| t4.$builtinTypeInfo = [t1]; |
| t4 = new Q.ObservableList(null, null, t4, null, null); |
| t4.$builtinTypeInfo = [t1]; |
| t1 = D.ServiceMap; |
| t5 = []; |
| t5.$builtinTypeInfo = [t1]; |
| t5 = new Q.ObservableList(null, null, t5, null, null); |
| t5.$builtinTypeInfo = [t1]; |
| t1 = D.Class; |
| t6 = []; |
| t6.$builtinTypeInfo = [t1]; |
| t6 = new Q.ObservableList(null, null, t6, null, null); |
| t6.$builtinTypeInfo = [t1]; |
| obj = new D.Class(null, null, null, null, null, null, null, null, null, null, new D.Allocations(new D.AllocationCount(0, 0, null, null), new D.AllocationCount(0, 0, null, null)), new D.Allocations(new D.AllocationCount(0, 0, null, null), new D.AllocationCount(0, 0, null, null)), t2, t3, t4, t5, t6, null, null, owner, null, null, false, null, null, null, null, null); |
| break; |
| case "Code": |
| t1 = []; |
| t1.$builtinTypeInfo = [D.CodeCallCount]; |
| t2 = []; |
| t2.$builtinTypeInfo = [D.CodeCallCount]; |
| t3 = D.CodeInstruction; |
| t4 = []; |
| t4.$builtinTypeInfo = [t3]; |
| t4 = new Q.ObservableList(null, null, t4, null, null); |
| t4.$builtinTypeInfo = [t3]; |
| t3 = P.$int; |
| t5 = D.CodeTick; |
| t6 = new V.ObservableMap(P.HashMap_HashMap(null, null, null, t3, t5), null, null); |
| t6.$builtinTypeInfo = [t3, t5]; |
| obj = new D.Code(null, 0, 0, 0, 0, 0, t1, t2, t4, t6, "", "", null, null, null, false, null, null, false, null, null, owner, null, null, false, null, null, null, null, null); |
| break; |
| case "Error": |
| obj = new D.DartError(null, null, null, null, null, null, owner, null, null, false, null, null, null, null, null); |
| break; |
| case "Isolate": |
| t1 = new V.ObservableMap(P.HashMap_HashMap(null, null, null, null, null), null, null); |
| t1.$builtinTypeInfo = [null, null]; |
| t2 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, D.ServiceObject); |
| t3 = []; |
| t3.$builtinTypeInfo = [P.String]; |
| t4 = []; |
| t4.$builtinTypeInfo = [D.TagProfileSnapshot]; |
| t5 = D.Class; |
| t6 = []; |
| t6.$builtinTypeInfo = [t5]; |
| t6 = new Q.ObservableList(null, null, t6, null, null); |
| t6.$builtinTypeInfo = [t5]; |
| t5 = D.Library; |
| t7 = []; |
| t7.$builtinTypeInfo = [t5]; |
| t7 = new Q.ObservableList(null, null, t7, null, null); |
| t7.$builtinTypeInfo = [t5]; |
| t5 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, P.$double); |
| t5 = R._toObservableDeep(t5); |
| obj = new D.Isolate(t1, null, false, false, true, false, t2, new D.TagProfile(t3, t4, null, null, 20, 0), null, t6, null, t7, null, null, null, null, null, t5, new D.HeapSpace(0, 0, 0, 0, 0, null, null), new D.HeapSpace(0, 0, 0, 0, 0, null, null), null, null, null, null, null, null, null, owner, null, null, false, null, null, null, null, null); |
| break; |
| case "Library": |
| t1 = D.Library; |
| t2 = []; |
| t2.$builtinTypeInfo = [t1]; |
| t2 = new Q.ObservableList(null, null, t2, null, null); |
| t2.$builtinTypeInfo = [t1]; |
| t1 = D.Script; |
| t3 = []; |
| t3.$builtinTypeInfo = [t1]; |
| t3 = new Q.ObservableList(null, null, t3, null, null); |
| t3.$builtinTypeInfo = [t1]; |
| t1 = D.Class; |
| t4 = []; |
| t4.$builtinTypeInfo = [t1]; |
| t4 = new Q.ObservableList(null, null, t4, null, null); |
| t4.$builtinTypeInfo = [t1]; |
| t1 = D.ServiceMap; |
| t5 = []; |
| t5.$builtinTypeInfo = [t1]; |
| t5 = new Q.ObservableList(null, null, t5, null, null); |
| t5.$builtinTypeInfo = [t1]; |
| t1 = D.ServiceMap; |
| t6 = []; |
| t6.$builtinTypeInfo = [t1]; |
| t6 = new Q.ObservableList(null, null, t6, null, null); |
| t6.$builtinTypeInfo = [t1]; |
| obj = new D.Library(null, t2, t3, t4, t5, t6, null, null, owner, null, null, false, null, null, null, null, null); |
| break; |
| case "ServiceError": |
| obj = new D.ServiceError(null, null, null, null, owner, null, null, false, null, null, null, null, null); |
| break; |
| case "ServiceException": |
| obj = new D.ServiceException(null, null, null, null, null, owner, null, null, false, null, null, null, null, null); |
| break; |
| case "Script": |
| t1 = D.ScriptLine; |
| t2 = []; |
| t2.$builtinTypeInfo = [t1]; |
| t2 = new Q.ObservableList(null, null, t2, null, null); |
| t2.$builtinTypeInfo = [t1]; |
| obj = new D.Script(t2, P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, P.$int), null, null, null, null, null, null, null, null, null, owner, null, null, false, null, null, null, null, null); |
| break; |
| case "Socket": |
| obj = new D.Socket(null, null, null, null, "", false, false, false, false, null, null, null, null, null, null, null, owner, null, null, false, null, null, null, null, null); |
| break; |
| default: |
| t1 = new V.ObservableMap(P.HashMap_HashMap(null, null, null, null, null), null, null); |
| t1.$builtinTypeInfo = [null, null]; |
| obj = new D.ServiceMap(t1, owner, null, null, false, null, null, null, null, null); |
| } |
| obj.update$1(map); |
| return obj; |
| }, |
| _isServiceMap: function(m) { |
| var t1; |
| if (m != null) { |
| t1 = J.getInterceptor$asx(m); |
| t1 = t1.$index(m, "id") != null && t1.$index(m, "type") != null; |
| } else |
| t1 = false; |
| return t1; |
| }, |
| _upgradeCollection: function(collection, owner) { |
| var t1 = J.getInterceptor(collection); |
| if (!!t1.$isServiceMap) |
| return; |
| if (!!t1.$isObservableMap) |
| D._upgradeObservableMap(collection, owner); |
| else if (!!t1.$isObservableList) |
| D._upgradeObservableList(collection, owner); |
| }, |
| _upgradeObservableMap: function(map, owner) { |
| map.forEach$1(0, new D._upgradeObservableMap_closure(map, owner)); |
| }, |
| _upgradeObservableList: function(list, owner) { |
| var t1, i, v, t2, t3, t4; |
| for (t1 = list._observable_list$_list, i = 0; i < t1.length; ++i) { |
| v = t1[i]; |
| t2 = J.getInterceptor(v); |
| t3 = !!t2.$isObservableMap; |
| if (t3) |
| t4 = t2.$index(v, "id") != null && t2.$index(v, "type") != null; |
| else |
| t4 = false; |
| if (t4) |
| list.$indexSet(0, i, owner.getFromMap$1(v)); |
| else if (!!t2.$isObservableList) |
| D._upgradeObservableList(v, owner); |
| else if (t3) |
| D._upgradeObservableMap(v, owner); |
| } |
| }, |
| ServiceObject: { |
| "^": "ChangeNotifier;_service$__$name@,_service$__$vmName@", |
| get$vm: function(_) { |
| var t1 = this._owner; |
| return t1.get$vm(t1); |
| }, |
| get$isolate: function(_) { |
| var t1 = this._owner; |
| return t1.get$isolate(t1); |
| }, |
| get$id: function(_) { |
| return this._id; |
| }, |
| get$serviceType: function() { |
| return this._serviceType; |
| }, |
| get$link: function(_) { |
| return this._owner.relativeLink$1(this._id); |
| }, |
| get$loaded: function(_) { |
| return this._loaded; |
| }, |
| get$canCache: function() { |
| return false; |
| }, |
| get$immutable: function() { |
| return false; |
| }, |
| get$name: function(_) { |
| return this.get$_service$__$name(); |
| }, |
| set$name: function(_, value) { |
| this.set$_service$__$name(this.notifyPropertyChange$3(this, C.Symbol_name, this.get$_service$__$name(), value)); |
| }, |
| get$vmName: function() { |
| return this.get$_service$__$vmName(); |
| }, |
| set$vmName: function(value) { |
| this.set$_service$__$vmName(this.notifyPropertyChange$3(this, C.Symbol_vmName, this.get$_service$__$vmName(), value)); |
| }, |
| load$0: function(_) { |
| if (this._loaded) |
| return P._Future$immediate(this, null); |
| return this.reload$0(0); |
| }, |
| reload$0: function(_) { |
| var t1; |
| if (J.$eq(this._id, "")) |
| return P._Future$immediate(this, null); |
| if (this._loaded && this.get$immutable()) |
| return P._Future$immediate(this, null); |
| t1 = this._inProgressReload; |
| if (t1 == null) { |
| t1 = this.get$vm(this).getAsMap$1(this.get$link(this)).then$1(new D.ServiceObject_reload_closure(this)).whenComplete$1(new D.ServiceObject_reload_closure0(this)); |
| this._inProgressReload = t1; |
| } |
| return t1; |
| }, |
| update$1: function(map) { |
| var t1, mapIsRef, mapType, t2; |
| t1 = J.getInterceptor$asx(map); |
| mapIsRef = J.startsWith$1$s(t1.$index(map, "type"), "@"); |
| mapType = t1.$index(map, "type"); |
| t2 = J.getInterceptor$s(mapType); |
| if (t2.startsWith$1(mapType, "@")) |
| mapType = t2.substring$1(mapType, 1); |
| t2 = this._id; |
| if (t2 != null && !J.$eq(t2, t1.$index(map, "id"))) |
| ; |
| this._id = t1.$index(map, "id"); |
| this._serviceType = mapType; |
| this._service$_update$2(0, map, mapIsRef); |
| }, |
| $isServiceObject: true |
| }, |
| ServiceObject_reload_closure: { |
| "^": "Closure:184;this_0", |
| call$1: [function(map) { |
| var mapType, t1; |
| mapType = J.$index$asx(map, "type"); |
| t1 = J.getInterceptor$s(mapType); |
| if (t1.startsWith$1(mapType, "@")) |
| mapType = t1.substring$1(mapType, 1); |
| t1 = this.this_0; |
| if (!J.$eq(mapType, t1._serviceType)) |
| return D.ServiceObject_ServiceObject$_fromMap(t1._owner, map); |
| t1.update$1(map); |
| return t1; |
| }, "call$1", null, 2, 0, null, 183, "call"], |
| $isFunction: true |
| }, |
| ServiceObject_reload_closure0: { |
| "^": "Closure:69;this_1", |
| call$0: [function() { |
| this.this_1._inProgressReload = null; |
| }, "call$0", null, 0, 0, null, "call"], |
| $isFunction: true |
| }, |
| ServiceObjectOwner: { |
| "^": "ServiceObject;" |
| }, |
| VM: { |
| "^": "ServiceObjectOwner_ChangeNotifier;", |
| get$vm: function(_) { |
| return this; |
| }, |
| get$isolate: function(_) { |
| return; |
| }, |
| get$isolates: function() { |
| var t1 = this._isolateCache; |
| return t1.get$values(t1); |
| }, |
| get$link: function(_) { |
| return H.S(this._id); |
| }, |
| relativeLink$1: [function(id) { |
| return H.S(id); |
| }, "call$1", "get$relativeLink", 2, 0, 151, 185], |
| get$version: function(_) { |
| return this._service$__$version; |
| }, |
| get$uptime: function() { |
| return this._service$__$uptime; |
| }, |
| get$assertsEnabled: function() { |
| return this._service$__$assertsEnabled; |
| }, |
| get$typeChecksEnabled: function() { |
| return this._service$__$typeChecksEnabled; |
| }, |
| get$pid: function() { |
| return this._service$__$pid; |
| }, |
| get$lastUpdate: function() { |
| return this._service$__$lastUpdate; |
| }, |
| _parseObjectId$1: function(id) { |
| var m, t1, t2, t3; |
| m = $.get$VM__currentObjectMatcher().matchAsPrefix$1(0, id); |
| if (m == null) |
| return; |
| t1 = m._match; |
| t2 = t1.input; |
| t3 = t1.index; |
| if (0 >= t1.length) |
| return H.ioore(t1, 0); |
| t1 = J.get$length$asx(t1[0]); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| return C.JSString_methods.substring$1(t2, t3 + t1); |
| }, |
| _parseIsolateId$1: function(id) { |
| var m, t1, t2; |
| m = $.get$VM__currentIsolateMatcher().matchAsPrefix$1(0, id); |
| if (m == null) |
| return ""; |
| t1 = m._match; |
| t2 = t1.index; |
| if (0 >= t1.length) |
| return H.ioore(t1, 0); |
| t1 = J.get$length$asx(t1[0]); |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| return J.substring$2$s(id, 0, t2 + t1); |
| }, |
| getFromMap$1: function(map) { |
| throw H.wrapException(P.UnimplementedError$(null)); |
| }, |
| _getIsolate$1: function(isolateId) { |
| var isolate; |
| if (isolateId === "") |
| return P._Future$immediate(null, null); |
| isolate = this._isolateCache.$index(0, isolateId); |
| if (isolate != null) |
| return P._Future$immediate(isolate, null); |
| return this.reload$0(0).then$1(new D.VM__getIsolate_closure(this, isolateId)); |
| }, |
| get$1: function(id) { |
| var isolateId, objectId, obj; |
| if (J.startsWith$1$s(id, "isolates/")) { |
| isolateId = this._parseIsolateId$1(id); |
| objectId = this._parseObjectId$1(id); |
| return this._getIsolate$1(isolateId).then$1(new D.VM_get_closure(this, objectId)); |
| } |
| obj = this._cache.$index(0, id); |
| if (obj != null) |
| return J.reload$0$x(obj); |
| return this.getAsMap$1(id).then$1(new D.VM_get_closure0(this, id)); |
| }, |
| _service$_reviver$2: [function(key, value) { |
| return value; |
| }, "call$2", "get$_service$_reviver", 4, 0, 75], |
| _parseJSON$1: function(response) { |
| var map, decoder, exception; |
| map = null; |
| try { |
| decoder = new P.JsonDecoder(this.get$_service$_reviver()); |
| map = P._parseJson(response, decoder.get$_reviver()); |
| } catch (exception) { |
| H.unwrapException(exception); |
| return; |
| } |
| |
| return R._toObservableDeep(map); |
| }, |
| _processMap$1: function(map) { |
| var t1; |
| if (!D._isServiceMap(map)) { |
| t1 = P.LinkedHashMap_LinkedHashMap$_literal(["type", "ServiceException", "id", "", "kind", "FormatException", "response", map, "message", "Top level service responses must be service maps."], null, null); |
| return P._Future$immediateError(D.ServiceObject_ServiceObject$_fromMap(this, R._toObservableDeep(t1)), null, null); |
| } |
| t1 = J.getInterceptor$asx(map); |
| if (J.$eq(t1.$index(map, "type"), "ServiceError")) |
| return P._Future$immediateError(D.ServiceObject_ServiceObject$_fromMap(this, map), null, null); |
| else if (J.$eq(t1.$index(map, "type"), "ServiceException")) |
| return P._Future$immediateError(D.ServiceObject_ServiceObject$_fromMap(this, map), null, null); |
| return P._Future$immediate(map, null); |
| }, |
| getAsMap$1: function(id) { |
| return this.getString$1(0, id).then$1(new D.VM_getAsMap_closure(this)).catchError$2$test(new D.VM_getAsMap_closure0(this), new D.VM_getAsMap_closure1()).catchError$2$test(new D.VM_getAsMap_closure2(this), new D.VM_getAsMap_closure3()); |
| }, |
| _service$_update$2: function(_, map, mapIsRef) { |
| var t1, t2; |
| if (mapIsRef) |
| return; |
| this._loaded = true; |
| t1 = J.getInterceptor$asx(map); |
| t2 = t1.$index(map, "version"); |
| this._service$__$version = F.notifyPropertyChangeHelper(this, C.Symbol_version, this._service$__$version, t2); |
| t2 = t1.$index(map, "architecture"); |
| this._service$__$architecture = F.notifyPropertyChangeHelper(this, C.Symbol_architecture, this._service$__$architecture, t2); |
| t2 = t1.$index(map, "uptime"); |
| this._service$__$uptime = F.notifyPropertyChangeHelper(this, C.Symbol_uptime, this._service$__$uptime, t2); |
| t2 = P.DateTime$fromMillisecondsSinceEpoch(H.Primitives_parseInt(t1.$index(map, "date"), null, null), false); |
| this._service$__$lastUpdate = F.notifyPropertyChangeHelper(this, C.Symbol_lastUpdate, this._service$__$lastUpdate, t2); |
| t2 = t1.$index(map, "assertsEnabled"); |
| this._service$__$assertsEnabled = F.notifyPropertyChangeHelper(this, C.Symbol_assertsEnabled, this._service$__$assertsEnabled, t2); |
| t2 = t1.$index(map, "pid"); |
| this._service$__$pid = F.notifyPropertyChangeHelper(this, C.Symbol_pid, this._service$__$pid, t2); |
| t2 = t1.$index(map, "typeChecksEnabled"); |
| this._service$__$typeChecksEnabled = F.notifyPropertyChangeHelper(this, C.Symbol_typeChecksEnabled, this._service$__$typeChecksEnabled, t2); |
| this._updateIsolates$1(t1.$index(map, "isolates")); |
| }, |
| _updateIsolates$1: function(newIsolates) { |
| var oldIsolateCache, newIsolateCache, t1, isolateMap, isolateId, isolate; |
| oldIsolateCache = this._isolateCache; |
| newIsolateCache = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, D.Isolate); |
| for (t1 = J.get$iterator$ax(newIsolates); t1.moveNext$0();) { |
| isolateMap = t1.get$current(); |
| isolateId = J.$index$asx(isolateMap, "id"); |
| isolate = oldIsolateCache.$index(0, isolateId); |
| if (isolate != null) |
| newIsolateCache.$indexSet(0, isolateId, isolate); |
| else { |
| isolate = D.ServiceObject_ServiceObject$_fromMap(this, isolateMap); |
| newIsolateCache.$indexSet(0, isolateId, isolate); |
| N.Logger_Logger("").info$1("New isolate '" + H.S(isolate._id) + "'"); |
| } |
| } |
| newIsolateCache.forEach$1(0, new D.VM__updateIsolates_closure()); |
| this._isolateCache = newIsolateCache; |
| }, |
| VM$0: function() { |
| this._service$__$name = this.notifyPropertyChange$3(this, C.Symbol_name, this._service$__$name, "vm"); |
| this._service$__$vmName = this.notifyPropertyChange$3(this, C.Symbol_vmName, this._service$__$vmName, "vm"); |
| this._cache.$indexSet(0, "vm", this); |
| var t1 = P.LinkedHashMap_LinkedHashMap$_literal(["id", "vm", "type", "@VM"], null, null); |
| this.update$1(R._toObservableDeep(t1)); |
| }, |
| $isVM: true |
| }, |
| ServiceObjectOwner_ChangeNotifier: { |
| "^": "ServiceObjectOwner+ChangeNotifier;", |
| $isObservable: true |
| }, |
| VM__getIsolate_closure: { |
| "^": "Closure:13;this_0,isolateId_1", |
| call$1: [function(result) { |
| if (!J.getInterceptor(result).$isVM) |
| return; |
| return this.this_0._isolateCache.$index(0, this.isolateId_1); |
| }, "call$1", null, 2, 0, null, 129, "call"], |
| $isFunction: true |
| }, |
| VM_get_closure: { |
| "^": "Closure:13;this_0,objectId_1", |
| call$1: [function(isolate) { |
| var t1; |
| if (isolate == null) |
| return this.this_0; |
| t1 = this.objectId_1; |
| if (t1 == null) |
| return J.reload$0$x(isolate); |
| else |
| return isolate.get$1(t1); |
| }, "call$1", null, 2, 0, null, 7, "call"], |
| $isFunction: true |
| }, |
| VM_get_closure0: { |
| "^": "Closure:184;this_2,id_3", |
| call$1: [function(map) { |
| var t1, obj; |
| t1 = this.this_2; |
| obj = D.ServiceObject_ServiceObject$_fromMap(t1, map); |
| if (obj.get$canCache()) |
| t1._cache.putIfAbsent$2(this.id_3, new D.VM_get__closure(obj)); |
| return obj; |
| }, "call$1", null, 2, 0, null, 183, "call"], |
| $isFunction: true |
| }, |
| VM_get__closure: { |
| "^": "Closure:69;obj_4", |
| call$0: function() { |
| return this.obj_4; |
| }, |
| $isFunction: true |
| }, |
| VM_getAsMap_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(response) { |
| var map, e, exception, t1; |
| map = null; |
| try { |
| map = this.this_0._parseJSON$1(response); |
| } catch (exception) { |
| t1 = H.unwrapException(exception); |
| e = t1; |
| P.print("Hit V8 bug."); |
| t1 = P.LinkedHashMap_LinkedHashMap$_literal(["type", "ServiceException", "id", "", "kind", "DecodeException", "response", "This is likely a result of a known V8 bug. Although the the bug has been fixed the fix may not be in your Chrome version. For more information see dartbug.com/18385. Observatory is still functioning and you should try your action again.", "message", "Could not decode JSON: " + H.S(e)], null, null); |
| t1 = R._toObservableDeep(t1); |
| return P._Future$immediateError(D.ServiceObject_ServiceObject$_fromMap(this.this_0, t1), null, null); |
| } |
| |
| return this.this_0._processMap$1(map); |
| }, "call$1", null, 2, 0, null, 132, "call"], |
| $isFunction: true |
| }, |
| VM_getAsMap_closure0: { |
| "^": "Closure:13;this_1", |
| call$1: [function(error) { |
| var t1 = this.this_1.errors; |
| if (t1._state >= 4) |
| H.throwExpression(t1._addEventError$0()); |
| t1._sendData$1(error); |
| return P._Future$immediateError(error, null, null); |
| }, "call$1", null, 2, 0, null, 24, "call"], |
| $isFunction: true |
| }, |
| VM_getAsMap_closure1: { |
| "^": "Closure:13;", |
| call$1: [function(e) { |
| return !!J.getInterceptor(e).$isServiceError; |
| }, "call$1", null, 2, 0, null, 1, "call"], |
| $isFunction: true |
| }, |
| VM_getAsMap_closure2: { |
| "^": "Closure:13;this_2", |
| call$1: [function(exception) { |
| var t1 = this.this_2.exceptions; |
| if (t1._state >= 4) |
| H.throwExpression(t1._addEventError$0()); |
| t1._sendData$1(exception); |
| return P._Future$immediateError(exception, null, null); |
| }, "call$1", null, 2, 0, null, 85, "call"], |
| $isFunction: true |
| }, |
| VM_getAsMap_closure3: { |
| "^": "Closure:13;", |
| call$1: [function(e) { |
| return !!J.getInterceptor(e).$isServiceException; |
| }, "call$1", null, 2, 0, null, 1, "call"], |
| $isFunction: true |
| }, |
| VM__updateIsolates_closure: { |
| "^": "Closure:75;", |
| call$2: function(isolateId, isolate) { |
| J.reload$0$x(isolate); |
| }, |
| $isFunction: true |
| }, |
| TagProfileSnapshot: { |
| "^": "Object;seconds,counters>,_sum", |
| set$1: function(counters) { |
| var t1, t2, i, t3, t4; |
| t1 = this.counters; |
| H.IterableMixinWorkaround_setAllList(t1, 0, counters); |
| for (t2 = t1.length, i = 0; i < t2; ++i) { |
| t3 = this._sum; |
| t4 = t1[i]; |
| if (typeof t4 !== "number") |
| return H.iae(t4); |
| this._sum = t3 + t4; |
| } |
| }, |
| delta$2: function(counters, old_counters) { |
| var t1, t2, t3, t4, i, t5, t6; |
| for (t1 = this.counters, t2 = t1.length, t3 = J.getInterceptor$asx(counters), t4 = old_counters.length, i = 0; i < t2; ++i) { |
| t5 = t3.$index(counters, i); |
| if (i >= t4) |
| return H.ioore(old_counters, i); |
| t5 = J.$sub$n(t5, old_counters[i]); |
| t1[i] = t5; |
| t6 = this._sum; |
| if (typeof t5 !== "number") |
| return H.iae(t5); |
| this._sum = t6 + t5; |
| } |
| }, |
| max$1: function(_, counters) { |
| var t1, t2, t3, i, t4, c; |
| t1 = J.getInterceptor$asx(counters); |
| t2 = this.counters; |
| t3 = t2.length; |
| i = 0; |
| while (true) { |
| t4 = t1.get$length(counters); |
| if (typeof t4 !== "number") |
| return H.iae(t4); |
| if (!(i < t4)) |
| break; |
| c = t1.$index(counters, i); |
| if (i >= t3) |
| return H.ioore(t2, i); |
| t2[i] = J.$gt$n(t2[i], c) ? t2[i] : c; |
| ++i; |
| } |
| }, |
| zero$0: function() { |
| var t1, t2, i; |
| for (t1 = this.counters, t2 = t1.length, i = 0; i < t2; ++i) |
| t1[i] = 0; |
| }, |
| $isTagProfileSnapshot: true |
| }, |
| TagProfile: { |
| "^": "Object;names<,snapshots<,_seconds,_maxSnapshot,_historySize,_countersLength", |
| get$updatedAtSeconds: function() { |
| return this._seconds; |
| }, |
| _processTagProfile$2: function(seconds, tagProfile) { |
| var t1, counters, t2, i, t3, snapshot; |
| this._seconds = seconds; |
| t1 = J.getInterceptor$asx(tagProfile); |
| counters = t1.$index(tagProfile, "counters"); |
| t2 = this.names; |
| if (t2.length === 0) { |
| C.JSArray_methods.addAll$1(t2, t1.$index(tagProfile, "names")); |
| this._countersLength = J.get$length$asx(t1.$index(tagProfile, "counters")); |
| for (t1 = this._historySize, t2 = this.snapshots, i = 0; t3 = this._countersLength, i < t1; ++i) { |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| t3 = Array(t3); |
| t3.fixed$length = init; |
| t3.$builtinTypeInfo = [P.$int]; |
| snapshot = new D.TagProfileSnapshot(0, t3, 0); |
| snapshot.zero$0(); |
| t2.push(snapshot); |
| } |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| t1 = Array(t3); |
| t1.fixed$length = init; |
| t1 = new D.TagProfileSnapshot(0, H.setRuntimeTypeInfo(t1, [P.$int]), 0); |
| this._maxSnapshot = t1; |
| t1.set$1(counters); |
| return; |
| } |
| t1 = this._countersLength; |
| if (typeof t1 !== "number") |
| return H.iae(t1); |
| t1 = Array(t1); |
| t1.fixed$length = init; |
| snapshot = new D.TagProfileSnapshot(seconds, H.setRuntimeTypeInfo(t1, [P.$int]), 0); |
| snapshot.delta$2(counters, this._maxSnapshot.counters); |
| this._maxSnapshot.max$1(0, counters); |
| t1 = this.snapshots; |
| t1.push(snapshot); |
| if (t1.length > this._historySize) |
| C.JSArray_methods.removeAt$1(t1, 0); |
| } |
| }, |
| HeapSpace: { |
| "^": "ChangeNotifier;_service$__$used,_service$__$capacity,_service$__$external,_service$__$collections,_service$__$totalCollectionTimeInSeconds,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$used: function() { |
| return this._service$__$used; |
| }, |
| get$capacity: function() { |
| return this._service$__$capacity; |
| }, |
| get$external: function() { |
| return this._service$__$external; |
| }, |
| get$collections: function() { |
| return this._service$__$collections; |
| }, |
| get$totalCollectionTimeInSeconds: function() { |
| return this._service$__$totalCollectionTimeInSeconds; |
| }, |
| update$1: function(heapMap) { |
| var t1, t2; |
| t1 = J.getInterceptor$asx(heapMap); |
| t2 = t1.$index(heapMap, "used"); |
| this._service$__$used = F.notifyPropertyChangeHelper(this, C.Symbol_used, this._service$__$used, t2); |
| t2 = t1.$index(heapMap, "capacity"); |
| this._service$__$capacity = F.notifyPropertyChangeHelper(this, C.Symbol_capacity, this._service$__$capacity, t2); |
| t2 = t1.$index(heapMap, "external"); |
| this._service$__$external = F.notifyPropertyChangeHelper(this, C.Symbol_external, this._service$__$external, t2); |
| t2 = t1.$index(heapMap, "collections"); |
| this._service$__$collections = F.notifyPropertyChangeHelper(this, C.Symbol_collections, this._service$__$collections, t2); |
| t1 = t1.$index(heapMap, "time"); |
| this._service$__$totalCollectionTimeInSeconds = F.notifyPropertyChangeHelper(this, C.Symbol_totalCollectionTimeInSeconds, this._service$__$totalCollectionTimeInSeconds, t1); |
| } |
| }, |
| Isolate: { |
| "^": "ServiceObjectOwner_ChangeNotifier0;_service$__$counters,_service$__$pauseEvent,_service$__$running,_service$__$idle,_service$__$loading,_service$__$ioEnabled,_cache,tagProfile,_service$__$objectClass,rootClasses,_service$__$rootLib,_service$__$libraries,_service$__$topFrame,_service$__$name:service$Isolate$_service$__$name@,_service$__$vmName:service$Isolate$_service$__$vmName@,_service$__$mainPort,_service$__$entry,timers,newSpace<,oldSpace<,_service$__$fileAndLine,_service$__$error,profileTrieRoot<,_trieDataCursor,_trieData,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_owner,_id,_serviceType,_loaded,_service$__$name,_service$__$vmName,_inProgressReload,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$vm: function(_) { |
| return this._owner; |
| }, |
| get$isolate: function(_) { |
| return this; |
| }, |
| get$counters: function(_) { |
| return this._service$__$counters; |
| }, |
| set$counters: function(_, value) { |
| this._service$__$counters = F.notifyPropertyChangeHelper(this, C.Symbol_counters, this._service$__$counters, value); |
| }, |
| get$link: function(_) { |
| return "/" + H.S(this._id); |
| }, |
| get$pauseEvent: function(_) { |
| return this._service$__$pauseEvent; |
| }, |
| get$running: function() { |
| return this._service$__$running; |
| }, |
| get$idle: function() { |
| return this._service$__$idle; |
| }, |
| get$loading: function() { |
| return this._service$__$loading; |
| }, |
| relativeLink$1: [function(id) { |
| return "/" + H.S(this._id) + "/" + H.S(id); |
| }, "call$1", "get$relativeLink", 2, 0, 151, 185], |
| processProfile$1: function(profile) { |
| var codeTable, t1, t2, exclusiveTrie; |
| codeTable = H.setRuntimeTypeInfo([], [D.Code]); |
| t1 = J.getInterceptor$asx(profile); |
| for (t2 = J.get$iterator$ax(t1.$index(profile, "codes")); t2.moveNext$0();) |
| codeTable.push(J.$index$asx(t2.get$current(), "code")); |
| this._resetProfileData$0(); |
| this._updateProfileData$2(profile, codeTable); |
| exclusiveTrie = t1.$index(profile, "exclusive_trie"); |
| if (exclusiveTrie != null) |
| this.profileTrieRoot = this._processProfileTrie$2(exclusiveTrie, codeTable); |
| }, |
| _resetProfileData$0: function() { |
| var t1 = this._cache; |
| t1.get$values(t1).forEach$1(0, new D.Isolate__resetProfileData_closure()); |
| }, |
| _updateProfileData$2: function(profile, codeTable) { |
| var t1, codeRegions, sampleCount, codeRegion; |
| t1 = J.getInterceptor$asx(profile); |
| codeRegions = t1.$index(profile, "codes"); |
| sampleCount = t1.$index(profile, "samples"); |
| for (t1 = J.get$iterator$ax(codeRegions); t1.moveNext$0();) { |
| codeRegion = t1.get$current(); |
| J.$index$asx(codeRegion, "code").updateProfileData$3(codeRegion, codeTable, sampleCount); |
| } |
| }, |
| refreshCoverage$0: [function(_) { |
| return this.get$1("coverage").then$1(this.get$_processCoverage()); |
| }, "call$0", "get$refreshCoverage", 0, 0, 186], |
| _processCoverage$1: [function(coverage) { |
| J.forEach$1$ax(J.$index$asx(coverage, "coverage"), new D.Isolate__processCoverage_closure(this)); |
| }, "call$1", "get$_processCoverage", 2, 0, 134, 187], |
| getClassHierarchy$0: function() { |
| return this.get$1("classes").then$1(this.get$_loadClasses()).then$1(this.get$_buildClassHierarchy()); |
| }, |
| _loadClasses$1: [function(classList) { |
| var futureClasses, t1, cls, t2; |
| futureClasses = []; |
| for (t1 = J.get$iterator$ax(J.$index$asx(classList, "members")); t1.moveNext$0();) { |
| cls = t1.get$current(); |
| t2 = J.getInterceptor(cls); |
| if (!!t2.$isClass) |
| futureClasses.push(t2.load$0(cls)); |
| } |
| return P.Future_wait(futureClasses, false); |
| }, "call$1", "get$_loadClasses", 2, 0, 188, 189], |
| _buildClassHierarchy$1: [function(classes) { |
| var t1, t2, cls, t3; |
| t1 = this.rootClasses; |
| t1.clear$0(t1); |
| this._service$__$objectClass = F.notifyPropertyChangeHelper(this, C.Symbol_objectClass, this._service$__$objectClass, null); |
| for (t2 = J.get$iterator$ax(classes); t2.moveNext$0();) { |
| cls = t2.get$current(); |
| if (cls.get$superClass() == null) |
| t1.add$1(0, cls); |
| if (J.$eq(cls.get$vmName(), "Object") && J.$eq(cls.get$isPatch(), false)) { |
| t3 = this._service$__$objectClass; |
| if (this.get$hasObservers(this) && !J.$eq(t3, cls)) { |
| t3 = new T.PropertyChangeRecord(this, C.Symbol_objectClass, t3, cls); |
| t3.$builtinTypeInfo = [null]; |
| this.notifyChange$1(this, t3); |
| } |
| this._service$__$objectClass = cls; |
| } |
| } |
| return P._Future$immediate(this._service$__$objectClass, null); |
| }, "call$1", "get$_buildClassHierarchy", 2, 0, 190, 191], |
| getFromMap$1: function(map) { |
| var id, t1, obj; |
| if (map == null) |
| return; |
| id = J.$index$asx(map, "id"); |
| t1 = this._cache; |
| obj = t1.$index(0, id); |
| if (obj != null) |
| return obj; |
| obj = D.ServiceObject_ServiceObject$_fromMap(this, map); |
| if (obj.get$canCache()) |
| t1.$indexSet(0, id, obj); |
| return obj; |
| }, |
| get$1: function(id) { |
| var obj = this._cache.$index(0, id); |
| if (obj != null) |
| return J.reload$0$x(obj); |
| return this._owner.getAsMap$1("/" + H.S(this._id) + "/" + H.S(id)).then$1(new D.Isolate_get_closure(this, id)); |
| }, |
| get$objectClass: function() { |
| return this._service$__$objectClass; |
| }, |
| get$rootLib: function() { |
| return this._service$__$rootLib; |
| }, |
| set$rootLib: function(value) { |
| this._service$__$rootLib = F.notifyPropertyChangeHelper(this, C.Symbol_rootLib, this._service$__$rootLib, value); |
| }, |
| get$libraries: function() { |
| return this._service$__$libraries; |
| }, |
| get$topFrame: function() { |
| return this._service$__$topFrame; |
| }, |
| get$name: function(_) { |
| return this.service$Isolate$_service$__$name; |
| }, |
| set$name: function(_, value) { |
| this.service$Isolate$_service$__$name = F.notifyPropertyChangeHelper(this, C.Symbol_name, this.service$Isolate$_service$__$name, value); |
| }, |
| get$vmName: function() { |
| return this.service$Isolate$_service$__$vmName; |
| }, |
| set$vmName: function(value) { |
| this.service$Isolate$_service$__$vmName = F.notifyPropertyChangeHelper(this, C.Symbol_vmName, this.service$Isolate$_service$__$vmName, value); |
| }, |
| get$mainPort: function() { |
| return this._service$__$mainPort; |
| }, |
| get$entry: function() { |
| return this._service$__$entry; |
| }, |
| set$entry: function(value) { |
| this._service$__$entry = F.notifyPropertyChangeHelper(this, C.Symbol_entry, this._service$__$entry, value); |
| }, |
| get$error: function(_) { |
| return this._service$__$error; |
| }, |
| set$error: function(_, value) { |
| this._service$__$error = F.notifyPropertyChangeHelper(this, C.Symbol_error, this._service$__$error, value); |
| }, |
| updateHeapsFromMap$1: function(map) { |
| var t1 = J.getInterceptor$asx(map); |
| this.newSpace.update$1(t1.$index(map, "new")); |
| this.oldSpace.update$1(t1.$index(map, "old")); |
| }, |
| _service$_update$2: function(_, map, mapIsRef) { |
| var t1, t2, countersMap, names, counts, sum, i, t3, t4, timerMap, features; |
| t1 = J.getInterceptor$asx(map); |
| t2 = t1.$index(map, "mainPort"); |
| this._service$__$mainPort = F.notifyPropertyChangeHelper(this, C.Symbol_mainPort, this._service$__$mainPort, t2); |
| t2 = t1.$index(map, "name"); |
| this.service$Isolate$_service$__$name = F.notifyPropertyChangeHelper(this, C.Symbol_name, this.service$Isolate$_service$__$name, t2); |
| t2 = t1.$index(map, "name"); |
| this.service$Isolate$_service$__$vmName = F.notifyPropertyChangeHelper(this, C.Symbol_vmName, this.service$Isolate$_service$__$vmName, t2); |
| if (mapIsRef) |
| return; |
| this._loaded = true; |
| this._service$__$loading = F.notifyPropertyChangeHelper(this, C.Symbol_loading, this._service$__$loading, false); |
| D._upgradeCollection(map, this); |
| if (t1.$index(map, "rootLib") == null || t1.$index(map, "timers") == null || t1.$index(map, "heaps") == null) { |
| N.Logger_Logger("").severe$1("Malformed 'Isolate' response: " + H.S(map)); |
| return; |
| } |
| t2 = t1.$index(map, "rootLib"); |
| this._service$__$rootLib = F.notifyPropertyChangeHelper(this, C.Symbol_rootLib, this._service$__$rootLib, t2); |
| if (t1.$index(map, "entry") != null) { |
| t2 = t1.$index(map, "entry"); |
| this._service$__$entry = F.notifyPropertyChangeHelper(this, C.Symbol_entry, this._service$__$entry, t2); |
| } |
| if (t1.$index(map, "topFrame") != null) { |
| t2 = t1.$index(map, "topFrame"); |
| this._service$__$topFrame = F.notifyPropertyChangeHelper(this, C.Symbol_topFrame, this._service$__$topFrame, t2); |
| } else |
| this._service$__$topFrame = F.notifyPropertyChangeHelper(this, C.Symbol_topFrame, this._service$__$topFrame, null); |
| countersMap = t1.$index(map, "tagCounters"); |
| if (countersMap != null) { |
| t2 = J.getInterceptor$asx(countersMap); |
| names = t2.$index(countersMap, "names"); |
| counts = t2.$index(countersMap, "counters"); |
| t2 = J.getInterceptor$asx(counts); |
| sum = 0; |
| i = 0; |
| while (true) { |
| t3 = t2.get$length(counts); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (!(i < t3)) |
| break; |
| t3 = t2.$index(counts, i); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| sum += t3; |
| ++i; |
| } |
| t3 = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| t3 = R._toObservableDeep(t3); |
| this._service$__$counters = F.notifyPropertyChangeHelper(this, C.Symbol_counters, this._service$__$counters, t3); |
| if (sum === 0) { |
| t2 = J.getInterceptor$asx(names); |
| i = 0; |
| while (true) { |
| t3 = t2.get$length(names); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (!(i < t3)) |
| break; |
| J.$indexSet$ax(this._service$__$counters, t2.$index(names, i), "0.0%"); |
| ++i; |
| } |
| } else { |
| t3 = J.getInterceptor$asx(names); |
| i = 0; |
| while (true) { |
| t4 = t3.get$length(names); |
| if (typeof t4 !== "number") |
| return H.iae(t4); |
| if (!(i < t4)) |
| break; |
| J.$indexSet$ax(this._service$__$counters, t3.$index(names, i), C.JSNumber_methods.toStringAsFixed$1(J.$div$n(t2.$index(counts, i), sum) * 100, 2) + "%"); |
| ++i; |
| } |
| } |
| } |
| timerMap = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| J.forEach$1$ax(t1.$index(map, "timers"), new D.Isolate__update_closure(timerMap)); |
| t2 = this.timers; |
| t3 = J.getInterceptor$ax(t2); |
| t3.$indexSet(t2, "total", timerMap.$index(0, "time_total_runtime")); |
| t3.$indexSet(t2, "compile", timerMap.$index(0, "time_compilation")); |
| t3.$indexSet(t2, "gc", 0); |
| t3.$indexSet(t2, "init", J.$add$ns(J.$add$ns(J.$add$ns(timerMap.$index(0, "time_script_loading"), timerMap.$index(0, "time_creating_snapshot")), timerMap.$index(0, "time_isolate_initialization")), timerMap.$index(0, "time_bootstrap"))); |
| t3.$indexSet(t2, "dart", timerMap.$index(0, "time_dart_execution")); |
| this.updateHeapsFromMap$1(t1.$index(map, "heaps")); |
| features = t1.$index(map, "features"); |
| if (features != null) |
| for (t2 = J.get$iterator$ax(features); t2.moveNext$0();) |
| if (J.$eq(t2.get$current(), "io")) { |
| t3 = this._service$__$ioEnabled; |
| if (this.get$hasObservers(this) && !J.$eq(t3, true)) { |
| t3 = new T.PropertyChangeRecord(this, C.Symbol_ioEnabled, t3, true); |
| t3.$builtinTypeInfo = [null]; |
| this.notifyChange$1(this, t3); |
| } |
| this._service$__$ioEnabled = true; |
| } |
| t2 = t1.$index(map, "pauseEvent"); |
| t2 = F.notifyPropertyChangeHelper(this, C.Symbol_pauseEvent, this._service$__$pauseEvent, t2); |
| this._service$__$pauseEvent = t2; |
| t2 = t2 == null && t1.$index(map, "topFrame") != null; |
| this._service$__$running = F.notifyPropertyChangeHelper(this, C.Symbol_running, this._service$__$running, t2); |
| t2 = this._service$__$pauseEvent == null && t1.$index(map, "topFrame") == null; |
| this._service$__$idle = F.notifyPropertyChangeHelper(this, C.Symbol_idle, this._service$__$idle, t2); |
| t2 = t1.$index(map, "error"); |
| this._service$__$error = F.notifyPropertyChangeHelper(this, C.Symbol_error, this._service$__$error, t2); |
| t2 = this._service$__$libraries; |
| t2.clear$0(t2); |
| for (t1 = J.get$iterator$ax(t1.$index(map, "libraries")); t1.moveNext$0();) |
| t2.add$1(0, t1.get$current()); |
| t2.sort$1(t2, new D.Isolate__update_closure0()); |
| }, |
| updateTagProfile$0: function() { |
| return this._owner.getAsMap$1("/" + H.S(this._id) + "/profile/tag").then$1(new D.Isolate_updateTagProfile_closure(this)); |
| }, |
| _processProfileTrie$2: function(data, codeTable) { |
| this._trieDataCursor = 0; |
| this._trieData = data; |
| if (data == null) |
| return; |
| if (J.$lt$n(J.get$length$asx(data), 3)) |
| return; |
| return this._readTrieNode$1(codeTable); |
| }, |
| _readTrieNode$1: function(codeTable) { |
| var t1, t2, index, code, count, node, t3, children, i, child; |
| t1 = this._trieData; |
| t2 = this._trieDataCursor; |
| if (typeof t2 !== "number") |
| return t2.$add(); |
| this._trieDataCursor = t2 + 1; |
| index = J.$index$asx(t1, t2); |
| if (index >>> 0 !== index || index >= codeTable.length) |
| return H.ioore(codeTable, index); |
| code = codeTable[index]; |
| t2 = this._trieData; |
| t1 = this._trieDataCursor; |
| if (typeof t1 !== "number") |
| return t1.$add(); |
| this._trieDataCursor = t1 + 1; |
| count = J.$index$asx(t2, t1); |
| t1 = []; |
| t1.$builtinTypeInfo = [D.CodeTrieNode]; |
| node = new D.CodeTrieNode(code, count, t1, 0); |
| t2 = this._trieData; |
| t3 = this._trieDataCursor; |
| if (typeof t3 !== "number") |
| return t3.$add(); |
| this._trieDataCursor = t3 + 1; |
| children = J.$index$asx(t2, t3); |
| if (typeof children !== "number") |
| return H.iae(children); |
| i = 0; |
| for (; i < children; ++i) { |
| child = this._readTrieNode$1(codeTable); |
| t1.push(child); |
| t2 = node.summedChildCount; |
| t3 = child.count; |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| node.summedChildCount = t2 + t3; |
| } |
| return node; |
| }, |
| $isIsolate: true, |
| static: {"^": "Isolate_TAG_ROOT_ID"} |
| }, |
| ServiceObjectOwner_ChangeNotifier0: { |
| "^": "ServiceObjectOwner+ChangeNotifier;", |
| $isObservable: true |
| }, |
| Isolate__resetProfileData_closure: { |
| "^": "Closure:13;", |
| call$1: function(value) { |
| if (!!J.getInterceptor(value).$isCode) { |
| value._service$__$totalSamplesInProfile = F.notifyPropertyChangeHelper(value, C.Symbol_totalSamplesInProfile, value._service$__$totalSamplesInProfile, 0); |
| value.exclusiveTicks = 0; |
| value.inclusiveTicks = 0; |
| value._service$__$formattedInclusiveTicks = F.notifyPropertyChangeHelper(value, C.Symbol_formattedInclusiveTicks, value._service$__$formattedInclusiveTicks, ""); |
| value._service$__$formattedExclusiveTicks = F.notifyPropertyChangeHelper(value, C.Symbol_formattedExclusiveTicks, value._service$__$formattedExclusiveTicks, ""); |
| C.JSArray_methods.set$length(value.callers, 0); |
| C.JSArray_methods.set$length(value.callees, 0); |
| value.addressTicks.clear$0(0); |
| } |
| }, |
| $isFunction: true |
| }, |
| Isolate__processCoverage_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(scriptCoverage) { |
| var t1 = J.getInterceptor$asx(scriptCoverage); |
| t1.$index(scriptCoverage, "script")._processHits$1(t1.$index(scriptCoverage, "hits")); |
| }, "call$1", null, 2, 0, null, 192, "call"], |
| $isFunction: true |
| }, |
| Isolate_get_closure: { |
| "^": "Closure:184;this_0,id_1", |
| call$1: [function(map) { |
| var t1, obj; |
| t1 = this.this_0; |
| obj = D.ServiceObject_ServiceObject$_fromMap(t1, map); |
| if (obj.get$canCache()) |
| t1._cache.putIfAbsent$2(this.id_1, new D.Isolate_get__closure(obj)); |
| return obj; |
| }, "call$1", null, 2, 0, null, 183, "call"], |
| $isFunction: true |
| }, |
| Isolate_get__closure: { |
| "^": "Closure:69;obj_2", |
| call$0: function() { |
| return this.obj_2; |
| }, |
| $isFunction: true |
| }, |
| Isolate__update_closure: { |
| "^": "Closure:13;timerMap_0", |
| call$1: [function(timer) { |
| var t1 = J.getInterceptor$asx(timer); |
| this.timerMap_0.$indexSet(0, t1.$index(timer, "name"), t1.$index(timer, "time")); |
| }, "call$1", null, 2, 0, null, 193, "call"], |
| $isFunction: true |
| }, |
| Isolate__update_closure0: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return J.compareTo$1$ns(J.get$name$x(a), J.get$name$x(b)); |
| }, |
| $isFunction: true |
| }, |
| Isolate_updateTagProfile_closure: { |
| "^": "Closure:184;this_0", |
| call$1: [function(m) { |
| var t1, t2; |
| t1 = Date.now(); |
| new P.DateTime(t1, false).DateTime$_now$0(); |
| t2 = this.this_0.tagProfile; |
| t2._processTagProfile$2(t1 / 1000, m); |
| return t2; |
| }, "call$1", null, 2, 0, null, 145, "call"], |
| $isFunction: true |
| }, |
| ServiceMap: { |
| "^": "ServiceObject;_service$_map,_owner,_id,_serviceType,_loaded,_service$__$name,_service$__$vmName,_inProgressReload,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$canCache: function() { |
| return (J.$eq(this._serviceType, "Class") || J.$eq(this._serviceType, "Function") || J.$eq(this._serviceType, "Field")) && !J.startsWith$1$s(this._id, $.ServiceMap_objectIdRingPrefix); |
| }, |
| get$immutable: function() { |
| return false; |
| }, |
| toString$0: function(_) { |
| return P.Maps_mapToString(this._service$_map); |
| }, |
| _service$_update$2: function(_, map, mapIsRef) { |
| var t1, t2, t3; |
| this._loaded = !mapIsRef; |
| t1 = this._service$_map; |
| t1.clear$0(0); |
| t1.addAll$1(0, map); |
| t2 = t1._observable_map$_map; |
| t3 = t2.$index(0, "user_name"); |
| this._service$__$name = this.notifyPropertyChange$3(0, C.Symbol_name, this._service$__$name, t3); |
| t2 = t2.$index(0, "name"); |
| this._service$__$vmName = this.notifyPropertyChange$3(0, C.Symbol_vmName, this._service$__$vmName, t2); |
| D._upgradeCollection(t1, this._owner); |
| }, |
| addAll$1: function(_, other) { |
| return this._service$_map.addAll$1(0, other); |
| }, |
| clear$0: function(_) { |
| return this._service$_map.clear$0(0); |
| }, |
| forEach$1: function(_, f) { |
| return this._service$_map._observable_map$_map.forEach$1(0, f); |
| }, |
| $index: function(_, k) { |
| return this._service$_map._observable_map$_map.$index(0, k); |
| }, |
| $indexSet: function(_, k, v) { |
| this._service$_map.$indexSet(0, k, v); |
| return v; |
| }, |
| get$isEmpty: function(_) { |
| var t1 = this._service$_map._observable_map$_map; |
| return t1.get$length(t1) === 0; |
| }, |
| get$isNotEmpty: function(_) { |
| var t1 = this._service$_map._observable_map$_map; |
| return t1.get$length(t1) !== 0; |
| }, |
| get$keys: function() { |
| return this._service$_map._observable_map$_map.get$keys(); |
| }, |
| get$values: function(_) { |
| var t1 = this._service$_map._observable_map$_map; |
| return t1.get$values(t1); |
| }, |
| get$length: function(_) { |
| var t1 = this._service$_map._observable_map$_map; |
| return t1.get$length(t1); |
| }, |
| deliverChanges$0: [function(_) { |
| var t1 = this._service$_map; |
| return t1.deliverChanges$0(t1); |
| }, "call$0", "get$deliverChanges", 0, 0, 111], |
| notifyChange$1: function(_, record) { |
| var t1 = this._service$_map; |
| return t1.notifyChange$1(t1, record); |
| }, |
| notifyPropertyChange$3: function(_, field, oldValue, newValue) { |
| return F.notifyPropertyChangeHelper(this._service$_map, field, oldValue, newValue); |
| }, |
| observed$0: [function(_) { |
| return; |
| }, "call$0", "get$observed", 0, 0, 18], |
| unobserved$0: [function(_) { |
| this._service$_map.change_notifier$ChangeNotifier$_changes = null; |
| return; |
| }, "call$0", "get$unobserved", 0, 0, 18], |
| get$changes: function(_) { |
| var t1 = this._service$_map; |
| return t1.get$changes(t1); |
| }, |
| get$hasObservers: function(_) { |
| var t1, t2; |
| t1 = this._service$_map.change_notifier$ChangeNotifier$_changes; |
| if (t1 != null) { |
| t2 = t1._async$_next; |
| t1 = t2 == null ? t1 != null : t2 !== t1; |
| } else |
| t1 = false; |
| return t1; |
| }, |
| $isServiceMap: true, |
| $isObservableMap: true, |
| $asObservableMap: function() { |
| return [null, null]; |
| }, |
| $isMap: true, |
| $asMap: function() { |
| return [null, null]; |
| }, |
| $isObservable: true, |
| static: {"^": "ServiceMap_objectIdRingPrefix"} |
| }, |
| DartError: { |
| "^": "ServiceObject_ChangeNotifier;_service$__$kind,_service$__$message,_service$__$exception,_service$__$stacktrace,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_owner,_id,_serviceType,_loaded,_service$__$name,_service$__$vmName,_inProgressReload,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$kind: function(_) { |
| return this._service$__$kind; |
| }, |
| set$kind: function(_, value) { |
| this._service$__$kind = F.notifyPropertyChangeHelper(this, C.Symbol_kind, this._service$__$kind, value); |
| }, |
| get$message: function(_) { |
| return this._service$__$message; |
| }, |
| get$exception: function(_) { |
| return this._service$__$exception; |
| }, |
| set$exception: function(_, value) { |
| this._service$__$exception = F.notifyPropertyChangeHelper(this, C.Symbol_exception, this._service$__$exception, value); |
| }, |
| _service$_update$2: function(_, map, mapIsRef) { |
| var t1, t2, t3; |
| t1 = J.getInterceptor$asx(map); |
| t2 = t1.$index(map, "kind"); |
| this._service$__$kind = F.notifyPropertyChangeHelper(this, C.Symbol_kind, this._service$__$kind, t2); |
| t2 = t1.$index(map, "message"); |
| this._service$__$message = F.notifyPropertyChangeHelper(this, C.Symbol_message, this._service$__$message, t2); |
| t2 = this._owner; |
| t3 = D.ServiceObject_ServiceObject$_fromMap(t2, t1.$index(map, "exception")); |
| this._service$__$exception = F.notifyPropertyChangeHelper(this, C.Symbol_exception, this._service$__$exception, t3); |
| t1 = D.ServiceObject_ServiceObject$_fromMap(t2, t1.$index(map, "stacktrace")); |
| this._service$__$stacktrace = F.notifyPropertyChangeHelper(this, C.Symbol_stacktrace, this._service$__$stacktrace, t1); |
| t1 = "DartError " + H.S(this._service$__$kind); |
| t1 = this.notifyPropertyChange$3(this, C.Symbol_name, this._service$__$name, t1); |
| this._service$__$name = t1; |
| this._service$__$vmName = this.notifyPropertyChange$3(this, C.Symbol_vmName, this._service$__$vmName, t1); |
| } |
| }, |
| ServiceObject_ChangeNotifier: { |
| "^": "ServiceObject+ChangeNotifier;", |
| $isObservable: true |
| }, |
| ServiceError: { |
| "^": "ServiceObject_ChangeNotifier0;_service$__$kind,_service$__$message,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_owner,_id,_serviceType,_loaded,_service$__$name,_service$__$vmName,_inProgressReload,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$kind: function(_) { |
| return this._service$__$kind; |
| }, |
| set$kind: function(_, value) { |
| this._service$__$kind = F.notifyPropertyChangeHelper(this, C.Symbol_kind, this._service$__$kind, value); |
| }, |
| get$message: function(_) { |
| return this._service$__$message; |
| }, |
| _service$_update$2: function(_, map, mapIsRef) { |
| var t1, t2; |
| this._loaded = true; |
| t1 = J.getInterceptor$asx(map); |
| t2 = t1.$index(map, "kind"); |
| this._service$__$kind = F.notifyPropertyChangeHelper(this, C.Symbol_kind, this._service$__$kind, t2); |
| t1 = t1.$index(map, "message"); |
| this._service$__$message = F.notifyPropertyChangeHelper(this, C.Symbol_message, this._service$__$message, t1); |
| t1 = "ServiceError " + H.S(this._service$__$kind); |
| t1 = this.notifyPropertyChange$3(this, C.Symbol_name, this._service$__$name, t1); |
| this._service$__$name = t1; |
| this._service$__$vmName = this.notifyPropertyChange$3(this, C.Symbol_vmName, this._service$__$vmName, t1); |
| }, |
| $isServiceError: true |
| }, |
| ServiceObject_ChangeNotifier0: { |
| "^": "ServiceObject+ChangeNotifier;", |
| $isObservable: true |
| }, |
| ServiceException: { |
| "^": "ServiceObject_ChangeNotifier1;_service$__$kind,_service$__$message,_service$__$response,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_owner,_id,_serviceType,_loaded,_service$__$name,_service$__$vmName,_inProgressReload,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$kind: function(_) { |
| return this._service$__$kind; |
| }, |
| set$kind: function(_, value) { |
| this._service$__$kind = F.notifyPropertyChangeHelper(this, C.Symbol_kind, this._service$__$kind, value); |
| }, |
| get$message: function(_) { |
| return this._service$__$message; |
| }, |
| get$response: function(_) { |
| return this._service$__$response; |
| }, |
| _service$_update$2: function(_, map, mapIsRef) { |
| var t1, t2; |
| t1 = J.getInterceptor$asx(map); |
| t2 = t1.$index(map, "kind"); |
| this._service$__$kind = F.notifyPropertyChangeHelper(this, C.Symbol_kind, this._service$__$kind, t2); |
| t2 = t1.$index(map, "message"); |
| this._service$__$message = F.notifyPropertyChangeHelper(this, C.Symbol_message, this._service$__$message, t2); |
| t1 = t1.$index(map, "response"); |
| this._service$__$response = F.notifyPropertyChangeHelper(this, C.Symbol_response, this._service$__$response, t1); |
| t1 = "ServiceException " + H.S(this._service$__$kind); |
| t1 = this.notifyPropertyChange$3(this, C.Symbol_name, this._service$__$name, t1); |
| this._service$__$name = t1; |
| this._service$__$vmName = this.notifyPropertyChange$3(this, C.Symbol_vmName, this._service$__$vmName, t1); |
| }, |
| $isServiceException: true |
| }, |
| ServiceObject_ChangeNotifier1: { |
| "^": "ServiceObject+ChangeNotifier;", |
| $isObservable: true |
| }, |
| Library: { |
| "^": "ServiceObject_ChangeNotifier2;_service$__$url,imports<,scripts<,classes>,variables<,functions<,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_owner,_id,_serviceType,_loaded,_service$__$name,_service$__$vmName,_inProgressReload,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$url: function(_) { |
| return this._service$__$url; |
| }, |
| get$canCache: function() { |
| return true; |
| }, |
| get$immutable: function() { |
| return false; |
| }, |
| _service$_update$2: function(_, map, mapIsRef) { |
| var t1, t2, shortUrl, t3, t4; |
| t1 = J.getInterceptor$asx(map); |
| t2 = t1.$index(map, "url"); |
| shortUrl = F.notifyPropertyChangeHelper(this, C.Symbol_url, this._service$__$url, t2); |
| this._service$__$url = shortUrl; |
| if (J.startsWith$1$s(shortUrl, "file://") || J.startsWith$1$s(this._service$__$url, "http://")) { |
| t2 = this._service$__$url; |
| t3 = J.getInterceptor$asx(t2); |
| t4 = t3.lastIndexOf$1(t2, "/"); |
| if (typeof t4 !== "number") |
| return t4.$add(); |
| shortUrl = t3.substring$1(t2, t4 + 1); |
| } |
| t2 = t1.$index(map, "user_name"); |
| t2 = this.notifyPropertyChange$3(this, C.Symbol_name, this._service$__$name, t2); |
| this._service$__$name = t2; |
| if (J.get$isEmpty$asx(t2) === true) |
| this._service$__$name = this.notifyPropertyChange$3(this, C.Symbol_name, this._service$__$name, shortUrl); |
| t2 = t1.$index(map, "name"); |
| this._service$__$vmName = this.notifyPropertyChange$3(this, C.Symbol_vmName, this._service$__$vmName, t2); |
| if (mapIsRef) |
| return; |
| this._loaded = true; |
| t2 = this._owner; |
| D._upgradeCollection(map, t2.get$isolate(t2)); |
| t2 = this.imports; |
| t2.clear$0(t2); |
| t2.addAll$1(0, t1.$index(map, "imports")); |
| t2 = this.scripts; |
| t2.clear$0(t2); |
| t2.addAll$1(0, t1.$index(map, "scripts")); |
| t2 = this.classes; |
| t2.clear$0(t2); |
| t2.addAll$1(0, t1.$index(map, "classes")); |
| t2 = this.variables; |
| t2.clear$0(t2); |
| t2.addAll$1(0, t1.$index(map, "variables")); |
| t2 = this.functions; |
| t2.clear$0(t2); |
| t2.addAll$1(0, t1.$index(map, "functions")); |
| }, |
| $isLibrary: true |
| }, |
| ServiceObject_ChangeNotifier2: { |
| "^": "ServiceObject+ChangeNotifier;", |
| $isObservable: true |
| }, |
| AllocationCount: { |
| "^": "ChangeNotifier;_service$__$instances,_service$__$bytes,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$instances: function(_) { |
| return this._service$__$instances; |
| }, |
| set$instances: function(_, value) { |
| this._service$__$instances = F.notifyPropertyChangeHelper(this, C.Symbol_instances, this._service$__$instances, value); |
| }, |
| get$bytes: function() { |
| return this._service$__$bytes; |
| } |
| }, |
| Allocations: { |
| "^": "Object;accumulated<,current<", |
| update$1: function(stats) { |
| var t1, t2, t3; |
| t1 = this.accumulated; |
| t2 = J.getInterceptor$asx(stats); |
| t3 = t2.$index(stats, 6); |
| t1._service$__$instances = F.notifyPropertyChangeHelper(t1, C.Symbol_instances, t1._service$__$instances, t3); |
| t3 = t2.$index(stats, 7); |
| t1._service$__$bytes = F.notifyPropertyChangeHelper(t1, C.Symbol_bytes, t1._service$__$bytes, t3); |
| t3 = this.current; |
| t1 = J.$add$ns(t2.$index(stats, 2), t2.$index(stats, 4)); |
| t3._service$__$instances = F.notifyPropertyChangeHelper(t3, C.Symbol_instances, t3._service$__$instances, t1); |
| t2 = J.$add$ns(t2.$index(stats, 3), t2.$index(stats, 5)); |
| t3._service$__$bytes = F.notifyPropertyChangeHelper(t3, C.Symbol_bytes, t3._service$__$bytes, t2); |
| }, |
| static: {"^": "Allocations_ALLOCATED_BEFORE_GC,Allocations_ALLOCATED_BEFORE_GC_SIZE,Allocations_LIVE_AFTER_GC,Allocations_LIVE_AFTER_GC_SIZE,Allocations_ALLOCATED_SINCE_GC,Allocations_ALLOCATED_SINCE_GC_SIZE,Allocations_ACCUMULATED,Allocations_ACCUMULATED_SIZE"} |
| }, |
| Class: { |
| "^": "ServiceObject_ChangeNotifier3;_service$__$library,_service$__$script,_service$__$superClass,_service$__$isAbstract,_service$__$isConst,_service$__$isFinalized,_service$__$isPatch,_service$__$isImplemented,_service$__$tokenPos,_service$__$error,newSpace<,oldSpace<,children>,subClasses<,fields<,functions<,interfaces<,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_owner,_id,_serviceType,_loaded,_service$__$name,_service$__$vmName,_inProgressReload,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$library: function(_) { |
| return this._service$__$library; |
| }, |
| set$library: function(_, value) { |
| this._service$__$library = F.notifyPropertyChangeHelper(this, C.Symbol_library, this._service$__$library, value); |
| }, |
| get$script: function(_) { |
| return this._service$__$script; |
| }, |
| set$script: function(_, value) { |
| this._service$__$script = F.notifyPropertyChangeHelper(this, C.Symbol_script, this._service$__$script, value); |
| }, |
| get$superClass: function() { |
| return this._service$__$superClass; |
| }, |
| set$superClass: function(value) { |
| this._service$__$superClass = F.notifyPropertyChangeHelper(this, C.Symbol_superClass, this._service$__$superClass, value); |
| }, |
| get$isAbstract: function() { |
| return this._service$__$isAbstract; |
| }, |
| get$isPatch: function() { |
| return this._service$__$isPatch; |
| }, |
| get$tokenPos: function() { |
| return this._service$__$tokenPos; |
| }, |
| set$tokenPos: function(value) { |
| this._service$__$tokenPos = F.notifyPropertyChangeHelper(this, C.Symbol_tokenPos, this._service$__$tokenPos, value); |
| }, |
| get$error: function(_) { |
| return this._service$__$error; |
| }, |
| set$error: function(_, value) { |
| this._service$__$error = F.notifyPropertyChangeHelper(this, C.Symbol_error, this._service$__$error, value); |
| }, |
| get$hasNoAllocations: function() { |
| var t1, t2; |
| t1 = this.newSpace; |
| t2 = t1.accumulated; |
| if (J.$eq(t2._service$__$instances, 0) && J.$eq(t2._service$__$bytes, 0)) { |
| t1 = t1.current; |
| t1 = J.$eq(t1._service$__$instances, 0) && J.$eq(t1._service$__$bytes, 0); |
| } else |
| t1 = false; |
| if (t1) { |
| t1 = this.oldSpace; |
| t2 = t1.accumulated; |
| if (J.$eq(t2._service$__$instances, 0) && J.$eq(t2._service$__$bytes, 0)) { |
| t1 = t1.current; |
| t1 = J.$eq(t1._service$__$instances, 0) && J.$eq(t1._service$__$bytes, 0); |
| } else |
| t1 = false; |
| } else |
| t1 = false; |
| return t1; |
| }, |
| get$canCache: function() { |
| return true; |
| }, |
| get$immutable: function() { |
| return false; |
| }, |
| toString$0: function(_) { |
| return "Service Class: " + H.S(this._service$__$vmName); |
| }, |
| _service$_update$2: function(_, map, mapIsRef) { |
| var t1, t2, allocationStats; |
| t1 = J.getInterceptor$asx(map); |
| t2 = t1.$index(map, "user_name"); |
| this._service$__$name = this.notifyPropertyChange$3(this, C.Symbol_name, this._service$__$name, t2); |
| t2 = t1.$index(map, "name"); |
| this._service$__$vmName = this.notifyPropertyChange$3(this, C.Symbol_vmName, this._service$__$vmName, t2); |
| if (mapIsRef) |
| return; |
| this._loaded = true; |
| t2 = this._owner; |
| D._upgradeCollection(map, t2.get$isolate(t2)); |
| if (!!J.getInterceptor(t1.$index(map, "library")).$isLibrary) { |
| t2 = t1.$index(map, "library"); |
| this._service$__$library = F.notifyPropertyChangeHelper(this, C.Symbol_library, this._service$__$library, t2); |
| } else |
| this._service$__$library = F.notifyPropertyChangeHelper(this, C.Symbol_library, this._service$__$library, null); |
| t2 = t1.$index(map, "script"); |
| this._service$__$script = F.notifyPropertyChangeHelper(this, C.Symbol_script, this._service$__$script, t2); |
| t2 = t1.$index(map, "abstract"); |
| this._service$__$isAbstract = F.notifyPropertyChangeHelper(this, C.Symbol_isAbstract, this._service$__$isAbstract, t2); |
| t2 = t1.$index(map, "const"); |
| this._service$__$isConst = F.notifyPropertyChangeHelper(this, C.Symbol_isConst, this._service$__$isConst, t2); |
| t2 = t1.$index(map, "finalized"); |
| this._service$__$isFinalized = F.notifyPropertyChangeHelper(this, C.Symbol_isFinalized, this._service$__$isFinalized, t2); |
| t2 = t1.$index(map, "patch"); |
| this._service$__$isPatch = F.notifyPropertyChangeHelper(this, C.Symbol_isPatch, this._service$__$isPatch, t2); |
| t2 = t1.$index(map, "implemented"); |
| this._service$__$isImplemented = F.notifyPropertyChangeHelper(this, C.Symbol_isImplemented, this._service$__$isImplemented, t2); |
| t2 = t1.$index(map, "tokenPos"); |
| this._service$__$tokenPos = F.notifyPropertyChangeHelper(this, C.Symbol_tokenPos, this._service$__$tokenPos, t2); |
| t2 = this.subClasses; |
| t2.clear$0(t2); |
| t2.addAll$1(0, t1.$index(map, "subclasses")); |
| t2 = this.fields; |
| t2.clear$0(t2); |
| t2.addAll$1(0, t1.$index(map, "fields")); |
| t2 = this.functions; |
| t2.clear$0(t2); |
| t2.addAll$1(0, t1.$index(map, "functions")); |
| t2 = t1.$index(map, "super"); |
| t2 = F.notifyPropertyChangeHelper(this, C.Symbol_superClass, this._service$__$superClass, t2); |
| this._service$__$superClass = t2; |
| if (t2 != null) |
| t2._addToChildren$1(this); |
| t2 = t1.$index(map, "error"); |
| this._service$__$error = F.notifyPropertyChangeHelper(this, C.Symbol_error, this._service$__$error, t2); |
| allocationStats = t1.$index(map, "allocationStats"); |
| if (allocationStats != null) { |
| t1 = J.getInterceptor$asx(allocationStats); |
| this.newSpace.update$1(t1.$index(allocationStats, "new")); |
| this.oldSpace.update$1(t1.$index(allocationStats, "old")); |
| } |
| }, |
| _addToChildren$1: function(cls) { |
| var t1 = this.children; |
| if (t1.contains$1(t1, cls)) |
| return; |
| t1.add$1(0, cls); |
| }, |
| get$1: function(command) { |
| var t1 = this._owner; |
| return t1.get$isolate(t1).get$1(J.$add$ns(this._id, "/" + H.S(command))); |
| }, |
| $isClass: true |
| }, |
| ServiceObject_ChangeNotifier3: { |
| "^": "ServiceObject+ChangeNotifier;", |
| $isObservable: true |
| }, |
| ScriptLine: { |
| "^": "ChangeNotifier;line<,text>,_service$__$hits,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$hits: function() { |
| return this._service$__$hits; |
| }, |
| set$hits: function(value) { |
| this._service$__$hits = F.notifyPropertyChangeHelper(this, C.Symbol_hits, this._service$__$hits, value); |
| }, |
| $isScriptLine: true |
| }, |
| Script: { |
| "^": "ServiceObject_ChangeNotifier4;lines>,_hits,_service$__$kind,_service$__$firstTokenPos,_service$__$lastTokenPos,_shortUrl,_url,_tokenToLine,_tokenToCol,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_owner,_id,_serviceType,_loaded,_service$__$name,_service$__$vmName,_inProgressReload,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$kind: function(_) { |
| return this._service$__$kind; |
| }, |
| set$kind: function(_, value) { |
| this._service$__$kind = F.notifyPropertyChangeHelper(this, C.Symbol_kind, this._service$__$kind, value); |
| }, |
| get$firstTokenPos: function() { |
| return this._service$__$firstTokenPos; |
| }, |
| set$firstTokenPos: function(value) { |
| var t1 = this._service$__$firstTokenPos; |
| if (this.get$hasObservers(this) && !J.$eq(t1, value)) { |
| t1 = new T.PropertyChangeRecord(this, C.Symbol_firstTokenPos, t1, value); |
| t1.$builtinTypeInfo = [null]; |
| this.notifyChange$1(this, t1); |
| } |
| this._service$__$firstTokenPos = value; |
| }, |
| get$lastTokenPos: function() { |
| return this._service$__$lastTokenPos; |
| }, |
| set$lastTokenPos: function(value) { |
| var t1 = this._service$__$lastTokenPos; |
| if (this.get$hasObservers(this) && !J.$eq(t1, value)) { |
| t1 = new T.PropertyChangeRecord(this, C.Symbol_lastTokenPos, t1, value); |
| t1.$builtinTypeInfo = [null]; |
| this.notifyChange$1(this, t1); |
| } |
| this._service$__$lastTokenPos = value; |
| }, |
| get$canCache: function() { |
| return true; |
| }, |
| get$immutable: function() { |
| return true; |
| }, |
| getLine$1: function(line) { |
| var t1, t2; |
| t1 = J.$sub$n(line, 1); |
| t2 = this.lines._observable_list$_list; |
| if (t1 >>> 0 !== t1 || t1 >= t2.length) |
| return H.ioore(t2, t1); |
| return t2[t1]; |
| }, |
| tokenToLine$1: function(token) { |
| return this._tokenToLine.$index(0, token); |
| }, |
| _service$_update$2: function(_, map, mapIsRef) { |
| var t1, t2, t3, t4; |
| t1 = J.getInterceptor$asx(map); |
| t2 = t1.$index(map, "kind"); |
| this._service$__$kind = F.notifyPropertyChangeHelper(this, C.Symbol_kind, this._service$__$kind, t2); |
| t2 = t1.$index(map, "name"); |
| this._url = t2; |
| t3 = J.getInterceptor$asx(t2); |
| t4 = t3.lastIndexOf$1(t2, "/"); |
| if (typeof t4 !== "number") |
| return t4.$add(); |
| t4 = t3.substring$1(t2, t4 + 1); |
| this._shortUrl = t4; |
| this._service$__$name = this.notifyPropertyChange$3(this, C.Symbol_name, this._service$__$name, t4); |
| t4 = this._url; |
| this._service$__$vmName = this.notifyPropertyChange$3(this, C.Symbol_vmName, this._service$__$vmName, t4); |
| this._processSource$1(t1.$index(map, "source")); |
| this._parseTokenPosTable$1(t1.$index(map, "tokenPosTable")); |
| }, |
| _parseTokenPosTable$1: function(table) { |
| var t1, line, t2, lineNumber, pos, t3, tokenOffset, colNumber, t4; |
| if (table == null) |
| return; |
| this._tokenToLine = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| this._tokenToCol = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| this._service$__$firstTokenPos = F.notifyPropertyChangeHelper(this, C.Symbol_firstTokenPos, this._service$__$firstTokenPos, null); |
| this._service$__$lastTokenPos = F.notifyPropertyChangeHelper(this, C.Symbol_lastTokenPos, this._service$__$lastTokenPos, null); |
| for (t1 = J.get$iterator$ax(table); t1.moveNext$0();) { |
| line = t1.get$current(); |
| t2 = J.getInterceptor$asx(line); |
| lineNumber = t2.$index(line, 0); |
| pos = 1; |
| while (true) { |
| t3 = t2.get$length(line); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (!(pos < t3)) |
| break; |
| tokenOffset = t2.$index(line, pos); |
| colNumber = t2.$index(line, pos + 1); |
| t3 = this._service$__$firstTokenPos; |
| if (t3 == null) { |
| if (this.get$hasObservers(this) && !J.$eq(t3, tokenOffset)) { |
| t3 = new T.PropertyChangeRecord(this, C.Symbol_firstTokenPos, t3, tokenOffset); |
| t3.$builtinTypeInfo = [null]; |
| this.notifyChange$1(this, t3); |
| } |
| this._service$__$firstTokenPos = tokenOffset; |
| t3 = this._service$__$lastTokenPos; |
| if (this.get$hasObservers(this) && !J.$eq(t3, tokenOffset)) { |
| t3 = new T.PropertyChangeRecord(this, C.Symbol_lastTokenPos, t3, tokenOffset); |
| t3.$builtinTypeInfo = [null]; |
| this.notifyChange$1(this, t3); |
| } |
| this._service$__$lastTokenPos = tokenOffset; |
| } else { |
| t3 = J.$le$n(t3, tokenOffset) ? this._service$__$firstTokenPos : tokenOffset; |
| t4 = this._service$__$firstTokenPos; |
| if (this.get$hasObservers(this) && !J.$eq(t4, t3)) { |
| t4 = new T.PropertyChangeRecord(this, C.Symbol_firstTokenPos, t4, t3); |
| t4.$builtinTypeInfo = [null]; |
| this.notifyChange$1(this, t4); |
| } |
| this._service$__$firstTokenPos = t3; |
| t3 = J.$ge$n(this._service$__$lastTokenPos, tokenOffset) ? this._service$__$lastTokenPos : tokenOffset; |
| t4 = this._service$__$lastTokenPos; |
| if (this.get$hasObservers(this) && !J.$eq(t4, t3)) { |
| t4 = new T.PropertyChangeRecord(this, C.Symbol_lastTokenPos, t4, t3); |
| t4.$builtinTypeInfo = [null]; |
| this.notifyChange$1(this, t4); |
| } |
| this._service$__$lastTokenPos = t3; |
| } |
| this._tokenToLine.$indexSet(0, tokenOffset, lineNumber); |
| this._tokenToCol.$indexSet(0, tokenOffset, colNumber); |
| pos += 2; |
| } |
| } |
| }, |
| _processHits$1: function(scriptHits) { |
| var t1, t2, i, t3, line, hit, oldHits; |
| t1 = J.getInterceptor$asx(scriptHits); |
| t2 = this._hits; |
| i = 0; |
| while (true) { |
| t3 = t1.get$length(scriptHits); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (!(i < t3)) |
| break; |
| line = t1.$index(scriptHits, i); |
| hit = t1.$index(scriptHits, i + 1); |
| oldHits = t2.$index(0, line); |
| t2.$indexSet(0, line, oldHits != null ? J.$add$ns(hit, oldHits) : hit); |
| i += 2; |
| } |
| this._applyHitsToLines$0(); |
| }, |
| _processSource$1: function(source) { |
| var sourceLines, t1, i, i0; |
| this._loaded = false; |
| if (source == null) |
| return; |
| sourceLines = J.split$1$s(source, "\n"); |
| if (sourceLines.length === 0) |
| return; |
| this._loaded = true; |
| t1 = this.lines; |
| t1.clear$0(t1); |
| N.Logger_Logger("").info$1("Adding " + sourceLines.length + " source lines for " + H.S(this._url)); |
| for (i = 0; i < sourceLines.length; i = i0) { |
| i0 = i + 1; |
| t1.add$1(0, new D.ScriptLine(i0, sourceLines[i], null, null, null)); |
| } |
| this._applyHitsToLines$0(); |
| }, |
| _applyHitsToLines$0: function() { |
| var t1, t2, line; |
| t1 = this.lines; |
| if (t1._observable_list$_list.length === 0) |
| return; |
| for (t1 = t1.get$iterator(t1), t2 = this._hits; t1.moveNext$0();) { |
| line = t1._current; |
| line.set$hits(t2.$index(0, line.get$line())); |
| } |
| }, |
| $isScript: true |
| }, |
| ServiceObject_ChangeNotifier4: { |
| "^": "ServiceObject+ChangeNotifier;", |
| $isObservable: true |
| }, |
| CodeTick: { |
| "^": "Object;address<,exclusiveTicks<,inclusiveTicks<", |
| $isCodeTick: true |
| }, |
| PcDescriptor: { |
| "^": "ChangeNotifier;address<,deoptId,tokenPos<,tryIndex,kind>,_service$__$script,_service$__$formattedLine,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$script: function(_) { |
| return this._service$__$script; |
| }, |
| set$script: function(_, value) { |
| this._service$__$script = F.notifyPropertyChangeHelper(this, C.Symbol_script, this._service$__$script, value); |
| }, |
| get$formattedLine: function() { |
| return this._service$__$formattedLine; |
| }, |
| formattedDeoptId$0: [function() { |
| var t1, t2; |
| t1 = this.deoptId; |
| t2 = J.getInterceptor(t1); |
| if (t2.$eq(t1, -1)) |
| return "N/A"; |
| return t2.toString$0(t1); |
| }, "call$0", "get$formattedDeoptId", 0, 0, 194], |
| processScript$1: function(script) { |
| var t1, line; |
| this._service$__$script = F.notifyPropertyChangeHelper(this, C.Symbol_script, this._service$__$script, null); |
| t1 = this.tokenPos; |
| if (J.$eq(t1, -1)) |
| return; |
| line = script.tokenToLine$1(t1); |
| if (line == null) |
| return; |
| this._service$__$script = F.notifyPropertyChangeHelper(this, C.Symbol_script, this._service$__$script, script); |
| t1 = J.get$text$x(script.getLine$1(line)); |
| this._service$__$formattedLine = F.notifyPropertyChangeHelper(this, C.Symbol_formattedLine, this._service$__$formattedLine, t1); |
| }, |
| $isPcDescriptor: true |
| }, |
| CodeInstruction: { |
| "^": "ChangeNotifier;address<,machine,human<,_service$__$jumpTarget,descriptors<,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$jumpTarget: function() { |
| return this._service$__$jumpTarget; |
| }, |
| get$isComment: function() { |
| return J.$eq(this.address, 0); |
| }, |
| get$hasDescriptors: function() { |
| return this.descriptors._observable_list$_list.length > 0; |
| }, |
| formattedAddress$0: [function() { |
| var t1, t2; |
| t1 = this.address; |
| t2 = J.getInterceptor(t1); |
| if (t2.$eq(t1, 0)) |
| return ""; |
| return "0x" + t2.toRadixString$1(t1, 16); |
| }, "call$0", "get$formattedAddress", 0, 0, 194], |
| formattedInclusive$1: [function(code) { |
| var tick; |
| if (code == null) |
| return ""; |
| tick = code.get$addressTicks()._observable_map$_map.$index(0, this.address); |
| if (tick == null) |
| return ""; |
| if (J.$eq(tick.get$inclusiveTicks(), tick.get$exclusiveTicks())) |
| return ""; |
| return D.CodeInstruction_formatPercent(tick.get$inclusiveTicks(), code.get$totalSamplesInProfile()) + " (" + H.S(tick.get$inclusiveTicks()) + ")"; |
| }, "call$1", "get$formattedInclusive", 2, 0, 195, 71], |
| formattedExclusive$1: [function(code) { |
| var tick; |
| if (code == null) |
| return ""; |
| tick = code.get$addressTicks()._observable_map$_map.$index(0, this.address); |
| if (tick == null) |
| return ""; |
| return D.CodeInstruction_formatPercent(tick.get$exclusiveTicks(), code.get$totalSamplesInProfile()) + " (" + H.S(tick.get$exclusiveTicks()) + ")"; |
| }, "call$1", "get$formattedExclusive", 2, 0, 195, 71], |
| _getJumpAddress$0: function() { |
| var address, chunks, t1, exception; |
| chunks = J.split$1$s(this.human, " "); |
| t1 = chunks.length; |
| if (t1 !== 2) |
| return 0; |
| if (1 >= t1) |
| return H.ioore(chunks, 1); |
| address = chunks[1]; |
| if (J.startsWith$1$s(address, "0x")) |
| address = J.substring$1$s(address, 2); |
| try { |
| t1 = H.Primitives_parseInt(address, 16, null); |
| return t1; |
| } catch (exception) { |
| H.unwrapException(exception); |
| return 0; |
| } |
| |
| }, |
| _resolveJumpTarget$1: function(instructions) { |
| var t1, address, t2, i, instruction; |
| t1 = this.human; |
| if (!J.startsWith$1$s(t1, "j")) |
| return; |
| address = this._getJumpAddress$0(); |
| t2 = J.getInterceptor(address); |
| if (t2.$eq(address, 0)) { |
| P.print("Could not determine jump address for " + H.S(t1)); |
| return; |
| } |
| for (t1 = instructions._observable_list$_list, i = 0; i < t1.length; ++i) { |
| instruction = t1[i]; |
| if (J.$eq(instruction.get$address(), address)) { |
| t1 = this._service$__$jumpTarget; |
| if (this.get$hasObservers(this) && !J.$eq(t1, instruction)) { |
| t1 = new T.PropertyChangeRecord(this, C.Symbol_jumpTarget, t1, instruction); |
| t1.$builtinTypeInfo = [null]; |
| this.notifyChange$1(this, t1); |
| } |
| this._service$__$jumpTarget = instruction; |
| return; |
| } |
| } |
| P.print("Could not find instruction at " + t2.toRadixString$1(address, 16)); |
| }, |
| $isCodeInstruction: true, |
| static: {CodeInstruction_formatPercent: function(a, total) { |
| return C.JSNumber_methods.toStringAsFixed$1(100 * J.$div$n(a, total), 2) + "%"; |
| }} |
| }, |
| CodeKind: { |
| "^": "Object;_service$_value", |
| toString$0: function(_) { |
| return this._service$_value; |
| }, |
| static: {"^": "CodeKind_Native0,CodeKind_Dart0,CodeKind_Collected0,CodeKind_Reused0,CodeKind_Tag0", CodeKind_fromString: function(s) { |
| var t1 = J.getInterceptor(s); |
| if (t1.$eq(s, "Native")) |
| return C.CodeKind_Native; |
| else if (t1.$eq(s, "Dart")) |
| return C.CodeKind_Dart; |
| else if (t1.$eq(s, "Collected")) |
| return C.CodeKind_Collected; |
| else if (t1.$eq(s, "Reused")) |
| return C.CodeKind_Reused; |
| else if (t1.$eq(s, "Tag")) |
| return C.CodeKind_Tag; |
| N.Logger_Logger("").warning$1("Unknown code kind " + H.S(s)); |
| throw H.wrapException(P.FallThroughError$()); |
| }} |
| }, |
| CodeCallCount: { |
| "^": "Object;code>,count<", |
| $isCodeCallCount: true |
| }, |
| CodeTrieNode: { |
| "^": "Object;code>,count<,children>,summedChildCount", |
| $isCodeTrieNode: true |
| }, |
| Code: { |
| "^": "ServiceObject_ChangeNotifier5;_service$__$kind,_service$__$totalSamplesInProfile,exclusiveTicks<,inclusiveTicks<,startAddress,endAddress,callers,callees,instructions<,addressTicks<,_service$__$formattedInclusiveTicks,_service$__$formattedExclusiveTicks,_service$__$objectPool,_service$__$function,_service$__$script,_service$__$isOptimized,name*,vmName@,_service$__$hasDisassembly,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_owner,_id,_serviceType,_loaded,_service$__$name,_service$__$vmName,_inProgressReload,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$kind: function(_) { |
| return this._service$__$kind; |
| }, |
| set$kind: function(_, value) { |
| this._service$__$kind = F.notifyPropertyChangeHelper(this, C.Symbol_kind, this._service$__$kind, value); |
| }, |
| get$totalSamplesInProfile: function() { |
| return this._service$__$totalSamplesInProfile; |
| }, |
| get$formattedInclusiveTicks: function() { |
| return this._service$__$formattedInclusiveTicks; |
| }, |
| get$formattedExclusiveTicks: function() { |
| return this._service$__$formattedExclusiveTicks; |
| }, |
| get$objectPool: function() { |
| return this._service$__$objectPool; |
| }, |
| set$objectPool: function(value) { |
| this._service$__$objectPool = F.notifyPropertyChangeHelper(this, C.Symbol_objectPool, this._service$__$objectPool, value); |
| }, |
| get$$function: function(_) { |
| return this._service$__$function; |
| }, |
| set$$function: function(_, value) { |
| this._service$__$function = F.notifyPropertyChangeHelper(this, C.Symbol_function, this._service$__$function, value); |
| }, |
| get$script: function(_) { |
| return this._service$__$script; |
| }, |
| set$script: function(_, value) { |
| this._service$__$script = F.notifyPropertyChangeHelper(this, C.Symbol_script, this._service$__$script, value); |
| }, |
| get$isOptimized: function() { |
| return this._service$__$isOptimized; |
| }, |
| get$canCache: function() { |
| return true; |
| }, |
| get$immutable: function() { |
| return true; |
| }, |
| _updateDescriptors$1: [function(script) { |
| var t1, t2; |
| this._service$__$script = F.notifyPropertyChangeHelper(this, C.Symbol_script, this._service$__$script, script); |
| for (t1 = this.instructions, t1 = t1.get$iterator(t1); t1.moveNext$0();) |
| for (t2 = t1._current.get$descriptors(), t2 = t2.get$iterator(t2); t2.moveNext$0();) |
| t2._current.processScript$1(script); |
| }, "call$1", "get$_updateDescriptors", 2, 0, 196, 197], |
| loadScript$0: function() { |
| if (this._service$__$script != null) |
| return; |
| if (!J.$eq(this._service$__$kind, C.CodeKind_Dart)) |
| return; |
| var t1 = this._service$__$function; |
| if (t1 == null) |
| return; |
| if (J.$index$asx(t1, "script") == null) { |
| J.load$0$x(this._service$__$function).then$1(new D.Code_loadScript_closure(this)); |
| return; |
| } |
| J.load$0$x(J.$index$asx(this._service$__$function, "script")).then$1(this.get$_updateDescriptors()); |
| }, |
| reload$0: function(_) { |
| if (J.$eq(this._service$__$kind, C.CodeKind_Dart)) |
| return D.ServiceObject.prototype.reload$0.call(this, this); |
| return P._Future$immediate(this, null); |
| }, |
| _resolveCalls$3: function(calls, data, codes) { |
| var t1, i, t2, index, count; |
| t1 = J.getInterceptor$asx(data); |
| i = 0; |
| while (true) { |
| t2 = t1.get$length(data); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| if (!(i < t2)) |
| break; |
| index = H.Primitives_parseInt(t1.$index(data, i), null, null); |
| count = H.Primitives_parseInt(t1.$index(data, i + 1), null, null); |
| if (index >>> 0 !== index || index >= codes.length) |
| return H.ioore(codes, index); |
| calls.push(new D.CodeCallCount(codes[index], count)); |
| i += 2; |
| } |
| H.IterableMixinWorkaround_sortList(calls, new D.Code__resolveCalls_closure()); |
| }, |
| updateProfileData$3: function(profileData, codeTable, sampleCount) { |
| var t1, ticks; |
| this._service$__$totalSamplesInProfile = F.notifyPropertyChangeHelper(this, C.Symbol_totalSamplesInProfile, this._service$__$totalSamplesInProfile, sampleCount); |
| t1 = J.getInterceptor$asx(profileData); |
| this.inclusiveTicks = H.Primitives_parseInt(t1.$index(profileData, "inclusive_ticks"), null, null); |
| this.exclusiveTicks = H.Primitives_parseInt(t1.$index(profileData, "exclusive_ticks"), null, null); |
| this._resolveCalls$3(this.callers, t1.$index(profileData, "callers"), codeTable); |
| this._resolveCalls$3(this.callees, t1.$index(profileData, "callees"), codeTable); |
| ticks = t1.$index(profileData, "ticks"); |
| if (ticks != null) |
| this._processTicks$1(ticks); |
| t1 = D.Code_formatPercent(this.inclusiveTicks, this._service$__$totalSamplesInProfile) + " (" + H.S(this.inclusiveTicks) + ")"; |
| this._service$__$formattedInclusiveTicks = F.notifyPropertyChangeHelper(this, C.Symbol_formattedInclusiveTicks, this._service$__$formattedInclusiveTicks, t1); |
| t1 = D.Code_formatPercent(this.exclusiveTicks, this._service$__$totalSamplesInProfile) + " (" + H.S(this.exclusiveTicks) + ")"; |
| this._service$__$formattedExclusiveTicks = F.notifyPropertyChangeHelper(this, C.Symbol_formattedExclusiveTicks, this._service$__$formattedExclusiveTicks, t1); |
| }, |
| _service$_update$2: function(_, m, mapIsRef) { |
| var t1, t2, t3, disassembly, descriptors; |
| t1 = J.getInterceptor$asx(m); |
| this.name = t1.$index(m, "user_name"); |
| this.vmName = t1.$index(m, "name"); |
| t2 = t1.$index(m, "isOptimized") != null && t1.$index(m, "isOptimized"); |
| this._service$__$isOptimized = F.notifyPropertyChangeHelper(this, C.Symbol_isOptimized, this._service$__$isOptimized, t2); |
| t2 = D.CodeKind_fromString(t1.$index(m, "kind")); |
| this._service$__$kind = F.notifyPropertyChangeHelper(this, C.Symbol_kind, this._service$__$kind, t2); |
| this.startAddress = H.Primitives_parseInt(t1.$index(m, "start"), 16, null); |
| this.endAddress = H.Primitives_parseInt(t1.$index(m, "end"), 16, null); |
| t2 = this._owner; |
| t3 = t2.get$isolate(t2).getFromMap$1(t1.$index(m, "function")); |
| this._service$__$function = F.notifyPropertyChangeHelper(this, C.Symbol_function, this._service$__$function, t3); |
| t2 = t2.get$isolate(t2).getFromMap$1(t1.$index(m, "object_pool")); |
| this._service$__$objectPool = F.notifyPropertyChangeHelper(this, C.Symbol_objectPool, this._service$__$objectPool, t2); |
| disassembly = t1.$index(m, "disassembly"); |
| if (disassembly != null) |
| this._processDisassembly$1(disassembly); |
| descriptors = t1.$index(m, "descriptors"); |
| if (descriptors != null) |
| this._processDescriptors$1(J.$index$asx(descriptors, "members")); |
| t1 = this.instructions._observable_list$_list; |
| this._loaded = t1.length !== 0 || !J.$eq(this._service$__$kind, C.CodeKind_Dart); |
| t1 = t1.length !== 0 && J.$eq(this._service$__$kind, C.CodeKind_Dart); |
| this._service$__$hasDisassembly = F.notifyPropertyChangeHelper(this, C.Symbol_hasDisassembly, this._service$__$hasDisassembly, t1); |
| }, |
| get$hasDisassembly: function() { |
| return this._service$__$hasDisassembly; |
| }, |
| _processDisassembly$1: function(disassembly) { |
| var t1, t2, i, t3, machine, human, address, t4; |
| t1 = this.instructions; |
| t1.clear$0(t1); |
| t2 = J.getInterceptor$asx(disassembly); |
| i = 0; |
| while (true) { |
| t3 = t2.get$length(disassembly); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (!(i < t3)) |
| break; |
| machine = t2.$index(disassembly, i + 1); |
| human = t2.$index(disassembly, i + 2); |
| address = !J.$eq(t2.$index(disassembly, i), "") ? H.Primitives_parseInt(t2.$index(disassembly, i), null, null) : 0; |
| t3 = D.PcDescriptor; |
| t4 = []; |
| t4.$builtinTypeInfo = [t3]; |
| t4 = new Q.ObservableList(null, null, t4, null, null); |
| t4.$builtinTypeInfo = [t3]; |
| t1.add$1(0, new D.CodeInstruction(address, machine, human, null, t4, null, null)); |
| i += 3; |
| } |
| for (t2 = t1.get$iterator(t1); t2.moveNext$0();) |
| t2._current._resolveJumpTarget$1(t1); |
| }, |
| _processDescriptor$1: function(d) { |
| var t1, address, deoptId, tokenPos, tryIndex, kind, instruction; |
| t1 = J.getInterceptor$asx(d); |
| address = H.Primitives_parseInt(t1.$index(d, "pc"), 16, null); |
| deoptId = t1.$index(d, "deoptId"); |
| tokenPos = t1.$index(d, "tokenPos"); |
| tryIndex = t1.$index(d, "tryIndex"); |
| kind = J.trim$0$s(t1.$index(d, "kind")); |
| for (t1 = this.instructions, t1 = t1.get$iterator(t1); t1.moveNext$0();) { |
| instruction = t1._current; |
| if (J.$eq(instruction.get$address(), address)) { |
| instruction.get$descriptors().add$1(0, new D.PcDescriptor(address, deoptId, tokenPos, tryIndex, kind, null, null, null, null)); |
| return; |
| } |
| } |
| N.Logger_Logger("").warning$1("Could not find instruction with pc descriptor address: " + H.S(address)); |
| }, |
| _processDescriptors$1: function(descriptors) { |
| var t1; |
| for (t1 = J.get$iterator$ax(descriptors); t1.moveNext$0();) |
| this._processDescriptor$1(t1.get$current()); |
| }, |
| _processTicks$1: function(profileTicks) { |
| var t1, t2, i, t3, address; |
| t1 = J.getInterceptor$asx(profileTicks); |
| t2 = this.addressTicks; |
| i = 0; |
| while (true) { |
| t3 = t1.get$length(profileTicks); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (!(i < t3)) |
| break; |
| address = H.Primitives_parseInt(t1.$index(profileTicks, i), 16, null); |
| t2.$indexSet(0, address, new D.CodeTick(address, H.Primitives_parseInt(t1.$index(profileTicks, i + 1), null, null), H.Primitives_parseInt(t1.$index(profileTicks, i + 2), null, null))); |
| i += 3; |
| } |
| }, |
| contains$1: function(_, address) { |
| J.$ge$n(address, this.startAddress); |
| return false; |
| }, |
| get$isDartCode: function() { |
| return J.$eq(this._service$__$kind, C.CodeKind_Dart); |
| }, |
| $isCode: true, |
| static: {Code_formatPercent: function(a, total) { |
| return C.JSNumber_methods.toStringAsFixed$1(100 * J.$div$n(a, total), 2) + "%"; |
| }} |
| }, |
| ServiceObject_ChangeNotifier5: { |
| "^": "ServiceObject+ChangeNotifier;", |
| $isObservable: true |
| }, |
| Code_loadScript_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(func) { |
| var t1, script; |
| t1 = this.this_0; |
| script = J.$index$asx(t1._service$__$function, "script"); |
| if (script == null) |
| return; |
| J.load$0$x(script).then$1(t1.get$_updateDescriptors()); |
| }, "call$1", null, 2, 0, null, 198, "call"], |
| $isFunction: true |
| }, |
| Code__resolveCalls_closure: { |
| "^": "Closure:75;", |
| call$2: function(a, b) { |
| return J.$sub$n(b.get$count(), a.get$count()); |
| }, |
| $isFunction: true |
| }, |
| SocketKind: { |
| "^": "Object;_service$_value", |
| toString$0: function(_) { |
| return this._service$_value; |
| }, |
| static: {"^": "SocketKind_Listening0,SocketKind_Normal0,SocketKind_Pipe0,SocketKind_Internal0", SocketKind_fromString: function(s) { |
| var t1 = J.getInterceptor(s); |
| if (t1.$eq(s, "Listening")) |
| return C.SocketKind_Listening; |
| else if (t1.$eq(s, "Normal")) |
| return C.SocketKind_Normal; |
| else if (t1.$eq(s, "Pipe")) |
| return C.SocketKind_Pipe; |
| else if (t1.$eq(s, "Internal")) |
| return C.SocketKind_Internal; |
| N.Logger_Logger("").warning$1("Unknown socket kind " + H.S(s)); |
| throw H.wrapException(P.FallThroughError$()); |
| }} |
| }, |
| Socket: { |
| "^": "ServiceObject_ChangeNotifier6;socketOwner@,_service$__$latest,_service$__$previous,_service$__$kind,_service$__$protocol,_service$__$readClosed,_service$__$writeClosed,_service$__$closing,_service$__$listening,_service$__$fd,_service$__$localAddress,_service$__$localPort,_service$__$remoteAddress,_service$__$remotePort,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_owner,_id,_serviceType,_loaded,_service$__$name,_service$__$vmName,_inProgressReload,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| get$canCache: function() { |
| return true; |
| }, |
| get$isPipe: function() { |
| return J.$eq(this._service$__$kind, C.SocketKind_Pipe); |
| }, |
| get$kind: function(_) { |
| return this._service$__$kind; |
| }, |
| set$kind: function(_, value) { |
| this._service$__$kind = F.notifyPropertyChangeHelper(this, C.Symbol_kind, this._service$__$kind, value); |
| }, |
| get$protocol: function(_) { |
| return this._service$__$protocol; |
| }, |
| get$readClosed: function() { |
| return this._service$__$readClosed; |
| }, |
| get$writeClosed: function() { |
| return this._service$__$writeClosed; |
| }, |
| get$closing: function() { |
| return this._service$__$closing; |
| }, |
| get$listening: function() { |
| return this._service$__$listening; |
| }, |
| get$fd: function() { |
| return this._service$__$fd; |
| }, |
| get$localAddress: function() { |
| return this._service$__$localAddress; |
| }, |
| get$localPort: function() { |
| return this._service$__$localPort; |
| }, |
| get$remoteAddress: function() { |
| return this._service$__$remoteAddress; |
| }, |
| get$remotePort: function() { |
| return this._service$__$remotePort; |
| }, |
| _service$_update$2: function(_, map, mapIsRef) { |
| var t1, t2; |
| t1 = J.getInterceptor$asx(map); |
| t2 = t1.$index(map, "name"); |
| this._service$__$name = this.notifyPropertyChange$3(this, C.Symbol_name, this._service$__$name, t2); |
| t2 = t1.$index(map, "name"); |
| this._service$__$vmName = this.notifyPropertyChange$3(this, C.Symbol_vmName, this._service$__$vmName, t2); |
| t2 = D.SocketKind_fromString(t1.$index(map, "kind")); |
| this._service$__$kind = F.notifyPropertyChangeHelper(this, C.Symbol_kind, this._service$__$kind, t2); |
| if (mapIsRef) |
| return; |
| this._loaded = true; |
| t2 = this._owner; |
| D._upgradeCollection(map, t2.get$isolate(t2)); |
| t2 = t1.$index(map, "readClosed"); |
| this._service$__$readClosed = F.notifyPropertyChangeHelper(this, C.Symbol_readClosed, this._service$__$readClosed, t2); |
| t2 = t1.$index(map, "writeClosed"); |
| this._service$__$writeClosed = F.notifyPropertyChangeHelper(this, C.Symbol_writeClosed, this._service$__$writeClosed, t2); |
| t2 = t1.$index(map, "closing"); |
| this._service$__$closing = F.notifyPropertyChangeHelper(this, C.Symbol_closing, this._service$__$closing, t2); |
| t2 = t1.$index(map, "listening"); |
| this._service$__$listening = F.notifyPropertyChangeHelper(this, C.Symbol_listening, this._service$__$listening, t2); |
| t2 = t1.$index(map, "protocol"); |
| this._service$__$protocol = F.notifyPropertyChangeHelper(this, C.Symbol_protocol, this._service$__$protocol, t2); |
| t2 = t1.$index(map, "localAddress"); |
| this._service$__$localAddress = F.notifyPropertyChangeHelper(this, C.Symbol_localAddress, this._service$__$localAddress, t2); |
| t2 = t1.$index(map, "localPort"); |
| this._service$__$localPort = F.notifyPropertyChangeHelper(this, C.Symbol_localPort, this._service$__$localPort, t2); |
| t2 = t1.$index(map, "remoteAddress"); |
| this._service$__$remoteAddress = F.notifyPropertyChangeHelper(this, C.Symbol_remoteAddress, this._service$__$remoteAddress, t2); |
| t2 = t1.$index(map, "remotePort"); |
| this._service$__$remotePort = F.notifyPropertyChangeHelper(this, C.Symbol_remotePort, this._service$__$remotePort, t2); |
| t2 = t1.$index(map, "fd"); |
| this._service$__$fd = F.notifyPropertyChangeHelper(this, C.Symbol_fd, this._service$__$fd, t2); |
| this.socketOwner = t1.$index(map, "owner"); |
| } |
| }, |
| ServiceObject_ChangeNotifier6: { |
| "^": "ServiceObject+ChangeNotifier;", |
| $isObservable: true |
| }, |
| _upgradeObservableMap_closure: { |
| "^": "Closure:75;map_0,owner_1", |
| call$2: function(k, v) { |
| var t1, t2; |
| t1 = J.getInterceptor(v); |
| t2 = !!t1.$isObservableMap; |
| if (t2 && D._isServiceMap(v)) |
| this.map_0.$indexSet(0, k, this.owner_1.getFromMap$1(v)); |
| else if (!!t1.$isObservableList) |
| D._upgradeObservableList(v, this.owner_1); |
| else if (t2) |
| D._upgradeObservableMap(v, this.owner_1); |
| }, |
| $isFunction: true |
| } |
| }], |
| ["service_error_view_element", "package:observatory/src/elements/service_error_view.dart", , R, { |
| "^": "", |
| ServiceErrorViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier45;_service_error_view_element$__$error,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$error: function(receiver) { |
| return receiver._service_error_view_element$__$error; |
| }, |
| set$error: function(receiver, value) { |
| receiver._service_error_view_element$__$error = this.notifyPropertyChange$3(receiver, C.Symbol_error, receiver._service_error_view_element$__$error, value); |
| }, |
| static: {ServiceErrorViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ServiceErrorViewElement_methods.Element$created$0(receiver); |
| C.ServiceErrorViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier45: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["service_exception_view_element", "package:observatory/src/elements/service_exception_view.dart", , D, { |
| "^": "", |
| ServiceExceptionViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier46;_service_exception_view_element$__$exception,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$exception: function(receiver) { |
| return receiver._service_exception_view_element$__$exception; |
| }, |
| set$exception: function(receiver, value) { |
| receiver._service_exception_view_element$__$exception = this.notifyPropertyChange$3(receiver, C.Symbol_exception, receiver._service_exception_view_element$__$exception, value); |
| }, |
| static: {ServiceExceptionViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ServiceExceptionViewElement_methods.Element$created$0(receiver); |
| C.ServiceExceptionViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier46: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["service_html", "package:observatory/service_html.dart", , U, { |
| "^": "", |
| HttpVM: { |
| "^": "VM;host,_service$__$version,_service$__$architecture,_service$__$uptime,_service$__$assertsEnabled,_service$__$typeChecksEnabled,_service$__$pid,_service$__$lastUpdate,exceptions,errors,_cache,_isolateCache,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_owner,_id,_serviceType,_loaded,_service$__$name,_service$__$vmName,_inProgressReload,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| getString$1: function(_, id) { |
| var t1; |
| if (J.endsWith$1$s(this.host, "/") && J.startsWith$1$s(id, "/")) |
| id = J.substring$1$s(id, 1); |
| N.Logger_Logger("").info$1("Fetching " + H.S(id) + " from " + H.S(this.host)); |
| t1 = this.host; |
| if (typeof t1 !== "string") |
| return t1.$add(); |
| return W.HttpRequest_request(J.$add$ns(t1, id), null, null, null, P.LinkedHashMap_LinkedHashMap$_literal(["Observatory-Version", "1.0"], null, null), null, null, null).then$1(new U.HttpVM_getString_closure()).catchError$1(new U.HttpVM_getString_closure0()); |
| }, |
| HttpVM$0: function() { |
| this.host = "http://" + H.S(window.location.host) + "/"; |
| } |
| }, |
| HttpVM_getString_closure: { |
| "^": "Closure:200;", |
| call$1: [function(request) { |
| return J.get$responseText$x(request); |
| }, "call$1", null, 2, 0, null, 199, "call"], |
| $isFunction: true |
| }, |
| HttpVM_getString_closure0: { |
| "^": "Closure:13;", |
| call$1: [function(error) { |
| var request, t1; |
| N.Logger_Logger("").severe$1("HttpRequest.request failed."); |
| request = J.get$target$x(error); |
| t1 = J.getInterceptor$x(request); |
| return C.JsonCodec_null_null.encode$1(P.LinkedHashMap_LinkedHashMap$_literal(["type", "ServiceException", "id", "", "response", t1.get$responseText(request), "kind", "NetworkException", "message", "Could not connect to service (" + H.S(t1.get$statusText(request)) + "). Check that you started the VM with the following flags: --observe"], null, null)); |
| }, "call$1", null, 2, 0, null, 24, "call"], |
| $isFunction: true |
| }, |
| DartiumVM: { |
| "^": "VM;_pendingRequests,_requestSerial,_service$__$version,_service$__$architecture,_service$__$uptime,_service$__$assertsEnabled,_service$__$typeChecksEnabled,_service$__$pid,_service$__$lastUpdate,exceptions,errors,_cache,_isolateCache,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,_owner,_id,_serviceType,_loaded,_service$__$name,_service$__$vmName,_inProgressReload,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records", |
| _messageHandler$1: [function(msg) { |
| var t1, id, $name, data, completer; |
| t1 = J.getInterceptor$x(msg); |
| id = J.$index$asx(t1.get$data(msg), "id"); |
| $name = J.$index$asx(t1.get$data(msg), "name"); |
| data = J.$index$asx(t1.get$data(msg), "data"); |
| if (!J.$eq($name, "observatoryData")) |
| return; |
| t1 = this._pendingRequests; |
| completer = t1.$index(0, id); |
| t1.remove$1(0, id); |
| J.complete$1$x(completer, data); |
| }, "call$1", "get$_messageHandler", 2, 0, 20, 72], |
| getString$1: function(_, path) { |
| var idString, message, completer; |
| idString = "" + this._requestSerial; |
| message = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| message.$indexSet(0, "id", idString); |
| message.$indexSet(0, "method", "observatoryQuery"); |
| message.$indexSet(0, "query", H.S(path)); |
| ++this._requestSerial; |
| completer = H.setRuntimeTypeInfo(new P._AsyncCompleter(P._Future$(null)), [null]); |
| this._pendingRequests.$indexSet(0, idString, completer); |
| J.postMessage$2$x(W._convertNativeToDart_Window(window.parent), C.JsonCodec_null_null.encode$1(message), "*"); |
| return completer.future; |
| }, |
| DartiumVM$0: function() { |
| var t1 = H.setRuntimeTypeInfo(new W._EventStream(window, C.EventStreamProvider_message._eventType, false), [null]); |
| H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1._eventType, W._wrapZone(this.get$_messageHandler()), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
| N.Logger_Logger("").info$1("Connected to DartiumVM"); |
| } |
| } |
| }], |
| ["service_object_view_element", "package:observatory/src/elements/service_view.dart", , U, { |
| "^": "", |
| ServiceObjectViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier47;_service_object_view_element$__$object,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$object: function(receiver) { |
| return receiver._service_object_view_element$__$object; |
| }, |
| set$object: function(receiver, value) { |
| receiver._service_object_view_element$__$object = this.notifyPropertyChange$3(receiver, C.Symbol_object, receiver._service_object_view_element$__$object, value); |
| }, |
| _constructElementForObject$0: function(receiver) { |
| var element; |
| switch (receiver._service_object_view_element$__$object.get$serviceType()) { |
| case "AllocationProfile": |
| element = W._ElementFactoryProvider_createElement_tag("heap-profile", null); |
| J.set$profile$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "BreakpointList": |
| element = W._ElementFactoryProvider_createElement_tag("breakpoint-list", null); |
| J.set$msg$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "Class": |
| element = W._ElementFactoryProvider_createElement_tag("class-view", null); |
| J.set$cls$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "Code": |
| element = W._ElementFactoryProvider_createElement_tag("code-view", null); |
| J.set$code$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "Error": |
| element = W._ElementFactoryProvider_createElement_tag("error-view", null); |
| J.set$error$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "Field": |
| element = W._ElementFactoryProvider_createElement_tag("field-view", null); |
| J.set$field$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "FlagList": |
| element = W._ElementFactoryProvider_createElement_tag("flag-list", null); |
| J.set$flagList$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "Function": |
| element = W._ElementFactoryProvider_createElement_tag("function-view", null); |
| J.set$$function$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "HeapMap": |
| element = W._ElementFactoryProvider_createElement_tag("heap-map", null); |
| J.set$fragmentation$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "LibraryPrefix": |
| case "TypeRef": |
| case "TypeParameter": |
| case "BoundedType": |
| case "Int32x4": |
| case "Float32x4": |
| case "Float64x4": |
| case "TypedData": |
| case "ExternalTypedData": |
| case "Capability": |
| case "ReceivePort": |
| case "SendPort": |
| case "Stacktrace": |
| case "JSRegExp": |
| case "WeakProperty": |
| case "MirrorReference": |
| case "UserTag": |
| case "Type": |
| case "Array": |
| case "Bool": |
| case "Closure": |
| case "Double": |
| case "GrowableObjectArray": |
| case "Instance": |
| case "Smi": |
| case "Mint": |
| case "Bigint": |
| case "String": |
| element = W._ElementFactoryProvider_createElement_tag("instance-view", null); |
| J.set$instance$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "IO": |
| element = W._ElementFactoryProvider_createElement_tag("io-view", null); |
| J.set$io$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "HttpServerList": |
| element = W._ElementFactoryProvider_createElement_tag("io-http-server-list-view", null); |
| J.set$list$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "HttpServer": |
| element = W._ElementFactoryProvider_createElement_tag("io-http-server-view", null); |
| J.set$httpServer$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "HttpServerConnection": |
| element = W._ElementFactoryProvider_createElement_tag("io-http-server-connection-view", null); |
| J.set$connection$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "SocketList": |
| element = W._ElementFactoryProvider_createElement_tag("io-socket-list-view", null); |
| J.set$list$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "Socket": |
| element = W._ElementFactoryProvider_createElement_tag("io-socket-view", null); |
| J.set$socket$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "WebSocketList": |
| element = W._ElementFactoryProvider_createElement_tag("io-web-socket-list-view", null); |
| J.set$list$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "WebSocket": |
| element = W._ElementFactoryProvider_createElement_tag("io-web-socket-view", null); |
| J.set$webSocket$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "Isolate": |
| element = W._ElementFactoryProvider_createElement_tag("isolate-view", null); |
| J.set$isolate$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "Library": |
| element = W._ElementFactoryProvider_createElement_tag("library-view", null); |
| J.set$library$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "ProcessList": |
| element = W._ElementFactoryProvider_createElement_tag("io-process-list-view", null); |
| J.set$list$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "Process": |
| element = W._ElementFactoryProvider_createElement_tag("io-process-view", null); |
| J.set$process$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "Profile": |
| element = W._ElementFactoryProvider_createElement_tag("isolate-profile", null); |
| J.set$profile$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "RandomAccessFileList": |
| element = W._ElementFactoryProvider_createElement_tag("io-random-access-file-list-view", null); |
| J.set$list$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "RandomAccessFile": |
| element = W._ElementFactoryProvider_createElement_tag("io-random-access-file-view", null); |
| J.set$file$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "ServiceError": |
| element = W._ElementFactoryProvider_createElement_tag("service-error-view", null); |
| J.set$error$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "ServiceException": |
| element = W._ElementFactoryProvider_createElement_tag("service-exception-view", null); |
| J.set$exception$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "Script": |
| element = W._ElementFactoryProvider_createElement_tag("script-view", null); |
| J.set$script$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "StackTrace": |
| element = W._ElementFactoryProvider_createElement_tag("stack-trace", null); |
| J.set$trace$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| case "VM": |
| element = W._ElementFactoryProvider_createElement_tag("vm-view", null); |
| J.set$vm$x(element, receiver._service_object_view_element$__$object); |
| return element; |
| default: |
| element = W._ElementFactoryProvider_createElement_tag("json-view", null); |
| J.set$map$ax(element, receiver._service_object_view_element$__$object); |
| return element; |
| } |
| }, |
| objectChanged$1: [function(receiver, oldValue) { |
| var t1, type, element; |
| this._clearChildren$0(receiver); |
| t1 = receiver._service_object_view_element$__$object; |
| if (t1 == null) { |
| N.Logger_Logger("").info$1("Viewing null object."); |
| return; |
| } |
| type = t1.get$serviceType(); |
| element = this._constructElementForObject$0(receiver); |
| if (element == null) { |
| N.Logger_Logger("").info$1("Unable to find a view element for '" + H.S(type) + "'"); |
| return; |
| } |
| receiver.appendChild(element); |
| N.Logger_Logger("").info$1("Viewing object of '" + H.S(type) + "'"); |
| }, "call$1", "get$objectChanged", 2, 0, 13, 57], |
| $isServiceObjectViewElement: true, |
| static: {ServiceObjectViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ServiceObjectViewElement_methods.Element$created$0(receiver); |
| C.ServiceObjectViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier47: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["service_ref_element", "package:observatory/src/elements/service_ref.dart", , Q, { |
| "^": "", |
| ServiceRefElement: { |
| "^": "ObservatoryElement_ChangeNotifier0;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$ref: function(receiver) { |
| return receiver._service_ref_element$__$ref; |
| }, |
| set$ref: function(receiver, value) { |
| receiver._service_ref_element$__$ref = this.notifyPropertyChange$3(receiver, C.Symbol_ref, receiver._service_ref_element$__$ref, value); |
| }, |
| get$internal: function(receiver) { |
| return receiver._service_ref_element$__$internal; |
| }, |
| set$internal: function(receiver, value) { |
| receiver._service_ref_element$__$internal = this.notifyPropertyChange$3(receiver, C.Symbol_internal, receiver._service_ref_element$__$internal, value); |
| }, |
| refChanged$1: [function(receiver, oldValue) { |
| this.notifyPropertyChange$3(receiver, C.Symbol_url, "", this.get$url(receiver)); |
| this.notifyPropertyChange$3(receiver, C.Symbol_name, [], this.get$name(receiver)); |
| this.notifyPropertyChange$3(receiver, C.Symbol_nameIsEmpty, 0, 1); |
| this.notifyPropertyChange$3(receiver, C.Symbol_hoverText, "", this.get$hoverText(receiver)); |
| }, "call$1", "get$refChanged", 2, 0, 20, 57], |
| get$url: function(receiver) { |
| var t1 = receiver._service_ref_element$__$ref; |
| if (t1 == null) |
| return "NULL REF"; |
| t1 = J.get$link$x(t1); |
| $.location.toString; |
| return "#" + H.S(t1); |
| }, |
| get$hoverText: function(receiver) { |
| var t1 = receiver._service_ref_element$__$ref; |
| if (t1 == null) |
| return "NULL REF"; |
| return t1.get$vmName(); |
| }, |
| get$name: function(receiver) { |
| var t1 = receiver._service_ref_element$__$ref; |
| if (t1 == null) |
| return "NULL REF"; |
| return J.get$name$x(t1); |
| }, |
| get$nameIsEmpty: function(receiver) { |
| return J.get$isEmpty$asx(this.get$name(receiver)); |
| }, |
| static: {ServiceRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.ServiceRefElement_methods.Element$created$0(receiver); |
| C.ServiceRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier0: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["sliding_checkbox_element", "package:observatory/src/elements/sliding_checkbox.dart", , Q, { |
| "^": "", |
| SlidingCheckboxElement: { |
| "^": "PolymerElement_ChangeNotifier2;_sliding_checkbox_element$__$checked,_sliding_checkbox_element$__$checkedText,_sliding_checkbox_element$__$uncheckedText,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$checked: function(receiver) { |
| return receiver._sliding_checkbox_element$__$checked; |
| }, |
| set$checked: function(receiver, value) { |
| receiver._sliding_checkbox_element$__$checked = this.notifyPropertyChange$3(receiver, C.Symbol_checked, receiver._sliding_checkbox_element$__$checked, value); |
| }, |
| get$checkedText: function(receiver) { |
| return receiver._sliding_checkbox_element$__$checkedText; |
| }, |
| set$checkedText: function(receiver, value) { |
| receiver._sliding_checkbox_element$__$checkedText = this.notifyPropertyChange$3(receiver, C.Symbol_checkedText, receiver._sliding_checkbox_element$__$checkedText, value); |
| }, |
| get$uncheckedText: function(receiver) { |
| return receiver._sliding_checkbox_element$__$uncheckedText; |
| }, |
| set$uncheckedText: function(receiver, value) { |
| receiver._sliding_checkbox_element$__$uncheckedText = this.notifyPropertyChange$3(receiver, C.Symbol_uncheckedText, receiver._sliding_checkbox_element$__$uncheckedText, value); |
| }, |
| change$3: [function(receiver, e, details, target) { |
| var t1 = J.get$checked$x((receiver.shadowRoot || receiver.webkitShadowRoot).querySelector("#slide-switch")); |
| receiver._sliding_checkbox_element$__$checked = this.notifyPropertyChange$3(receiver, C.Symbol_checked, receiver._sliding_checkbox_element$__$checked, t1); |
| }, "call$3", "get$change", 6, 0, 102, 1, 201, 94], |
| static: {SlidingCheckboxElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.SlidingCheckboxElement_methods.Element$created$0(receiver); |
| C.SlidingCheckboxElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| PolymerElement_ChangeNotifier2: { |
| "^": "PolymerElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["smoke", "package:smoke/smoke.dart", , A, { |
| "^": "", |
| QueryOptions: { |
| "^": "Object;includeFields,includeProperties,includeInherited,includeUpTo,excludeFinal,includeMethods,withAnnotations,matches", |
| matches$1: function($receiver, arg0) { |
| return this.matches.call$1(arg0); |
| }, |
| toString$0: function(_) { |
| var t1 = P.StringBuffer$(""); |
| t1.write$1("(options:"); |
| t1.write$1(this.includeFields ? "fields " : ""); |
| t1.write$1(this.includeProperties ? "properties " : ""); |
| t1.write$1(this.includeMethods ? "methods " : ""); |
| t1.write$1(this.includeInherited ? "inherited " : "_"); |
| t1.write$1(this.excludeFinal ? "no finals " : ""); |
| t1.write$1("annotations: " + H.S(this.withAnnotations)); |
| t1.write$1(this.matches != null ? "with matcher" : ""); |
| t1.write$1(")"); |
| return t1._contents; |
| } |
| }, |
| Declaration: { |
| "^": "Object;name>,kind>,isFinal>,type>,isStatic,annotations<", |
| get$isField: function() { |
| return this.kind === C.DeclarationKind_0; |
| }, |
| get$isProperty: function() { |
| return this.kind === C.DeclarationKind_1; |
| }, |
| get$isMethod: function() { |
| return this.kind === C.DeclarationKind_2; |
| }, |
| get$hashCode: function(_) { |
| var t1 = this.name; |
| return t1.get$hashCode(t1); |
| }, |
| $eq: function(_, other) { |
| if (other == null) |
| return false; |
| return !!J.getInterceptor(other).$isDeclaration && this.name.$eq(0, other.name) && this.kind === other.kind && this.isFinal === other.isFinal && this.type.$eq(0, other.type) && this.isStatic === other.isStatic && X.compareLists(this.annotations, other.annotations, false); |
| }, |
| toString$0: function(_) { |
| var t1 = P.StringBuffer$(""); |
| t1.write$1("(declaration "); |
| t1.write$1(this.name); |
| t1.write$1(this.kind === C.DeclarationKind_1 ? " (property) " : " (method) "); |
| t1.write$1(this.isFinal ? "final " : ""); |
| t1.write$1(this.isStatic ? "static " : ""); |
| t1.write$1(this.annotations); |
| t1.write$1(")"); |
| return t1._contents; |
| }, |
| $isDeclaration: true |
| }, |
| DeclarationKind: { |
| "^": "Object;kind>" |
| } |
| }], |
| ["smoke.src.common", "package:smoke/src/common.dart", , X, { |
| "^": "", |
| adjustList: function(input, min, max) { |
| var t1, t2; |
| t1 = input.length; |
| if (t1 < min) { |
| t2 = Array(min); |
| t2.fixed$length = init; |
| H.IterableMixinWorkaround_setRangeList(t2, 0, t1, input, 0); |
| return t2; |
| } |
| if (t1 > max) { |
| t1 = Array(max); |
| t1.fixed$length = init; |
| H.IterableMixinWorkaround_setRangeList(t1, 0, max, input, 0); |
| return t1; |
| } |
| return input; |
| }, |
| matchesAnnotation: function(metadata, queryAnnotations) { |
| var t1, meta, t2, t3, queryMeta, t4; |
| t1 = new H.ListIterator(metadata, metadata.length, 0, null); |
| t1.$builtinTypeInfo = [H.getTypeArgumentByIndex(metadata, 0)]; |
| for (; t1.moveNext$0();) { |
| meta = t1._current; |
| queryAnnotations.length; |
| t2 = new H.ListIterator(queryAnnotations, 1, 0, null); |
| t2.$builtinTypeInfo = [H.getTypeArgumentByIndex(queryAnnotations, 0)]; |
| t3 = J.getInterceptor(meta); |
| for (; t2.moveNext$0();) { |
| queryMeta = t2._current; |
| if (t3.$eq(meta, queryMeta)) |
| return true; |
| if (!!J.getInterceptor(queryMeta).$isType) { |
| t4 = t3.get$runtimeType(meta); |
| t4 = $.get$typeInspector().isSubclassOf$2(t4, queryMeta); |
| } else |
| t4 = false; |
| if (t4) |
| return true; |
| } |
| } |
| return false; |
| }, |
| minArgs: function(f) { |
| var t1, t2; |
| t1 = H.getDynamicRuntimeType(); |
| t2 = H.buildFunctionType(t1)._isTest$1(f); |
| if (t2) |
| return 0; |
| t2 = H.buildFunctionType(t1, [t1])._isTest$1(f); |
| if (t2) |
| return 1; |
| t2 = H.buildFunctionType(t1, [t1, t1])._isTest$1(f); |
| if (t2) |
| return 2; |
| t1 = H.buildFunctionType(t1, [t1, t1, t1])._isTest$1(f); |
| if (t1) |
| return 3; |
| return 4; |
| }, |
| maxArgs: function(f) { |
| var t1, t2; |
| t1 = H.getDynamicRuntimeType(); |
| t2 = H.buildFunctionType(t1, [t1, t1, t1])._isTest$1(f); |
| if (t2) |
| return 3; |
| t2 = H.buildFunctionType(t1, [t1, t1])._isTest$1(f); |
| if (t2) |
| return 2; |
| t2 = H.buildFunctionType(t1, [t1])._isTest$1(f); |
| if (t2) |
| return 1; |
| t1 = H.buildFunctionType(t1)._isTest$1(f); |
| if (t1) |
| return 0; |
| return -1; |
| }, |
| compareLists: function(a, b, unordered) { |
| var t1, t2, bSet, i, t3; |
| t1 = a.length; |
| t2 = b.length; |
| if (t1 !== t2) |
| return false; |
| if (unordered) { |
| bSet = P.LinkedHashSet_LinkedHashSet(null, null, null, null); |
| bSet.addAll$1(0, b); |
| for (i = 0; i < a.length; ++i) |
| if (!bSet.contains$1(0, a[i])) |
| return false; |
| } else |
| for (i = 0; i < t1; ++i) { |
| t3 = a[i]; |
| if (i >= t2) |
| return H.ioore(b, i); |
| if (t3 !== b[i]) |
| return false; |
| } |
| return true; |
| } |
| }], |
| ["smoke.src.implementation", "package:smoke/src/implementation.dart", , D, { |
| "^": "", |
| throwNotConfiguredError: function() { |
| throw H.wrapException(P.Exception_Exception("The \"smoke\" library has not been configured. Make sure you import and configure one of the implementations (package:smoke/mirrors.dart or package:smoke/static.dart).")); |
| } |
| }], |
| ["smoke.static", "package:smoke/static.dart", , O, { |
| "^": "", |
| StaticConfiguration: { |
| "^": "Object;getters,setters,parents,declarations,staticMethods,names<,checkedMode" |
| }, |
| GeneratedObjectAccessorService: { |
| "^": "Object;_getters,_setters,_staticMethods", |
| read$2: function(object, $name) { |
| var getter = this._getters.$index(0, $name); |
| if (getter == null) |
| throw H.wrapException(O.MissingCodeException$("getter \"" + H.S($name) + "\" in " + H.S(object))); |
| return getter.call$1(object); |
| }, |
| write$3: function(object, $name, value) { |
| var setter = this._setters.$index(0, $name); |
| if (setter == null) |
| throw H.wrapException(O.MissingCodeException$("setter \"" + H.S($name) + "\" in " + H.S(object))); |
| setter.call$2(object, value); |
| }, |
| invoke$5$adjust$namedArgs: function(object, $name, args, adjust, namedArgs) { |
| var method, tentativeError, getter, min, max, t1, exception; |
| method = null; |
| if (!!J.getInterceptor(object).$isType) { |
| this._staticMethods.$index(0, object); |
| method = null; |
| } else { |
| getter = this._getters.$index(0, $name); |
| method = getter == null ? null : getter.call$1(object); |
| } |
| if (method == null) |
| throw H.wrapException(O.MissingCodeException$("method \"" + H.S($name) + "\" in " + H.S(object))); |
| tentativeError = null; |
| if (adjust) { |
| min = X.minArgs(method); |
| if (min > 3) { |
| tentativeError = "we tried to adjust the arguments for calling \"" + H.S($name) + "\", but we couldn't determine the exact number of arguments it expects (it is more than 3)."; |
| args = X.adjustList(args, min, P.max(min, J.get$length$asx(args))); |
| } else { |
| max = X.maxArgs(method); |
| t1 = max >= 0 ? max : J.get$length$asx(args); |
| args = X.adjustList(args, min, t1); |
| } |
| } |
| try { |
| t1 = H.Primitives_applyFunction(method, args, P.Function__toMangledNames(null)); |
| return t1; |
| } catch (exception) { |
| if (!!J.getInterceptor(H.unwrapException(exception)).$isNoSuchMethodError) { |
| if (tentativeError != null) |
| P.print(tentativeError); |
| throw exception; |
| } else |
| throw exception; |
| } |
| |
| } |
| }, |
| GeneratedTypeInspectorService: { |
| "^": "Object;_parents,_declarations,_checkedMode", |
| isSubclassOf$2: function(type, supertype) { |
| var t1, parentType, t2; |
| if (type.$eq(0, supertype) || supertype.$eq(0, C.Type_HqF)) |
| return true; |
| for (t1 = this._parents; !J.$eq(type, C.Type_HqF); type = parentType) { |
| parentType = t1.$index(0, type); |
| t2 = J.getInterceptor(parentType); |
| if (t2.$eq(parentType, supertype)) |
| return true; |
| if (parentType == null) { |
| if (!this._checkedMode) |
| return false; |
| throw H.wrapException(O.MissingCodeException$("superclass of \"" + H.S(type) + "\" (" + t2.toString$0(parentType) + ")")); |
| } |
| } |
| return false; |
| }, |
| hasInstanceMethod$2: function(type, $name) { |
| var decl = this._findDeclaration$2(type, $name); |
| return decl != null && decl.kind === C.DeclarationKind_2 && !decl.isStatic; |
| }, |
| hasStaticMethod$2: function(type, $name) { |
| var map, decl; |
| map = this._declarations.$index(0, type); |
| if (map == null) { |
| if (!this._checkedMode) |
| return false; |
| throw H.wrapException(O.MissingCodeException$("declarations for " + H.S(type))); |
| } |
| decl = map.$index(0, $name); |
| return decl != null && decl.kind === C.DeclarationKind_2 && decl.isStatic; |
| }, |
| getDeclaration$2: function(type, $name) { |
| var decl = this._findDeclaration$2(type, $name); |
| if (decl == null) { |
| if (!this._checkedMode) |
| return; |
| throw H.wrapException(O.MissingCodeException$("declaration for " + H.S(type) + "." + H.S($name))); |
| } |
| return decl; |
| }, |
| query$2: function(_, type, options) { |
| var result, superclass, map, t1, decl, t2; |
| result = []; |
| if (options.includeInherited) { |
| superclass = this._parents.$index(0, type); |
| if (superclass == null) { |
| if (this._checkedMode) |
| throw H.wrapException(O.MissingCodeException$("superclass of \"" + H.S(type) + "\"")); |
| } else if (!superclass.$eq(0, options.includeUpTo)) |
| result = this.query$2(0, superclass, options); |
| } |
| map = this._declarations.$index(0, type); |
| if (map == null) { |
| if (!this._checkedMode) |
| return result; |
| throw H.wrapException(O.MissingCodeException$("declarations for " + H.S(type))); |
| } |
| for (t1 = J.get$iterator$ax(map.get$values(map)); t1.moveNext$0();) { |
| decl = t1.get$current(); |
| if (!options.includeFields && decl.get$isField()) |
| continue; |
| if (!options.includeProperties && decl.get$isProperty()) |
| continue; |
| if (options.excludeFinal && J.get$isFinal$x(decl) === true) |
| continue; |
| if (!options.includeMethods && decl.get$isMethod()) |
| continue; |
| if (options.matches != null && options.matches$1(0, J.get$name$x(decl)) !== true) |
| continue; |
| t2 = options.withAnnotations; |
| if (t2 != null && !X.matchesAnnotation(decl.get$annotations(), t2)) |
| continue; |
| result.push(decl); |
| } |
| return result; |
| }, |
| _findDeclaration$2: function(type, $name) { |
| var t1, t2, declarations, declaration, parentType; |
| for (t1 = this._parents, t2 = this._declarations; !J.$eq(type, C.Type_HqF); type = parentType) { |
| declarations = t2.$index(0, type); |
| if (declarations != null) { |
| declaration = declarations.$index(0, $name); |
| if (declaration != null) |
| return declaration; |
| } |
| parentType = t1.$index(0, type); |
| if (parentType == null) { |
| if (!this._checkedMode) |
| return; |
| throw H.wrapException(O.MissingCodeException$("superclass of \"" + H.S(type) + "\"")); |
| } |
| } |
| return; |
| } |
| }, |
| GeneratedSymbolConverterService: { |
| "^": "Object;_names,_symbols", |
| GeneratedSymbolConverterService$1: function(configuration) { |
| this._names.forEach$1(0, new O.GeneratedSymbolConverterService_closure(this)); |
| }, |
| static: {GeneratedSymbolConverterService$: function(configuration) { |
| var t1 = new O.GeneratedSymbolConverterService(configuration.names, P.LinkedHashMap_LinkedHashMap$_empty(null, null)); |
| t1.GeneratedSymbolConverterService$1(configuration); |
| return t1; |
| }} |
| }, |
| GeneratedSymbolConverterService_closure: { |
| "^": "Closure:75;this_0", |
| call$2: function(k, v) { |
| this.this_0._symbols.$indexSet(0, v, k); |
| }, |
| $isFunction: true |
| }, |
| MissingCodeException: { |
| "^": "Object;description", |
| toString$0: function(_) { |
| return "Missing " + this.description + ". Code generation for the smoke package seems incomplete."; |
| }, |
| static: {MissingCodeException$: function(description) { |
| return new O.MissingCodeException(description); |
| }} |
| } |
| }], |
| ["stack_frame_element", "package:observatory/src/elements/stack_frame.dart", , K, { |
| "^": "", |
| StackFrameElement: { |
| "^": "ObservatoryElement_ChangeNotifier48;_stack_frame_element$__$frame,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$frame: function(receiver) { |
| return receiver._stack_frame_element$__$frame; |
| }, |
| set$frame: function(receiver, value) { |
| receiver._stack_frame_element$__$frame = this.notifyPropertyChange$3(receiver, C.Symbol_frame, receiver._stack_frame_element$__$frame, value); |
| }, |
| static: {StackFrameElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.StackFrameElement_methods.Element$created$0(receiver); |
| C.StackFrameElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier48: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["stack_trace_element", "package:observatory/src/elements/stack_trace.dart", , X, { |
| "^": "", |
| StackTraceElement: { |
| "^": "ObservatoryElement_ChangeNotifier49;_stack_trace_element$__$trace,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$trace: function(receiver) { |
| return receiver._stack_trace_element$__$trace; |
| }, |
| set$trace: function(receiver, value) { |
| receiver._stack_trace_element$__$trace = this.notifyPropertyChange$3(receiver, C.Symbol_trace, receiver._stack_trace_element$__$trace, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._stack_trace_element$__$trace).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {StackTraceElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.StackTraceElement_methods.Element$created$0(receiver); |
| C.StackTraceElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier49: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ["template_binding", "package:template_binding/template_binding.dart", , M, { |
| "^": "", |
| _updateAttribute: function(node, $name, conditional, value) { |
| var t1, t2; |
| if (conditional) { |
| t1 = null != value && false !== value; |
| t2 = J.getInterceptor$x(node); |
| if (t1) |
| t2.get$attributes(node)._html$_element.setAttribute($name, ""); |
| else |
| t2.get$attributes(node).remove$1(0, $name); |
| } else { |
| t1 = J.get$attributes$x(node); |
| t2 = value == null ? "" : H.S(value); |
| t1._html$_element.setAttribute($name, t2); |
| } |
| }, |
| _getTreeScope: function(node) { |
| var $parent; |
| for (; $parent = J.get$parentNode$x(node), $parent != null; node = $parent) |
| ; |
| return M._hasGetElementById(node) ? node : null; |
| }, |
| _hasGetElementById: function(node) { |
| var t1 = J.getInterceptor(node); |
| return !!t1.$isDocument || !!t1.$isShadowRoot || !!t1.$isSvgSvgElement; |
| }, |
| _createInstanceBindingMap: function(node, delegate) { |
| var map, t1, c, children, index, childMap; |
| map = M._getBindings(node, delegate); |
| if (map == null) |
| map = new M._InstanceBindingMap([], null, null); |
| for (t1 = J.getInterceptor$x(node), c = t1.get$firstChild(node), children = null, index = 0; c != null; c = c.nextSibling, ++index) { |
| childMap = M._createInstanceBindingMap(c, delegate); |
| if (childMap == null) |
| continue; |
| if (children == null) { |
| children = Array(t1.get$nodes(node)._this.childNodes.length); |
| children.fixed$length = init; |
| } |
| if (index >= children.length) |
| return H.ioore(children, index); |
| children[index] = childMap; |
| } |
| map.children = children; |
| return map; |
| }, |
| _cloneAndBindInstance: function(node, $parent, stagingDocument, bindings, model, delegate, instanceBindings, instanceRecord) { |
| var clone, c, t1, i; |
| clone = $parent.appendChild(J.importNode$2$x(stagingDocument, node, false)); |
| for (c = node.firstChild, t1 = bindings != null, i = 0; c != null; c = c.nextSibling, ++i) |
| M._cloneAndBindInstance(c, clone, stagingDocument, t1 ? bindings.getChild$1(i) : null, model, delegate, instanceBindings, null); |
| if (bindings.get$isTemplate()) { |
| M.nodeBindFallback(clone)._decorate$1(node); |
| if (delegate != null) |
| J.set$bindingDelegate$x(M.nodeBindFallback(clone), delegate); |
| } |
| M._processBindings(clone, bindings, model, instanceBindings); |
| return clone; |
| }, |
| _getFragmentRoot: function(node) { |
| var p; |
| for (; p = J.get$parentNode$x(node), p != null; node = p) |
| ; |
| return node; |
| }, |
| _searchRefId: function(node, id) { |
| var selector, t1, values, instance, ref, t2; |
| if (id == null || id === "") |
| return; |
| selector = "#" + H.S(id); |
| for (; true;) { |
| node = M._getFragmentRoot(node); |
| t1 = $.get$_instanceExtension(); |
| t1.toString; |
| values = H.Primitives_getProperty(node, "expando$values"); |
| instance = values == null ? null : H.Primitives_getProperty(values, t1._getKey$0()); |
| t1 = instance == null; |
| if (!t1 && instance.get$_protoContent() != null) |
| ref = J.querySelector$1$x(instance.get$_protoContent(), selector); |
| else { |
| t2 = J.getInterceptor(node); |
| ref = !!t2.$isDocument || !!t2.$isShadowRoot || !!t2.$isSvgSvgElement ? t2.getElementById$1(node, id) : null; |
| } |
| if (ref != null) |
| return ref; |
| if (t1) |
| return; |
| node = instance.get$_templateCreator(); |
| if (node == null) |
| return; |
| } |
| }, |
| _getDelegateFactory: function($name, node, delegate) { |
| if (delegate == null) |
| return; |
| return new M._getDelegateFactory_closure($name, node, delegate); |
| }, |
| _getBindings: function(node, delegate) { |
| var t1, tokens; |
| t1 = J.getInterceptor(node); |
| if (!!t1.$isElement) |
| return M._parseAttributeBindings(node, delegate); |
| if (!!t1.$isText) { |
| tokens = S.MustacheTokens_parse(node.textContent, M._getDelegateFactory("text", node, delegate)); |
| if (tokens != null) |
| return new M._InstanceBindingMap(["text", tokens], null, null); |
| } |
| return; |
| }, |
| _parseWithDefault: function(element, $name, delegate) { |
| var v = element.getAttribute($name); |
| if (v === "") |
| v = "{{}}"; |
| return S.MustacheTokens_parse(v, M._getDelegateFactory($name, element, delegate)); |
| }, |
| _parseAttributeBindings: function(element, delegate) { |
| var t1, isTemplateNode, t2, bindings, result, t3; |
| t1 = {}; |
| t1.bindings_0 = null; |
| isTemplateNode = M.isSemanticTemplate(element); |
| new W._ElementAttributeMap(element).forEach$1(0, new M._parseAttributeBindings_closure(t1, element, delegate, isTemplateNode)); |
| if (isTemplateNode) { |
| t2 = t1.bindings_0; |
| if (t2 == null) { |
| bindings = []; |
| t1.bindings_0 = bindings; |
| t1 = bindings; |
| } else |
| t1 = t2; |
| result = new M._TemplateBindingMap(null, null, null, t1, null, null); |
| t1 = M._parseWithDefault(element, "if", delegate); |
| result._if = t1; |
| t2 = M._parseWithDefault(element, "bind", delegate); |
| result._bind = t2; |
| t3 = M._parseWithDefault(element, "repeat", delegate); |
| result._repeat = t3; |
| if (t1 != null && t2 == null && t3 == null) |
| result._bind = S.MustacheTokens_parse("{{}}", M._getDelegateFactory("bind", element, delegate)); |
| return result; |
| } |
| t1 = t1.bindings_0; |
| return t1 == null ? null : new M._InstanceBindingMap(t1, null, null); |
| }, |
| _processOneTimeBinding: function($name, tokens, node, model) { |
| var delegateFn, value, t1, t2, values, i, t3; |
| if (tokens.get$hasOnePath()) { |
| delegateFn = tokens.getPrepareBinding$1(0); |
| value = delegateFn != null ? delegateFn.call$3(model, node, true) : tokens.getPath$1(0).getValueFrom$1(model); |
| return tokens.get$isSimplePath() ? value : tokens.combinator$1(value); |
| } |
| t1 = J.getInterceptor$asx(tokens); |
| t2 = t1.get$length(tokens); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| values = Array(t2); |
| values.fixed$length = init; |
| t2 = values.length; |
| i = 0; |
| while (true) { |
| t3 = t1.get$length(tokens); |
| if (typeof t3 !== "number") |
| return H.iae(t3); |
| if (!(i < t3)) |
| break; |
| delegateFn = tokens.getPrepareBinding$1(i); |
| t3 = delegateFn != null ? delegateFn.call$3(model, node, false) : tokens.getPath$1(i).getValueFrom$1(model); |
| if (i >= t2) |
| return H.ioore(values, i); |
| values[i] = t3; |
| ++i; |
| } |
| return tokens.combinator$1(values); |
| }, |
| _processBinding: function($name, tokens, node, model) { |
| var delegateFn, observer, t1, t2, i, oneTime, value, path; |
| if (tokens.get$onlyOneTime()) |
| return M._processOneTimeBinding($name, tokens, node, model); |
| if (tokens.get$hasOnePath()) { |
| delegateFn = tokens.getPrepareBinding$1(0); |
| if (delegateFn != null) |
| observer = delegateFn.call$3(model, node, false); |
| else { |
| t1 = tokens.getPath$1(0); |
| t1 = !!J.getInterceptor(t1).$isPropertyPath ? t1 : L.PropertyPath_PropertyPath(t1); |
| t2 = $._Observer__nextBirthId; |
| $._Observer__nextBirthId = t2 + 1; |
| observer = new L.PathObserver(t1, model, null, t2, null, null, null); |
| } |
| return tokens.get$isSimplePath() ? observer : new Y.ObserverTransform(observer, tokens.get$combinator(), null, null, null); |
| } |
| t1 = $._Observer__nextBirthId; |
| $._Observer__nextBirthId = t1 + 1; |
| observer = new L.CompoundObserver(null, [], t1, null, null, null); |
| observer._path_observer$_value = []; |
| t1 = J.getInterceptor$asx(tokens); |
| i = 0; |
| while (true) { |
| t2 = t1.get$length(tokens); |
| if (typeof t2 !== "number") |
| return H.iae(t2); |
| if (!(i < t2)) |
| break; |
| c$0: { |
| oneTime = tokens.getOneTime$1(i); |
| delegateFn = tokens.getPrepareBinding$1(i); |
| if (delegateFn != null) { |
| value = delegateFn.call$3(model, node, oneTime); |
| if (oneTime === true) |
| observer.addPath$1(value); |
| else { |
| if (observer._notifyCallback != null || observer._observed == null) |
| H.throwExpression(P.StateError$("Cannot add observers once started.")); |
| J.open$1$x(value, observer.get$_deliver()); |
| t2 = observer._observed; |
| t2.push(C.C__ObserverSentinel); |
| t2.push(value); |
| } |
| break c$0; |
| } |
| path = tokens.getPath$1(i); |
| if (oneTime === true) |
| observer.addPath$1(path.getValueFrom$1(model)); |
| else |
| observer.addPath$2(model, path); |
| } |
| ++i; |
| } |
| return new Y.ObserverTransform(observer, tokens.get$combinator(), null, null, null); |
| }, |
| _processBindings: function(node, map, model, instanceBindings) { |
| var t1, bindings, nodeExt, t2, t3, i, $name, tokens, binding, templateExt, iter; |
| t1 = J.getInterceptor$x(map); |
| bindings = t1.get$bindings(map); |
| nodeExt = !!J.getInterceptor(node).$isNodeBindExtension ? node : M.nodeBindFallback(node); |
| for (t2 = J.getInterceptor$asx(bindings), t3 = J.getInterceptor$x(nodeExt), i = 0; i < t2.get$length(bindings); i += 2) { |
| $name = t2.$index(bindings, i); |
| tokens = t2.$index(bindings, i + 1); |
| binding = t3.bind$3$oneTime(nodeExt, $name, M._processBinding($name, tokens, node, model), tokens.get$onlyOneTime()); |
| if (binding != null && true) |
| instanceBindings.push(binding); |
| } |
| t3.bindFinished$0(nodeExt); |
| if (!t1.$is_TemplateBindingMap) |
| return; |
| templateExt = M.nodeBindFallback(node); |
| templateExt.set$_model(model); |
| iter = templateExt._processBindingDirectives$1(map); |
| if (iter != null && true) |
| instanceBindings.push(iter); |
| }, |
| nodeBindFallback: function(node) { |
| var t1, values, extension, t2; |
| t1 = $.get$_expando(); |
| t1.toString; |
| values = H.Primitives_getProperty(node, "expando$values"); |
| extension = values == null ? null : H.Primitives_getProperty(values, t1._getKey$0()); |
| if (extension != null) |
| return extension; |
| t2 = J.getInterceptor(node); |
| if (!!t2.$isInputElement) |
| extension = new M._InputElementExtension(node, null, null); |
| else if (!!t2.$isSelectElement) |
| extension = new M._SelectElementExtension(node, null, null); |
| else if (!!t2.$isTextAreaElement) |
| extension = new M._TextAreaElementExtension(node, null, null); |
| else if (!!t2.$isElement) { |
| if (!(node.tagName === "TEMPLATE" && node.namespaceURI === "http://www.w3.org/1999/xhtml")) |
| if (!(t2.get$attributes(node)._html$_element.hasAttribute("template") === true && C.Map_05eTF.containsKey$1(t2.get$localName(node)) === true)) |
| t2 = node.tagName === "template" && t2.get$namespaceUri(node) === "http://www.w3.org/2000/svg"; |
| else |
| t2 = true; |
| else |
| t2 = true; |
| extension = t2 ? new M.TemplateBindExtension(null, null, null, false, null, null, null, null, null, null, node, null, null) : new M._ElementExtension(node, null, null); |
| } else |
| extension = !!t2.$isText ? new M._TextExtension(node, null, null) : new M.NodeBindExtension(node, null, null); |
| t1.$indexSet(0, node, extension); |
| return extension; |
| }, |
| isSemanticTemplate: function(n) { |
| var t1 = J.getInterceptor(n); |
| if (!!t1.$isElement) |
| if (!(n.tagName === "TEMPLATE" && n.namespaceURI === "http://www.w3.org/1999/xhtml")) |
| if (!(t1.get$attributes(n)._html$_element.hasAttribute("template") === true && C.Map_05eTF.containsKey$1(t1.get$localName(n)) === true)) |
| t1 = n.tagName === "template" && t1.get$namespaceUri(n) === "http://www.w3.org/2000/svg"; |
| else |
| t1 = true; |
| else |
| t1 = true; |
| else |
| t1 = false; |
| return t1; |
| }, |
| BindingDelegate: { |
| "^": "Object;_bindingMaps", |
| prepareBinding$3: function(path, $name, node) { |
| return; |
| }, |
| static: {"^": "BindingDelegate__DEFAULT"} |
| }, |
| _ElementExtension: { |
| "^": "NodeBindExtension;_node,bindings,_templateInstance", |
| bind$3$oneTime: function(_, $name, value, oneTime) { |
| var t1, node, t2, t3, t4, conditional; |
| t1 = {}; |
| t1.name_0 = $name; |
| node = this.get$_node(); |
| t2 = J.getInterceptor(node); |
| t3 = !!t2.$isOptionElement && J.$eq(t1.name_0, "value"); |
| t4 = t1.name_0; |
| if (t3) { |
| new W._ElementAttributeMap(node).remove$1(0, t4); |
| if (oneTime) |
| return this._updateOption$1(value); |
| t2 = this.get$_updateOption(); |
| t2.call$1(J.open$1$x(value, t2)); |
| } else { |
| conditional = J.endsWith$1$s(t4, "?"); |
| if (conditional) { |
| t2.get$attributes(node).remove$1(0, t1.name_0); |
| t2 = t1.name_0; |
| t3 = J.getInterceptor$asx(t2); |
| t1.name_0 = t3.substring$2(t2, 0, J.$sub$n(t3.get$length(t2), 1)); |
| } |
| if (oneTime) |
| return M._updateAttribute(this.get$_node(), t1.name_0, conditional, value); |
| t2 = new M._ElementExtension_bind_closure(t1, this, conditional); |
| t2.call$1(J.open$1$x(value, t2)); |
| } |
| t1 = t1.name_0; |
| return $.enableBindingsReflection ? this._updateBindings$2(t1, value) : value; |
| }, |
| _updateOption$1: [function(newValue) { |
| var node, t1, select, t2, bindings, valueBinding, oldValue, selectBinding; |
| node = this.get$_node(); |
| t1 = J.getInterceptor$x(node); |
| select = t1.get$parentNode(node); |
| t2 = J.getInterceptor(select); |
| if (!!t2.$isSelectElement) { |
| bindings = J.get$bindings$x(M.nodeBindFallback(select)); |
| if (bindings != null) { |
| valueBinding = J.$index$asx(bindings, "value"); |
| if (!!J.getInterceptor(valueBinding).$is_InputBinding) { |
| oldValue = select.value; |
| selectBinding = valueBinding; |
| } else { |
| oldValue = null; |
| selectBinding = null; |
| } |
| } else { |
| oldValue = null; |
| selectBinding = null; |
| } |
| } else { |
| oldValue = null; |
| selectBinding = null; |
| } |
| t1.set$value(node, newValue == null ? "" : H.S(newValue)); |
| if (selectBinding != null && !J.$eq(t2.get$value(select), oldValue)) { |
| t1 = t2.get$value(select); |
| J.set$value$x(selectBinding.get$_template_binding$_bindable(), t1); |
| } |
| }, "call$1", "get$_updateOption", 2, 0, 20, 58] |
| }, |
| _ElementExtension_bind_closure: { |
| "^": "Closure:13;box_0,this_1,conditional_2", |
| call$1: [function(x) { |
| return M._updateAttribute(this.this_1.get$_node(), this.box_0.name_0, this.conditional_2, x); |
| }, "call$1", null, 2, 0, null, 65, "call"], |
| $isFunction: true |
| }, |
| _InputBinding: { |
| "^": "Bindable;_node<,_eventSub,_template_binding$_bindable<,_propertyName", |
| _template_binding$_updateNode$1: [function(newValue) { |
| return M._InputBinding__updateProperty(this._node, newValue, this._propertyName); |
| }, "call$1", "get$_template_binding$_updateNode", 2, 0, 20, 58], |
| _nodeChanged$1: [function(e) { |
| var t1, t2, t3, r, checkedBinding; |
| switch (this._propertyName) { |
| case "value": |
| t1 = J.get$value$x(this._node); |
| J.set$value$x(this._template_binding$_bindable, t1); |
| break; |
| case "checked": |
| t1 = this._node; |
| t2 = J.getInterceptor$x(t1); |
| t3 = t2.get$checked(t1); |
| J.set$value$x(this._template_binding$_bindable, t3); |
| if (!!t2.$isInputElement && J.$eq(t2.get$type(t1), "radio")) |
| for (t1 = J.get$iterator$ax(M._InputBinding__getAssociatedRadioButtons(t1)); t1.moveNext$0();) { |
| r = t1.get$current(); |
| checkedBinding = J.$index$asx(J.get$bindings$x(!!J.getInterceptor(r).$isNodeBindExtension ? r : M.nodeBindFallback(r)), "checked"); |
| if (checkedBinding != null) |
| J.set$value$x(checkedBinding, false); |
| } |
| break; |
| case "selectedIndex": |
| t1 = J.get$selectedIndex$x(this._node); |
| J.set$value$x(this._template_binding$_bindable, t1); |
| break; |
| } |
| O.dirtyCheckObservables(); |
| }, "call$1", "get$_nodeChanged", 2, 0, 20, 1], |
| open$1: function(_, callback) { |
| return J.open$1$x(this._template_binding$_bindable, callback); |
| }, |
| get$value: function(_) { |
| return J.get$value$x(this._template_binding$_bindable); |
| }, |
| set$value: function(_, newValue) { |
| J.set$value$x(this._template_binding$_bindable, newValue); |
| return newValue; |
| }, |
| close$0: function(_) { |
| var t1 = this._eventSub; |
| if (t1 != null) { |
| t1.cancel$0(); |
| this._eventSub = null; |
| } |
| t1 = this._template_binding$_bindable; |
| if (t1 != null) { |
| J.close$0$x(t1); |
| this._template_binding$_bindable = null; |
| } |
| }, |
| $is_InputBinding: true, |
| static: {"^": "_InputBinding__checkboxEventType", _InputBinding__updateProperty: function(node, newValue, propertyName) { |
| switch (propertyName) { |
| case "checked": |
| J.set$checked$x(node, null != newValue && false !== newValue); |
| return; |
| case "selectedIndex": |
| J.set$selectedIndex$x(node, M._InputBinding__toInt(newValue)); |
| return; |
| case "value": |
| J.set$value$x(node, newValue == null ? "" : H.S(newValue)); |
| return; |
| } |
| }, _InputBinding__getStreamForInputType: function(element) { |
| var t1 = J.getInterceptor(element); |
| if (!!t1.$isOptionElement) |
| return H.setRuntimeTypeInfo(new W._ElementEventStreamImpl(element, C.EventStreamProvider_input._eventType, false), [null]); |
| switch (t1.get$type(element)) { |
| case "checkbox": |
| return $.get$_InputBinding__checkboxEventType().forTarget$1(element); |
| case "radio": |
| case "select-multiple": |
| case "select-one": |
| return t1.get$onChange(element); |
| case "range": |
| if (J.contains$1$asx(window.navigator.userAgent, new H.JSSyntaxRegExp("Trident|MSIE", H.JSSyntaxRegExp_makeNative("Trident|MSIE", false, true, false), null, null))) |
| return t1.get$onChange(element); |
| break; |
| } |
| return t1.get$onInput(element); |
| }, _InputBinding__getAssociatedRadioButtons: function(element) { |
| var t1, treeScope, radios; |
| t1 = J.getInterceptor$x(element); |
| if (t1.get$form(element) != null) { |
| t1 = t1.get$form(element); |
| t1.toString; |
| t1 = new W._ChildNodeListLazy(t1); |
| return t1.where$1(t1, new M._InputBinding__getAssociatedRadioButtons_closure(element)); |
| } else { |
| treeScope = M._getTreeScope(element); |
| if (treeScope == null) |
| return C.List_empty; |
| radios = J.querySelectorAll$1$x(treeScope, "input[type=\"radio\"][name=\"" + H.S(t1.get$name(element)) + "\"]"); |
| return radios.where$1(radios, new M._InputBinding__getAssociatedRadioButtons_closure0(element)); |
| } |
| }, _InputBinding__toInt: function(value) { |
| if (typeof value === "string") |
| return H.Primitives_parseInt(value, null, new M._InputBinding__toInt_closure()); |
| return typeof value === "number" && Math.floor(value) === value ? value : 0; |
| }} |
| }, |
| closure10: { |
| "^": "Closure:69;", |
| call$0: function() { |
| var checkbox, t1, fired, t2, $event; |
| checkbox = document.createElement("div", null).appendChild(W.InputElement_InputElement(null)); |
| t1 = J.getInterceptor$x(checkbox); |
| t1.set$type(checkbox, "checkbox"); |
| fired = []; |
| t2 = t1.get$onClick(checkbox); |
| H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t2._html$_target, t2._eventType, W._wrapZone(new M._closure1(fired)), t2._useCapture), [H.getTypeArgumentByIndex(t2, 0)])._tryResume$0(); |
| t1 = t1.get$onChange(checkbox); |
| H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._html$_target, t1._eventType, W._wrapZone(new M._closure2(fired)), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
| t1 = window; |
| $event = document.createEvent("MouseEvent"); |
| J._initMouseEvent$15$x($event, "click", true, true, t1, 0, 0, 0, 0, 0, false, false, false, false, 0, null); |
| checkbox.dispatchEvent($event); |
| return fired.length === 1 ? C.EventStreamProvider_change : C.JSArray_methods.get$first(fired); |
| }, |
| $isFunction: true |
| }, |
| _closure1: { |
| "^": "Closure:13;fired_0", |
| call$1: [function(e) { |
| this.fired_0.push(C.EventStreamProvider_click); |
| }, "call$1", null, 2, 0, null, 1, "call"], |
| $isFunction: true |
| }, |
| _closure2: { |
| "^": "Closure:13;fired_1", |
| call$1: [function(e) { |
| this.fired_1.push(C.EventStreamProvider_change); |
| }, "call$1", null, 2, 0, null, 1, "call"], |
| $isFunction: true |
| }, |
| _InputBinding__getAssociatedRadioButtons_closure: { |
| "^": "Closure:13;element_0", |
| call$1: function(el) { |
| var t1, t2; |
| t1 = this.element_0; |
| t2 = J.getInterceptor(el); |
| if (!t2.$eq(el, t1)) |
| if (!!t2.$isInputElement) |
| if (el.type === "radio") { |
| t2 = el.name; |
| t1 = J.get$name$x(t1); |
| t1 = t2 == null ? t1 == null : t2 === t1; |
| } else |
| t1 = false; |
| else |
| t1 = false; |
| else |
| t1 = false; |
| return t1; |
| }, |
| $isFunction: true |
| }, |
| _InputBinding__getAssociatedRadioButtons_closure0: { |
| "^": "Closure:13;element_1", |
| call$1: function(el) { |
| var t1 = J.getInterceptor(el); |
| return !t1.$eq(el, this.element_1) && t1.get$form(el) == null; |
| }, |
| $isFunction: true |
| }, |
| _InputBinding__toInt_closure: { |
| "^": "Closure:13;", |
| call$1: function(_) { |
| return 0; |
| }, |
| $isFunction: true |
| }, |
| _InputElementExtension: { |
| "^": "_ElementExtension;_node,bindings,_templateInstance", |
| get$_node: function() { |
| return this._node; |
| }, |
| bind$3$oneTime: function(_, $name, value, oneTime) { |
| var t1, t2, t3; |
| t1 = J.getInterceptor($name); |
| if (!t1.$eq($name, "value") && !t1.$eq($name, "checked")) |
| return M._ElementExtension.prototype.bind$3$oneTime.call(this, this, $name, value, oneTime); |
| J.get$attributes$x(this._node).remove$1(0, $name); |
| if (oneTime) { |
| M._InputBinding__updateProperty(this._node, value, $name); |
| return; |
| } |
| t1 = this._node; |
| t2 = new M._InputBinding(t1, null, value, $name); |
| t2._eventSub = M._InputBinding__getStreamForInputType(t1).listen$1(t2.get$_nodeChanged()); |
| t3 = t2.get$_template_binding$_updateNode(); |
| M._InputBinding__updateProperty(t1, J.open$1$x(t2._template_binding$_bindable, t3), $name); |
| return this._updateBindings$2($name, t2); |
| } |
| }, |
| _InstanceBindingMap: { |
| "^": "Object;bindings>,children>,content>", |
| get$isTemplate: function() { |
| return false; |
| }, |
| getChild$1: function(index) { |
| var t1 = this.children; |
| if (t1 == null || index >= t1.length) |
| return; |
| if (index >= t1.length) |
| return H.ioore(t1, index); |
| return t1[index]; |
| } |
| }, |
| _TemplateBindingMap: { |
| "^": "_InstanceBindingMap;_if,_bind,_repeat,bindings,children,content", |
| get$isTemplate: function() { |
| return true; |
| }, |
| $is_TemplateBindingMap: true |
| }, |
| NodeBindExtension: { |
| "^": "Object;_node<,bindings*,_templateInstance?", |
| bind$3$oneTime: function(_, $name, value, oneTime) { |
| var t1; |
| window; |
| t1 = "Unhandled binding to Node: " + H.Primitives_objectToString(this) + " " + H.S($name) + " " + H.S(value) + " " + oneTime; |
| if (typeof console != "undefined") |
| console.error(t1); |
| return; |
| }, |
| bindFinished$0: function(_) { |
| }, |
| get$templateInstance: function(_) { |
| var t1 = this._templateInstance; |
| if (t1 != null) |
| ; |
| else if (J.get$parent$x(this.get$_node()) != null) { |
| t1 = J.get$parent$x(this.get$_node()); |
| t1 = J.get$templateInstance$x(!!J.getInterceptor(t1).$isNodeBindExtension ? t1 : M.nodeBindFallback(t1)); |
| } else |
| t1 = null; |
| return t1; |
| }, |
| _updateBindings$2: function($name, binding) { |
| var t1, old; |
| t1 = this.bindings; |
| if (t1 == null) { |
| t1 = P.LinkedHashMap_LinkedHashMap$_empty(null, null); |
| this.bindings = t1; |
| } |
| old = t1.$index(0, $name); |
| if (old != null) |
| J.close$0$x(old); |
| this.bindings.$indexSet(0, $name, binding); |
| return binding; |
| }, |
| $isNodeBindExtension: true |
| }, |
| TemplateInstance: { |
| "^": "Object;model>,_firstNode,_lastNode" |
| }, |
| _SelectElementExtension: { |
| "^": "_ElementExtension;_node,bindings,_templateInstance", |
| get$_node: function() { |
| return this._node; |
| }, |
| bind$3$oneTime: function(_, $name, value, oneTime) { |
| var t1, t2, t3; |
| if (J.$eq($name, "selectedindex")) |
| $name = "selectedIndex"; |
| t1 = J.getInterceptor($name); |
| if (!t1.$eq($name, "selectedIndex") && !t1.$eq($name, "value")) |
| return M._ElementExtension.prototype.bind$3$oneTime.call(this, this, $name, value, oneTime); |
| J.get$attributes$x(this._node).remove$1(0, $name); |
| if (oneTime) { |
| M._InputBinding__updateProperty(this._node, value, $name); |
| return; |
| } |
| t1 = this._node; |
| t2 = new M._InputBinding(t1, null, value, $name); |
| t2._eventSub = M._InputBinding__getStreamForInputType(t1).listen$1(t2.get$_nodeChanged()); |
| t3 = t2.get$_template_binding$_updateNode(); |
| M._InputBinding__updateProperty(t1, J.open$1$x(t2._template_binding$_bindable, t3), $name); |
| return this._updateBindings$2($name, t2); |
| } |
| }, |
| TemplateBindExtension: { |
| "^": "_ElementExtension;_model?,_bindingDelegate,_template_binding$_iterator<,_setModelScheduled,_templateInstanceRef?,_content?,_templateIsDecorated?,_stagingDocument,_bindingMap,_refContent,_node,bindings,_templateInstance", |
| get$_node: function() { |
| return this._node; |
| }, |
| bind$3$oneTime: function(_, $name, value, oneTime) { |
| var ref; |
| if (!J.$eq($name, "ref")) |
| return M._ElementExtension.prototype.bind$3$oneTime.call(this, this, $name, value, oneTime); |
| ref = oneTime ? value : J.open$1$x(value, new M.TemplateBindExtension_bind_closure(this)); |
| J.get$attributes$x(this._node)._html$_element.setAttribute("ref", ref); |
| this._refChanged$0(); |
| if (oneTime) |
| return; |
| return this._updateBindings$2("ref", value); |
| }, |
| _processBindingDirectives$1: function(directives) { |
| var t1 = this._template_binding$_iterator; |
| if (t1 != null) |
| t1._closeDependencies$0(); |
| if (directives._if == null && directives._bind == null && directives._repeat == null) { |
| t1 = this._template_binding$_iterator; |
| if (t1 != null) { |
| t1.close$0(0); |
| this._template_binding$_iterator = null; |
| } |
| return; |
| } |
| t1 = this._template_binding$_iterator; |
| if (t1 == null) { |
| t1 = new M._TemplateIterator(this, [], [], null, false, null, null, null, null, null, null, null, false, null, null); |
| this._template_binding$_iterator = t1; |
| } |
| t1._updateDependencies$2(directives, this._model); |
| J.observe$3$attributeFilter$attributes$x($.get$TemplateBindExtension__templateObserver(), this._node, ["ref"], true); |
| return this._template_binding$_iterator; |
| }, |
| createInstance$2: function(_, model, delegate) { |
| var t1, t2, delegate0, t3, map, owner, doc, instance, instanceExt, t4, instanceRecord, c, i, collectTerminator, childMap, clone; |
| if (delegate == null) |
| delegate = this._bindingDelegate; |
| t1 = this._refContent; |
| if (t1 == null) { |
| t1 = this.get$_ref(); |
| t1 = J.get$content$x(!!J.getInterceptor(t1).$isNodeBindExtension ? t1 : M.nodeBindFallback(t1)); |
| this._refContent = t1; |
| } |
| t2 = J.getInterceptor$x(t1); |
| if (t2.get$firstChild(t1) == null) |
| return $.get$_emptyInstance(); |
| delegate0 = delegate == null ? $.get$BindingDelegate__DEFAULT() : delegate; |
| t3 = delegate0._bindingMaps; |
| if (t3 == null) { |
| t3 = H.setRuntimeTypeInfo(new P.Expando(null), [null]); |
| delegate0._bindingMaps = t3; |
| } |
| map = t3.$index(0, t1); |
| if (map == null) { |
| map = M._createInstanceBindingMap(t1, delegate0); |
| delegate0._bindingMaps.$indexSet(0, t1, map); |
| } |
| t3 = this._stagingDocument; |
| if (t3 == null) { |
| owner = J.get$ownerDocument$x(this._node); |
| t3 = $.get$TemplateBindExtension__ownerStagingDocument(); |
| doc = t3.$index(0, owner); |
| if (doc == null) { |
| doc = owner.implementation.createHTMLDocument(""); |
| $.get$_isStagingDocument().$indexSet(0, doc, true); |
| M.TemplateBindExtension__baseUriWorkaround(doc); |
| t3.$indexSet(0, owner, doc); |
| } |
| this._stagingDocument = doc; |
| t3 = doc; |
| } |
| instance = J.createDocumentFragment$0$x(t3); |
| t3 = []; |
| instanceExt = new M._InstanceExtension(t3, null, null, null); |
| t4 = $.get$_instanceExtension(); |
| instanceExt._templateCreator = this._node; |
| instanceExt._protoContent = t1; |
| t4.$indexSet(0, instance, instanceExt); |
| instanceRecord = new M.TemplateInstance(model, null, null); |
| M.nodeBindFallback(instance).set$_templateInstance(instanceRecord); |
| for (c = t2.get$firstChild(t1), t1 = map != null, i = 0, collectTerminator = false; c != null; c = c.nextSibling, ++i) { |
| if (c.nextSibling == null) |
| collectTerminator = true; |
| childMap = t1 ? map.getChild$1(i) : null; |
| clone = M._cloneAndBindInstance(c, instance, this._stagingDocument, childMap, model, delegate, t3, null); |
| M.nodeBindFallback(clone).set$_templateInstance(instanceRecord); |
| if (collectTerminator) |
| instanceExt._terminator = clone; |
| } |
| instanceRecord._firstNode = instance.firstChild; |
| instanceRecord._lastNode = instance.lastChild; |
| instanceExt._protoContent = null; |
| instanceExt._templateCreator = null; |
| return instance; |
| }, |
| get$model: function(_) { |
| return this._model; |
| }, |
| get$bindingDelegate: function(_) { |
| return this._bindingDelegate; |
| }, |
| set$bindingDelegate: function(_, value) { |
| var t1; |
| if (this._bindingDelegate != null) |
| throw H.wrapException(P.StateError$("Template must be cleared before a new bindingDelegate can be assigned")); |
| this._bindingDelegate = value; |
| this._bindingMap = null; |
| t1 = this._template_binding$_iterator; |
| if (t1 != null) { |
| t1._initPrepareFunctions = false; |
| t1._instanceModelFn = null; |
| t1._instancePositionChangedFn = null; |
| } |
| }, |
| _refChanged$0: function() { |
| var t1, t2; |
| if (this._template_binding$_iterator != null) { |
| t1 = this._refContent; |
| t2 = this.get$_ref(); |
| t2 = J.get$content$x(!!J.getInterceptor(t2).$isNodeBindExtension ? t2 : M.nodeBindFallback(t2)); |
| t2 = t1 == null ? t2 == null : t1 === t2; |
| t1 = t2; |
| } else |
| t1 = true; |
| if (t1) |
| return; |
| this._refContent = null; |
| this._template_binding$_iterator._valueChanged$1(null); |
| this._template_binding$_iterator._updateIteratedValue$1(null); |
| }, |
| clear$0: function(_) { |
| var t1, ref; |
| this._model = null; |
| this._bindingDelegate = null; |
| t1 = this.bindings; |
| if (t1 != null) { |
| ref = t1.remove$1(0, "ref"); |
| if (ref != null) |
| J.close$0$x(ref); |
| } |
| this._refContent = null; |
| t1 = this._template_binding$_iterator; |
| if (t1 == null) |
| return; |
| t1._valueChanged$1(null); |
| this._template_binding$_iterator.close$0(0); |
| this._template_binding$_iterator = null; |
| }, |
| get$_ref: function() { |
| var ref, nextRef; |
| this._decorate$0(); |
| ref = M._searchRefId(this._node, J.get$attributes$x(this._node)._html$_element.getAttribute("ref")); |
| if (ref == null) { |
| ref = this._templateInstanceRef; |
| if (ref == null) |
| return this._node; |
| } |
| nextRef = M.nodeBindFallback(ref).get$_ref(); |
| return nextRef != null ? nextRef : ref; |
| }, |
| get$content: function(_) { |
| var t1; |
| this._decorate$0(); |
| t1 = this._content; |
| return t1 != null ? t1 : H.interceptedTypeCast(this._node, "$isTemplateElement").content; |
| }, |
| _decorate$1: function(instanceRef) { |
| var isNativeHtmlTemplate, liftContents, t1, t2, templateElementExt, liftRoot, template; |
| if (this._templateIsDecorated === true) |
| return false; |
| M.TemplateBindExtension__injectStylesheet(); |
| M.TemplateBindExtension__globalBaseUriWorkaround(); |
| this._templateIsDecorated = true; |
| isNativeHtmlTemplate = !!J.getInterceptor(this._node).$isTemplateElement; |
| liftContents = !isNativeHtmlTemplate; |
| if (liftContents) { |
| t1 = this._node; |
| t2 = J.getInterceptor$x(t1); |
| if (t2.get$attributes(t1)._html$_element.hasAttribute("template") === true && C.Map_05eTF.containsKey$1(t2.get$localName(t1)) === true) { |
| if (instanceRef != null) |
| throw H.wrapException(P.ArgumentError$("instanceRef should not be supplied for attribute templates.")); |
| templateElementExt = M.TemplateBindExtension__extractTemplateFromAttributeTemplate(this._node); |
| templateElementExt = !!J.getInterceptor(templateElementExt).$isNodeBindExtension ? templateElementExt : M.nodeBindFallback(templateElementExt); |
| templateElementExt.set$_templateIsDecorated(true); |
| isNativeHtmlTemplate = !!J.getInterceptor(templateElementExt.get$_node()).$isTemplateElement; |
| liftRoot = true; |
| } else { |
| t1 = this._node; |
| t2 = J.getInterceptor$x(t1); |
| if (t2.get$tagName(t1) === "template" && t2.get$namespaceUri(t1) === "http://www.w3.org/2000/svg") { |
| t1 = this._node; |
| t2 = J.getInterceptor$x(t1); |
| template = t2.get$ownerDocument(t1).createElement("template", null); |
| t2.get$parentNode(t1).insertBefore(template, t1); |
| template.toString; |
| new W._ElementAttributeMap(template).addAll$1(0, t2.get$attributes(t1)); |
| t2.get$attributes(t1).clear$0(0); |
| t2.remove$0(t1); |
| templateElementExt = !!J.getInterceptor(template).$isNodeBindExtension ? template : M.nodeBindFallback(template); |
| templateElementExt.set$_templateIsDecorated(true); |
| isNativeHtmlTemplate = !!J.getInterceptor(templateElementExt.get$_node()).$isTemplateElement; |
| } else { |
| templateElementExt = this; |
| isNativeHtmlTemplate = false; |
| } |
| liftRoot = false; |
| } |
| } else { |
| templateElementExt = this; |
| liftRoot = false; |
| } |
| if (!isNativeHtmlTemplate) |
| templateElementExt.set$_content(J.createDocumentFragment$0$x(M.TemplateBindExtension__getOrCreateTemplateContentsOwner(templateElementExt.get$_node()))); |
| if (instanceRef != null) |
| templateElementExt.set$_templateInstanceRef(instanceRef); |
| else if (liftContents) |
| M.TemplateBindExtension__liftNonNativeChildrenIntoContent(templateElementExt, this._node, liftRoot); |
| else |
| M.TemplateBindExtension_bootstrap(J.get$content$x(templateElementExt)); |
| return true; |
| }, |
| _decorate$0: function() { |
| return this._decorate$1(null); |
| }, |
| $isTemplateBindExtension: true, |
| static: {"^": "TemplateBindExtension__contentsOwner,TemplateBindExtension__ownerStagingDocument,TemplateBindExtension__allTemplatesSelectors,TemplateBindExtension__initStyles,TemplateBindExtension__initBaseUriWorkaround,TemplateBindExtension__templateObserver", TemplateBindExtension__getOrCreateTemplateContentsOwner: function(template) { |
| var doc, d, t1, t2; |
| doc = J.get$ownerDocument$x(template); |
| if (W._convertNativeToDart_Window(doc.defaultView) == null) |
| return doc; |
| d = $.get$TemplateBindExtension__contentsOwner().$index(0, doc); |
| if (d == null) { |
| d = doc.implementation.createHTMLDocument(""); |
| for (; t1 = d.lastChild, t1 != null;) { |
| t2 = t1.parentNode; |
| if (t2 != null) |
| t2.removeChild(t1); |
| } |
| $.get$TemplateBindExtension__contentsOwner().$indexSet(0, doc, d); |
| } |
| return d; |
| }, TemplateBindExtension__extractTemplateFromAttributeTemplate: function(el) { |
| var t1, template, t2, $name, t3, value; |
| t1 = J.getInterceptor$x(el); |
| template = t1.get$ownerDocument(el).createElement("template", null); |
| t1.get$parentNode(el).insertBefore(template, el); |
| for (t2 = C.JSArray_methods.toList$0(t1.get$attributes(el).get$keys()), t2 = H.setRuntimeTypeInfo(new H.ListIterator(t2, t2.length, 0, null), [H.getTypeArgumentByIndex(t2, 0)]); t2.moveNext$0();) { |
| $name = t2._current; |
| switch ($name) { |
| case "template": |
| t3 = t1.get$attributes(el)._html$_element; |
| t3.getAttribute($name); |
| t3.removeAttribute($name); |
| break; |
| case "repeat": |
| case "bind": |
| case "ref": |
| template.toString; |
| t3 = t1.get$attributes(el)._html$_element; |
| value = t3.getAttribute($name); |
| t3.removeAttribute($name); |
| template.setAttribute($name, value); |
| break; |
| } |
| } |
| return template; |
| }, TemplateBindExtension__liftNonNativeChildrenIntoContent: function(template, el, useRoot) { |
| var $content, t1, t2, child; |
| $content = J.get$content$x(template); |
| if (useRoot) { |
| J.append$1$x($content, el); |
| return; |
| } |
| for (t1 = J.getInterceptor$x(el), t2 = J.getInterceptor$x($content); child = t1.get$firstChild(el), child != null;) |
| t2.append$1($content, child); |
| }, TemplateBindExtension_bootstrap: function($content) { |
| var t1, descendents; |
| t1 = new M.TemplateBindExtension_bootstrap__bootstrap(); |
| descendents = J.querySelectorAll$1$x($content, $.get$TemplateBindExtension__allTemplatesSelectors()); |
| if (M.isSemanticTemplate($content)) |
| t1.call$1($content); |
| descendents.forEach$1(descendents, t1); |
| }, TemplateBindExtension__injectStylesheet: function() { |
| if ($.TemplateBindExtension__initStyles === true) |
| return; |
| $.TemplateBindExtension__initStyles = true; |
| var style = document.createElement("style", null); |
| J.set$text$x(style, H.S($.get$TemplateBindExtension__allTemplatesSelectors()) + " { display: none; }"); |
| document.head.appendChild(style); |
| }, TemplateBindExtension__globalBaseUriWorkaround: function() { |
| var t, d; |
| if ($.TemplateBindExtension__initBaseUriWorkaround === true) |
| return; |
| $.TemplateBindExtension__initBaseUriWorkaround = true; |
| t = document.createElement("template", null); |
| if (!!J.getInterceptor(t).$isTemplateElement) { |
| d = t.content.ownerDocument; |
| if (d.documentElement == null) |
| d.appendChild(d.createElement("html", null)).appendChild(d.createElement("head", null)); |
| if (J.get$head$x(d).querySelector("base") == null) |
| M.TemplateBindExtension__baseUriWorkaround(d); |
| } |
| }, TemplateBindExtension__baseUriWorkaround: function(doc) { |
| var base = doc.createElement("base", null); |
| J.set$href$x(base, document.baseURI); |
| J.get$head$x(doc).appendChild(base); |
| }} |
| }, |
| TemplateBindExtension_bind_closure: { |
| "^": "Closure:13;this_0", |
| call$1: [function(ref) { |
| var t1 = this.this_0; |
| J.get$attributes$x(t1._node)._html$_element.setAttribute("ref", ref); |
| t1._refChanged$0(); |
| }, "call$1", null, 2, 0, null, 202, "call"], |
| $isFunction: true |
| }, |
| TemplateBindExtension_bootstrap__bootstrap: { |
| "^": "Closure:20;", |
| call$1: function(template) { |
| if (!M.nodeBindFallback(template)._decorate$1(null)) |
| M.TemplateBindExtension_bootstrap(J.get$content$x(!!J.getInterceptor(template).$isNodeBindExtension ? template : M.nodeBindFallback(template))); |
| }, |
| $isFunction: true |
| }, |
| closure6: { |
| "^": "Closure:13;", |
| call$1: [function(k) { |
| return H.S(k) + "[template]"; |
| }, "call$1", null, 2, 0, null, 174, "call"], |
| $isFunction: true |
| }, |
| closure8: { |
| "^": "Closure:75;", |
| call$2: [function(records, _) { |
| var t1; |
| for (t1 = J.get$iterator$ax(records); t1.moveNext$0();) |
| M.nodeBindFallback(J.get$target$x(t1.get$current()))._refChanged$0(); |
| }, "call$2", null, 4, 0, null, 160, 14, "call"], |
| $isFunction: true |
| }, |
| closure9: { |
| "^": "Closure:69;", |
| call$0: function() { |
| var empty = document.createDocumentFragment(); |
| $.get$_instanceExtension().$indexSet(0, empty, new M._InstanceExtension([], null, null, null)); |
| return empty; |
| }, |
| $isFunction: true |
| }, |
| _InstanceExtension: { |
| "^": "Object;_bindings<,_terminator<,_templateCreator<,_protoContent<" |
| }, |
| _getDelegateFactory_closure: { |
| "^": "Closure:13;name_0,node_1,delegate_2", |
| call$1: function(pathString) { |
| return this.delegate_2.prepareBinding$3(pathString, this.name_0, this.node_1); |
| }, |
| $isFunction: true |
| }, |
| _parseAttributeBindings_closure: { |
| "^": "Closure:75;box_0,element_1,delegate_2,isTemplateNode_3", |
| call$2: function($name, value) { |
| var t1, tokens, t2, bindings; |
| for (; t1 = J.getInterceptor$asx($name), J.$eq(t1.$index($name, 0), "_");) |
| $name = t1.substring$1($name, 1); |
| if (this.isTemplateNode_3) |
| t1 = t1.$eq($name, "bind") || t1.$eq($name, "if") || t1.$eq($name, "repeat"); |
| else |
| t1 = false; |
| if (t1) |
| return; |
| tokens = S.MustacheTokens_parse(value, M._getDelegateFactory($name, this.element_1, this.delegate_2)); |
| if (tokens != null) { |
| t1 = this.box_0; |
| t2 = t1.bindings_0; |
| if (t2 == null) { |
| bindings = []; |
| t1.bindings_0 = bindings; |
| t1 = bindings; |
| } else |
| t1 = t2; |
| t1.push($name); |
| t1.push(tokens); |
| } |
| }, |
| $isFunction: true |
| }, |
| _TemplateIterator: { |
| "^": "Bindable;_templateExt,_instances,_iteratedValue,_presentValue,_closed,_ifValue,_template_binding$_value,_hasIf,_hasRepeat,_ifOneTime,_oneTime,_listSub,_initPrepareFunctions,_instanceModelFn,_instancePositionChangedFn", |
| _instanceModelFn$1: function(arg0) { |
| return this._instanceModelFn.call$1(arg0); |
| }, |
| open$1: function(_, callback) { |
| return H.throwExpression(P.StateError$("binding already opened")); |
| }, |
| get$value: function(_) { |
| return this._template_binding$_value; |
| }, |
| _closeDependencies$0: function() { |
| var t1, t2; |
| t1 = this._ifValue; |
| t2 = J.getInterceptor(t1); |
| if (!!t2.$isBindable) { |
| t2.close$0(t1); |
| this._ifValue = null; |
| } |
| t1 = this._template_binding$_value; |
| t2 = J.getInterceptor(t1); |
| if (!!t2.$isBindable) { |
| t2.close$0(t1); |
| this._template_binding$_value = null; |
| } |
| }, |
| _updateDependencies$2: function(directives, model) { |
| var template, t1, t2; |
| this._closeDependencies$0(); |
| template = this._templateExt._node; |
| t1 = directives._if; |
| t2 = t1 != null; |
| this._hasIf = t2; |
| this._hasRepeat = directives._repeat != null; |
| if (t2) { |
| this._ifOneTime = t1.onlyOneTime; |
| t1 = M._processBinding("if", t1, template, model); |
| this._ifValue = t1; |
| if (this._ifOneTime === true) { |
| if (!(null != t1 && false !== t1)) { |
| this._updateIteratedValue$1(null); |
| return; |
| } |
| } else |
| H.interceptedTypeCast(t1, "$isBindable").open$1(0, this.get$_updateIteratedValue()); |
| } |
| if (this._hasRepeat === true) { |
| t1 = directives._repeat; |
| this._oneTime = t1.onlyOneTime; |
| t1 = M._processBinding("repeat", t1, template, model); |
| this._template_binding$_value = t1; |
| } else { |
| t1 = directives._bind; |
| this._oneTime = t1.onlyOneTime; |
| t1 = M._processBinding("bind", t1, template, model); |
| this._template_binding$_value = t1; |
| } |
| if (this._oneTime !== true) |
| J.open$1$x(t1, this.get$_updateIteratedValue()); |
| this._updateIteratedValue$1(null); |
| }, |
| _updateIteratedValue$1: [function(_) { |
| var ifValue, value; |
| if (this._hasIf === true) { |
| ifValue = this._ifValue; |
| if (this._ifOneTime !== true) { |
| H.interceptedTypeCast(ifValue, "$isBindable"); |
| ifValue = ifValue.get$value(ifValue); |
| } |
| if (!(null != ifValue && false !== ifValue)) { |
| this._valueChanged$1([]); |
| return; |
| } |
| } |
| value = this._template_binding$_value; |
| if (this._oneTime !== true) { |
| H.interceptedTypeCast(value, "$isBindable"); |
| value = value.get$value(value); |
| } |
| this._valueChanged$1(this._hasRepeat !== true ? [value] : value); |
| }, "call$1", "get$_updateIteratedValue", 2, 0, 20, 14], |
| _valueChanged$1: function(value) { |
| var t1, t2; |
| t1 = J.getInterceptor(value); |
| if (!t1.$isList) |
| value = !!t1.$isIterable ? t1.toList$0(value) : []; |
| t1 = this._iteratedValue; |
| if (value === t1) |
| return; |
| this._unobserve$0(); |
| this._presentValue = value; |
| if (!!J.getInterceptor(value).$isObservableList && this._hasRepeat === true && this._oneTime !== true) { |
| if (value.get$_listRecords() != null) |
| value.set$_listRecords([]); |
| this._listSub = value.get$listChanges().listen$1(this.get$_handleSplices()); |
| } |
| t2 = this._presentValue; |
| t2 = t2 != null ? t2 : []; |
| this._handleSplices$1(G.calcSplices(t2, 0, J.get$length$asx(t2), t1, 0, t1.length)); |
| }, |
| _getLastInstanceNode$1: function(index) { |
| var t1, t2, terminator, subtemplateIterator; |
| if (J.$eq(index, -1)) |
| return this._templateExt._node; |
| t1 = $.get$_instanceExtension(); |
| t2 = this._instances; |
| if (index >>> 0 !== index || index >= t2.length) |
| return H.ioore(t2, index); |
| terminator = t1.$index(0, t2[index]).get$_terminator(); |
| if (terminator == null) |
| return this._getLastInstanceNode$1(index - 1); |
| if (!M.isSemanticTemplate(terminator) || terminator === this._templateExt._node) |
| return terminator; |
| subtemplateIterator = M.nodeBindFallback(terminator).get$_template_binding$_iterator(); |
| if (subtemplateIterator == null) |
| return terminator; |
| return subtemplateIterator._getLastInstanceNode$1(subtemplateIterator._instances.length - 1); |
| }, |
| _extractInstanceAt$1: function(index) { |
| var previousInstanceLast, lastNode, instance, t1, t2, node, t3; |
| previousInstanceLast = this._getLastInstanceNode$1(J.$sub$n(index, 1)); |
| lastNode = this._getLastInstanceNode$1(index); |
| J.get$parentNode$x(this._templateExt._node); |
| instance = C.JSArray_methods.removeAt$1(this._instances, index); |
| for (t1 = J.getInterceptor$x(instance), t2 = J.getInterceptor$x(previousInstanceLast); !J.$eq(lastNode, previousInstanceLast);) { |
| node = t2.get$nextNode(previousInstanceLast); |
| if (node == null ? lastNode == null : node === lastNode) |
| lastNode = previousInstanceLast; |
| t3 = node.parentNode; |
| if (t3 != null) |
| t3.removeChild(node); |
| t1.append$1(instance, node); |
| } |
| return instance; |
| }, |
| _handleSplices$1: [function(splices) { |
| var delegate, model, instance, e, s, t1, template, t2, delegate0, instanceCache, t3, t4, removeDelta, splice, t5, t6, model0, instance0, addIndex, exception, previousInstanceLast, $parent; |
| if (this._closed || J.get$isEmpty$asx(splices) === true) |
| return; |
| t1 = this._templateExt; |
| template = t1._node; |
| if (J.get$parentNode$x(template) == null) { |
| this.close$0(0); |
| return; |
| } |
| t2 = this._iteratedValue; |
| Q.ObservableList_applyChangeRecords(t2, this._presentValue, splices); |
| delegate = t1._bindingDelegate; |
| if (!this._initPrepareFunctions) { |
| this._initPrepareFunctions = true; |
| delegate0 = J.get$bindingDelegate$x(!!J.getInterceptor(t1._node).$isTemplateBindExtension ? t1._node : t1); |
| if (delegate0 != null) { |
| this._instanceModelFn = delegate0._delegate.prepareInstanceModel$1(template); |
| this._instancePositionChangedFn = null; |
| } |
| } |
| instanceCache = P.HashMap_HashMap(P.identical$closure(), null, null, null, null); |
| for (t3 = J.getInterceptor$ax(splices), t4 = t3.get$iterator(splices), removeDelta = 0; t4.moveNext$0();) { |
| splice = t4.get$current(); |
| for (t5 = splice.get$removed(), t5 = t5.get$iterator(t5), t6 = J.getInterceptor$x(splice); t5.moveNext$0();) { |
| model0 = t5._current; |
| instance0 = this._extractInstanceAt$1(J.$add$ns(t6.get$index(splice), removeDelta)); |
| if (!J.$eq(instance0, $.get$_emptyInstance())) |
| instanceCache.$indexSet(0, model0, instance0); |
| } |
| t5 = splice.get$addedCount(); |
| if (typeof t5 !== "number") |
| return H.iae(t5); |
| removeDelta -= t5; |
| } |
| for (t3 = t3.get$iterator(splices); t3.moveNext$0();) { |
| splice = t3.get$current(); |
| for (t4 = J.getInterceptor$x(splice), addIndex = t4.get$index(splice); J.$lt$n(addIndex, J.$add$ns(t4.get$index(splice), splice.get$addedCount())); ++addIndex) { |
| if (addIndex >>> 0 !== addIndex || addIndex >= t2.length) |
| return H.ioore(t2, addIndex); |
| model = t2[addIndex]; |
| instance = instanceCache.remove$1(0, model); |
| if (instance == null) |
| try { |
| if (this._instanceModelFn != null) |
| model = this._instanceModelFn$1(model); |
| if (model == null) |
| instance = $.get$_emptyInstance(); |
| else |
| instance = t1.createInstance$2(0, model, delegate); |
| } catch (exception) { |
| t5 = H.unwrapException(exception); |
| e = t5; |
| s = new H._StackTrace(exception, null); |
| t5 = new P._Future(0, $.Zone__current, null, null, null, null, null, null); |
| t5.$builtinTypeInfo = [null]; |
| new P._AsyncCompleter(t5).$builtinTypeInfo = [null]; |
| t6 = e; |
| if (t6 == null) |
| H.throwExpression(P.ArgumentError$("Error must not be null")); |
| if (t5._state !== 0) |
| H.throwExpression(P.StateError$("Future already completed")); |
| t5._asyncCompleteError$2(t6, s); |
| instance = $.get$_emptyInstance(); |
| } |
| |
| t5 = instance; |
| previousInstanceLast = this._getLastInstanceNode$1(addIndex - 1); |
| $parent = J.get$parentNode$x(t1._node); |
| C.JSArray_methods.insert$2(this._instances, addIndex, t5); |
| $parent.insertBefore(t5, J.get$nextNode$x(previousInstanceLast)); |
| } |
| } |
| for (t1 = instanceCache.get$values(instanceCache), t1 = H.setRuntimeTypeInfo(new H.MappedIterator(null, J.get$iterator$ax(t1._iterable), t1._f), [H.getTypeArgumentByIndex(t1, 0), H.getTypeArgumentByIndex(t1, 1)]); t1.moveNext$0();) |
| this._closeInstanceBindings$1(t1._current); |
| }, "call$1", "get$_handleSplices", 2, 0, 203, 204], |
| _closeInstanceBindings$1: [function(instance) { |
| var t1, values, bindings; |
| t1 = $.get$_instanceExtension(); |
| t1.toString; |
| values = H.Primitives_getProperty(instance, "expando$values"); |
| bindings = (values == null ? null : H.Primitives_getProperty(values, t1._getKey$0())).get$_bindings(); |
| t1 = new H.ListIterator(bindings, bindings.length, 0, null); |
| t1.$builtinTypeInfo = [H.getTypeArgumentByIndex(bindings, 0)]; |
| for (; t1.moveNext$0();) |
| J.close$0$x(t1._current); |
| }, "call$1", "get$_closeInstanceBindings", 2, 0, 205], |
| _unobserve$0: function() { |
| var t1 = this._listSub; |
| if (t1 == null) |
| return; |
| t1.cancel$0(); |
| this._listSub = null; |
| }, |
| close$0: function(_) { |
| var t1; |
| if (this._closed) |
| return; |
| this._unobserve$0(); |
| t1 = this._instances; |
| H.IterableMixinWorkaround_forEach(t1, this.get$_closeInstanceBindings()); |
| C.JSArray_methods.set$length(t1, 0); |
| this._closeDependencies$0(); |
| this._templateExt._template_binding$_iterator = null; |
| this._closed = true; |
| } |
| }, |
| _TextExtension: { |
| "^": "NodeBindExtension;_node,bindings,_templateInstance", |
| bind$3$oneTime: function(_, $name, value, oneTime) { |
| var t1; |
| if (!J.$eq($name, "text")) |
| return M.NodeBindExtension.prototype.bind$3$oneTime.call(this, this, $name, value, oneTime); |
| if (oneTime) { |
| t1 = value == null ? "" : H.S(value); |
| J.set$text$x(this._node, t1); |
| return; |
| } |
| t1 = this.get$_updateText(); |
| t1.call$1(J.open$1$x(value, t1)); |
| return $.enableBindingsReflection ? this._updateBindings$2($name, value) : value; |
| }, |
| _updateText$1: [function(value) { |
| var t1 = value == null ? "" : H.S(value); |
| J.set$text$x(this._node, t1); |
| }, "call$1", "get$_updateText", 2, 0, 13, 21] |
| }, |
| _TextAreaElementExtension: { |
| "^": "_ElementExtension;_node,bindings,_templateInstance", |
| get$_node: function() { |
| return this._node; |
| }, |
| bind$3$oneTime: function(_, $name, value, oneTime) { |
| var t1, t2, t3; |
| if (!J.$eq($name, "value")) |
| return M._ElementExtension.prototype.bind$3$oneTime.call(this, this, $name, value, oneTime); |
| J.get$attributes$x(this._node).remove$1(0, $name); |
| if (oneTime) { |
| M._InputBinding__updateProperty(this._node, value, $name); |
| return; |
| } |
| t1 = this._node; |
| t2 = new M._InputBinding(t1, null, value, $name); |
| t2._eventSub = M._InputBinding__getStreamForInputType(t1).listen$1(t2.get$_nodeChanged()); |
| t3 = t2.get$_template_binding$_updateNode(); |
| M._InputBinding__updateProperty(t1, J.open$1$x(t2._template_binding$_bindable, t3), $name); |
| return $.enableBindingsReflection ? this._updateBindings$2($name, t2) : t2; |
| } |
| } |
| }], |
| ["template_binding.src.mustache_tokens", "package:template_binding/src/mustache_tokens.dart", , S, { |
| "^": "", |
| MustacheTokens: { |
| "^": "Object;_mustache_tokens$_tokens,onlyOneTime<,_combinator", |
| get$hasOnePath: function() { |
| return this._mustache_tokens$_tokens.length === 5; |
| }, |
| get$isSimplePath: function() { |
| var t1, t2; |
| t1 = this._mustache_tokens$_tokens; |
| t2 = t1.length; |
| if (t2 === 5) { |
| if (0 >= t2) |
| return H.ioore(t1, 0); |
| if (J.$eq(t1[0], "")) { |
| if (4 >= t1.length) |
| return H.ioore(t1, 4); |
| t1 = J.$eq(t1[4], ""); |
| } else |
| t1 = false; |
| } else |
| t1 = false; |
| return t1; |
| }, |
| get$combinator: function() { |
| return this._combinator; |
| }, |
| combinator$1: function(arg0) { |
| return this.get$combinator().call$1(arg0); |
| }, |
| get$length: function(_) { |
| return C.JSInt_methods._tdivFast$1(this._mustache_tokens$_tokens.length, 4); |
| }, |
| getOneTime$1: function(i) { |
| var t1, t2; |
| t1 = this._mustache_tokens$_tokens; |
| t2 = i * 4 + 1; |
| if (t2 >= t1.length) |
| return H.ioore(t1, t2); |
| return t1[t2]; |
| }, |
| getPath$1: function(i) { |
| var t1, t2; |
| t1 = this._mustache_tokens$_tokens; |
| t2 = i * 4 + 2; |
| if (t2 >= t1.length) |
| return H.ioore(t1, t2); |
| return t1[t2]; |
| }, |
| getPrepareBinding$1: function(i) { |
| var t1, t2; |
| t1 = this._mustache_tokens$_tokens; |
| t2 = i * 4 + 3; |
| if (t2 >= t1.length) |
| return H.ioore(t1, t2); |
| return t1[t2]; |
| }, |
| _singleCombinator$1: [function(value) { |
| var t1, t2, t3, t4; |
| if (value == null) |
| value = ""; |
| t1 = this._mustache_tokens$_tokens; |
| if (0 >= t1.length) |
| return H.ioore(t1, 0); |
| t2 = H.S(t1[0]) + H.S(value); |
| t3 = t1.length; |
| t4 = C.JSInt_methods._tdivFast$1(t3, 4) * 4; |
| if (t4 >= t3) |
| return H.ioore(t1, t4); |
| return t2 + H.S(t1[t4]); |
| }, "call$1", "get$_singleCombinator", 2, 0, 206, 21], |
| _listCombinator$1: [function(values) { |
| var t1, newValue, len, t2, i, value, t3, str; |
| t1 = this._mustache_tokens$_tokens; |
| if (0 >= t1.length) |
| return H.ioore(t1, 0); |
| newValue = P.StringBuffer$(t1[0]); |
| len = C.JSInt_methods._tdivFast$1(t1.length, 4); |
| for (t2 = J.getInterceptor$asx(values), i = 0; i < len;) { |
| value = t2.$index(values, i); |
| if (value != null) |
| newValue._contents += typeof value === "string" ? value : H.S(value); |
| ++i; |
| t3 = i * 4; |
| if (t3 >= t1.length) |
| return H.ioore(t1, t3); |
| str = t1[t3]; |
| newValue._contents += typeof str === "string" ? str : H.S(str); |
| } |
| return newValue._contents; |
| }, "call$1", "get$_listCombinator", 2, 0, 207, 208], |
| MustacheTokens$_$2: function(_tokens, onlyOneTime) { |
| this._combinator = this._mustache_tokens$_tokens.length === 5 ? this.get$_singleCombinator() : this.get$_listCombinator(); |
| }, |
| static: {"^": "MustacheTokens__TOKEN_TEXT,MustacheTokens__TOKEN_ONETIME,MustacheTokens__TOKEN_PATH,MustacheTokens__TOKEN_PREPAREFN,MustacheTokens__TOKEN_SIZE,MustacheTokens__TOKEN_ENDTEXT", MustacheTokens_parse: function(s, fnFactory) { |
| var $length, t1, t2, tokens, lastIndex, onlyOneTime, startIndex, oneTimeStart, t3, oneTime, terminator, endIndex, pathString, delegateFn; |
| if (s == null || s.length === 0) |
| return; |
| $length = s.length; |
| for (t1 = fnFactory == null, t2 = J.getInterceptor$asx(s), tokens = null, lastIndex = 0, onlyOneTime = true; lastIndex < $length;) { |
| startIndex = t2.indexOf$2(s, "{{", lastIndex); |
| oneTimeStart = C.JSString_methods.indexOf$2(s, "[[", lastIndex); |
| if (oneTimeStart >= 0) |
| t3 = startIndex < 0 || oneTimeStart < startIndex; |
| else |
| t3 = false; |
| if (t3) { |
| startIndex = oneTimeStart; |
| oneTime = true; |
| terminator = "]]"; |
| } else { |
| oneTime = false; |
| terminator = "}}"; |
| } |
| endIndex = startIndex >= 0 ? C.JSString_methods.indexOf$2(s, terminator, startIndex + 2) : -1; |
| if (endIndex < 0) { |
| if (tokens == null) |
| return; |
| tokens.push(C.JSString_methods.substring$1(s, lastIndex)); |
| break; |
| } |
| if (tokens == null) |
| tokens = []; |
| tokens.push(C.JSString_methods.substring$2(s, lastIndex, startIndex)); |
| pathString = C.JSString_methods.trim$0(C.JSString_methods.substring$2(s, startIndex + 2, endIndex)); |
| tokens.push(oneTime); |
| onlyOneTime = onlyOneTime && oneTime; |
| delegateFn = t1 ? null : fnFactory.call$1(pathString); |
| if (delegateFn == null) |
| tokens.push(L.PropertyPath_PropertyPath(pathString)); |
| else |
| tokens.push(null); |
| tokens.push(delegateFn); |
| lastIndex = endIndex + 2; |
| } |
| if (lastIndex === $length) |
| tokens.push(""); |
| t1 = new S.MustacheTokens(tokens, onlyOneTime, null); |
| t1.MustacheTokens$_$2(tokens, onlyOneTime); |
| return t1; |
| }} |
| } |
| }], |
| ["vm_ref_element", "package:observatory/src/elements/vm_ref.dart", , X, { |
| "^": "", |
| VMRefElement: { |
| "^": "ServiceRefElement;_service_ref_element$__$ref,_service_ref_element$__$internal,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| static: {VMRefElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver._service_ref_element$__$internal = false; |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.VMRefElement_methods.Element$created$0(receiver); |
| C.VMRefElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| } |
| }], |
| ["vm_view_element", "package:observatory/src/elements/vm_view.dart", , U, { |
| "^": "", |
| VMViewElement: { |
| "^": "ObservatoryElement_ChangeNotifier50;_vm_view_element$__$vm,_vm_view_element$__$error,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,change_notifier$ChangeNotifier$_changes,change_notifier$ChangeNotifier$_change_notifier$_records,polymer$Polymer$_polymer$_element,polymer$Polymer$_namedObservers,polymer$Polymer$_observers,polymer$Polymer$_unbound,polymer$Polymer$_unbindAllJob,polymer$Polymer$_propertyObserver,polymer$Polymer$_readied,polymer$Polymer$_jsElem,polymer$Polymer$_hasBeenAttached,polymer$Polymer$shadowRoots,polymer$Polymer$$", |
| get$vm: function(receiver) { |
| return receiver._vm_view_element$__$vm; |
| }, |
| set$vm: function(receiver, value) { |
| receiver._vm_view_element$__$vm = this.notifyPropertyChange$3(receiver, C.Symbol_vm, receiver._vm_view_element$__$vm, value); |
| }, |
| get$error: function(receiver) { |
| return receiver._vm_view_element$__$error; |
| }, |
| set$error: function(receiver, value) { |
| receiver._vm_view_element$__$error = this.notifyPropertyChange$3(receiver, C.Symbol_error, receiver._vm_view_element$__$error, value); |
| }, |
| refresh$1: [function(receiver, done) { |
| J.reload$0$x(receiver._vm_view_element$__$vm).whenComplete$1(done); |
| }, "call$1", "get$refresh", 2, 0, 20, 89], |
| static: {VMViewElement$created: function(receiver) { |
| var t1, t2; |
| t1 = P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, W.ShadowRoot); |
| t2 = P.String; |
| t2 = H.setRuntimeTypeInfo(new V.ObservableMap(P.HashMap_HashMap(null, null, null, t2, null), null, null), [t2, null]); |
| receiver.polymer$Polymer$_observers = []; |
| receiver.polymer$Polymer$_readied = false; |
| receiver.polymer$Polymer$_hasBeenAttached = false; |
| receiver.polymer$Polymer$shadowRoots = t1; |
| receiver.polymer$Polymer$$ = t2; |
| C.VMViewElement_methods.Element$created$0(receiver); |
| C.VMViewElement_methods.PolymerElement$created$0(receiver); |
| return receiver; |
| }} |
| }, |
| ObservatoryElement_ChangeNotifier50: { |
| "^": "ObservatoryElement+ChangeNotifier;", |
| $isObservable: true |
| } |
| }], |
| ]); |
| Isolate.$finishClasses($$, $, null); |
| $$ = null; |
| |
| // Runtime type support |
| P.$int.$is$int = true; |
| P.$int.$isComparable = true; |
| P.$int.$asComparable = [P.num]; |
| P.$int.$isObject = true; |
| P.$double.$is$double = true; |
| P.$double.$isComparable = true; |
| P.$double.$asComparable = [P.num]; |
| P.$double.$isObject = true; |
| W.Node.$isNode = true; |
| W.Node.$isObject = true; |
| W.SpeechRecognitionResult.$isObject = true; |
| W.Entry.$isObject = true; |
| P.String.$isString = true; |
| P.String.$isComparable = true; |
| P.String.$asComparable = [P.String]; |
| P.String.$isObject = true; |
| P.num.$isComparable = true; |
| P.num.$asComparable = [P.num]; |
| P.num.$isObject = true; |
| N.Level.$isComparable = true; |
| N.Level.$asComparable = [N.Level]; |
| N.Level.$isObject = true; |
| P.Duration.$isDuration = true; |
| P.Duration.$isComparable = true; |
| P.Duration.$asComparable = [P.Duration]; |
| P.Duration.$isObject = true; |
| W.Element.$isElement = true; |
| W.Element.$isNode = true; |
| W.Element.$isObject = true; |
| P.List.$isList = true; |
| P.List.$isIterable = true; |
| P.List.$isObject = true; |
| P._SplayTreeNode.$isObject = true; |
| P.Object.$isObject = true; |
| P.Match.$isObject = true; |
| K.IndexedValue.$isIndexedValue = true; |
| K.IndexedValue.$isObject = true; |
| U.TernaryOperator.$isExpression = true; |
| U.TernaryOperator.$isObject = true; |
| U.UnaryOperator.$isExpression = true; |
| U.UnaryOperator.$isObject = true; |
| U.BinaryOperator.$isExpression = true; |
| U.BinaryOperator.$isObject = true; |
| U.Identifier.$isIdentifier = true; |
| U.Identifier.$isExpression = true; |
| U.Identifier.$isObject = true; |
| U.MapLiteralEntry.$isExpression = true; |
| U.MapLiteralEntry.$isObject = true; |
| U.MapLiteral.$isExpression = true; |
| U.MapLiteral.$isObject = true; |
| U.ListLiteral.$isExpression = true; |
| U.ListLiteral.$isObject = true; |
| U.Literal.$isExpression = true; |
| U.Literal.$isObject = true; |
| U.Invoke.$isExpression = true; |
| U.Invoke.$isObject = true; |
| U.Index.$isIndex = true; |
| U.Index.$isExpression = true; |
| U.Index.$isObject = true; |
| U.Getter.$isExpression = true; |
| U.Getter.$isObject = true; |
| U.EmptyExpression.$isEmptyExpression = true; |
| U.EmptyExpression.$isExpression = true; |
| U.EmptyExpression.$isObject = true; |
| P.Symbol.$isSymbol = true; |
| P.Symbol.$isObject = true; |
| P.Type.$isType = true; |
| P.Type.$isObject = true; |
| N.Logger.$isObject = true; |
| T.ChangeRecord.$isChangeRecord = true; |
| T.ChangeRecord.$isObject = true; |
| W.TableRowElement.$isElement = true; |
| W.TableRowElement.$isNode = true; |
| W.TableRowElement.$isObject = true; |
| G.ListChangeRecord.$isListChangeRecord = true; |
| G.ListChangeRecord.$isObject = true; |
| G.TableTreeRow.$isTableTreeRow = true; |
| G.TableTreeRow.$isObject = true; |
| F.Observable.$isObject = true; |
| A.PolymerDeclaration.$isObject = true; |
| W.MouseEvent.$isMouseEvent = true; |
| W.MouseEvent.$isEvent = true; |
| W.MouseEvent.$isObject = true; |
| P.bool.$isbool = true; |
| P.bool.$isObject = true; |
| G.Pane.$isObject = true; |
| P.Completer.$isObject = true; |
| D.ServiceObject.$isServiceObject = true; |
| D.ServiceObject.$isObject = true; |
| D.Isolate.$isServiceObject = true; |
| D.Isolate.$isObject = true; |
| W.PopStateEvent.$isPopStateEvent = true; |
| W.PopStateEvent.$isEvent = true; |
| W.PopStateEvent.$isObject = true; |
| D.CodeCallCount.$isObject = true; |
| D.TagProfileSnapshot.$isObject = true; |
| D.Class.$isClass = true; |
| D.Class.$isServiceObject = true; |
| D.Class.$isObject = true; |
| D.ServiceMap.$isServiceMap = true; |
| D.ServiceMap.$isServiceObject = true; |
| D.ServiceMap.$isObservableMap = true; |
| D.ServiceMap.$asObservableMap = [null, null]; |
| D.ServiceMap.$isMap = true; |
| D.ServiceMap.$asMap = [null, null]; |
| D.ServiceMap.$isObject = true; |
| D.CodeInstruction.$isObject = true; |
| D.CodeTick.$isObject = true; |
| D.Library.$isServiceObject = true; |
| D.Library.$isObject = true; |
| D.Script.$isScript = true; |
| D.Script.$isServiceObject = true; |
| D.Script.$isObject = true; |
| D.ScriptLine.$isObject = true; |
| W.HttpRequest.$isHttpRequest = true; |
| W.HttpRequest.$isObject = true; |
| W.ProgressEvent.$isEvent = true; |
| W.ProgressEvent.$isObject = true; |
| D.Code.$isCode = true; |
| D.Code.$isServiceObject = true; |
| D.Code.$isObject = true; |
| D.CodeTrieNode.$isObject = true; |
| D.PcDescriptor.$isObject = true; |
| W.MessageEvent.$isEvent = true; |
| W.MessageEvent.$isObject = true; |
| L.PropertyPath.$isPropertyPath = true; |
| L.PropertyPath.$isObject = true; |
| K.Scope.$isObject = true; |
| N.LogRecord.$isLogRecord = true; |
| N.LogRecord.$isObject = true; |
| H.RawReceivePortImpl.$isObject = true; |
| H._IsolateEvent.$isObject = true; |
| H._IsolateContext.$isObject = true; |
| W.ShadowRoot.$isDocumentFragment = true; |
| W.ShadowRoot.$isNode = true; |
| W.ShadowRoot.$isObject = true; |
| W.Event.$isEvent = true; |
| W.Event.$isObject = true; |
| P.Stream.$isStream = true; |
| P.Stream.$isObject = true; |
| P.StreamSubscription.$isStreamSubscription = true; |
| P.StreamSubscription.$isObject = true; |
| Y.Token.$isObject = true; |
| U.Expression.$isExpression = true; |
| U.Expression.$isObject = true; |
| G.SortedTableRow.$isObject = true; |
| P.ZoneDelegate.$isZoneDelegate = true; |
| P.ZoneDelegate.$isObject = true; |
| P.Zone.$isZone = true; |
| P.Zone.$isObject = true; |
| P.StackTrace.$isStackTrace = true; |
| P.StackTrace.$isObject = true; |
| V.ObservableMap.$isObservableMap = true; |
| V.ObservableMap.$isMap = true; |
| V.ObservableMap.$isObject = true; |
| P._BufferingStreamSubscription.$is_BufferingStreamSubscription = true; |
| P._BufferingStreamSubscription.$is_EventSink = true; |
| P._BufferingStreamSubscription.$isStreamSubscription = true; |
| P._BufferingStreamSubscription.$isObject = true; |
| P._BroadcastSubscription.$is_BroadcastSubscription = true; |
| P._BroadcastSubscription.$is_BufferingStreamSubscription = true; |
| P._BroadcastSubscription.$is_EventSink = true; |
| P._BroadcastSubscription.$isStreamSubscription = true; |
| P._BroadcastSubscription.$isObject = true; |
| P.Comparable.$isComparable = true; |
| P.Comparable.$isObject = true; |
| P.ZoneSpecification.$isZoneSpecification = true; |
| P.ZoneSpecification.$isObject = true; |
| P.Map.$isMap = true; |
| P.Map.$isObject = true; |
| P.Timer.$isTimer = true; |
| P.Timer.$isObject = true; |
| P.Iterable.$isIterable = true; |
| P.Iterable.$isObject = true; |
| P.Future.$isFuture = true; |
| P.Future.$isObject = true; |
| P.Function.$isFunction = true; |
| P.Function.$isObject = true; |
| P._EventSink.$is_EventSink = true; |
| P._EventSink.$isObject = true; |
| P._DelayedEvent.$is_DelayedEvent = true; |
| P._DelayedEvent.$isObject = true; |
| P.DateTime.$isDateTime = true; |
| P.DateTime.$isComparable = true; |
| P.DateTime.$asComparable = [null]; |
| P.DateTime.$isObject = true; |
| A.Bindable.$isBindable = true; |
| A.Bindable.$isObject = true; |
| O.PixelReference.$isPixelReference = true; |
| O.PixelReference.$isObject = true; |
| D.ServiceError.$isServiceError = true; |
| D.ServiceError.$isServiceObject = true; |
| D.ServiceError.$isObject = true; |
| D.ServiceException.$isServiceException = true; |
| D.ServiceException.$isServiceObject = true; |
| D.ServiceException.$isObject = true; |
| A.Declaration.$isDeclaration = true; |
| A.Declaration.$isObject = true; |
| A.QueryOptions.$isQueryOptions = true; |
| A.QueryOptions.$isObject = true; |
| L._Observer.$is_Observer = true; |
| L._Observer.$isBindable = true; |
| L._Observer.$isObject = true; |
| W.DocumentFragment.$isDocumentFragment = true; |
| W.DocumentFragment.$isNode = true; |
| W.DocumentFragment.$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); |
| }; |
| 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.$div$n = function(receiver, a0) { |
| if (typeof receiver == "number" && typeof a0 == "number") |
| return receiver / a0; |
| return J.getInterceptor$n(receiver).$div(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.$gt$n = function(receiver, a0) { |
| if (typeof receiver == "number" && typeof a0 == "number") |
| return receiver > a0; |
| return J.getInterceptor$n(receiver).$gt(receiver, a0); |
| }; |
| J.$index$asx = function(receiver, a0) { |
| if (receiver.constructor == Array || typeof receiver == "string" || H.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) |
| if (a0 >>> 0 === a0 && a0 < receiver.length) |
| return receiver[a0]; |
| return J.getInterceptor$asx(receiver).$index(receiver, a0); |
| }; |
| J.$indexSet$ax = function(receiver, a0, a1) { |
| if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[init.dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < receiver.length) |
| return receiver[a0] = a1; |
| return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); |
| }; |
| J.$le$n = function(receiver, a0) { |
| if (typeof receiver == "number" && typeof a0 == "number") |
| return receiver <= a0; |
| return J.getInterceptor$n(receiver).$le(receiver, a0); |
| }; |
| J.$lt$n = function(receiver, a0) { |
| if (typeof receiver == "number" && typeof a0 == "number") |
| return receiver < a0; |
| return J.getInterceptor$n(receiver).$lt(receiver, a0); |
| }; |
| J.$mod$n = function(receiver, a0) { |
| return J.getInterceptor$n(receiver).$mod(receiver, a0); |
| }; |
| J.$mul$ns = function(receiver, a0) { |
| if (typeof receiver == "number" && typeof a0 == "number") |
| return receiver * a0; |
| return J.getInterceptor$ns(receiver).$mul(receiver, a0); |
| }; |
| J.$negate$n = function(receiver) { |
| if (typeof receiver == "number") |
| return -receiver; |
| return J.getInterceptor$n(receiver).$negate(receiver); |
| }; |
| J.$shl$n = function(receiver, a0) { |
| return J.getInterceptor$n(receiver).$shl(receiver, a0); |
| }; |
| J.$sub$n = function(receiver, a0) { |
| if (typeof receiver == "number" && typeof a0 == "number") |
| return receiver - a0; |
| return J.getInterceptor$n(receiver).$sub(receiver, a0); |
| }; |
| J.$tdiv$n = function(receiver, a0) { |
| return J.getInterceptor$n(receiver).$tdiv(receiver, a0); |
| }; |
| J.$xor$n = function(receiver, a0) { |
| if (typeof receiver == "number" && typeof a0 == "number") |
| return (receiver ^ a0) >>> 0; |
| return J.getInterceptor$n(receiver).$xor(receiver, a0); |
| }; |
| J.__isolate_helper$_add$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).__isolate_helper$_add$1(receiver, a0); |
| }; |
| J._async$_add$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver)._async$_add$1(receiver, a0); |
| }; |
| J._clearChildren$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver)._clearChildren$0(receiver); |
| }; |
| J._initCustomEvent$4$x = function(receiver, a0, a1, a2, a3) { |
| return J.getInterceptor$x(receiver)._initCustomEvent$4(receiver, a0, a1, a2, a3); |
| }; |
| J._initMouseEvent$15$x = function(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14) { |
| return J.getInterceptor$x(receiver)._initMouseEvent$15(receiver, a0, a1, a2, a3, a4, a5, a6, a7, a8, a9, a10, a11, a12, a13, a14); |
| }; |
| J._renderPages$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver)._renderPages$1(receiver, a0); |
| }; |
| J._replaceChild$2$x = function(receiver, a0, a1) { |
| return J.getInterceptor$x(receiver)._replaceChild$2(receiver, a0, a1); |
| }; |
| J._update$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver)._update$1(receiver, a0); |
| }; |
| J._updateFragmentationData$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver)._updateFragmentationData$0(receiver); |
| }; |
| J._updateLines$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver)._updateLines$0(receiver); |
| }; |
| J.abs$0$n = function(receiver) { |
| return J.getInterceptor$n(receiver).abs$0(receiver); |
| }; |
| J.accept$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).accept$1(receiver, a0); |
| }; |
| J.add$1$ax = function(receiver, a0) { |
| return J.getInterceptor$ax(receiver).add$1(receiver, a0); |
| }; |
| J.addAll$1$ax = function(receiver, a0) { |
| return J.getInterceptor$ax(receiver).addAll$1(receiver, a0); |
| }; |
| J.addEventListener$2$x = function(receiver, a0, a1) { |
| return J.getInterceptor$x(receiver).addEventListener$2(receiver, a0, a1); |
| }; |
| J.addEventListener$3$x = function(receiver, a0, a1, a2) { |
| return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2); |
| }; |
| J.addRow$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).addRow$1(receiver, a0); |
| }; |
| J.any$1$ax = function(receiver, a0) { |
| return J.getInterceptor$ax(receiver).any$1(receiver, a0); |
| }; |
| J.append$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).append$1(receiver, a0); |
| }; |
| J.async$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).async$1(receiver, a0); |
| }; |
| J.attached$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver).attached$0(receiver); |
| }; |
| J.attributeChanged$3$x = function(receiver, a0, a1, a2) { |
| return J.getInterceptor$x(receiver).attributeChanged$3(receiver, a0, a1, a2); |
| }; |
| J.bind$3$oneTime$x = function(receiver, a0, a1, a2) { |
| return J.getInterceptor$x(receiver).bind$3$oneTime(receiver, a0, a1, a2); |
| }; |
| J.callback$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver).callback$0(receiver); |
| }; |
| J.clear$0$ax = function(receiver) { |
| return J.getInterceptor$ax(receiver).clear$0(receiver); |
| }; |
| J.close$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver).close$0(receiver); |
| }; |
| J.codeUnitAt$1$s = function(receiver, a0) { |
| return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); |
| }; |
| J.compareTo$1$ns = function(receiver, a0) { |
| return J.getInterceptor$ns(receiver).compareTo$1(receiver, a0); |
| }; |
| J.complete$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).complete$1(receiver, a0); |
| }; |
| J.contains$1$asx = function(receiver, a0) { |
| return J.getInterceptor$asx(receiver).contains$1(receiver, a0); |
| }; |
| J.contains$2$asx = function(receiver, a0, a1) { |
| return J.getInterceptor$asx(receiver).contains$2(receiver, a0, a1); |
| }; |
| J.createDocumentFragment$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver).createDocumentFragment$0(receiver); |
| }; |
| J.createInstance$2$x = function(receiver, a0, a1) { |
| return J.getInterceptor$x(receiver).createInstance$2(receiver, a0, a1); |
| }; |
| J.detached$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver).detached$0(receiver); |
| }; |
| J.dispatchMethod$3$x = function(receiver, a0, a1, a2) { |
| return J.getInterceptor$x(receiver).dispatchMethod$3(receiver, a0, a1, a2); |
| }; |
| J.elementAt$1$ax = function(receiver, a0) { |
| return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); |
| }; |
| J.endsWith$1$s = function(receiver, a0) { |
| return J.getInterceptor$s(receiver).endsWith$1(receiver, a0); |
| }; |
| J.eval$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).eval$1(receiver, a0); |
| }; |
| J.forEach$1$ax = function(receiver, a0) { |
| return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); |
| }; |
| J.get$$function$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$$function(receiver); |
| }; |
| J.get$$goto$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$$goto(receiver); |
| }; |
| J.get$__isolate_helper$_id$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$__isolate_helper$_id(receiver); |
| }; |
| J.get$_children$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$_children(receiver); |
| }; |
| J.get$_element$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$_element(receiver); |
| }; |
| J.get$_name$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$_name(receiver); |
| }; |
| J.get$_observe$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$_observe(receiver); |
| }; |
| J.get$_updateFile$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$_updateFile(receiver); |
| }; |
| J.get$_updateHttpServer$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$_updateHttpServer(receiver); |
| }; |
| J.get$_updateTagProfile$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$_updateTagProfile(receiver); |
| }; |
| J.get$_values$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$_values(receiver); |
| }; |
| J.get$active$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$active(receiver); |
| }; |
| J.get$anchor$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$anchor(receiver); |
| }; |
| J.get$attributes$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$attributes(receiver); |
| }; |
| J.get$bindingDelegate$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$bindingDelegate(receiver); |
| }; |
| J.get$bindings$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$bindings(receiver); |
| }; |
| J.get$busy$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$busy(receiver); |
| }; |
| J.get$buttonClick$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$buttonClick(receiver); |
| }; |
| J.get$callback$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$callback(receiver); |
| }; |
| J.get$change$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$change(receiver); |
| }; |
| J.get$changeSort$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$changeSort(receiver); |
| }; |
| J.get$checked$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$checked(receiver); |
| }; |
| J.get$checkedText$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$checkedText(receiver); |
| }; |
| J.get$children$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$children(receiver); |
| }; |
| J.get$className$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$className(receiver); |
| }; |
| J.get$classTable$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$classTable(receiver); |
| }; |
| J.get$classes$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$classes(receiver); |
| }; |
| J.get$cls$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$cls(receiver); |
| }; |
| J.get$code$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$code(receiver); |
| }; |
| J.get$coloring$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$coloring(receiver); |
| }; |
| J.get$connection$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$connection(receiver); |
| }; |
| J.get$content$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$content(receiver); |
| }; |
| J.get$context2D$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$context2D(receiver); |
| }; |
| J.get$counters$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$counters(receiver); |
| }; |
| J.get$countersChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$countersChanged(receiver); |
| }; |
| J.get$data$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$data(receiver); |
| }; |
| J.get$devtools$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$devtools(receiver); |
| }; |
| J.get$displayCutoff$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$displayCutoff(receiver); |
| }; |
| J.get$doAction$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$doAction(receiver); |
| }; |
| J.get$element$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$element(receiver); |
| }; |
| J.get$endLine$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$endLine(receiver); |
| }; |
| J.get$endPos$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$endPos(receiver); |
| }; |
| J.get$endPosChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$endPosChanged(receiver); |
| }; |
| J.get$error$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$error(receiver); |
| }; |
| J.get$eval$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$eval(receiver); |
| }; |
| J.get$evalNow$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$evalNow(receiver); |
| }; |
| J.get$exception$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$exception(receiver); |
| }; |
| J.get$expand$ax = function(receiver) { |
| return J.getInterceptor$ax(receiver).get$expand(receiver); |
| }; |
| J.get$expandChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$expandChanged(receiver); |
| }; |
| J.get$expanded$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$expanded(receiver); |
| }; |
| J.get$expander$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$expander(receiver); |
| }; |
| J.get$expr$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$expr(receiver); |
| }; |
| J.get$field$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$field(receiver); |
| }; |
| J.get$file$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$file(receiver); |
| }; |
| J.get$flag$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$flag(receiver); |
| }; |
| J.get$flagList$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$flagList(receiver); |
| }; |
| J.get$formatSize$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$formatSize(receiver); |
| }; |
| J.get$formatTime$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$formatTime(receiver); |
| }; |
| J.get$formattedAverage$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$formattedAverage(receiver); |
| }; |
| J.get$formattedCollections$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$formattedCollections(receiver); |
| }; |
| J.get$formattedTotalCollectionTime$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$formattedTotalCollectionTime(receiver); |
| }; |
| J.get$fragmentation$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$fragmentation(receiver); |
| }; |
| J.get$fragmentationChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$fragmentationChanged(receiver); |
| }; |
| J.get$frame$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$frame(receiver); |
| }; |
| J.get$functionChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$functionChanged(receiver); |
| }; |
| J.get$gotoLink$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$gotoLink(receiver); |
| }; |
| J.get$hasClass$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$hasClass(receiver); |
| }; |
| J.get$hasParent$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$hasParent(receiver); |
| }; |
| J.get$hashCode$ = function(receiver) { |
| return J.getInterceptor(receiver).get$hashCode(receiver); |
| }; |
| J.get$hashLinkWorkaround$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$hashLinkWorkaround(receiver); |
| }; |
| J.get$head$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$head(receiver); |
| }; |
| J.get$height$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$height(receiver); |
| }; |
| J.get$hideTagsChecked$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$hideTagsChecked(receiver); |
| }; |
| J.get$hoverText$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$hoverText(receiver); |
| }; |
| J.get$httpServer$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$httpServer(receiver); |
| }; |
| J.get$id$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$id(receiver); |
| }; |
| J.get$index$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$index(receiver); |
| }; |
| J.get$instance$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$instance(receiver); |
| }; |
| J.get$instances$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$instances(receiver); |
| }; |
| J.get$internal$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$internal(receiver); |
| }; |
| J.get$io$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$io(receiver); |
| }; |
| J.get$isBool$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isBool(receiver); |
| }; |
| J.get$isDart$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isDart(receiver); |
| }; |
| J.get$isDouble$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isDouble(receiver); |
| }; |
| J.get$isEmpty$asx = function(receiver) { |
| return J.getInterceptor$asx(receiver).get$isEmpty(receiver); |
| }; |
| J.get$isError$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isError(receiver); |
| }; |
| J.get$isFinal$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isFinal(receiver); |
| }; |
| J.get$isInstance$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isInstance(receiver); |
| }; |
| J.get$isInt$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isInt(receiver); |
| }; |
| J.get$isList$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isList(receiver); |
| }; |
| J.get$isNotEmpty$asx = function(receiver) { |
| return J.getInterceptor$asx(receiver).get$isNotEmpty(receiver); |
| }; |
| J.get$isNull$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isNull(receiver); |
| }; |
| J.get$isString$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isString(receiver); |
| }; |
| J.get$isType$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isType(receiver); |
| }; |
| J.get$isUnexpected$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isUnexpected(receiver); |
| }; |
| J.get$isolate$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isolate(receiver); |
| }; |
| J.get$isolateChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$isolateChanged(receiver); |
| }; |
| J.get$iterator$ax = function(receiver) { |
| return J.getInterceptor$ax(receiver).get$iterator(receiver); |
| }; |
| J.get$key$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$key(receiver); |
| }; |
| J.get$kind$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$kind(receiver); |
| }; |
| J.get$label$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$label(receiver); |
| }; |
| J.get$last$ax = function(receiver) { |
| return J.getInterceptor$ax(receiver).get$last(receiver); |
| }; |
| J.get$lastAccumulatorReset$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$lastAccumulatorReset(receiver); |
| }; |
| J.get$lastServiceGC$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$lastServiceGC(receiver); |
| }; |
| J.get$length$asx = function(receiver) { |
| return J.getInterceptor$asx(receiver).get$length(receiver); |
| }; |
| J.get$library$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$library(receiver); |
| }; |
| J.get$lineMode$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$lineMode(receiver); |
| }; |
| J.get$lineNumber$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$lineNumber(receiver); |
| }; |
| J.get$lineNumbers$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$lineNumbers(receiver); |
| }; |
| J.get$lines$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$lines(receiver); |
| }; |
| J.get$link$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$link(receiver); |
| }; |
| J.get$list$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$list(receiver); |
| }; |
| J.get$loaded$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$loaded(receiver); |
| }; |
| J.get$map$ax = function(receiver) { |
| return J.getInterceptor$ax(receiver).get$map(receiver); |
| }; |
| J.get$mapAsString$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$mapAsString(receiver); |
| }; |
| J.get$mapChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$mapChanged(receiver); |
| }; |
| J.get$message$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$message(receiver); |
| }; |
| J.get$model$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$model(receiver); |
| }; |
| J.get$mouseOut$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$mouseOut(receiver); |
| }; |
| J.get$mouseOver$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$mouseOver(receiver); |
| }; |
| J.get$msg$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$msg(receiver); |
| }; |
| J.get$name$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$name(receiver); |
| }; |
| J.get$nameIsEmpty$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$nameIsEmpty(receiver); |
| }; |
| J.get$nextElementSibling$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$nextElementSibling(receiver); |
| }; |
| J.get$nextNode$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$nextNode(receiver); |
| }; |
| J.get$object$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$object(receiver); |
| }; |
| J.get$objectChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$objectChanged(receiver); |
| }; |
| J.get$offset$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$offset(receiver); |
| }; |
| J.get$on$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$on(receiver); |
| }; |
| J.get$onMouseDown$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$onMouseDown(receiver); |
| }; |
| J.get$onMouseMove$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$onMouseMove(receiver); |
| }; |
| J.get$ownerDocument$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$ownerDocument(receiver); |
| }; |
| J.get$pad$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$pad(receiver); |
| }; |
| J.get$padding$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$padding(receiver); |
| }; |
| J.get$parent$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$parent(receiver); |
| }; |
| J.get$parentNode$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$parentNode(receiver); |
| }; |
| J.get$path$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$path(receiver); |
| }; |
| J.get$pause$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$pause(receiver); |
| }; |
| J.get$pauseEvent$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$pauseEvent(receiver); |
| }; |
| J.get$pos$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$pos(receiver); |
| }; |
| J.get$posChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$posChanged(receiver); |
| }; |
| J.get$process$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$process(receiver); |
| }; |
| J.get$profile$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$profile(receiver); |
| }; |
| J.get$profileChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$profileChanged(receiver); |
| }; |
| J.get$protocol$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$protocol(receiver); |
| }; |
| J.get$qualified$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$qualified(receiver); |
| }; |
| J.get$qualifiedName$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$qualifiedName(receiver); |
| }; |
| J.get$reachable$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$reachable(receiver); |
| }; |
| J.get$ref$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$ref(receiver); |
| }; |
| J.get$refChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$refChanged(receiver); |
| }; |
| J.get$refresh$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$refresh(receiver); |
| }; |
| J.get$refreshCoverage$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$refreshCoverage(receiver); |
| }; |
| J.get$refreshGC$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$refreshGC(receiver); |
| }; |
| J.get$refreshTime$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$refreshTime(receiver); |
| }; |
| J.get$resetAccumulator$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$resetAccumulator(receiver); |
| }; |
| J.get$response$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$response(receiver); |
| }; |
| J.get$responseText$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$responseText(receiver); |
| }; |
| J.get$result$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$result(receiver); |
| }; |
| J.get$results$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$results(receiver); |
| }; |
| J.get$resume$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$resume(receiver); |
| }; |
| J.get$retainedBytes$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$retainedBytes(receiver); |
| }; |
| J.get$retainedSize$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$retainedSize(receiver); |
| }; |
| J.get$retainingPath$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$retainingPath(receiver); |
| }; |
| J.get$rowIndex$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$rowIndex(receiver); |
| }; |
| J.get$rows$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$rows(receiver); |
| }; |
| J.get$runtimeType$ = function(receiver) { |
| return J.getInterceptor(receiver).get$runtimeType(receiver); |
| }; |
| J.get$sampleCount$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$sampleCount(receiver); |
| }; |
| J.get$sampleDepth$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$sampleDepth(receiver); |
| }; |
| J.get$sampleRate$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$sampleRate(receiver); |
| }; |
| J.get$script$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$script(receiver); |
| }; |
| J.get$scriptChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$scriptChanged(receiver); |
| }; |
| J.get$selectExpr$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$selectExpr(receiver); |
| }; |
| J.get$selectedIndex$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$selectedIndex(receiver); |
| }; |
| J.get$small$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$small(receiver); |
| }; |
| J.get$socket$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$socket(receiver); |
| }; |
| J.get$startLine$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$startLine(receiver); |
| }; |
| J.get$status$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$status(receiver); |
| }; |
| J.get$styleForHits$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$styleForHits(receiver); |
| }; |
| J.get$syntax$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$syntax(receiver); |
| }; |
| J.get$tagSelector$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$tagSelector(receiver); |
| }; |
| J.get$tagSelectorChanged$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$tagSelectorChanged(receiver); |
| }; |
| J.get$target$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$target(receiver); |
| }; |
| J.get$templateInstance$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$templateInstance(receiver); |
| }; |
| J.get$text$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$text(receiver); |
| }; |
| J.get$timeSpan$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$timeSpan(receiver); |
| }; |
| J.get$toggleExpand$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$toggleExpand(receiver); |
| }; |
| J.get$toggleExpanded$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$toggleExpanded(receiver); |
| }; |
| J.get$topLeft$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$topLeft(receiver); |
| }; |
| J.get$trace$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$trace(receiver); |
| }; |
| J.get$tree$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$tree(receiver); |
| }; |
| J.get$uncheckedText$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$uncheckedText(receiver); |
| }; |
| J.get$updateLineMode$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$updateLineMode(receiver); |
| }; |
| J.get$url$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$url(receiver); |
| }; |
| J.get$value$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$value(receiver); |
| }; |
| J.get$values$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$values(receiver); |
| }; |
| J.get$version$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$version(receiver); |
| }; |
| J.get$vm$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$vm(receiver); |
| }; |
| J.get$webSocket$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$webSocket(receiver); |
| }; |
| J.get$width$x = function(receiver) { |
| return J.getInterceptor$x(receiver).get$width(receiver); |
| }; |
| J.getAttribute$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).getAttribute$1(receiver, a0); |
| }; |
| J.getBoundingClientRect$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver).getBoundingClientRect$0(receiver); |
| }; |
| J.importNode$2$x = function(receiver, a0, a1) { |
| return J.getInterceptor$x(receiver).importNode$2(receiver, a0, a1); |
| }; |
| J.indexOf$1$asx = function(receiver, a0) { |
| return J.getInterceptor$asx(receiver).indexOf$1(receiver, a0); |
| }; |
| J.indexOf$2$asx = function(receiver, a0, a1) { |
| return J.getInterceptor$asx(receiver).indexOf$2(receiver, a0, a1); |
| }; |
| J.insert$2$ax = function(receiver, a0, a1) { |
| return J.getInterceptor$ax(receiver).insert$2(receiver, a0, a1); |
| }; |
| J.insertAllBefore$2$x = function(receiver, a0, a1) { |
| return J.getInterceptor$x(receiver).insertAllBefore$2(receiver, a0, a1); |
| }; |
| J.join$1$ax = function(receiver, a0) { |
| return J.getInterceptor$ax(receiver).join$1(receiver, a0); |
| }; |
| J.lastIndexOf$2$asx = function(receiver, a0, a1) { |
| return J.getInterceptor$asx(receiver).lastIndexOf$2(receiver, a0, a1); |
| }; |
| J.load$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver).load$0(receiver); |
| }; |
| J.map$1$ax = function(receiver, a0) { |
| return J.getInterceptor$ax(receiver).map$1(receiver, a0); |
| }; |
| J.matches$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).matches$1(receiver, a0); |
| }; |
| J.matchesWithAncestors$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).matchesWithAncestors$1(receiver, a0); |
| }; |
| J.noSuchMethod$1 = function(receiver, a0) { |
| return J.getInterceptor(receiver).noSuchMethod$1(receiver, a0); |
| }; |
| J.notifyPropertyChange$3$x = function(receiver, a0, a1, a2) { |
| return J.getInterceptor$x(receiver).notifyPropertyChange$3(receiver, a0, a1, a2); |
| }; |
| J.observe$3$attributeFilter$attributes$x = function(receiver, a0, a1, a2) { |
| return J.getInterceptor$x(receiver).observe$3$attributeFilter$attributes(receiver, a0, a1, a2); |
| }; |
| J.open$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).open$1(receiver, a0); |
| }; |
| J.postMessage$2$x = function(receiver, a0, a1) { |
| return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); |
| }; |
| J.preventDefault$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver).preventDefault$0(receiver); |
| }; |
| J.print$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).print$1(receiver, a0); |
| }; |
| J.process$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver).process$0(receiver); |
| }; |
| J.putImageData$7$x = function(receiver, a0, a1, a2, a3, a4, a5, a6) { |
| return J.getInterceptor$x(receiver).putImageData$7(receiver, a0, a1, a2, a3, a4, a5, a6); |
| }; |
| J.querySelector$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).querySelector$1(receiver, a0); |
| }; |
| J.querySelectorAll$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).querySelectorAll$1(receiver, a0); |
| }; |
| J.refreshCoverage$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver).refreshCoverage$0(receiver); |
| }; |
| J.reload$0$x = function(receiver) { |
| return J.getInterceptor$x(receiver).reload$0(receiver); |
| }; |
| J.remove$0$ax = function(receiver) { |
| return J.getInterceptor$ax(receiver).remove$0(receiver); |
| }; |
| J.remove$1$ax = function(receiver, a0) { |
| return J.getInterceptor$ax(receiver).remove$1(receiver, a0); |
| }; |
| J.removeEventListener$3$x = function(receiver, a0, a1, a2) { |
| return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2); |
| }; |
| J.removeRange$2$ax = function(receiver, a0, a1) { |
| return J.getInterceptor$ax(receiver).removeRange$2(receiver, a0, a1); |
| }; |
| J.replaceAll$2$s = function(receiver, a0, a1) { |
| return J.getInterceptor$s(receiver).replaceAll$2(receiver, a0, a1); |
| }; |
| J.replaceWith$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).replaceWith$1(receiver, a0); |
| }; |
| J.round$0$n = function(receiver) { |
| return J.getInterceptor$n(receiver).round$0(receiver); |
| }; |
| J.send$1$x = function(receiver, a0) { |
| return J.getInterceptor$x(receiver).send$1(receiver, a0); |
| }; |
| J.set$$function$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$$function(receiver, value); |
| }; |
| J.set$_dartDetail$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$_dartDetail(receiver, value); |
| }; |
| J.set$_selector$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$_selector(receiver, value); |
| }; |
| J.set$active$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$active(receiver, value); |
| }; |
| J.set$anchor$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$anchor(receiver, value); |
| }; |
| J.set$bindingDelegate$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$bindingDelegate(receiver, value); |
| }; |
| J.set$bindings$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$bindings(receiver, value); |
| }; |
| J.set$busy$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$busy(receiver, value); |
| }; |
| J.set$callback$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$callback(receiver, value); |
| }; |
| J.set$checked$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$checked(receiver, value); |
| }; |
| J.set$checkedText$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$checkedText(receiver, value); |
| }; |
| J.set$className$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$className(receiver, value); |
| }; |
| J.set$classTable$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$classTable(receiver, value); |
| }; |
| J.set$cls$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$cls(receiver, value); |
| }; |
| J.set$code$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$code(receiver, value); |
| }; |
| J.set$connection$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$connection(receiver, value); |
| }; |
| J.set$counters$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$counters(receiver, value); |
| }; |
| J.set$devtools$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$devtools(receiver, value); |
| }; |
| J.set$displayCutoff$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$displayCutoff(receiver, value); |
| }; |
| J.set$endLine$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$endLine(receiver, value); |
| }; |
| J.set$endPos$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$endPos(receiver, value); |
| }; |
| J.set$error$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$error(receiver, value); |
| }; |
| J.set$eval$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$eval(receiver, value); |
| }; |
| J.set$exception$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$exception(receiver, value); |
| }; |
| J.set$expand$ax = function(receiver, value) { |
| return J.getInterceptor$ax(receiver).set$expand(receiver, value); |
| }; |
| J.set$expanded$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$expanded(receiver, value); |
| }; |
| J.set$expr$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$expr(receiver, value); |
| }; |
| J.set$field$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$field(receiver, value); |
| }; |
| J.set$file$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$file(receiver, value); |
| }; |
| J.set$flag$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$flag(receiver, value); |
| }; |
| J.set$flagList$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$flagList(receiver, value); |
| }; |
| J.set$fragmentation$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$fragmentation(receiver, value); |
| }; |
| J.set$frame$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$frame(receiver, value); |
| }; |
| J.set$hasClass$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$hasClass(receiver, value); |
| }; |
| J.set$hasParent$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$hasParent(receiver, value); |
| }; |
| J.set$hashLinkWorkaround$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$hashLinkWorkaround(receiver, value); |
| }; |
| J.set$height$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$height(receiver, value); |
| }; |
| J.set$hideTagsChecked$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$hideTagsChecked(receiver, value); |
| }; |
| J.set$href$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$href(receiver, value); |
| }; |
| J.set$httpServer$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$httpServer(receiver, value); |
| }; |
| J.set$instance$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$instance(receiver, value); |
| }; |
| J.set$instances$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$instances(receiver, value); |
| }; |
| J.set$internal$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$internal(receiver, value); |
| }; |
| J.set$io$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$io(receiver, value); |
| }; |
| J.set$isDart$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$isDart(receiver, value); |
| }; |
| J.set$isolate$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$isolate(receiver, value); |
| }; |
| J.set$kind$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$kind(receiver, value); |
| }; |
| J.set$label$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$label(receiver, value); |
| }; |
| J.set$last$ax = function(receiver, value) { |
| return J.getInterceptor$ax(receiver).set$last(receiver, value); |
| }; |
| J.set$lastAccumulatorReset$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$lastAccumulatorReset(receiver, value); |
| }; |
| J.set$lastServiceGC$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$lastServiceGC(receiver, value); |
| }; |
| J.set$length$asx = function(receiver, value) { |
| return J.getInterceptor$asx(receiver).set$length(receiver, value); |
| }; |
| J.set$library$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$library(receiver, value); |
| }; |
| J.set$lineMode$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$lineMode(receiver, value); |
| }; |
| J.set$lines$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$lines(receiver, value); |
| }; |
| J.set$link$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$link(receiver, value); |
| }; |
| J.set$list$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$list(receiver, value); |
| }; |
| J.set$map$ax = function(receiver, value) { |
| return J.getInterceptor$ax(receiver).set$map(receiver, value); |
| }; |
| J.set$mapAsString$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$mapAsString(receiver, value); |
| }; |
| J.set$msg$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$msg(receiver, value); |
| }; |
| J.set$name$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$name(receiver, value); |
| }; |
| J.set$object$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$object(receiver, value); |
| }; |
| J.set$pad$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$pad(receiver, value); |
| }; |
| J.set$path$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$path(receiver, value); |
| }; |
| J.set$pause$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$pause(receiver, value); |
| }; |
| J.set$pos$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$pos(receiver, value); |
| }; |
| J.set$process$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$process(receiver, value); |
| }; |
| J.set$profile$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$profile(receiver, value); |
| }; |
| J.set$qualified$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$qualified(receiver, value); |
| }; |
| J.set$qualifiedName$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$qualifiedName(receiver, value); |
| }; |
| J.set$reachable$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$reachable(receiver, value); |
| }; |
| J.set$ref$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$ref(receiver, value); |
| }; |
| J.set$refresh$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$refresh(receiver, value); |
| }; |
| J.set$refreshCoverage$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$refreshCoverage(receiver, value); |
| }; |
| J.set$refreshGC$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$refreshGC(receiver, value); |
| }; |
| J.set$refreshTime$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$refreshTime(receiver, value); |
| }; |
| J.set$resetAccumulator$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$resetAccumulator(receiver, value); |
| }; |
| J.set$result$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$result(receiver, value); |
| }; |
| J.set$results$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$results(receiver, value); |
| }; |
| J.set$resume$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$resume(receiver, value); |
| }; |
| J.set$retainedBytes$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$retainedBytes(receiver, value); |
| }; |
| J.set$retainedSize$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$retainedSize(receiver, value); |
| }; |
| J.set$retainingPath$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$retainingPath(receiver, value); |
| }; |
| J.set$sampleCount$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$sampleCount(receiver, value); |
| }; |
| J.set$sampleDepth$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$sampleDepth(receiver, value); |
| }; |
| J.set$sampleRate$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$sampleRate(receiver, value); |
| }; |
| J.set$script$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$script(receiver, value); |
| }; |
| J.set$selectedIndex$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$selectedIndex(receiver, value); |
| }; |
| J.set$small$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$small(receiver, value); |
| }; |
| J.set$socket$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$socket(receiver, value); |
| }; |
| J.set$startLine$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$startLine(receiver, value); |
| }; |
| J.set$status$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$status(receiver, value); |
| }; |
| J.set$tagSelector$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$tagSelector(receiver, value); |
| }; |
| J.set$text$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$text(receiver, value); |
| }; |
| J.set$timeSpan$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$timeSpan(receiver, value); |
| }; |
| J.set$trace$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$trace(receiver, value); |
| }; |
| J.set$type$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$type(receiver, value); |
| }; |
| J.set$uncheckedText$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$uncheckedText(receiver, value); |
| }; |
| J.set$value$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$value(receiver, value); |
| }; |
| J.set$vm$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$vm(receiver, value); |
| }; |
| J.set$webSocket$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$webSocket(receiver, value); |
| }; |
| J.set$width$x = function(receiver, value) { |
| return J.getInterceptor$x(receiver).set$width(receiver, value); |
| }; |
| J.setRange$4$ax = function(receiver, a0, a1, a2, a3) { |
| return J.getInterceptor$ax(receiver).setRange$4(receiver, a0, a1, a2, a3); |
| }; |
| J.skip$1$ax = function(receiver, a0) { |
| return J.getInterceptor$ax(receiver).skip$1(receiver, a0); |
| }; |
| J.sort$0$ax = function(receiver) { |
| return J.getInterceptor$ax(receiver).sort$0(receiver); |
| }; |
| J.sort$1$ax = function(receiver, a0) { |
| return J.getInterceptor$ax(receiver).sort$1(receiver, a0); |
| }; |
| J.split$1$s = function(receiver, a0) { |
| return J.getInterceptor$s(receiver).split$1(receiver, a0); |
| }; |
| J.startsWith$1$s = function(receiver, a0) { |
| return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); |
| }; |
| J.substring$1$s = function(receiver, a0) { |
| return J.getInterceptor$s(receiver).substring$1(receiver, a0); |
| }; |
| J.substring$2$s = function(receiver, a0, a1) { |
| return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1); |
| }; |
| J.toInt$0$n = function(receiver) { |
| return J.getInterceptor$n(receiver).toInt$0(receiver); |
| }; |
| J.toList$0$ax = function(receiver) { |
| return J.getInterceptor$ax(receiver).toList$0(receiver); |
| }; |
| J.toRadixString$1$n = function(receiver, a0) { |
| return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0); |
| }; |
| J.toString$0 = function(receiver) { |
| return J.getInterceptor(receiver).toString$0(receiver); |
| }; |
| J.toStringAsFixed$1$n = function(receiver, a0) { |
| return J.getInterceptor$n(receiver).toStringAsFixed$1(receiver, a0); |
| }; |
| J.trim$0$s = function(receiver) { |
| return J.getInterceptor$s(receiver).trim$0(receiver); |
| }; |
| J.where$1$ax = function(receiver, a0) { |
| return J.getInterceptor$ax(receiver).where$1(receiver, a0); |
| }; |
| C.ActionLinkElement_methods = X.ActionLinkElement.prototype; |
| C.AutoBindingElement_methods = Y.AutoBindingElement.prototype; |
| C.BreakpointListElement_methods = B.BreakpointListElement.prototype; |
| C.ClassNavMenuElement_methods = A.ClassNavMenuElement.prototype; |
| C.ClassRefElement_methods = Q.ClassRefElement.prototype; |
| C.ClassTreeElement_methods = O.ClassTreeElement.prototype; |
| C.ClassViewElement_methods = Z.ClassViewElement.prototype; |
| C.CodeRefElement_methods = O.CodeRefElement.prototype; |
| C.CodeViewElement_methods = F.CodeViewElement.prototype; |
| C.CurlyBlockElement_methods = R.CurlyBlockElement.prototype; |
| C.ErrorViewElement_methods = F.ErrorViewElement.prototype; |
| C.EvalBoxElement_methods = L.EvalBoxElement.prototype; |
| C.EvalLinkElement_methods = R.EvalLinkElement.prototype; |
| C.FieldRefElement_methods = D.FieldRefElement.prototype; |
| C.FieldViewElement_methods = A.FieldViewElement.prototype; |
| C.FlagItemElement_methods = X.FlagItemElement.prototype; |
| C.FlagListElement_methods = X.FlagListElement.prototype; |
| C.FunctionRefElement_methods = U.FunctionRefElement.prototype; |
| C.FunctionViewElement_methods = N.FunctionViewElement.prototype; |
| C.HeapMapElement_methods = O.HeapMapElement.prototype; |
| C.HeapProfileElement_methods = K.HeapProfileElement.prototype; |
| C.HttpRequest_methods = W.HttpRequest.prototype; |
| C.IOHttpServerConnectionRefElement_methods = E.IOHttpServerConnectionRefElement.prototype; |
| C.IOHttpServerConnectionViewElement_methods = E.IOHttpServerConnectionViewElement.prototype; |
| C.IOHttpServerListViewElement_methods = E.IOHttpServerListViewElement.prototype; |
| C.IOHttpServerRefElement_methods = E.IOHttpServerRefElement.prototype; |
| C.IOHttpServerViewElement_methods = E.IOHttpServerViewElement.prototype; |
| C.IOProcessListViewElement_methods = E.IOProcessListViewElement.prototype; |
| C.IOProcessRefElement_methods = E.IOProcessRefElement.prototype; |
| C.IOProcessViewElement_methods = E.IOProcessViewElement.prototype; |
| C.IORandomAccessFileListViewElement_methods = E.IORandomAccessFileListViewElement.prototype; |
| C.IORandomAccessFileRefElement_methods = E.IORandomAccessFileRefElement.prototype; |
| C.IORandomAccessFileViewElement_methods = E.IORandomAccessFileViewElement.prototype; |
| C.IORefElement_methods = E.IORefElement.prototype; |
| C.IOSocketListViewElement_methods = E.IOSocketListViewElement.prototype; |
| C.IOSocketRefElement_methods = E.IOSocketRefElement.prototype; |
| C.IOSocketViewElement_methods = E.IOSocketViewElement.prototype; |
| C.IOViewElement_methods = E.IOViewElement.prototype; |
| C.IOWebSocketListViewElement_methods = E.IOWebSocketListViewElement.prototype; |
| C.IOWebSocketRefElement_methods = E.IOWebSocketRefElement.prototype; |
| C.IOWebSocketViewElement_methods = E.IOWebSocketViewElement.prototype; |
| C.InstanceRefElement_methods = B.InstanceRefElement.prototype; |
| C.InstanceViewElement_methods = Z.InstanceViewElement.prototype; |
| C.IsolateCounterChartElement_methods = D.IsolateCounterChartElement.prototype; |
| C.IsolateLocationElement_methods = D.IsolateLocationElement.prototype; |
| C.IsolateNavMenuElement_methods = A.IsolateNavMenuElement.prototype; |
| C.IsolateProfileElement_methods = X.IsolateProfileElement.prototype; |
| C.IsolateRefElement_methods = N.IsolateRefElement.prototype; |
| C.IsolateRunStateElement_methods = D.IsolateRunStateElement.prototype; |
| C.IsolateSharedSummaryElement_methods = D.IsolateSharedSummaryElement.prototype; |
| C.IsolateSummaryElement_methods = D.IsolateSummaryElement.prototype; |
| C.IsolateViewElement_methods = L.IsolateViewElement.prototype; |
| C.JSArray_methods = J.JSArray.prototype; |
| C.JSDouble_methods = J.JSDouble.prototype; |
| C.JSInt_methods = J.JSInt.prototype; |
| C.JSNull_methods = J.JSNull.prototype; |
| C.JSNumber_methods = J.JSNumber.prototype; |
| C.JSString_methods = J.JSString.prototype; |
| C.JsonViewElement_methods = Z.JsonViewElement.prototype; |
| C.LibraryNavMenuElement_methods = A.LibraryNavMenuElement.prototype; |
| C.LibraryRefElement_methods = R.LibraryRefElement.prototype; |
| C.LibraryViewElement_methods = M.LibraryViewElement.prototype; |
| C.NativeUint8ClampedList_methods = H.NativeUint8ClampedList.prototype; |
| C.NavBarElement_methods = A.NavBarElement.prototype; |
| C.NavControlElement_methods = A.NavControlElement.prototype; |
| C.NavMenuElement_methods = A.NavMenuElement.prototype; |
| C.NavMenuItemElement_methods = A.NavMenuItemElement.prototype; |
| C.NavRefreshElement_methods = A.NavRefreshElement.prototype; |
| C.NodeList_methods = W.NodeList.prototype; |
| C.ObservatoryApplicationElement_methods = V.ObservatoryApplicationElement.prototype; |
| C.ObservatoryElement_methods = Z.ObservatoryElement.prototype; |
| C.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype; |
| C.PolymerElement_methods = A.PolymerElement.prototype; |
| C.ScriptInsetElement_methods = T.ScriptInsetElement.prototype; |
| C.ScriptRefElement_methods = A.ScriptRefElement.prototype; |
| C.ScriptViewElement_methods = U.ScriptViewElement.prototype; |
| C.ServiceErrorViewElement_methods = R.ServiceErrorViewElement.prototype; |
| C.ServiceExceptionViewElement_methods = D.ServiceExceptionViewElement.prototype; |
| C.ServiceObjectViewElement_methods = U.ServiceObjectViewElement.prototype; |
| C.ServiceRefElement_methods = Q.ServiceRefElement.prototype; |
| C.SlidingCheckboxElement_methods = Q.SlidingCheckboxElement.prototype; |
| C.StackFrameElement_methods = K.StackFrameElement.prototype; |
| C.StackTraceElement_methods = X.StackTraceElement.prototype; |
| C.TopNavMenuElement_methods = A.TopNavMenuElement.prototype; |
| C.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype; |
| C.VMRefElement_methods = X.VMRefElement.prototype; |
| C.VMViewElement_methods = U.VMViewElement.prototype; |
| C.Window_methods = W.Window.prototype; |
| C.C_DynamicRuntimeType = new H.DynamicRuntimeType(); |
| C.C_EmptyExpression = new U.EmptyExpression(); |
| C.C_EmptyIterator = new H.EmptyIterator(); |
| C.C_OutOfMemoryError = new P.OutOfMemoryError(); |
| C.C_ScopeFactory = new T.ScopeFactory(); |
| C.C__DelayedDone = new P._DelayedDone(); |
| C.C__JSRandom = new P._JSRandom(); |
| C.C__ObserverSentinel = new L._ObserverSentinel(); |
| C.C__RootZone = new P._RootZone(); |
| C.C__RootZoneSpecification = new P._RootZoneSpecification(); |
| C.CodeKind_Collected = new D.CodeKind("Collected"); |
| C.CodeKind_Dart = new D.CodeKind("Dart"); |
| C.CodeKind_Native = new D.CodeKind("Native"); |
| C.CodeKind_Reused = new D.CodeKind("Reused"); |
| C.CodeKind_Tag = new D.CodeKind("Tag"); |
| C.DeclarationKind_0 = new A.DeclarationKind(0); |
| C.DeclarationKind_1 = new A.DeclarationKind(1); |
| C.DeclarationKind_2 = new A.DeclarationKind(2); |
| C.Symbol_error = new H.Symbol0("error"); |
| C.Type_UOR = H.createRuntimeType('DartError'); |
| C.C_Reflectable = new K.Reflectable(); |
| C.PublishedProperty_false = new A.PublishedProperty(false); |
| Isolate.makeConstantList = function(list) { |
| list.immutable$list = init; |
| list.fixed$length = init; |
| return list; |
| }; |
| ; |
| C.List_bTJ = Isolate.makeConstantList([C.C_Reflectable, C.PublishedProperty_false]); |
| C.Declaration_0 = new A.Declaration(C.Symbol_error, C.DeclarationKind_1, false, C.Type_UOR, false, C.List_bTJ); |
| C.Symbol_last = new H.Symbol0("last"); |
| C.Type_EsU = H.createRuntimeType('bool'); |
| C.Declaration_06U = new A.Declaration(C.Symbol_last, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_bTJ); |
| C.Symbol_fragmentation = new H.Symbol0("fragmentation"); |
| C.Type_bAc = H.createRuntimeType('ServiceMap'); |
| C.Declaration_0Y4 = new A.Declaration(C.Symbol_fragmentation, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_label = new H.Symbol0("label"); |
| C.Type_Ejg = H.createRuntimeType('String'); |
| C.Declaration_0g2 = new A.Declaration(C.Symbol_label, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_bTJ); |
| C.Symbol_hasParent = new H.Symbol0("hasParent"); |
| C.C_ObservableProperty = new K.ObservableProperty(); |
| C.List_Reflectable_ObservableProperty = Isolate.makeConstantList([C.C_Reflectable, C.C_ObservableProperty]); |
| C.Declaration_0qV = new A.Declaration(C.Symbol_hasParent, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_sampleDepth = new H.Symbol0("sampleDepth"); |
| C.Declaration_2AE = new A.Declaration(C.Symbol_sampleDepth, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_result = new H.Symbol0("result"); |
| C.Type_rPh = H.createRuntimeType('ServiceObject'); |
| C.Declaration_2No = new A.Declaration(C.Symbol_result, C.DeclarationKind_1, false, C.Type_rPh, false, C.List_bTJ); |
| C.Symbol_counters = new H.Symbol0("counters"); |
| C.Type_caQ = H.createRuntimeType('ObservableMap'); |
| C.Declaration_2Qn = new A.Declaration(C.Symbol_counters, C.DeclarationKind_1, false, C.Type_caQ, false, C.List_bTJ); |
| C.Symbol_sampleRate = new H.Symbol0("sampleRate"); |
| C.Declaration_3VL = new A.Declaration(C.Symbol_sampleRate, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Type_Tby = H.createRuntimeType('ServiceError'); |
| C.Declaration_4eA = new A.Declaration(C.Symbol_error, C.DeclarationKind_1, false, C.Type_Tby, false, C.List_bTJ); |
| C.Symbol_objectChanged = new H.Symbol0("objectChanged"); |
| C.Type_EjN = H.createRuntimeType('Function'); |
| C.List_empty = Isolate.makeConstantList([]); |
| C.Declaration_4up = new A.Declaration(C.Symbol_objectChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_frame = new H.Symbol0("frame"); |
| C.Declaration_65l = new A.Declaration(C.Symbol_frame, C.DeclarationKind_1, false, C.Type_caQ, false, C.List_bTJ); |
| C.Symbol_flag = new H.Symbol0("flag"); |
| C.Declaration_6YB = new A.Declaration(C.Symbol_flag, C.DeclarationKind_1, false, C.Type_caQ, false, C.List_bTJ); |
| C.Symbol_library = new H.Symbol0("library"); |
| C.Type_azP = H.createRuntimeType('Library'); |
| C.Declaration_6ts = new A.Declaration(C.Symbol_library, C.DeclarationKind_1, false, C.Type_azP, false, C.List_bTJ); |
| C.Symbol_status = new H.Symbol0("status"); |
| C.Declaration_8sn = new A.Declaration(C.Symbol_status, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_endPos = new H.Symbol0("endPos"); |
| C.Type_SnA = H.createRuntimeType('$int'); |
| C.Declaration_ACG = new A.Declaration(C.Symbol_endPos, C.DeclarationKind_1, false, C.Type_SnA, false, C.List_bTJ); |
| C.Symbol_code = new H.Symbol0("code"); |
| C.Type_Zyt = H.createRuntimeType('Code'); |
| C.List_ObservableProperty = Isolate.makeConstantList([C.C_ObservableProperty]); |
| C.Declaration_AgZ = new A.Declaration(C.Symbol_code, C.DeclarationKind_1, true, C.Type_Zyt, false, C.List_ObservableProperty); |
| C.Symbol_list = new H.Symbol0("list"); |
| C.Declaration_BKW = new A.Declaration(C.Symbol_list, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_httpServer = new H.Symbol0("httpServer"); |
| C.Declaration_BSX = new A.Declaration(C.Symbol_httpServer, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_retainedBytes = new H.Symbol0("retainedBytes"); |
| C.Declaration_CIB = new A.Declaration(C.Symbol_retainedBytes, C.DeclarationKind_1, false, C.Type_SnA, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_displayCutoff = new H.Symbol0("displayCutoff"); |
| C.Declaration_CR6 = new A.Declaration(C.Symbol_displayCutoff, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_functionChanged = new H.Symbol0("functionChanged"); |
| C.Declaration_Chj = new A.Declaration(C.Symbol_functionChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_expandChanged = new H.Symbol0("expandChanged"); |
| C.Declaration_Dbk = new A.Declaration(C.Symbol_expandChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_tagSelectorChanged = new H.Symbol0("tagSelectorChanged"); |
| C.Declaration_ECn = new A.Declaration(C.Symbol_tagSelectorChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_profile = new H.Symbol0("profile"); |
| C.Declaration_EkK = new A.Declaration(C.Symbol_profile, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_pad = new H.Symbol0("pad"); |
| C.Declaration_EsU = new A.Declaration(C.Symbol_pad, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_bTJ); |
| C.Symbol_object = new H.Symbol0("object"); |
| C.Declaration_HtW = new A.Declaration(C.Symbol_object, C.DeclarationKind_1, false, C.Type_rPh, false, C.List_bTJ); |
| C.Symbol_callback = new H.Symbol0("callback"); |
| C.Type_yvU = H.createRuntimeType('evalType'); |
| C.Declaration_IF7 = new A.Declaration(C.Symbol_callback, C.DeclarationKind_1, false, C.Type_yvU, false, C.List_bTJ); |
| C.Symbol_uncheckedText = new H.Symbol0("uncheckedText"); |
| C.Declaration_IRg = new A.Declaration(C.Symbol_uncheckedText, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_bTJ); |
| C.Symbol_socket = new H.Symbol0("socket"); |
| C.Type_Qs5 = H.createRuntimeType('Socket'); |
| C.Declaration_Iiu = new A.Declaration(C.Symbol_socket, C.DeclarationKind_1, false, C.Type_Qs5, false, C.List_bTJ); |
| C.Symbol_file = new H.Symbol0("file"); |
| C.Declaration_Ix1 = new A.Declaration(C.Symbol_file, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_refChanged = new H.Symbol0("refChanged"); |
| C.Declaration_MJ5 = new A.Declaration(C.Symbol_refChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_tagSelector = new H.Symbol0("tagSelector"); |
| C.Declaration_Q0F = new A.Declaration(C.Symbol_tagSelector, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_endPosChanged = new H.Symbol0("endPosChanged"); |
| C.Declaration_QAa = new A.Declaration(C.Symbol_endPosChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_vm = new H.Symbol0("vm"); |
| C.Type_GP5 = H.createRuntimeType('VM'); |
| C.Declaration_Qi2 = new A.Declaration(C.Symbol_vm, C.DeclarationKind_1, false, C.Type_GP5, false, C.List_bTJ); |
| C.Symbol_mapAsString = new H.Symbol0("mapAsString"); |
| C.Declaration_Qx4 = new A.Declaration(C.Symbol_mapAsString, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_expanded = new H.Symbol0("expanded"); |
| C.Declaration_RQo = new A.Declaration(C.Symbol_expanded, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_lines = new H.Symbol0("lines"); |
| C.Type_UWS = H.createRuntimeType('List'); |
| C.Declaration_WfA = new A.Declaration(C.Symbol_lines, C.DeclarationKind_1, false, C.Type_UWS, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_hasClass = new H.Symbol0("hasClass"); |
| C.Declaration_X8B = new A.Declaration(C.Symbol_hasClass, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_internal = new H.Symbol0("internal"); |
| C.Declaration_XBb = new A.Declaration(C.Symbol_internal, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_bTJ); |
| C.Symbol_kind = new H.Symbol0("kind"); |
| C.Declaration_Xdi = new A.Declaration(C.Symbol_kind, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_bTJ); |
| C.Symbol_endLine = new H.Symbol0("endLine"); |
| C.Declaration_ZcJ = new A.Declaration(C.Symbol_endLine, C.DeclarationKind_1, false, C.Type_SnA, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_text = new H.Symbol0("text"); |
| C.Declaration_ZfX = new A.Declaration(C.Symbol_text, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_process = new H.Symbol0("process"); |
| C.Declaration_a13 = new A.Declaration(C.Symbol_process, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_hideTagsChecked = new H.Symbol0("hideTagsChecked"); |
| C.Declaration_a1A = new A.Declaration(C.Symbol_hideTagsChecked, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_sampleCount = new H.Symbol0("sampleCount"); |
| C.Declaration_ac8 = new A.Declaration(C.Symbol_sampleCount, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_isolate = new H.Symbol0("isolate"); |
| C.Type_B8J0 = H.createRuntimeType('Isolate'); |
| C.Declaration_agR = new A.Declaration(C.Symbol_isolate, C.DeclarationKind_1, false, C.Type_B8J0, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_io = new H.Symbol0("io"); |
| C.Declaration_bh9 = new A.Declaration(C.Symbol_io, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_devtools = new H.Symbol0("devtools"); |
| C.Declaration_c4R = new A.Declaration(C.Symbol_devtools, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_bTJ); |
| C.Symbol_countersChanged = new H.Symbol0("countersChanged"); |
| C.Declaration_cJC = new A.Declaration(C.Symbol_countersChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_path = new H.Symbol0("path"); |
| C.Declaration_cMb = new A.Declaration(C.Symbol_path, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_checkedText = new H.Symbol0("checkedText"); |
| C.Declaration_cdS = new A.Declaration(C.Symbol_checkedText, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_bTJ); |
| C.Symbol_timeSpan = new H.Symbol0("timeSpan"); |
| C.Declaration_dIf = new A.Declaration(C.Symbol_timeSpan, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_active = new H.Symbol0("active"); |
| C.Declaration_dw1 = new A.Declaration(C.Symbol_active, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_bTJ); |
| C.Symbol_qualified = new H.Symbol0("qualified"); |
| C.Declaration_e24 = new A.Declaration(C.Symbol_qualified, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_bTJ); |
| C.Symbol_isolateChanged = new H.Symbol0("isolateChanged"); |
| C.Declaration_e3c = new A.Declaration(C.Symbol_isolateChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_ref = new H.Symbol0("ref"); |
| C.Declaration_e3c0 = new A.Declaration(C.Symbol_ref, C.DeclarationKind_1, false, C.Type_rPh, false, C.List_bTJ); |
| C.Declaration_eea = new A.Declaration(C.Symbol_error, C.DeclarationKind_1, false, C.Type_rPh, false, C.List_bTJ); |
| C.Symbol_expr = new H.Symbol0("expr"); |
| C.Type_dynamic = H.createRuntimeType('dynamic'); |
| C.Declaration_gLQ = new A.Declaration(C.Symbol_expr, C.DeclarationKind_1, false, C.Type_dynamic, false, C.List_bTJ); |
| C.Symbol_msg = new H.Symbol0("msg"); |
| C.Declaration_gc6 = new A.Declaration(C.Symbol_msg, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_results = new H.Symbol0("results"); |
| C.Type_pe4 = H.createRuntimeType('ObservableList'); |
| C.Declaration_ggw = new A.Declaration(C.Symbol_results, C.DeclarationKind_1, false, C.Type_pe4, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_classTable = new H.Symbol0("classTable"); |
| C.Type_Gx6 = H.createRuntimeType('ClassSortedTable'); |
| C.Declaration_gsm = new A.Declaration(C.Symbol_classTable, C.DeclarationKind_1, false, C.Type_Gx6, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_pos = new H.Symbol0("pos"); |
| C.Declaration_i3t = new A.Declaration(C.Symbol_pos, C.DeclarationKind_1, false, C.Type_SnA, false, C.List_bTJ); |
| C.Symbol_qualifiedName = new H.Symbol0("qualifiedName"); |
| C.Declaration_i3y = new A.Declaration(C.Symbol_qualifiedName, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_bTJ); |
| C.Symbol_mapChanged = new H.Symbol0("mapChanged"); |
| C.Declaration_iLh = new A.Declaration(C.Symbol_mapChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_link = new H.Symbol0("link"); |
| C.Declaration_ibz = new A.Declaration(C.Symbol_link, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_bTJ); |
| C.Symbol_refreshTime = new H.Symbol0("refreshTime"); |
| C.Declaration_ijl = new A.Declaration(C.Symbol_refreshTime, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_fragmentationChanged = new H.Symbol0("fragmentationChanged"); |
| C.Declaration_ivD = new A.Declaration(C.Symbol_fragmentationChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_scriptChanged = new H.Symbol0("scriptChanged"); |
| C.Declaration_ixB = new A.Declaration(C.Symbol_scriptChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_field = new H.Symbol0("field"); |
| C.Declaration_iyl = new A.Declaration(C.Symbol_field, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_busy = new H.Symbol0("busy"); |
| C.Declaration_izV = new A.Declaration(C.Symbol_busy, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_profileChanged = new H.Symbol0("profileChanged"); |
| C.Declaration_j3g = new A.Declaration(C.Symbol_profileChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_startLine = new H.Symbol0("startLine"); |
| C.Declaration_k6K = new A.Declaration(C.Symbol_startLine, C.DeclarationKind_1, false, C.Type_SnA, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_lastServiceGC = new H.Symbol0("lastServiceGC"); |
| C.Declaration_mPk = new A.Declaration(C.Symbol_lastServiceGC, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_webSocket = new H.Symbol0("webSocket"); |
| C.Declaration_mT8 = new A.Declaration(C.Symbol_webSocket, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_instance = new H.Symbol0("instance"); |
| C.Declaration_o7L = new A.Declaration(C.Symbol_instance, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_isDart = new H.Symbol0("isDart"); |
| C.Declaration_o7e = new A.Declaration(C.Symbol_isDart, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_cls = new H.Symbol0("cls"); |
| C.Type_Tzp = H.createRuntimeType('Class'); |
| C.Declaration_okX = new A.Declaration(C.Symbol_cls, C.DeclarationKind_1, false, C.Type_Tzp, false, C.List_bTJ); |
| C.Symbol_posChanged = new H.Symbol0("posChanged"); |
| C.Declaration_owq = new A.Declaration(C.Symbol_posChanged, C.DeclarationKind_2, false, C.Type_EjN, false, C.List_empty); |
| C.Symbol_small = new H.Symbol0("small"); |
| C.Declaration_pPA = new A.Declaration(C.Symbol_small, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_bTJ); |
| C.Symbol_instances = new H.Symbol0("instances"); |
| C.Declaration_qr9 = new A.Declaration(C.Symbol_instances, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_Reflectable_ObservableProperty); |
| C.Declaration_qrv = new A.Declaration(C.Symbol_cls, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_checked = new H.Symbol0("checked"); |
| C.Declaration_siO = new A.Declaration(C.Symbol_checked, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_bTJ); |
| C.Symbol_trace = new H.Symbol0("trace"); |
| C.Declaration_ssf = new A.Declaration(C.Symbol_trace, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_anchor = new H.Symbol0("anchor"); |
| C.Declaration_suy = new A.Declaration(C.Symbol_anchor, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_bTJ); |
| C.Symbol_exception = new H.Symbol0("exception"); |
| C.Type_zzJ = H.createRuntimeType('ServiceException'); |
| C.Declaration_v0l = new A.Declaration(C.Symbol_exception, C.DeclarationKind_1, false, C.Type_zzJ, false, C.List_bTJ); |
| C.Symbol_lastAccumulatorReset = new H.Symbol0("lastAccumulatorReset"); |
| C.Declaration_vA1 = new A.Declaration(C.Symbol_lastAccumulatorReset, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Declaration_voj = new A.Declaration(C.Symbol_isolate, C.DeclarationKind_1, false, C.Type_B8J0, false, C.List_bTJ); |
| C.Symbol_flagList = new H.Symbol0("flagList"); |
| C.Declaration_wE9 = new A.Declaration(C.Symbol_flagList, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Declaration_woc = new A.Declaration(C.Symbol_code, C.DeclarationKind_1, false, C.Type_Zyt, false, C.List_bTJ); |
| C.Symbol_lineMode = new H.Symbol0("lineMode"); |
| C.Declaration_ww8 = new A.Declaration(C.Symbol_lineMode, C.DeclarationKind_1, false, C.Type_Ejg, false, C.List_Reflectable_ObservableProperty); |
| C.Symbol_map = new H.Symbol0("map"); |
| C.Declaration_wzu = new A.Declaration(C.Symbol_map, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_function = new H.Symbol0("function"); |
| C.Declaration_y9n = new A.Declaration(C.Symbol_function, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Symbol_connection = new H.Symbol0("connection"); |
| C.Declaration_yDj = new A.Declaration(C.Symbol_connection, C.DeclarationKind_1, false, C.Type_bAc, false, C.List_bTJ); |
| C.Declaration_yXb = new A.Declaration(C.Symbol_callback, C.DeclarationKind_1, false, C.Type_dynamic, false, C.List_bTJ); |
| C.Symbol_expand = new H.Symbol0("expand"); |
| C.Declaration_yXb0 = new A.Declaration(C.Symbol_expand, C.DeclarationKind_1, false, C.Type_EsU, false, C.List_bTJ); |
| C.Symbol_script = new H.Symbol0("script"); |
| C.Type_cgs = H.createRuntimeType('Script'); |
| C.Declaration_yx3 = new A.Declaration(C.Symbol_script, C.DeclarationKind_1, false, C.Type_cgs, false, C.List_bTJ); |
| C.Duration_0 = new P.Duration(0); |
| C.EventStreamProvider_change = H.setRuntimeTypeInfo(new W.EventStreamProvider("change"), [W.Event]); |
| C.EventStreamProvider_click = H.setRuntimeTypeInfo(new W.EventStreamProvider("click"), [W.MouseEvent]); |
| C.EventStreamProvider_error = H.setRuntimeTypeInfo(new W.EventStreamProvider("error"), [W.ProgressEvent]); |
| C.EventStreamProvider_input = H.setRuntimeTypeInfo(new W.EventStreamProvider("input"), [W.Event]); |
| C.EventStreamProvider_load = H.setRuntimeTypeInfo(new W.EventStreamProvider("load"), [W.ProgressEvent]); |
| C.EventStreamProvider_message = H.setRuntimeTypeInfo(new W.EventStreamProvider("message"), [W.MessageEvent]); |
| C.EventStreamProvider_mousedown = H.setRuntimeTypeInfo(new W.EventStreamProvider("mousedown"), [W.MouseEvent]); |
| C.EventStreamProvider_mousemove = H.setRuntimeTypeInfo(new W.EventStreamProvider("mousemove"), [W.MouseEvent]); |
| C.EventStreamProvider_popstate = H.setRuntimeTypeInfo(new W.EventStreamProvider("popstate"), [W.PopStateEvent]); |
| C.JS_CONST_0 = function(hooks) { |
| if (typeof dartExperimentalFixupGetTag != "function") return hooks; |
| hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag); |
| }; |
| C.JS_CONST_4hp = 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", |
| "Location": "!Location", |
| "WorkerMessageEvent": "MessageEvent", |
| "XMLDocument": "!Document"}; |
| function getTagFirefox(o) { |
| var tag = getTag(o); |
| return quickMap[tag] || tag; |
| } |
| hooks.getTag = getTagFirefox; |
| }; |
| C.JS_CONST_8ZY = function getTagFallback(o) { |
| var constructor = o.constructor; |
| if (typeof constructor == "function") { |
| var name = constructor.name; |
| if (typeof name == "string" && |
| name.length > 2 && |
| name !== "Object" && |
| name !== "Function.prototype") { |
| return name; |
| } |
| } |
| var s = Object.prototype.toString.call(o); |
| return s.substring(8, s.length - 1); |
| }; |
| C.JS_CONST_Fs4 = function(hooks) { return hooks; } |
| ; |
| C.JS_CONST_QJm = function(getTagFallback) { |
| return function(hooks) { |
| if (typeof navigator != "object") return hooks; |
| var ua = navigator.userAgent; |
| if (ua.indexOf("DumpRenderTree") >= 0) return hooks; |
| if (ua.indexOf("Chrome") >= 0) { |
| function confirm(p) { |
| return typeof window == "object" && window[p] && window[p].name == p; |
| } |
| if (confirm("Window") && confirm("HTMLElement")) return hooks; |
| } |
| hooks.getTag = getTagFallback; |
| }; |
| }; |
| C.JS_CONST_aQP = function() { |
| function typeNameInChrome(o) { |
| var name = o.constructor.name; |
| if (name) return name; |
| var s = Object.prototype.toString.call(o); |
| return s.substring(8, s.length - 1); |
| } |
| 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_gkc = 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 == "Object") { |
| if (window.DataView && (o instanceof window.DataView)) return "DataView"; |
| } |
| return tag; |
| } |
| function prototypeForTagIE(tag) { |
| var constructor = window[tag]; |
| if (constructor == null) return null; |
| return constructor.prototype; |
| } |
| hooks.getTag = getTagIE; |
| hooks.prototypeForTag = prototypeForTagIE; |
| }; |
| C.JS_CONST_rr7 = function(hooks) { |
| var getTag = hooks.getTag; |
| var prototypeForTag = hooks.prototypeForTag; |
| function getTagFixed(o) { |
| var tag = getTag(o); |
| if (tag == "Document") { |
| if (!!o.xmlVersion) return "!Document"; |
| return "!HTMLDocument"; |
| } |
| return tag; |
| } |
| function prototypeForTagFixed(tag) { |
| if (tag == "Document") return null; |
| return prototypeForTag(tag); |
| } |
| hooks.getTag = getTagFixed; |
| hooks.prototypeForTag = prototypeForTagFixed; |
| }; |
| C.JsonCodec_null_null = new P.JsonCodec(null, null); |
| C.JsonDecoder_null = new P.JsonDecoder(null); |
| C.JsonEncoder_null_null = new P.JsonEncoder(null, null); |
| C.Level_FINER_400 = new N.Level("FINER", 400); |
| C.Level_FINE_500 = new N.Level("FINE", 500); |
| C.Level_INFO_800 = new N.Level("INFO", 800); |
| C.Level_SEVERE_1000 = new N.Level("SEVERE", 1000); |
| C.Level_WARNING_900 = new N.Level("WARNING", 900); |
| C.List_1_6 = Isolate.makeConstantList([1, 6]); |
| C.List_6Pr = Isolate.makeConstantList([0, 0, 26624, 1023, 0, 0, 65534, 2047]); |
| C.Symbol_keys = new H.Symbol0("keys"); |
| C.Symbol_values = new H.Symbol0("values"); |
| C.Symbol_length = new H.Symbol0("length"); |
| C.Symbol_isEmpty = new H.Symbol0("isEmpty"); |
| C.Symbol_isNotEmpty = new H.Symbol0("isNotEmpty"); |
| C.List_8QI = Isolate.makeConstantList([C.Symbol_keys, C.Symbol_values, C.Symbol_length, C.Symbol_isEmpty, C.Symbol_isNotEmpty]); |
| C.List_EuK = H.setRuntimeTypeInfo(Isolate.makeConstantList(["+", "-", "*", "/", "%", "^", "==", "!=", ">", "<", ">=", "<=", "||", "&&", "&", "===", "!==", "|"]), [P.String]); |
| C.Type_6WV = H.createRuntimeType('ObservableProperty'); |
| C.List_GGa = Isolate.makeConstantList([C.Type_6WV]); |
| C.List_JYB = Isolate.makeConstantList([0, 0, 26624, 1023, 65534, 2047, 65534, 2047]); |
| C.List_KIf = Isolate.makeConstantList([0, 0, 26498, 1023, 65534, 34815, 65534, 18431]); |
| C.List_Ynd = Isolate.makeConstantList(["==", "!=", "<=", ">=", "||", "&&"]); |
| C.List_as_in_this = Isolate.makeConstantList(["as", "in", "this"]); |
| C.List_mBx = Isolate.makeConstantList(["rowColor0", "rowColor1", "rowColor2", "rowColor3", "rowColor4", "rowColor5", "rowColor6", "rowColor7", "rowColor8"]); |
| C.List_mC8 = Isolate.makeConstantList([43, 45, 42, 47, 33, 38, 37, 60, 61, 62, 63, 94, 124]); |
| C.List_nxB = Isolate.makeConstantList([0, 0, 24576, 1023, 65534, 34815, 65534, 18431]); |
| C.List_qNA = Isolate.makeConstantList([0, 0, 32754, 11263, 65534, 34815, 65534, 18431]); |
| C.List_qg4 = Isolate.makeConstantList([0, 0, 32722, 12287, 65535, 34815, 65534, 18431]); |
| C.List_ww8 = Isolate.makeConstantList([40, 41, 91, 93, 123, 125]); |
| C.List_05B = Isolate.makeConstantList(["caption", "col", "colgroup", "option", "optgroup", "tbody", "td", "tfoot", "th", "thead", "tr"]); |
| C.Map_05eTF = new H.ConstantStringMap(11, {caption: null, col: null, colgroup: null, option: null, optgroup: null, tbody: null, td: null, tfoot: null, th: null, thead: null, tr: null}, C.List_05B); |
| C.List_AmO = Isolate.makeConstantList(["domfocusout", "domfocusin", "dommousescroll", "animationend", "animationiteration", "animationstart", "doubleclick", "fullscreenchange", "fullscreenerror", "keyadded", "keyerror", "keymessage", "needkey", "speechchange"]); |
| C.Map_AmMJ5 = new H.ConstantStringMap(14, {domfocusout: "DOMFocusOut", domfocusin: "DOMFocusIn", dommousescroll: "DOMMouseScroll", animationend: "webkitAnimationEnd", animationiteration: "webkitAnimationIteration", animationstart: "webkitAnimationStart", doubleclick: "dblclick", fullscreenchange: "webkitfullscreenchange", fullscreenerror: "webkitfullscreenerror", keyadded: "webkitkeyadded", keyerror: "webkitkeyerror", keymessage: "webkitkeymessage", needkey: "webkitneedkey", speechchange: "webkitSpeechChange"}, C.List_AmO); |
| C.List_EJ5 = Isolate.makeConstantList(["name", "extends", "constructor", "noscript", "assetpath", "cache-csstext", "attributes"]); |
| C.Map_EJn7R = new H.ConstantStringMap(7, {name: 1, extends: 1, constructor: 1, noscript: 1, assetpath: 1, "cache-csstext": 1, attributes: 1}, C.List_EJ5); |
| C.List_L0C = Isolate.makeConstantList(["!", ":", ",", ")", "]", "}", "?", "||", "&&", "|", "^", "&", "!=", "==", "!==", "===", ">=", ">", "<=", "<", "+", "-", "%", "/", "*", "(", "[", ".", "{"]); |
| C.Map_L0K61 = new H.ConstantStringMap(29, {"!": 0, ":": 0, ",": 0, ")": 0, "]": 0, "}": 0, "?": 1, "||": 2, "&&": 3, "|": 4, "^": 5, "&": 6, "!=": 7, "==": 7, "!==": 7, "===": 7, ">=": 8, ">": 8, "<=": 8, "<": 8, "+": 9, "-": 9, "%": 10, "/": 10, "*": 10, "(": 11, "[": 11, ".": 11, "{": 11}, C.List_L0C); |
| C.Map_empty = new H.ConstantStringMap(0, {}, C.List_empty); |
| C.List_enumerate = Isolate.makeConstantList(["enumerate"]); |
| C.Map_wgEsG = new H.ConstantStringMap(1, {enumerate: K.enumerate$closure()}, C.List_enumerate); |
| C.Type_fPs = H.createRuntimeType('HtmlElement'); |
| C.Type_oGx = H.createRuntimeType('PublishedProperty'); |
| C.List_JQl = Isolate.makeConstantList([C.Type_oGx]); |
| C.QueryOptions_sAl = new A.QueryOptions(true, true, true, C.Type_fPs, false, false, C.List_JQl, null); |
| C.Type_oqK = H.createRuntimeType('ObserveProperty'); |
| C.List_M2f = Isolate.makeConstantList([C.Type_oqK]); |
| C.QueryOptions_xw8 = new A.QueryOptions(false, false, true, C.Type_fPs, false, true, C.List_M2f, null); |
| C.SocketKind_Internal = new D.SocketKind("Internal"); |
| C.SocketKind_Listening = new D.SocketKind("Listening"); |
| C.SocketKind_Normal = new D.SocketKind("Normal"); |
| C.SocketKind_Pipe = new D.SocketKind("Pipe"); |
| C.Symbol_address = new H.Symbol0("address"); |
| C.Symbol_architecture = new H.Symbol0("architecture"); |
| C.Symbol_assertsEnabled = new H.Symbol0("assertsEnabled"); |
| C.Symbol_bpt = new H.Symbol0("bpt"); |
| C.Symbol_buttonClick = new H.Symbol0("buttonClick"); |
| C.Symbol_bytes = new H.Symbol0("bytes"); |
| C.Symbol_call = new H.Symbol0("call"); |
| C.Symbol_capacity = new H.Symbol0("capacity"); |
| C.Symbol_change = new H.Symbol0("change"); |
| C.Symbol_changeSort = new H.Symbol0("changeSort"); |
| C.Symbol_classes = new H.Symbol0("classes"); |
| C.Symbol_closing = new H.Symbol0("closing"); |
| C.Symbol_collections = new H.Symbol0("collections"); |
| C.Symbol_coloring = new H.Symbol0("coloring"); |
| C.Symbol_columns = new H.Symbol0("columns"); |
| C.Symbol_current = new H.Symbol0("current"); |
| C.Symbol_descriptor = new H.Symbol0("descriptor"); |
| C.Symbol_descriptors = new H.Symbol0("descriptors"); |
| C.Symbol_doAction = new H.Symbol0("doAction"); |
| C.Symbol_element = new H.Symbol0("element"); |
| C.Symbol_entry = new H.Symbol0("entry"); |
| C.Symbol_eval = new H.Symbol0("eval"); |
| C.Symbol_evalNow = new H.Symbol0("evalNow"); |
| C.Symbol_expander = new H.Symbol0("expander"); |
| C.Symbol_expanderStyle = new H.Symbol0("expanderStyle"); |
| C.Symbol_external = new H.Symbol0("external"); |
| C.Symbol_fd = new H.Symbol0("fd"); |
| C.Symbol_fields = new H.Symbol0("fields"); |
| C.Symbol_firstTokenPos = new H.Symbol0("firstTokenPos"); |
| C.Symbol_formatSize = new H.Symbol0("formatSize"); |
| C.Symbol_formatTime = new H.Symbol0("formatTime"); |
| C.Symbol_formattedAddress = new H.Symbol0("formattedAddress"); |
| C.Symbol_formattedAverage = new H.Symbol0("formattedAverage"); |
| C.Symbol_formattedCollections = new H.Symbol0("formattedCollections"); |
| C.Symbol_formattedDeoptId = new H.Symbol0("formattedDeoptId"); |
| C.Symbol_formattedExclusive = new H.Symbol0("formattedExclusive"); |
| C.Symbol_formattedExclusiveTicks = new H.Symbol0("formattedExclusiveTicks"); |
| C.Symbol_formattedInclusive = new H.Symbol0("formattedInclusive"); |
| C.Symbol_formattedInclusiveTicks = new H.Symbol0("formattedInclusiveTicks"); |
| C.Symbol_formattedLine = new H.Symbol0("formattedLine"); |
| C.Symbol_formattedTotalCollectionTime = new H.Symbol0("formattedTotalCollectionTime"); |
| C.Symbol_functions = new H.Symbol0("functions"); |
| C.Symbol_getColumnLabel = new H.Symbol0("getColumnLabel"); |
| C.Symbol_goto = new H.Symbol0("goto"); |
| C.Symbol_gotoLink = new H.Symbol0("gotoLink"); |
| C.Symbol_hasDescriptors = new H.Symbol0("hasDescriptors"); |
| C.Symbol_hasDisassembly = new H.Symbol0("hasDisassembly"); |
| C.Symbol_hasNoAllocations = new H.Symbol0("hasNoAllocations"); |
| C.Symbol_hashLinkWorkaround = new H.Symbol0("hashLinkWorkaround"); |
| C.Symbol_hits = new H.Symbol0("hits"); |
| C.Symbol_hoverText = new H.Symbol0("hoverText"); |
| C.Symbol_human = new H.Symbol0("human"); |
| C.Symbol_idle = new H.Symbol0("idle"); |
| C.Symbol_imp = new H.Symbol0("imp"); |
| C.Symbol_imports = new H.Symbol0("imports"); |
| C.Symbol_instruction = new H.Symbol0("instruction"); |
| C.Symbol_instructions = new H.Symbol0("instructions"); |
| C.Symbol_interface = new H.Symbol0("interface"); |
| C.Symbol_interfaces = new H.Symbol0("interfaces"); |
| C.Symbol_ioEnabled = new H.Symbol0("ioEnabled"); |
| C.Symbol_isAbstract = new H.Symbol0("isAbstract"); |
| C.Symbol_isBool = new H.Symbol0("isBool"); |
| C.Symbol_isComment = new H.Symbol0("isComment"); |
| C.Symbol_isConst = new H.Symbol0("isConst"); |
| C.Symbol_isDartCode = new H.Symbol0("isDartCode"); |
| C.Symbol_isDouble = new H.Symbol0("isDouble"); |
| C.Symbol_isError = new H.Symbol0("isError"); |
| C.Symbol_isFinalized = new H.Symbol0("isFinalized"); |
| C.Symbol_isImplemented = new H.Symbol0("isImplemented"); |
| C.Symbol_isInstance = new H.Symbol0("isInstance"); |
| C.Symbol_isInt = new H.Symbol0("isInt"); |
| C.Symbol_isList = new H.Symbol0("isList"); |
| C.Symbol_isNull = new H.Symbol0("isNull"); |
| C.Symbol_isOptimized = new H.Symbol0("isOptimized"); |
| C.Symbol_isPatch = new H.Symbol0("isPatch"); |
| C.Symbol_isPipe = new H.Symbol0("isPipe"); |
| C.Symbol_isString = new H.Symbol0("isString"); |
| C.Symbol_isType = new H.Symbol0("isType"); |
| C.Symbol_isUnexpected = new H.Symbol0("isUnexpected"); |
| C.Symbol_isolates = new H.Symbol0("isolates"); |
| C.Symbol_jumpTarget = new H.Symbol0("jumpTarget"); |
| C.Symbol_lastTokenPos = new H.Symbol0("lastTokenPos"); |
| C.Symbol_lastUpdate = new H.Symbol0("lastUpdate"); |
| C.Symbol_lib = new H.Symbol0("lib"); |
| C.Symbol_libraries = new H.Symbol0("libraries"); |
| C.Symbol_line = new H.Symbol0("line"); |
| C.Symbol_lineNumber = new H.Symbol0("lineNumber"); |
| C.Symbol_lineNumbers = new H.Symbol0("lineNumbers"); |
| C.Symbol_listening = new H.Symbol0("listening"); |
| C.Symbol_loading = new H.Symbol0("loading"); |
| C.Symbol_localAddress = new H.Symbol0("localAddress"); |
| C.Symbol_localPort = new H.Symbol0("localPort"); |
| C.Symbol_mainPort = new H.Symbol0("mainPort"); |
| C.Symbol_message = new H.Symbol0("message"); |
| C.Symbol_mouseOut = new H.Symbol0("mouseOut"); |
| C.Symbol_mouseOver = new H.Symbol0("mouseOver"); |
| C.Symbol_name = new H.Symbol0("name"); |
| C.Symbol_nameIsEmpty = new H.Symbol0("nameIsEmpty"); |
| C.Symbol_newSpace = new H.Symbol0("newSpace"); |
| C.Symbol_noSuchMethod = new H.Symbol0("noSuchMethod"); |
| C.Symbol_objectClass = new H.Symbol0("objectClass"); |
| C.Symbol_objectPool = new H.Symbol0("objectPool"); |
| C.Symbol_oldSpace = new H.Symbol0("oldSpace"); |
| C.Symbol_padding = new H.Symbol0("padding"); |
| C.Symbol_pause = new H.Symbol0("pause"); |
| C.Symbol_pauseEvent = new H.Symbol0("pauseEvent"); |
| C.Symbol_pid = new H.Symbol0("pid"); |
| C.Symbol_protocol = new H.Symbol0("protocol"); |
| C.Symbol_reachable = new H.Symbol0("reachable"); |
| C.Symbol_readClosed = new H.Symbol0("readClosed"); |
| C.Symbol_refresh = new H.Symbol0("refresh"); |
| C.Symbol_refreshCoverage = new H.Symbol0("refreshCoverage"); |
| C.Symbol_refreshGC = new H.Symbol0("refreshGC"); |
| C.Symbol_registerCallback = new H.Symbol0("registerCallback"); |
| C.Symbol_relativeLink = new H.Symbol0("relativeLink"); |
| C.Symbol_remoteAddress = new H.Symbol0("remoteAddress"); |
| C.Symbol_remotePort = new H.Symbol0("remotePort"); |
| C.Symbol_resetAccumulator = new H.Symbol0("resetAccumulator"); |
| C.Symbol_response = new H.Symbol0("response"); |
| C.Symbol_resume = new H.Symbol0("resume"); |
| C.Symbol_retainedSize = new H.Symbol0("retainedSize"); |
| C.Symbol_retainingPath = new H.Symbol0("retainingPath"); |
| C.Symbol_rootLib = new H.Symbol0("rootLib"); |
| C.Symbol_row = new H.Symbol0("row"); |
| C.Symbol_rows = new H.Symbol0("rows"); |
| C.Symbol_running = new H.Symbol0("running"); |
| C.Symbol_scripts = new H.Symbol0("scripts"); |
| C.Symbol_selectExpr = new H.Symbol0("selectExpr"); |
| C.Symbol_serviceType = new H.Symbol0("serviceType"); |
| C.Symbol_socketOwner = new H.Symbol0("socketOwner"); |
| C.Symbol_stacktrace = new H.Symbol0("stacktrace"); |
| C.Symbol_styleForHits = new H.Symbol0("styleForHits"); |
| C.Symbol_subClasses = new H.Symbol0("subClasses"); |
| C.Symbol_subclass = new H.Symbol0("subclass"); |
| C.Symbol_superClass = new H.Symbol0("superClass"); |
| C.Symbol_tipExclusive = new H.Symbol0("tipExclusive"); |
| C.Symbol_tipKind = new H.Symbol0("tipKind"); |
| C.Symbol_tipParent = new H.Symbol0("tipParent"); |
| C.Symbol_tipTicks = new H.Symbol0("tipTicks"); |
| C.Symbol_tipTime = new H.Symbol0("tipTime"); |
| C.Symbol_toggleExpand = new H.Symbol0("toggleExpand"); |
| C.Symbol_toggleExpanded = new H.Symbol0("toggleExpanded"); |
| C.Symbol_tokenPos = new H.Symbol0("tokenPos"); |
| C.Symbol_topFrame = new H.Symbol0("topFrame"); |
| C.Symbol_totalCollectionTimeInSeconds = new H.Symbol0("totalCollectionTimeInSeconds"); |
| C.Symbol_totalSamplesInProfile = new H.Symbol0("totalSamplesInProfile"); |
| C.Symbol_tree = new H.Symbol0("tree"); |
| C.Symbol_typeChecksEnabled = new H.Symbol0("typeChecksEnabled"); |
| C.Symbol_updateLineMode = new H.Symbol0("updateLineMode"); |
| C.Symbol_uptime = new H.Symbol0("uptime"); |
| C.Symbol_url = new H.Symbol0("url"); |
| C.Symbol_used = new H.Symbol0("used"); |
| C.Symbol_v = new H.Symbol0("v"); |
| C.Symbol_value = new H.Symbol0("value"); |
| C.Symbol_variable = new H.Symbol0("variable"); |
| C.Symbol_variables = new H.Symbol0("variables"); |
| C.Symbol_version = new H.Symbol0("version"); |
| C.Symbol_vmName = new H.Symbol0("vmName"); |
| C.Symbol_writeClosed = new H.Symbol0("writeClosed"); |
| C.Type_0e9 = H.createRuntimeType('ScriptViewElement'); |
| C.Type_2jN = H.createRuntimeType('CodeRefElement'); |
| C.Type_4IJ = H.createRuntimeType('FieldViewElement'); |
| C.Type_4m4 = H.createRuntimeType('IOSocketListViewElement'); |
| C.Type_61d = H.createRuntimeType('IOSocketViewElement'); |
| C.Type_6L0 = H.createRuntimeType('Uint8List'); |
| C.Type_7g3 = H.createRuntimeType('FlagItemElement'); |
| C.Type_8Gl = H.createRuntimeType('IsolateSharedSummaryElement'); |
| C.Type_8KD = H.createRuntimeType('IOProcessListViewElement'); |
| C.Type_8cK = H.createRuntimeType('IORandomAccessFileViewElement'); |
| C.Type_8eb = H.createRuntimeType('EvalBoxElement'); |
| C.Type_9ur = H.createRuntimeType('NavControlElement'); |
| C.Type_AD4 = H.createRuntimeType('NavMenuItemElement'); |
| C.Type_AHF = H.createRuntimeType('IOProcessViewElement'); |
| C.Type_AHF0 = H.createRuntimeType('NativeTypedArray'); |
| C.Type_Art = H.createRuntimeType('Float32List'); |
| C.Type_AyI = H.createRuntimeType('IOWebSocketViewElement'); |
| C.Type_Aym = H.createRuntimeType('CodeViewElement'); |
| C.Type_B8J = H.createRuntimeType('IOSocketRefElement'); |
| C.Type_C7R = H.createRuntimeType('TopNavMenuElement'); |
| C.Type_CAk = H.createRuntimeType('Uint16List'); |
| C.Type_E0k = H.createRuntimeType('VMViewElement'); |
| C.Type_ECh = H.createRuntimeType('IsolateLocationElement'); |
| C.Type_EOZ = H.createRuntimeType('_M1'); |
| C.Type_EQs = H.createRuntimeType('GlobalEventHandlers'); |
| C.Type_ES1 = H.createRuntimeType('IsolateRefElement'); |
| C.Type_EVD = H.createRuntimeType('InstanceRefElement'); |
| C.Type_Eue = H.createRuntimeType('VMRefElement'); |
| C.Type_FKd = H.createRuntimeType('ServiceErrorViewElement'); |
| C.Type_GNh = H.createRuntimeType('_M0'); |
| C.Type_HqF = H.createRuntimeType('Object'); |
| C.Type_I2I = H.createRuntimeType('PolymerElement'); |
| C.Type_IuH = H.createRuntimeType('IORandomAccessFileListViewElement'); |
| C.Type_JFX = H.createRuntimeType('ClassNavMenuElement'); |
| C.Type_Jcu = H.createRuntimeType('StackFrameElement'); |
| C.Type_JmU = H.createRuntimeType('IORefElement'); |
| C.Type_KMd = H.createRuntimeType('NavMenuElement'); |
| C.Type_Kyy = H.createRuntimeType('JsonViewElement'); |
| C.Type_L9j = H.createRuntimeType('IOHttpServerConnectionViewElement'); |
| C.Type_LV6 = H.createRuntimeType('HeapProfileElement'); |
| C.Type_M6L = H.createRuntimeType('IOHttpServerViewElement'); |
| C.Type_MUU = H.createRuntimeType('IOWebSocketRefElement'); |
| C.Type_Mu6 = H.createRuntimeType('ServiceObjectViewElement'); |
| C.Type_NlB = H.createRuntimeType('NativeTypedArrayOfDouble'); |
| C.Type_Npb = H.createRuntimeType('ErrorViewElement'); |
| C.Type_O5a = H.createRuntimeType('ClassViewElement'); |
| C.Type_ON8 = H.createRuntimeType('BreakpointListElement'); |
| C.Type_QuW = H.createRuntimeType('Uint8ClampedList'); |
| C.Type_QyU = H.createRuntimeType('WindowEventHandlers'); |
| C.Type_SoB = H.createRuntimeType('HeapMapElement'); |
| C.Type_Sxn = H.createRuntimeType('NavRefreshElement'); |
| C.Type_TEn = H.createRuntimeType('IOViewElement'); |
| C.Type_UJT = H.createRuntimeType('ServiceRefElement'); |
| C.Type_UoK = H.createRuntimeType('Int16List'); |
| C.Type_XXD = H.createRuntimeType('JSObject'); |
| C.Type_YgH = H.createRuntimeType('ObservatoryApplicationElement'); |
| C.Type_ZKG = H.createRuntimeType('IsolateViewElement'); |
| C.Type_a1Y = H.createRuntimeType('ScriptInsetElement'); |
| C.Type_aAD = H.createRuntimeType('IsolateRunStateElement'); |
| C.Type_bDN = H.createRuntimeType('FunctionViewElement'); |
| C.Type_cOY = H.createRuntimeType('IsolateProfileElement'); |
| C.Type_ckn = H.createRuntimeType('Float64List'); |
| C.Type_cop = H.createRuntimeType('CurlyBlockElement'); |
| C.Type_dRp = H.createRuntimeType('ClassTreeElement'); |
| C.Type_dTZ = H.createRuntimeType('Int32List'); |
| C.Type_dVs = H.createRuntimeType('DateTime'); |
| C.Type_eZO = H.createRuntimeType('Null'); |
| C.Type_f1j = H.createRuntimeType('FlagListElement'); |
| C.Type_gg4 = H.createRuntimeType('IOWebSocketListViewElement'); |
| C.Type_gqS = H.createRuntimeType('InstanceViewElement'); |
| C.Type_i7j = H.createRuntimeType('IOHttpServerRefElement'); |
| C.Type_iL9 = H.createRuntimeType('IsolateSummaryElement'); |
| C.Type_irB = H.createRuntimeType('Uint32List'); |
| C.Type_kA7 = H.createRuntimeType('ActionLinkElement'); |
| C.Type_kuc = H.createRuntimeType('SlidingCheckboxElement'); |
| C.Type_mWg = H.createRuntimeType('IORandomAccessFileRefElement'); |
| C.Type_mp3 = H.createRuntimeType('Int8List'); |
| C.Type_mpV = H.createRuntimeType('LibraryRefElement'); |
| C.Type_nV5 = H.createRuntimeType('NavBarElement'); |
| C.Type_nVV = H.createRuntimeType('StackTraceElement'); |
| C.Type_oGP = H.createRuntimeType('ByteData'); |
| C.Type_ohY = H.createRuntimeType('FieldRefElement'); |
| C.Type_oyU = H.createRuntimeType('_M2'); |
| C.Type_p2P = H.createRuntimeType('EvalLinkElement'); |
| C.Type_qMZ = H.createRuntimeType('IOProcessRefElement'); |
| C.Type_ql8 = H.createRuntimeType('ClassRefElement'); |
| C.Type_qph = H.createRuntimeType('LibraryViewElement'); |
| C.Type_qq1 = H.createRuntimeType('$double'); |
| C.Type_s2l = H.createRuntimeType('LibraryNavMenuElement'); |
| C.Type_s8b = H.createRuntimeType('AutoBindingElement'); |
| C.Type_sRP = H.createRuntimeType('ObservatoryElement'); |
| C.Type_uIL = H.createRuntimeType('IOHttpServerConnectionRefElement'); |
| C.Type_wAg = H.createRuntimeType('ByteBuffer'); |
| C.Type_wBh = H.createRuntimeType('ScriptRefElement'); |
| C.Type_wOW = H.createRuntimeType('NativeTypedArrayOfInt'); |
| C.Type_wT1 = H.createRuntimeType('IsolateCounterChartElement'); |
| C.Type_wgH = H.createRuntimeType('FunctionRefElement'); |
| C.Type_wsa = H.createRuntimeType('IsolateNavMenuElement'); |
| C.Type_xM7 = H.createRuntimeType('num'); |
| C.Type_y1j = H.createRuntimeType('ServiceExceptionViewElement'); |
| C.Type_yvP = H.createRuntimeType('IOHttpServerListViewElement'); |
| C.Utf8Codec_false = new P.Utf8Codec(false); |
| $.libraries_to_load = {}; |
| $.RawReceivePortImpl__nextFreeId = 1; |
| $.Primitives_mirrorFunctionCacheName = "$cachedFunction"; |
| $.Primitives_mirrorInvokeCacheName = "$cachedInvocation"; |
| $.Closure_functionCounter = 0; |
| $.BoundClosure_selfFieldNameCache = null; |
| $.BoundClosure_receiverFieldNameCache = null; |
| $.RuntimeFunctionType_inAssert = false; |
| $.getTagFunction = null; |
| $.alternateTagFunction = null; |
| $.prototypeForTagFunction = null; |
| $.dispatchRecordsForInstanceTags = null; |
| $.interceptorsForUncacheableTags = null; |
| $.initNativeDispatchFlag = null; |
| $.location = null; |
| $.GoogleChart__api = null; |
| $.printToZone = null; |
| $._nextCallback = null; |
| $._lastCallback = null; |
| $.Zone__current = C.C__RootZone; |
| $.Expando__keyCount = 0; |
| $.Device__isOpera = null; |
| $.Device__isWebKit = null; |
| $.hierarchicalLoggingEnabled = false; |
| $._rootLevel = C.Level_INFO_800; |
| $.LogRecord__nextNumber = 0; |
| $._allObservablesCount = 0; |
| $._allObservables = null; |
| $._delivering = false; |
| $._Observer__nextBirthId = 0; |
| $._ObservedSet__lastSet = null; |
| $._deployMode = false; |
| $._startPolymerCalled = false; |
| $.initializers = null; |
| $.deployMode = true; |
| $.ServiceMap_objectIdRingPrefix = "objects/"; |
| $.TemplateBindExtension__initStyles = null; |
| $.TemplateBindExtension__initBaseUriWorkaround = null; |
| $.enableBindingsReflection = false; |
| $.mapTypeToInterceptor = [C.Type_fPs, W.HtmlElement, {}, C.Type_0e9, U.ScriptViewElement, {created: U.ScriptViewElement$created}, C.Type_2jN, O.CodeRefElement, {created: O.CodeRefElement$created}, C.Type_4IJ, A.FieldViewElement, {created: A.FieldViewElement$created}, C.Type_4m4, E.IOSocketListViewElement, {created: E.IOSocketListViewElement$created}, C.Type_61d, E.IOSocketViewElement, {created: E.IOSocketViewElement$created}, C.Type_7g3, X.FlagItemElement, {created: X.FlagItemElement$created}, C.Type_8Gl, D.IsolateSharedSummaryElement, {created: D.IsolateSharedSummaryElement$created}, C.Type_8KD, E.IOProcessListViewElement, {created: E.IOProcessListViewElement$created}, C.Type_8cK, E.IORandomAccessFileViewElement, {created: E.IORandomAccessFileViewElement$created}, C.Type_8eb, L.EvalBoxElement, {created: L.EvalBoxElement$created}, C.Type_9ur, A.NavControlElement, {created: A.NavControlElement$created}, C.Type_AD4, A.NavMenuItemElement, {created: A.NavMenuItemElement$created}, C.Type_AHF, E.IOProcessViewElement, {created: E.IOProcessViewElement$created}, C.Type_AHF0, H.NativeTypedArray, {"": H.NativeTypedArray$}, C.Type_AyI, E.IOWebSocketViewElement, {created: E.IOWebSocketViewElement$created}, C.Type_Aym, F.CodeViewElement, {created: F.CodeViewElement$created}, C.Type_B8J, E.IOSocketRefElement, {created: E.IOSocketRefElement$created}, C.Type_C7R, A.TopNavMenuElement, {created: A.TopNavMenuElement$created}, C.Type_E0k, U.VMViewElement, {created: U.VMViewElement$created}, C.Type_ECh, D.IsolateLocationElement, {created: D.IsolateLocationElement$created}, C.Type_EQs, W.GlobalEventHandlers, {}, C.Type_ES1, N.IsolateRefElement, {created: N.IsolateRefElement$created}, C.Type_EVD, B.InstanceRefElement, {created: B.InstanceRefElement$created}, C.Type_Eue, X.VMRefElement, {created: X.VMRefElement$created}, C.Type_FKd, R.ServiceErrorViewElement, {created: R.ServiceErrorViewElement$created}, C.Type_I2I, A.PolymerElement, {created: A.PolymerElement$created}, C.Type_IuH, E.IORandomAccessFileListViewElement, {created: E.IORandomAccessFileListViewElement$created}, C.Type_JFX, A.ClassNavMenuElement, {created: A.ClassNavMenuElement$created}, C.Type_Jcu, K.StackFrameElement, {created: K.StackFrameElement$created}, C.Type_JmU, E.IORefElement, {created: E.IORefElement$created}, C.Type_KMd, A.NavMenuElement, {created: A.NavMenuElement$created}, C.Type_Kyy, Z.JsonViewElement, {created: Z.JsonViewElement$created}, C.Type_L9j, E.IOHttpServerConnectionViewElement, {created: E.IOHttpServerConnectionViewElement$created}, C.Type_LV6, K.HeapProfileElement, {created: K.HeapProfileElement$created}, C.Type_M6L, E.IOHttpServerViewElement, {created: E.IOHttpServerViewElement$created}, C.Type_MUU, E.IOWebSocketRefElement, {created: E.IOWebSocketRefElement$created}, C.Type_Mu6, U.ServiceObjectViewElement, {created: U.ServiceObjectViewElement$created}, C.Type_NlB, H.NativeTypedArrayOfDouble, {"": H.NativeTypedArrayOfDouble$}, C.Type_Npb, F.ErrorViewElement, {created: F.ErrorViewElement$created}, C.Type_O5a, Z.ClassViewElement, {created: Z.ClassViewElement$created}, C.Type_ON8, B.BreakpointListElement, {created: B.BreakpointListElement$created}, C.Type_QyU, W.WindowEventHandlers, {}, C.Type_SoB, O.HeapMapElement, {created: O.HeapMapElement$created}, C.Type_Sxn, A.NavRefreshElement, {created: A.NavRefreshElement$created}, C.Type_TEn, E.IOViewElement, {created: E.IOViewElement$created}, C.Type_UJT, Q.ServiceRefElement, {created: Q.ServiceRefElement$created}, C.Type_YgH, V.ObservatoryApplicationElement, {created: V.ObservatoryApplicationElement$created}, C.Type_ZKG, L.IsolateViewElement, {created: L.IsolateViewElement$created}, C.Type_a1Y, T.ScriptInsetElement, {created: T.ScriptInsetElement$created}, C.Type_aAD, D.IsolateRunStateElement, {created: D.IsolateRunStateElement$created}, C.Type_bDN, N.FunctionViewElement, {created: N.FunctionViewElement$created}, C.Type_cOY, X.IsolateProfileElement, {created: X.IsolateProfileElement$created}, C.Type_cop, R.CurlyBlockElement, {created: R.CurlyBlockElement$created}, C.Type_dRp, O.ClassTreeElement, {created: O.ClassTreeElement$created}, C.Type_f1j, X.FlagListElement, {created: X.FlagListElement$created}, C.Type_gg4, E.IOWebSocketListViewElement, {created: E.IOWebSocketListViewElement$created}, C.Type_gqS, Z.InstanceViewElement, {created: Z.InstanceViewElement$created}, C.Type_i7j, E.IOHttpServerRefElement, {created: E.IOHttpServerRefElement$created}, C.Type_iL9, D.IsolateSummaryElement, {created: D.IsolateSummaryElement$created}, C.Type_kA7, X.ActionLinkElement, {created: X.ActionLinkElement$created}, C.Type_kuc, Q.SlidingCheckboxElement, {created: Q.SlidingCheckboxElement$created}, C.Type_mWg, E.IORandomAccessFileRefElement, {created: E.IORandomAccessFileRefElement$created}, C.Type_mpV, R.LibraryRefElement, {created: R.LibraryRefElement$created}, C.Type_nV5, A.NavBarElement, {created: A.NavBarElement$created}, C.Type_nVV, X.StackTraceElement, {created: X.StackTraceElement$created}, C.Type_ohY, D.FieldRefElement, {created: D.FieldRefElement$created}, C.Type_p2P, R.EvalLinkElement, {created: R.EvalLinkElement$created}, C.Type_qMZ, E.IOProcessRefElement, {created: E.IOProcessRefElement$created}, C.Type_ql8, Q.ClassRefElement, {created: Q.ClassRefElement$created}, C.Type_qph, M.LibraryViewElement, {created: M.LibraryViewElement$created}, C.Type_s2l, A.LibraryNavMenuElement, {created: A.LibraryNavMenuElement$created}, C.Type_s8b, Y.AutoBindingElement, {created: Y.AutoBindingElement$created}, C.Type_sRP, Z.ObservatoryElement, {created: Z.ObservatoryElement$created}, C.Type_uIL, E.IOHttpServerConnectionRefElement, {created: E.IOHttpServerConnectionRefElement$created}, C.Type_wBh, A.ScriptRefElement, {created: A.ScriptRefElement$created}, C.Type_wOW, H.NativeTypedArrayOfInt, {"": H.NativeTypedArrayOfInt$}, C.Type_wT1, D.IsolateCounterChartElement, {created: D.IsolateCounterChartElement$created}, C.Type_wgH, U.FunctionRefElement, {created: U.FunctionRefElement$created}, C.Type_wsa, A.IsolateNavMenuElement, {created: A.IsolateNavMenuElement$created}, C.Type_y1j, D.ServiceExceptionViewElement, {created: D.ServiceExceptionViewElement$created}, C.Type_yvP, E.IOHttpServerListViewElement, {created: E.IOHttpServerListViewElement$created}]; |
| 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 H.setRuntimeTypeInfo(new P.Expando(null), [P.$int]); |
| }); |
| 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(function() { |
| var $argumentsExpr$ = '$arguments$'; |
| try { |
| null.$method$($argumentsExpr$); |
| } catch (e) { |
| return e.message; |
| } |
| |
| }()); |
| }); |
| 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(function() { |
| var $argumentsExpr$ = '$arguments$'; |
| try { |
| (void 0).$method$($argumentsExpr$); |
| } catch (e) { |
| return e.message; |
| } |
| |
| }()); |
| }); |
| 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(function() { |
| try { |
| null.$method$; |
| } catch (e) { |
| return e.message; |
| } |
| |
| }()); |
| }); |
| 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(function() { |
| try { |
| (void 0).$method$; |
| } catch (e) { |
| return e.message; |
| } |
| |
| }()); |
| }); |
| Isolate.$lazy($, "_completer", "GoogleChart__completer", "get$GoogleChart__completer", function() { |
| return H.setRuntimeTypeInfo(new P._AsyncCompleter(P._Future$(null)), [null]); |
| }); |
| Isolate.$lazy($, "scheduleImmediateClosure", "_AsyncRun_scheduleImmediateClosure", "get$_AsyncRun_scheduleImmediateClosure", function() { |
| return P._AsyncRun__initializeScheduleImmediate(); |
| }); |
| Isolate.$lazy($, "_nullFuture", "Future__nullFuture", "get$Future__nullFuture", function() { |
| return P._Future$immediate(null, null); |
| }); |
| Isolate.$lazy($, "_toStringVisiting", "IterableBase__toStringVisiting", "get$IterableBase__toStringVisiting", function() { |
| return []; |
| }); |
| Isolate.$lazy($, "webkitEvents", "ElementEvents_webkitEvents", "get$ElementEvents_webkitEvents", function() { |
| return P.LinkedHashMap_LinkedHashMap$_literal(["animationend", "webkitAnimationEnd", "animationiteration", "webkitAnimationIteration", "animationstart", "webkitAnimationStart", "fullscreenchange", "webkitfullscreenchange", "fullscreenerror", "webkitfullscreenerror", "keyadded", "webkitkeyadded", "keyerror", "webkitkeyerror", "keymessage", "webkitkeymessage", "needkey", "webkitneedkey", "pointerlockchange", "webkitpointerlockchange", "pointerlockerror", "webkitpointerlockerror", "resourcetimingbufferfull", "webkitresourcetimingbufferfull", "transitionend", "webkitTransitionEnd", "speechchange", "webkitSpeechChange"], null, null); |
| }); |
| Isolate.$lazy($, "context", "context", "get$context", function() { |
| return P._wrapToDart(function() { |
| return this; |
| }()); |
| }); |
| Isolate.$lazy($, "_DART_OBJECT_PROPERTY_NAME", "_DART_OBJECT_PROPERTY_NAME", "get$_DART_OBJECT_PROPERTY_NAME", function() { |
| return init.getIsolateTag("_$dart_dartObject"); |
| }); |
| Isolate.$lazy($, "_DART_CLOSURE_PROPERTY_NAME", "_DART_CLOSURE_PROPERTY_NAME", "get$_DART_CLOSURE_PROPERTY_NAME", function() { |
| return init.getIsolateTag("_$dart_dartClosure"); |
| }); |
| Isolate.$lazy($, "_dartProxyCtor", "_dartProxyCtor", "get$_dartProxyCtor", function() { |
| return function DartObject(o) { |
| this.o = o; |
| }; |
| }); |
| Isolate.$lazy($, "_freeColor", "HeapMapElement__freeColor", "get$HeapMapElement__freeColor", function() { |
| return [255, 255, 255, 255]; |
| }); |
| Isolate.$lazy($, "_pageSeparationColor", "HeapMapElement__pageSeparationColor", "get$HeapMapElement__pageSeparationColor", function() { |
| return [0, 0, 0, 255]; |
| }); |
| Isolate.$lazy($, "_loggers", "Logger__loggers", "get$Logger__loggers", function() { |
| return P.LinkedHashMap_LinkedHashMap$_empty(P.String, N.Logger); |
| }); |
| Isolate.$lazy($, "_logger", "_logger", "get$_logger", function() { |
| return N.Logger_Logger("Observable.dirtyCheck"); |
| }); |
| Isolate.$lazy($, "_instance", "_InvalidPropertyPath__instance", "get$_InvalidPropertyPath__instance", function() { |
| return new L._InvalidPropertyPath([]); |
| }); |
| Isolate.$lazy($, "_pathRegExp", "_pathRegExp", "get$_pathRegExp", function() { |
| return new L.closure7().call$0(); |
| }); |
| Isolate.$lazy($, "_logger", "_logger0", "get$_logger0", function() { |
| return N.Logger_Logger("observe.PathObserver"); |
| }); |
| Isolate.$lazy($, "_pathCache", "_pathCache", "get$_pathCache", function() { |
| return P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, L.PropertyPath); |
| }); |
| Isolate.$lazy($, "_polymerSyntax", "PolymerDeclaration__polymerSyntax", "get$PolymerDeclaration__polymerSyntax", function() { |
| return new A.PolymerExpressions(T.PolymerExpressions$(null, C.C_ScopeFactory), null); |
| }); |
| Isolate.$lazy($, "_typesByName", "_typesByName", "get$_typesByName", function() { |
| return P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, P.Type); |
| }); |
| Isolate.$lazy($, "_declarations", "_declarations", "get$_declarations", function() { |
| return P.LinkedHashMap_LinkedHashMap(null, null, null, P.String, A.PolymerDeclaration); |
| }); |
| Isolate.$lazy($, "_hasShadowDomPolyfill", "_hasShadowDomPolyfill", "get$_hasShadowDomPolyfill", function() { |
| return $.get$context().hasProperty$1("ShadowDOMPolyfill"); |
| }); |
| Isolate.$lazy($, "_ShadowCss", "_ShadowCss", "get$_ShadowCss", function() { |
| var t1 = $.get$_Platform(); |
| return t1 != null ? J.$index$asx(t1, "ShadowCSS") : null; |
| }); |
| Isolate.$lazy($, "_sheetLog", "_sheetLog", "get$_sheetLog", function() { |
| return N.Logger_Logger("polymer.stylesheet"); |
| }); |
| Isolate.$lazy($, "_changedMethodQueryOptions", "_changedMethodQueryOptions", "get$_changedMethodQueryOptions", function() { |
| return new A.QueryOptions(false, false, true, C.Type_fPs, false, true, null, A._isObserverMethod$closure()); |
| }); |
| Isolate.$lazy($, "_ATTRIBUTES_REGEX", "_ATTRIBUTES_REGEX", "get$_ATTRIBUTES_REGEX", function() { |
| return new H.JSSyntaxRegExp("\\s|,", H.JSSyntaxRegExp_makeNative("\\s|,", false, true, false), null, null); |
| }); |
| Isolate.$lazy($, "_Platform", "_Platform", "get$_Platform", function() { |
| return J.$index$asx($.get$context(), "Platform"); |
| }); |
| Isolate.$lazy($, "bindPattern", "Polymer_bindPattern", "get$Polymer_bindPattern", function() { |
| return new H.JSSyntaxRegExp("\\{\\{([^{}]*)}}", H.JSSyntaxRegExp_makeNative("\\{\\{([^{}]*)}}", false, true, false), null, null); |
| }); |
| Isolate.$lazy($, "_onReady", "Polymer__onReady", "get$Polymer__onReady", function() { |
| return H.setRuntimeTypeInfo(new P._AsyncCompleter(P._Future$(null)), [null]); |
| }); |
| Isolate.$lazy($, "_observeLog", "_observeLog", "get$_observeLog", function() { |
| return N.Logger_Logger("polymer.observe"); |
| }); |
| Isolate.$lazy($, "_eventsLog", "_eventsLog", "get$_eventsLog", function() { |
| return N.Logger_Logger("polymer.events"); |
| }); |
| Isolate.$lazy($, "_unbindLog", "_unbindLog", "get$_unbindLog", function() { |
| return N.Logger_Logger("polymer.unbind"); |
| }); |
| Isolate.$lazy($, "_bindLog", "_bindLog", "get$_bindLog", function() { |
| return N.Logger_Logger("polymer.bind"); |
| }); |
| Isolate.$lazy($, "_PolymerGestures", "_PolymerGestures", "get$_PolymerGestures", function() { |
| return J.$index$asx($.get$context(), "PolymerGestures"); |
| }); |
| Isolate.$lazy($, "_polymerElementProto", "_polymerElementProto", "get$_polymerElementProto", function() { |
| return new A.closure().call$0(); |
| }); |
| Isolate.$lazy($, "_typeHandlers", "_typeHandlers", "get$_typeHandlers", function() { |
| return P.LinkedHashMap_LinkedHashMap$_literal([C.Type_Ejg, new Z.closure0(), C.Type_eZO, new Z.closure1(), C.Type_dVs, new Z.closure2(), C.Type_EsU, new Z.closure3(), C.Type_SnA, new Z.closure4(), C.Type_qq1, new Z.closure5()], null, null); |
| }); |
| Isolate.$lazy($, "_BINARY_OPERATORS", "_BINARY_OPERATORS", "get$_BINARY_OPERATORS", function() { |
| return P.LinkedHashMap_LinkedHashMap$_literal(["+", new K.closure14(), "-", new K.closure15(), "*", new K.closure16(), "/", new K.closure17(), "%", new K.closure18(), "==", new K.closure19(), "!=", new K.closure20(), "===", new K.closure21(), "!==", new K.closure22(), ">", new K.closure23(), ">=", new K.closure24(), "<", new K.closure25(), "<=", new K.closure26(), "||", new K.closure27(), "&&", new K.closure28(), "|", new K.closure29()], null, null); |
| }); |
| Isolate.$lazy($, "_UNARY_OPERATORS", "_UNARY_OPERATORS", "get$_UNARY_OPERATORS", function() { |
| return P.LinkedHashMap_LinkedHashMap$_literal(["+", new K.closure11(), "-", new K.closure12(), "!", new K.closure13()], null, null); |
| }); |
| Isolate.$lazy($, "_instance", "Closer__instance", "get$Closer__instance", function() { |
| return new K.Closer(); |
| }); |
| Isolate.$lazy($, "_currentIsolateMatcher", "VM__currentIsolateMatcher", "get$VM__currentIsolateMatcher", function() { |
| return new H.JSSyntaxRegExp("isolates/\\d+", H.JSSyntaxRegExp_makeNative("isolates/\\d+", false, true, false), null, null); |
| }); |
| Isolate.$lazy($, "_currentObjectMatcher", "VM__currentObjectMatcher", "get$VM__currentObjectMatcher", function() { |
| return new H.JSSyntaxRegExp("isolates/\\d+/", H.JSSyntaxRegExp_makeNative("isolates/\\d+/", false, true, false), null, null); |
| }); |
| Isolate.$lazy($, "objectAccessor", "objectAccessor", "get$objectAccessor", function() { |
| return D.throwNotConfiguredError(); |
| }); |
| Isolate.$lazy($, "typeInspector", "typeInspector", "get$typeInspector", function() { |
| return D.throwNotConfiguredError(); |
| }); |
| Isolate.$lazy($, "symbolConverter", "symbolConverter", "get$symbolConverter", function() { |
| return D.throwNotConfiguredError(); |
| }); |
| Isolate.$lazy($, "_DEFAULT", "BindingDelegate__DEFAULT", "get$BindingDelegate__DEFAULT", function() { |
| return new M.BindingDelegate(null); |
| }); |
| Isolate.$lazy($, "_checkboxEventType", "_InputBinding__checkboxEventType", "get$_InputBinding__checkboxEventType", function() { |
| return new M.closure10().call$0(); |
| }); |
| Isolate.$lazy($, "_contentsOwner", "TemplateBindExtension__contentsOwner", "get$TemplateBindExtension__contentsOwner", function() { |
| return H.setRuntimeTypeInfo(new P.Expando(null), [null]); |
| }); |
| Isolate.$lazy($, "_ownerStagingDocument", "TemplateBindExtension__ownerStagingDocument", "get$TemplateBindExtension__ownerStagingDocument", function() { |
| return H.setRuntimeTypeInfo(new P.Expando(null), [null]); |
| }); |
| Isolate.$lazy($, "_allTemplatesSelectors", "TemplateBindExtension__allTemplatesSelectors", "get$TemplateBindExtension__allTemplatesSelectors", function() { |
| return "template, " + J.map$1$ax(C.Map_05eTF.get$keys(), new M.closure6()).join$1(0, ", "); |
| }); |
| Isolate.$lazy($, "_templateObserver", "TemplateBindExtension__templateObserver", "get$TemplateBindExtension__templateObserver", function() { |
| return new (window.MutationObserver || window.WebKitMutationObserver || window.MozMutationObserver)(H.convertDartClosureToJS(W._wrapBinaryZone(new M.closure8()), 2)); |
| }); |
| Isolate.$lazy($, "_emptyInstance", "_emptyInstance", "get$_emptyInstance", function() { |
| return new M.closure9().call$0(); |
| }); |
| Isolate.$lazy($, "_instanceExtension", "_instanceExtension", "get$_instanceExtension", function() { |
| return H.setRuntimeTypeInfo(new P.Expando(null), [null]); |
| }); |
| Isolate.$lazy($, "_isStagingDocument", "_isStagingDocument", "get$_isStagingDocument", function() { |
| return H.setRuntimeTypeInfo(new P.Expando(null), [null]); |
| }); |
| Isolate.$lazy($, "_expando", "_expando", "get$_expando", function() { |
| return H.setRuntimeTypeInfo(new P.Expando("template_binding"), [null]); |
| }); |
| // Native classes |
| |
| init.functionAliases = {evalType: 209}; |
| ; |
| init.metadata = ["sender", |
| "e", |
| "event", |
| "uri", |
| "onError", |
| {func: "dynamic__String", args: [P.String]}, |
| "closure", |
| "isolate", |
| "numberOfArguments", |
| "arg1", |
| "arg2", |
| "arg3", |
| "arg4", |
| {func: "args1", args: [null]}, |
| "_", |
| {func: "String__int", ret: P.String, args: [P.$int]}, |
| "bytes", |
| {func: "String__dynamic", ret: P.String, args: [null]}, |
| {func: "void_", void: true}, |
| {func: "void__void_", void: true, args: [{func: "void_", void: true}]}, |
| {func: "void__dynamic", void: true, args: [null]}, |
| "value", |
| {func: "void__dynamic__StackTrace", void: true, args: [null], opt: [P.StackTrace]}, |
| , |
| "error", |
| "stackTrace", |
| {func: "void__Zone_ZoneDelegate_Zone_dynamic_StackTrace", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, null, P.StackTrace]}, |
| "self", |
| "parent", |
| "zone", |
| {func: "dynamic__Zone_ZoneDelegate_Zone_args0", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "args0"}]}, |
| "f", |
| {func: "dynamic__Zone_ZoneDelegate_Zone_args1_dynamic", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "args1", args: [null]}, null]}, |
| "arg", |
| {func: "dynamic__Zone_ZoneDelegate_Zone_args2_dynamic_dynamic", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "args2", args: [null, null]}, null, null]}, |
| {func: "ZoneCallback__Zone_ZoneDelegate_Zone_args0", ret: {func: "args0"}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "args0"}]}, |
| {func: "ZoneUnaryCallback__Zone_ZoneDelegate_Zone_args1", ret: {func: "args1", args: [null]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "args1", args: [null]}]}, |
| {func: "ZoneBinaryCallback__Zone_ZoneDelegate_Zone_args2", ret: {func: "args2", args: [null, null]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "args2", args: [null, null]}]}, |
| {func: "void__Zone_ZoneDelegate_Zone_args0", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "args0"}]}, |
| {func: "Timer__Zone_ZoneDelegate_Zone_Duration_void_", ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: "void_", void: true}]}, |
| "duration", |
| "callback", |
| {func: "void__Zone_ZoneDelegate_Zone_String", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, P.String]}, |
| {func: "void__String", void: true, args: [P.String]}, |
| {func: "Zone__Zone_ZoneDelegate_Zone_ZoneSpecification_Map", ret: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecification, P.Map]}, |
| {func: "bool__dynamic_dynamic", ret: P.bool, args: [null, null]}, |
| "a", |
| "b", |
| {func: "int__dynamic", ret: P.$int, args: [null]}, |
| {func: "Object__dynamic", ret: P.Object, args: [null]}, |
| "object", |
| {func: "int__Comparable_Comparable", ret: P.$int, args: [P.Comparable, P.Comparable]}, |
| {func: "bool__Object_Object", ret: P.bool, args: [P.Object, P.Object]}, |
| {func: "int__Object", ret: P.$int, args: [P.Object]}, |
| "receiver", |
| {func: "args4", args: [null, null, null, null]}, |
| "name", |
| "oldValue", |
| "newValue", |
| "captureThis", |
| "arguments", |
| "o", |
| {func: "bool__Symbol", ret: P.bool, args: [P.Symbol]}, |
| "symbol", |
| "v", |
| "x", |
| {func: "Iterable__Iterable", ret: [P.Iterable, K.IndexedValue], args: [P.Iterable]}, |
| "iterable", |
| "invocation", |
| {func: "args0"}, |
| {func: "dynamic__Function", args: [P.Function]}, |
| "code", |
| "msg", |
| "errorMessage", |
| "message", |
| {func: "args2", args: [null, null]}, |
| "key", |
| {func: "dynamic__String_dynamic", args: [P.String, null]}, |
| {func: "dynamic__dynamic_String", args: [null, P.String]}, |
| {func: "void__dynamic_dynamic_dynamic", void: true, args: [null, null, null]}, |
| "c", |
| "obj", |
| "i", |
| {func: "void__ServiceError", void: true, args: [D.ServiceError]}, |
| {func: "void__ServiceException", void: true, args: [D.ServiceException]}, |
| "exception", |
| {func: "void__PopStateEvent", void: true, args: [W.PopStateEvent]}, |
| {func: "int__int_int", ret: P.$int, args: [P.$int, P.$int]}, |
| "column", |
| "done", |
| {func: "String__TableTreeRow", ret: P.String, args: [G.TableTreeRow]}, |
| "row", |
| {func: "void__Event_dynamic_Element", void: true, args: [W.Event, null, W.Element]}, |
| "detail", |
| "target", |
| "objectClass", |
| {func: "Future__String", ret: [P.Future, D.ServiceObject], args: [P.String]}, |
| "text", |
| {func: "Future__dynamic", ret: [P.Future, D.ServiceObject], args: [null]}, |
| "limit", |
| "dummy", |
| {func: "dynamic__ServiceMap", args: [D.ServiceMap]}, |
| {func: "void__Event_dynamic_Node", void: true, args: [W.Event, null, W.Node]}, |
| {func: "dynamic__Code", args: [D.Code]}, |
| "data", |
| {func: "void__Object__StackTrace", void: true, args: [P.Object], opt: [P.StackTrace]}, |
| "theError", |
| "theStackTrace", |
| {func: "dynamic__Object", args: [P.Object]}, |
| {func: "void___dynamic", void: true, opt: [null]}, |
| {func: "dynamic__dynamic__dynamic", args: [null], opt: [null]}, |
| {func: "bool_", ret: P.bool}, |
| "ignored", |
| "convert", |
| "element", |
| {func: "dynamic__bool", args: [P.bool]}, |
| {func: "void___Future", void: true, opt: [P.Future]}, |
| "resumeSignal", |
| {func: "dynamic__dynamic_StackTrace", args: [null, P.StackTrace]}, |
| {func: "void__dynamic_StackTrace", void: true, args: [null, P.StackTrace]}, |
| "each", |
| {func: "dynamic__Symbol_dynamic", args: [P.Symbol, null]}, |
| {func: "int__String", ret: P.$int, args: [P.String]}, |
| {func: "double__String", ret: P.$double, args: [P.String]}, |
| {func: "bool__int", ret: P.bool, args: [P.$int]}, |
| {func: "int__int", ret: P.$int, args: [P.$int]}, |
| {func: "int__dynamic_dynamic", ret: P.$int, args: [null, null]}, |
| "byteString", |
| {func: "void__MouseEvent", void: true, args: [W.MouseEvent]}, |
| "result", |
| {func: "dynamic__ServiceObject", args: [D.ServiceObject]}, |
| {func: "PixelReference_", ret: O.PixelReference}, |
| "response", |
| "st", |
| {func: "void__ServiceMap", void: true, args: [D.ServiceMap]}, |
| "newProfile", |
| {func: "String__bool", ret: P.String, args: [P.bool]}, |
| "newSpace", |
| {func: "dynamic__int", args: [P.$int]}, |
| {func: "dynamic__int_dynamic", args: [P.$int, null]}, |
| {func: "Iterable__dynamic__String", ret: P.Iterable, args: [{func: "dynamic__String", args: [P.String]}]}, |
| {func: "Iterable__Iterable__String", ret: P.Iterable, args: [{func: "Iterable__String", ret: P.Iterable, args: [P.String]}]}, |
| "s", |
| {func: "void__bool_dynamic", void: true, args: [P.bool, null]}, |
| "expand", |
| "m", |
| {func: "Future__dynamic0", ret: P.Future, args: [null]}, |
| "tagProfile", |
| "rec", |
| {func: "dynamic__LogRecord", args: [N.LogRecord]}, |
| {func: "void__MouseEvent_dynamic_Element", void: true, args: [W.MouseEvent, null, W.Element]}, |
| {func: "String__String", ret: P.String, args: [P.String]}, |
| "url", |
| {func: "String__double", ret: P.String, args: [P.$double]}, |
| "time", |
| {func: "bool__String", ret: P.bool, args: [P.String]}, |
| "type", |
| {func: "dynamic__ZoneDelegate_Zone", args: [P.ZoneDelegate, P.Zone]}, |
| {func: "dynamic__Zone_ZoneDelegate_Zone_args1", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "args1", args: [null]}]}, |
| {func: "void__Object", void: true, args: [P.Object]}, |
| "records", |
| {func: "dynamic__PropertyPath_dynamic", args: [L.PropertyPath, null]}, |
| "model", |
| "node", |
| "oneTime", |
| {func: "args3", args: [null, null, null]}, |
| {func: "void__String_String", void: true, args: [P.String, P.String]}, |
| {func: "void__List_Map_List", void: true, args: [P.List, P.Map, P.List]}, |
| {func: "void__List", void: true, args: [[P.List, T.ChangeRecord]]}, |
| {func: "void__Iterable", void: true, args: [[P.Iterable, A.Bindable]]}, |
| "changes", |
| "jsElem", |
| "extendee", |
| {func: "dynamic__dynamic_String_String", args: [null, P.String, P.String]}, |
| "k", |
| {func: "dynamic__dynamic_Node_bool", args: [null, W.Node, P.bool]}, |
| {func: "dynamic__dynamic__bool", args: [null], named: {skipChanges: P.bool}}, |
| false, |
| "skipChanges", |
| {func: "dynamic__List", args: [[P.List, T.ChangeRecord]]}, |
| {func: "Index__Expression_Expression", ret: U.Index, args: [U.Expression, U.Expression]}, |
| {func: "dynamic__Expression", args: [U.Expression]}, |
| "hits", |
| "map", |
| {func: "dynamic__ObservableMap", args: [V.ObservableMap]}, |
| "id", |
| {func: "Future_", ret: P.Future}, |
| "coverage", |
| {func: "Future__ServiceMap", ret: [P.Future, [P.List, D.Class]], args: [D.ServiceMap]}, |
| "classList", |
| {func: "Future__List", ret: [P.Future, D.Class], args: [[P.List, D.Class]]}, |
| "classes", |
| "scriptCoverage", |
| "timer", |
| {func: "String_", ret: P.String}, |
| {func: "String__Code", ret: P.String, args: [D.Code]}, |
| {func: "void__Script", void: true, args: [D.Script]}, |
| "script", |
| "func", |
| "request", |
| {func: "dynamic__HttpRequest", args: [W.HttpRequest]}, |
| "details", |
| "ref", |
| {func: "void__List0", void: true, args: [[P.List, G.ListChangeRecord]]}, |
| "splices", |
| {func: "void__DocumentFragment", void: true, args: [W.DocumentFragment]}, |
| {func: "String__Object", ret: P.String, args: [P.Object]}, |
| {func: "String__List", ret: P.String, args: [[P.List, P.Object]]}, |
| "values", |
| {func: "Future__String0", ret: P.Future, args: [P.String]}, |
| ]; |
| $ = 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() { |
| function intern(s) { |
| var o = {}; |
| o[s] = 1; |
| return Object.keys(convertToFastObject(o))[0]; |
| } |
| init.getIsolateTag = function(name) { |
| return intern("___dart_" + name + init.isolateTag); |
| }; |
| var tableProperty = "___dart_isolate_tags_"; |
| var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null)); |
| var rootProperty = "_ZxYxX"; |
| for (var i = 0;; i++) { |
| var property = intern(rootProperty + "_" + i + "_"); |
| if (!(property in usedProperties)) { |
| usedProperties[property] = 1; |
| init.isolateTag = property; |
| break; |
| } |
| } |
| }(); |
| init.dispatchPropertyName = init.getIsolateTag("dispatch_record"); |
| // 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(a) { |
| H.startRootIsolate(E.main0$closure(), a); |
| }, []); |
| } else { |
| (function(a) { |
| H.startRootIsolate(E.main0$closure(), a); |
| })([]); |
| } |
| }); |
| ; |
| // END invoke [main]. |
| function init() { |
| Isolate.$isolateProperties = {}; |
| function generateAccessor(fieldDescriptor, accessors, cls) { |
| var fieldInformation = fieldDescriptor.split("-"); |
| var field = fieldInformation[0]; |
| var len = field.length; |
| var code = field.charCodeAt(len - 1); |
| var reflectable; |
| if (fieldInformation.length > 1) |
| reflectable = true; |
| else |
| reflectable = false; |
| 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]; |
| split = supr.split(":"); |
| if (split.length == 2) { |
| supr = split[0]; |
| var functionSignature = split[1]; |
| if (functionSignature) |
| desc.$signature = function(s) { |
| return function() { |
| return init.metadata[s]; |
| }; |
| }(functionSignature); |
| } |
| if (supr && supr.indexOf("+") > 0) { |
| s = supr.split("+"); |
| supr = s[0]; |
| var mixin = collectedClasses[s[1]]; |
| if (mixin instanceof Array) |
| mixin = mixin[1]; |
| for (var d in mixin) { |
| if (hasOwnProperty.call(mixin, d) && !hasOwnProperty.call(desc, d)) |
| desc[d] = mixin[d]; |
| } |
| } |
| if (typeof dart_precompiled != "function") { |
| combinedConstructorFunction += defineClass(name, cls, fields); |
| constructorsList.push(cls); |
| } |
| if (supr) |
| pendingClasses[cls] = supr; |
| } |
| } |
| if (typeof dart_precompiled != "function") { |
| combinedConstructorFunction += "return [\n " + constructorsList.join(",\n ") + "\n]"; |
| var constructors = new Function("$collectedClasses", combinedConstructorFunction)(collectedClasses); |
| combinedConstructorFunction = null; |
| } |
| for (var i = 0; i < constructors.length; i++) { |
| var constructor = constructors[i]; |
| var cls = constructor.name; |
| var desc = collectedClasses[cls]; |
| var globalObject = isolateProperties; |
| if (desc instanceof Array) { |
| globalObject = desc[0] || isolateProperties; |
| desc = desc[1]; |
| } |
| allClasses[cls] = constructor; |
| globalObject[cls] = constructor; |
| } |
| constructors = null; |
| var finishedClasses = {}; |
| init.interceptorsByTag = Object.create(null); |
| init.leafTags = {}; |
| function finishClass(cls) { |
| var hasOwnProperty = Object.prototype.hasOwnProperty; |
| if (hasOwnProperty.call(finishedClasses, cls)) |
| return; |
| finishedClasses[cls] = true; |
| var superclass = pendingClasses[cls]; |
| if (!superclass || typeof superclass != "string") |
| return; |
| finishClass(superclass); |
| var constructor = allClasses[cls]; |
| var superConstructor = allClasses[superclass]; |
| if (!superConstructor) |
| superConstructor = existingIsolateProperties[superclass]; |
| var prototype = inheritFrom(constructor, superConstructor); |
| if (hasOwnProperty.call(prototype, "%")) { |
| var nativeSpec = prototype["%"].split(";"); |
| if (nativeSpec[0]) { |
| var tags = nativeSpec[0].split("|"); |
| for (var i = 0; i < tags.length; i++) { |
| init.interceptorsByTag[tags[i]] = constructor; |
| init.leafTags[tags[i]] = true; |
| } |
| } |
| if (nativeSpec[1]) { |
| tags = nativeSpec[1].split("|"); |
| if (nativeSpec[2]) { |
| var subclasses = nativeSpec[2].split("|"); |
| for (var i = 0; i < subclasses.length; i++) { |
| var subclass = allClasses[subclasses[i]]; |
| subclass.$nativeSuperclassTag = tags[0]; |
| } |
| } |
| for (i = 0; i < tags.length; i++) { |
| init.interceptorsByTag[tags[i]] = constructor; |
| init.leafTags[tags[i]] = false; |
| } |
| } |
| } |
| } |
| for (var cls in pendingClasses) |
| finishClass(cls); |
| }; |
| Isolate.$lazy = function(prototype, staticName, fieldName, getterName, lazyValue) { |
| var sentinelUndefined = {}; |
| var sentinelInProgress = {}; |
| prototype[fieldName] = sentinelUndefined; |
| prototype[getterName] = function() { |
| var result = $[fieldName]; |
| try { |
| if (result === sentinelUndefined) { |
| $[fieldName] = sentinelInProgress; |
| try { |
| result = $[fieldName] = lazyValue(); |
| } finally { |
| if (result === sentinelUndefined) |
| if ($[fieldName] === sentinelInProgress) |
| $[fieldName] = null; |
| } |
| } else { |
| if (result === sentinelInProgress) |
| H.throwCyclicInit(staticName); |
| } |
| return result; |
| } finally { |
| $[getterName] = function() { |
| return this[fieldName]; |
| }; |
| } |
| }; |
| }; |
| Isolate.$finishIsolateConstructor = function(oldIsolate) { |
| var isolateProperties = oldIsolate.$isolateProperties; |
| function Isolate() { |
| var hasOwnProperty = Object.prototype.hasOwnProperty; |
| for (var staticName in isolateProperties) |
| if (hasOwnProperty.call(isolateProperties, staticName)) |
| this[staticName] = isolateProperties[staticName]; |
| function ForceEfficientMap() { |
| } |
| ForceEfficientMap.prototype = this; |
| new ForceEfficientMap(); |
| } |
| Isolate.prototype = oldIsolate.prototype; |
| Isolate.prototype.constructor = Isolate; |
| Isolate.$isolateProperties = isolateProperties; |
| Isolate.$finishClasses = oldIsolate.$finishClasses; |
| Isolate.makeConstantList = oldIsolate.makeConstantList; |
| return Isolate; |
| }; |
| } |
| })() |
| |
| //# sourceMappingURL=index_devtools.html_bootstrap.dart.js.map |
| //@ sourceMappingURL=index_devtools.html_bootstrap.dart.js.map |