| // Generated code. Do not modify. |
| // Emits the transpiled client.js directly into a statically embeddable string. |
| // dart format off |
| |
| const injectedClientJs = "// Generated by dart2js (, csp, intern-composite-values), the Dart to JavaScript compiler version: 3.13.0-89.0.dev.\n" |
| "// The code supports the following hooks:\n" |
| "// dartPrint(message):\n" |
| "// if this function is defined it is called instead of the Dart [print]\n" |
| "// method.\n" |
| "//\n" |
| "// dartMainRunner(main, args):\n" |
| "// if this function is defined, the Dart [main] method will not be invoked\n" |
| "// directly. Instead, a closure that will invoke [main], and its arguments\n" |
| "// [args] is passed to [dartMainRunner].\n" |
| "//\n" |
| "// dartDeferredLibraryLoader(uri, successCallback, errorCallback, loadId, loadPriority):\n" |
| "// if this function is defined, it will be called when a deferred library\n" |
| "// is loaded. It should load and eval the javascript of `uri`, and call\n" |
| "// successCallback. If it fails to do so, it should call errorCallback with\n" |
| "// an error. The loadId argument is the deferred import that resulted in\n" |
| "// this uri being loaded. The loadPriority argument is an arbitrary argument\n" |
| "// string forwarded from the 'dart2js:load-priority' pragma option.\n" |
| "// dartDeferredLibraryMultiLoader(uris, successCallback, errorCallback, loadId, loadPriority):\n" |
| "// if this function is defined, it will be called when a deferred library\n" |
| "// is loaded. It should load and eval the javascript of every URI in `uris`,\n" |
| "// and call successCallback. If it fails to do so, it should call\n" |
| "// errorCallback with an error. The loadId argument is the deferred import\n" |
| "// that resulted in this uri being loaded. The loadPriority argument is an\n" |
| "// arbitrary argument string forwarded from the 'dart2js:load-priority'\n" |
| "// pragma option.\n" |
| "//\n" |
| "// dartCallInstrumentation(id, qualifiedName):\n" |
| "// if this function is defined, it will be called at each entry of a\n" |
| "// method or constructor. Used only when compiling programs with\n" |
| "// --experiment-call-instrumentation.\n" |
| "(function dartProgram() {\n" |
| " function copyProperties(from, to) {\n" |
| " var keys = Object.keys(from);\n" |
| " for (var i = 0; i < keys.length; i++) {\n" |
| " var key = keys[i];\n" |
| " to[key] = from[key];\n" |
| " }\n" |
| " }\n" |
| " function mixinPropertiesHard(from, to) {\n" |
| " var keys = Object.keys(from);\n" |
| " for (var i = 0; i < keys.length; i++) {\n" |
| " var key = keys[i];\n" |
| " if (!to.hasOwnProperty(key)) {\n" |
| " to[key] = from[key];\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " function mixinPropertiesEasy(from, to) {\n" |
| " Object.assign(to, from);\n" |
| " }\n" |
| " var supportsDirectProtoAccess = function() {\n" |
| " var cls = function() {\n" |
| " };\n" |
| " cls.prototype = {p: {}};\n" |
| " var object = new cls();\n" |
| " if (!(Object.getPrototypeOf(object) && Object.getPrototypeOf(object).p === cls.prototype.p))\n" |
| " return false;\n" |
| " try {\n" |
| " if (typeof navigator != \"undefined\" && typeof navigator.userAgent == \"string\" && navigator.userAgent.indexOf(\"Chrome/\") >= 0)\n" |
| " return true;\n" |
| " if (typeof version == \"function\" && version.length == 0) {\n" |
| " var v = version();\n" |
| " if (/^\\d+\\.\\d+\\.\\d+\\.\\d+\$/.test(v))\n" |
| " return true;\n" |
| " }\n" |
| " } catch (_) {\n" |
| " }\n" |
| " return false;\n" |
| " }();\n" |
| " function inherit(cls, sup) {\n" |
| " cls.prototype.constructor = cls;\n" |
| " cls.prototype[\"\$is\" + cls.name] = cls;\n" |
| " if (sup != null) {\n" |
| " if (supportsDirectProtoAccess) {\n" |
| " Object.setPrototypeOf(cls.prototype, sup.prototype);\n" |
| " return;\n" |
| " }\n" |
| " var clsPrototype = Object.create(sup.prototype);\n" |
| " copyProperties(cls.prototype, clsPrototype);\n" |
| " cls.prototype = clsPrototype;\n" |
| " }\n" |
| " }\n" |
| " function inheritMany(sup, classes) {\n" |
| " for (var i = 0; i < classes.length; i++) {\n" |
| " inherit(classes[i], sup);\n" |
| " }\n" |
| " }\n" |
| " function mixinEasy(cls, mixin) {\n" |
| " mixinPropertiesEasy(mixin.prototype, cls.prototype);\n" |
| " cls.prototype.constructor = cls;\n" |
| " }\n" |
| " function mixinHard(cls, mixin) {\n" |
| " mixinPropertiesHard(mixin.prototype, cls.prototype);\n" |
| " cls.prototype.constructor = cls;\n" |
| " }\n" |
| " function lazy(holder, name, getterName, initializer) {\n" |
| " var uninitializedSentinel = holder;\n" |
| " holder[name] = uninitializedSentinel;\n" |
| " holder[getterName] = function() {\n" |
| " if (holder[name] === uninitializedSentinel) {\n" |
| " holder[name] = initializer();\n" |
| " }\n" |
| " holder[getterName] = function() {\n" |
| " return this[name];\n" |
| " };\n" |
| " return holder[name];\n" |
| " };\n" |
| " }\n" |
| " function lazyFinal(holder, name, getterName, initializer) {\n" |
| " var uninitializedSentinel = holder;\n" |
| " holder[name] = uninitializedSentinel;\n" |
| " holder[getterName] = function() {\n" |
| " if (holder[name] === uninitializedSentinel) {\n" |
| " var value = initializer();\n" |
| " if (holder[name] !== uninitializedSentinel) {\n" |
| " A.throwLateFieldADI(name);\n" |
| " }\n" |
| " holder[name] = value;\n" |
| " }\n" |
| " var finalValue = holder[name];\n" |
| " holder[getterName] = function() {\n" |
| " return finalValue;\n" |
| " };\n" |
| " return finalValue;\n" |
| " };\n" |
| " }\n" |
| " function makeConstList(list, rti) {\n" |
| " if (rti != null)\n" |
| " A._setArrayType(list, rti);\n" |
| " list.\$flags = 7;\n" |
| " return list;\n" |
| " }\n" |
| " function convertToFastObject(properties) {\n" |
| " function t() {\n" |
| " }\n" |
| " t.prototype = properties;\n" |
| " new t();\n" |
| " return properties;\n" |
| " }\n" |
| " function convertAllToFastObject(arrayOfObjects) {\n" |
| " for (var i = 0; i < arrayOfObjects.length; ++i) {\n" |
| " convertToFastObject(arrayOfObjects[i]);\n" |
| " }\n" |
| " }\n" |
| " var functionCounter = 0;\n" |
| " function instanceTearOffGetter(isIntercepted, parameters) {\n" |
| " var cache = null;\n" |
| " return isIntercepted ? function(receiver) {\n" |
| " if (cache === null)\n" |
| " cache = A.closureFromTearOff(parameters);\n" |
| " return new cache(receiver, this);\n" |
| " } : function() {\n" |
| " if (cache === null)\n" |
| " cache = A.closureFromTearOff(parameters);\n" |
| " return new cache(this, null);\n" |
| " };\n" |
| " }\n" |
| " function staticTearOffGetter(parameters) {\n" |
| " var cache = null;\n" |
| " return function() {\n" |
| " if (cache === null)\n" |
| " cache = A.closureFromTearOff(parameters).prototype;\n" |
| " return cache;\n" |
| " };\n" |
| " }\n" |
| " var typesOffset = 0;\n" |
| " function tearOffParameters(container, isStatic, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {\n" |
| " if (typeof funType == \"number\") {\n" |
| " funType += typesOffset;\n" |
| " }\n" |
| " return {co: container, iS: isStatic, iI: isIntercepted, rC: requiredParameterCount, dV: optionalParameterDefaultValues, cs: callNames, fs: funsOrNames, fT: funType, aI: applyIndex || 0, nDA: needsDirectAccess};\n" |
| " }\n" |
| " function installStaticTearOff(holder, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex) {\n" |
| " var parameters = tearOffParameters(holder, true, false, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, false);\n" |
| " var getterFunction = staticTearOffGetter(parameters);\n" |
| " holder[getterName] = getterFunction;\n" |
| " }\n" |
| " function installInstanceTearOff(prototype, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, needsDirectAccess) {\n" |
| " isIntercepted = !!isIntercepted;\n" |
| " var parameters = tearOffParameters(prototype, false, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, funsOrNames, funType, applyIndex, !!needsDirectAccess);\n" |
| " var getterFunction = instanceTearOffGetter(isIntercepted, parameters);\n" |
| " prototype[getterName] = getterFunction;\n" |
| " }\n" |
| " function setOrUpdateInterceptorsByTag(newTags) {\n" |
| " var tags = init.interceptorsByTag;\n" |
| " if (!tags) {\n" |
| " init.interceptorsByTag = newTags;\n" |
| " return;\n" |
| " }\n" |
| " copyProperties(newTags, tags);\n" |
| " }\n" |
| " function setOrUpdateLeafTags(newTags) {\n" |
| " var tags = init.leafTags;\n" |
| " if (!tags) {\n" |
| " init.leafTags = newTags;\n" |
| " return;\n" |
| " }\n" |
| " copyProperties(newTags, tags);\n" |
| " }\n" |
| " function updateTypes(newTypes) {\n" |
| " var types = init.types;\n" |
| " var length = types.length;\n" |
| " types.push.apply(types, newTypes);\n" |
| " return length;\n" |
| " }\n" |
| " function updateHolder(holder, newHolder) {\n" |
| " copyProperties(newHolder, holder);\n" |
| " return holder;\n" |
| " }\n" |
| " var hunkHelpers = function() {\n" |
| " var mkInstance = function(isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {\n" |
| " return function(container, getterName, name, funType) {\n" |
| " return installInstanceTearOff(container, getterName, isIntercepted, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex, false);\n" |
| " };\n" |
| " },\n" |
| " mkStatic = function(requiredParameterCount, optionalParameterDefaultValues, callNames, applyIndex) {\n" |
| " return function(container, getterName, name, funType) {\n" |
| " return installStaticTearOff(container, getterName, requiredParameterCount, optionalParameterDefaultValues, callNames, [name], funType, applyIndex);\n" |
| " };\n" |
| " };\n" |
| " return {inherit: inherit, inheritMany: inheritMany, mixin: mixinEasy, mixinHard: mixinHard, installStaticTearOff: installStaticTearOff, installInstanceTearOff: installInstanceTearOff, _instance_0u: mkInstance(0, 0, null, [\"call\$0\"], 0), _instance_1u: mkInstance(0, 1, null, [\"call\$1\"], 0), _instance_2u: mkInstance(0, 2, null, [\"call\$2\"], 0), _instance_0i: mkInstance(1, 0, null, [\"call\$0\"], 0), _instance_1i: mkInstance(1, 1, null, [\"call\$1\"], 0), _instance_2i: mkInstance(1, 2, null, [\"call\$2\"], 0), _static_0: mkStatic(0, null, [\"call\$0\"], 0), _static_1: mkStatic(1, null, [\"call\$1\"], 0), _static_2: mkStatic(2, null, [\"call\$2\"], 0), makeConstList: makeConstList, lazy: lazy, lazyFinal: lazyFinal, updateHolder: updateHolder, convertToFastObject: convertToFastObject, updateTypes: updateTypes, setOrUpdateInterceptorsByTag: setOrUpdateInterceptorsByTag, setOrUpdateLeafTags: setOrUpdateLeafTags};\n" |
| " }();\n" |
| " function initializeDeferredHunk(hunk) {\n" |
| " typesOffset = init.types.length;\n" |
| " hunk(hunkHelpers, init, holders, \$);\n" |
| " }\n" |
| " var J = {\n" |
| " makeDispatchRecord(interceptor, proto, extension, indexability) {\n" |
| " return {i: interceptor, p: proto, e: extension, x: indexability};\n" |
| " },\n" |
| " getNativeInterceptor(object) {\n" |
| " var proto, objectProto, \$constructor, interceptor, t1,\n" |
| " record = object[init.dispatchPropertyName];\n" |
| " if (record == null)\n" |
| " if (\$.initNativeDispatchFlag == null) {\n" |
| " A.initNativeDispatch();\n" |
| " record = object[init.dispatchPropertyName];\n" |
| " }\n" |
| " if (record != null) {\n" |
| " proto = record.p;\n" |
| " if (false === proto)\n" |
| " return record.i;\n" |
| " if (true === proto)\n" |
| " return object;\n" |
| " objectProto = Object.getPrototypeOf(object);\n" |
| " if (proto === objectProto)\n" |
| " return record.i;\n" |
| " if (record.e === objectProto)\n" |
| " throw A.wrapException(A.UnimplementedError\$(\"Return interceptor for \" + A.S(proto(object, record))));\n" |
| " }\n" |
| " \$constructor = object.constructor;\n" |
| " if (\$constructor == null)\n" |
| " interceptor = null;\n" |
| " else {\n" |
| " t1 = \$._JS_INTEROP_INTERCEPTOR_TAG;\n" |
| " if (t1 == null)\n" |
| " t1 = \$._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag(\"_\$dart_js\");\n" |
| " interceptor = \$constructor[t1];\n" |
| " }\n" |
| " if (interceptor != null)\n" |
| " return interceptor;\n" |
| " interceptor = A.lookupAndCacheInterceptor(object);\n" |
| " if (interceptor != null)\n" |
| " return interceptor;\n" |
| " if (typeof object == \"function\")\n" |
| " return B.JavaScriptFunction_methods;\n" |
| " proto = Object.getPrototypeOf(object);\n" |
| " if (proto == null)\n" |
| " return B.PlainJavaScriptObject_methods;\n" |
| " if (proto === Object.prototype)\n" |
| " return B.PlainJavaScriptObject_methods;\n" |
| " if (typeof \$constructor == \"function\") {\n" |
| " t1 = \$._JS_INTEROP_INTERCEPTOR_TAG;\n" |
| " if (t1 == null)\n" |
| " t1 = \$._JS_INTEROP_INTERCEPTOR_TAG = init.getIsolateTag(\"_\$dart_js\");\n" |
| " Object.defineProperty(\$constructor, t1, {value: B.UnknownJavaScriptObject_methods, enumerable: false, writable: true, configurable: true});\n" |
| " return B.UnknownJavaScriptObject_methods;\n" |
| " }\n" |
| " return B.UnknownJavaScriptObject_methods;\n" |
| " },\n" |
| " JSArray_JSArray\$fixed(\$length, \$E) {\n" |
| " if (\$length < 0 || \$length > 4294967295)\n" |
| " throw A.wrapException(A.RangeError\$range(\$length, 0, 4294967295, \"length\", null));\n" |
| " return J.JSArray_JSArray\$markFixed(new Array(\$length), \$E);\n" |
| " },\n" |
| " JSArray_JSArray\$growable(\$length, \$E) {\n" |
| " if (\$length < 0)\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Length must be a non-negative integer: \" + \$length, null));\n" |
| " return A._setArrayType(new Array(\$length), \$E._eval\$1(\"JSArray<0>\"));\n" |
| " },\n" |
| " JSArray_JSArray\$allocateGrowable(\$length, \$E) {\n" |
| " if (\$length < 0)\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Length must be a non-negative integer: \" + \$length, null));\n" |
| " return A._setArrayType(new Array(\$length), \$E._eval\$1(\"JSArray<0>\"));\n" |
| " },\n" |
| " JSArray_JSArray\$markFixed(allocation, \$E) {\n" |
| " var t1 = A._setArrayType(allocation, \$E._eval\$1(\"JSArray<0>\"));\n" |
| " t1.\$flags = 1;\n" |
| " return t1;\n" |
| " },\n" |
| " JSArray__compareAny(a, b) {\n" |
| " var t1 = type\$.Comparable_dynamic;\n" |
| " return J.compareTo\$1\$ns(t1._as(a), t1._as(b));\n" |
| " },\n" |
| " getInterceptor\$(receiver) {\n" |
| " if (typeof receiver == \"number\") {\n" |
| " if (Math.floor(receiver) == receiver)\n" |
| " return J.JSInt.prototype;\n" |
| " return J.JSNumNotInt.prototype;\n" |
| " }\n" |
| " if (typeof receiver == \"string\")\n" |
| " return J.JSString.prototype;\n" |
| " if (receiver == null)\n" |
| " return J.JSNull.prototype;\n" |
| " if (typeof receiver == \"boolean\")\n" |
| " return J.JSBool.prototype;\n" |
| " if (Array.isArray(receiver))\n" |
| " return J.JSArray.prototype;\n" |
| " if (typeof receiver != \"object\") {\n" |
| " if (typeof receiver == \"function\")\n" |
| " return J.JavaScriptFunction.prototype;\n" |
| " if (typeof receiver == \"symbol\")\n" |
| " return J.JavaScriptSymbol.prototype;\n" |
| " if (typeof receiver == \"bigint\")\n" |
| " return J.JavaScriptBigInt.prototype;\n" |
| " return receiver;\n" |
| " }\n" |
| " if (receiver instanceof A.Object)\n" |
| " return receiver;\n" |
| " return J.getNativeInterceptor(receiver);\n" |
| " },\n" |
| " getInterceptor\$asx(receiver) {\n" |
| " if (typeof receiver == \"string\")\n" |
| " return J.JSString.prototype;\n" |
| " if (receiver == null)\n" |
| " return receiver;\n" |
| " if (Array.isArray(receiver))\n" |
| " return J.JSArray.prototype;\n" |
| " if (typeof receiver != \"object\") {\n" |
| " if (typeof receiver == \"function\")\n" |
| " return J.JavaScriptFunction.prototype;\n" |
| " if (typeof receiver == \"symbol\")\n" |
| " return J.JavaScriptSymbol.prototype;\n" |
| " if (typeof receiver == \"bigint\")\n" |
| " return J.JavaScriptBigInt.prototype;\n" |
| " return receiver;\n" |
| " }\n" |
| " if (receiver instanceof A.Object)\n" |
| " return receiver;\n" |
| " return J.getNativeInterceptor(receiver);\n" |
| " },\n" |
| " getInterceptor\$ax(receiver) {\n" |
| " if (receiver == null)\n" |
| " return receiver;\n" |
| " if (Array.isArray(receiver))\n" |
| " return J.JSArray.prototype;\n" |
| " if (typeof receiver != \"object\") {\n" |
| " if (typeof receiver == \"function\")\n" |
| " return J.JavaScriptFunction.prototype;\n" |
| " if (typeof receiver == \"symbol\")\n" |
| " return J.JavaScriptSymbol.prototype;\n" |
| " if (typeof receiver == \"bigint\")\n" |
| " return J.JavaScriptBigInt.prototype;\n" |
| " return receiver;\n" |
| " }\n" |
| " if (receiver instanceof A.Object)\n" |
| " return receiver;\n" |
| " return J.getNativeInterceptor(receiver);\n" |
| " },\n" |
| " getInterceptor\$ns(receiver) {\n" |
| " if (typeof receiver == \"number\")\n" |
| " return J.JSNumber.prototype;\n" |
| " if (typeof receiver == \"string\")\n" |
| " return J.JSString.prototype;\n" |
| " if (receiver == null)\n" |
| " return receiver;\n" |
| " if (!(receiver instanceof A.Object))\n" |
| " return J.UnknownJavaScriptObject.prototype;\n" |
| " return receiver;\n" |
| " },\n" |
| " getInterceptor\$s(receiver) {\n" |
| " if (typeof receiver == \"string\")\n" |
| " return J.JSString.prototype;\n" |
| " if (receiver == null)\n" |
| " return receiver;\n" |
| " if (!(receiver instanceof A.Object))\n" |
| " return J.UnknownJavaScriptObject.prototype;\n" |
| " return receiver;\n" |
| " },\n" |
| " getInterceptor\$x(receiver) {\n" |
| " if (receiver == null)\n" |
| " return receiver;\n" |
| " if (typeof receiver != \"object\") {\n" |
| " if (typeof receiver == \"function\")\n" |
| " return J.JavaScriptFunction.prototype;\n" |
| " if (typeof receiver == \"symbol\")\n" |
| " return J.JavaScriptSymbol.prototype;\n" |
| " if (typeof receiver == \"bigint\")\n" |
| " return J.JavaScriptBigInt.prototype;\n" |
| " return receiver;\n" |
| " }\n" |
| " if (receiver instanceof A.Object)\n" |
| " return receiver;\n" |
| " return J.getNativeInterceptor(receiver);\n" |
| " },\n" |
| " set\$length\$asx(receiver, value) {\n" |
| " return J.getInterceptor\$asx(receiver).set\$length(receiver, value);\n" |
| " },\n" |
| " get\$first\$ax(receiver) {\n" |
| " return J.getInterceptor\$ax(receiver).get\$first(receiver);\n" |
| " },\n" |
| " get\$hashCode\$(receiver) {\n" |
| " return J.getInterceptor\$(receiver).get\$hashCode(receiver);\n" |
| " },\n" |
| " get\$isEmpty\$asx(receiver) {\n" |
| " return J.getInterceptor\$asx(receiver).get\$isEmpty(receiver);\n" |
| " },\n" |
| " get\$isNotEmpty\$asx(receiver) {\n" |
| " return J.getInterceptor\$asx(receiver).get\$isNotEmpty(receiver);\n" |
| " },\n" |
| " get\$iterator\$ax(receiver) {\n" |
| " return J.getInterceptor\$ax(receiver).get\$iterator(receiver);\n" |
| " },\n" |
| " get\$length\$asx(receiver) {\n" |
| " return J.getInterceptor\$asx(receiver).get\$length(receiver);\n" |
| " },\n" |
| " get\$runtimeType\$(receiver) {\n" |
| " return J.getInterceptor\$(receiver).get\$runtimeType(receiver);\n" |
| " },\n" |
| " \$eq\$(receiver, a0) {\n" |
| " if (receiver == null)\n" |
| " return a0 == null;\n" |
| " if (typeof receiver != \"object\")\n" |
| " return a0 != null && receiver === a0;\n" |
| " return J.getInterceptor\$(receiver).\$eq(receiver, a0);\n" |
| " },\n" |
| " \$index\$asx(receiver, a0) {\n" |
| " if (typeof a0 === \"number\")\n" |
| " if (Array.isArray(receiver) || typeof receiver == \"string\" || A.isJsIndexable(receiver, receiver[init.dispatchPropertyName]))\n" |
| " if (a0 >>> 0 === a0 && a0 < receiver.length)\n" |
| " return receiver[a0];\n" |
| " return J.getInterceptor\$asx(receiver).\$index(receiver, a0);\n" |
| " },\n" |
| " \$indexSet\$ax(receiver, a0, a1) {\n" |
| " return J.getInterceptor\$ax(receiver).\$indexSet(receiver, a0, a1);\n" |
| " },\n" |
| " add\$1\$ax(receiver, a0) {\n" |
| " return J.getInterceptor\$ax(receiver).add\$1(receiver, a0);\n" |
| " },\n" |
| " allMatches\$1\$s(receiver, a0) {\n" |
| " return J.getInterceptor\$s(receiver).allMatches\$1(receiver, a0);\n" |
| " },\n" |
| " allMatches\$2\$s(receiver, a0, a1) {\n" |
| " return J.getInterceptor\$s(receiver).allMatches\$2(receiver, a0, a1);\n" |
| " },\n" |
| " asUint8List\$2\$x(receiver, a0, a1) {\n" |
| " return J.getInterceptor\$x(receiver).asUint8List\$2(receiver, a0, a1);\n" |
| " },\n" |
| " cast\$1\$0\$ax(receiver, \$T1) {\n" |
| " return J.getInterceptor\$ax(receiver).cast\$1\$0(receiver, \$T1);\n" |
| " },\n" |
| " compareTo\$1\$ns(receiver, a0) {\n" |
| " return J.getInterceptor\$ns(receiver).compareTo\$1(receiver, a0);\n" |
| " },\n" |
| " contains\$1\$asx(receiver, a0) {\n" |
| " return J.getInterceptor\$asx(receiver).contains\$1(receiver, a0);\n" |
| " },\n" |
| " elementAt\$1\$ax(receiver, a0) {\n" |
| " return J.getInterceptor\$ax(receiver).elementAt\$1(receiver, a0);\n" |
| " },\n" |
| " fillRange\$3\$ax(receiver, a0, a1, a2) {\n" |
| " return J.getInterceptor\$ax(receiver).fillRange\$3(receiver, a0, a1, a2);\n" |
| " },\n" |
| " map\$1\$1\$ax(receiver, a0, \$T1) {\n" |
| " return J.getInterceptor\$ax(receiver).map\$1\$1(receiver, a0, \$T1);\n" |
| " },\n" |
| " matchAsPrefix\$2\$s(receiver, a0, a1) {\n" |
| " return J.getInterceptor\$s(receiver).matchAsPrefix\$2(receiver, a0, a1);\n" |
| " },\n" |
| " skip\$1\$ax(receiver, a0) {\n" |
| " return J.getInterceptor\$ax(receiver).skip\$1(receiver, a0);\n" |
| " },\n" |
| " sort\$1\$ax(receiver, a0) {\n" |
| " return J.getInterceptor\$ax(receiver).sort\$1(receiver, a0);\n" |
| " },\n" |
| " take\$1\$ax(receiver, a0) {\n" |
| " return J.getInterceptor\$ax(receiver).take\$1(receiver, a0);\n" |
| " },\n" |
| " toList\$0\$ax(receiver) {\n" |
| " return J.getInterceptor\$ax(receiver).toList\$0(receiver);\n" |
| " },\n" |
| " toString\$0\$(receiver) {\n" |
| " return J.getInterceptor\$(receiver).toString\$0(receiver);\n" |
| " },\n" |
| " Interceptor: function Interceptor() {\n" |
| " },\n" |
| " JSBool: function JSBool() {\n" |
| " },\n" |
| " JSNull: function JSNull() {\n" |
| " },\n" |
| " JavaScriptObject: function JavaScriptObject() {\n" |
| " },\n" |
| " LegacyJavaScriptObject: function LegacyJavaScriptObject() {\n" |
| " },\n" |
| " PlainJavaScriptObject: function PlainJavaScriptObject() {\n" |
| " },\n" |
| " UnknownJavaScriptObject: function UnknownJavaScriptObject() {\n" |
| " },\n" |
| " JavaScriptFunction: function JavaScriptFunction() {\n" |
| " },\n" |
| " JavaScriptBigInt: function JavaScriptBigInt() {\n" |
| " },\n" |
| " JavaScriptSymbol: function JavaScriptSymbol() {\n" |
| " },\n" |
| " JSArray: function JSArray(t0) {\n" |
| " this.\$ti = t0;\n" |
| " },\n" |
| " JSArraySafeToStringHook: function JSArraySafeToStringHook() {\n" |
| " },\n" |
| " JSUnmodifiableArray: function JSUnmodifiableArray(t0) {\n" |
| " this.\$ti = t0;\n" |
| " },\n" |
| " ArrayIterator: function ArrayIterator(t0, t1, t2) {\n" |
| " var _ = this;\n" |
| " _._iterable = t0;\n" |
| " _._length = t1;\n" |
| " _._index = 0;\n" |
| " _._current = null;\n" |
| " _.\$ti = t2;\n" |
| " },\n" |
| " JSNumber: function JSNumber() {\n" |
| " },\n" |
| " JSInt: function JSInt() {\n" |
| " },\n" |
| " JSNumNotInt: function JSNumNotInt() {\n" |
| " },\n" |
| " JSString: function JSString() {\n" |
| " }\n" |
| " },\n" |
| " A = {JS_CONST: function JS_CONST() {\n" |
| " },\n" |
| " CastIterable_CastIterable(source, \$S, \$T) {\n" |
| " if (type\$.EfficientLengthIterable_dynamic._is(source))\n" |
| " return new A._EfficientLengthCastIterable(source, \$S._eval\$1(\"@<0>\")._bind\$1(\$T)._eval\$1(\"_EfficientLengthCastIterable<1,2>\"));\n" |
| " return new A.CastIterable(source, \$S._eval\$1(\"@<0>\")._bind\$1(\$T)._eval\$1(\"CastIterable<1,2>\"));\n" |
| " },\n" |
| " LateError\$fieldADI(fieldName) {\n" |
| " return new A.LateError(\"Field '\" + fieldName + \"' has been assigned during initialization.\");\n" |
| " },\n" |
| " LateError\$fieldNI(fieldName) {\n" |
| " return new A.LateError(\"Field '\" + fieldName + \"' has not been initialized.\");\n" |
| " },\n" |
| " hexDigitValue(char) {\n" |
| " var letter,\n" |
| " digit = char ^ 48;\n" |
| " if (digit <= 9)\n" |
| " return digit;\n" |
| " letter = char | 32;\n" |
| " if (97 <= letter && letter <= 102)\n" |
| " return letter - 87;\n" |
| " return -1;\n" |
| " },\n" |
| " SystemHash_combine(hash, value) {\n" |
| " hash = hash + value & 536870911;\n" |
| " hash = hash + ((hash & 524287) << 10) & 536870911;\n" |
| " return hash ^ hash >>> 6;\n" |
| " },\n" |
| " SystemHash_finish(hash) {\n" |
| " hash = hash + ((hash & 67108863) << 3) & 536870911;\n" |
| " hash ^= hash >>> 11;\n" |
| " return hash + ((hash & 16383) << 15) & 536870911;\n" |
| " },\n" |
| " checkNotNullable(value, \$name, \$T) {\n" |
| " return value;\n" |
| " },\n" |
| " isToStringVisiting(object) {\n" |
| " var t1, i;\n" |
| " for (t1 = \$._toStringVisiting.length, i = 0; i < t1; ++i)\n" |
| " if (object === \$._toStringVisiting[i])\n" |
| " return true;\n" |
| " return false;\n" |
| " },\n" |
| " SubListIterable\$(_iterable, _start, _endOrLength, \$E) {\n" |
| " A.RangeError_checkNotNegative(_start, \"start\");\n" |
| " if (_endOrLength != null) {\n" |
| " A.RangeError_checkNotNegative(_endOrLength, \"end\");\n" |
| " if (_start > _endOrLength)\n" |
| " A.throwExpression(A.RangeError\$range(_start, 0, _endOrLength, \"start\", null));\n" |
| " }\n" |
| " return new A.SubListIterable(_iterable, _start, _endOrLength, \$E._eval\$1(\"SubListIterable<0>\"));\n" |
| " },\n" |
| " MappedIterable_MappedIterable(iterable, \$function, \$S, \$T) {\n" |
| " if (type\$.EfficientLengthIterable_dynamic._is(iterable))\n" |
| " return new A.EfficientLengthMappedIterable(iterable, \$function, \$S._eval\$1(\"@<0>\")._bind\$1(\$T)._eval\$1(\"EfficientLengthMappedIterable<1,2>\"));\n" |
| " return new A.MappedIterable(iterable, \$function, \$S._eval\$1(\"@<0>\")._bind\$1(\$T)._eval\$1(\"MappedIterable<1,2>\"));\n" |
| " },\n" |
| " TakeIterable_TakeIterable(iterable, takeCount, \$E) {\n" |
| " var _s9_ = \"takeCount\";\n" |
| " A.ArgumentError_checkNotNull(takeCount, _s9_, type\$.int);\n" |
| " A.RangeError_checkNotNegative(takeCount, _s9_);\n" |
| " if (type\$.EfficientLengthIterable_dynamic._is(iterable))\n" |
| " return new A.EfficientLengthTakeIterable(iterable, takeCount, \$E._eval\$1(\"EfficientLengthTakeIterable<0>\"));\n" |
| " return new A.TakeIterable(iterable, takeCount, \$E._eval\$1(\"TakeIterable<0>\"));\n" |
| " },\n" |
| " SkipIterable_SkipIterable(iterable, count, \$E) {\n" |
| " var _s5_ = \"count\";\n" |
| " if (type\$.EfficientLengthIterable_dynamic._is(iterable)) {\n" |
| " A.ArgumentError_checkNotNull(count, _s5_, type\$.int);\n" |
| " A.RangeError_checkNotNegative(count, _s5_);\n" |
| " return new A.EfficientLengthSkipIterable(iterable, count, \$E._eval\$1(\"EfficientLengthSkipIterable<0>\"));\n" |
| " }\n" |
| " A.ArgumentError_checkNotNull(count, _s5_, type\$.int);\n" |
| " A.RangeError_checkNotNegative(count, _s5_);\n" |
| " return new A.SkipIterable(iterable, count, \$E._eval\$1(\"SkipIterable<0>\"));\n" |
| " },\n" |
| " IterableElementError_noElement() {\n" |
| " return new A.StateError(\"No element\");\n" |
| " },\n" |
| " IterableElementError_tooFew() {\n" |
| " return new A.StateError(\"Too few elements\");\n" |
| " },\n" |
| " Sort__doSort(a, left, right, compare, \$E) {\n" |
| " if (right - left <= 32)\n" |
| " A.Sort__insertionSort(a, left, right, compare, \$E);\n" |
| " else\n" |
| " A.Sort__dualPivotQuicksort(a, left, right, compare, \$E);\n" |
| " },\n" |
| " Sort__insertionSort(a, left, right, compare, \$E) {\n" |
| " var i, t1, el, j, t2, j0;\n" |
| " for (i = left + 1, t1 = J.getInterceptor\$asx(a); i <= right; ++i) {\n" |
| " el = t1.\$index(a, i);\n" |
| " j = i;\n" |
| " for (;;) {\n" |
| " if (j > left) {\n" |
| " t2 = compare.call\$2(t1.\$index(a, j - 1), el);\n" |
| " if (typeof t2 !== \"number\")\n" |
| " return t2.\$gt();\n" |
| " t2 = t2 > 0;\n" |
| " } else\n" |
| " t2 = false;\n" |
| " if (!t2)\n" |
| " break;\n" |
| " j0 = j - 1;\n" |
| " t1.\$indexSet(a, j, t1.\$index(a, j0));\n" |
| " j = j0;\n" |
| " }\n" |
| " t1.\$indexSet(a, j, el);\n" |
| " }\n" |
| " },\n" |
| " Sort__dualPivotQuicksort(a, left, right, compare, \$E) {\n" |
| " var t0, less, great, pivots_are_equal, k, ak, comp, great0, less0,\n" |
| " sixth = B.JSInt_methods._tdivFast\$1(right - left + 1, 6),\n" |
| " index1 = left + sixth,\n" |
| " index5 = right - sixth,\n" |
| " index3 = B.JSInt_methods._tdivFast\$1(left + right, 2),\n" |
| " index2 = index3 - sixth,\n" |
| " index4 = index3 + sixth,\n" |
| " t1 = J.getInterceptor\$asx(a),\n" |
| " el1 = t1.\$index(a, index1),\n" |
| " el2 = t1.\$index(a, index2),\n" |
| " el3 = t1.\$index(a, index3),\n" |
| " el4 = t1.\$index(a, index4),\n" |
| " el5 = t1.\$index(a, index5),\n" |
| " t2 = compare.call\$2(el1, el2);\n" |
| " if (typeof t2 !== \"number\")\n" |
| " return t2.\$gt();\n" |
| " if (t2 > 0) {\n" |
| " t0 = el2;\n" |
| " el2 = el1;\n" |
| " el1 = t0;\n" |
| " }\n" |
| " t2 = compare.call\$2(el4, el5);\n" |
| " if (typeof t2 !== \"number\")\n" |
| " return t2.\$gt();\n" |
| " if (t2 > 0) {\n" |
| " t0 = el5;\n" |
| " el5 = el4;\n" |
| " el4 = t0;\n" |
| " }\n" |
| " t2 = compare.call\$2(el1, el3);\n" |
| " if (typeof t2 !== \"number\")\n" |
| " return t2.\$gt();\n" |
| " if (t2 > 0) {\n" |
| " t0 = el3;\n" |
| " el3 = el1;\n" |
| " el1 = t0;\n" |
| " }\n" |
| " t2 = compare.call\$2(el2, el3);\n" |
| " if (typeof t2 !== \"number\")\n" |
| " return t2.\$gt();\n" |
| " if (t2 > 0) {\n" |
| " t0 = el3;\n" |
| " el3 = el2;\n" |
| " el2 = t0;\n" |
| " }\n" |
| " t2 = compare.call\$2(el1, el4);\n" |
| " if (typeof t2 !== \"number\")\n" |
| " return t2.\$gt();\n" |
| " if (t2 > 0) {\n" |
| " t0 = el4;\n" |
| " el4 = el1;\n" |
| " el1 = t0;\n" |
| " }\n" |
| " t2 = compare.call\$2(el3, el4);\n" |
| " if (typeof t2 !== \"number\")\n" |
| " return t2.\$gt();\n" |
| " if (t2 > 0) {\n" |
| " t0 = el4;\n" |
| " el4 = el3;\n" |
| " el3 = t0;\n" |
| " }\n" |
| " t2 = compare.call\$2(el2, el5);\n" |
| " if (typeof t2 !== \"number\")\n" |
| " return t2.\$gt();\n" |
| " if (t2 > 0) {\n" |
| " t0 = el5;\n" |
| " el5 = el2;\n" |
| " el2 = t0;\n" |
| " }\n" |
| " t2 = compare.call\$2(el2, el3);\n" |
| " if (typeof t2 !== \"number\")\n" |
| " return t2.\$gt();\n" |
| " if (t2 > 0) {\n" |
| " t0 = el3;\n" |
| " el3 = el2;\n" |
| " el2 = t0;\n" |
| " }\n" |
| " t2 = compare.call\$2(el4, el5);\n" |
| " if (typeof t2 !== \"number\")\n" |
| " return t2.\$gt();\n" |
| " if (t2 > 0) {\n" |
| " t0 = el5;\n" |
| " el5 = el4;\n" |
| " el4 = t0;\n" |
| " }\n" |
| " t1.\$indexSet(a, index1, el1);\n" |
| " t1.\$indexSet(a, index3, el3);\n" |
| " t1.\$indexSet(a, index5, el5);\n" |
| " t1.\$indexSet(a, index2, t1.\$index(a, left));\n" |
| " t1.\$indexSet(a, index4, t1.\$index(a, right));\n" |
| " less = left + 1;\n" |
| " great = right - 1;\n" |
| " pivots_are_equal = J.\$eq\$(compare.call\$2(el2, el4), 0);\n" |
| " if (pivots_are_equal)\n" |
| " for (k = less; k <= great; ++k) {\n" |
| " ak = t1.\$index(a, k);\n" |
| " comp = compare.call\$2(ak, el2);\n" |
| " if (comp === 0)\n" |
| " continue;\n" |
| " if (comp < 0) {\n" |
| " if (k !== less) {\n" |
| " t1.\$indexSet(a, k, t1.\$index(a, less));\n" |
| " t1.\$indexSet(a, less, ak);\n" |
| " }\n" |
| " ++less;\n" |
| " } else\n" |
| " for (;;) {\n" |
| " comp = compare.call\$2(t1.\$index(a, great), el2);\n" |
| " if (comp > 0) {\n" |
| " --great;\n" |
| " continue;\n" |
| " } else {\n" |
| " great0 = great - 1;\n" |
| " if (comp < 0) {\n" |
| " t1.\$indexSet(a, k, t1.\$index(a, less));\n" |
| " less0 = less + 1;\n" |
| " t1.\$indexSet(a, less, t1.\$index(a, great));\n" |
| " t1.\$indexSet(a, great, ak);\n" |
| " great = great0;\n" |
| " less = less0;\n" |
| " break;\n" |
| " } else {\n" |
| " t1.\$indexSet(a, k, t1.\$index(a, great));\n" |
| " t1.\$indexSet(a, great, ak);\n" |
| " great = great0;\n" |
| " break;\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " else\n" |
| " for (k = less; k <= great; ++k) {\n" |
| " ak = t1.\$index(a, k);\n" |
| " if (compare.call\$2(ak, el2) < 0) {\n" |
| " if (k !== less) {\n" |
| " t1.\$indexSet(a, k, t1.\$index(a, less));\n" |
| " t1.\$indexSet(a, less, ak);\n" |
| " }\n" |
| " ++less;\n" |
| " } else if (compare.call\$2(ak, el4) > 0)\n" |
| " for (;;)\n" |
| " if (compare.call\$2(t1.\$index(a, great), el4) > 0) {\n" |
| " --great;\n" |
| " if (great < k)\n" |
| " break;\n" |
| " continue;\n" |
| " } else {\n" |
| " great0 = great - 1;\n" |
| " if (compare.call\$2(t1.\$index(a, great), el2) < 0) {\n" |
| " t1.\$indexSet(a, k, t1.\$index(a, less));\n" |
| " less0 = less + 1;\n" |
| " t1.\$indexSet(a, less, t1.\$index(a, great));\n" |
| " t1.\$indexSet(a, great, ak);\n" |
| " less = less0;\n" |
| " } else {\n" |
| " t1.\$indexSet(a, k, t1.\$index(a, great));\n" |
| " t1.\$indexSet(a, great, ak);\n" |
| " }\n" |
| " great = great0;\n" |
| " break;\n" |
| " }\n" |
| " }\n" |
| " t2 = less - 1;\n" |
| " t1.\$indexSet(a, left, t1.\$index(a, t2));\n" |
| " t1.\$indexSet(a, t2, el2);\n" |
| " t2 = great + 1;\n" |
| " t1.\$indexSet(a, right, t1.\$index(a, t2));\n" |
| " t1.\$indexSet(a, t2, el4);\n" |
| " A.Sort__doSort(a, left, less - 2, compare, \$E);\n" |
| " A.Sort__doSort(a, great + 2, right, compare, \$E);\n" |
| " if (pivots_are_equal)\n" |
| " return;\n" |
| " if (less < index1 && great > index5) {\n" |
| " while (J.\$eq\$(compare.call\$2(t1.\$index(a, less), el2), 0))\n" |
| " ++less;\n" |
| " while (J.\$eq\$(compare.call\$2(t1.\$index(a, great), el4), 0))\n" |
| " --great;\n" |
| " for (k = less; k <= great; ++k) {\n" |
| " ak = t1.\$index(a, k);\n" |
| " if (compare.call\$2(ak, el2) === 0) {\n" |
| " if (k !== less) {\n" |
| " t1.\$indexSet(a, k, t1.\$index(a, less));\n" |
| " t1.\$indexSet(a, less, ak);\n" |
| " }\n" |
| " ++less;\n" |
| " } else if (compare.call\$2(ak, el4) === 0)\n" |
| " for (;;)\n" |
| " if (compare.call\$2(t1.\$index(a, great), el4) === 0) {\n" |
| " --great;\n" |
| " if (great < k)\n" |
| " break;\n" |
| " continue;\n" |
| " } else {\n" |
| " great0 = great - 1;\n" |
| " if (compare.call\$2(t1.\$index(a, great), el2) < 0) {\n" |
| " t1.\$indexSet(a, k, t1.\$index(a, less));\n" |
| " less0 = less + 1;\n" |
| " t1.\$indexSet(a, less, t1.\$index(a, great));\n" |
| " t1.\$indexSet(a, great, ak);\n" |
| " less = less0;\n" |
| " } else {\n" |
| " t1.\$indexSet(a, k, t1.\$index(a, great));\n" |
| " t1.\$indexSet(a, great, ak);\n" |
| " }\n" |
| " great = great0;\n" |
| " break;\n" |
| " }\n" |
| " }\n" |
| " A.Sort__doSort(a, less, great, compare, \$E);\n" |
| " } else\n" |
| " A.Sort__doSort(a, less, great, compare, \$E);\n" |
| " },\n" |
| " CastStream: function CastStream(t0, t1) {\n" |
| " this.__internal\$_source = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " CastStreamSubscription: function CastStreamSubscription(t0, t1, t2) {\n" |
| " var _ = this;\n" |
| " _.__internal\$_source = t0;\n" |
| " _.__internal\$_zone = t1;\n" |
| " _.__internal\$_handleError = _.__internal\$_handleData = null;\n" |
| " _.\$ti = t2;\n" |
| " },\n" |
| " _CastIterableBase: function _CastIterableBase() {\n" |
| " },\n" |
| " CastIterator: function CastIterator(t0, t1) {\n" |
| " this.__internal\$_source = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " CastIterable: function CastIterable(t0, t1) {\n" |
| " this.__internal\$_source = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " _EfficientLengthCastIterable: function _EfficientLengthCastIterable(t0, t1) {\n" |
| " this.__internal\$_source = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " _CastListBase: function _CastListBase() {\n" |
| " },\n" |
| " _CastListBase_sort_closure: function _CastListBase_sort_closure(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.compare = t1;\n" |
| " },\n" |
| " CastList: function CastList(t0, t1) {\n" |
| " this.__internal\$_source = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " CastMap: function CastMap(t0, t1) {\n" |
| " this.__internal\$_source = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " CastMap_forEach_closure: function CastMap_forEach_closure(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.f = t1;\n" |
| " },\n" |
| " LateError: function LateError(t0) {\n" |
| " this._message = t0;\n" |
| " },\n" |
| " CodeUnits: function CodeUnits(t0) {\n" |
| " this.__internal\$_string = t0;\n" |
| " },\n" |
| " nullFuture_closure: function nullFuture_closure() {\n" |
| " },\n" |
| " SentinelValue: function SentinelValue() {\n" |
| " },\n" |
| " EfficientLengthIterable: function EfficientLengthIterable() {\n" |
| " },\n" |
| " ListIterable: function ListIterable() {\n" |
| " },\n" |
| " SubListIterable: function SubListIterable(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.__internal\$_iterable = t0;\n" |
| " _._start = t1;\n" |
| " _._endOrLength = t2;\n" |
| " _.\$ti = t3;\n" |
| " },\n" |
| " ListIterator: function ListIterator(t0, t1, t2) {\n" |
| " var _ = this;\n" |
| " _.__internal\$_iterable = t0;\n" |
| " _.__internal\$_length = t1;\n" |
| " _.__internal\$_index = 0;\n" |
| " _.__internal\$_current = null;\n" |
| " _.\$ti = t2;\n" |
| " },\n" |
| " MappedIterable: function MappedIterable(t0, t1, t2) {\n" |
| " this.__internal\$_iterable = t0;\n" |
| " this._f = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " EfficientLengthMappedIterable: function EfficientLengthMappedIterable(t0, t1, t2) {\n" |
| " this.__internal\$_iterable = t0;\n" |
| " this._f = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " MappedIterator: function MappedIterator(t0, t1, t2) {\n" |
| " var _ = this;\n" |
| " _.__internal\$_current = null;\n" |
| " _._iterator = t0;\n" |
| " _._f = t1;\n" |
| " _.\$ti = t2;\n" |
| " },\n" |
| " MappedListIterable: function MappedListIterable(t0, t1, t2) {\n" |
| " this.__internal\$_source = t0;\n" |
| " this._f = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " WhereIterable: function WhereIterable(t0, t1, t2) {\n" |
| " this.__internal\$_iterable = t0;\n" |
| " this._f = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " WhereIterator: function WhereIterator(t0, t1, t2) {\n" |
| " this._iterator = t0;\n" |
| " this._f = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " ExpandIterable: function ExpandIterable(t0, t1, t2) {\n" |
| " this.__internal\$_iterable = t0;\n" |
| " this._f = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " ExpandIterator: function ExpandIterator(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _._iterator = t0;\n" |
| " _._f = t1;\n" |
| " _._currentExpansion = t2;\n" |
| " _.__internal\$_current = null;\n" |
| " _.\$ti = t3;\n" |
| " },\n" |
| " TakeIterable: function TakeIterable(t0, t1, t2) {\n" |
| " this.__internal\$_iterable = t0;\n" |
| " this._takeCount = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " EfficientLengthTakeIterable: function EfficientLengthTakeIterable(t0, t1, t2) {\n" |
| " this.__internal\$_iterable = t0;\n" |
| " this._takeCount = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " TakeIterator: function TakeIterator(t0, t1, t2) {\n" |
| " this._iterator = t0;\n" |
| " this._remaining = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " SkipIterable: function SkipIterable(t0, t1, t2) {\n" |
| " this.__internal\$_iterable = t0;\n" |
| " this._skipCount = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " EfficientLengthSkipIterable: function EfficientLengthSkipIterable(t0, t1, t2) {\n" |
| " this.__internal\$_iterable = t0;\n" |
| " this._skipCount = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " SkipIterator: function SkipIterator(t0, t1, t2) {\n" |
| " this._iterator = t0;\n" |
| " this._skipCount = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " EmptyIterable: function EmptyIterable(t0) {\n" |
| " this.\$ti = t0;\n" |
| " },\n" |
| " EmptyIterator: function EmptyIterator(t0) {\n" |
| " this.\$ti = t0;\n" |
| " },\n" |
| " WhereTypeIterable: function WhereTypeIterable(t0, t1) {\n" |
| " this.__internal\$_source = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " WhereTypeIterator: function WhereTypeIterator(t0, t1) {\n" |
| " this.__internal\$_source = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " FixedLengthListMixin: function FixedLengthListMixin() {\n" |
| " },\n" |
| " UnmodifiableListMixin: function UnmodifiableListMixin() {\n" |
| " },\n" |
| " UnmodifiableListBase: function UnmodifiableListBase() {\n" |
| " },\n" |
| " ReversedListIterable: function ReversedListIterable(t0, t1) {\n" |
| " this.__internal\$_source = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " __CastListBase__CastIterableBase_ListMixin: function __CastListBase__CastIterableBase_ListMixin() {\n" |
| " },\n" |
| " ConstantMap__throwUnmodifiable() {\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Cannot modify unmodifiable Map\"));\n" |
| " },\n" |
| " unminifyOrTag(rawClassName) {\n" |
| " var preserved = init.mangledGlobalNames[rawClassName];\n" |
| " if (preserved != null)\n" |
| " return preserved;\n" |
| " return rawClassName;\n" |
| " },\n" |
| " isJsIndexable(object, record) {\n" |
| " var result;\n" |
| " if (record != null) {\n" |
| " result = record.x;\n" |
| " if (result != null)\n" |
| " return result;\n" |
| " }\n" |
| " return type\$.JavaScriptIndexingBehavior_dynamic._is(object);\n" |
| " },\n" |
| " S(value) {\n" |
| " var result;\n" |
| " if (typeof value == \"string\")\n" |
| " return value;\n" |
| " if (typeof value == \"number\") {\n" |
| " if (value !== 0)\n" |
| " return \"\" + value;\n" |
| " } else if (true === value)\n" |
| " return \"true\";\n" |
| " else if (false === value)\n" |
| " return \"false\";\n" |
| " else if (value == null)\n" |
| " return \"null\";\n" |
| " result = J.toString\$0\$(value);\n" |
| " return result;\n" |
| " },\n" |
| " Primitives_objectHashCode(object) {\n" |
| " var hash,\n" |
| " property = \$.Primitives__identityHashCodeProperty;\n" |
| " if (property == null)\n" |
| " property = \$.Primitives__identityHashCodeProperty = Symbol(\"identityHashCode\");\n" |
| " hash = object[property];\n" |
| " if (hash == null) {\n" |
| " hash = Math.random() * 0x3fffffff | 0;\n" |
| " object[property] = hash;\n" |
| " }\n" |
| " return hash;\n" |
| " },\n" |
| " Primitives_parseInt(source, radix) {\n" |
| " var decimalMatch, maxCharCode, digitsPart, t1, i, _null = null,\n" |
| " match = /^\\s*[+-]?((0x[a-f0-9]+)|(\\d+)|([a-z0-9]+))\\s*\$/i.exec(source);\n" |
| " if (match == null)\n" |
| " return _null;\n" |
| " if (3 >= match.length)\n" |
| " return A.ioore(match, 3);\n" |
| " decimalMatch = match[3];\n" |
| " if (radix == null) {\n" |
| " if (decimalMatch != null)\n" |
| " return parseInt(source, 10);\n" |
| " if (match[2] != null)\n" |
| " return parseInt(source, 16);\n" |
| " return _null;\n" |
| " }\n" |
| " if (radix < 2 || radix > 36)\n" |
| " throw A.wrapException(A.RangeError\$range(radix, 2, 36, \"radix\", _null));\n" |
| " if (radix === 10 && decimalMatch != null)\n" |
| " return parseInt(source, 10);\n" |
| " if (radix < 10 || decimalMatch == null) {\n" |
| " maxCharCode = radix <= 10 ? 47 + radix : 86 + radix;\n" |
| " digitsPart = match[1];\n" |
| " for (t1 = digitsPart.length, i = 0; i < t1; ++i)\n" |
| " if ((digitsPart.charCodeAt(i) | 32) > maxCharCode)\n" |
| " return _null;\n" |
| " }\n" |
| " return parseInt(source, radix);\n" |
| " },\n" |
| " Primitives_objectTypeName(object) {\n" |
| " var interceptor, dispatchName, \$constructor, constructorName;\n" |
| " if (object instanceof A.Object)\n" |
| " return A._rtiToString(A.instanceType(object), null);\n" |
| " interceptor = J.getInterceptor\$(object);\n" |
| " if (interceptor === B.Interceptor_methods || interceptor === B.JavaScriptObject_methods || type\$.UnknownJavaScriptObject._is(object)) {\n" |
| " dispatchName = B.C_JS_CONST(object);\n" |
| " if (dispatchName !== \"Object\" && dispatchName !== \"\")\n" |
| " return dispatchName;\n" |
| " \$constructor = object.constructor;\n" |
| " if (typeof \$constructor == \"function\") {\n" |
| " constructorName = \$constructor.name;\n" |
| " if (typeof constructorName == \"string\" && constructorName !== \"Object\" && constructorName !== \"\")\n" |
| " return constructorName;\n" |
| " }\n" |
| " }\n" |
| " return A._rtiToString(A.instanceType(object), null);\n" |
| " },\n" |
| " Primitives_safeToString(object) {\n" |
| " var hooks, i, hookResult;\n" |
| " if (object == null || typeof object == \"number\" || A._isBool(object))\n" |
| " return J.toString\$0\$(object);\n" |
| " if (typeof object == \"string\")\n" |
| " return JSON.stringify(object);\n" |
| " if (object instanceof A.Closure)\n" |
| " return object.toString\$0(0);\n" |
| " if (object instanceof A._Record)\n" |
| " return object._toString\$1(true);\n" |
| " hooks = \$.\$get\$_safeToStringHooks();\n" |
| " for (i = 0; i < 1; ++i) {\n" |
| " hookResult = hooks[i].tryFormat\$1(object);\n" |
| " if (hookResult != null)\n" |
| " return hookResult;\n" |
| " }\n" |
| " return \"Instance of '\" + A.Primitives_objectTypeName(object) + \"'\";\n" |
| " },\n" |
| " Primitives_currentUri() {\n" |
| " if (!!self.location)\n" |
| " return self.location.href;\n" |
| " return null;\n" |
| " },\n" |
| " Primitives__fromCharCodeApply(array) {\n" |
| " var result, i, i0, chunkEnd,\n" |
| " end = array.length;\n" |
| " if (end <= 500)\n" |
| " return String.fromCharCode.apply(null, array);\n" |
| " for (result = \"\", i = 0; i < end; i = i0) {\n" |
| " i0 = i + 500;\n" |
| " chunkEnd = i0 < end ? i0 : end;\n" |
| " result += String.fromCharCode.apply(null, array.slice(i, chunkEnd));\n" |
| " }\n" |
| " return result;\n" |
| " },\n" |
| " Primitives_stringFromCodePoints(codePoints) {\n" |
| " var t1, _i, i,\n" |
| " a = A._setArrayType([], type\$.JSArray_int);\n" |
| " for (t1 = codePoints.length, _i = 0; _i < codePoints.length; codePoints.length === t1 || (0, A.throwConcurrentModificationError)(codePoints), ++_i) {\n" |
| " i = codePoints[_i];\n" |
| " if (!A._isInt(i))\n" |
| " throw A.wrapException(A.argumentErrorValue(i));\n" |
| " if (i <= 65535)\n" |
| " B.JSArray_methods.add\$1(a, i);\n" |
| " else if (i <= 1114111) {\n" |
| " B.JSArray_methods.add\$1(a, 55296 + (B.JSInt_methods._shrOtherPositive\$1(i - 65536, 10) & 1023));\n" |
| " B.JSArray_methods.add\$1(a, 56320 + (i & 1023));\n" |
| " } else\n" |
| " throw A.wrapException(A.argumentErrorValue(i));\n" |
| " }\n" |
| " return A.Primitives__fromCharCodeApply(a);\n" |
| " },\n" |
| " Primitives_stringFromCharCodes(charCodes) {\n" |
| " var t1, _i, i;\n" |
| " for (t1 = charCodes.length, _i = 0; _i < t1; ++_i) {\n" |
| " i = charCodes[_i];\n" |
| " if (!A._isInt(i))\n" |
| " throw A.wrapException(A.argumentErrorValue(i));\n" |
| " if (i < 0)\n" |
| " throw A.wrapException(A.argumentErrorValue(i));\n" |
| " if (i > 65535)\n" |
| " return A.Primitives_stringFromCodePoints(charCodes);\n" |
| " }\n" |
| " return A.Primitives__fromCharCodeApply(charCodes);\n" |
| " },\n" |
| " Primitives_stringFromNativeUint8List(charCodes, start, end) {\n" |
| " var i, result, i0, chunkEnd;\n" |
| " if (end <= 500 && start === 0 && end === charCodes.length)\n" |
| " return String.fromCharCode.apply(null, charCodes);\n" |
| " for (i = start, result = \"\"; i < end; i = i0) {\n" |
| " i0 = i + 500;\n" |
| " chunkEnd = i0 < end ? i0 : end;\n" |
| " result += String.fromCharCode.apply(null, charCodes.subarray(i, chunkEnd));\n" |
| " }\n" |
| " return result;\n" |
| " },\n" |
| " Primitives_stringFromCharCode(charCode) {\n" |
| " var bits;\n" |
| " if (0 <= charCode) {\n" |
| " if (charCode <= 65535)\n" |
| " return String.fromCharCode(charCode);\n" |
| " if (charCode <= 1114111) {\n" |
| " bits = charCode - 65536;\n" |
| " return String.fromCharCode((B.JSInt_methods._shrOtherPositive\$1(bits, 10) | 55296) >>> 0, bits & 1023 | 56320);\n" |
| " }\n" |
| " }\n" |
| " throw A.wrapException(A.RangeError\$range(charCode, 0, 1114111, null, null));\n" |
| " },\n" |
| " Primitives_lazyAsJsDate(receiver) {\n" |
| " if (receiver.date === void 0)\n" |
| " receiver.date = new Date(receiver._value);\n" |
| " return receiver.date;\n" |
| " },\n" |
| " Primitives_getYear(receiver) {\n" |
| " return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCFullYear() + 0 : A.Primitives_lazyAsJsDate(receiver).getFullYear() + 0;\n" |
| " },\n" |
| " Primitives_getMonth(receiver) {\n" |
| " return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCMonth() + 1 : A.Primitives_lazyAsJsDate(receiver).getMonth() + 1;\n" |
| " },\n" |
| " Primitives_getDay(receiver) {\n" |
| " return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCDate() + 0 : A.Primitives_lazyAsJsDate(receiver).getDate() + 0;\n" |
| " },\n" |
| " Primitives_getHours(receiver) {\n" |
| " return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCHours() + 0 : A.Primitives_lazyAsJsDate(receiver).getHours() + 0;\n" |
| " },\n" |
| " Primitives_getMinutes(receiver) {\n" |
| " return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCMinutes() + 0 : A.Primitives_lazyAsJsDate(receiver).getMinutes() + 0;\n" |
| " },\n" |
| " Primitives_getSeconds(receiver) {\n" |
| " return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCSeconds() + 0 : A.Primitives_lazyAsJsDate(receiver).getSeconds() + 0;\n" |
| " },\n" |
| " Primitives_getMilliseconds(receiver) {\n" |
| " return receiver.isUtc ? A.Primitives_lazyAsJsDate(receiver).getUTCMilliseconds() + 0 : A.Primitives_lazyAsJsDate(receiver).getMilliseconds() + 0;\n" |
| " },\n" |
| " Primitives_extractStackTrace(error) {\n" |
| " var jsError = error.\$thrownJsError;\n" |
| " if (jsError == null)\n" |
| " return null;\n" |
| " return A.getTraceFromException(jsError);\n" |
| " },\n" |
| " Primitives_trySetStackTrace(error, stackTrace) {\n" |
| " var jsError;\n" |
| " if (error.\$thrownJsError == null) {\n" |
| " jsError = new Error();\n" |
| " A.initializeExceptionWrapper(error, jsError);\n" |
| " error.\$thrownJsError = jsError;\n" |
| " jsError.stack = stackTrace.toString\$0(0);\n" |
| " }\n" |
| " },\n" |
| " iae(argument) {\n" |
| " throw A.wrapException(A.argumentErrorValue(argument));\n" |
| " },\n" |
| " ioore(receiver, index) {\n" |
| " if (receiver == null)\n" |
| " J.get\$length\$asx(receiver);\n" |
| " throw A.wrapException(A.diagnoseIndexError(receiver, index));\n" |
| " },\n" |
| " diagnoseIndexError(indexable, index) {\n" |
| " var \$length, _s5_ = \"index\";\n" |
| " if (!A._isInt(index))\n" |
| " return new A.ArgumentError(true, index, _s5_, null);\n" |
| " \$length = A._asInt(J.get\$length\$asx(indexable));\n" |
| " if (index < 0 || index >= \$length)\n" |
| " return A.IndexError\$withLength(index, \$length, indexable, null, _s5_);\n" |
| " return A.RangeError\$value(index, _s5_);\n" |
| " },\n" |
| " diagnoseRangeError(start, end, \$length) {\n" |
| " if (start < 0 || start > \$length)\n" |
| " return A.RangeError\$range(start, 0, \$length, \"start\", null);\n" |
| " if (end != null)\n" |
| " if (end < start || end > \$length)\n" |
| " return A.RangeError\$range(end, start, \$length, \"end\", null);\n" |
| " return new A.ArgumentError(true, end, \"end\", null);\n" |
| " },\n" |
| " argumentErrorValue(object) {\n" |
| " return new A.ArgumentError(true, object, null, null);\n" |
| " },\n" |
| " wrapException(ex) {\n" |
| " return A.initializeExceptionWrapper(ex, new Error());\n" |
| " },\n" |
| " initializeExceptionWrapper(ex, wrapper) {\n" |
| " var t1;\n" |
| " if (ex == null)\n" |
| " ex = new A.TypeError();\n" |
| " wrapper.dartException = ex;\n" |
| " t1 = A.toStringWrapper;\n" |
| " if (\"defineProperty\" in Object) {\n" |
| " Object.defineProperty(wrapper, \"message\", {get: t1});\n" |
| " wrapper.name = \"\";\n" |
| " } else\n" |
| " wrapper.toString = t1;\n" |
| " return wrapper;\n" |
| " },\n" |
| " toStringWrapper() {\n" |
| " return J.toString\$0\$(this.dartException);\n" |
| " },\n" |
| " throwExpression(ex, wrapper) {\n" |
| " throw A.initializeExceptionWrapper(ex, wrapper == null ? new Error() : wrapper);\n" |
| " },\n" |
| " throwUnsupportedOperation(o, operation, verb) {\n" |
| " var wrapper;\n" |
| " if (operation == null)\n" |
| " operation = 0;\n" |
| " if (verb == null)\n" |
| " verb = 0;\n" |
| " wrapper = Error();\n" |
| " A.throwExpression(A._diagnoseUnsupportedOperation(o, operation, verb), wrapper);\n" |
| " },\n" |
| " _diagnoseUnsupportedOperation(o, encodedOperation, encodedVerb) {\n" |
| " var operation, table, tableLength, index, verb, object, flags, article, adjective;\n" |
| " if (typeof encodedOperation == \"string\")\n" |
| " operation = encodedOperation;\n" |
| " else {\n" |
| " table = \"[]=;add;removeWhere;retainWhere;removeRange;setRange;setInt8;setInt16;setInt32;setUint8;setUint16;setUint32;setFloat32;setFloat64\".split(\";\");\n" |
| " tableLength = table.length;\n" |
| " index = encodedOperation;\n" |
| " if (index > tableLength) {\n" |
| " encodedVerb = index / tableLength | 0;\n" |
| " index %= tableLength;\n" |
| " }\n" |
| " operation = table[index];\n" |
| " }\n" |
| " verb = typeof encodedVerb == \"string\" ? encodedVerb : \"modify;remove from;add to\".split(\";\")[encodedVerb];\n" |
| " object = type\$.List_dynamic._is(o) ? \"list\" : \"ByteData\";\n" |
| " flags = o.\$flags | 0;\n" |
| " article = \"a \";\n" |
| " if ((flags & 4) !== 0)\n" |
| " adjective = \"constant \";\n" |
| " else if ((flags & 2) !== 0) {\n" |
| " adjective = \"unmodifiable \";\n" |
| " article = \"an \";\n" |
| " } else\n" |
| " adjective = (flags & 1) !== 0 ? \"fixed-length \" : \"\";\n" |
| " return new A.UnsupportedError(\"'\" + operation + \"': Cannot \" + verb + \" \" + article + adjective + object);\n" |
| " },\n" |
| " throwConcurrentModificationError(collection) {\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(collection));\n" |
| " },\n" |
| " TypeErrorDecoder_extractPattern(message) {\n" |
| " var match, \$arguments, argumentsExpr, expr, method, receiver;\n" |
| " message = A.quoteStringForRegExp(message.replace(String({}), \"\$receiver\$\"));\n" |
| " match = message.match(/\\\\\\\$[a-zA-Z]+\\\\\\\$/g);\n" |
| " if (match == null)\n" |
| " match = A._setArrayType([], type\$.JSArray_String);\n" |
| " \$arguments = match.indexOf(\"\\\\\$arguments\\\\\$\");\n" |
| " argumentsExpr = match.indexOf(\"\\\\\$argumentsExpr\\\\\$\");\n" |
| " expr = match.indexOf(\"\\\\\$expr\\\\\$\");\n" |
| " method = match.indexOf(\"\\\\\$method\\\\\$\");\n" |
| " receiver = match.indexOf(\"\\\\\$receiver\\\\\$\");\n" |
| " return new A.TypeErrorDecoder(message.replace(new RegExp(\"\\\\\\\\\\\\\$arguments\\\\\\\\\\\\\$\", \"g\"), \"((?:x|[^x])*)\").replace(new RegExp(\"\\\\\\\\\\\\\$argumentsExpr\\\\\\\\\\\\\$\", \"g\"), \"((?:x|[^x])*)\").replace(new RegExp(\"\\\\\\\\\\\\\$expr\\\\\\\\\\\\\$\", \"g\"), \"((?:x|[^x])*)\").replace(new RegExp(\"\\\\\\\\\\\\\$method\\\\\\\\\\\\\$\", \"g\"), \"((?:x|[^x])*)\").replace(new RegExp(\"\\\\\\\\\\\\\$receiver\\\\\\\\\\\\\$\", \"g\"), \"((?:x|[^x])*)\"), \$arguments, argumentsExpr, expr, method, receiver);\n" |
| " },\n" |
| " TypeErrorDecoder_provokeCallErrorOn(expression) {\n" |
| " return function(\$expr\$) {\n" |
| " var \$argumentsExpr\$ = \"\$arguments\$\";\n" |
| " try {\n" |
| " \$expr\$.\$method\$(\$argumentsExpr\$);\n" |
| " } catch (e) {\n" |
| " return e.message;\n" |
| " }\n" |
| " }(expression);\n" |
| " },\n" |
| " TypeErrorDecoder_provokePropertyErrorOn(expression) {\n" |
| " return function(\$expr\$) {\n" |
| " try {\n" |
| " \$expr\$.\$method\$;\n" |
| " } catch (e) {\n" |
| " return e.message;\n" |
| " }\n" |
| " }(expression);\n" |
| " },\n" |
| " JsNoSuchMethodError\$(_message, match) {\n" |
| " var t1 = match == null,\n" |
| " t2 = t1 ? null : match.method;\n" |
| " return new A.JsNoSuchMethodError(_message, t2, t1 ? null : match.receiver);\n" |
| " },\n" |
| " unwrapException(ex) {\n" |
| " var t1;\n" |
| " if (ex == null)\n" |
| " return new A.NullThrownFromJavaScriptException(ex);\n" |
| " if (ex instanceof A.ExceptionAndStackTrace) {\n" |
| " t1 = ex.dartException;\n" |
| " return A.saveStackTrace(ex, t1 == null ? A._asObject(t1) : t1);\n" |
| " }\n" |
| " if (typeof ex !== \"object\")\n" |
| " return ex;\n" |
| " if (\"dartException\" in ex)\n" |
| " return A.saveStackTrace(ex, ex.dartException);\n" |
| " return A._unwrapNonDartException(ex);\n" |
| " },\n" |
| " saveStackTrace(ex, error) {\n" |
| " if (type\$.Error._is(error))\n" |
| " if (error.\$thrownJsError == null)\n" |
| " error.\$thrownJsError = ex;\n" |
| " return error;\n" |
| " },\n" |
| " _unwrapNonDartException(ex) {\n" |
| " var message, number, ieErrorCode, nsme, notClosure, nullCall, nullLiteralCall, undefCall, undefLiteralCall, nullProperty, undefProperty, undefLiteralProperty, match;\n" |
| " if (!(\"message\" in ex))\n" |
| " return ex;\n" |
| " message = ex.message;\n" |
| " if (\"number\" in ex && typeof ex.number == \"number\") {\n" |
| " number = ex.number;\n" |
| " ieErrorCode = number & 65535;\n" |
| " if ((B.JSInt_methods._shrOtherPositive\$1(number, 16) & 8191) === 10)\n" |
| " switch (ieErrorCode) {\n" |
| " case 438:\n" |
| " return A.saveStackTrace(ex, A.JsNoSuchMethodError\$(A.S(message) + \" (Error \" + ieErrorCode + \")\", null));\n" |
| " case 445:\n" |
| " case 5007:\n" |
| " A.S(message);\n" |
| " return A.saveStackTrace(ex, new A.NullError());\n" |
| " }\n" |
| " }\n" |
| " if (ex instanceof TypeError) {\n" |
| " nsme = \$.\$get\$TypeErrorDecoder_noSuchMethodPattern();\n" |
| " notClosure = \$.\$get\$TypeErrorDecoder_notClosurePattern();\n" |
| " nullCall = \$.\$get\$TypeErrorDecoder_nullCallPattern();\n" |
| " nullLiteralCall = \$.\$get\$TypeErrorDecoder_nullLiteralCallPattern();\n" |
| " undefCall = \$.\$get\$TypeErrorDecoder_undefinedCallPattern();\n" |
| " undefLiteralCall = \$.\$get\$TypeErrorDecoder_undefinedLiteralCallPattern();\n" |
| " nullProperty = \$.\$get\$TypeErrorDecoder_nullPropertyPattern();\n" |
| " \$.\$get\$TypeErrorDecoder_nullLiteralPropertyPattern();\n" |
| " undefProperty = \$.\$get\$TypeErrorDecoder_undefinedPropertyPattern();\n" |
| " undefLiteralProperty = \$.\$get\$TypeErrorDecoder_undefinedLiteralPropertyPattern();\n" |
| " match = nsme.matchTypeError\$1(message);\n" |
| " if (match != null)\n" |
| " return A.saveStackTrace(ex, A.JsNoSuchMethodError\$(A._asString(message), match));\n" |
| " else {\n" |
| " match = notClosure.matchTypeError\$1(message);\n" |
| " if (match != null) {\n" |
| " match.method = \"call\";\n" |
| " return A.saveStackTrace(ex, A.JsNoSuchMethodError\$(A._asString(message), match));\n" |
| " } else if (nullCall.matchTypeError\$1(message) != null || nullLiteralCall.matchTypeError\$1(message) != null || undefCall.matchTypeError\$1(message) != null || undefLiteralCall.matchTypeError\$1(message) != null || nullProperty.matchTypeError\$1(message) != null || nullLiteralCall.matchTypeError\$1(message) != null || undefProperty.matchTypeError\$1(message) != null || undefLiteralProperty.matchTypeError\$1(message) != null) {\n" |
| " A._asString(message);\n" |
| " return A.saveStackTrace(ex, new A.NullError());\n" |
| " }\n" |
| " }\n" |
| " return A.saveStackTrace(ex, new A.UnknownJsTypeError(typeof message == \"string\" ? message : \"\"));\n" |
| " }\n" |
| " if (ex instanceof RangeError) {\n" |
| " if (typeof message == \"string\" && message.indexOf(\"call stack\") !== -1)\n" |
| " return new A.StackOverflowError();\n" |
| " message = function(ex) {\n" |
| " try {\n" |
| " return String(ex);\n" |
| " } catch (e) {\n" |
| " }\n" |
| " return null;\n" |
| " }(ex);\n" |
| " return A.saveStackTrace(ex, new A.ArgumentError(false, null, null, typeof message == \"string\" ? message.replace(/^RangeError:\\s*/, \"\") : message));\n" |
| " }\n" |
| " if (typeof InternalError == \"function\" && ex instanceof InternalError)\n" |
| " if (typeof message == \"string\" && message === \"too much recursion\")\n" |
| " return new A.StackOverflowError();\n" |
| " return ex;\n" |
| " },\n" |
| " getTraceFromException(exception) {\n" |
| " var trace;\n" |
| " if (exception instanceof A.ExceptionAndStackTrace)\n" |
| " return exception.stackTrace;\n" |
| " if (exception == null)\n" |
| " return new A._StackTrace(exception);\n" |
| " trace = exception.\$cachedTrace;\n" |
| " if (trace != null)\n" |
| " return trace;\n" |
| " trace = new A._StackTrace(exception);\n" |
| " if (typeof exception === \"object\")\n" |
| " exception.\$cachedTrace = trace;\n" |
| " return trace;\n" |
| " },\n" |
| " objectHashCode(object) {\n" |
| " if (object == null)\n" |
| " return J.get\$hashCode\$(object);\n" |
| " if (typeof object == \"object\")\n" |
| " return A.Primitives_objectHashCode(object);\n" |
| " return J.get\$hashCode\$(object);\n" |
| " },\n" |
| " fillLiteralMap(keyValuePairs, result) {\n" |
| " var index, index0, index1,\n" |
| " \$length = keyValuePairs.length;\n" |
| " for (index = 0; index < \$length; index = index1) {\n" |
| " index0 = index + 1;\n" |
| " index1 = index0 + 1;\n" |
| " result.\$indexSet(0, keyValuePairs[index], keyValuePairs[index0]);\n" |
| " }\n" |
| " return result;\n" |
| " },\n" |
| " _invokeClosure(closure, numberOfArguments, arg1, arg2, arg3, arg4) {\n" |
| " type\$.Function._as(closure);\n" |
| " switch (A._asInt(numberOfArguments)) {\n" |
| " case 0:\n" |
| " return closure.call\$0();\n" |
| " case 1:\n" |
| " return closure.call\$1(arg1);\n" |
| " case 2:\n" |
| " return closure.call\$2(arg1, arg2);\n" |
| " case 3:\n" |
| " return closure.call\$3(arg1, arg2, arg3);\n" |
| " case 4:\n" |
| " return closure.call\$4(arg1, arg2, arg3, arg4);\n" |
| " }\n" |
| " throw A.wrapException(new A._Exception(\"Unsupported number of arguments for wrapped closure\"));\n" |
| " },\n" |
| " convertDartClosureToJS(closure, arity) {\n" |
| " var \$function = closure.\$identity;\n" |
| " if (!!\$function)\n" |
| " return \$function;\n" |
| " \$function = A.convertDartClosureToJSUncached(closure, arity);\n" |
| " closure.\$identity = \$function;\n" |
| " return \$function;\n" |
| " },\n" |
| " convertDartClosureToJSUncached(closure, arity) {\n" |
| " var entry;\n" |
| " switch (arity) {\n" |
| " case 0:\n" |
| " entry = closure.call\$0;\n" |
| " break;\n" |
| " case 1:\n" |
| " entry = closure.call\$1;\n" |
| " break;\n" |
| " case 2:\n" |
| " entry = closure.call\$2;\n" |
| " break;\n" |
| " case 3:\n" |
| " entry = closure.call\$3;\n" |
| " break;\n" |
| " case 4:\n" |
| " entry = closure.call\$4;\n" |
| " break;\n" |
| " default:\n" |
| " entry = null;\n" |
| " }\n" |
| " if (entry != null)\n" |
| " return entry.bind(closure);\n" |
| " return function(closure, arity, invoke) {\n" |
| " return function(a1, a2, a3, a4) {\n" |
| " return invoke(closure, arity, a1, a2, a3, a4);\n" |
| " };\n" |
| " }(closure, arity, A._invokeClosure);\n" |
| " },\n" |
| " Closure_fromTearOff(parameters) {\n" |
| " var \$prototype, \$constructor, t2, trampoline, applyTrampoline, i, stub, stub0, stubName, stubCallName,\n" |
| " container = parameters.co,\n" |
| " isStatic = parameters.iS,\n" |
| " isIntercepted = parameters.iI,\n" |
| " needsDirectAccess = parameters.nDA,\n" |
| " applyTrampolineIndex = parameters.aI,\n" |
| " funsOrNames = parameters.fs,\n" |
| " callNames = parameters.cs,\n" |
| " \$name = funsOrNames[0],\n" |
| " callName = callNames[0],\n" |
| " \$function = container[\$name],\n" |
| " t1 = parameters.fT;\n" |
| " t1.toString;\n" |
| " \$prototype = isStatic ? Object.create(new A.StaticClosure().constructor.prototype) : Object.create(new A.BoundClosure(null, null).constructor.prototype);\n" |
| " \$prototype.\$initialize = \$prototype.constructor;\n" |
| " \$constructor = isStatic ? function static_tear_off() {\n" |
| " this.\$initialize();\n" |
| " } : function tear_off(a, b) {\n" |
| " this.\$initialize(a, b);\n" |
| " };\n" |
| " \$prototype.constructor = \$constructor;\n" |
| " \$constructor.prototype = \$prototype;\n" |
| " \$prototype.\$_name = \$name;\n" |
| " \$prototype.\$_target = \$function;\n" |
| " t2 = !isStatic;\n" |
| " if (t2)\n" |
| " trampoline = A.Closure_forwardCallTo(\$name, \$function, isIntercepted, needsDirectAccess);\n" |
| " else {\n" |
| " \$prototype.\$static_name = \$name;\n" |
| " trampoline = \$function;\n" |
| " }\n" |
| " \$prototype.\$signature = A.Closure__computeSignatureFunction(t1, isStatic, isIntercepted);\n" |
| " \$prototype[callName] = trampoline;\n" |
| " for (applyTrampoline = trampoline, i = 1; i < funsOrNames.length; ++i) {\n" |
| " stub = funsOrNames[i];\n" |
| " if (typeof stub == \"string\") {\n" |
| " stub0 = container[stub];\n" |
| " stubName = stub;\n" |
| " stub = stub0;\n" |
| " } else\n" |
| " stubName = \"\";\n" |
| " stubCallName = callNames[i];\n" |
| " if (stubCallName != null) {\n" |
| " if (t2)\n" |
| " stub = A.Closure_forwardCallTo(stubName, stub, isIntercepted, needsDirectAccess);\n" |
| " \$prototype[stubCallName] = stub;\n" |
| " }\n" |
| " if (i === applyTrampolineIndex)\n" |
| " applyTrampoline = stub;\n" |
| " }\n" |
| " \$prototype[\"call*\"] = applyTrampoline;\n" |
| " \$prototype.\$requiredArgCount = parameters.rC;\n" |
| " \$prototype.\$defaultValues = parameters.dV;\n" |
| " return \$constructor;\n" |
| " },\n" |
| " Closure__computeSignatureFunction(functionType, isStatic, isIntercepted) {\n" |
| " if (typeof functionType == \"number\")\n" |
| " return functionType;\n" |
| " if (typeof functionType == \"string\") {\n" |
| " if (isStatic)\n" |
| " throw A.wrapException(\"Cannot compute signature for static tearoff.\");\n" |
| " return function(recipe, evalOnReceiver) {\n" |
| " return function() {\n" |
| " return evalOnReceiver(this, recipe);\n" |
| " };\n" |
| " }(functionType, A.BoundClosure_evalRecipe);\n" |
| " }\n" |
| " throw A.wrapException(\"Error in functionType of tearoff\");\n" |
| " },\n" |
| " Closure_cspForwardCall(arity, needsDirectAccess, stubName, \$function) {\n" |
| " var getReceiver = A.BoundClosure_receiverOf;\n" |
| " switch (needsDirectAccess ? -1 : arity) {\n" |
| " case 0:\n" |
| " return function(entry, receiverOf) {\n" |
| " return function() {\n" |
| " return receiverOf(this)[entry]();\n" |
| " };\n" |
| " }(stubName, getReceiver);\n" |
| " case 1:\n" |
| " return function(entry, receiverOf) {\n" |
| " return function(a) {\n" |
| " return receiverOf(this)[entry](a);\n" |
| " };\n" |
| " }(stubName, getReceiver);\n" |
| " case 2:\n" |
| " return function(entry, receiverOf) {\n" |
| " return function(a, b) {\n" |
| " return receiverOf(this)[entry](a, b);\n" |
| " };\n" |
| " }(stubName, getReceiver);\n" |
| " case 3:\n" |
| " return function(entry, receiverOf) {\n" |
| " return function(a, b, c) {\n" |
| " return receiverOf(this)[entry](a, b, c);\n" |
| " };\n" |
| " }(stubName, getReceiver);\n" |
| " case 4:\n" |
| " return function(entry, receiverOf) {\n" |
| " return function(a, b, c, d) {\n" |
| " return receiverOf(this)[entry](a, b, c, d);\n" |
| " };\n" |
| " }(stubName, getReceiver);\n" |
| " case 5:\n" |
| " return function(entry, receiverOf) {\n" |
| " return function(a, b, c, d, e) {\n" |
| " return receiverOf(this)[entry](a, b, c, d, e);\n" |
| " };\n" |
| " }(stubName, getReceiver);\n" |
| " default:\n" |
| " return function(f, receiverOf) {\n" |
| " return function() {\n" |
| " return f.apply(receiverOf(this), arguments);\n" |
| " };\n" |
| " }(\$function, getReceiver);\n" |
| " }\n" |
| " },\n" |
| " Closure_forwardCallTo(stubName, \$function, isIntercepted, needsDirectAccess) {\n" |
| " if (isIntercepted)\n" |
| " return A.Closure_forwardInterceptedCallTo(stubName, \$function, needsDirectAccess);\n" |
| " return A.Closure_cspForwardCall(\$function.length, needsDirectAccess, stubName, \$function);\n" |
| " },\n" |
| " Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, \$function) {\n" |
| " var getReceiver = A.BoundClosure_receiverOf,\n" |
| " getInterceptor = A.BoundClosure_interceptorOf;\n" |
| " switch (needsDirectAccess ? -1 : arity) {\n" |
| " case 0:\n" |
| " throw A.wrapException(new A.RuntimeError(\"Intercepted function with no arguments.\"));\n" |
| " case 1:\n" |
| " return function(entry, interceptorOf, receiverOf) {\n" |
| " return function() {\n" |
| " return interceptorOf(this)[entry](receiverOf(this));\n" |
| " };\n" |
| " }(stubName, getInterceptor, getReceiver);\n" |
| " case 2:\n" |
| " return function(entry, interceptorOf, receiverOf) {\n" |
| " return function(a) {\n" |
| " return interceptorOf(this)[entry](receiverOf(this), a);\n" |
| " };\n" |
| " }(stubName, getInterceptor, getReceiver);\n" |
| " case 3:\n" |
| " return function(entry, interceptorOf, receiverOf) {\n" |
| " return function(a, b) {\n" |
| " return interceptorOf(this)[entry](receiverOf(this), a, b);\n" |
| " };\n" |
| " }(stubName, getInterceptor, getReceiver);\n" |
| " case 4:\n" |
| " return function(entry, interceptorOf, receiverOf) {\n" |
| " return function(a, b, c) {\n" |
| " return interceptorOf(this)[entry](receiverOf(this), a, b, c);\n" |
| " };\n" |
| " }(stubName, getInterceptor, getReceiver);\n" |
| " case 5:\n" |
| " return function(entry, interceptorOf, receiverOf) {\n" |
| " return function(a, b, c, d) {\n" |
| " return interceptorOf(this)[entry](receiverOf(this), a, b, c, d);\n" |
| " };\n" |
| " }(stubName, getInterceptor, getReceiver);\n" |
| " case 6:\n" |
| " return function(entry, interceptorOf, receiverOf) {\n" |
| " return function(a, b, c, d, e) {\n" |
| " return interceptorOf(this)[entry](receiverOf(this), a, b, c, d, e);\n" |
| " };\n" |
| " }(stubName, getInterceptor, getReceiver);\n" |
| " default:\n" |
| " return function(f, interceptorOf, receiverOf) {\n" |
| " return function() {\n" |
| " var a = [receiverOf(this)];\n" |
| " Array.prototype.push.apply(a, arguments);\n" |
| " return f.apply(interceptorOf(this), a);\n" |
| " };\n" |
| " }(\$function, getInterceptor, getReceiver);\n" |
| " }\n" |
| " },\n" |
| " Closure_forwardInterceptedCallTo(stubName, \$function, needsDirectAccess) {\n" |
| " var arity, t1;\n" |
| " if (\$.BoundClosure__interceptorFieldNameCache == null)\n" |
| " \$.BoundClosure__interceptorFieldNameCache = A.BoundClosure__computeFieldNamed(\"interceptor\");\n" |
| " if (\$.BoundClosure__receiverFieldNameCache == null)\n" |
| " \$.BoundClosure__receiverFieldNameCache = A.BoundClosure__computeFieldNamed(\"receiver\");\n" |
| " arity = \$function.length;\n" |
| " t1 = A.Closure_cspForwardInterceptedCall(arity, needsDirectAccess, stubName, \$function);\n" |
| " return t1;\n" |
| " },\n" |
| " closureFromTearOff(parameters) {\n" |
| " return A.Closure_fromTearOff(parameters);\n" |
| " },\n" |
| " BoundClosure_evalRecipe(closure, recipe) {\n" |
| " return A._Universe_evalInEnvironment(init.typeUniverse, A.instanceType(closure._receiver), recipe);\n" |
| " },\n" |
| " BoundClosure_receiverOf(closure) {\n" |
| " return closure._receiver;\n" |
| " },\n" |
| " BoundClosure_interceptorOf(closure) {\n" |
| " return closure._interceptor;\n" |
| " },\n" |
| " BoundClosure__computeFieldNamed(fieldName) {\n" |
| " var names, i, \$name,\n" |
| " template = new A.BoundClosure(\"receiver\", \"interceptor\"),\n" |
| " t1 = Object.getOwnPropertyNames(template);\n" |
| " t1.\$flags = 1;\n" |
| " names = t1;\n" |
| " for (t1 = names.length, i = 0; i < t1; ++i) {\n" |
| " \$name = names[i];\n" |
| " if (template[\$name] === fieldName)\n" |
| " return \$name;\n" |
| " }\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Field name \" + fieldName + \" not found.\", null));\n" |
| " },\n" |
| " getIsolateAffinityTag(\$name) {\n" |
| " return init.getIsolateTag(\$name);\n" |
| " },\n" |
| " staticInteropGlobalContext() {\n" |
| " return init.G;\n" |
| " },\n" |
| " defineProperty(obj, property, value) {\n" |
| " Object.defineProperty(obj, property, {value: value, enumerable: false, writable: true, configurable: true});\n" |
| " },\n" |
| " lookupAndCacheInterceptor(obj) {\n" |
| " var interceptor, interceptorClass, altTag, mark, t1,\n" |
| " tag = A._asString(\$.getTagFunction.call\$1(obj)),\n" |
| " record = \$.dispatchRecordsForInstanceTags[tag];\n" |
| " if (record != null) {\n" |
| " Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});\n" |
| " return record.i;\n" |
| " }\n" |
| " interceptor = \$.interceptorsForUncacheableTags[tag];\n" |
| " if (interceptor != null)\n" |
| " return interceptor;\n" |
| " interceptorClass = init.interceptorsByTag[tag];\n" |
| " if (interceptorClass == null) {\n" |
| " altTag = A._asStringQ(\$.alternateTagFunction.call\$2(obj, tag));\n" |
| " if (altTag != null) {\n" |
| " record = \$.dispatchRecordsForInstanceTags[altTag];\n" |
| " if (record != null) {\n" |
| " Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});\n" |
| " return record.i;\n" |
| " }\n" |
| " interceptor = \$.interceptorsForUncacheableTags[altTag];\n" |
| " if (interceptor != null)\n" |
| " return interceptor;\n" |
| " interceptorClass = init.interceptorsByTag[altTag];\n" |
| " tag = altTag;\n" |
| " }\n" |
| " }\n" |
| " if (interceptorClass == null)\n" |
| " return null;\n" |
| " interceptor = interceptorClass.prototype;\n" |
| " mark = tag[0];\n" |
| " if (mark === \"!\") {\n" |
| " record = A.makeLeafDispatchRecord(interceptor);\n" |
| " \$.dispatchRecordsForInstanceTags[tag] = record;\n" |
| " Object.defineProperty(obj, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});\n" |
| " return record.i;\n" |
| " }\n" |
| " if (mark === \"~\") {\n" |
| " \$.interceptorsForUncacheableTags[tag] = interceptor;\n" |
| " return interceptor;\n" |
| " }\n" |
| " if (mark === \"-\") {\n" |
| " t1 = A.makeLeafDispatchRecord(interceptor);\n" |
| " Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});\n" |
| " return t1.i;\n" |
| " }\n" |
| " if (mark === \"+\")\n" |
| " return A.patchInteriorProto(obj, interceptor);\n" |
| " if (mark === \"*\")\n" |
| " throw A.wrapException(A.UnimplementedError\$(tag));\n" |
| " if (init.leafTags[tag] === true) {\n" |
| " t1 = A.makeLeafDispatchRecord(interceptor);\n" |
| " Object.defineProperty(Object.getPrototypeOf(obj), init.dispatchPropertyName, {value: t1, enumerable: false, writable: true, configurable: true});\n" |
| " return t1.i;\n" |
| " } else\n" |
| " return A.patchInteriorProto(obj, interceptor);\n" |
| " },\n" |
| " patchInteriorProto(obj, interceptor) {\n" |
| " var proto = Object.getPrototypeOf(obj);\n" |
| " Object.defineProperty(proto, init.dispatchPropertyName, {value: J.makeDispatchRecord(interceptor, proto, null, null), enumerable: false, writable: true, configurable: true});\n" |
| " return interceptor;\n" |
| " },\n" |
| " makeLeafDispatchRecord(interceptor) {\n" |
| " return J.makeDispatchRecord(interceptor, false, null, !!interceptor.\$isJavaScriptIndexingBehavior);\n" |
| " },\n" |
| " makeDefaultDispatchRecord(tag, interceptorClass, proto) {\n" |
| " var interceptor = interceptorClass.prototype;\n" |
| " if (init.leafTags[tag] === true)\n" |
| " return A.makeLeafDispatchRecord(interceptor);\n" |
| " else\n" |
| " return J.makeDispatchRecord(interceptor, proto, null, null);\n" |
| " },\n" |
| " initNativeDispatch() {\n" |
| " if (true === \$.initNativeDispatchFlag)\n" |
| " return;\n" |
| " \$.initNativeDispatchFlag = true;\n" |
| " A.initNativeDispatchContinue();\n" |
| " },\n" |
| " initNativeDispatchContinue() {\n" |
| " var map, tags, fun, i, tag, proto, record, interceptorClass;\n" |
| " \$.dispatchRecordsForInstanceTags = Object.create(null);\n" |
| " \$.interceptorsForUncacheableTags = Object.create(null);\n" |
| " A.initHooks();\n" |
| " map = init.interceptorsByTag;\n" |
| " tags = Object.getOwnPropertyNames(map);\n" |
| " if (typeof window != \"undefined\") {\n" |
| " window;\n" |
| " fun = function() {\n" |
| " };\n" |
| " for (i = 0; i < tags.length; ++i) {\n" |
| " tag = tags[i];\n" |
| " proto = \$.prototypeForTagFunction.call\$1(tag);\n" |
| " if (proto != null) {\n" |
| " record = A.makeDefaultDispatchRecord(tag, map[tag], proto);\n" |
| " if (record != null) {\n" |
| " Object.defineProperty(proto, init.dispatchPropertyName, {value: record, enumerable: false, writable: true, configurable: true});\n" |
| " fun.prototype = proto;\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " for (i = 0; i < tags.length; ++i) {\n" |
| " tag = tags[i];\n" |
| " if (/^[A-Za-z_]/.test(tag)) {\n" |
| " interceptorClass = map[tag];\n" |
| " map[\"!\" + tag] = interceptorClass;\n" |
| " map[\"~\" + tag] = interceptorClass;\n" |
| " map[\"-\" + tag] = interceptorClass;\n" |
| " map[\"+\" + tag] = interceptorClass;\n" |
| " map[\"*\" + tag] = interceptorClass;\n" |
| " }\n" |
| " }\n" |
| " },\n" |
| " initHooks() {\n" |
| " var transformers, i, transformer, getTag, getUnknownTag, prototypeForTag,\n" |
| " hooks = B.C_JS_CONST0();\n" |
| " hooks = A.applyHooksTransformer(B.C_JS_CONST1, A.applyHooksTransformer(B.C_JS_CONST2, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST3, A.applyHooksTransformer(B.C_JS_CONST4, A.applyHooksTransformer(B.C_JS_CONST5, A.applyHooksTransformer(B.C_JS_CONST6(B.C_JS_CONST), hooks)))))));\n" |
| " if (typeof dartNativeDispatchHooksTransformer != \"undefined\") {\n" |
| " transformers = dartNativeDispatchHooksTransformer;\n" |
| " if (typeof transformers == \"function\")\n" |
| " transformers = [transformers];\n" |
| " if (Array.isArray(transformers))\n" |
| " for (i = 0; i < transformers.length; ++i) {\n" |
| " transformer = transformers[i];\n" |
| " if (typeof transformer == \"function\")\n" |
| " hooks = transformer(hooks) || hooks;\n" |
| " }\n" |
| " }\n" |
| " getTag = hooks.getTag;\n" |
| " getUnknownTag = hooks.getUnknownTag;\n" |
| " prototypeForTag = hooks.prototypeForTag;\n" |
| " \$.getTagFunction = new A.initHooks_closure(getTag);\n" |
| " \$.alternateTagFunction = new A.initHooks_closure0(getUnknownTag);\n" |
| " \$.prototypeForTagFunction = new A.initHooks_closure1(prototypeForTag);\n" |
| " },\n" |
| " applyHooksTransformer(transformer, hooks) {\n" |
| " return transformer(hooks) || hooks;\n" |
| " },\n" |
| " createRecordTypePredicate(shape, fieldRtis) {\n" |
| " var \$length = fieldRtis.length,\n" |
| " \$function = init.rttc[\"\" + \$length + \";\" + shape];\n" |
| " if (\$function == null)\n" |
| " return null;\n" |
| " if (\$length === 0)\n" |
| " return \$function;\n" |
| " if (\$length === \$function.length)\n" |
| " return \$function.apply(null, fieldRtis);\n" |
| " return \$function(fieldRtis);\n" |
| " },\n" |
| " JSSyntaxRegExp_makeNative(source, multiLine, caseSensitive, unicode, dotAll, extraFlags) {\n" |
| " var m = multiLine ? \"m\" : \"\",\n" |
| " i = caseSensitive ? \"\" : \"i\",\n" |
| " u = unicode ? \"u\" : \"\",\n" |
| " s = dotAll ? \"s\" : \"\",\n" |
| " regexp = function(source, modifiers) {\n" |
| " try {\n" |
| " return new RegExp(source, modifiers);\n" |
| " } catch (e) {\n" |
| " return e;\n" |
| " }\n" |
| " }(source, m + i + u + s + extraFlags);\n" |
| " if (regexp instanceof RegExp)\n" |
| " return regexp;\n" |
| " throw A.wrapException(A.FormatException\$(\"Illegal RegExp pattern (\" + String(regexp) + \")\", source, null));\n" |
| " },\n" |
| " stringContainsUnchecked(receiver, other, startIndex) {\n" |
| " var t1;\n" |
| " if (typeof other == \"string\")\n" |
| " return receiver.indexOf(other, startIndex) >= 0;\n" |
| " else if (other instanceof A.JSSyntaxRegExp) {\n" |
| " t1 = B.JSString_methods.substring\$1(receiver, startIndex);\n" |
| " return other._nativeRegExp.test(t1);\n" |
| " } else\n" |
| " return !J.allMatches\$1\$s(other, B.JSString_methods.substring\$1(receiver, startIndex)).get\$isEmpty(0);\n" |
| " },\n" |
| " escapeReplacement(replacement) {\n" |
| " if (replacement.indexOf(\"\$\", 0) >= 0)\n" |
| " return replacement.replace(/\\\$/g, \"\$\$\$\$\");\n" |
| " return replacement;\n" |
| " },\n" |
| " stringReplaceFirstRE(receiver, regexp, replacement, startIndex) {\n" |
| " var match = regexp._execGlobal\$2(receiver, startIndex);\n" |
| " if (match == null)\n" |
| " return receiver;\n" |
| " return A.stringReplaceRangeUnchecked(receiver, match._match.index, match.get\$end(), replacement);\n" |
| " },\n" |
| " quoteStringForRegExp(string) {\n" |
| " if (/[[\\]{}()*+?.\\\\^\$|]/.test(string))\n" |
| " return string.replace(/[[\\]{}()*+?.\\\\^\$|]/g, \"\\\\\$&\");\n" |
| " return string;\n" |
| " },\n" |
| " stringReplaceAllUnchecked(receiver, pattern, replacement) {\n" |
| " var nativeRegexp;\n" |
| " if (typeof pattern == \"string\")\n" |
| " return A.stringReplaceAllUncheckedString(receiver, pattern, replacement);\n" |
| " if (pattern instanceof A.JSSyntaxRegExp) {\n" |
| " nativeRegexp = pattern.get\$_nativeGlobalVersion();\n" |
| " nativeRegexp.lastIndex = 0;\n" |
| " return receiver.replace(nativeRegexp, A.escapeReplacement(replacement));\n" |
| " }\n" |
| " return A.stringReplaceAllGeneral(receiver, pattern, replacement);\n" |
| " },\n" |
| " stringReplaceAllGeneral(receiver, pattern, replacement) {\n" |
| " var t1, startIndex, t2, match;\n" |
| " for (t1 = J.allMatches\$1\$s(pattern, receiver), t1 = t1.get\$iterator(t1), startIndex = 0, t2 = \"\"; t1.moveNext\$0();) {\n" |
| " match = t1.get\$current();\n" |
| " t2 = t2 + receiver.substring(startIndex, match.get\$start()) + replacement;\n" |
| " startIndex = match.get\$end();\n" |
| " }\n" |
| " t1 = t2 + receiver.substring(startIndex);\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " stringReplaceAllUncheckedString(receiver, pattern, replacement) {\n" |
| " var \$length, t1, i;\n" |
| " if (pattern === \"\") {\n" |
| " if (receiver === \"\")\n" |
| " return replacement;\n" |
| " \$length = receiver.length;\n" |
| " for (t1 = replacement, i = 0; i < \$length; ++i)\n" |
| " t1 = t1 + receiver[i] + replacement;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " }\n" |
| " if (receiver.indexOf(pattern, 0) < 0)\n" |
| " return receiver;\n" |
| " if (receiver.length < 500 || replacement.indexOf(\"\$\", 0) >= 0)\n" |
| " return receiver.split(pattern).join(replacement);\n" |
| " return receiver.replace(new RegExp(A.quoteStringForRegExp(pattern), \"g\"), A.escapeReplacement(replacement));\n" |
| " },\n" |
| " _stringIdentity(string) {\n" |
| " return string;\n" |
| " },\n" |
| " stringReplaceAllFuncUnchecked(receiver, pattern, onMatch, onNonMatch) {\n" |
| " var t1, t2, startIndex, t3, match, t4, t5;\n" |
| " for (t1 = pattern.allMatches\$1(0, receiver), t1 = new A._AllMatchesIterator(t1._re, t1._string, t1.__js_helper\$_start), t2 = type\$.RegExpMatch, startIndex = 0, t3 = \"\"; t1.moveNext\$0();) {\n" |
| " match = t1.__js_helper\$_current;\n" |
| " if (match == null)\n" |
| " match = t2._as(match);\n" |
| " t4 = match._match;\n" |
| " t5 = t4.index;\n" |
| " t3 = t3 + A.S(A._stringIdentity(B.JSString_methods.substring\$2(receiver, startIndex, t5))) + A.S(onMatch.call\$1(match));\n" |
| " startIndex = t5 + t4[0].length;\n" |
| " }\n" |
| " t1 = t3 + A.S(A._stringIdentity(B.JSString_methods.substring\$1(receiver, startIndex)));\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " stringReplaceFirstUnchecked(receiver, pattern, replacement, startIndex) {\n" |
| " var index, t1, matches, match;\n" |
| " if (typeof pattern == \"string\") {\n" |
| " index = receiver.indexOf(pattern, startIndex);\n" |
| " if (index < 0)\n" |
| " return receiver;\n" |
| " return A.stringReplaceRangeUnchecked(receiver, index, index + pattern.length, replacement);\n" |
| " }\n" |
| " if (pattern instanceof A.JSSyntaxRegExp)\n" |
| " return startIndex === 0 ? receiver.replace(pattern._nativeRegExp, A.escapeReplacement(replacement)) : A.stringReplaceFirstRE(receiver, pattern, replacement, startIndex);\n" |
| " t1 = J.allMatches\$2\$s(pattern, receiver, startIndex);\n" |
| " matches = t1.get\$iterator(t1);\n" |
| " if (!matches.moveNext\$0())\n" |
| " return receiver;\n" |
| " match = matches.get\$current();\n" |
| " return B.JSString_methods.replaceRange\$3(receiver, match.get\$start(), match.get\$end(), replacement);\n" |
| " },\n" |
| " stringReplaceRangeUnchecked(receiver, start, end, replacement) {\n" |
| " return receiver.substring(0, start) + replacement + receiver.substring(end);\n" |
| " },\n" |
| " _Record_2: function _Record_2(t0, t1) {\n" |
| " this._0 = t0;\n" |
| " this._1 = t1;\n" |
| " },\n" |
| " ConstantMap: function ConstantMap() {\n" |
| " },\n" |
| " ConstantStringMap: function ConstantStringMap(t0, t1, t2) {\n" |
| " this._jsIndex = t0;\n" |
| " this._values = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " _KeysOrValues: function _KeysOrValues(t0, t1) {\n" |
| " this._elements = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " _KeysOrValuesOrElementsIterator: function _KeysOrValuesOrElementsIterator(t0, t1, t2) {\n" |
| " var _ = this;\n" |
| " _._elements = t0;\n" |
| " _.__js_helper\$_length = t1;\n" |
| " _.__js_helper\$_index = 0;\n" |
| " _.__js_helper\$_current = null;\n" |
| " _.\$ti = t2;\n" |
| " },\n" |
| " Instantiation: function Instantiation() {\n" |
| " },\n" |
| " Instantiation1: function Instantiation1(t0, t1) {\n" |
| " this._genericClosure = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " SafeToStringHook: function SafeToStringHook() {\n" |
| " },\n" |
| " TypeErrorDecoder: function TypeErrorDecoder(t0, t1, t2, t3, t4, t5) {\n" |
| " var _ = this;\n" |
| " _._pattern = t0;\n" |
| " _._arguments = t1;\n" |
| " _._argumentsExpr = t2;\n" |
| " _._expr = t3;\n" |
| " _._method = t4;\n" |
| " _._receiver = t5;\n" |
| " },\n" |
| " NullError: function NullError() {\n" |
| " },\n" |
| " JsNoSuchMethodError: function JsNoSuchMethodError(t0, t1, t2) {\n" |
| " this.__js_helper\$_message = t0;\n" |
| " this._method = t1;\n" |
| " this._receiver = t2;\n" |
| " },\n" |
| " UnknownJsTypeError: function UnknownJsTypeError(t0) {\n" |
| " this.__js_helper\$_message = t0;\n" |
| " },\n" |
| " NullThrownFromJavaScriptException: function NullThrownFromJavaScriptException(t0) {\n" |
| " this._irritant = t0;\n" |
| " },\n" |
| " ExceptionAndStackTrace: function ExceptionAndStackTrace(t0, t1) {\n" |
| " this.dartException = t0;\n" |
| " this.stackTrace = t1;\n" |
| " },\n" |
| " _StackTrace: function _StackTrace(t0) {\n" |
| " this._exception = t0;\n" |
| " this._trace = null;\n" |
| " },\n" |
| " Closure: function Closure() {\n" |
| " },\n" |
| " Closure0Args: function Closure0Args() {\n" |
| " },\n" |
| " Closure2Args: function Closure2Args() {\n" |
| " },\n" |
| " TearOffClosure: function TearOffClosure() {\n" |
| " },\n" |
| " StaticClosure: function StaticClosure() {\n" |
| " },\n" |
| " BoundClosure: function BoundClosure(t0, t1) {\n" |
| " this._receiver = t0;\n" |
| " this._interceptor = t1;\n" |
| " },\n" |
| " RuntimeError: function RuntimeError(t0) {\n" |
| " this.message = t0;\n" |
| " },\n" |
| " JsLinkedHashMap: function JsLinkedHashMap(t0) {\n" |
| " var _ = this;\n" |
| " _.__js_helper\$_length = 0;\n" |
| " _._last = _._first = _.__js_helper\$_rest = _.__js_helper\$_nums = _.__js_helper\$_strings = null;\n" |
| " _._modifications = 0;\n" |
| " _.\$ti = t0;\n" |
| " },\n" |
| " LinkedHashMapCell: function LinkedHashMapCell(t0, t1) {\n" |
| " var _ = this;\n" |
| " _.hashMapCellKey = t0;\n" |
| " _.hashMapCellValue = t1;\n" |
| " _._previous = _._next = null;\n" |
| " },\n" |
| " LinkedHashMapKeysIterable: function LinkedHashMapKeysIterable(t0, t1) {\n" |
| " this.__js_helper\$_map = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " LinkedHashMapKeyIterator: function LinkedHashMapKeyIterator(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.__js_helper\$_map = t0;\n" |
| " _._modifications = t1;\n" |
| " _._cell = t2;\n" |
| " _.__js_helper\$_current = null;\n" |
| " _.\$ti = t3;\n" |
| " },\n" |
| " LinkedHashMapValuesIterable: function LinkedHashMapValuesIterable(t0, t1) {\n" |
| " this.__js_helper\$_map = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " LinkedHashMapValueIterator: function LinkedHashMapValueIterator(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.__js_helper\$_map = t0;\n" |
| " _._modifications = t1;\n" |
| " _._cell = t2;\n" |
| " _.__js_helper\$_current = null;\n" |
| " _.\$ti = t3;\n" |
| " },\n" |
| " LinkedHashMapEntriesIterable: function LinkedHashMapEntriesIterable(t0, t1) {\n" |
| " this.__js_helper\$_map = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " LinkedHashMapEntryIterator: function LinkedHashMapEntryIterator(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.__js_helper\$_map = t0;\n" |
| " _._modifications = t1;\n" |
| " _._cell = t2;\n" |
| " _.__js_helper\$_current = null;\n" |
| " _.\$ti = t3;\n" |
| " },\n" |
| " JsIdentityLinkedHashMap: function JsIdentityLinkedHashMap(t0) {\n" |
| " var _ = this;\n" |
| " _.__js_helper\$_length = 0;\n" |
| " _._last = _._first = _.__js_helper\$_rest = _.__js_helper\$_nums = _.__js_helper\$_strings = null;\n" |
| " _._modifications = 0;\n" |
| " _.\$ti = t0;\n" |
| " },\n" |
| " initHooks_closure: function initHooks_closure(t0) {\n" |
| " this.getTag = t0;\n" |
| " },\n" |
| " initHooks_closure0: function initHooks_closure0(t0) {\n" |
| " this.getUnknownTag = t0;\n" |
| " },\n" |
| " initHooks_closure1: function initHooks_closure1(t0) {\n" |
| " this.prototypeForTag = t0;\n" |
| " },\n" |
| " _Record: function _Record() {\n" |
| " },\n" |
| " _Record2: function _Record2() {\n" |
| " },\n" |
| " JSSyntaxRegExp: function JSSyntaxRegExp(t0, t1) {\n" |
| " var _ = this;\n" |
| " _.pattern = t0;\n" |
| " _._nativeRegExp = t1;\n" |
| " _._hasCapturesCache = _._nativeAnchoredRegExp = _._nativeGlobalRegExp = null;\n" |
| " },\n" |
| " _MatchImplementation: function _MatchImplementation(t0) {\n" |
| " this._match = t0;\n" |
| " },\n" |
| " _AllMatchesIterable: function _AllMatchesIterable(t0, t1, t2) {\n" |
| " this._re = t0;\n" |
| " this._string = t1;\n" |
| " this.__js_helper\$_start = t2;\n" |
| " },\n" |
| " _AllMatchesIterator: function _AllMatchesIterator(t0, t1, t2) {\n" |
| " var _ = this;\n" |
| " _._regExp = t0;\n" |
| " _._string = t1;\n" |
| " _._nextIndex = t2;\n" |
| " _.__js_helper\$_current = null;\n" |
| " },\n" |
| " StringMatch: function StringMatch(t0, t1) {\n" |
| " this.start = t0;\n" |
| " this.pattern = t1;\n" |
| " },\n" |
| " _StringAllMatchesIterable: function _StringAllMatchesIterable(t0, t1, t2) {\n" |
| " this._input = t0;\n" |
| " this._pattern = t1;\n" |
| " this.__js_helper\$_index = t2;\n" |
| " },\n" |
| " _StringAllMatchesIterator: function _StringAllMatchesIterator(t0, t1, t2) {\n" |
| " var _ = this;\n" |
| " _._input = t0;\n" |
| " _._pattern = t1;\n" |
| " _.__js_helper\$_index = t2;\n" |
| " _.__js_helper\$_current = null;\n" |
| " },\n" |
| " throwLateFieldNI(fieldName) {\n" |
| " throw A.initializeExceptionWrapper(A.LateError\$fieldNI(fieldName), new Error());\n" |
| " },\n" |
| " throwLateFieldADI(fieldName) {\n" |
| " throw A.initializeExceptionWrapper(A.LateError\$fieldADI(fieldName), new Error());\n" |
| " },\n" |
| " _Cell\$named(_name) {\n" |
| " var t1 = new A._Cell(_name);\n" |
| " return t1.__late_helper\$_value = t1;\n" |
| " },\n" |
| " _Cell: function _Cell(t0) {\n" |
| " this.__late_helper\$_name = t0;\n" |
| " this.__late_helper\$_value = null;\n" |
| " },\n" |
| " _checkLength(\$length) {\n" |
| " return \$length;\n" |
| " },\n" |
| " _ensureNativeList(list) {\n" |
| " return list;\n" |
| " },\n" |
| " NativeInt8List__create1(arg) {\n" |
| " return new Int8Array(arg);\n" |
| " },\n" |
| " NativeUint8List_NativeUint8List(\$length) {\n" |
| " return new Uint8Array(\$length);\n" |
| " },\n" |
| " NativeUint8List_NativeUint8List\$view(buffer, offsetInBytes, \$length) {\n" |
| " return \$length == null ? new Uint8Array(buffer, offsetInBytes) : new Uint8Array(buffer, offsetInBytes, \$length);\n" |
| " },\n" |
| " _checkValidIndex(index, list, \$length) {\n" |
| " if (index >>> 0 !== index || index >= \$length)\n" |
| " throw A.wrapException(A.diagnoseIndexError(list, index));\n" |
| " },\n" |
| " _checkValidRange(start, end, \$length) {\n" |
| " var t1;\n" |
| " if (!(start >>> 0 !== start))\n" |
| " t1 = end >>> 0 !== end || start > end || end > \$length;\n" |
| " else\n" |
| " t1 = true;\n" |
| " if (t1)\n" |
| " throw A.wrapException(A.diagnoseRangeError(start, end, \$length));\n" |
| " return end;\n" |
| " },\n" |
| " NativeByteBuffer: function NativeByteBuffer() {\n" |
| " },\n" |
| " NativeArrayBuffer: function NativeArrayBuffer() {\n" |
| " },\n" |
| " NativeTypedData: function NativeTypedData() {\n" |
| " },\n" |
| " _UnmodifiableNativeByteBufferView: function _UnmodifiableNativeByteBufferView(t0) {\n" |
| " this.__native_typed_data\$_data = t0;\n" |
| " },\n" |
| " NativeByteData: function NativeByteData() {\n" |
| " },\n" |
| " NativeTypedArray: function NativeTypedArray() {\n" |
| " },\n" |
| " NativeTypedArrayOfDouble: function NativeTypedArrayOfDouble() {\n" |
| " },\n" |
| " NativeTypedArrayOfInt: function NativeTypedArrayOfInt() {\n" |
| " },\n" |
| " NativeFloat32List: function NativeFloat32List() {\n" |
| " },\n" |
| " NativeFloat64List: function NativeFloat64List() {\n" |
| " },\n" |
| " NativeInt16List: function NativeInt16List() {\n" |
| " },\n" |
| " NativeInt32List: function NativeInt32List() {\n" |
| " },\n" |
| " NativeInt8List: function NativeInt8List() {\n" |
| " },\n" |
| " NativeUint16List: function NativeUint16List() {\n" |
| " },\n" |
| " NativeUint32List: function NativeUint32List() {\n" |
| " },\n" |
| " NativeUint8ClampedList: function NativeUint8ClampedList() {\n" |
| " },\n" |
| " NativeUint8List: function NativeUint8List() {\n" |
| " },\n" |
| " _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin() {\n" |
| " },\n" |
| " _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin() {\n" |
| " },\n" |
| " _NativeTypedArrayOfInt_NativeTypedArray_ListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin() {\n" |
| " },\n" |
| " _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin: function _NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin() {\n" |
| " },\n" |
| " Rti__getFutureFromFutureOr(universe, rti) {\n" |
| " var future = rti._precomputed1;\n" |
| " return future == null ? rti._precomputed1 = A._Universe__lookupInterfaceRti(universe, \"Future\", [rti._primary]) : future;\n" |
| " },\n" |
| " Rti__isUnionOfFunctionType(rti) {\n" |
| " var kind = rti._kind;\n" |
| " if (kind === 6 || kind === 7)\n" |
| " return A.Rti__isUnionOfFunctionType(rti._primary);\n" |
| " return kind === 11 || kind === 12;\n" |
| " },\n" |
| " Rti__getCanonicalRecipe(rti) {\n" |
| " return rti._canonicalRecipe;\n" |
| " },\n" |
| " findType(recipe) {\n" |
| " return A._Universe_eval(init.typeUniverse, recipe, false);\n" |
| " },\n" |
| " instantiatedGenericFunctionType(genericFunctionRti, instantiationRti) {\n" |
| " var t1, cache, key, probe, rti;\n" |
| " if (genericFunctionRti == null)\n" |
| " return null;\n" |
| " t1 = instantiationRti._rest;\n" |
| " cache = genericFunctionRti._bindCache;\n" |
| " if (cache == null)\n" |
| " cache = genericFunctionRti._bindCache = new Map();\n" |
| " key = instantiationRti._canonicalRecipe;\n" |
| " probe = cache.get(key);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " rti = A._substitute(init.typeUniverse, genericFunctionRti._primary, t1, 0);\n" |
| " cache.set(key, rti);\n" |
| " return rti;\n" |
| " },\n" |
| " _substitute(universe, rti, typeArguments, depth) {\n" |
| " var baseType, substitutedBaseType, interfaceTypeArguments, substitutedInterfaceTypeArguments, base, substitutedBase, \$arguments, substitutedArguments, t1, fields, substitutedFields, returnType, substitutedReturnType, functionParameters, substitutedFunctionParameters, bounds, substitutedBounds, index, argument,\n" |
| " kind = rti._kind;\n" |
| " switch (kind) {\n" |
| " case 5:\n" |
| " case 1:\n" |
| " case 2:\n" |
| " case 3:\n" |
| " case 4:\n" |
| " return rti;\n" |
| " case 6:\n" |
| " baseType = rti._primary;\n" |
| " substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);\n" |
| " if (substitutedBaseType === baseType)\n" |
| " return rti;\n" |
| " return A._Universe__lookupQuestionRti(universe, substitutedBaseType, true);\n" |
| " case 7:\n" |
| " baseType = rti._primary;\n" |
| " substitutedBaseType = A._substitute(universe, baseType, typeArguments, depth);\n" |
| " if (substitutedBaseType === baseType)\n" |
| " return rti;\n" |
| " return A._Universe__lookupFutureOrRti(universe, substitutedBaseType, true);\n" |
| " case 8:\n" |
| " interfaceTypeArguments = rti._rest;\n" |
| " substitutedInterfaceTypeArguments = A._substituteArray(universe, interfaceTypeArguments, typeArguments, depth);\n" |
| " if (substitutedInterfaceTypeArguments === interfaceTypeArguments)\n" |
| " return rti;\n" |
| " return A._Universe__lookupInterfaceRti(universe, rti._primary, substitutedInterfaceTypeArguments);\n" |
| " case 9:\n" |
| " base = rti._primary;\n" |
| " substitutedBase = A._substitute(universe, base, typeArguments, depth);\n" |
| " \$arguments = rti._rest;\n" |
| " substitutedArguments = A._substituteArray(universe, \$arguments, typeArguments, depth);\n" |
| " if (substitutedBase === base && substitutedArguments === \$arguments)\n" |
| " return rti;\n" |
| " return A._Universe__lookupBindingRti(universe, substitutedBase, substitutedArguments);\n" |
| " case 10:\n" |
| " t1 = rti._primary;\n" |
| " fields = rti._rest;\n" |
| " substitutedFields = A._substituteArray(universe, fields, typeArguments, depth);\n" |
| " if (substitutedFields === fields)\n" |
| " return rti;\n" |
| " return A._Universe__lookupRecordRti(universe, t1, substitutedFields);\n" |
| " case 11:\n" |
| " returnType = rti._primary;\n" |
| " substitutedReturnType = A._substitute(universe, returnType, typeArguments, depth);\n" |
| " functionParameters = rti._rest;\n" |
| " substitutedFunctionParameters = A._substituteFunctionParameters(universe, functionParameters, typeArguments, depth);\n" |
| " if (substitutedReturnType === returnType && substitutedFunctionParameters === functionParameters)\n" |
| " return rti;\n" |
| " return A._Universe__lookupFunctionRti(universe, substitutedReturnType, substitutedFunctionParameters);\n" |
| " case 12:\n" |
| " bounds = rti._rest;\n" |
| " depth += bounds.length;\n" |
| " substitutedBounds = A._substituteArray(universe, bounds, typeArguments, depth);\n" |
| " base = rti._primary;\n" |
| " substitutedBase = A._substitute(universe, base, typeArguments, depth);\n" |
| " if (substitutedBounds === bounds && substitutedBase === base)\n" |
| " return rti;\n" |
| " return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, true);\n" |
| " case 13:\n" |
| " index = rti._primary;\n" |
| " if (index < depth)\n" |
| " return rti;\n" |
| " argument = typeArguments[index - depth];\n" |
| " if (argument == null)\n" |
| " return rti;\n" |
| " return argument;\n" |
| " default:\n" |
| " throw A.wrapException(A.AssertionError\$(\"Attempted to substitute unexpected RTI kind \" + kind));\n" |
| " }\n" |
| " },\n" |
| " _substituteArray(universe, rtiArray, typeArguments, depth) {\n" |
| " var changed, i, rti, substitutedRti,\n" |
| " \$length = rtiArray.length,\n" |
| " result = A._Utils_newArrayOrEmpty(\$length);\n" |
| " for (changed = false, i = 0; i < \$length; ++i) {\n" |
| " rti = rtiArray[i];\n" |
| " substitutedRti = A._substitute(universe, rti, typeArguments, depth);\n" |
| " if (substitutedRti !== rti)\n" |
| " changed = true;\n" |
| " result[i] = substitutedRti;\n" |
| " }\n" |
| " return changed ? result : rtiArray;\n" |
| " },\n" |
| " _substituteNamed(universe, namedArray, typeArguments, depth) {\n" |
| " var changed, i, t1, t2, rti, substitutedRti,\n" |
| " \$length = namedArray.length,\n" |
| " result = A._Utils_newArrayOrEmpty(\$length);\n" |
| " for (changed = false, i = 0; i < \$length; i += 3) {\n" |
| " t1 = namedArray[i];\n" |
| " t2 = namedArray[i + 1];\n" |
| " rti = namedArray[i + 2];\n" |
| " substitutedRti = A._substitute(universe, rti, typeArguments, depth);\n" |
| " if (substitutedRti !== rti)\n" |
| " changed = true;\n" |
| " result.splice(i, 3, t1, t2, substitutedRti);\n" |
| " }\n" |
| " return changed ? result : namedArray;\n" |
| " },\n" |
| " _substituteFunctionParameters(universe, functionParameters, typeArguments, depth) {\n" |
| " var result,\n" |
| " requiredPositional = functionParameters._requiredPositional,\n" |
| " substitutedRequiredPositional = A._substituteArray(universe, requiredPositional, typeArguments, depth),\n" |
| " optionalPositional = functionParameters._optionalPositional,\n" |
| " substitutedOptionalPositional = A._substituteArray(universe, optionalPositional, typeArguments, depth),\n" |
| " named = functionParameters._named,\n" |
| " substitutedNamed = A._substituteNamed(universe, named, typeArguments, depth);\n" |
| " if (substitutedRequiredPositional === requiredPositional && substitutedOptionalPositional === optionalPositional && substitutedNamed === named)\n" |
| " return functionParameters;\n" |
| " result = new A._FunctionParameters();\n" |
| " result._requiredPositional = substitutedRequiredPositional;\n" |
| " result._optionalPositional = substitutedOptionalPositional;\n" |
| " result._named = substitutedNamed;\n" |
| " return result;\n" |
| " },\n" |
| " _setArrayType(target, rti) {\n" |
| " target[init.arrayRti] = rti;\n" |
| " return target;\n" |
| " },\n" |
| " closureFunctionType(closure) {\n" |
| " var signature = closure.\$signature;\n" |
| " if (signature != null) {\n" |
| " if (typeof signature == \"number\")\n" |
| " return A.getTypeFromTypesTable(signature);\n" |
| " return closure.\$signature();\n" |
| " }\n" |
| " return null;\n" |
| " },\n" |
| " instanceOrFunctionType(object, testRti) {\n" |
| " var rti;\n" |
| " if (A.Rti__isUnionOfFunctionType(testRti))\n" |
| " if (object instanceof A.Closure) {\n" |
| " rti = A.closureFunctionType(object);\n" |
| " if (rti != null)\n" |
| " return rti;\n" |
| " }\n" |
| " return A.instanceType(object);\n" |
| " },\n" |
| " instanceType(object) {\n" |
| " if (object instanceof A.Object)\n" |
| " return A._instanceType(object);\n" |
| " if (Array.isArray(object))\n" |
| " return A._arrayInstanceType(object);\n" |
| " return A._instanceTypeFromConstructor(J.getInterceptor\$(object));\n" |
| " },\n" |
| " _arrayInstanceType(object) {\n" |
| " var rti = object[init.arrayRti],\n" |
| " defaultRti = type\$.JSArray_dynamic;\n" |
| " if (rti == null)\n" |
| " return defaultRti;\n" |
| " if (rti.constructor !== defaultRti.constructor)\n" |
| " return defaultRti;\n" |
| " return rti;\n" |
| " },\n" |
| " _instanceType(object) {\n" |
| " var rti = object.\$ti;\n" |
| " return rti != null ? rti : A._instanceTypeFromConstructor(object);\n" |
| " },\n" |
| " _instanceTypeFromConstructor(instance) {\n" |
| " var \$constructor = instance.constructor,\n" |
| " probe = \$constructor.\$ccache;\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " return A._instanceTypeFromConstructorMiss(instance, \$constructor);\n" |
| " },\n" |
| " _instanceTypeFromConstructorMiss(instance, \$constructor) {\n" |
| " var effectiveConstructor = instance instanceof A.Closure ? Object.getPrototypeOf(Object.getPrototypeOf(instance)).constructor : \$constructor,\n" |
| " rti = A._Universe_findErasedType(init.typeUniverse, effectiveConstructor.name);\n" |
| " \$constructor.\$ccache = rti;\n" |
| " return rti;\n" |
| " },\n" |
| " getTypeFromTypesTable(index) {\n" |
| " var rti,\n" |
| " table = init.types,\n" |
| " type = table[index];\n" |
| " if (typeof type == \"string\") {\n" |
| " rti = A._Universe_eval(init.typeUniverse, type, false);\n" |
| " table[index] = rti;\n" |
| " return rti;\n" |
| " }\n" |
| " return type;\n" |
| " },\n" |
| " getRuntimeTypeOfDartObject(object) {\n" |
| " return A.createRuntimeType(A._instanceType(object));\n" |
| " },\n" |
| " getRuntimeTypeOfClosure(closure) {\n" |
| " var rti = A.closureFunctionType(closure);\n" |
| " return A.createRuntimeType(rti == null ? A.instanceType(closure) : rti);\n" |
| " },\n" |
| " _structuralTypeOf(object) {\n" |
| " var functionRti;\n" |
| " if (object instanceof A._Record)\n" |
| " return object._getRti\$0();\n" |
| " functionRti = object instanceof A.Closure ? A.closureFunctionType(object) : null;\n" |
| " if (functionRti != null)\n" |
| " return functionRti;\n" |
| " if (type\$.TrustedGetRuntimeType._is(object))\n" |
| " return J.get\$runtimeType\$(object)._rti;\n" |
| " if (Array.isArray(object))\n" |
| " return A._arrayInstanceType(object);\n" |
| " return A.instanceType(object);\n" |
| " },\n" |
| " createRuntimeType(rti) {\n" |
| " var t1 = rti._cachedRuntimeType;\n" |
| " return t1 == null ? rti._cachedRuntimeType = new A._Type(rti) : t1;\n" |
| " },\n" |
| " evaluateRtiForRecord(recordRecipe, valuesList) {\n" |
| " var bindings, i,\n" |
| " values = valuesList,\n" |
| " \$length = values.length;\n" |
| " if (\$length === 0)\n" |
| " return type\$.Record_0;\n" |
| " if (0 >= \$length)\n" |
| " return A.ioore(values, 0);\n" |
| " bindings = A._Universe_evalInEnvironment(init.typeUniverse, A._structuralTypeOf(values[0]), \"@<0>\");\n" |
| " for (i = 1; i < \$length; ++i) {\n" |
| " if (!(i < values.length))\n" |
| " return A.ioore(values, i);\n" |
| " bindings = A._Universe_bind(init.typeUniverse, bindings, A._structuralTypeOf(values[i]));\n" |
| " }\n" |
| " return A._Universe_evalInEnvironment(init.typeUniverse, bindings, recordRecipe);\n" |
| " },\n" |
| " typeLiteral(recipe) {\n" |
| " return A.createRuntimeType(A._Universe_eval(init.typeUniverse, recipe, false));\n" |
| " },\n" |
| " _installSpecializedIsTest(object) {\n" |
| " var testRti = this;\n" |
| " testRti._is = A._specializedIsTest(testRti);\n" |
| " return testRti._is(object);\n" |
| " },\n" |
| " _specializedIsTest(testRti) {\n" |
| " var kind, simpleIsFn, \$name, predicate, t1;\n" |
| " if (testRti === type\$.Object)\n" |
| " return A._isObject;\n" |
| " if (A.isTopType(testRti))\n" |
| " return A._isTop;\n" |
| " kind = testRti._kind;\n" |
| " if (kind === 6)\n" |
| " return A._generalNullableIsTestImplementation;\n" |
| " if (kind === 1)\n" |
| " return A._isNever;\n" |
| " if (kind === 7)\n" |
| " return A._isFutureOr;\n" |
| " simpleIsFn = A._simpleSpecializedIsTest(testRti);\n" |
| " if (simpleIsFn != null)\n" |
| " return simpleIsFn;\n" |
| " if (kind === 8) {\n" |
| " \$name = testRti._primary;\n" |
| " if (testRti._rest.every(A.isTopType)) {\n" |
| " testRti._specializedTestResource = \"\$is\" + \$name;\n" |
| " if (\$name === \"List\")\n" |
| " return A._isListTestViaProperty;\n" |
| " if (testRti === type\$.JSObject)\n" |
| " return A._isJSObject;\n" |
| " return A._isTestViaProperty;\n" |
| " }\n" |
| " } else if (kind === 10) {\n" |
| " predicate = A.createRecordTypePredicate(testRti._primary, testRti._rest);\n" |
| " t1 = predicate == null ? A._isNever : predicate;\n" |
| " return t1 == null ? A._asObject(t1) : t1;\n" |
| " }\n" |
| " return A._generalIsTestImplementation;\n" |
| " },\n" |
| " _simpleSpecializedIsTest(testRti) {\n" |
| " if (testRti._kind === 8) {\n" |
| " if (testRti === type\$.int)\n" |
| " return A._isInt;\n" |
| " if (testRti === type\$.double || testRti === type\$.num)\n" |
| " return A._isNum;\n" |
| " if (testRti === type\$.String)\n" |
| " return A._isString;\n" |
| " if (testRti === type\$.bool)\n" |
| " return A._isBool;\n" |
| " }\n" |
| " return null;\n" |
| " },\n" |
| " _installSpecializedAsCheck(object) {\n" |
| " var testRti = this,\n" |
| " asFn = A._generalAsCheckImplementation;\n" |
| " if (A.isTopType(testRti))\n" |
| " asFn = A._asTop;\n" |
| " else if (testRti === type\$.Object)\n" |
| " asFn = A._asObject;\n" |
| " else if (A.isNullable(testRti)) {\n" |
| " asFn = A._generalNullableAsCheckImplementation;\n" |
| " if (testRti === type\$.nullable_int)\n" |
| " asFn = A._asIntQ;\n" |
| " else if (testRti === type\$.nullable_String)\n" |
| " asFn = A._asStringQ;\n" |
| " else if (testRti === type\$.nullable_bool)\n" |
| " asFn = A._asBoolQ;\n" |
| " else if (testRti === type\$.nullable_num)\n" |
| " asFn = A._asNumQ;\n" |
| " else if (testRti === type\$.nullable_double)\n" |
| " asFn = A._asDoubleQ;\n" |
| " else if (testRti === type\$.nullable_JSObject)\n" |
| " asFn = A._asJSObjectQ;\n" |
| " } else if (testRti === type\$.int)\n" |
| " asFn = A._asInt;\n" |
| " else if (testRti === type\$.String)\n" |
| " asFn = A._asString;\n" |
| " else if (testRti === type\$.bool)\n" |
| " asFn = A._asBool;\n" |
| " else if (testRti === type\$.num)\n" |
| " asFn = A._asNum;\n" |
| " else if (testRti === type\$.double)\n" |
| " asFn = A._asDouble;\n" |
| " else if (testRti === type\$.JSObject)\n" |
| " asFn = A._asJSObject;\n" |
| " testRti._as = asFn;\n" |
| " return testRti._as(object);\n" |
| " },\n" |
| " _generalIsTestImplementation(object) {\n" |
| " var testRti = this;\n" |
| " if (object == null)\n" |
| " return A.isNullable(testRti);\n" |
| " return A.isSubtype(init.typeUniverse, A.instanceOrFunctionType(object, testRti), testRti);\n" |
| " },\n" |
| " _generalNullableIsTestImplementation(object) {\n" |
| " if (object == null)\n" |
| " return true;\n" |
| " return this._primary._is(object);\n" |
| " },\n" |
| " _isTestViaProperty(object) {\n" |
| " var tag, testRti = this;\n" |
| " if (object == null)\n" |
| " return A.isNullable(testRti);\n" |
| " tag = testRti._specializedTestResource;\n" |
| " if (object instanceof A.Object)\n" |
| " return !!object[tag];\n" |
| " return !!J.getInterceptor\$(object)[tag];\n" |
| " },\n" |
| " _isListTestViaProperty(object) {\n" |
| " var tag, testRti = this;\n" |
| " if (object == null)\n" |
| " return A.isNullable(testRti);\n" |
| " if (typeof object != \"object\")\n" |
| " return false;\n" |
| " if (Array.isArray(object))\n" |
| " return true;\n" |
| " tag = testRti._specializedTestResource;\n" |
| " if (object instanceof A.Object)\n" |
| " return !!object[tag];\n" |
| " return !!J.getInterceptor\$(object)[tag];\n" |
| " },\n" |
| " _isJSObject(object) {\n" |
| " var t1 = this;\n" |
| " if (object == null)\n" |
| " return false;\n" |
| " if (typeof object == \"object\") {\n" |
| " if (object instanceof A.Object)\n" |
| " return !!object[t1._specializedTestResource];\n" |
| " return true;\n" |
| " }\n" |
| " if (typeof object == \"function\")\n" |
| " return true;\n" |
| " return false;\n" |
| " },\n" |
| " _isJSObjectStandalone(object) {\n" |
| " if (typeof object == \"object\") {\n" |
| " if (object instanceof A.Object)\n" |
| " return type\$.JSObject._is(object);\n" |
| " return true;\n" |
| " }\n" |
| " if (typeof object == \"function\")\n" |
| " return true;\n" |
| " return false;\n" |
| " },\n" |
| " _generalAsCheckImplementation(object) {\n" |
| " var testRti = this;\n" |
| " if (object == null) {\n" |
| " if (A.isNullable(testRti))\n" |
| " return object;\n" |
| " } else if (testRti._is(object))\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._errorForAsCheck(object, testRti), new Error());\n" |
| " },\n" |
| " _generalNullableAsCheckImplementation(object) {\n" |
| " var testRti = this;\n" |
| " if (object == null || testRti._is(object))\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._errorForAsCheck(object, testRti), new Error());\n" |
| " },\n" |
| " _errorForAsCheck(object, testRti) {\n" |
| " return new A._TypeError(\"TypeError: \" + A._Error_compose(object, A._rtiToString(testRti, null)));\n" |
| " },\n" |
| " checkTypeBound(type, bound, variable, methodName) {\n" |
| " if (A.isSubtype(init.typeUniverse, type, bound))\n" |
| " return type;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError\$fromMessage(\"The type argument '\" + A._rtiToString(type, null) + \"' is not a subtype of the type variable bound '\" + A._rtiToString(bound, null) + \"' of type variable '\" + variable + \"' in '\" + methodName + \"'.\"), new Error());\n" |
| " },\n" |
| " _Error_compose(object, checkedTypeDescription) {\n" |
| " return A.Error_safeToString(object) + \": type '\" + A._rtiToString(A._structuralTypeOf(object), null) + \"' is not a subtype of type '\" + checkedTypeDescription + \"'\";\n" |
| " },\n" |
| " _TypeError\$fromMessage(message) {\n" |
| " return new A._TypeError(\"TypeError: \" + message);\n" |
| " },\n" |
| " _TypeError__TypeError\$forType(object, type) {\n" |
| " return new A._TypeError(\"TypeError: \" + A._Error_compose(object, type));\n" |
| " },\n" |
| " _isFutureOr(object) {\n" |
| " var testRti = this;\n" |
| " return testRti._primary._is(object) || A.Rti__getFutureFromFutureOr(init.typeUniverse, testRti)._is(object);\n" |
| " },\n" |
| " _isObject(object) {\n" |
| " return object != null;\n" |
| " },\n" |
| " _asObject(object) {\n" |
| " if (object != null)\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"Object\"), new Error());\n" |
| " },\n" |
| " _isTop(object) {\n" |
| " return true;\n" |
| " },\n" |
| " _asTop(object) {\n" |
| " return object;\n" |
| " },\n" |
| " _isNever(object) {\n" |
| " return false;\n" |
| " },\n" |
| " _isBool(object) {\n" |
| " return true === object || false === object;\n" |
| " },\n" |
| " _asBool(object) {\n" |
| " if (true === object)\n" |
| " return true;\n" |
| " if (false === object)\n" |
| " return false;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"bool\"), new Error());\n" |
| " },\n" |
| " _asBoolQ(object) {\n" |
| " if (true === object)\n" |
| " return true;\n" |
| " if (false === object)\n" |
| " return false;\n" |
| " if (object == null)\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"bool?\"), new Error());\n" |
| " },\n" |
| " _asDouble(object) {\n" |
| " if (typeof object == \"number\")\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"double\"), new Error());\n" |
| " },\n" |
| " _asDoubleQ(object) {\n" |
| " if (typeof object == \"number\")\n" |
| " return object;\n" |
| " if (object == null)\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"double?\"), new Error());\n" |
| " },\n" |
| " _isInt(object) {\n" |
| " return typeof object == \"number\" && Math.floor(object) === object;\n" |
| " },\n" |
| " _asInt(object) {\n" |
| " if (typeof object == \"number\" && Math.floor(object) === object)\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"int\"), new Error());\n" |
| " },\n" |
| " _asIntQ(object) {\n" |
| " if (typeof object == \"number\" && Math.floor(object) === object)\n" |
| " return object;\n" |
| " if (object == null)\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"int?\"), new Error());\n" |
| " },\n" |
| " _isNum(object) {\n" |
| " return typeof object == \"number\";\n" |
| " },\n" |
| " _asNum(object) {\n" |
| " if (typeof object == \"number\")\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"num\"), new Error());\n" |
| " },\n" |
| " _asNumQ(object) {\n" |
| " if (typeof object == \"number\")\n" |
| " return object;\n" |
| " if (object == null)\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"num?\"), new Error());\n" |
| " },\n" |
| " _isString(object) {\n" |
| " return typeof object == \"string\";\n" |
| " },\n" |
| " _asString(object) {\n" |
| " if (typeof object == \"string\")\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"String\"), new Error());\n" |
| " },\n" |
| " _asStringQ(object) {\n" |
| " if (typeof object == \"string\")\n" |
| " return object;\n" |
| " if (object == null)\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"String?\"), new Error());\n" |
| " },\n" |
| " _asJSObject(object) {\n" |
| " if (A._isJSObjectStandalone(object))\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"JSObject\"), new Error());\n" |
| " },\n" |
| " _asJSObjectQ(object) {\n" |
| " if (object == null)\n" |
| " return object;\n" |
| " if (A._isJSObjectStandalone(object))\n" |
| " return object;\n" |
| " throw A.initializeExceptionWrapper(A._TypeError__TypeError\$forType(object, \"JSObject?\"), new Error());\n" |
| " },\n" |
| " _rtiArrayToString(array, genericContext) {\n" |
| " var s, sep, i;\n" |
| " for (s = \"\", sep = \"\", i = 0; i < array.length; ++i, sep = \", \")\n" |
| " s += sep + A._rtiToString(array[i], genericContext);\n" |
| " return s;\n" |
| " },\n" |
| " _recordRtiToString(recordType, genericContext) {\n" |
| " var fieldCount, names, namesIndex, s, comma, i,\n" |
| " partialShape = recordType._primary,\n" |
| " fields = recordType._rest;\n" |
| " if (\"\" === partialShape)\n" |
| " return \"(\" + A._rtiArrayToString(fields, genericContext) + \")\";\n" |
| " fieldCount = fields.length;\n" |
| " names = partialShape.split(\",\");\n" |
| " namesIndex = names.length - fieldCount;\n" |
| " for (s = \"(\", comma = \"\", i = 0; i < fieldCount; ++i, comma = \", \") {\n" |
| " s += comma;\n" |
| " if (namesIndex === 0)\n" |
| " s += \"{\";\n" |
| " s += A._rtiToString(fields[i], genericContext);\n" |
| " if (namesIndex >= 0)\n" |
| " s += \" \" + names[namesIndex];\n" |
| " ++namesIndex;\n" |
| " }\n" |
| " return s + \"})\";\n" |
| " },\n" |
| " _functionRtiToString(functionType, genericContext, bounds) {\n" |
| " var boundsLength, offset, i, t1, typeParametersText, typeSep, t2, t3, boundRti, kind, parameters, requiredPositional, requiredPositionalLength, optionalPositional, optionalPositionalLength, named, namedLength, returnTypeText, argumentsText, sep, _s2_ = \", \", outerContextLength = null;\n" |
| " if (bounds != null) {\n" |
| " boundsLength = bounds.length;\n" |
| " if (genericContext == null)\n" |
| " genericContext = A._setArrayType([], type\$.JSArray_String);\n" |
| " else\n" |
| " outerContextLength = genericContext.length;\n" |
| " offset = genericContext.length;\n" |
| " for (i = boundsLength; i > 0; --i)\n" |
| " B.JSArray_methods.add\$1(genericContext, \"T\" + (offset + i));\n" |
| " for (t1 = type\$.nullable_Object, typeParametersText = \"<\", typeSep = \"\", i = 0; i < boundsLength; ++i, typeSep = _s2_) {\n" |
| " t2 = genericContext.length;\n" |
| " t3 = t2 - 1 - i;\n" |
| " if (!(t3 >= 0))\n" |
| " return A.ioore(genericContext, t3);\n" |
| " typeParametersText = typeParametersText + typeSep + genericContext[t3];\n" |
| " boundRti = bounds[i];\n" |
| " kind = boundRti._kind;\n" |
| " if (!(kind === 2 || kind === 3 || kind === 4 || kind === 5 || boundRti === t1))\n" |
| " typeParametersText += \" extends \" + A._rtiToString(boundRti, genericContext);\n" |
| " }\n" |
| " typeParametersText += \">\";\n" |
| " } else\n" |
| " typeParametersText = \"\";\n" |
| " t1 = functionType._primary;\n" |
| " parameters = functionType._rest;\n" |
| " requiredPositional = parameters._requiredPositional;\n" |
| " requiredPositionalLength = requiredPositional.length;\n" |
| " optionalPositional = parameters._optionalPositional;\n" |
| " optionalPositionalLength = optionalPositional.length;\n" |
| " named = parameters._named;\n" |
| " namedLength = named.length;\n" |
| " returnTypeText = A._rtiToString(t1, genericContext);\n" |
| " for (argumentsText = \"\", sep = \"\", i = 0; i < requiredPositionalLength; ++i, sep = _s2_)\n" |
| " argumentsText += sep + A._rtiToString(requiredPositional[i], genericContext);\n" |
| " if (optionalPositionalLength > 0) {\n" |
| " argumentsText += sep + \"[\";\n" |
| " for (sep = \"\", i = 0; i < optionalPositionalLength; ++i, sep = _s2_)\n" |
| " argumentsText += sep + A._rtiToString(optionalPositional[i], genericContext);\n" |
| " argumentsText += \"]\";\n" |
| " }\n" |
| " if (namedLength > 0) {\n" |
| " argumentsText += sep + \"{\";\n" |
| " for (sep = \"\", i = 0; i < namedLength; i += 3, sep = _s2_) {\n" |
| " argumentsText += sep;\n" |
| " if (named[i + 1])\n" |
| " argumentsText += \"required \";\n" |
| " argumentsText += A._rtiToString(named[i + 2], genericContext) + \" \" + named[i];\n" |
| " }\n" |
| " argumentsText += \"}\";\n" |
| " }\n" |
| " if (outerContextLength != null) {\n" |
| " genericContext.toString;\n" |
| " genericContext.length = outerContextLength;\n" |
| " }\n" |
| " return typeParametersText + \"(\" + argumentsText + \") => \" + returnTypeText;\n" |
| " },\n" |
| " _rtiToString(rti, genericContext) {\n" |
| " var questionArgument, s, argumentKind, \$name, \$arguments, t1, t2,\n" |
| " kind = rti._kind;\n" |
| " if (kind === 5)\n" |
| " return \"erased\";\n" |
| " if (kind === 2)\n" |
| " return \"dynamic\";\n" |
| " if (kind === 3)\n" |
| " return \"void\";\n" |
| " if (kind === 1)\n" |
| " return \"Never\";\n" |
| " if (kind === 4)\n" |
| " return \"any\";\n" |
| " if (kind === 6) {\n" |
| " questionArgument = rti._primary;\n" |
| " s = A._rtiToString(questionArgument, genericContext);\n" |
| " argumentKind = questionArgument._kind;\n" |
| " return (argumentKind === 11 || argumentKind === 12 ? \"(\" + s + \")\" : s) + \"?\";\n" |
| " }\n" |
| " if (kind === 7)\n" |
| " return \"FutureOr<\" + A._rtiToString(rti._primary, genericContext) + \">\";\n" |
| " if (kind === 8) {\n" |
| " \$name = A._unminifyOrTag(rti._primary);\n" |
| " \$arguments = rti._rest;\n" |
| " return \$arguments.length > 0 ? \$name + (\"<\" + A._rtiArrayToString(\$arguments, genericContext) + \">\") : \$name;\n" |
| " }\n" |
| " if (kind === 10)\n" |
| " return A._recordRtiToString(rti, genericContext);\n" |
| " if (kind === 11)\n" |
| " return A._functionRtiToString(rti, genericContext, null);\n" |
| " if (kind === 12)\n" |
| " return A._functionRtiToString(rti._primary, genericContext, rti._rest);\n" |
| " if (kind === 13) {\n" |
| " t1 = rti._primary;\n" |
| " t2 = genericContext.length;\n" |
| " t1 = t2 - 1 - t1;\n" |
| " if (!(t1 >= 0 && t1 < t2))\n" |
| " return A.ioore(genericContext, t1);\n" |
| " return genericContext[t1];\n" |
| " }\n" |
| " return \"?\";\n" |
| " },\n" |
| " _unminifyOrTag(rawClassName) {\n" |
| " var preserved = init.mangledGlobalNames[rawClassName];\n" |
| " if (preserved != null)\n" |
| " return preserved;\n" |
| " return rawClassName;\n" |
| " },\n" |
| " _Universe_findRule(universe, targetType) {\n" |
| " var rule = universe.tR[targetType];\n" |
| " while (typeof rule == \"string\")\n" |
| " rule = universe.tR[rule];\n" |
| " return rule;\n" |
| " },\n" |
| " _Universe_findErasedType(universe, cls) {\n" |
| " var \$length, erased, \$arguments, i, \$interface,\n" |
| " metadata = universe.eT,\n" |
| " probe = metadata[cls];\n" |
| " if (probe == null)\n" |
| " return A._Universe_eval(universe, cls, false);\n" |
| " else if (typeof probe == \"number\") {\n" |
| " \$length = probe;\n" |
| " erased = A._Universe__lookupTerminalRti(universe, 5, \"#\");\n" |
| " \$arguments = A._Utils_newArrayOrEmpty(\$length);\n" |
| " for (i = 0; i < \$length; ++i)\n" |
| " \$arguments[i] = erased;\n" |
| " \$interface = A._Universe__lookupInterfaceRti(universe, cls, \$arguments);\n" |
| " metadata[cls] = \$interface;\n" |
| " return \$interface;\n" |
| " } else\n" |
| " return probe;\n" |
| " },\n" |
| " _Universe_addRules(universe, rules) {\n" |
| " return A._Utils_objectAssign(universe.tR, rules);\n" |
| " },\n" |
| " _Universe_addErasedTypes(universe, types) {\n" |
| " return A._Utils_objectAssign(universe.eT, types);\n" |
| " },\n" |
| " _Universe_eval(universe, recipe, normalize) {\n" |
| " var rti,\n" |
| " cache = universe.eC,\n" |
| " probe = cache.get(recipe);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " rti = A._Parser_parse(A._Parser_create(universe, null, recipe, false));\n" |
| " cache.set(recipe, rti);\n" |
| " return rti;\n" |
| " },\n" |
| " _Universe_evalInEnvironment(universe, environment, recipe) {\n" |
| " var probe, rti,\n" |
| " cache = environment._evalCache;\n" |
| " if (cache == null)\n" |
| " cache = environment._evalCache = new Map();\n" |
| " probe = cache.get(recipe);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " rti = A._Parser_parse(A._Parser_create(universe, environment, recipe, true));\n" |
| " cache.set(recipe, rti);\n" |
| " return rti;\n" |
| " },\n" |
| " _Universe_bind(universe, environment, argumentsRti) {\n" |
| " var argumentsRecipe, probe, rti,\n" |
| " cache = environment._bindCache;\n" |
| " if (cache == null)\n" |
| " cache = environment._bindCache = new Map();\n" |
| " argumentsRecipe = argumentsRti._canonicalRecipe;\n" |
| " probe = cache.get(argumentsRecipe);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " rti = A._Universe__lookupBindingRti(universe, environment, argumentsRti._kind === 9 ? argumentsRti._rest : [argumentsRti]);\n" |
| " cache.set(argumentsRecipe, rti);\n" |
| " return rti;\n" |
| " },\n" |
| " _Universe__installTypeTests(universe, rti) {\n" |
| " rti._as = A._installSpecializedAsCheck;\n" |
| " rti._is = A._installSpecializedIsTest;\n" |
| " return rti;\n" |
| " },\n" |
| " _Universe__lookupTerminalRti(universe, kind, key) {\n" |
| " var rti, t1,\n" |
| " probe = universe.eC.get(key);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " rti = new A.Rti(null, null);\n" |
| " rti._kind = kind;\n" |
| " rti._canonicalRecipe = key;\n" |
| " t1 = A._Universe__installTypeTests(universe, rti);\n" |
| " universe.eC.set(key, t1);\n" |
| " return t1;\n" |
| " },\n" |
| " _Universe__lookupQuestionRti(universe, baseType, normalize) {\n" |
| " var t1,\n" |
| " key = baseType._canonicalRecipe + \"?\",\n" |
| " probe = universe.eC.get(key);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " t1 = A._Universe__createQuestionRti(universe, baseType, key, normalize);\n" |
| " universe.eC.set(key, t1);\n" |
| " return t1;\n" |
| " },\n" |
| " _Universe__createQuestionRti(universe, baseType, key, normalize) {\n" |
| " var baseKind, t1, rti;\n" |
| " if (normalize) {\n" |
| " baseKind = baseType._kind;\n" |
| " t1 = true;\n" |
| " if (!A.isTopType(baseType))\n" |
| " if (!(baseType === type\$.Null || baseType === type\$.JSNull))\n" |
| " if (baseKind !== 6)\n" |
| " t1 = baseKind === 7 && A.isNullable(baseType._primary);\n" |
| " if (t1)\n" |
| " return baseType;\n" |
| " else if (baseKind === 1)\n" |
| " return type\$.Null;\n" |
| " }\n" |
| " rti = new A.Rti(null, null);\n" |
| " rti._kind = 6;\n" |
| " rti._primary = baseType;\n" |
| " rti._canonicalRecipe = key;\n" |
| " return A._Universe__installTypeTests(universe, rti);\n" |
| " },\n" |
| " _Universe__lookupFutureOrRti(universe, baseType, normalize) {\n" |
| " var t1,\n" |
| " key = baseType._canonicalRecipe + \"/\",\n" |
| " probe = universe.eC.get(key);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " t1 = A._Universe__createFutureOrRti(universe, baseType, key, normalize);\n" |
| " universe.eC.set(key, t1);\n" |
| " return t1;\n" |
| " },\n" |
| " _Universe__createFutureOrRti(universe, baseType, key, normalize) {\n" |
| " var t1, rti;\n" |
| " if (normalize) {\n" |
| " t1 = baseType._kind;\n" |
| " if (A.isTopType(baseType) || baseType === type\$.Object)\n" |
| " return baseType;\n" |
| " else if (t1 === 1)\n" |
| " return A._Universe__lookupInterfaceRti(universe, \"Future\", [baseType]);\n" |
| " else if (baseType === type\$.Null || baseType === type\$.JSNull)\n" |
| " return type\$.nullable_Future_Null;\n" |
| " }\n" |
| " rti = new A.Rti(null, null);\n" |
| " rti._kind = 7;\n" |
| " rti._primary = baseType;\n" |
| " rti._canonicalRecipe = key;\n" |
| " return A._Universe__installTypeTests(universe, rti);\n" |
| " },\n" |
| " _Universe__lookupGenericFunctionParameterRti(universe, index) {\n" |
| " var rti, t1,\n" |
| " key = \"\" + index + \"^\",\n" |
| " probe = universe.eC.get(key);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " rti = new A.Rti(null, null);\n" |
| " rti._kind = 13;\n" |
| " rti._primary = index;\n" |
| " rti._canonicalRecipe = key;\n" |
| " t1 = A._Universe__installTypeTests(universe, rti);\n" |
| " universe.eC.set(key, t1);\n" |
| " return t1;\n" |
| " },\n" |
| " _Universe__canonicalRecipeJoin(\$arguments) {\n" |
| " var s, sep, i,\n" |
| " \$length = \$arguments.length;\n" |
| " for (s = \"\", sep = \"\", i = 0; i < \$length; ++i, sep = \",\")\n" |
| " s += sep + \$arguments[i]._canonicalRecipe;\n" |
| " return s;\n" |
| " },\n" |
| " _Universe__canonicalRecipeJoinNamed(\$arguments) {\n" |
| " var s, sep, i, t1, nameSep,\n" |
| " \$length = \$arguments.length;\n" |
| " for (s = \"\", sep = \"\", i = 0; i < \$length; i += 3, sep = \",\") {\n" |
| " t1 = \$arguments[i];\n" |
| " nameSep = \$arguments[i + 1] ? \"!\" : \":\";\n" |
| " s += sep + t1 + nameSep + \$arguments[i + 2]._canonicalRecipe;\n" |
| " }\n" |
| " return s;\n" |
| " },\n" |
| " _Universe__lookupInterfaceRti(universe, \$name, \$arguments) {\n" |
| " var probe, rti, t1,\n" |
| " s = \$name;\n" |
| " if (\$arguments.length > 0)\n" |
| " s += \"<\" + A._Universe__canonicalRecipeJoin(\$arguments) + \">\";\n" |
| " probe = universe.eC.get(s);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " rti = new A.Rti(null, null);\n" |
| " rti._kind = 8;\n" |
| " rti._primary = \$name;\n" |
| " rti._rest = \$arguments;\n" |
| " if (\$arguments.length > 0)\n" |
| " rti._precomputed1 = \$arguments[0];\n" |
| " rti._canonicalRecipe = s;\n" |
| " t1 = A._Universe__installTypeTests(universe, rti);\n" |
| " universe.eC.set(s, t1);\n" |
| " return t1;\n" |
| " },\n" |
| " _Universe__lookupBindingRti(universe, base, \$arguments) {\n" |
| " var newBase, newArguments, key, probe, rti, t1;\n" |
| " if (base._kind === 9) {\n" |
| " newBase = base._primary;\n" |
| " newArguments = base._rest.concat(\$arguments);\n" |
| " } else {\n" |
| " newArguments = \$arguments;\n" |
| " newBase = base;\n" |
| " }\n" |
| " key = newBase._canonicalRecipe + (\";<\" + A._Universe__canonicalRecipeJoin(newArguments) + \">\");\n" |
| " probe = universe.eC.get(key);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " rti = new A.Rti(null, null);\n" |
| " rti._kind = 9;\n" |
| " rti._primary = newBase;\n" |
| " rti._rest = newArguments;\n" |
| " rti._canonicalRecipe = key;\n" |
| " t1 = A._Universe__installTypeTests(universe, rti);\n" |
| " universe.eC.set(key, t1);\n" |
| " return t1;\n" |
| " },\n" |
| " _Universe__lookupRecordRti(universe, partialShapeTag, fields) {\n" |
| " var rti, t1,\n" |
| " key = \"+\" + (partialShapeTag + \"(\" + A._Universe__canonicalRecipeJoin(fields) + \")\"),\n" |
| " probe = universe.eC.get(key);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " rti = new A.Rti(null, null);\n" |
| " rti._kind = 10;\n" |
| " rti._primary = partialShapeTag;\n" |
| " rti._rest = fields;\n" |
| " rti._canonicalRecipe = key;\n" |
| " t1 = A._Universe__installTypeTests(universe, rti);\n" |
| " universe.eC.set(key, t1);\n" |
| " return t1;\n" |
| " },\n" |
| " _Universe__lookupFunctionRti(universe, returnType, parameters) {\n" |
| " var sep, key, probe, rti, t1,\n" |
| " s = returnType._canonicalRecipe,\n" |
| " requiredPositional = parameters._requiredPositional,\n" |
| " requiredPositionalLength = requiredPositional.length,\n" |
| " optionalPositional = parameters._optionalPositional,\n" |
| " optionalPositionalLength = optionalPositional.length,\n" |
| " named = parameters._named,\n" |
| " namedLength = named.length,\n" |
| " recipe = \"(\" + A._Universe__canonicalRecipeJoin(requiredPositional);\n" |
| " if (optionalPositionalLength > 0) {\n" |
| " sep = requiredPositionalLength > 0 ? \",\" : \"\";\n" |
| " recipe += sep + \"[\" + A._Universe__canonicalRecipeJoin(optionalPositional) + \"]\";\n" |
| " }\n" |
| " if (namedLength > 0) {\n" |
| " sep = requiredPositionalLength > 0 ? \",\" : \"\";\n" |
| " recipe += sep + \"{\" + A._Universe__canonicalRecipeJoinNamed(named) + \"}\";\n" |
| " }\n" |
| " key = s + (recipe + \")\");\n" |
| " probe = universe.eC.get(key);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " rti = new A.Rti(null, null);\n" |
| " rti._kind = 11;\n" |
| " rti._primary = returnType;\n" |
| " rti._rest = parameters;\n" |
| " rti._canonicalRecipe = key;\n" |
| " t1 = A._Universe__installTypeTests(universe, rti);\n" |
| " universe.eC.set(key, t1);\n" |
| " return t1;\n" |
| " },\n" |
| " _Universe__lookupGenericFunctionRti(universe, baseFunctionType, bounds, normalize) {\n" |
| " var t1,\n" |
| " key = baseFunctionType._canonicalRecipe + (\"<\" + A._Universe__canonicalRecipeJoin(bounds) + \">\"),\n" |
| " probe = universe.eC.get(key);\n" |
| " if (probe != null)\n" |
| " return probe;\n" |
| " t1 = A._Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize);\n" |
| " universe.eC.set(key, t1);\n" |
| " return t1;\n" |
| " },\n" |
| " _Universe__createGenericFunctionRti(universe, baseFunctionType, bounds, key, normalize) {\n" |
| " var \$length, typeArguments, count, i, bound, substitutedBase, substitutedBounds, rti;\n" |
| " if (normalize) {\n" |
| " \$length = bounds.length;\n" |
| " typeArguments = A._Utils_newArrayOrEmpty(\$length);\n" |
| " for (count = 0, i = 0; i < \$length; ++i) {\n" |
| " bound = bounds[i];\n" |
| " if (bound._kind === 1) {\n" |
| " typeArguments[i] = bound;\n" |
| " ++count;\n" |
| " }\n" |
| " }\n" |
| " if (count > 0) {\n" |
| " substitutedBase = A._substitute(universe, baseFunctionType, typeArguments, 0);\n" |
| " substitutedBounds = A._substituteArray(universe, bounds, typeArguments, 0);\n" |
| " return A._Universe__lookupGenericFunctionRti(universe, substitutedBase, substitutedBounds, bounds !== substitutedBounds);\n" |
| " }\n" |
| " }\n" |
| " rti = new A.Rti(null, null);\n" |
| " rti._kind = 12;\n" |
| " rti._primary = baseFunctionType;\n" |
| " rti._rest = bounds;\n" |
| " rti._canonicalRecipe = key;\n" |
| " return A._Universe__installTypeTests(universe, rti);\n" |
| " },\n" |
| " _Parser_create(universe, environment, recipe, normalize) {\n" |
| " return {u: universe, e: environment, r: recipe, s: [], p: 0, n: normalize};\n" |
| " },\n" |
| " _Parser_parse(parser) {\n" |
| " var t1, i, ch, u, array, end, item,\n" |
| " source = parser.r,\n" |
| " stack = parser.s;\n" |
| " for (t1 = source.length, i = 0; i < t1;) {\n" |
| " ch = source.charCodeAt(i);\n" |
| " if (ch >= 48 && ch <= 57)\n" |
| " i = A._Parser_handleDigit(i + 1, ch, source, stack);\n" |
| " else if ((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124)\n" |
| " i = A._Parser_handleIdentifier(parser, i, source, stack, false);\n" |
| " else if (ch === 46)\n" |
| " i = A._Parser_handleIdentifier(parser, i, source, stack, true);\n" |
| " else {\n" |
| " ++i;\n" |
| " switch (ch) {\n" |
| " case 44:\n" |
| " break;\n" |
| " case 58:\n" |
| " stack.push(false);\n" |
| " break;\n" |
| " case 33:\n" |
| " stack.push(true);\n" |
| " break;\n" |
| " case 59:\n" |
| " stack.push(A._Parser_toType(parser.u, parser.e, stack.pop()));\n" |
| " break;\n" |
| " case 94:\n" |
| " stack.push(A._Universe__lookupGenericFunctionParameterRti(parser.u, stack.pop()));\n" |
| " break;\n" |
| " case 35:\n" |
| " stack.push(A._Universe__lookupTerminalRti(parser.u, 5, \"#\"));\n" |
| " break;\n" |
| " case 64:\n" |
| " stack.push(A._Universe__lookupTerminalRti(parser.u, 2, \"@\"));\n" |
| " break;\n" |
| " case 126:\n" |
| " stack.push(A._Universe__lookupTerminalRti(parser.u, 3, \"~\"));\n" |
| " break;\n" |
| " case 60:\n" |
| " stack.push(parser.p);\n" |
| " parser.p = stack.length;\n" |
| " break;\n" |
| " case 62:\n" |
| " A._Parser_handleTypeArguments(parser, stack);\n" |
| " break;\n" |
| " case 38:\n" |
| " A._Parser_handleExtendedOperations(parser, stack);\n" |
| " break;\n" |
| " case 63:\n" |
| " u = parser.u;\n" |
| " stack.push(A._Universe__lookupQuestionRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n));\n" |
| " break;\n" |
| " case 47:\n" |
| " u = parser.u;\n" |
| " stack.push(A._Universe__lookupFutureOrRti(u, A._Parser_toType(u, parser.e, stack.pop()), parser.n));\n" |
| " break;\n" |
| " case 40:\n" |
| " stack.push(-3);\n" |
| " stack.push(parser.p);\n" |
| " parser.p = stack.length;\n" |
| " break;\n" |
| " case 41:\n" |
| " A._Parser_handleArguments(parser, stack);\n" |
| " break;\n" |
| " case 91:\n" |
| " stack.push(parser.p);\n" |
| " parser.p = stack.length;\n" |
| " break;\n" |
| " case 93:\n" |
| " array = stack.splice(parser.p);\n" |
| " A._Parser_toTypes(parser.u, parser.e, array);\n" |
| " parser.p = stack.pop();\n" |
| " stack.push(array);\n" |
| " stack.push(-1);\n" |
| " break;\n" |
| " case 123:\n" |
| " stack.push(parser.p);\n" |
| " parser.p = stack.length;\n" |
| " break;\n" |
| " case 125:\n" |
| " array = stack.splice(parser.p);\n" |
| " A._Parser_toTypesNamed(parser.u, parser.e, array);\n" |
| " parser.p = stack.pop();\n" |
| " stack.push(array);\n" |
| " stack.push(-2);\n" |
| " break;\n" |
| " case 43:\n" |
| " end = source.indexOf(\"(\", i);\n" |
| " stack.push(source.substring(i, end));\n" |
| " stack.push(-4);\n" |
| " stack.push(parser.p);\n" |
| " parser.p = stack.length;\n" |
| " i = end + 1;\n" |
| " break;\n" |
| " default:\n" |
| " throw \"Bad character \" + ch;\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " item = stack.pop();\n" |
| " return A._Parser_toType(parser.u, parser.e, item);\n" |
| " },\n" |
| " _Parser_handleDigit(i, digit, source, stack) {\n" |
| " var t1, ch,\n" |
| " value = digit - 48;\n" |
| " for (t1 = source.length; i < t1; ++i) {\n" |
| " ch = source.charCodeAt(i);\n" |
| " if (!(ch >= 48 && ch <= 57))\n" |
| " break;\n" |
| " value = value * 10 + (ch - 48);\n" |
| " }\n" |
| " stack.push(value);\n" |
| " return i;\n" |
| " },\n" |
| " _Parser_handleIdentifier(parser, start, source, stack, hasPeriod) {\n" |
| " var t1, ch, t2, string, environment, recipe,\n" |
| " i = start + 1;\n" |
| " for (t1 = source.length; i < t1; ++i) {\n" |
| " ch = source.charCodeAt(i);\n" |
| " if (ch === 46) {\n" |
| " if (hasPeriod)\n" |
| " break;\n" |
| " hasPeriod = true;\n" |
| " } else {\n" |
| " if (!((((ch | 32) >>> 0) - 97 & 65535) < 26 || ch === 95 || ch === 36 || ch === 124))\n" |
| " t2 = ch >= 48 && ch <= 57;\n" |
| " else\n" |
| " t2 = true;\n" |
| " if (!t2)\n" |
| " break;\n" |
| " }\n" |
| " }\n" |
| " string = source.substring(start, i);\n" |
| " if (hasPeriod) {\n" |
| " t1 = parser.u;\n" |
| " environment = parser.e;\n" |
| " if (environment._kind === 9)\n" |
| " environment = environment._primary;\n" |
| " recipe = A._Universe_findRule(t1, environment._primary)[string];\n" |
| " if (recipe == null)\n" |
| " A.throwExpression('No \"' + string + '\" in \"' + A.Rti__getCanonicalRecipe(environment) + '\"');\n" |
| " stack.push(A._Universe_evalInEnvironment(t1, environment, recipe));\n" |
| " } else\n" |
| " stack.push(string);\n" |
| " return i;\n" |
| " },\n" |
| " _Parser_handleTypeArguments(parser, stack) {\n" |
| " var base,\n" |
| " universe = parser.u,\n" |
| " \$arguments = A._Parser_collectArray(parser, stack),\n" |
| " head = stack.pop();\n" |
| " if (typeof head == \"string\")\n" |
| " stack.push(A._Universe__lookupInterfaceRti(universe, head, \$arguments));\n" |
| " else {\n" |
| " base = A._Parser_toType(universe, parser.e, head);\n" |
| " switch (base._kind) {\n" |
| " case 11:\n" |
| " stack.push(A._Universe__lookupGenericFunctionRti(universe, base, \$arguments, parser.n));\n" |
| " break;\n" |
| " default:\n" |
| " stack.push(A._Universe__lookupBindingRti(universe, base, \$arguments));\n" |
| " break;\n" |
| " }\n" |
| " }\n" |
| " },\n" |
| " _Parser_handleArguments(parser, stack) {\n" |
| " var requiredPositional, returnType, parameters,\n" |
| " universe = parser.u,\n" |
| " head = stack.pop(),\n" |
| " optionalPositional = null, named = null;\n" |
| " if (typeof head == \"number\")\n" |
| " switch (head) {\n" |
| " case -1:\n" |
| " optionalPositional = stack.pop();\n" |
| " break;\n" |
| " case -2:\n" |
| " named = stack.pop();\n" |
| " break;\n" |
| " default:\n" |
| " stack.push(head);\n" |
| " break;\n" |
| " }\n" |
| " else\n" |
| " stack.push(head);\n" |
| " requiredPositional = A._Parser_collectArray(parser, stack);\n" |
| " head = stack.pop();\n" |
| " switch (head) {\n" |
| " case -3:\n" |
| " head = stack.pop();\n" |
| " if (optionalPositional == null)\n" |
| " optionalPositional = universe.sEA;\n" |
| " if (named == null)\n" |
| " named = universe.sEA;\n" |
| " returnType = A._Parser_toType(universe, parser.e, head);\n" |
| " parameters = new A._FunctionParameters();\n" |
| " parameters._requiredPositional = requiredPositional;\n" |
| " parameters._optionalPositional = optionalPositional;\n" |
| " parameters._named = named;\n" |
| " stack.push(A._Universe__lookupFunctionRti(universe, returnType, parameters));\n" |
| " return;\n" |
| " case -4:\n" |
| " stack.push(A._Universe__lookupRecordRti(universe, stack.pop(), requiredPositional));\n" |
| " return;\n" |
| " default:\n" |
| " throw A.wrapException(A.AssertionError\$(\"Unexpected state under `()`: \" + A.S(head)));\n" |
| " }\n" |
| " },\n" |
| " _Parser_handleExtendedOperations(parser, stack) {\n" |
| " var \$top = stack.pop();\n" |
| " if (0 === \$top) {\n" |
| " stack.push(A._Universe__lookupTerminalRti(parser.u, 1, \"0&\"));\n" |
| " return;\n" |
| " }\n" |
| " if (1 === \$top) {\n" |
| " stack.push(A._Universe__lookupTerminalRti(parser.u, 4, \"1&\"));\n" |
| " return;\n" |
| " }\n" |
| " throw A.wrapException(A.AssertionError\$(\"Unexpected extended operation \" + A.S(\$top)));\n" |
| " },\n" |
| " _Parser_collectArray(parser, stack) {\n" |
| " var array = stack.splice(parser.p);\n" |
| " A._Parser_toTypes(parser.u, parser.e, array);\n" |
| " parser.p = stack.pop();\n" |
| " return array;\n" |
| " },\n" |
| " _Parser_toType(universe, environment, item) {\n" |
| " if (typeof item == \"string\")\n" |
| " return A._Universe__lookupInterfaceRti(universe, item, universe.sEA);\n" |
| " else if (typeof item == \"number\") {\n" |
| " environment.toString;\n" |
| " return A._Parser_indexToType(universe, environment, item);\n" |
| " } else\n" |
| " return item;\n" |
| " },\n" |
| " _Parser_toTypes(universe, environment, items) {\n" |
| " var i,\n" |
| " \$length = items.length;\n" |
| " for (i = 0; i < \$length; ++i)\n" |
| " items[i] = A._Parser_toType(universe, environment, items[i]);\n" |
| " },\n" |
| " _Parser_toTypesNamed(universe, environment, items) {\n" |
| " var i,\n" |
| " \$length = items.length;\n" |
| " for (i = 2; i < \$length; i += 3)\n" |
| " items[i] = A._Parser_toType(universe, environment, items[i]);\n" |
| " },\n" |
| " _Parser_indexToType(universe, environment, index) {\n" |
| " var typeArguments, len,\n" |
| " kind = environment._kind;\n" |
| " if (kind === 9) {\n" |
| " if (index === 0)\n" |
| " return environment._primary;\n" |
| " typeArguments = environment._rest;\n" |
| " len = typeArguments.length;\n" |
| " if (index <= len)\n" |
| " return typeArguments[index - 1];\n" |
| " index -= len;\n" |
| " environment = environment._primary;\n" |
| " kind = environment._kind;\n" |
| " } else if (index === 0)\n" |
| " return environment;\n" |
| " if (kind !== 8)\n" |
| " throw A.wrapException(A.AssertionError\$(\"Indexed base must be an interface type\"));\n" |
| " typeArguments = environment._rest;\n" |
| " if (index <= typeArguments.length)\n" |
| " return typeArguments[index - 1];\n" |
| " throw A.wrapException(A.AssertionError\$(\"Bad index \" + index + \" for \" + environment.toString\$0(0)));\n" |
| " },\n" |
| " isSubtype(universe, s, t) {\n" |
| " var result,\n" |
| " sCache = s._isSubtypeCache;\n" |
| " if (sCache == null)\n" |
| " sCache = s._isSubtypeCache = new Map();\n" |
| " result = sCache.get(t);\n" |
| " if (result == null) {\n" |
| " result = A._isSubtype(universe, s, null, t, null);\n" |
| " sCache.set(t, result);\n" |
| " }\n" |
| " return result;\n" |
| " },\n" |
| " _isSubtype(universe, s, sEnv, t, tEnv) {\n" |
| " var sKind, leftTypeVariable, tKind, t1, t2, sBounds, tBounds, sLength, i, sBound, tBound;\n" |
| " if (s === t)\n" |
| " return true;\n" |
| " if (A.isTopType(t))\n" |
| " return true;\n" |
| " sKind = s._kind;\n" |
| " if (sKind === 4)\n" |
| " return true;\n" |
| " if (A.isTopType(s))\n" |
| " return false;\n" |
| " if (s._kind === 1)\n" |
| " return true;\n" |
| " leftTypeVariable = sKind === 13;\n" |
| " if (leftTypeVariable)\n" |
| " if (A._isSubtype(universe, sEnv[s._primary], sEnv, t, tEnv))\n" |
| " return true;\n" |
| " tKind = t._kind;\n" |
| " t1 = type\$.Null;\n" |
| " if (s === t1 || s === type\$.JSNull) {\n" |
| " if (tKind === 7)\n" |
| " return A._isSubtype(universe, s, sEnv, t._primary, tEnv);\n" |
| " return t === t1 || t === type\$.JSNull || tKind === 6;\n" |
| " }\n" |
| " if (t === type\$.Object) {\n" |
| " if (sKind === 7)\n" |
| " return A._isSubtype(universe, s._primary, sEnv, t, tEnv);\n" |
| " return sKind !== 6;\n" |
| " }\n" |
| " if (sKind === 7) {\n" |
| " if (!A._isSubtype(universe, s._primary, sEnv, t, tEnv))\n" |
| " return false;\n" |
| " return A._isSubtype(universe, A.Rti__getFutureFromFutureOr(universe, s), sEnv, t, tEnv);\n" |
| " }\n" |
| " if (sKind === 6)\n" |
| " return A._isSubtype(universe, t1, sEnv, t, tEnv) && A._isSubtype(universe, s._primary, sEnv, t, tEnv);\n" |
| " if (tKind === 7) {\n" |
| " if (A._isSubtype(universe, s, sEnv, t._primary, tEnv))\n" |
| " return true;\n" |
| " return A._isSubtype(universe, s, sEnv, A.Rti__getFutureFromFutureOr(universe, t), tEnv);\n" |
| " }\n" |
| " if (tKind === 6)\n" |
| " return A._isSubtype(universe, s, sEnv, t1, tEnv) || A._isSubtype(universe, s, sEnv, t._primary, tEnv);\n" |
| " if (leftTypeVariable)\n" |
| " return false;\n" |
| " t1 = sKind !== 11;\n" |
| " if ((!t1 || sKind === 12) && t === type\$.Function)\n" |
| " return true;\n" |
| " t2 = sKind === 10;\n" |
| " if (t2 && t === type\$.Record)\n" |
| " return true;\n" |
| " if (tKind === 12) {\n" |
| " if (s === type\$.JavaScriptFunction)\n" |
| " return true;\n" |
| " if (sKind !== 12)\n" |
| " return false;\n" |
| " sBounds = s._rest;\n" |
| " tBounds = t._rest;\n" |
| " sLength = sBounds.length;\n" |
| " if (sLength !== tBounds.length)\n" |
| " return false;\n" |
| " sEnv = sEnv == null ? sBounds : sBounds.concat(sEnv);\n" |
| " tEnv = tEnv == null ? tBounds : tBounds.concat(tEnv);\n" |
| " for (i = 0; i < sLength; ++i) {\n" |
| " sBound = sBounds[i];\n" |
| " tBound = tBounds[i];\n" |
| " if (!A._isSubtype(universe, sBound, sEnv, tBound, tEnv) || !A._isSubtype(universe, tBound, tEnv, sBound, sEnv))\n" |
| " return false;\n" |
| " }\n" |
| " return A._isFunctionSubtype(universe, s._primary, sEnv, t._primary, tEnv);\n" |
| " }\n" |
| " if (tKind === 11) {\n" |
| " if (s === type\$.JavaScriptFunction)\n" |
| " return true;\n" |
| " if (t1)\n" |
| " return false;\n" |
| " return A._isFunctionSubtype(universe, s, sEnv, t, tEnv);\n" |
| " }\n" |
| " if (sKind === 8) {\n" |
| " if (tKind !== 8)\n" |
| " return false;\n" |
| " return A._isInterfaceSubtype(universe, s, sEnv, t, tEnv);\n" |
| " }\n" |
| " if (t2 && tKind === 10)\n" |
| " return A._isRecordSubtype(universe, s, sEnv, t, tEnv);\n" |
| " return false;\n" |
| " },\n" |
| " _isFunctionSubtype(universe, s, sEnv, t, tEnv) {\n" |
| " var sParameters, tParameters, sRequiredPositional, tRequiredPositional, sRequiredPositionalLength, tRequiredPositionalLength, requiredPositionalDelta, sOptionalPositional, tOptionalPositional, sOptionalPositionalLength, tOptionalPositionalLength, i, t1, sNamed, tNamed, sNamedLength, tNamedLength, sIndex, tIndex, tName, sName, sIsRequired;\n" |
| " if (!A._isSubtype(universe, s._primary, sEnv, t._primary, tEnv))\n" |
| " return false;\n" |
| " sParameters = s._rest;\n" |
| " tParameters = t._rest;\n" |
| " sRequiredPositional = sParameters._requiredPositional;\n" |
| " tRequiredPositional = tParameters._requiredPositional;\n" |
| " sRequiredPositionalLength = sRequiredPositional.length;\n" |
| " tRequiredPositionalLength = tRequiredPositional.length;\n" |
| " if (sRequiredPositionalLength > tRequiredPositionalLength)\n" |
| " return false;\n" |
| " requiredPositionalDelta = tRequiredPositionalLength - sRequiredPositionalLength;\n" |
| " sOptionalPositional = sParameters._optionalPositional;\n" |
| " tOptionalPositional = tParameters._optionalPositional;\n" |
| " sOptionalPositionalLength = sOptionalPositional.length;\n" |
| " tOptionalPositionalLength = tOptionalPositional.length;\n" |
| " if (sRequiredPositionalLength + sOptionalPositionalLength < tRequiredPositionalLength + tOptionalPositionalLength)\n" |
| " return false;\n" |
| " for (i = 0; i < sRequiredPositionalLength; ++i) {\n" |
| " t1 = sRequiredPositional[i];\n" |
| " if (!A._isSubtype(universe, tRequiredPositional[i], tEnv, t1, sEnv))\n" |
| " return false;\n" |
| " }\n" |
| " for (i = 0; i < requiredPositionalDelta; ++i) {\n" |
| " t1 = sOptionalPositional[i];\n" |
| " if (!A._isSubtype(universe, tRequiredPositional[sRequiredPositionalLength + i], tEnv, t1, sEnv))\n" |
| " return false;\n" |
| " }\n" |
| " for (i = 0; i < tOptionalPositionalLength; ++i) {\n" |
| " t1 = sOptionalPositional[requiredPositionalDelta + i];\n" |
| " if (!A._isSubtype(universe, tOptionalPositional[i], tEnv, t1, sEnv))\n" |
| " return false;\n" |
| " }\n" |
| " sNamed = sParameters._named;\n" |
| " tNamed = tParameters._named;\n" |
| " sNamedLength = sNamed.length;\n" |
| " tNamedLength = tNamed.length;\n" |
| " for (sIndex = 0, tIndex = 0; tIndex < tNamedLength; tIndex += 3) {\n" |
| " tName = tNamed[tIndex];\n" |
| " for (;;) {\n" |
| " if (sIndex >= sNamedLength)\n" |
| " return false;\n" |
| " sName = sNamed[sIndex];\n" |
| " sIndex += 3;\n" |
| " if (tName < sName)\n" |
| " return false;\n" |
| " sIsRequired = sNamed[sIndex - 2];\n" |
| " if (sName < tName) {\n" |
| " if (sIsRequired)\n" |
| " return false;\n" |
| " continue;\n" |
| " }\n" |
| " t1 = tNamed[tIndex + 1];\n" |
| " if (sIsRequired && !t1)\n" |
| " return false;\n" |
| " t1 = sNamed[sIndex - 1];\n" |
| " if (!A._isSubtype(universe, tNamed[tIndex + 2], tEnv, t1, sEnv))\n" |
| " return false;\n" |
| " break;\n" |
| " }\n" |
| " }\n" |
| " while (sIndex < sNamedLength) {\n" |
| " if (sNamed[sIndex + 1])\n" |
| " return false;\n" |
| " sIndex += 3;\n" |
| " }\n" |
| " return true;\n" |
| " },\n" |
| " _isInterfaceSubtype(universe, s, sEnv, t, tEnv) {\n" |
| " var rule, recipes, \$length, supertypeArgs, i,\n" |
| " sName = s._primary,\n" |
| " tName = t._primary;\n" |
| " while (sName !== tName) {\n" |
| " rule = universe.tR[sName];\n" |
| " if (rule == null)\n" |
| " return false;\n" |
| " if (typeof rule == \"string\") {\n" |
| " sName = rule;\n" |
| " continue;\n" |
| " }\n" |
| " recipes = rule[tName];\n" |
| " if (recipes == null)\n" |
| " return false;\n" |
| " \$length = recipes.length;\n" |
| " supertypeArgs = \$length > 0 ? new Array(\$length) : init.typeUniverse.sEA;\n" |
| " for (i = 0; i < \$length; ++i)\n" |
| " supertypeArgs[i] = A._Universe_evalInEnvironment(universe, s, recipes[i]);\n" |
| " return A._areArgumentsSubtypes(universe, supertypeArgs, null, sEnv, t._rest, tEnv);\n" |
| " }\n" |
| " return A._areArgumentsSubtypes(universe, s._rest, null, sEnv, t._rest, tEnv);\n" |
| " },\n" |
| " _areArgumentsSubtypes(universe, sArgs, sVariances, sEnv, tArgs, tEnv) {\n" |
| " var i,\n" |
| " \$length = sArgs.length;\n" |
| " for (i = 0; i < \$length; ++i)\n" |
| " if (!A._isSubtype(universe, sArgs[i], sEnv, tArgs[i], tEnv))\n" |
| " return false;\n" |
| " return true;\n" |
| " },\n" |
| " _isRecordSubtype(universe, s, sEnv, t, tEnv) {\n" |
| " var i,\n" |
| " sFields = s._rest,\n" |
| " tFields = t._rest,\n" |
| " sCount = sFields.length;\n" |
| " if (sCount !== tFields.length)\n" |
| " return false;\n" |
| " if (s._primary !== t._primary)\n" |
| " return false;\n" |
| " for (i = 0; i < sCount; ++i)\n" |
| " if (!A._isSubtype(universe, sFields[i], sEnv, tFields[i], tEnv))\n" |
| " return false;\n" |
| " return true;\n" |
| " },\n" |
| " isNullable(t) {\n" |
| " var kind = t._kind,\n" |
| " t1 = true;\n" |
| " if (!(t === type\$.Null || t === type\$.JSNull))\n" |
| " if (!A.isTopType(t))\n" |
| " if (kind !== 6)\n" |
| " t1 = kind === 7 && A.isNullable(t._primary);\n" |
| " return t1;\n" |
| " },\n" |
| " isTopType(t) {\n" |
| " var kind = t._kind;\n" |
| " return kind === 2 || kind === 3 || kind === 4 || kind === 5 || t === type\$.nullable_Object;\n" |
| " },\n" |
| " _Utils_objectAssign(o, other) {\n" |
| " var i, key,\n" |
| " keys = Object.keys(other),\n" |
| " \$length = keys.length;\n" |
| " for (i = 0; i < \$length; ++i) {\n" |
| " key = keys[i];\n" |
| " o[key] = other[key];\n" |
| " }\n" |
| " },\n" |
| " _Utils_newArrayOrEmpty(\$length) {\n" |
| " return \$length > 0 ? new Array(\$length) : init.typeUniverse.sEA;\n" |
| " },\n" |
| " Rti: function Rti(t0, t1) {\n" |
| " var _ = this;\n" |
| " _._as = t0;\n" |
| " _._is = t1;\n" |
| " _._cachedRuntimeType = _._specializedTestResource = _._isSubtypeCache = _._precomputed1 = null;\n" |
| " _._kind = 0;\n" |
| " _._canonicalRecipe = _._bindCache = _._evalCache = _._rest = _._primary = null;\n" |
| " },\n" |
| " _FunctionParameters: function _FunctionParameters() {\n" |
| " this._named = this._optionalPositional = this._requiredPositional = null;\n" |
| " },\n" |
| " _Type: function _Type(t0) {\n" |
| " this._rti = t0;\n" |
| " },\n" |
| " _Error: function _Error() {\n" |
| " },\n" |
| " _TypeError: function _TypeError(t0) {\n" |
| " this.__rti\$_message = t0;\n" |
| " },\n" |
| " _AsyncRun__initializeScheduleImmediate() {\n" |
| " var t1, div, span;\n" |
| " if (self.scheduleImmediate != null)\n" |
| " return A.async__AsyncRun__scheduleImmediateJsOverride\$closure();\n" |
| " if (self.MutationObserver != null && self.document != null) {\n" |
| " t1 = {};\n" |
| " div = self.document.createElement(\"div\");\n" |
| " span = self.document.createElement(\"span\");\n" |
| " t1.storedCallback = null;\n" |
| " new self.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(t1), 1)).observe(div, {childList: true});\n" |
| " return new A._AsyncRun__initializeScheduleImmediate_closure(t1, div, span);\n" |
| " } else if (self.setImmediate != null)\n" |
| " return A.async__AsyncRun__scheduleImmediateWithSetImmediate\$closure();\n" |
| " return A.async__AsyncRun__scheduleImmediateWithTimer\$closure();\n" |
| " },\n" |
| " _AsyncRun__scheduleImmediateJsOverride(callback) {\n" |
| " self.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(type\$.void_Function._as(callback)), 0));\n" |
| " },\n" |
| " _AsyncRun__scheduleImmediateWithSetImmediate(callback) {\n" |
| " self.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(type\$.void_Function._as(callback)), 0));\n" |
| " },\n" |
| " _AsyncRun__scheduleImmediateWithTimer(callback) {\n" |
| " A.Timer__createTimer(B.Duration_0, type\$.void_Function._as(callback));\n" |
| " },\n" |
| " Timer__createTimer(duration, callback) {\n" |
| " var milliseconds = B.JSInt_methods._tdivFast\$1(duration._duration, 1000);\n" |
| " return A._TimerImpl\$(milliseconds < 0 ? 0 : milliseconds, callback);\n" |
| " },\n" |
| " _TimerImpl\$(milliseconds, callback) {\n" |
| " var t1 = new A._TimerImpl(true);\n" |
| " t1._TimerImpl\$2(milliseconds, callback);\n" |
| " return t1;\n" |
| " },\n" |
| " _TimerImpl\$periodic(milliseconds, callback) {\n" |
| " var t1 = new A._TimerImpl(false);\n" |
| " t1._TimerImpl\$periodic\$2(milliseconds, callback);\n" |
| " return t1;\n" |
| " },\n" |
| " _makeAsyncAwaitCompleter(\$T) {\n" |
| " return new A._AsyncAwaitCompleter(new A._Future(\$.Zone__current, \$T._eval\$1(\"_Future<0>\")), \$T._eval\$1(\"_AsyncAwaitCompleter<0>\"));\n" |
| " },\n" |
| " _asyncStartSync(bodyFunction, completer) {\n" |
| " bodyFunction.call\$2(0, null);\n" |
| " completer.isSync = true;\n" |
| " return completer._future;\n" |
| " },\n" |
| " _asyncAwait(object, bodyFunction) {\n" |
| " A._awaitOnObject(object, bodyFunction);\n" |
| " },\n" |
| " _asyncReturn(object, completer) {\n" |
| " completer.complete\$1(object);\n" |
| " },\n" |
| " _asyncRethrow(object, completer) {\n" |
| " completer.completeError\$2(A.unwrapException(object), A.getTraceFromException(object));\n" |
| " },\n" |
| " _awaitOnObject(object, bodyFunction) {\n" |
| " var t1, future,\n" |
| " thenCallback = new A._awaitOnObject_closure(bodyFunction),\n" |
| " errorCallback = new A._awaitOnObject_closure0(bodyFunction);\n" |
| " if (object instanceof A._Future)\n" |
| " object._thenAwait\$1\$2(thenCallback, errorCallback, type\$.dynamic);\n" |
| " else {\n" |
| " t1 = type\$.dynamic;\n" |
| " if (object instanceof A._Future)\n" |
| " object.then\$1\$2\$onError(thenCallback, errorCallback, t1);\n" |
| " else {\n" |
| " future = new A._Future(\$.Zone__current, type\$._Future_dynamic);\n" |
| " future._state = 8;\n" |
| " future._resultOrListeners = object;\n" |
| " future._thenAwait\$1\$2(thenCallback, errorCallback, t1);\n" |
| " }\n" |
| " }\n" |
| " },\n" |
| " _wrapJsFunctionForAsync(\$function) {\n" |
| " var \$protected = function(fn, ERROR) {\n" |
| " return function(errorCode, result) {\n" |
| " while (true) {\n" |
| " try {\n" |
| " fn(errorCode, result);\n" |
| " break;\n" |
| " } catch (error) {\n" |
| " result = error;\n" |
| " errorCode = ERROR;\n" |
| " }\n" |
| " }\n" |
| " };\n" |
| " }(\$function, 1);\n" |
| " return \$.Zone__current.registerBinaryCallback\$3\$1(new A._wrapJsFunctionForAsync_closure(\$protected), type\$.void, type\$.int, type\$.dynamic);\n" |
| " },\n" |
| " AsyncError_defaultStackTrace(error) {\n" |
| " var stackTrace;\n" |
| " if (type\$.Error._is(error)) {\n" |
| " stackTrace = error.get\$stackTrace();\n" |
| " if (stackTrace != null)\n" |
| " return stackTrace;\n" |
| " }\n" |
| " return B._StringStackTrace_OdL;\n" |
| " },\n" |
| " Future_Future\$microtask(computation, \$T) {\n" |
| " var result = new A._Future(\$.Zone__current, \$T._eval\$1(\"_Future<0>\"));\n" |
| " A.scheduleMicrotask(new A.Future_Future\$microtask_closure(computation, result));\n" |
| " return result;\n" |
| " },\n" |
| " Future_Future\$sync(computation, \$T) {\n" |
| " var error, stackTrace, exception, t1, t2, t3, t4, result = null;\n" |
| " try {\n" |
| " result = computation.call\$0();\n" |
| " } catch (exception) {\n" |
| " error = A.unwrapException(exception);\n" |
| " stackTrace = A.getTraceFromException(exception);\n" |
| " t1 = new A._Future(\$.Zone__current, \$T._eval\$1(\"_Future<0>\"));\n" |
| " t2 = error;\n" |
| " t3 = stackTrace;\n" |
| " t4 = A._interceptError(t2, t3);\n" |
| " if (t4 == null)\n" |
| " t2 = new A.AsyncError(t2, t3 == null ? A.AsyncError_defaultStackTrace(t2) : t3);\n" |
| " else\n" |
| " t2 = t4;\n" |
| " t1._asyncCompleteErrorObject\$1(t2);\n" |
| " return t1;\n" |
| " }\n" |
| " return \$T._eval\$1(\"Future<0>\")._is(result) ? result : A._Future\$value(result, \$T);\n" |
| " },\n" |
| " Future_Future\$value(value, \$T) {\n" |
| " var t1 = value == null ? \$T._as(value) : value,\n" |
| " t2 = new A._Future(\$.Zone__current, \$T._eval\$1(\"_Future<0>\"));\n" |
| " t2._asyncComplete\$1(t1);\n" |
| " return t2;\n" |
| " },\n" |
| " Future_Future\$delayed(duration, \$T) {\n" |
| " var result;\n" |
| " if (!\$T._is(null))\n" |
| " throw A.wrapException(A.ArgumentError\$value(null, \"computation\", \"The type parameter is not nullable\"));\n" |
| " result = new A._Future(\$.Zone__current, \$T._eval\$1(\"_Future<0>\"));\n" |
| " A.Timer_Timer(duration, new A.Future_Future\$delayed_closure(null, result, \$T));\n" |
| " return result;\n" |
| " },\n" |
| " Completer_Completer(\$T) {\n" |
| " return new A._AsyncCompleter(new A._Future(\$.Zone__current, \$T._eval\$1(\"_Future<0>\")), \$T._eval\$1(\"_AsyncCompleter<0>\"));\n" |
| " },\n" |
| " _interceptError(error, stackTrace) {\n" |
| " var replacement, t1, t2,\n" |
| " zone = \$.Zone__current;\n" |
| " if (zone === B.C__RootZone)\n" |
| " return null;\n" |
| " replacement = zone.errorCallback\$2(error, stackTrace);\n" |
| " if (replacement == null)\n" |
| " return null;\n" |
| " t1 = replacement.error;\n" |
| " t2 = replacement.stackTrace;\n" |
| " if (type\$.Error._is(t1))\n" |
| " A.Primitives_trySetStackTrace(t1, t2);\n" |
| " return replacement;\n" |
| " },\n" |
| " _interceptUserError(error, stackTrace) {\n" |
| " var replacement;\n" |
| " if (\$.Zone__current !== B.C__RootZone) {\n" |
| " replacement = A._interceptError(error, stackTrace);\n" |
| " if (replacement != null)\n" |
| " return replacement;\n" |
| " }\n" |
| " if (stackTrace == null)\n" |
| " if (type\$.Error._is(error)) {\n" |
| " stackTrace = error.get\$stackTrace();\n" |
| " if (stackTrace == null) {\n" |
| " A.Primitives_trySetStackTrace(error, B._StringStackTrace_OdL);\n" |
| " stackTrace = B._StringStackTrace_OdL;\n" |
| " }\n" |
| " } else\n" |
| " stackTrace = B._StringStackTrace_OdL;\n" |
| " else if (type\$.Error._is(error))\n" |
| " A.Primitives_trySetStackTrace(error, stackTrace);\n" |
| " return new A.AsyncError(error, stackTrace);\n" |
| " },\n" |
| " _Future\$value(value, \$T) {\n" |
| " var t1 = new A._Future(\$.Zone__current, \$T._eval\$1(\"_Future<0>\"));\n" |
| " \$T._as(value);\n" |
| " t1._state = 8;\n" |
| " t1._resultOrListeners = value;\n" |
| " return t1;\n" |
| " },\n" |
| " _Future__chainCoreFuture(source, target, sync) {\n" |
| " var t2, t3, ignoreError, listeners, _box_0 = {},\n" |
| " t1 = _box_0.source = source;\n" |
| " for (t2 = type\$._Future_dynamic; t3 = t1._state, (t3 & 4) !== 0; t1 = source) {\n" |
| " source = t2._as(t1._resultOrListeners);\n" |
| " _box_0.source = source;\n" |
| " }\n" |
| " if (t1 === target) {\n" |
| " t2 = A.StackTrace_current();\n" |
| " target._asyncCompleteErrorObject\$1(new A.AsyncError(new A.ArgumentError(true, t1, null, \"Cannot complete a future with itself\"), t2));\n" |
| " return;\n" |
| " }\n" |
| " ignoreError = target._state & 1;\n" |
| " t2 = t1._state = t3 | ignoreError;\n" |
| " if ((t2 & 24) === 0) {\n" |
| " listeners = type\$.nullable__FutureListener_dynamic_dynamic._as(target._resultOrListeners);\n" |
| " target._state = target._state & 1 | 4;\n" |
| " target._resultOrListeners = t1;\n" |
| " t1._prependListeners\$1(listeners);\n" |
| " return;\n" |
| " }\n" |
| " if (!sync)\n" |
| " if (target._resultOrListeners == null)\n" |
| " t1 = (t2 & 16) === 0 || ignoreError !== 0;\n" |
| " else\n" |
| " t1 = false;\n" |
| " else\n" |
| " t1 = true;\n" |
| " if (t1) {\n" |
| " listeners = target._removeListeners\$0();\n" |
| " target._cloneResult\$1(_box_0.source);\n" |
| " A._Future__propagateToListeners(target, listeners);\n" |
| " return;\n" |
| " }\n" |
| " target._state ^= 2;\n" |
| " target._zone.scheduleMicrotask\$1(new A._Future__chainCoreFuture_closure(_box_0, target));\n" |
| " },\n" |
| " _Future__propagateToListeners(source, listeners) {\n" |
| " var t2, t3, _box_0, t4, t5, hasError, asyncError, nextListener, nextListener0, sourceResult, t6, zone, oldZone, result, current, _box_1 = {},\n" |
| " t1 = _box_1.source = source;\n" |
| " for (t2 = type\$.AsyncError, t3 = type\$.nullable__FutureListener_dynamic_dynamic;;) {\n" |
| " _box_0 = {};\n" |
| " t4 = t1._state;\n" |
| " t5 = (t4 & 16) === 0;\n" |
| " hasError = !t5;\n" |
| " if (listeners == null) {\n" |
| " if (hasError && (t4 & 1) === 0) {\n" |
| " asyncError = t2._as(t1._resultOrListeners);\n" |
| " t1._zone.handleUncaughtError\$2(asyncError.error, asyncError.stackTrace);\n" |
| " }\n" |
| " return;\n" |
| " }\n" |
| " _box_0.listener = listeners;\n" |
| " nextListener = listeners._nextListener;\n" |
| " for (t1 = listeners; nextListener != null; t1 = nextListener, nextListener = nextListener0) {\n" |
| " t1._nextListener = null;\n" |
| " A._Future__propagateToListeners(_box_1.source, t1);\n" |
| " _box_0.listener = nextListener;\n" |
| " nextListener0 = nextListener._nextListener;\n" |
| " }\n" |
| " t4 = _box_1.source;\n" |
| " sourceResult = t4._resultOrListeners;\n" |
| " _box_0.listenerHasError = hasError;\n" |
| " _box_0.listenerValueOrError = sourceResult;\n" |
| " if (t5) {\n" |
| " t6 = t1.state;\n" |
| " t6 = (t6 & 1) !== 0 || (t6 & 15) === 8;\n" |
| " } else\n" |
| " t6 = true;\n" |
| " if (t6) {\n" |
| " zone = t1.result._zone;\n" |
| " if (hasError) {\n" |
| " t1 = t4._zone;\n" |
| " t1 = !(t1 === zone || t1.get\$errorZone() === zone.get\$errorZone());\n" |
| " } else\n" |
| " t1 = false;\n" |
| " if (t1) {\n" |
| " t1 = _box_1.source;\n" |
| " asyncError = t2._as(t1._resultOrListeners);\n" |
| " t1._zone.handleUncaughtError\$2(asyncError.error, asyncError.stackTrace);\n" |
| " return;\n" |
| " }\n" |
| " oldZone = \$.Zone__current;\n" |
| " if (oldZone !== zone)\n" |
| " \$.Zone__current = zone;\n" |
| " else\n" |
| " oldZone = null;\n" |
| " t1 = _box_0.listener.state;\n" |
| " if ((t1 & 15) === 8)\n" |
| " new A._Future__propagateToListeners_handleWhenCompleteCallback(_box_0, _box_1, hasError).call\$0();\n" |
| " else if (t5) {\n" |
| " if ((t1 & 1) !== 0)\n" |
| " new A._Future__propagateToListeners_handleValueCallback(_box_0, sourceResult).call\$0();\n" |
| " } else if ((t1 & 2) !== 0)\n" |
| " new A._Future__propagateToListeners_handleError(_box_1, _box_0).call\$0();\n" |
| " if (oldZone != null)\n" |
| " \$.Zone__current = oldZone;\n" |
| " t1 = _box_0.listenerValueOrError;\n" |
| " if (t1 instanceof A._Future) {\n" |
| " t4 = _box_0.listener.\$ti;\n" |
| " t4 = t4._eval\$1(\"Future<2>\")._is(t1) || !t4._rest[1]._is(t1);\n" |
| " } else\n" |
| " t4 = false;\n" |
| " if (t4) {\n" |
| " result = _box_0.listener.result;\n" |
| " if ((t1._state & 24) !== 0) {\n" |
| " current = t3._as(result._resultOrListeners);\n" |
| " result._resultOrListeners = null;\n" |
| " listeners = result._reverseListeners\$1(current);\n" |
| " result._state = t1._state & 30 | result._state & 1;\n" |
| " result._resultOrListeners = t1._resultOrListeners;\n" |
| " _box_1.source = t1;\n" |
| " continue;\n" |
| " } else\n" |
| " A._Future__chainCoreFuture(t1, result, true);\n" |
| " return;\n" |
| " }\n" |
| " }\n" |
| " result = _box_0.listener.result;\n" |
| " current = t3._as(result._resultOrListeners);\n" |
| " result._resultOrListeners = null;\n" |
| " listeners = result._reverseListeners\$1(current);\n" |
| " t1 = _box_0.listenerHasError;\n" |
| " t4 = _box_0.listenerValueOrError;\n" |
| " if (!t1) {\n" |
| " result.\$ti._precomputed1._as(t4);\n" |
| " result._state = 8;\n" |
| " result._resultOrListeners = t4;\n" |
| " } else {\n" |
| " t2._as(t4);\n" |
| " result._state = result._state & 1 | 16;\n" |
| " result._resultOrListeners = t4;\n" |
| " }\n" |
| " _box_1.source = result;\n" |
| " t1 = result;\n" |
| " }\n" |
| " },\n" |
| " _registerErrorHandler(errorHandler, zone) {\n" |
| " if (type\$.dynamic_Function_Object_StackTrace._is(errorHandler))\n" |
| " return zone.registerBinaryCallback\$3\$1(errorHandler, type\$.dynamic, type\$.Object, type\$.StackTrace);\n" |
| " if (type\$.dynamic_Function_Object._is(errorHandler))\n" |
| " return zone.registerUnaryCallback\$2\$1(errorHandler, type\$.dynamic, type\$.Object);\n" |
| " throw A.wrapException(A.ArgumentError\$value(errorHandler, \"onError\", string\$.Error_));\n" |
| " },\n" |
| " _microtaskLoop() {\n" |
| " var entry, next;\n" |
| " for (entry = \$._nextCallback; entry != null; entry = \$._nextCallback) {\n" |
| " \$._lastPriorityCallback = null;\n" |
| " next = entry.next;\n" |
| " \$._nextCallback = next;\n" |
| " if (next == null)\n" |
| " \$._lastCallback = null;\n" |
| " entry.callback.call\$0();\n" |
| " }\n" |
| " },\n" |
| " _startMicrotaskLoop() {\n" |
| " \$._isInCallbackLoop = true;\n" |
| " try {\n" |
| " A._microtaskLoop();\n" |
| " } finally {\n" |
| " \$._lastPriorityCallback = null;\n" |
| " \$._isInCallbackLoop = false;\n" |
| " if (\$._nextCallback != null)\n" |
| " \$.\$get\$_AsyncRun__scheduleImmediateClosure().call\$1(A.async___startMicrotaskLoop\$closure());\n" |
| " }\n" |
| " },\n" |
| " _scheduleAsyncCallback(callback) {\n" |
| " var newEntry = new A._AsyncCallbackEntry(callback),\n" |
| " lastCallback = \$._lastCallback;\n" |
| " if (lastCallback == null) {\n" |
| " \$._nextCallback = \$._lastCallback = newEntry;\n" |
| " if (!\$._isInCallbackLoop)\n" |
| " \$.\$get\$_AsyncRun__scheduleImmediateClosure().call\$1(A.async___startMicrotaskLoop\$closure());\n" |
| " } else\n" |
| " \$._lastCallback = lastCallback.next = newEntry;\n" |
| " },\n" |
| " _schedulePriorityAsyncCallback(callback) {\n" |
| " var entry, lastPriorityCallback, next,\n" |
| " t1 = \$._nextCallback;\n" |
| " if (t1 == null) {\n" |
| " A._scheduleAsyncCallback(callback);\n" |
| " \$._lastPriorityCallback = \$._lastCallback;\n" |
| " return;\n" |
| " }\n" |
| " entry = new A._AsyncCallbackEntry(callback);\n" |
| " lastPriorityCallback = \$._lastPriorityCallback;\n" |
| " if (lastPriorityCallback == null) {\n" |
| " entry.next = t1;\n" |
| " \$._nextCallback = \$._lastPriorityCallback = entry;\n" |
| " } else {\n" |
| " next = lastPriorityCallback.next;\n" |
| " entry.next = next;\n" |
| " \$._lastPriorityCallback = lastPriorityCallback.next = entry;\n" |
| " if (next == null)\n" |
| " \$._lastCallback = entry;\n" |
| " }\n" |
| " },\n" |
| " scheduleMicrotask(callback) {\n" |
| " var t1, _null = null,\n" |
| " currentZone = \$.Zone__current;\n" |
| " if (B.C__RootZone === currentZone) {\n" |
| " A._rootScheduleMicrotask(_null, _null, B.C__RootZone, callback);\n" |
| " return;\n" |
| " }\n" |
| " if (B.C__RootZone === currentZone.get\$_scheduleMicrotask().zone)\n" |
| " t1 = B.C__RootZone.get\$errorZone() === currentZone.get\$errorZone();\n" |
| " else\n" |
| " t1 = false;\n" |
| " if (t1) {\n" |
| " A._rootScheduleMicrotask(_null, _null, currentZone, currentZone.registerCallback\$1\$1(callback, type\$.void));\n" |
| " return;\n" |
| " }\n" |
| " t1 = \$.Zone__current;\n" |
| " t1.scheduleMicrotask\$1(t1.bindCallbackGuarded\$1(callback));\n" |
| " },\n" |
| " StreamIterator_StreamIterator(stream, \$T) {\n" |
| " A.checkNotNullable(stream, \"stream\", type\$.Object);\n" |
| " return new A._StreamIterator(\$T._eval\$1(\"_StreamIterator<0>\"));\n" |
| " },\n" |
| " StreamController_StreamController(\$T) {\n" |
| " var _null = null;\n" |
| " return new A._AsyncStreamController(_null, _null, _null, _null, \$T._eval\$1(\"_AsyncStreamController<0>\"));\n" |
| " },\n" |
| " _runGuarded(notificationHandler) {\n" |
| " var e, s, exception;\n" |
| " if (notificationHandler == null)\n" |
| " return;\n" |
| " try {\n" |
| " notificationHandler.call\$0();\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " \$.Zone__current.handleUncaughtError\$2(e, s);\n" |
| " }\n" |
| " },\n" |
| " _BufferingStreamSubscription__registerDataHandler(zone, handleData, \$T) {\n" |
| " var t1 = handleData == null ? A.async___nullDataHandler\$closure() : handleData;\n" |
| " return zone.registerUnaryCallback\$2\$1(t1, type\$.void, \$T);\n" |
| " },\n" |
| " _BufferingStreamSubscription__registerErrorHandler(zone, handleError) {\n" |
| " if (handleError == null)\n" |
| " handleError = A.async___nullErrorHandler\$closure();\n" |
| " if (type\$.void_Function_Object_StackTrace._is(handleError))\n" |
| " return zone.registerBinaryCallback\$3\$1(handleError, type\$.dynamic, type\$.Object, type\$.StackTrace);\n" |
| " if (type\$.void_Function_Object._is(handleError))\n" |
| " return zone.registerUnaryCallback\$2\$1(handleError, type\$.dynamic, type\$.Object);\n" |
| " throw A.wrapException(A.ArgumentError\$(string\$.handle, null));\n" |
| " },\n" |
| " _nullDataHandler(value) {\n" |
| " },\n" |
| " _nullErrorHandler(error, stackTrace) {\n" |
| " A._asObject(error);\n" |
| " type\$.StackTrace._as(stackTrace);\n" |
| " \$.Zone__current.handleUncaughtError\$2(error, stackTrace);\n" |
| " },\n" |
| " _nullDoneHandler() {\n" |
| " },\n" |
| " _cancelAndValue(subscription, future, value) {\n" |
| " var cancelFuture = subscription.cancel\$0();\n" |
| " if (cancelFuture !== \$.\$get\$Future__nullFuture())\n" |
| " cancelFuture.whenComplete\$1(new A._cancelAndValue_closure(future, value));\n" |
| " else\n" |
| " future._complete\$1(value);\n" |
| " },\n" |
| " Timer_Timer(duration, callback) {\n" |
| " var t1 = \$.Zone__current;\n" |
| " if (t1 === B.C__RootZone)\n" |
| " return t1.createTimer\$2(duration, callback);\n" |
| " return t1.createTimer\$2(duration, t1.bindCallbackGuarded\$1(callback));\n" |
| " },\n" |
| " runZonedGuarded(body, onError, \$R) {\n" |
| " var error, stackTrace, t1, exception, _null = null, zoneSpecification = null, zoneValues = null,\n" |
| " parentZone = \$.Zone__current,\n" |
| " errorHandler = new A.runZonedGuarded_closure(parentZone, onError);\n" |
| " if (zoneSpecification == null)\n" |
| " zoneSpecification = new A._ZoneSpecification(errorHandler, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);\n" |
| " else\n" |
| " zoneSpecification = A.ZoneSpecification_ZoneSpecification\$from(zoneSpecification, errorHandler);\n" |
| " try {\n" |
| " t1 = parentZone.fork\$2\$specification\$zoneValues(zoneSpecification, zoneValues).run\$1\$1(body, \$R);\n" |
| " return t1;\n" |
| " } catch (exception) {\n" |
| " error = A.unwrapException(exception);\n" |
| " stackTrace = A.getTraceFromException(exception);\n" |
| " onError.call\$2(error, stackTrace);\n" |
| " }\n" |
| " return _null;\n" |
| " },\n" |
| " _rootHandleUncaughtError(\$self, \$parent, zone, error, stackTrace) {\n" |
| " A._rootHandleError(error, type\$.StackTrace._as(stackTrace));\n" |
| " },\n" |
| " _rootHandleError(error, stackTrace) {\n" |
| " A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(error, stackTrace));\n" |
| " },\n" |
| " _rootRun(\$self, \$parent, zone, f, \$R) {\n" |
| " var old, t1;\n" |
| " type\$.nullable_Zone._as(\$self);\n" |
| " type\$.nullable_ZoneDelegate._as(\$parent);\n" |
| " type\$.Zone._as(zone);\n" |
| " \$R._eval\$1(\"0()\")._as(f);\n" |
| " t1 = \$.Zone__current;\n" |
| " if (t1 === zone)\n" |
| " return f.call\$0();\n" |
| " \$.Zone__current = zone;\n" |
| " old = t1;\n" |
| " try {\n" |
| " t1 = f.call\$0();\n" |
| " return t1;\n" |
| " } finally {\n" |
| " \$.Zone__current = old;\n" |
| " }\n" |
| " },\n" |
| " _rootRunUnary(\$self, \$parent, zone, f, arg, \$R, \$T) {\n" |
| " var old, t1;\n" |
| " type\$.nullable_Zone._as(\$self);\n" |
| " type\$.nullable_ZoneDelegate._as(\$parent);\n" |
| " type\$.Zone._as(zone);\n" |
| " \$R._eval\$1(\"@<0>\")._bind\$1(\$T)._eval\$1(\"1(2)\")._as(f);\n" |
| " \$T._as(arg);\n" |
| " t1 = \$.Zone__current;\n" |
| " if (t1 === zone)\n" |
| " return f.call\$1(arg);\n" |
| " \$.Zone__current = zone;\n" |
| " old = t1;\n" |
| " try {\n" |
| " t1 = f.call\$1(arg);\n" |
| " return t1;\n" |
| " } finally {\n" |
| " \$.Zone__current = old;\n" |
| " }\n" |
| " },\n" |
| " _rootRunBinary(\$self, \$parent, zone, f, arg1, arg2, \$R, \$T1, \$T2) {\n" |
| " var old, t1;\n" |
| " type\$.nullable_Zone._as(\$self);\n" |
| " type\$.nullable_ZoneDelegate._as(\$parent);\n" |
| " type\$.Zone._as(zone);\n" |
| " \$R._eval\$1(\"@<0>\")._bind\$1(\$T1)._bind\$1(\$T2)._eval\$1(\"1(2,3)\")._as(f);\n" |
| " \$T1._as(arg1);\n" |
| " \$T2._as(arg2);\n" |
| " t1 = \$.Zone__current;\n" |
| " if (t1 === zone)\n" |
| " return f.call\$2(arg1, arg2);\n" |
| " \$.Zone__current = zone;\n" |
| " old = t1;\n" |
| " try {\n" |
| " t1 = f.call\$2(arg1, arg2);\n" |
| " return t1;\n" |
| " } finally {\n" |
| " \$.Zone__current = old;\n" |
| " }\n" |
| " },\n" |
| " _rootRegisterCallback(\$self, \$parent, zone, f, \$R) {\n" |
| " return \$R._eval\$1(\"0()\")._as(f);\n" |
| " },\n" |
| " _rootRegisterUnaryCallback(\$self, \$parent, zone, f, \$R, \$T) {\n" |
| " return \$R._eval\$1(\"@<0>\")._bind\$1(\$T)._eval\$1(\"1(2)\")._as(f);\n" |
| " },\n" |
| " _rootRegisterBinaryCallback(\$self, \$parent, zone, f, \$R, \$T1, \$T2) {\n" |
| " return \$R._eval\$1(\"@<0>\")._bind\$1(\$T1)._bind\$1(\$T2)._eval\$1(\"1(2,3)\")._as(f);\n" |
| " },\n" |
| " _rootErrorCallback(\$self, \$parent, zone, error, stackTrace) {\n" |
| " type\$.nullable_StackTrace._as(stackTrace);\n" |
| " return null;\n" |
| " },\n" |
| " _rootScheduleMicrotask(\$self, \$parent, zone, f) {\n" |
| " var t1, t2;\n" |
| " type\$.void_Function._as(f);\n" |
| " if (B.C__RootZone !== zone) {\n" |
| " t1 = B.C__RootZone.get\$errorZone();\n" |
| " t2 = zone.get\$errorZone();\n" |
| " f = t1 !== t2 ? zone.bindCallbackGuarded\$1(f) : zone.bindCallback\$1\$1(f, type\$.void);\n" |
| " }\n" |
| " A._scheduleAsyncCallback(f);\n" |
| " },\n" |
| " _rootCreateTimer(\$self, \$parent, zone, duration, callback) {\n" |
| " type\$.Duration._as(duration);\n" |
| " type\$.void_Function._as(callback);\n" |
| " return A.Timer__createTimer(duration, B.C__RootZone !== zone ? zone.bindCallback\$1\$1(callback, type\$.void) : callback);\n" |
| " },\n" |
| " _rootCreatePeriodicTimer(\$self, \$parent, zone, duration, callback) {\n" |
| " var milliseconds;\n" |
| " type\$.Duration._as(duration);\n" |
| " type\$.void_Function_Timer._as(callback);\n" |
| " if (B.C__RootZone !== zone)\n" |
| " callback = zone.bindUnaryCallback\$2\$1(callback, type\$.void, type\$.Timer);\n" |
| " milliseconds = B.JSInt_methods._tdivFast\$1(duration._duration, 1000);\n" |
| " return A._TimerImpl\$periodic(milliseconds < 0 ? 0 : milliseconds, callback);\n" |
| " },\n" |
| " _rootPrint(\$self, \$parent, zone, line) {\n" |
| " A.printString(A._asString(line));\n" |
| " },\n" |
| " _printToZone0(line) {\n" |
| " \$.Zone__current.print\$1(line);\n" |
| " },\n" |
| " _rootFork(\$self, \$parent, zone, specification, zoneValues) {\n" |
| " var valueMap, t1, handleUncaughtError;\n" |
| " type\$.nullable_ZoneSpecification._as(specification);\n" |
| " type\$.nullable_Map_of_nullable_Object_and_nullable_Object._as(zoneValues);\n" |
| " \$._printToZone = A.async___printToZone\$closure();\n" |
| " valueMap = zone.get\$_map();\n" |
| " t1 = new A._CustomZone(zone.get\$_run(), zone.get\$_runUnary(), zone.get\$_runBinary(), zone.get\$_registerCallback(), zone.get\$_registerUnaryCallback(), zone.get\$_registerBinaryCallback(), zone.get\$_errorCallback(), zone.get\$_scheduleMicrotask(), zone.get\$_createTimer(), zone.get\$_createPeriodicTimer(), zone.get\$_print(), zone.get\$_fork(), zone.get\$_handleUncaughtError(), zone, valueMap);\n" |
| " handleUncaughtError = specification.handleUncaughtError;\n" |
| " if (handleUncaughtError != null)\n" |
| " t1._handleUncaughtError = new A._ZoneFunction(t1, handleUncaughtError, type\$._ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace);\n" |
| " return t1;\n" |
| " },\n" |
| " ZoneSpecification_ZoneSpecification\$from(other, handleUncaughtError) {\n" |
| " var t1 = handleUncaughtError == null ? other.handleUncaughtError : handleUncaughtError;\n" |
| " return new A._ZoneSpecification(t1, other.run, other.runUnary, other.runBinary, other.registerCallback, other.registerUnaryCallback, other.registerBinaryCallback, other.errorCallback, other.scheduleMicrotask, other.createTimer, other.createPeriodicTimer, other.print, other.fork);\n" |
| " },\n" |
| " _AsyncRun__initializeScheduleImmediate_internalCallback: function _AsyncRun__initializeScheduleImmediate_internalCallback(t0) {\n" |
| " this._box_0 = t0;\n" |
| " },\n" |
| " _AsyncRun__initializeScheduleImmediate_closure: function _AsyncRun__initializeScheduleImmediate_closure(t0, t1, t2) {\n" |
| " this._box_0 = t0;\n" |
| " this.div = t1;\n" |
| " this.span = t2;\n" |
| " },\n" |
| " _AsyncRun__scheduleImmediateJsOverride_internalCallback: function _AsyncRun__scheduleImmediateJsOverride_internalCallback(t0) {\n" |
| " this.callback = t0;\n" |
| " },\n" |
| " _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback: function _AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(t0) {\n" |
| " this.callback = t0;\n" |
| " },\n" |
| " _TimerImpl: function _TimerImpl(t0) {\n" |
| " this._once = t0;\n" |
| " this._handle = null;\n" |
| " this._tick = 0;\n" |
| " },\n" |
| " _TimerImpl_internalCallback: function _TimerImpl_internalCallback(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.callback = t1;\n" |
| " },\n" |
| " _TimerImpl\$periodic_closure: function _TimerImpl\$periodic_closure(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.\$this = t0;\n" |
| " _.milliseconds = t1;\n" |
| " _.start = t2;\n" |
| " _.callback = t3;\n" |
| " },\n" |
| " _AsyncAwaitCompleter: function _AsyncAwaitCompleter(t0, t1) {\n" |
| " this._future = t0;\n" |
| " this.isSync = false;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " _awaitOnObject_closure: function _awaitOnObject_closure(t0) {\n" |
| " this.bodyFunction = t0;\n" |
| " },\n" |
| " _awaitOnObject_closure0: function _awaitOnObject_closure0(t0) {\n" |
| " this.bodyFunction = t0;\n" |
| " },\n" |
| " _wrapJsFunctionForAsync_closure: function _wrapJsFunctionForAsync_closure(t0) {\n" |
| " this.\$protected = t0;\n" |
| " },\n" |
| " AsyncError: function AsyncError(t0, t1) {\n" |
| " this.error = t0;\n" |
| " this.stackTrace = t1;\n" |
| " },\n" |
| " Future_Future\$microtask_closure: function Future_Future\$microtask_closure(t0, t1) {\n" |
| " this.computation = t0;\n" |
| " this.result = t1;\n" |
| " },\n" |
| " Future_Future\$delayed_closure: function Future_Future\$delayed_closure(t0, t1, t2) {\n" |
| " this.computation = t0;\n" |
| " this.result = t1;\n" |
| " this.T = t2;\n" |
| " },\n" |
| " _Completer: function _Completer() {\n" |
| " },\n" |
| " _AsyncCompleter: function _AsyncCompleter(t0, t1) {\n" |
| " this.future = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " _SyncCompleter: function _SyncCompleter(t0, t1) {\n" |
| " this.future = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " _FutureListener: function _FutureListener(t0, t1, t2, t3, t4) {\n" |
| " var _ = this;\n" |
| " _._nextListener = null;\n" |
| " _.result = t0;\n" |
| " _.state = t1;\n" |
| " _.callback = t2;\n" |
| " _.errorCallback = t3;\n" |
| " _.\$ti = t4;\n" |
| " },\n" |
| " _Future: function _Future(t0, t1) {\n" |
| " var _ = this;\n" |
| " _._state = 0;\n" |
| " _._zone = t0;\n" |
| " _._resultOrListeners = null;\n" |
| " _.\$ti = t1;\n" |
| " },\n" |
| " _Future__addListener_closure: function _Future__addListener_closure(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.listener = t1;\n" |
| " },\n" |
| " _Future__prependListeners_closure: function _Future__prependListeners_closure(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this.\$this = t1;\n" |
| " },\n" |
| " _Future__chainCoreFuture_closure: function _Future__chainCoreFuture_closure(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this.target = t1;\n" |
| " },\n" |
| " _Future__asyncCompleteWithValue_closure: function _Future__asyncCompleteWithValue_closure(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.value = t1;\n" |
| " },\n" |
| " _Future__asyncCompleteErrorObject_closure: function _Future__asyncCompleteErrorObject_closure(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.error = t1;\n" |
| " },\n" |
| " _Future__propagateToListeners_handleWhenCompleteCallback: function _Future__propagateToListeners_handleWhenCompleteCallback(t0, t1, t2) {\n" |
| " this._box_0 = t0;\n" |
| " this._box_1 = t1;\n" |
| " this.hasError = t2;\n" |
| " },\n" |
| " _Future__propagateToListeners_handleWhenCompleteCallback_closure: function _Future__propagateToListeners_handleWhenCompleteCallback_closure(t0, t1) {\n" |
| " this.joinedResult = t0;\n" |
| " this.originalSource = t1;\n" |
| " },\n" |
| " _Future__propagateToListeners_handleWhenCompleteCallback_closure0: function _Future__propagateToListeners_handleWhenCompleteCallback_closure0(t0) {\n" |
| " this.joinedResult = t0;\n" |
| " },\n" |
| " _Future__propagateToListeners_handleValueCallback: function _Future__propagateToListeners_handleValueCallback(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this.sourceResult = t1;\n" |
| " },\n" |
| " _Future__propagateToListeners_handleError: function _Future__propagateToListeners_handleError(t0, t1) {\n" |
| " this._box_1 = t0;\n" |
| " this._box_0 = t1;\n" |
| " },\n" |
| " _Future_timeout_closure: function _Future_timeout_closure(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.\$this = t0;\n" |
| " _._future = t1;\n" |
| " _.zone = t2;\n" |
| " _.onTimeoutHandler = t3;\n" |
| " },\n" |
| " _Future_timeout_closure0: function _Future_timeout_closure0(t0, t1, t2) {\n" |
| " this._box_0 = t0;\n" |
| " this.\$this = t1;\n" |
| " this._future = t2;\n" |
| " },\n" |
| " _Future_timeout_closure1: function _Future_timeout_closure1(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this._future = t1;\n" |
| " },\n" |
| " _AsyncCallbackEntry: function _AsyncCallbackEntry(t0) {\n" |
| " this.callback = t0;\n" |
| " this.next = null;\n" |
| " },\n" |
| " Stream: function Stream() {\n" |
| " },\n" |
| " Stream_length_closure: function Stream_length_closure(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this.\$this = t1;\n" |
| " },\n" |
| " Stream_length_closure0: function Stream_length_closure0(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this.future = t1;\n" |
| " },\n" |
| " Stream_first_closure: function Stream_first_closure(t0) {\n" |
| " this.future = t0;\n" |
| " },\n" |
| " Stream_first_closure0: function Stream_first_closure0(t0, t1, t2) {\n" |
| " this.\$this = t0;\n" |
| " this.subscription = t1;\n" |
| " this.future = t2;\n" |
| " },\n" |
| " StreamView: function StreamView() {\n" |
| " },\n" |
| " _StreamController: function _StreamController() {\n" |
| " },\n" |
| " _StreamController__subscribe_closure: function _StreamController__subscribe_closure(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " _StreamController__recordCancel_complete: function _StreamController__recordCancel_complete(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " _AsyncStreamControllerDispatch: function _AsyncStreamControllerDispatch() {\n" |
| " },\n" |
| " _AsyncStreamController: function _AsyncStreamController(t0, t1, t2, t3, t4) {\n" |
| " var _ = this;\n" |
| " _._varData = null;\n" |
| " _._state = 0;\n" |
| " _._doneFuture = null;\n" |
| " _.onListen = t0;\n" |
| " _.onPause = t1;\n" |
| " _.onResume = t2;\n" |
| " _.onCancel = t3;\n" |
| " _.\$ti = t4;\n" |
| " },\n" |
| " _ControllerStream: function _ControllerStream(t0, t1) {\n" |
| " this._controller = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " _ControllerSubscription: function _ControllerSubscription(t0, t1, t2, t3, t4, t5, t6) {\n" |
| " var _ = this;\n" |
| " _._controller = t0;\n" |
| " _._async\$_onData = t1;\n" |
| " _._onError = t2;\n" |
| " _._onDone = t3;\n" |
| " _._zone = t4;\n" |
| " _._state = t5;\n" |
| " _._pending = _._cancelFuture = null;\n" |
| " _.\$ti = t6;\n" |
| " },\n" |
| " _StreamSinkWrapper: function _StreamSinkWrapper(t0, t1) {\n" |
| " this._async\$_target = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " _BufferingStreamSubscription: function _BufferingStreamSubscription() {\n" |
| " },\n" |
| " _BufferingStreamSubscription_asFuture_closure: function _BufferingStreamSubscription_asFuture_closure(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this.result = t1;\n" |
| " },\n" |
| " _BufferingStreamSubscription_asFuture_closure0: function _BufferingStreamSubscription_asFuture_closure0(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.result = t1;\n" |
| " },\n" |
| " _BufferingStreamSubscription_asFuture__closure: function _BufferingStreamSubscription_asFuture__closure(t0, t1, t2) {\n" |
| " this.result = t0;\n" |
| " this.error = t1;\n" |
| " this.stackTrace = t2;\n" |
| " },\n" |
| " _BufferingStreamSubscription__sendError_sendError: function _BufferingStreamSubscription__sendError_sendError(t0, t1, t2) {\n" |
| " this.\$this = t0;\n" |
| " this.error = t1;\n" |
| " this.stackTrace = t2;\n" |
| " },\n" |
| " _BufferingStreamSubscription__sendDone_sendDone: function _BufferingStreamSubscription__sendDone_sendDone(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " _StreamImpl: function _StreamImpl() {\n" |
| " },\n" |
| " _DelayedEvent: function _DelayedEvent() {\n" |
| " },\n" |
| " _DelayedData: function _DelayedData(t0, t1) {\n" |
| " this.value = t0;\n" |
| " this.next = null;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " _DelayedError: function _DelayedError(t0, t1) {\n" |
| " this.error = t0;\n" |
| " this.stackTrace = t1;\n" |
| " this.next = null;\n" |
| " },\n" |
| " _DelayedDone: function _DelayedDone() {\n" |
| " },\n" |
| " _PendingEvents: function _PendingEvents(t0) {\n" |
| " var _ = this;\n" |
| " _._state = 0;\n" |
| " _.lastPendingEvent = _.firstPendingEvent = null;\n" |
| " _.\$ti = t0;\n" |
| " },\n" |
| " _PendingEvents_schedule_closure: function _PendingEvents_schedule_closure(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.dispatch = t1;\n" |
| " },\n" |
| " _DoneStreamSubscription: function _DoneStreamSubscription(t0, t1) {\n" |
| " var _ = this;\n" |
| " _._state = 1;\n" |
| " _._zone = t0;\n" |
| " _._onDone = null;\n" |
| " _.\$ti = t1;\n" |
| " },\n" |
| " _StreamIterator: function _StreamIterator(t0) {\n" |
| " this.\$ti = t0;\n" |
| " },\n" |
| " _EmptyStream: function _EmptyStream(t0) {\n" |
| " this.\$ti = t0;\n" |
| " },\n" |
| " _MultiStream: function _MultiStream(t0, t1, t2) {\n" |
| " this.isBroadcast = t0;\n" |
| " this._onListen = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " _MultiStream_listen_closure: function _MultiStream_listen_closure(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.controller = t1;\n" |
| " },\n" |
| " _MultiStreamController: function _MultiStreamController(t0, t1, t2, t3, t4) {\n" |
| " var _ = this;\n" |
| " _._varData = null;\n" |
| " _._state = 0;\n" |
| " _._doneFuture = null;\n" |
| " _.onListen = t0;\n" |
| " _.onPause = t1;\n" |
| " _.onResume = t2;\n" |
| " _.onCancel = t3;\n" |
| " _.\$ti = t4;\n" |
| " },\n" |
| " _cancelAndValue_closure: function _cancelAndValue_closure(t0, t1) {\n" |
| " this.future = t0;\n" |
| " this.value = t1;\n" |
| " },\n" |
| " _ForwardingStream: function _ForwardingStream() {\n" |
| " },\n" |
| " _ForwardingStreamSubscription: function _ForwardingStreamSubscription(t0, t1, t2, t3, t4, t5, t6) {\n" |
| " var _ = this;\n" |
| " _._stream = t0;\n" |
| " _._subscription = null;\n" |
| " _._async\$_onData = t1;\n" |
| " _._onError = t2;\n" |
| " _._onDone = t3;\n" |
| " _._zone = t4;\n" |
| " _._state = t5;\n" |
| " _._pending = _._cancelFuture = null;\n" |
| " _.\$ti = t6;\n" |
| " },\n" |
| " _MapStream: function _MapStream(t0, t1, t2) {\n" |
| " this._transform = t0;\n" |
| " this._source = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " _ZoneFunction: function _ZoneFunction(t0, t1, t2) {\n" |
| " this.zone = t0;\n" |
| " this.\$function = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " _Zone: function _Zone() {\n" |
| " },\n" |
| " _CustomZone: function _CustomZone(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, t13, t14) {\n" |
| " var _ = this;\n" |
| " _._run = t0;\n" |
| " _._runUnary = t1;\n" |
| " _._runBinary = t2;\n" |
| " _._registerCallback = t3;\n" |
| " _._registerUnaryCallback = t4;\n" |
| " _._registerBinaryCallback = t5;\n" |
| " _._errorCallback = t6;\n" |
| " _._scheduleMicrotask = t7;\n" |
| " _._createTimer = t8;\n" |
| " _._createPeriodicTimer = t9;\n" |
| " _._print = t10;\n" |
| " _._fork = t11;\n" |
| " _._handleUncaughtError = t12;\n" |
| " _._delegateCache = null;\n" |
| " _.parent = t13;\n" |
| " _._map = t14;\n" |
| " },\n" |
| " _CustomZone_bindCallback_closure: function _CustomZone_bindCallback_closure(t0, t1, t2) {\n" |
| " this.\$this = t0;\n" |
| " this.registered = t1;\n" |
| " this.R = t2;\n" |
| " },\n" |
| " _CustomZone_bindUnaryCallback_closure: function _CustomZone_bindUnaryCallback_closure(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.\$this = t0;\n" |
| " _.registered = t1;\n" |
| " _.T = t2;\n" |
| " _.R = t3;\n" |
| " },\n" |
| " _CustomZone_bindCallbackGuarded_closure: function _CustomZone_bindCallbackGuarded_closure(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.registered = t1;\n" |
| " },\n" |
| " _CustomZone_bindUnaryCallbackGuarded_closure: function _CustomZone_bindUnaryCallbackGuarded_closure(t0, t1, t2) {\n" |
| " this.\$this = t0;\n" |
| " this.registered = t1;\n" |
| " this.T = t2;\n" |
| " },\n" |
| " _RootZone: function _RootZone() {\n" |
| " },\n" |
| " _RootZone_bindCallback_closure: function _RootZone_bindCallback_closure(t0, t1, t2) {\n" |
| " this.\$this = t0;\n" |
| " this.f = t1;\n" |
| " this.R = t2;\n" |
| " },\n" |
| " _RootZone_bindUnaryCallback_closure: function _RootZone_bindUnaryCallback_closure(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.\$this = t0;\n" |
| " _.f = t1;\n" |
| " _.T = t2;\n" |
| " _.R = t3;\n" |
| " },\n" |
| " _RootZone_bindCallbackGuarded_closure: function _RootZone_bindCallbackGuarded_closure(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.f = t1;\n" |
| " },\n" |
| " _RootZone_bindUnaryCallbackGuarded_closure: function _RootZone_bindUnaryCallbackGuarded_closure(t0, t1, t2) {\n" |
| " this.\$this = t0;\n" |
| " this.f = t1;\n" |
| " this.T = t2;\n" |
| " },\n" |
| " runZonedGuarded_closure: function runZonedGuarded_closure(t0, t1) {\n" |
| " this.parentZone = t0;\n" |
| " this.onError = t1;\n" |
| " },\n" |
| " _ZoneDelegate: function _ZoneDelegate(t0) {\n" |
| " this._delegationTarget = t0;\n" |
| " },\n" |
| " _rootHandleError_closure: function _rootHandleError_closure(t0, t1) {\n" |
| " this.error = t0;\n" |
| " this.stackTrace = t1;\n" |
| " },\n" |
| " _ZoneSpecification: function _ZoneSpecification(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12) {\n" |
| " var _ = this;\n" |
| " _.handleUncaughtError = t0;\n" |
| " _.run = t1;\n" |
| " _.runUnary = t2;\n" |
| " _.runBinary = t3;\n" |
| " _.registerCallback = t4;\n" |
| " _.registerUnaryCallback = t5;\n" |
| " _.registerBinaryCallback = t6;\n" |
| " _.errorCallback = t7;\n" |
| " _.scheduleMicrotask = t8;\n" |
| " _.createTimer = t9;\n" |
| " _.createPeriodicTimer = t10;\n" |
| " _.print = t11;\n" |
| " _.fork = t12;\n" |
| " },\n" |
| " HashMap_HashMap(equals, hashCode, \$K, \$V) {\n" |
| " return new A._HashMap(\$K._eval\$1(\"@<0>\")._bind\$1(\$V)._eval\$1(\"_HashMap<1,2>\"));\n" |
| " },\n" |
| " _HashMap__getTableEntry(table, key) {\n" |
| " var entry = table[key];\n" |
| " return entry === table ? null : entry;\n" |
| " },\n" |
| " _HashMap__setTableEntry(table, key, value) {\n" |
| " if (value == null)\n" |
| " table[key] = table;\n" |
| " else\n" |
| " table[key] = value;\n" |
| " },\n" |
| " _HashMap__newHashTable() {\n" |
| " var table = Object.create(null);\n" |
| " A._HashMap__setTableEntry(table, \"<non-identifier-key>\", table);\n" |
| " delete table[\"<non-identifier-key>\"];\n" |
| " return table;\n" |
| " },\n" |
| " LinkedHashMap_LinkedHashMap(equals, hashCode, \$K, \$V) {\n" |
| " if (hashCode == null) {\n" |
| " if (equals == null)\n" |
| " return new A.JsLinkedHashMap(\$K._eval\$1(\"@<0>\")._bind\$1(\$V)._eval\$1(\"JsLinkedHashMap<1,2>\"));\n" |
| " hashCode = A.collection___defaultHashCode\$closure();\n" |
| " } else {\n" |
| " if (A.core__identityHashCode\$closure() === hashCode && A.core__identical\$closure() === equals)\n" |
| " return new A.JsIdentityLinkedHashMap(\$K._eval\$1(\"@<0>\")._bind\$1(\$V)._eval\$1(\"JsIdentityLinkedHashMap<1,2>\"));\n" |
| " if (equals == null)\n" |
| " equals = A.collection___defaultEquals\$closure();\n" |
| " }\n" |
| " return A._LinkedCustomHashMap\$(equals, hashCode, null, \$K, \$V);\n" |
| " },\n" |
| " LinkedHashMap_LinkedHashMap\$_literal(keyValuePairs, \$K, \$V) {\n" |
| " return \$K._eval\$1(\"@<0>\")._bind\$1(\$V)._eval\$1(\"LinkedHashMap<1,2>\")._as(A.fillLiteralMap(keyValuePairs, new A.JsLinkedHashMap(\$K._eval\$1(\"@<0>\")._bind\$1(\$V)._eval\$1(\"JsLinkedHashMap<1,2>\"))));\n" |
| " },\n" |
| " LinkedHashMap_LinkedHashMap\$_empty(\$K, \$V) {\n" |
| " return new A.JsLinkedHashMap(\$K._eval\$1(\"@<0>\")._bind\$1(\$V)._eval\$1(\"JsLinkedHashMap<1,2>\"));\n" |
| " },\n" |
| " _LinkedCustomHashMap\$(_equals, _hashCode, validKey, \$K, \$V) {\n" |
| " return new A._LinkedCustomHashMap(_equals, _hashCode, new A._LinkedCustomHashMap_closure(\$K), \$K._eval\$1(\"@<0>\")._bind\$1(\$V)._eval\$1(\"_LinkedCustomHashMap<1,2>\"));\n" |
| " },\n" |
| " HashSet_HashSet(equals, hashCode, \$E) {\n" |
| " return new A._HashSet(\$E._eval\$1(\"_HashSet<0>\"));\n" |
| " },\n" |
| " _HashSet__newHashTable() {\n" |
| " var table = Object.create(null);\n" |
| " table[\"<non-identifier-key>\"] = table;\n" |
| " delete table[\"<non-identifier-key>\"];\n" |
| " return table;\n" |
| " },\n" |
| " _defaultEquals0(a, b) {\n" |
| " return J.\$eq\$(a, b);\n" |
| " },\n" |
| " _defaultHashCode(a) {\n" |
| " return J.get\$hashCode\$(a);\n" |
| " },\n" |
| " ListBase__compareAny(a, b) {\n" |
| " var t1 = type\$.Comparable_dynamic;\n" |
| " return J.compareTo\$1\$ns(t1._as(a), t1._as(b));\n" |
| " },\n" |
| " MapBase_mapToString(m) {\n" |
| " var result, t1;\n" |
| " if (A.isToStringVisiting(m))\n" |
| " return \"{...}\";\n" |
| " result = new A.StringBuffer(\"\");\n" |
| " try {\n" |
| " t1 = {};\n" |
| " B.JSArray_methods.add\$1(\$._toStringVisiting, m);\n" |
| " result._contents += \"{\";\n" |
| " t1.first = true;\n" |
| " m.forEach\$1(0, new A.MapBase_mapToString_closure(t1, result));\n" |
| " result._contents += \"}\";\n" |
| " } finally {\n" |
| " if (0 >= \$._toStringVisiting.length)\n" |
| " return A.ioore(\$._toStringVisiting, -1);\n" |
| " \$._toStringVisiting.pop();\n" |
| " }\n" |
| " t1 = result._contents;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " ListQueue\$(\$E) {\n" |
| " return new A.ListQueue(A.List_List\$filled(A.ListQueue__calculateCapacity(null), null, false, \$E._eval\$1(\"0?\")), \$E._eval\$1(\"ListQueue<0>\"));\n" |
| " },\n" |
| " ListQueue__calculateCapacity(initialCapacity) {\n" |
| " return 8;\n" |
| " },\n" |
| " _HashMap: function _HashMap(t0) {\n" |
| " var _ = this;\n" |
| " _._collection\$_length = 0;\n" |
| " _._keys = _._collection\$_rest = _._nums = _._strings = null;\n" |
| " _.\$ti = t0;\n" |
| " },\n" |
| " _IdentityHashMap: function _IdentityHashMap(t0) {\n" |
| " var _ = this;\n" |
| " _._collection\$_length = 0;\n" |
| " _._keys = _._collection\$_rest = _._nums = _._strings = null;\n" |
| " _.\$ti = t0;\n" |
| " },\n" |
| " _HashMapKeyIterable: function _HashMapKeyIterable(t0, t1) {\n" |
| " this._collection\$_map = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " _HashMapKeyIterator: function _HashMapKeyIterator(t0, t1, t2) {\n" |
| " var _ = this;\n" |
| " _._collection\$_map = t0;\n" |
| " _._keys = t1;\n" |
| " _._offset = 0;\n" |
| " _._collection\$_current = null;\n" |
| " _.\$ti = t2;\n" |
| " },\n" |
| " _LinkedCustomHashMap: function _LinkedCustomHashMap(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _._equals = t0;\n" |
| " _._hashCode = t1;\n" |
| " _._validKey = t2;\n" |
| " _.__js_helper\$_length = 0;\n" |
| " _._last = _._first = _.__js_helper\$_rest = _.__js_helper\$_nums = _.__js_helper\$_strings = null;\n" |
| " _._modifications = 0;\n" |
| " _.\$ti = t3;\n" |
| " },\n" |
| " _LinkedCustomHashMap_closure: function _LinkedCustomHashMap_closure(t0) {\n" |
| " this.K = t0;\n" |
| " },\n" |
| " _HashSet: function _HashSet(t0) {\n" |
| " var _ = this;\n" |
| " _._collection\$_length = 0;\n" |
| " _._collection\$_elements = _._collection\$_rest = _._nums = _._strings = null;\n" |
| " _.\$ti = t0;\n" |
| " },\n" |
| " _HashSetIterator: function _HashSetIterator(t0, t1, t2) {\n" |
| " var _ = this;\n" |
| " _._set = t0;\n" |
| " _._collection\$_elements = t1;\n" |
| " _._offset = 0;\n" |
| " _._collection\$_current = null;\n" |
| " _.\$ti = t2;\n" |
| " },\n" |
| " ListBase: function ListBase() {\n" |
| " },\n" |
| " MapBase: function MapBase() {\n" |
| " },\n" |
| " MapBase_mapToString_closure: function MapBase_mapToString_closure(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this.result = t1;\n" |
| " },\n" |
| " _UnmodifiableMapMixin: function _UnmodifiableMapMixin() {\n" |
| " },\n" |
| " MapView: function MapView() {\n" |
| " },\n" |
| " UnmodifiableMapView: function UnmodifiableMapView(t0, t1) {\n" |
| " this._collection\$_map = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " ListQueue: function ListQueue(t0, t1) {\n" |
| " var _ = this;\n" |
| " _._table = t0;\n" |
| " _._modificationCount = _._tail = _._head = 0;\n" |
| " _.\$ti = t1;\n" |
| " },\n" |
| " _ListQueueIterator: function _ListQueueIterator(t0, t1, t2, t3, t4) {\n" |
| " var _ = this;\n" |
| " _._queue = t0;\n" |
| " _._end = t1;\n" |
| " _._modificationCount = t2;\n" |
| " _._position = t3;\n" |
| " _._collection\$_current = null;\n" |
| " _.\$ti = t4;\n" |
| " },\n" |
| " SetBase: function SetBase() {\n" |
| " },\n" |
| " _SetBase: function _SetBase() {\n" |
| " },\n" |
| " _SplayTreeNode: function _SplayTreeNode() {\n" |
| " },\n" |
| " _SplayTreeSetNode: function _SplayTreeSetNode(t0, t1) {\n" |
| " var _ = this;\n" |
| " _.key = t0;\n" |
| " _._right = _._left = null;\n" |
| " _.\$ti = t1;\n" |
| " },\n" |
| " _SplayTree: function _SplayTree() {\n" |
| " },\n" |
| " _SplayTreeIterator: function _SplayTreeIterator() {\n" |
| " },\n" |
| " _SplayTreeKeyIterator: function _SplayTreeKeyIterator(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _._tree = t0;\n" |
| " _._path = t1;\n" |
| " _._modificationCount = null;\n" |
| " _._splayCount = t2;\n" |
| " _.\$ti = t3;\n" |
| " },\n" |
| " SplayTreeSet: function SplayTreeSet(t0, t1) {\n" |
| " var _ = this;\n" |
| " _._root = null;\n" |
| " _._compare = t0;\n" |
| " _._splayCount = _._modificationCount = _._count = 0;\n" |
| " _.\$ti = t1;\n" |
| " },\n" |
| " _SplayTreeSet__SplayTree_Iterable: function _SplayTreeSet__SplayTree_Iterable() {\n" |
| " },\n" |
| " _SplayTreeSet__SplayTree_Iterable_SetMixin: function _SplayTreeSet__SplayTree_Iterable_SetMixin() {\n" |
| " },\n" |
| " _UnmodifiableMapView_MapView__UnmodifiableMapMixin: function _UnmodifiableMapView_MapView__UnmodifiableMapMixin() {\n" |
| " },\n" |
| " _parseJson(source, reviver) {\n" |
| " var e, exception, t1, parsed = null;\n" |
| " try {\n" |
| " parsed = JSON.parse(source);\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " t1 = A.FormatException\$(String(e), null, null);\n" |
| " throw A.wrapException(t1);\n" |
| " }\n" |
| " t1 = A._convertJsonToDartLazy(parsed);\n" |
| " return t1;\n" |
| " },\n" |
| " _convertJsonToDartLazy(object) {\n" |
| " var i;\n" |
| " if (object == null)\n" |
| " return null;\n" |
| " if (typeof object != \"object\")\n" |
| " return object;\n" |
| " if (!Array.isArray(object))\n" |
| " return new A._JsonMap(object, Object.create(null));\n" |
| " for (i = 0; i < object.length; ++i)\n" |
| " object[i] = A._convertJsonToDartLazy(object[i]);\n" |
| " return object;\n" |
| " },\n" |
| " _Utf8Decoder__makeNativeUint8List(codeUnits, start, end) {\n" |
| " var bytes, t1, i, b,\n" |
| " \$length = end - start;\n" |
| " if (\$length <= 4096)\n" |
| " bytes = \$.\$get\$_Utf8Decoder__reusableBuffer();\n" |
| " else\n" |
| " bytes = new Uint8Array(\$length);\n" |
| " for (t1 = J.getInterceptor\$asx(codeUnits), i = 0; i < \$length; ++i) {\n" |
| " b = t1.\$index(codeUnits, start + i);\n" |
| " if ((b & 255) !== b)\n" |
| " b = 255;\n" |
| " bytes[i] = b;\n" |
| " }\n" |
| " return bytes;\n" |
| " },\n" |
| " _Utf8Decoder__convertInterceptedUint8List(allowMalformed, codeUnits, start, end) {\n" |
| " var decoder = allowMalformed ? \$.\$get\$_Utf8Decoder__decoderNonfatal() : \$.\$get\$_Utf8Decoder__decoder();\n" |
| " if (decoder == null)\n" |
| " return null;\n" |
| " if (0 === start && end === codeUnits.length)\n" |
| " return A._Utf8Decoder__useTextDecoder(decoder, codeUnits);\n" |
| " return A._Utf8Decoder__useTextDecoder(decoder, codeUnits.subarray(start, end));\n" |
| " },\n" |
| " _Utf8Decoder__useTextDecoder(decoder, codeUnits) {\n" |
| " var t1, exception;\n" |
| " try {\n" |
| " t1 = decoder.decode(codeUnits);\n" |
| " return t1;\n" |
| " } catch (exception) {\n" |
| " }\n" |
| " return null;\n" |
| " },\n" |
| " Base64Codec__checkPadding(source, sourceIndex, sourceEnd, firstPadding, paddingCount, \$length) {\n" |
| " if (B.JSInt_methods.\$mod(\$length, 4) !== 0)\n" |
| " throw A.wrapException(A.FormatException\$(\"Invalid base64 padding, padded length must be multiple of four, is \" + \$length, source, sourceEnd));\n" |
| " if (firstPadding + paddingCount !== \$length)\n" |
| " throw A.wrapException(A.FormatException\$(\"Invalid base64 padding, '=' not at the end\", source, sourceIndex));\n" |
| " if (paddingCount > 2)\n" |
| " throw A.wrapException(A.FormatException\$(\"Invalid base64 padding, more than two '=' characters\", source, sourceIndex));\n" |
| " },\n" |
| " Encoding_getByName(\$name) {\n" |
| " return B.Map_YCg0U.\$index(0, \$name.toLowerCase());\n" |
| " },\n" |
| " JsonUnsupportedObjectError\$(unsupportedObject, cause, partialResult) {\n" |
| " return new A.JsonUnsupportedObjectError(unsupportedObject, cause);\n" |
| " },\n" |
| " _defaultToEncodable(object) {\n" |
| " return object.toJson\$0();\n" |
| " },\n" |
| " _JsonStringStringifier\$(_sink, _toEncodable) {\n" |
| " return new A._JsonStringStringifier(_sink, [], A.convert___defaultToEncodable\$closure());\n" |
| " },\n" |
| " _JsonStringStringifier_stringify(object, toEncodable, indent) {\n" |
| " var t1,\n" |
| " output = new A.StringBuffer(\"\"),\n" |
| " stringifier = A._JsonStringStringifier\$(output, toEncodable);\n" |
| " stringifier.writeObject\$1(object);\n" |
| " t1 = output._contents;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " _Utf8Decoder_errorDescription(state) {\n" |
| " switch (state) {\n" |
| " case 65:\n" |
| " return \"Missing extension byte\";\n" |
| " case 67:\n" |
| " return \"Unexpected extension byte\";\n" |
| " case 69:\n" |
| " return \"Invalid UTF-8 byte\";\n" |
| " case 71:\n" |
| " return \"Overlong encoding\";\n" |
| " case 73:\n" |
| " return \"Out of unicode range\";\n" |
| " case 75:\n" |
| " return \"Encoded surrogate\";\n" |
| " case 77:\n" |
| " return \"Unfinished UTF-8 octet sequence\";\n" |
| " default:\n" |
| " return \"\";\n" |
| " }\n" |
| " },\n" |
| " _JsonMap: function _JsonMap(t0, t1) {\n" |
| " this._original = t0;\n" |
| " this._processed = t1;\n" |
| " this._data = null;\n" |
| " },\n" |
| " _JsonMapKeyIterable: function _JsonMapKeyIterable(t0) {\n" |
| " this._parent = t0;\n" |
| " },\n" |
| " _Utf8Decoder__decoder_closure: function _Utf8Decoder__decoder_closure() {\n" |
| " },\n" |
| " _Utf8Decoder__decoderNonfatal_closure: function _Utf8Decoder__decoderNonfatal_closure() {\n" |
| " },\n" |
| " AsciiCodec: function AsciiCodec() {\n" |
| " },\n" |
| " _UnicodeSubsetEncoder: function _UnicodeSubsetEncoder() {\n" |
| " },\n" |
| " AsciiEncoder: function AsciiEncoder(t0) {\n" |
| " this._subsetMask = t0;\n" |
| " },\n" |
| " _UnicodeSubsetDecoder: function _UnicodeSubsetDecoder() {\n" |
| " },\n" |
| " AsciiDecoder: function AsciiDecoder(t0, t1) {\n" |
| " this._allowInvalid = t0;\n" |
| " this._subsetMask = t1;\n" |
| " },\n" |
| " Base64Codec: function Base64Codec() {\n" |
| " },\n" |
| " Base64Encoder: function Base64Encoder() {\n" |
| " },\n" |
| " ByteConversionSink: function ByteConversionSink() {\n" |
| " },\n" |
| " _ByteCallbackSink: function _ByteCallbackSink(t0, t1) {\n" |
| " this._callback = t0;\n" |
| " this._convert\$_buffer = t1;\n" |
| " this._bufferIndex = 0;\n" |
| " },\n" |
| " Codec: function Codec() {\n" |
| " },\n" |
| " Converter: function Converter() {\n" |
| " },\n" |
| " Encoding: function Encoding() {\n" |
| " },\n" |
| " JsonUnsupportedObjectError: function JsonUnsupportedObjectError(t0, t1) {\n" |
| " this.unsupportedObject = t0;\n" |
| " this.cause = t1;\n" |
| " },\n" |
| " JsonCyclicError: function JsonCyclicError(t0, t1) {\n" |
| " this.unsupportedObject = t0;\n" |
| " this.cause = t1;\n" |
| " },\n" |
| " JsonCodec: function JsonCodec() {\n" |
| " },\n" |
| " JsonEncoder: function JsonEncoder(t0) {\n" |
| " this._toEncodable = t0;\n" |
| " },\n" |
| " JsonDecoder: function JsonDecoder(t0) {\n" |
| " this._reviver = t0;\n" |
| " },\n" |
| " _JsonStringifier: function _JsonStringifier() {\n" |
| " },\n" |
| " _JsonStringifier_writeMap_closure: function _JsonStringifier_writeMap_closure(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this.keyValueList = t1;\n" |
| " },\n" |
| " _JsonStringStringifier: function _JsonStringStringifier(t0, t1, t2) {\n" |
| " this._sink = t0;\n" |
| " this._seen = t1;\n" |
| " this._toEncodable = t2;\n" |
| " },\n" |
| " Latin1Codec: function Latin1Codec() {\n" |
| " },\n" |
| " Latin1Encoder: function Latin1Encoder(t0) {\n" |
| " this._subsetMask = t0;\n" |
| " },\n" |
| " Latin1Decoder: function Latin1Decoder(t0, t1) {\n" |
| " this._allowInvalid = t0;\n" |
| " this._subsetMask = t1;\n" |
| " },\n" |
| " Utf8Codec: function Utf8Codec() {\n" |
| " },\n" |
| " Utf8Encoder: function Utf8Encoder() {\n" |
| " },\n" |
| " _Utf8Encoder: function _Utf8Encoder(t0) {\n" |
| " this._bufferIndex = 0;\n" |
| " this._convert\$_buffer = t0;\n" |
| " },\n" |
| " Utf8Decoder: function Utf8Decoder(t0) {\n" |
| " this._allowMalformed = t0;\n" |
| " },\n" |
| " _Utf8Decoder: function _Utf8Decoder(t0) {\n" |
| " this.allowMalformed = t0;\n" |
| " this._convert\$_state = 16;\n" |
| " this._charOrIndex = 0;\n" |
| " },\n" |
| " identityHashCode(object) {\n" |
| " return A.objectHashCode(object);\n" |
| " },\n" |
| " int_parse(source, radix) {\n" |
| " var value = A.Primitives_parseInt(source, radix);\n" |
| " if (value != null)\n" |
| " return value;\n" |
| " throw A.wrapException(A.FormatException\$(source, null, null));\n" |
| " },\n" |
| " Error__throw(error, stackTrace) {\n" |
| " error = A.initializeExceptionWrapper(error, new Error());\n" |
| " if (error == null)\n" |
| " error = A._asObject(error);\n" |
| " error.stack = stackTrace.toString\$0(0);\n" |
| " throw error;\n" |
| " },\n" |
| " List_List\$filled(\$length, fill, growable, \$E) {\n" |
| " var i,\n" |
| " result = growable ? J.JSArray_JSArray\$growable(\$length, \$E) : J.JSArray_JSArray\$fixed(\$length, \$E);\n" |
| " if (\$length !== 0 && fill != null)\n" |
| " for (i = 0; i < result.length; ++i)\n" |
| " result[i] = fill;\n" |
| " return result;\n" |
| " },\n" |
| " List_List\$from(elements, growable, \$E) {\n" |
| " var t1,\n" |
| " list = A._setArrayType([], \$E._eval\$1(\"JSArray<0>\"));\n" |
| " for (t1 = J.get\$iterator\$ax(elements); t1.moveNext\$0();)\n" |
| " B.JSArray_methods.add\$1(list, \$E._as(t1.get\$current()));\n" |
| " list.\$flags = 1;\n" |
| " return list;\n" |
| " },\n" |
| " List_List\$_of(elements, \$E) {\n" |
| " var list, t1;\n" |
| " if (Array.isArray(elements))\n" |
| " return A._setArrayType(elements.slice(0), \$E._eval\$1(\"JSArray<0>\"));\n" |
| " list = A._setArrayType([], \$E._eval\$1(\"JSArray<0>\"));\n" |
| " for (t1 = J.get\$iterator\$ax(elements); t1.moveNext\$0();)\n" |
| " B.JSArray_methods.add\$1(list, t1.get\$current());\n" |
| " return list;\n" |
| " },\n" |
| " List_List\$unmodifiable(elements, \$E) {\n" |
| " var result = A.List_List\$from(elements, false, \$E);\n" |
| " result.\$flags = 3;\n" |
| " return result;\n" |
| " },\n" |
| " String_String\$fromCharCodes(charCodes, start, end) {\n" |
| " var t1, t2, maxLength, array, len;\n" |
| " A.RangeError_checkNotNegative(start, \"start\");\n" |
| " t1 = end == null;\n" |
| " t2 = !t1;\n" |
| " if (t2) {\n" |
| " maxLength = end - start;\n" |
| " if (maxLength < 0)\n" |
| " throw A.wrapException(A.RangeError\$range(end, start, null, \"end\", null));\n" |
| " if (maxLength === 0)\n" |
| " return \"\";\n" |
| " }\n" |
| " if (Array.isArray(charCodes)) {\n" |
| " array = charCodes;\n" |
| " len = array.length;\n" |
| " if (t1)\n" |
| " end = len;\n" |
| " return A.Primitives_stringFromCharCodes(start > 0 || end < len ? array.slice(start, end) : array);\n" |
| " }\n" |
| " if (type\$.NativeUint8List._is(charCodes))\n" |
| " return A.String__stringFromUint8List(charCodes, start, end);\n" |
| " if (t2)\n" |
| " charCodes = J.take\$1\$ax(charCodes, end);\n" |
| " if (start > 0)\n" |
| " charCodes = J.skip\$1\$ax(charCodes, start);\n" |
| " t1 = A.List_List\$_of(charCodes, type\$.int);\n" |
| " return A.Primitives_stringFromCharCodes(t1);\n" |
| " },\n" |
| " String__stringFromUint8List(charCodes, start, endOrNull) {\n" |
| " var len = charCodes.length;\n" |
| " if (start >= len)\n" |
| " return \"\";\n" |
| " return A.Primitives_stringFromNativeUint8List(charCodes, start, endOrNull == null || endOrNull > len ? len : endOrNull);\n" |
| " },\n" |
| " RegExp_RegExp(source, multiLine) {\n" |
| " return new A.JSSyntaxRegExp(source, A.JSSyntaxRegExp_makeNative(source, multiLine, true, false, false, \"\"));\n" |
| " },\n" |
| " identical(a, b) {\n" |
| " return a == null ? b == null : a === b;\n" |
| " },\n" |
| " StringBuffer__writeAll(string, objects, separator) {\n" |
| " var iterator = J.get\$iterator\$ax(objects);\n" |
| " if (!iterator.moveNext\$0())\n" |
| " return string;\n" |
| " if (separator.length === 0) {\n" |
| " do\n" |
| " string += A.S(iterator.get\$current());\n" |
| " while (iterator.moveNext\$0());\n" |
| " } else {\n" |
| " string += A.S(iterator.get\$current());\n" |
| " while (iterator.moveNext\$0())\n" |
| " string = string + separator + A.S(iterator.get\$current());\n" |
| " }\n" |
| " return string;\n" |
| " },\n" |
| " Uri_base() {\n" |
| " var cachedUri, uri,\n" |
| " current = A.Primitives_currentUri();\n" |
| " if (current == null)\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"'Uri.base' is not supported\"));\n" |
| " cachedUri = \$.Uri__cachedBaseUri;\n" |
| " if (cachedUri != null && current === \$.Uri__cachedBaseString)\n" |
| " return cachedUri;\n" |
| " uri = A.Uri_parse(current);\n" |
| " \$.Uri__cachedBaseUri = uri;\n" |
| " \$.Uri__cachedBaseString = current;\n" |
| " return uri;\n" |
| " },\n" |
| " _Uri__uriEncode(canonicalMask, text, encoding, spaceToPlus) {\n" |
| " var t1, bytes, i, t2, byte,\n" |
| " _s16_ = \"0123456789ABCDEF\";\n" |
| " if (encoding === B.C_Utf8Codec) {\n" |
| " t1 = \$.\$get\$_Uri__needsNoEncoding();\n" |
| " t1 = t1._nativeRegExp.test(text);\n" |
| " } else\n" |
| " t1 = false;\n" |
| " if (t1)\n" |
| " return text;\n" |
| " bytes = encoding.encode\$1(text);\n" |
| " for (t1 = bytes.length, i = 0, t2 = \"\"; i < t1; ++i) {\n" |
| " byte = bytes[i];\n" |
| " if (byte < 128 && (string\$.x00_____.charCodeAt(byte) & canonicalMask) !== 0)\n" |
| " t2 += A.Primitives_stringFromCharCode(byte);\n" |
| " else\n" |
| " t2 = spaceToPlus && byte === 32 ? t2 + \"+\" : t2 + \"%\" + _s16_[byte >>> 4 & 15] + _s16_[byte & 15];\n" |
| " }\n" |
| " return t2.charCodeAt(0) == 0 ? t2 : t2;\n" |
| " },\n" |
| " StackTrace_current() {\n" |
| " return A.getTraceFromException(new Error());\n" |
| " },\n" |
| " DateTime__fourDigits(n) {\n" |
| " var absN = Math.abs(n),\n" |
| " sign = n < 0 ? \"-\" : \"\";\n" |
| " if (absN >= 1000)\n" |
| " return \"\" + n;\n" |
| " if (absN >= 100)\n" |
| " return sign + \"0\" + absN;\n" |
| " if (absN >= 10)\n" |
| " return sign + \"00\" + absN;\n" |
| " return sign + \"000\" + absN;\n" |
| " },\n" |
| " DateTime__threeDigits(n) {\n" |
| " if (n >= 100)\n" |
| " return \"\" + n;\n" |
| " if (n >= 10)\n" |
| " return \"0\" + n;\n" |
| " return \"00\" + n;\n" |
| " },\n" |
| " DateTime__twoDigits(n) {\n" |
| " if (n >= 10)\n" |
| " return \"\" + n;\n" |
| " return \"0\" + n;\n" |
| " },\n" |
| " Duration\$(milliseconds) {\n" |
| " return new A.Duration(1000 * milliseconds);\n" |
| " },\n" |
| " Error_safeToString(object) {\n" |
| " if (typeof object == \"number\" || A._isBool(object) || object == null)\n" |
| " return J.toString\$0\$(object);\n" |
| " if (typeof object == \"string\")\n" |
| " return JSON.stringify(object);\n" |
| " return A.Primitives_safeToString(object);\n" |
| " },\n" |
| " Error_throwWithStackTrace(error, stackTrace) {\n" |
| " A.checkNotNullable(error, \"error\", type\$.Object);\n" |
| " A.checkNotNullable(stackTrace, \"stackTrace\", type\$.StackTrace);\n" |
| " A.Error__throw(error, stackTrace);\n" |
| " },\n" |
| " AssertionError\$(message) {\n" |
| " return new A.AssertionError(message);\n" |
| " },\n" |
| " ArgumentError\$(message, \$name) {\n" |
| " return new A.ArgumentError(false, null, \$name, message);\n" |
| " },\n" |
| " ArgumentError\$value(value, \$name, message) {\n" |
| " return new A.ArgumentError(true, value, \$name, message);\n" |
| " },\n" |
| " ArgumentError\$notNull(\$name) {\n" |
| " return new A.ArgumentError(false, null, \$name, \"Must not be null\");\n" |
| " },\n" |
| " ArgumentError_checkNotNull(argument, \$name, \$T) {\n" |
| " return argument;\n" |
| " },\n" |
| " RangeError\$(message) {\n" |
| " var _null = null;\n" |
| " return new A.RangeError(_null, _null, false, _null, _null, message);\n" |
| " },\n" |
| " RangeError\$value(value, \$name) {\n" |
| " return new A.RangeError(null, null, true, value, \$name, \"Value not in range\");\n" |
| " },\n" |
| " RangeError\$range(invalidValue, minValue, maxValue, \$name, message) {\n" |
| " return new A.RangeError(minValue, maxValue, true, invalidValue, \$name, \"Invalid value\");\n" |
| " },\n" |
| " RangeError_checkValueInInterval(value, minValue, maxValue, \$name) {\n" |
| " if (value < minValue || value > maxValue)\n" |
| " throw A.wrapException(A.RangeError\$range(value, minValue, maxValue, \$name, null));\n" |
| " return value;\n" |
| " },\n" |
| " RangeError_checkValidRange(start, end, \$length) {\n" |
| " if (0 > start || start > \$length)\n" |
| " throw A.wrapException(A.RangeError\$range(start, 0, \$length, \"start\", null));\n" |
| " if (end != null) {\n" |
| " if (start > end || end > \$length)\n" |
| " throw A.wrapException(A.RangeError\$range(end, start, \$length, \"end\", null));\n" |
| " return end;\n" |
| " }\n" |
| " return \$length;\n" |
| " },\n" |
| " RangeError_checkNotNegative(value, \$name) {\n" |
| " if (value < 0)\n" |
| " throw A.wrapException(A.RangeError\$range(value, 0, null, \$name, null));\n" |
| " return value;\n" |
| " },\n" |
| " IndexError\$withLength(invalidValue, \$length, indexable, message, \$name) {\n" |
| " return new A.IndexError(\$length, true, invalidValue, \$name, \"Index out of range\");\n" |
| " },\n" |
| " UnsupportedError\$(message) {\n" |
| " return new A.UnsupportedError(message);\n" |
| " },\n" |
| " UnimplementedError\$(message) {\n" |
| " return new A.UnimplementedError(message);\n" |
| " },\n" |
| " StateError\$(message) {\n" |
| " return new A.StateError(message);\n" |
| " },\n" |
| " ConcurrentModificationError\$(modifiedObject) {\n" |
| " return new A.ConcurrentModificationError(modifiedObject);\n" |
| " },\n" |
| " FormatException\$(message, source, offset) {\n" |
| " return new A.FormatException(message, source, offset);\n" |
| " },\n" |
| " Iterable_iterableToShortString(iterable, leftDelimiter, rightDelimiter) {\n" |
| " var parts, t1;\n" |
| " if (A.isToStringVisiting(iterable)) {\n" |
| " if (leftDelimiter === \"(\" && rightDelimiter === \")\")\n" |
| " return \"(...)\";\n" |
| " return leftDelimiter + \"...\" + rightDelimiter;\n" |
| " }\n" |
| " parts = A._setArrayType([], type\$.JSArray_String);\n" |
| " B.JSArray_methods.add\$1(\$._toStringVisiting, iterable);\n" |
| " try {\n" |
| " A._iterablePartsToStrings(iterable, parts);\n" |
| " } finally {\n" |
| " if (0 >= \$._toStringVisiting.length)\n" |
| " return A.ioore(\$._toStringVisiting, -1);\n" |
| " \$._toStringVisiting.pop();\n" |
| " }\n" |
| " t1 = A.StringBuffer__writeAll(leftDelimiter, type\$.Iterable_dynamic._as(parts), \", \") + rightDelimiter;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " Iterable_iterableToFullString(iterable, leftDelimiter, rightDelimiter) {\n" |
| " var buffer, t1;\n" |
| " if (A.isToStringVisiting(iterable))\n" |
| " return leftDelimiter + \"...\" + rightDelimiter;\n" |
| " buffer = new A.StringBuffer(leftDelimiter);\n" |
| " B.JSArray_methods.add\$1(\$._toStringVisiting, iterable);\n" |
| " try {\n" |
| " t1 = buffer;\n" |
| " t1._contents = A.StringBuffer__writeAll(t1._contents, iterable, \", \");\n" |
| " } finally {\n" |
| " if (0 >= \$._toStringVisiting.length)\n" |
| " return A.ioore(\$._toStringVisiting, -1);\n" |
| " \$._toStringVisiting.pop();\n" |
| " }\n" |
| " buffer._contents += rightDelimiter;\n" |
| " t1 = buffer._contents;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " _iterablePartsToStrings(iterable, parts) {\n" |
| " var next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision,\n" |
| " it = J.get\$iterator\$ax(iterable),\n" |
| " \$length = 0, count = 0;\n" |
| " for (;;) {\n" |
| " if (!(\$length < 80 || count < 3))\n" |
| " break;\n" |
| " if (!it.moveNext\$0())\n" |
| " return;\n" |
| " next = A.S(it.get\$current());\n" |
| " B.JSArray_methods.add\$1(parts, next);\n" |
| " \$length += next.length + 2;\n" |
| " ++count;\n" |
| " }\n" |
| " if (!it.moveNext\$0()) {\n" |
| " if (count <= 5)\n" |
| " return;\n" |
| " if (0 >= parts.length)\n" |
| " return A.ioore(parts, -1);\n" |
| " ultimateString = parts.pop();\n" |
| " if (0 >= parts.length)\n" |
| " return A.ioore(parts, -1);\n" |
| " penultimateString = parts.pop();\n" |
| " } else {\n" |
| " penultimate = it.get\$current();\n" |
| " ++count;\n" |
| " if (!it.moveNext\$0()) {\n" |
| " if (count <= 4) {\n" |
| " B.JSArray_methods.add\$1(parts, A.S(penultimate));\n" |
| " return;\n" |
| " }\n" |
| " ultimateString = A.S(penultimate);\n" |
| " if (0 >= parts.length)\n" |
| " return A.ioore(parts, -1);\n" |
| " penultimateString = parts.pop();\n" |
| " \$length += ultimateString.length + 2;\n" |
| " } else {\n" |
| " ultimate = it.get\$current();\n" |
| " ++count;\n" |
| " for (; it.moveNext\$0(); penultimate = ultimate, ultimate = ultimate0) {\n" |
| " ultimate0 = it.get\$current();\n" |
| " ++count;\n" |
| " if (count > 100) {\n" |
| " for (;;) {\n" |
| " if (!(\$length > 75 && count > 3))\n" |
| " break;\n" |
| " if (0 >= parts.length)\n" |
| " return A.ioore(parts, -1);\n" |
| " \$length -= parts.pop().length + 2;\n" |
| " --count;\n" |
| " }\n" |
| " B.JSArray_methods.add\$1(parts, \"...\");\n" |
| " return;\n" |
| " }\n" |
| " }\n" |
| " penultimateString = A.S(penultimate);\n" |
| " ultimateString = A.S(ultimate);\n" |
| " \$length += ultimateString.length + penultimateString.length + 4;\n" |
| " }\n" |
| " }\n" |
| " if (count > parts.length + 2) {\n" |
| " \$length += 5;\n" |
| " elision = \"...\";\n" |
| " } else\n" |
| " elision = null;\n" |
| " for (;;) {\n" |
| " if (!(\$length > 80 && parts.length > 3))\n" |
| " break;\n" |
| " if (0 >= parts.length)\n" |
| " return A.ioore(parts, -1);\n" |
| " \$length -= parts.pop().length + 2;\n" |
| " if (elision == null) {\n" |
| " \$length += 5;\n" |
| " elision = \"...\";\n" |
| " }\n" |
| " }\n" |
| " if (elision != null)\n" |
| " B.JSArray_methods.add\$1(parts, elision);\n" |
| " B.JSArray_methods.add\$1(parts, penultimateString);\n" |
| " B.JSArray_methods.add\$1(parts, ultimateString);\n" |
| " },\n" |
| " Map_castFrom(source, \$K, \$V, \$K2, \$V2) {\n" |
| " return new A.CastMap(source, \$K._eval\$1(\"@<0>\")._bind\$1(\$V)._bind\$1(\$K2)._bind\$1(\$V2)._eval\$1(\"CastMap<1,2,3,4>\"));\n" |
| " },\n" |
| " Object_hash(object1, object2, object3, object4, object5, object6, object7, object8, object9, object10, object11, object12, object13) {\n" |
| " var t1;\n" |
| " if (B.C_SentinelValue === object3) {\n" |
| " t1 = J.get\$hashCode\$(object1);\n" |
| " object2 = J.get\$hashCode\$(object2);\n" |
| " return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(\$.\$get\$_hashSeed(), t1), object2));\n" |
| " }\n" |
| " if (B.C_SentinelValue === object4) {\n" |
| " t1 = J.get\$hashCode\$(object1);\n" |
| " object2 = J.get\$hashCode\$(object2);\n" |
| " object3 = J.get\$hashCode\$(object3);\n" |
| " return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(\$.\$get\$_hashSeed(), t1), object2), object3));\n" |
| " }\n" |
| " if (B.C_SentinelValue === object5) {\n" |
| " t1 = J.get\$hashCode\$(object1);\n" |
| " object2 = J.get\$hashCode\$(object2);\n" |
| " object3 = J.get\$hashCode\$(object3);\n" |
| " object4 = J.get\$hashCode\$(object4);\n" |
| " return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(\$.\$get\$_hashSeed(), t1), object2), object3), object4));\n" |
| " }\n" |
| " if (B.C_SentinelValue === object6) {\n" |
| " t1 = J.get\$hashCode\$(object1);\n" |
| " object2 = J.get\$hashCode\$(object2);\n" |
| " object3 = J.get\$hashCode\$(object3);\n" |
| " object4 = J.get\$hashCode\$(object4);\n" |
| " object5 = J.get\$hashCode\$(object5);\n" |
| " return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(\$.\$get\$_hashSeed(), t1), object2), object3), object4), object5));\n" |
| " }\n" |
| " if (B.C_SentinelValue === object7) {\n" |
| " t1 = J.get\$hashCode\$(object1);\n" |
| " object2 = J.get\$hashCode\$(object2);\n" |
| " object3 = J.get\$hashCode\$(object3);\n" |
| " object4 = J.get\$hashCode\$(object4);\n" |
| " object5 = J.get\$hashCode\$(object5);\n" |
| " object6 = J.get\$hashCode\$(object6);\n" |
| " return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(\$.\$get\$_hashSeed(), t1), object2), object3), object4), object5), object6));\n" |
| " }\n" |
| " if (B.C_SentinelValue === object8) {\n" |
| " t1 = J.get\$hashCode\$(object1);\n" |
| " object2 = J.get\$hashCode\$(object2);\n" |
| " object3 = J.get\$hashCode\$(object3);\n" |
| " object4 = J.get\$hashCode\$(object4);\n" |
| " object5 = J.get\$hashCode\$(object5);\n" |
| " object6 = J.get\$hashCode\$(object6);\n" |
| " object7 = J.get\$hashCode\$(object7);\n" |
| " return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(\$.\$get\$_hashSeed(), t1), object2), object3), object4), object5), object6), object7));\n" |
| " }\n" |
| " if (B.C_SentinelValue === object9) {\n" |
| " t1 = J.get\$hashCode\$(object1);\n" |
| " object2 = J.get\$hashCode\$(object2);\n" |
| " object3 = J.get\$hashCode\$(object3);\n" |
| " object4 = J.get\$hashCode\$(object4);\n" |
| " object5 = J.get\$hashCode\$(object5);\n" |
| " object6 = J.get\$hashCode\$(object6);\n" |
| " object7 = J.get\$hashCode\$(object7);\n" |
| " object8 = J.get\$hashCode\$(object8);\n" |
| " return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(\$.\$get\$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8));\n" |
| " }\n" |
| " if (B.C_SentinelValue === object10) {\n" |
| " t1 = J.get\$hashCode\$(object1);\n" |
| " object2 = J.get\$hashCode\$(object2);\n" |
| " object3 = J.get\$hashCode\$(object3);\n" |
| " object4 = J.get\$hashCode\$(object4);\n" |
| " object5 = J.get\$hashCode\$(object5);\n" |
| " object6 = J.get\$hashCode\$(object6);\n" |
| " object7 = J.get\$hashCode\$(object7);\n" |
| " object8 = J.get\$hashCode\$(object8);\n" |
| " object9 = J.get\$hashCode\$(object9);\n" |
| " return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(\$.\$get\$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9));\n" |
| " }\n" |
| " if (B.C_SentinelValue === object11) {\n" |
| " t1 = J.get\$hashCode\$(object1);\n" |
| " object2 = J.get\$hashCode\$(object2);\n" |
| " object3 = J.get\$hashCode\$(object3);\n" |
| " object4 = J.get\$hashCode\$(object4);\n" |
| " object5 = J.get\$hashCode\$(object5);\n" |
| " object6 = J.get\$hashCode\$(object6);\n" |
| " object7 = J.get\$hashCode\$(object7);\n" |
| " object8 = J.get\$hashCode\$(object8);\n" |
| " object9 = J.get\$hashCode\$(object9);\n" |
| " object10 = J.get\$hashCode\$(object10);\n" |
| " return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(\$.\$get\$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10));\n" |
| " }\n" |
| " if (B.C_SentinelValue === object12) {\n" |
| " t1 = J.get\$hashCode\$(object1);\n" |
| " object2 = J.get\$hashCode\$(object2);\n" |
| " object3 = J.get\$hashCode\$(object3);\n" |
| " object4 = J.get\$hashCode\$(object4);\n" |
| " object5 = J.get\$hashCode\$(object5);\n" |
| " object6 = J.get\$hashCode\$(object6);\n" |
| " object7 = J.get\$hashCode\$(object7);\n" |
| " object8 = J.get\$hashCode\$(object8);\n" |
| " object9 = J.get\$hashCode\$(object9);\n" |
| " object10 = J.get\$hashCode\$(object10);\n" |
| " object11 = J.get\$hashCode\$(object11);\n" |
| " return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(\$.\$get\$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11));\n" |
| " }\n" |
| " if (B.C_SentinelValue === object13) {\n" |
| " t1 = J.get\$hashCode\$(object1);\n" |
| " object2 = J.get\$hashCode\$(object2);\n" |
| " object3 = J.get\$hashCode\$(object3);\n" |
| " object4 = J.get\$hashCode\$(object4);\n" |
| " object5 = J.get\$hashCode\$(object5);\n" |
| " object6 = J.get\$hashCode\$(object6);\n" |
| " object7 = J.get\$hashCode\$(object7);\n" |
| " object8 = J.get\$hashCode\$(object8);\n" |
| " object9 = J.get\$hashCode\$(object9);\n" |
| " object10 = J.get\$hashCode\$(object10);\n" |
| " object11 = J.get\$hashCode\$(object11);\n" |
| " object12 = J.get\$hashCode\$(object12);\n" |
| " return A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(\$.\$get\$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11), object12));\n" |
| " }\n" |
| " t1 = J.get\$hashCode\$(object1);\n" |
| " object2 = J.get\$hashCode\$(object2);\n" |
| " object3 = J.get\$hashCode\$(object3);\n" |
| " object4 = J.get\$hashCode\$(object4);\n" |
| " object5 = J.get\$hashCode\$(object5);\n" |
| " object6 = J.get\$hashCode\$(object6);\n" |
| " object7 = J.get\$hashCode\$(object7);\n" |
| " object8 = J.get\$hashCode\$(object8);\n" |
| " object9 = J.get\$hashCode\$(object9);\n" |
| " object10 = J.get\$hashCode\$(object10);\n" |
| " object11 = J.get\$hashCode\$(object11);\n" |
| " object12 = J.get\$hashCode\$(object12);\n" |
| " object13 = J.get\$hashCode\$(object13);\n" |
| " object13 = A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(\$.\$get\$_hashSeed(), t1), object2), object3), object4), object5), object6), object7), object8), object9), object10), object11), object12), object13));\n" |
| " return object13;\n" |
| " },\n" |
| " Object_hashAll(objects) {\n" |
| " var t1,\n" |
| " hash = \$.\$get\$_hashSeed();\n" |
| " for (t1 = J.get\$iterator\$ax(objects); t1.moveNext\$0();)\n" |
| " hash = A.SystemHash_combine(hash, J.get\$hashCode\$(t1.get\$current()));\n" |
| " return A.SystemHash_finish(hash);\n" |
| " },\n" |
| " print(object) {\n" |
| " var toZone = \$._printToZone;\n" |
| " if (toZone == null)\n" |
| " A.printString(object);\n" |
| " else\n" |
| " toZone.call\$1(object);\n" |
| " },\n" |
| " Uri_parse(uri) {\n" |
| " var delta, indices, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, isSimple, scheme, t1, t2, schemeAuth, queryStart0, pathStart0, port, userInfoStart, userInfo, host, portNumber, path, query, _null = null,\n" |
| " end = uri.length;\n" |
| " if (end >= 5) {\n" |
| " if (4 >= end)\n" |
| " return A.ioore(uri, 4);\n" |
| " delta = ((uri.charCodeAt(4) ^ 58) * 3 | uri.charCodeAt(0) ^ 100 | uri.charCodeAt(1) ^ 97 | uri.charCodeAt(2) ^ 116 | uri.charCodeAt(3) ^ 97) >>> 0;\n" |
| " if (delta === 0)\n" |
| " return A.UriData__parse(end < end ? B.JSString_methods.substring\$2(uri, 0, end) : uri, 5, _null).get\$uri();\n" |
| " else if (delta === 32)\n" |
| " return A.UriData__parse(B.JSString_methods.substring\$2(uri, 5, end), 0, _null).get\$uri();\n" |
| " }\n" |
| " indices = A.List_List\$filled(8, 0, false, type\$.int);\n" |
| " B.JSArray_methods.\$indexSet(indices, 0, 0);\n" |
| " B.JSArray_methods.\$indexSet(indices, 1, -1);\n" |
| " B.JSArray_methods.\$indexSet(indices, 2, -1);\n" |
| " B.JSArray_methods.\$indexSet(indices, 7, -1);\n" |
| " B.JSArray_methods.\$indexSet(indices, 3, 0);\n" |
| " B.JSArray_methods.\$indexSet(indices, 4, 0);\n" |
| " B.JSArray_methods.\$indexSet(indices, 5, end);\n" |
| " B.JSArray_methods.\$indexSet(indices, 6, end);\n" |
| " if (A._scan(uri, 0, end, 0, indices) >= 14)\n" |
| " B.JSArray_methods.\$indexSet(indices, 7, end);\n" |
| " schemeEnd = indices[1];\n" |
| " if (schemeEnd >= 0)\n" |
| " if (A._scan(uri, 0, schemeEnd, 20, indices) === 20)\n" |
| " indices[7] = schemeEnd;\n" |
| " hostStart = indices[2] + 1;\n" |
| " portStart = indices[3];\n" |
| " pathStart = indices[4];\n" |
| " queryStart = indices[5];\n" |
| " fragmentStart = indices[6];\n" |
| " if (fragmentStart < queryStart)\n" |
| " queryStart = fragmentStart;\n" |
| " if (pathStart < hostStart)\n" |
| " pathStart = queryStart;\n" |
| " else if (pathStart <= schemeEnd)\n" |
| " pathStart = schemeEnd + 1;\n" |
| " if (portStart < hostStart)\n" |
| " portStart = pathStart;\n" |
| " isSimple = indices[7] < 0;\n" |
| " scheme = _null;\n" |
| " if (isSimple) {\n" |
| " isSimple = false;\n" |
| " if (!(hostStart > schemeEnd + 3)) {\n" |
| " t1 = portStart > 0;\n" |
| " if (!(t1 && portStart + 1 === pathStart)) {\n" |
| " if (!B.JSString_methods.startsWith\$2(uri, \"\\\\\", pathStart))\n" |
| " if (hostStart > 0)\n" |
| " t2 = B.JSString_methods.startsWith\$2(uri, \"\\\\\", hostStart - 1) || B.JSString_methods.startsWith\$2(uri, \"\\\\\", hostStart - 2);\n" |
| " else\n" |
| " t2 = false;\n" |
| " else\n" |
| " t2 = true;\n" |
| " if (!t2) {\n" |
| " if (!(queryStart < end && queryStart === pathStart + 2 && B.JSString_methods.startsWith\$2(uri, \"..\", pathStart)))\n" |
| " t2 = queryStart > pathStart + 2 && B.JSString_methods.startsWith\$2(uri, \"/..\", queryStart - 3);\n" |
| " else\n" |
| " t2 = true;\n" |
| " if (!t2)\n" |
| " if (schemeEnd === 4) {\n" |
| " if (B.JSString_methods.startsWith\$2(uri, \"file\", 0)) {\n" |
| " if (hostStart <= 0) {\n" |
| " if (!B.JSString_methods.startsWith\$2(uri, \"/\", pathStart)) {\n" |
| " schemeAuth = \"file:///\";\n" |
| " delta = 3;\n" |
| " } else {\n" |
| " schemeAuth = \"file://\";\n" |
| " delta = 2;\n" |
| " }\n" |
| " uri = schemeAuth + B.JSString_methods.substring\$2(uri, pathStart, end);\n" |
| " queryStart += delta;\n" |
| " fragmentStart += delta;\n" |
| " end = uri.length;\n" |
| " hostStart = 7;\n" |
| " portStart = 7;\n" |
| " pathStart = 7;\n" |
| " } else if (pathStart === queryStart) {\n" |
| " ++fragmentStart;\n" |
| " queryStart0 = queryStart + 1;\n" |
| " uri = B.JSString_methods.replaceRange\$3(uri, pathStart, queryStart, \"/\");\n" |
| " ++end;\n" |
| " queryStart = queryStart0;\n" |
| " }\n" |
| " scheme = \"file\";\n" |
| " } else if (B.JSString_methods.startsWith\$2(uri, \"http\", 0)) {\n" |
| " if (t1 && portStart + 3 === pathStart && B.JSString_methods.startsWith\$2(uri, \"80\", portStart + 1)) {\n" |
| " fragmentStart -= 3;\n" |
| " pathStart0 = pathStart - 3;\n" |
| " queryStart -= 3;\n" |
| " uri = B.JSString_methods.replaceRange\$3(uri, portStart, pathStart, \"\");\n" |
| " end -= 3;\n" |
| " pathStart = pathStart0;\n" |
| " }\n" |
| " scheme = \"http\";\n" |
| " }\n" |
| " } else if (schemeEnd === 5 && B.JSString_methods.startsWith\$2(uri, \"https\", 0)) {\n" |
| " if (t1 && portStart + 4 === pathStart && B.JSString_methods.startsWith\$2(uri, \"443\", portStart + 1)) {\n" |
| " fragmentStart -= 4;\n" |
| " pathStart0 = pathStart - 4;\n" |
| " queryStart -= 4;\n" |
| " uri = B.JSString_methods.replaceRange\$3(uri, portStart, pathStart, \"\");\n" |
| " end -= 3;\n" |
| " pathStart = pathStart0;\n" |
| " }\n" |
| " scheme = \"https\";\n" |
| " }\n" |
| " isSimple = !t2;\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " if (isSimple)\n" |
| " return new A._SimpleUri(end < uri.length ? B.JSString_methods.substring\$2(uri, 0, end) : uri, schemeEnd, hostStart, portStart, pathStart, queryStart, fragmentStart, scheme);\n" |
| " if (scheme == null)\n" |
| " if (schemeEnd > 0)\n" |
| " scheme = A._Uri__makeScheme(uri, 0, schemeEnd);\n" |
| " else {\n" |
| " if (schemeEnd === 0)\n" |
| " A._Uri__fail(uri, 0, \"Invalid empty scheme\");\n" |
| " scheme = \"\";\n" |
| " }\n" |
| " port = _null;\n" |
| " if (hostStart > 0) {\n" |
| " userInfoStart = schemeEnd + 3;\n" |
| " userInfo = userInfoStart < hostStart ? A._Uri__makeUserInfo(uri, userInfoStart, hostStart - 1) : \"\";\n" |
| " host = A._Uri__makeHost(uri, hostStart, portStart, false);\n" |
| " t1 = portStart + 1;\n" |
| " if (t1 < pathStart) {\n" |
| " portNumber = A.Primitives_parseInt(B.JSString_methods.substring\$2(uri, t1, pathStart), _null);\n" |
| " port = A._Uri__makePort(portNumber == null ? A.throwExpression(A.FormatException\$(\"Invalid port\", uri, t1)) : portNumber, scheme);\n" |
| " }\n" |
| " } else {\n" |
| " host = _null;\n" |
| " userInfo = \"\";\n" |
| " }\n" |
| " path = A._Uri__makePath(uri, pathStart, queryStart, _null, scheme, host != null);\n" |
| " query = queryStart < fragmentStart ? A._Uri__makeQuery(uri, queryStart + 1, fragmentStart, _null) : _null;\n" |
| " return A._Uri\$_internal(scheme, userInfo, host, port, path, query, fragmentStart < end ? A._Uri__makeFragment(uri, fragmentStart + 1, end) : _null);\n" |
| " },\n" |
| " Uri_decodeComponent(encodedComponent) {\n" |
| " A._asString(encodedComponent);\n" |
| " return A._Uri__uriDecode(encodedComponent, 0, encodedComponent.length, B.C_Utf8Codec, false);\n" |
| " },\n" |
| " Uri__ipv4FormatError(msg, source, position) {\n" |
| " throw A.wrapException(A.FormatException\$(\"Illegal IPv4 address, \" + msg, source, position));\n" |
| " },\n" |
| " Uri__parseIPv4Address(host, start, end, target, targetOffset) {\n" |
| " var t1, octetStart, cursor, octetIndex, octetValue, char, digit, octetIndex0, t2,\n" |
| " _s17_ = \"invalid character\";\n" |
| " for (t1 = host.length, octetStart = start, cursor = octetStart, octetIndex = 0, octetValue = 0;;) {\n" |
| " if (cursor >= end)\n" |
| " char = 0;\n" |
| " else {\n" |
| " if (!(cursor >= 0 && cursor < t1))\n" |
| " return A.ioore(host, cursor);\n" |
| " char = host.charCodeAt(cursor);\n" |
| " }\n" |
| " digit = char ^ 48;\n" |
| " if (digit <= 9) {\n" |
| " if (octetValue !== 0 || cursor === octetStart) {\n" |
| " octetValue = octetValue * 10 + digit;\n" |
| " if (octetValue <= 255) {\n" |
| " ++cursor;\n" |
| " continue;\n" |
| " }\n" |
| " A.Uri__ipv4FormatError(\"each part must be in the range 0..255\", host, octetStart);\n" |
| " }\n" |
| " A.Uri__ipv4FormatError(\"parts must not have leading zeros\", host, octetStart);\n" |
| " }\n" |
| " if (cursor === octetStart) {\n" |
| " if (cursor === end)\n" |
| " break;\n" |
| " A.Uri__ipv4FormatError(_s17_, host, cursor);\n" |
| " }\n" |
| " octetIndex0 = octetIndex + 1;\n" |
| " t2 = targetOffset + octetIndex;\n" |
| " target.\$flags & 2 && A.throwUnsupportedOperation(target);\n" |
| " if (!(t2 < 16))\n" |
| " return A.ioore(target, t2);\n" |
| " target[t2] = octetValue;\n" |
| " if (char === 46) {\n" |
| " if (octetIndex0 < 4) {\n" |
| " ++cursor;\n" |
| " octetIndex = octetIndex0;\n" |
| " octetStart = cursor;\n" |
| " octetValue = 0;\n" |
| " continue;\n" |
| " }\n" |
| " break;\n" |
| " }\n" |
| " if (cursor === end) {\n" |
| " if (octetIndex0 === 4)\n" |
| " return;\n" |
| " break;\n" |
| " }\n" |
| " A.Uri__ipv4FormatError(_s17_, host, cursor);\n" |
| " octetIndex = octetIndex0;\n" |
| " }\n" |
| " A.Uri__ipv4FormatError(\"IPv4 address should contain exactly 4 parts\", host, cursor);\n" |
| " },\n" |
| " Uri__validateIPvAddress(host, start, end) {\n" |
| " var error;\n" |
| " if (start === end)\n" |
| " throw A.wrapException(A.FormatException\$(\"Empty IP address\", host, start));\n" |
| " if (!(start >= 0 && start < host.length))\n" |
| " return A.ioore(host, start);\n" |
| " if (host.charCodeAt(start) === 118) {\n" |
| " error = A.Uri__validateIPvFutureAddress(host, start, end);\n" |
| " if (error != null)\n" |
| " throw A.wrapException(error);\n" |
| " return false;\n" |
| " }\n" |
| " A.Uri_parseIPv6Address(host, start, end);\n" |
| " return true;\n" |
| " },\n" |
| " Uri__validateIPvFutureAddress(host, start, end) {\n" |
| " var t1, cursor, cursor0, char, ucChar,\n" |
| " _s38_ = \"Missing hex-digit in IPvFuture address\",\n" |
| " _s128_ = string\$.x00_____;\n" |
| " ++start;\n" |
| " for (t1 = host.length, cursor = start;; cursor = cursor0) {\n" |
| " if (cursor < end) {\n" |
| " cursor0 = cursor + 1;\n" |
| " if (!(cursor >= 0 && cursor < t1))\n" |
| " return A.ioore(host, cursor);\n" |
| " char = host.charCodeAt(cursor);\n" |
| " if ((char ^ 48) <= 9)\n" |
| " continue;\n" |
| " ucChar = char | 32;\n" |
| " if (ucChar >= 97 && ucChar <= 102)\n" |
| " continue;\n" |
| " if (char === 46) {\n" |
| " if (cursor0 - 1 === start)\n" |
| " return new A.FormatException(_s38_, host, cursor0);\n" |
| " cursor = cursor0;\n" |
| " break;\n" |
| " }\n" |
| " return new A.FormatException(\"Unexpected character\", host, cursor0 - 1);\n" |
| " }\n" |
| " if (cursor - 1 === start)\n" |
| " return new A.FormatException(_s38_, host, cursor);\n" |
| " return new A.FormatException(\"Missing '.' in IPvFuture address\", host, cursor);\n" |
| " }\n" |
| " if (cursor === end)\n" |
| " return new A.FormatException(\"Missing address in IPvFuture address, host, cursor\", null, null);\n" |
| " for (;;) {\n" |
| " if (!(cursor >= 0 && cursor < t1))\n" |
| " return A.ioore(host, cursor);\n" |
| " char = host.charCodeAt(cursor);\n" |
| " if (!(char < 128))\n" |
| " return A.ioore(_s128_, char);\n" |
| " if ((_s128_.charCodeAt(char) & 16) !== 0) {\n" |
| " ++cursor;\n" |
| " if (cursor < end)\n" |
| " continue;\n" |
| " return null;\n" |
| " }\n" |
| " return new A.FormatException(\"Invalid IPvFuture address character\", host, cursor);\n" |
| " }\n" |
| " },\n" |
| " Uri_parseIPv6Address(host, start, end) {\n" |
| " var result, t1, wildcardAt, partCount, t2, cursor, partStart, hexValue, decValue, char, _0_0, decValue0, hexDigit, _1_0, t3, partCount0, partAfterWildcard, partsAfterWildcard, positionAfterWildcard, newPositionAfterWildcard,\n" |
| " _s39_ = \"an address must contain at most 8 parts\",\n" |
| " error = new A.Uri_parseIPv6Address_error(host);\n" |
| " if (end - start < 2)\n" |
| " error.call\$2(\"address is too short\", null);\n" |
| " result = new Uint8Array(16);\n" |
| " t1 = host.length;\n" |
| " if (!(start >= 0 && start < t1))\n" |
| " return A.ioore(host, start);\n" |
| " wildcardAt = -1;\n" |
| " partCount = 0;\n" |
| " if (host.charCodeAt(start) === 58) {\n" |
| " t2 = start + 1;\n" |
| " if (!(t2 < t1))\n" |
| " return A.ioore(host, t2);\n" |
| " if (host.charCodeAt(t2) === 58) {\n" |
| " cursor = start + 2;\n" |
| " partStart = cursor;\n" |
| " wildcardAt = 0;\n" |
| " partCount = 1;\n" |
| " } else {\n" |
| " error.call\$2(\"invalid start colon\", start);\n" |
| " cursor = start;\n" |
| " partStart = cursor;\n" |
| " }\n" |
| " } else {\n" |
| " cursor = start;\n" |
| " partStart = cursor;\n" |
| " }\n" |
| " for (hexValue = 0, decValue = true;;) {\n" |
| " if (cursor >= end)\n" |
| " char = 0;\n" |
| " else {\n" |
| " if (!(cursor < t1))\n" |
| " return A.ioore(host, cursor);\n" |
| " char = host.charCodeAt(cursor);\n" |
| " }\n" |
| " \$label0\$0: {\n" |
| " _0_0 = char ^ 48;\n" |
| " decValue0 = false;\n" |
| " if (_0_0 <= 9)\n" |
| " hexDigit = _0_0;\n" |
| " else {\n" |
| " _1_0 = char | 32;\n" |
| " if (_1_0 >= 97 && _1_0 <= 102)\n" |
| " hexDigit = _1_0 - 87;\n" |
| " else\n" |
| " break \$label0\$0;\n" |
| " decValue = decValue0;\n" |
| " }\n" |
| " if (cursor < partStart + 4) {\n" |
| " hexValue = hexValue * 16 + hexDigit;\n" |
| " ++cursor;\n" |
| " continue;\n" |
| " }\n" |
| " error.call\$2(\"an IPv6 part can contain a maximum of 4 hex digits\", partStart);\n" |
| " }\n" |
| " if (cursor > partStart) {\n" |
| " if (char === 46) {\n" |
| " if (decValue) {\n" |
| " if (partCount <= 6) {\n" |
| " A.Uri__parseIPv4Address(host, partStart, end, result, partCount * 2);\n" |
| " partCount += 2;\n" |
| " cursor = end;\n" |
| " break;\n" |
| " }\n" |
| " error.call\$2(_s39_, partStart);\n" |
| " }\n" |
| " break;\n" |
| " }\n" |
| " t2 = partCount * 2;\n" |
| " t3 = B.JSInt_methods._shrOtherPositive\$1(hexValue, 8);\n" |
| " if (!(t2 < 16))\n" |
| " return A.ioore(result, t2);\n" |
| " result[t2] = t3;\n" |
| " ++t2;\n" |
| " if (!(t2 < 16))\n" |
| " return A.ioore(result, t2);\n" |
| " result[t2] = hexValue & 255;\n" |
| " ++partCount;\n" |
| " if (char === 58) {\n" |
| " if (partCount < 8) {\n" |
| " ++cursor;\n" |
| " partStart = cursor;\n" |
| " hexValue = 0;\n" |
| " decValue = true;\n" |
| " continue;\n" |
| " }\n" |
| " error.call\$2(_s39_, cursor);\n" |
| " }\n" |
| " break;\n" |
| " }\n" |
| " if (char === 58) {\n" |
| " if (wildcardAt < 0) {\n" |
| " partCount0 = partCount + 1;\n" |
| " ++cursor;\n" |
| " wildcardAt = partCount;\n" |
| " partCount = partCount0;\n" |
| " partStart = cursor;\n" |
| " continue;\n" |
| " }\n" |
| " error.call\$2(\"only one wildcard `::` is allowed\", cursor);\n" |
| " }\n" |
| " if (wildcardAt !== partCount - 1)\n" |
| " error.call\$2(\"missing part\", cursor);\n" |
| " break;\n" |
| " }\n" |
| " if (cursor < end)\n" |
| " error.call\$2(\"invalid character\", cursor);\n" |
| " if (partCount < 8) {\n" |
| " if (wildcardAt < 0)\n" |
| " error.call\$2(\"an address without a wildcard must contain exactly 8 parts\", end);\n" |
| " partAfterWildcard = wildcardAt + 1;\n" |
| " partsAfterWildcard = partCount - partAfterWildcard;\n" |
| " if (partsAfterWildcard > 0) {\n" |
| " positionAfterWildcard = partAfterWildcard * 2;\n" |
| " newPositionAfterWildcard = 16 - partsAfterWildcard * 2;\n" |
| " B.NativeUint8List_methods.setRange\$4(result, newPositionAfterWildcard, 16, result, positionAfterWildcard);\n" |
| " B.NativeUint8List_methods.fillRange\$3(result, positionAfterWildcard, newPositionAfterWildcard, 0);\n" |
| " }\n" |
| " }\n" |
| " return result;\n" |
| " },\n" |
| " _Uri\$_internal(scheme, _userInfo, _host, _port, path, _query, _fragment) {\n" |
| " return new A._Uri(scheme, _userInfo, _host, _port, path, _query, _fragment);\n" |
| " },\n" |
| " _Uri__Uri(host, path, pathSegments, scheme) {\n" |
| " var userInfo, query, fragment, port, isFile, t1, hasAuthority, t2, _null = null;\n" |
| " scheme = scheme == null ? \"\" : A._Uri__makeScheme(scheme, 0, scheme.length);\n" |
| " userInfo = A._Uri__makeUserInfo(_null, 0, 0);\n" |
| " host = A._Uri__makeHost(host, 0, host == null ? 0 : host.length, false);\n" |
| " query = A._Uri__makeQuery(_null, 0, 0, _null);\n" |
| " fragment = A._Uri__makeFragment(_null, 0, 0);\n" |
| " port = A._Uri__makePort(_null, scheme);\n" |
| " isFile = scheme === \"file\";\n" |
| " if (host == null)\n" |
| " t1 = userInfo.length !== 0 || port != null || isFile;\n" |
| " else\n" |
| " t1 = false;\n" |
| " if (t1)\n" |
| " host = \"\";\n" |
| " t1 = host == null;\n" |
| " hasAuthority = !t1;\n" |
| " path = A._Uri__makePath(path, 0, path == null ? 0 : path.length, pathSegments, scheme, hasAuthority);\n" |
| " t2 = scheme.length === 0;\n" |
| " if (t2 && t1 && !B.JSString_methods.startsWith\$1(path, \"/\"))\n" |
| " path = A._Uri__normalizeRelativePath(path, !t2 || hasAuthority);\n" |
| " else\n" |
| " path = A._Uri__removeDotSegments(path);\n" |
| " return A._Uri\$_internal(scheme, userInfo, t1 && B.JSString_methods.startsWith\$1(path, \"//\") ? \"\" : host, port, path, query, fragment);\n" |
| " },\n" |
| " _Uri__defaultPort(scheme) {\n" |
| " if (scheme === \"http\")\n" |
| " return 80;\n" |
| " if (scheme === \"https\")\n" |
| " return 443;\n" |
| " return 0;\n" |
| " },\n" |
| " _Uri__fail(uri, index, message) {\n" |
| " throw A.wrapException(A.FormatException\$(message, uri, index));\n" |
| " },\n" |
| " _Uri__checkNonWindowsPathReservedCharacters(segments, argumentError) {\n" |
| " var t1, _i, segment;\n" |
| " for (t1 = segments.length, _i = 0; _i < t1; ++_i) {\n" |
| " segment = segments[_i];\n" |
| " if (B.JSString_methods.contains\$1(segment, \"/\")) {\n" |
| " t1 = A.UnsupportedError\$(\"Illegal path character \" + segment);\n" |
| " throw A.wrapException(t1);\n" |
| " }\n" |
| " }\n" |
| " },\n" |
| " _Uri__makePort(port, scheme) {\n" |
| " if (port != null && port === A._Uri__defaultPort(scheme))\n" |
| " return null;\n" |
| " return port;\n" |
| " },\n" |
| " _Uri__makeHost(host, start, end, strictIPv6) {\n" |
| " var t1, t2, t3, zoneID, index, zoneIDstart, isIPv6, hostChars, i;\n" |
| " if (host == null)\n" |
| " return null;\n" |
| " if (start === end)\n" |
| " return \"\";\n" |
| " t1 = host.length;\n" |
| " if (!(start >= 0 && start < t1))\n" |
| " return A.ioore(host, start);\n" |
| " if (host.charCodeAt(start) === 91) {\n" |
| " t2 = end - 1;\n" |
| " if (!(t2 >= 0 && t2 < t1))\n" |
| " return A.ioore(host, t2);\n" |
| " if (host.charCodeAt(t2) !== 93)\n" |
| " A._Uri__fail(host, start, \"Missing end `]` to match `[` in host\");\n" |
| " t3 = start + 1;\n" |
| " if (!(t3 < t1))\n" |
| " return A.ioore(host, t3);\n" |
| " zoneID = \"\";\n" |
| " if (host.charCodeAt(t3) !== 118) {\n" |
| " index = A._Uri__checkZoneID(host, t3, t2);\n" |
| " if (index < t2) {\n" |
| " zoneIDstart = index + 1;\n" |
| " zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith\$2(host, \"25\", zoneIDstart) ? index + 3 : zoneIDstart, t2, \"%25\");\n" |
| " }\n" |
| " } else\n" |
| " index = t2;\n" |
| " isIPv6 = A.Uri__validateIPvAddress(host, t3, index);\n" |
| " hostChars = B.JSString_methods.substring\$2(host, t3, index);\n" |
| " return \"[\" + (isIPv6 ? hostChars.toLowerCase() : hostChars) + zoneID + \"]\";\n" |
| " }\n" |
| " for (i = start; i < end; ++i) {\n" |
| " if (!(i < t1))\n" |
| " return A.ioore(host, i);\n" |
| " if (host.charCodeAt(i) === 58) {\n" |
| " index = B.JSString_methods.indexOf\$2(host, \"%\", start);\n" |
| " index = index >= start && index < end ? index : end;\n" |
| " if (index < end) {\n" |
| " zoneIDstart = index + 1;\n" |
| " zoneID = A._Uri__normalizeZoneID(host, B.JSString_methods.startsWith\$2(host, \"25\", zoneIDstart) ? index + 3 : zoneIDstart, end, \"%25\");\n" |
| " } else\n" |
| " zoneID = \"\";\n" |
| " A.Uri_parseIPv6Address(host, start, index);\n" |
| " return \"[\" + B.JSString_methods.substring\$2(host, start, index) + zoneID + \"]\";\n" |
| " }\n" |
| " }\n" |
| " return A._Uri__normalizeRegName(host, start, end);\n" |
| " },\n" |
| " _Uri__checkZoneID(host, start, end) {\n" |
| " var index = B.JSString_methods.indexOf\$2(host, \"%\", start);\n" |
| " return index >= start && index < end ? index : end;\n" |
| " },\n" |
| " _Uri__normalizeZoneID(host, start, end, prefix) {\n" |
| " var t1, index, sectionStart, isNormalized, char, replacement, t2, t3, sourceLength, tail, slice,\n" |
| " buffer = prefix !== \"\" ? new A.StringBuffer(prefix) : null;\n" |
| " for (t1 = host.length, index = start, sectionStart = index, isNormalized = true; index < end;) {\n" |
| " if (!(index >= 0 && index < t1))\n" |
| " return A.ioore(host, index);\n" |
| " char = host.charCodeAt(index);\n" |
| " if (char === 37) {\n" |
| " replacement = A._Uri__normalizeEscape(host, index, true);\n" |
| " t2 = replacement == null;\n" |
| " if (t2 && isNormalized) {\n" |
| " index += 3;\n" |
| " continue;\n" |
| " }\n" |
| " if (buffer == null)\n" |
| " buffer = new A.StringBuffer(\"\");\n" |
| " t3 = buffer._contents += B.JSString_methods.substring\$2(host, sectionStart, index);\n" |
| " if (t2)\n" |
| " replacement = B.JSString_methods.substring\$2(host, index, index + 3);\n" |
| " else if (replacement === \"%\")\n" |
| " A._Uri__fail(host, index, \"ZoneID should not contain % anymore\");\n" |
| " buffer._contents = t3 + replacement;\n" |
| " index += 3;\n" |
| " sectionStart = index;\n" |
| " isNormalized = true;\n" |
| " } else if (char < 127 && (string\$.x00_____.charCodeAt(char) & 1) !== 0) {\n" |
| " if (isNormalized && 65 <= char && 90 >= char) {\n" |
| " if (buffer == null)\n" |
| " buffer = new A.StringBuffer(\"\");\n" |
| " if (sectionStart < index) {\n" |
| " buffer._contents += B.JSString_methods.substring\$2(host, sectionStart, index);\n" |
| " sectionStart = index;\n" |
| " }\n" |
| " isNormalized = false;\n" |
| " }\n" |
| " ++index;\n" |
| " } else {\n" |
| " sourceLength = 1;\n" |
| " if ((char & 64512) === 55296 && index + 1 < end) {\n" |
| " t2 = index + 1;\n" |
| " if (!(t2 < t1))\n" |
| " return A.ioore(host, t2);\n" |
| " tail = host.charCodeAt(t2);\n" |
| " if ((tail & 64512) === 56320) {\n" |
| " char = 65536 + ((char & 1023) << 10) + (tail & 1023);\n" |
| " sourceLength = 2;\n" |
| " }\n" |
| " }\n" |
| " slice = B.JSString_methods.substring\$2(host, sectionStart, index);\n" |
| " if (buffer == null) {\n" |
| " buffer = new A.StringBuffer(\"\");\n" |
| " t2 = buffer;\n" |
| " } else\n" |
| " t2 = buffer;\n" |
| " t2._contents += slice;\n" |
| " t3 = A._Uri__escapeChar(char);\n" |
| " t2._contents += t3;\n" |
| " index += sourceLength;\n" |
| " sectionStart = index;\n" |
| " }\n" |
| " }\n" |
| " if (buffer == null)\n" |
| " return B.JSString_methods.substring\$2(host, start, end);\n" |
| " if (sectionStart < end) {\n" |
| " slice = B.JSString_methods.substring\$2(host, sectionStart, end);\n" |
| " buffer._contents += slice;\n" |
| " }\n" |
| " t1 = buffer._contents;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " _Uri__normalizeRegName(host, start, end) {\n" |
| " var t1, index, sectionStart, buffer, isNormalized, char, replacement, t2, slice, t3, sourceLength, tail,\n" |
| " _s128_ = string\$.x00_____;\n" |
| " for (t1 = host.length, index = start, sectionStart = index, buffer = null, isNormalized = true; index < end;) {\n" |
| " if (!(index >= 0 && index < t1))\n" |
| " return A.ioore(host, index);\n" |
| " char = host.charCodeAt(index);\n" |
| " if (char === 37) {\n" |
| " replacement = A._Uri__normalizeEscape(host, index, true);\n" |
| " t2 = replacement == null;\n" |
| " if (t2 && isNormalized) {\n" |
| " index += 3;\n" |
| " continue;\n" |
| " }\n" |
| " if (buffer == null)\n" |
| " buffer = new A.StringBuffer(\"\");\n" |
| " slice = B.JSString_methods.substring\$2(host, sectionStart, index);\n" |
| " if (!isNormalized)\n" |
| " slice = slice.toLowerCase();\n" |
| " t3 = buffer._contents += slice;\n" |
| " sourceLength = 3;\n" |
| " if (t2)\n" |
| " replacement = B.JSString_methods.substring\$2(host, index, index + 3);\n" |
| " else if (replacement === \"%\") {\n" |
| " replacement = \"%25\";\n" |
| " sourceLength = 1;\n" |
| " }\n" |
| " buffer._contents = t3 + replacement;\n" |
| " index += sourceLength;\n" |
| " sectionStart = index;\n" |
| " isNormalized = true;\n" |
| " } else if (char < 127 && (_s128_.charCodeAt(char) & 32) !== 0) {\n" |
| " if (isNormalized && 65 <= char && 90 >= char) {\n" |
| " if (buffer == null)\n" |
| " buffer = new A.StringBuffer(\"\");\n" |
| " if (sectionStart < index) {\n" |
| " buffer._contents += B.JSString_methods.substring\$2(host, sectionStart, index);\n" |
| " sectionStart = index;\n" |
| " }\n" |
| " isNormalized = false;\n" |
| " }\n" |
| " ++index;\n" |
| " } else if (char <= 93 && (_s128_.charCodeAt(char) & 1024) !== 0)\n" |
| " A._Uri__fail(host, index, \"Invalid character\");\n" |
| " else {\n" |
| " sourceLength = 1;\n" |
| " if ((char & 64512) === 55296 && index + 1 < end) {\n" |
| " t2 = index + 1;\n" |
| " if (!(t2 < t1))\n" |
| " return A.ioore(host, t2);\n" |
| " tail = host.charCodeAt(t2);\n" |
| " if ((tail & 64512) === 56320) {\n" |
| " char = 65536 + ((char & 1023) << 10) + (tail & 1023);\n" |
| " sourceLength = 2;\n" |
| " }\n" |
| " }\n" |
| " slice = B.JSString_methods.substring\$2(host, sectionStart, index);\n" |
| " if (!isNormalized)\n" |
| " slice = slice.toLowerCase();\n" |
| " if (buffer == null) {\n" |
| " buffer = new A.StringBuffer(\"\");\n" |
| " t2 = buffer;\n" |
| " } else\n" |
| " t2 = buffer;\n" |
| " t2._contents += slice;\n" |
| " t3 = A._Uri__escapeChar(char);\n" |
| " t2._contents += t3;\n" |
| " index += sourceLength;\n" |
| " sectionStart = index;\n" |
| " }\n" |
| " }\n" |
| " if (buffer == null)\n" |
| " return B.JSString_methods.substring\$2(host, start, end);\n" |
| " if (sectionStart < end) {\n" |
| " slice = B.JSString_methods.substring\$2(host, sectionStart, end);\n" |
| " if (!isNormalized)\n" |
| " slice = slice.toLowerCase();\n" |
| " buffer._contents += slice;\n" |
| " }\n" |
| " t1 = buffer._contents;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " _Uri__makeScheme(scheme, start, end) {\n" |
| " var t1, i, containsUpperCase, codeUnit;\n" |
| " if (start === end)\n" |
| " return \"\";\n" |
| " t1 = scheme.length;\n" |
| " if (!(start < t1))\n" |
| " return A.ioore(scheme, start);\n" |
| " if (!A._Uri__isAlphabeticCharacter(scheme.charCodeAt(start)))\n" |
| " A._Uri__fail(scheme, start, \"Scheme not starting with alphabetic character\");\n" |
| " for (i = start, containsUpperCase = false; i < end; ++i) {\n" |
| " if (!(i < t1))\n" |
| " return A.ioore(scheme, i);\n" |
| " codeUnit = scheme.charCodeAt(i);\n" |
| " if (!(codeUnit < 128 && (string\$.x00_____.charCodeAt(codeUnit) & 8) !== 0))\n" |
| " A._Uri__fail(scheme, i, \"Illegal scheme character\");\n" |
| " if (65 <= codeUnit && codeUnit <= 90)\n" |
| " containsUpperCase = true;\n" |
| " }\n" |
| " scheme = B.JSString_methods.substring\$2(scheme, start, end);\n" |
| " return A._Uri__canonicalizeScheme(containsUpperCase ? scheme.toLowerCase() : scheme);\n" |
| " },\n" |
| " _Uri__canonicalizeScheme(scheme) {\n" |
| " if (scheme === \"http\")\n" |
| " return \"http\";\n" |
| " if (scheme === \"file\")\n" |
| " return \"file\";\n" |
| " if (scheme === \"https\")\n" |
| " return \"https\";\n" |
| " if (scheme === \"package\")\n" |
| " return \"package\";\n" |
| " return scheme;\n" |
| " },\n" |
| " _Uri__makeUserInfo(userInfo, start, end) {\n" |
| " if (userInfo == null)\n" |
| " return \"\";\n" |
| " return A._Uri__normalizeOrSubstring(userInfo, start, end, 16, false, false);\n" |
| " },\n" |
| " _Uri__makePath(path, start, end, pathSegments, scheme, hasAuthority) {\n" |
| " var t1, result,\n" |
| " isFile = scheme === \"file\",\n" |
| " ensureLeadingSlash = isFile || hasAuthority;\n" |
| " if (path == null) {\n" |
| " if (pathSegments == null)\n" |
| " return isFile ? \"/\" : \"\";\n" |
| " t1 = A._arrayInstanceType(pathSegments);\n" |
| " result = new A.MappedListIterable(pathSegments, t1._eval\$1(\"String(1)\")._as(new A._Uri__makePath_closure()), t1._eval\$1(\"MappedListIterable<1,String>\")).join\$1(0, \"/\");\n" |
| " } else if (pathSegments != null)\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Both path and pathSegments specified\", null));\n" |
| " else\n" |
| " result = A._Uri__normalizeOrSubstring(path, start, end, 128, true, true);\n" |
| " if (result.length === 0) {\n" |
| " if (isFile)\n" |
| " return \"/\";\n" |
| " } else if (ensureLeadingSlash && !B.JSString_methods.startsWith\$1(result, \"/\"))\n" |
| " result = \"/\" + result;\n" |
| " return A._Uri__normalizePath(result, scheme, hasAuthority);\n" |
| " },\n" |
| " _Uri__normalizePath(path, scheme, hasAuthority) {\n" |
| " var t1 = scheme.length === 0;\n" |
| " if (t1 && !hasAuthority && !B.JSString_methods.startsWith\$1(path, \"/\") && !B.JSString_methods.startsWith\$1(path, \"\\\\\"))\n" |
| " return A._Uri__normalizeRelativePath(path, !t1 || hasAuthority);\n" |
| " return A._Uri__removeDotSegments(path);\n" |
| " },\n" |
| " _Uri__makeQuery(query, start, end, queryParameters) {\n" |
| " if (query != null)\n" |
| " return A._Uri__normalizeOrSubstring(query, start, end, 256, true, false);\n" |
| " return null;\n" |
| " },\n" |
| " _Uri__makeFragment(fragment, start, end) {\n" |
| " if (fragment == null)\n" |
| " return null;\n" |
| " return A._Uri__normalizeOrSubstring(fragment, start, end, 256, true, false);\n" |
| " },\n" |
| " _Uri__normalizeEscape(source, index, lowerCase) {\n" |
| " var t3, firstDigit, secondDigit, firstDigitValue, secondDigitValue, value,\n" |
| " _s128_ = string\$.x00_____,\n" |
| " t1 = index + 2,\n" |
| " t2 = source.length;\n" |
| " if (t1 >= t2)\n" |
| " return \"%\";\n" |
| " t3 = index + 1;\n" |
| " if (!(t3 >= 0 && t3 < t2))\n" |
| " return A.ioore(source, t3);\n" |
| " firstDigit = source.charCodeAt(t3);\n" |
| " if (!(t1 >= 0))\n" |
| " return A.ioore(source, t1);\n" |
| " secondDigit = source.charCodeAt(t1);\n" |
| " firstDigitValue = A.hexDigitValue(firstDigit);\n" |
| " secondDigitValue = A.hexDigitValue(secondDigit);\n" |
| " if (firstDigitValue < 0 || secondDigitValue < 0)\n" |
| " return \"%\";\n" |
| " value = firstDigitValue * 16 + secondDigitValue;\n" |
| " if (value < 127) {\n" |
| " if (!(value >= 0))\n" |
| " return A.ioore(_s128_, value);\n" |
| " t1 = (_s128_.charCodeAt(value) & 1) !== 0;\n" |
| " } else\n" |
| " t1 = false;\n" |
| " if (t1)\n" |
| " return A.Primitives_stringFromCharCode(lowerCase && 65 <= value && 90 >= value ? (value | 32) >>> 0 : value);\n" |
| " if (firstDigit >= 97 || secondDigit >= 97)\n" |
| " return B.JSString_methods.substring\$2(source, index, index + 3).toUpperCase();\n" |
| " return null;\n" |
| " },\n" |
| " _Uri__escapeChar(char) {\n" |
| " var codeUnits, t1, flag, encodedBytes, index, byte, t2, t3,\n" |
| " _s16_ = \"0123456789ABCDEF\";\n" |
| " if (char <= 127) {\n" |
| " codeUnits = new Uint8Array(3);\n" |
| " codeUnits[0] = 37;\n" |
| " t1 = char >>> 4;\n" |
| " if (!(t1 < 16))\n" |
| " return A.ioore(_s16_, t1);\n" |
| " codeUnits[1] = _s16_.charCodeAt(t1);\n" |
| " codeUnits[2] = _s16_.charCodeAt(char & 15);\n" |
| " } else {\n" |
| " if (char > 2047)\n" |
| " if (char > 65535) {\n" |
| " flag = 240;\n" |
| " encodedBytes = 4;\n" |
| " } else {\n" |
| " flag = 224;\n" |
| " encodedBytes = 3;\n" |
| " }\n" |
| " else {\n" |
| " flag = 192;\n" |
| " encodedBytes = 2;\n" |
| " }\n" |
| " t1 = 3 * encodedBytes;\n" |
| " codeUnits = new Uint8Array(t1);\n" |
| " for (index = 0; --encodedBytes, encodedBytes >= 0; flag = 128) {\n" |
| " byte = B.JSInt_methods._shrReceiverPositive\$1(char, 6 * encodedBytes) & 63 | flag;\n" |
| " if (!(index < t1))\n" |
| " return A.ioore(codeUnits, index);\n" |
| " codeUnits[index] = 37;\n" |
| " t2 = index + 1;\n" |
| " t3 = byte >>> 4;\n" |
| " if (!(t3 < 16))\n" |
| " return A.ioore(_s16_, t3);\n" |
| " if (!(t2 < t1))\n" |
| " return A.ioore(codeUnits, t2);\n" |
| " codeUnits[t2] = _s16_.charCodeAt(t3);\n" |
| " t3 = index + 2;\n" |
| " if (!(t3 < t1))\n" |
| " return A.ioore(codeUnits, t3);\n" |
| " codeUnits[t3] = _s16_.charCodeAt(byte & 15);\n" |
| " index += 3;\n" |
| " }\n" |
| " }\n" |
| " return A.String_String\$fromCharCodes(codeUnits, 0, null);\n" |
| " },\n" |
| " _Uri__normalizeOrSubstring(component, start, end, charMask, escapeDelimiters, replaceBackslash) {\n" |
| " var t1 = A._Uri__normalize(component, start, end, charMask, escapeDelimiters, replaceBackslash);\n" |
| " return t1 == null ? B.JSString_methods.substring\$2(component, start, end) : t1;\n" |
| " },\n" |
| " _Uri__normalize(component, start, end, charMask, escapeDelimiters, replaceBackslash) {\n" |
| " var t1, t2, index, sectionStart, buffer, char, sourceLength, replacement, t3, tail, _null = null,\n" |
| " _s128_ = string\$.x00_____;\n" |
| " for (t1 = !escapeDelimiters, t2 = component.length, index = start, sectionStart = index, buffer = _null; index < end;) {\n" |
| " if (!(index >= 0 && index < t2))\n" |
| " return A.ioore(component, index);\n" |
| " char = component.charCodeAt(index);\n" |
| " if (char < 127 && (_s128_.charCodeAt(char) & charMask) !== 0)\n" |
| " ++index;\n" |
| " else {\n" |
| " sourceLength = 1;\n" |
| " if (char === 37) {\n" |
| " replacement = A._Uri__normalizeEscape(component, index, false);\n" |
| " if (replacement == null) {\n" |
| " index += 3;\n" |
| " continue;\n" |
| " }\n" |
| " if (\"%\" === replacement)\n" |
| " replacement = \"%25\";\n" |
| " else\n" |
| " sourceLength = 3;\n" |
| " } else if (char === 92 && replaceBackslash)\n" |
| " replacement = \"/\";\n" |
| " else if (t1 && char <= 93 && (_s128_.charCodeAt(char) & 1024) !== 0) {\n" |
| " A._Uri__fail(component, index, \"Invalid character\");\n" |
| " sourceLength = _null;\n" |
| " replacement = sourceLength;\n" |
| " } else {\n" |
| " if ((char & 64512) === 55296) {\n" |
| " t3 = index + 1;\n" |
| " if (t3 < end) {\n" |
| " if (!(t3 < t2))\n" |
| " return A.ioore(component, t3);\n" |
| " tail = component.charCodeAt(t3);\n" |
| " if ((tail & 64512) === 56320) {\n" |
| " char = 65536 + ((char & 1023) << 10) + (tail & 1023);\n" |
| " sourceLength = 2;\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " replacement = A._Uri__escapeChar(char);\n" |
| " }\n" |
| " if (buffer == null) {\n" |
| " buffer = new A.StringBuffer(\"\");\n" |
| " t3 = buffer;\n" |
| " } else\n" |
| " t3 = buffer;\n" |
| " t3._contents = (t3._contents += B.JSString_methods.substring\$2(component, sectionStart, index)) + replacement;\n" |
| " if (typeof sourceLength !== \"number\")\n" |
| " return A.iae(sourceLength);\n" |
| " index += sourceLength;\n" |
| " sectionStart = index;\n" |
| " }\n" |
| " }\n" |
| " if (buffer == null)\n" |
| " return _null;\n" |
| " if (sectionStart < end) {\n" |
| " t1 = B.JSString_methods.substring\$2(component, sectionStart, end);\n" |
| " buffer._contents += t1;\n" |
| " }\n" |
| " t1 = buffer._contents;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " _Uri__mayContainDotSegments(path) {\n" |
| " if (B.JSString_methods.startsWith\$1(path, \".\"))\n" |
| " return true;\n" |
| " return B.JSString_methods.indexOf\$1(path, \"/.\") !== -1;\n" |
| " },\n" |
| " _Uri__removeDotSegments(path) {\n" |
| " var output, t1, t2, appendSlash, _i, segment, t3;\n" |
| " if (!A._Uri__mayContainDotSegments(path))\n" |
| " return path;\n" |
| " output = A._setArrayType([], type\$.JSArray_String);\n" |
| " for (t1 = path.split(\"/\"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {\n" |
| " segment = t1[_i];\n" |
| " if (segment === \"..\") {\n" |
| " t3 = output.length;\n" |
| " if (t3 !== 0) {\n" |
| " if (0 >= t3)\n" |
| " return A.ioore(output, -1);\n" |
| " output.pop();\n" |
| " if (output.length === 0)\n" |
| " B.JSArray_methods.add\$1(output, \"\");\n" |
| " }\n" |
| " appendSlash = true;\n" |
| " } else {\n" |
| " appendSlash = \".\" === segment;\n" |
| " if (!appendSlash)\n" |
| " B.JSArray_methods.add\$1(output, segment);\n" |
| " }\n" |
| " }\n" |
| " if (appendSlash)\n" |
| " B.JSArray_methods.add\$1(output, \"\");\n" |
| " return B.JSArray_methods.join\$1(output, \"/\");\n" |
| " },\n" |
| " _Uri__normalizeRelativePath(path, allowScheme) {\n" |
| " var output, t1, t2, appendSlash, _i, segment;\n" |
| " if (!A._Uri__mayContainDotSegments(path))\n" |
| " return !allowScheme ? A._Uri__escapeScheme(path) : path;\n" |
| " output = A._setArrayType([], type\$.JSArray_String);\n" |
| " for (t1 = path.split(\"/\"), t2 = t1.length, appendSlash = false, _i = 0; _i < t2; ++_i) {\n" |
| " segment = t1[_i];\n" |
| " if (\"..\" === segment) {\n" |
| " if (output.length !== 0 && B.JSArray_methods.get\$last(output) !== \"..\") {\n" |
| " if (0 >= output.length)\n" |
| " return A.ioore(output, -1);\n" |
| " output.pop();\n" |
| " } else\n" |
| " B.JSArray_methods.add\$1(output, \"..\");\n" |
| " appendSlash = true;\n" |
| " } else {\n" |
| " appendSlash = \".\" === segment;\n" |
| " if (!appendSlash)\n" |
| " B.JSArray_methods.add\$1(output, segment.length === 0 && output.length === 0 ? \"./\" : segment);\n" |
| " }\n" |
| " }\n" |
| " if (output.length === 0)\n" |
| " return \"./\";\n" |
| " if (appendSlash)\n" |
| " B.JSArray_methods.add\$1(output, \"\");\n" |
| " if (!allowScheme) {\n" |
| " if (0 >= output.length)\n" |
| " return A.ioore(output, 0);\n" |
| " B.JSArray_methods.\$indexSet(output, 0, A._Uri__escapeScheme(output[0]));\n" |
| " }\n" |
| " return B.JSArray_methods.join\$1(output, \"/\");\n" |
| " },\n" |
| " _Uri__escapeScheme(path) {\n" |
| " var i, char, t2,\n" |
| " _s128_ = string\$.x00_____,\n" |
| " t1 = path.length;\n" |
| " if (t1 >= 2 && A._Uri__isAlphabeticCharacter(path.charCodeAt(0)))\n" |
| " for (i = 1; i < t1; ++i) {\n" |
| " char = path.charCodeAt(i);\n" |
| " if (char === 58)\n" |
| " return B.JSString_methods.substring\$2(path, 0, i) + \"%3A\" + B.JSString_methods.substring\$1(path, i + 1);\n" |
| " if (char <= 127) {\n" |
| " if (!(char < 128))\n" |
| " return A.ioore(_s128_, char);\n" |
| " t2 = (_s128_.charCodeAt(char) & 8) === 0;\n" |
| " } else\n" |
| " t2 = true;\n" |
| " if (t2)\n" |
| " break;\n" |
| " }\n" |
| " return path;\n" |
| " },\n" |
| " _Uri__packageNameEnd(uri, path) {\n" |
| " if (uri.isScheme\$1(\"package\") && uri._host == null)\n" |
| " return A._skipPackageNameChars(path, 0, path.length);\n" |
| " return -1;\n" |
| " },\n" |
| " _Uri__hexCharPairToByte(s, pos) {\n" |
| " var t1, byte, i, t2, charCode;\n" |
| " for (t1 = s.length, byte = 0, i = 0; i < 2; ++i) {\n" |
| " t2 = pos + i;\n" |
| " if (!(t2 < t1))\n" |
| " return A.ioore(s, t2);\n" |
| " charCode = s.charCodeAt(t2);\n" |
| " if (48 <= charCode && charCode <= 57)\n" |
| " byte = byte * 16 + charCode - 48;\n" |
| " else {\n" |
| " charCode |= 32;\n" |
| " if (97 <= charCode && charCode <= 102)\n" |
| " byte = byte * 16 + charCode - 87;\n" |
| " else\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Invalid URL encoding\", null));\n" |
| " }\n" |
| " }\n" |
| " return byte;\n" |
| " },\n" |
| " _Uri__uriDecode(text, start, end, encoding, plusToSpace) {\n" |
| " var simple, codeUnit, t2, bytes,\n" |
| " t1 = text.length,\n" |
| " i = start;\n" |
| " for (;;) {\n" |
| " if (!(i < end)) {\n" |
| " simple = true;\n" |
| " break;\n" |
| " }\n" |
| " if (!(i < t1))\n" |
| " return A.ioore(text, i);\n" |
| " codeUnit = text.charCodeAt(i);\n" |
| " if (codeUnit <= 127)\n" |
| " t2 = codeUnit === 37;\n" |
| " else\n" |
| " t2 = true;\n" |
| " if (t2) {\n" |
| " simple = false;\n" |
| " break;\n" |
| " }\n" |
| " ++i;\n" |
| " }\n" |
| " if (simple)\n" |
| " if (B.C_Utf8Codec === encoding)\n" |
| " return B.JSString_methods.substring\$2(text, start, end);\n" |
| " else\n" |
| " bytes = new A.CodeUnits(B.JSString_methods.substring\$2(text, start, end));\n" |
| " else {\n" |
| " bytes = A._setArrayType([], type\$.JSArray_int);\n" |
| " for (i = start; i < end; ++i) {\n" |
| " if (!(i < t1))\n" |
| " return A.ioore(text, i);\n" |
| " codeUnit = text.charCodeAt(i);\n" |
| " if (codeUnit > 127)\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Illegal percent encoding in URI\", null));\n" |
| " if (codeUnit === 37) {\n" |
| " if (i + 3 > t1)\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Truncated URI\", null));\n" |
| " B.JSArray_methods.add\$1(bytes, A._Uri__hexCharPairToByte(text, i + 1));\n" |
| " i += 2;\n" |
| " } else\n" |
| " B.JSArray_methods.add\$1(bytes, codeUnit);\n" |
| " }\n" |
| " }\n" |
| " return encoding.decode\$1(bytes);\n" |
| " },\n" |
| " _Uri__isAlphabeticCharacter(codeUnit) {\n" |
| " var lowerCase = codeUnit | 32;\n" |
| " return 97 <= lowerCase && lowerCase <= 122;\n" |
| " },\n" |
| " UriData__parse(text, start, sourceUri) {\n" |
| " var t1, i, slashIndex, char, equalsIndex, lastSeparator, t2, data,\n" |
| " _s17_ = \"Invalid MIME type\",\n" |
| " indices = A._setArrayType([start - 1], type\$.JSArray_int);\n" |
| " for (t1 = text.length, i = start, slashIndex = -1, char = null; i < t1; ++i) {\n" |
| " char = text.charCodeAt(i);\n" |
| " if (char === 44 || char === 59)\n" |
| " break;\n" |
| " if (char === 47) {\n" |
| " if (slashIndex < 0) {\n" |
| " slashIndex = i;\n" |
| " continue;\n" |
| " }\n" |
| " throw A.wrapException(A.FormatException\$(_s17_, text, i));\n" |
| " }\n" |
| " }\n" |
| " if (slashIndex < 0 && i > start)\n" |
| " throw A.wrapException(A.FormatException\$(_s17_, text, i));\n" |
| " while (char !== 44) {\n" |
| " B.JSArray_methods.add\$1(indices, i);\n" |
| " ++i;\n" |
| " for (equalsIndex = -1; i < t1; ++i) {\n" |
| " if (!(i >= 0))\n" |
| " return A.ioore(text, i);\n" |
| " char = text.charCodeAt(i);\n" |
| " if (char === 61) {\n" |
| " if (equalsIndex < 0)\n" |
| " equalsIndex = i;\n" |
| " } else if (char === 59 || char === 44)\n" |
| " break;\n" |
| " }\n" |
| " if (equalsIndex >= 0)\n" |
| " B.JSArray_methods.add\$1(indices, equalsIndex);\n" |
| " else {\n" |
| " lastSeparator = B.JSArray_methods.get\$last(indices);\n" |
| " if (char !== 44 || i !== lastSeparator + 7 || !B.JSString_methods.startsWith\$2(text, \"base64\", lastSeparator + 1))\n" |
| " throw A.wrapException(A.FormatException\$(\"Expecting '='\", text, i));\n" |
| " break;\n" |
| " }\n" |
| " }\n" |
| " B.JSArray_methods.add\$1(indices, i);\n" |
| " t2 = i + 1;\n" |
| " if ((indices.length & 1) === 1)\n" |
| " text = B.C_Base64Codec.normalize\$3(text, t2, t1);\n" |
| " else {\n" |
| " data = A._Uri__normalize(text, t2, t1, 256, true, false);\n" |
| " if (data != null)\n" |
| " text = B.JSString_methods.replaceRange\$3(text, t2, t1, data);\n" |
| " }\n" |
| " return new A.UriData(text, indices, sourceUri);\n" |
| " },\n" |
| " _scan(uri, start, end, state, indices) {\n" |
| " var t1, i, char, t2, transition,\n" |
| " _s2112_ = '\\xe1\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\xe1\\xe1\\xe1\\x01\\xe1\\xe1\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\xe1\\xe3\\xe1\\xe1\\x01\\xe1\\x01\\xe1\\xcd\\x01\\xe1\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x0e\\x03\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\"\\x01\\xe1\\x01\\xe1\\xac\\xe1\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\xe1\\xe1\\xe1\\x01\\xe1\\xe1\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\xe1\\xea\\xe1\\xe1\\x01\\xe1\\x01\\xe1\\xcd\\x01\\xe1\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\n\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\"\\x01\\xe1\\x01\\xe1\\xac\\xeb\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\xeb\\xeb\\xeb\\x8b\\xeb\\xeb\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\xeb\\x83\\xeb\\xeb\\x8b\\xeb\\x8b\\xeb\\xcd\\x8b\\xeb\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x92\\x83\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\x8b\\xeb\\x8b\\xeb\\x8b\\xeb\\xac\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xeb\\xeb\\v\\xeb\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xebD\\xeb\\xeb\\v\\xeb\\v\\xeb\\xcd\\v\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\x12D\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\v\\xeb\\v\\xeb\\xac\\xe5\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\xe5\\xe5\\xe5\\x05\\xe5D\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe8\\x8a\\xe5\\xe5\\x05\\xe5\\x05\\xe5\\xcd\\x05\\xe5\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x8a\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05f\\x05\\xe5\\x05\\xe5\\xac\\xe5\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\xe5\\xe5\\xe5\\x05\\xe5D\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\xe5\\x8a\\xe5\\xe5\\x05\\xe5\\x05\\xe5\\xcd\\x05\\xe5\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x8a\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05\\x05f\\x05\\xe5\\x05\\xe5\\xac\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7D\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\x8a\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xcd\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\x8a\\xe7\\x07\\x07\\x07\\x07\\x07\\x07\\x07\\x07\\x07\\xe7\\xe7\\xe7\\xe7\\xe7\\xac\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7D\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\x8a\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xcd\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\xe7\\x8a\\x07\\x07\\x07\\x07\\x07\\x07\\x07\\x07\\x07\\x07\\xe7\\xe7\\xe7\\xe7\\xe7\\xac\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\x05\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\b\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xeb\\xeb\\v\\xeb\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xea\\xeb\\xeb\\v\\xeb\\v\\xeb\\xcd\\v\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\x10\\xea\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\v\\xeb\\v\\xeb\\xac\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xeb\\xeb\\v\\xeb\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xea\\xeb\\xeb\\v\\xeb\\v\\xeb\\xcd\\v\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\x12\\n\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\v\\xeb\\v\\xeb\\xac\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xeb\\xeb\\v\\xeb\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xea\\xeb\\xeb\\v\\xeb\\v\\xeb\\xcd\\v\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\n\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\v\\xeb\\v\\xeb\\xac\\xec\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\xec\\xec\\xec\\f\\xec\\xec\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\xec\\xec\\xec\\xec\\f\\xec\\f\\xec\\xcd\\f\\xec\\f\\f\\f\\f\\f\\f\\f\\f\\f\\xec\\f\\f\\f\\f\\f\\f\\f\\f\\f\\f\\xec\\f\\xec\\f\\xec\\f\\xed\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\xed\\xed\\xed\\r\\xed\\xed\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\xed\\xed\\xed\\xed\\r\\xed\\r\\xed\\xed\\r\\xed\\r\\r\\r\\r\\r\\r\\r\\r\\r\\xed\\r\\r\\r\\r\\r\\r\\r\\r\\r\\r\\xed\\r\\xed\\r\\xed\\r\\xe1\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\xe1\\xe1\\xe1\\x01\\xe1\\xe1\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\xe1\\xea\\xe1\\xe1\\x01\\xe1\\x01\\xe1\\xcd\\x01\\xe1\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x0f\\xea\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\"\\x01\\xe1\\x01\\xe1\\xac\\xe1\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\xe1\\xe1\\xe1\\x01\\xe1\\xe1\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\xe1\\xe9\\xe1\\xe1\\x01\\xe1\\x01\\xe1\\xcd\\x01\\xe1\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\t\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\"\\x01\\xe1\\x01\\xe1\\xac\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xeb\\xeb\\v\\xeb\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xea\\xeb\\xeb\\v\\xeb\\v\\xeb\\xcd\\v\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\x11\\xea\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\v\\xeb\\v\\xeb\\xac\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xeb\\xeb\\v\\xeb\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xe9\\xeb\\xeb\\v\\xeb\\v\\xeb\\xcd\\v\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\t\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\v\\xeb\\v\\xeb\\xac\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xeb\\xeb\\v\\xeb\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xea\\xeb\\xeb\\v\\xeb\\v\\xeb\\xcd\\v\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\x13\\xea\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\v\\xeb\\v\\xeb\\xac\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xeb\\xeb\\v\\xeb\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\xea\\xeb\\xeb\\v\\xeb\\v\\xeb\\xcd\\v\\xeb\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xea\\v\\v\\v\\v\\v\\v\\v\\v\\v\\v\\xeb\\v\\xeb\\v\\xeb\\xac\\xf5\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5\\x15\\xf5\\x15\\x15\\xf5\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\x15\\xf5\\xf5\\xf5\\xf5\\xf5\\xf5';\n" |
| " for (t1 = uri.length, i = start; i < end; ++i) {\n" |
| " if (!(i < t1))\n" |
| " return A.ioore(uri, i);\n" |
| " char = uri.charCodeAt(i) ^ 96;\n" |
| " if (char > 95)\n" |
| " char = 31;\n" |
| " t2 = state * 96 + char;\n" |
| " if (!(t2 < 2112))\n" |
| " return A.ioore(_s2112_, t2);\n" |
| " transition = _s2112_.charCodeAt(t2);\n" |
| " state = transition & 31;\n" |
| " B.JSArray_methods.\$indexSet(indices, transition >>> 5, i);\n" |
| " }\n" |
| " return state;\n" |
| " },\n" |
| " _SimpleUri__packageNameEnd(uri) {\n" |
| " if (uri._schemeEnd === 7 && B.JSString_methods.startsWith\$1(uri._uri, \"package\") && uri._hostStart <= 0)\n" |
| " return A._skipPackageNameChars(uri._uri, uri._pathStart, uri._queryStart);\n" |
| " return -1;\n" |
| " },\n" |
| " _skipPackageNameChars(source, start, end) {\n" |
| " var t1, i, dots, char;\n" |
| " for (t1 = source.length, i = start, dots = 0; i < end; ++i) {\n" |
| " if (!(i >= 0 && i < t1))\n" |
| " return A.ioore(source, i);\n" |
| " char = source.charCodeAt(i);\n" |
| " if (char === 47)\n" |
| " return dots !== 0 ? i : -1;\n" |
| " if (char === 37 || char === 58)\n" |
| " return -1;\n" |
| " dots |= char ^ 46;\n" |
| " }\n" |
| " return -1;\n" |
| " },\n" |
| " _caseInsensitiveCompareStart(prefix, string, start) {\n" |
| " var t1, t2, result, i, t3, stringChar, delta, lowerChar;\n" |
| " for (t1 = prefix.length, t2 = string.length, result = 0, i = 0; i < t1; ++i) {\n" |
| " t3 = start + i;\n" |
| " if (!(t3 < t2))\n" |
| " return A.ioore(string, t3);\n" |
| " stringChar = string.charCodeAt(t3);\n" |
| " delta = prefix.charCodeAt(i) ^ stringChar;\n" |
| " if (delta !== 0) {\n" |
| " if (delta === 32) {\n" |
| " lowerChar = stringChar | delta;\n" |
| " if (97 <= lowerChar && lowerChar <= 122) {\n" |
| " result = 32;\n" |
| " continue;\n" |
| " }\n" |
| " }\n" |
| " return -1;\n" |
| " }\n" |
| " }\n" |
| " return result;\n" |
| " },\n" |
| " DateTime: function DateTime(t0, t1, t2) {\n" |
| " this._value = t0;\n" |
| " this._microsecond = t1;\n" |
| " this.isUtc = t2;\n" |
| " },\n" |
| " Duration: function Duration(t0) {\n" |
| " this._duration = t0;\n" |
| " },\n" |
| " _Enum: function _Enum() {\n" |
| " },\n" |
| " Error: function Error() {\n" |
| " },\n" |
| " AssertionError: function AssertionError(t0) {\n" |
| " this.message = t0;\n" |
| " },\n" |
| " TypeError: function TypeError() {\n" |
| " },\n" |
| " ArgumentError: function ArgumentError(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _._hasValue = t0;\n" |
| " _.invalidValue = t1;\n" |
| " _.name = t2;\n" |
| " _.message = t3;\n" |
| " },\n" |
| " RangeError: function RangeError(t0, t1, t2, t3, t4, t5) {\n" |
| " var _ = this;\n" |
| " _.start = t0;\n" |
| " _.end = t1;\n" |
| " _._hasValue = t2;\n" |
| " _.invalidValue = t3;\n" |
| " _.name = t4;\n" |
| " _.message = t5;\n" |
| " },\n" |
| " IndexError: function IndexError(t0, t1, t2, t3, t4) {\n" |
| " var _ = this;\n" |
| " _.length = t0;\n" |
| " _._hasValue = t1;\n" |
| " _.invalidValue = t2;\n" |
| " _.name = t3;\n" |
| " _.message = t4;\n" |
| " },\n" |
| " UnsupportedError: function UnsupportedError(t0) {\n" |
| " this.message = t0;\n" |
| " },\n" |
| " UnimplementedError: function UnimplementedError(t0) {\n" |
| " this.message = t0;\n" |
| " },\n" |
| " StateError: function StateError(t0) {\n" |
| " this.message = t0;\n" |
| " },\n" |
| " ConcurrentModificationError: function ConcurrentModificationError(t0) {\n" |
| " this.modifiedObject = t0;\n" |
| " },\n" |
| " OutOfMemoryError: function OutOfMemoryError() {\n" |
| " },\n" |
| " StackOverflowError: function StackOverflowError() {\n" |
| " },\n" |
| " _Exception: function _Exception(t0) {\n" |
| " this.message = t0;\n" |
| " },\n" |
| " FormatException: function FormatException(t0, t1, t2) {\n" |
| " this.message = t0;\n" |
| " this.source = t1;\n" |
| " this.offset = t2;\n" |
| " },\n" |
| " Iterable: function Iterable() {\n" |
| " },\n" |
| " MapEntry: function MapEntry(t0, t1, t2) {\n" |
| " this.key = t0;\n" |
| " this.value = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " Null: function Null() {\n" |
| " },\n" |
| " Object: function Object() {\n" |
| " },\n" |
| " _StringStackTrace: function _StringStackTrace(t0) {\n" |
| " this._stackTrace = t0;\n" |
| " },\n" |
| " StringBuffer: function StringBuffer(t0) {\n" |
| " this._contents = t0;\n" |
| " },\n" |
| " Uri_parseIPv6Address_error: function Uri_parseIPv6Address_error(t0) {\n" |
| " this.host = t0;\n" |
| " },\n" |
| " _Uri: function _Uri(t0, t1, t2, t3, t4, t5, t6) {\n" |
| " var _ = this;\n" |
| " _.scheme = t0;\n" |
| " _._userInfo = t1;\n" |
| " _._host = t2;\n" |
| " _._port = t3;\n" |
| " _.path = t4;\n" |
| " _._query = t5;\n" |
| " _._fragment = t6;\n" |
| " _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = \$;\n" |
| " },\n" |
| " _Uri__makePath_closure: function _Uri__makePath_closure() {\n" |
| " },\n" |
| " UriData: function UriData(t0, t1, t2) {\n" |
| " this._text = t0;\n" |
| " this._separatorIndices = t1;\n" |
| " this._uriCache = t2;\n" |
| " },\n" |
| " _SimpleUri: function _SimpleUri(t0, t1, t2, t3, t4, t5, t6, t7) {\n" |
| " var _ = this;\n" |
| " _._uri = t0;\n" |
| " _._schemeEnd = t1;\n" |
| " _._hostStart = t2;\n" |
| " _._portStart = t3;\n" |
| " _._pathStart = t4;\n" |
| " _._queryStart = t5;\n" |
| " _._fragmentStart = t6;\n" |
| " _._schemeCache = t7;\n" |
| " _._hashCodeCache = null;\n" |
| " },\n" |
| " _DataUri: function _DataUri(t0, t1, t2, t3, t4, t5, t6) {\n" |
| " var _ = this;\n" |
| " _.scheme = t0;\n" |
| " _._userInfo = t1;\n" |
| " _._host = t2;\n" |
| " _._port = t3;\n" |
| " _.path = t4;\n" |
| " _._query = t5;\n" |
| " _._fragment = t6;\n" |
| " _.___Uri_hashCode_FI = _.___Uri_pathSegments_FI = _.___Uri__text_FI = \$;\n" |
| " },\n" |
| " JSAnyUtilityExtension_instanceOfString(_this, constructorName) {\n" |
| " var parts, \$constructor, t1, _i, t2;\n" |
| " if (constructorName.length === 0)\n" |
| " return false;\n" |
| " parts = constructorName.split(\".\");\n" |
| " \$constructor = init.G;\n" |
| " for (t1 = parts.length, _i = 0; _i < t1; ++_i, \$constructor = t2) {\n" |
| " t2 = \$constructor[parts[_i]];\n" |
| " A._asJSObjectQ(t2);\n" |
| " if (t2 == null)\n" |
| " return false;\n" |
| " }\n" |
| " return _this instanceof type\$.JavaScriptFunction._as(\$constructor);\n" |
| " },\n" |
| " FutureOfJSAnyToJSPromise_get_toJS(_this, \$T) {\n" |
| " return A._asJSObject(new init.G.Promise(A._functionToJS2(new A.FutureOfJSAnyToJSPromise_get_toJS_closure(_this))));\n" |
| " },\n" |
| " FutureOfVoidToJSPromise_get_toJS(_this) {\n" |
| " return A._asJSObject(new init.G.Promise(A._functionToJS2(new A.FutureOfVoidToJSPromise_get_toJS_closure(_this))));\n" |
| " },\n" |
| " NullRejectionException: function NullRejectionException(t0) {\n" |
| " this.isUndefined = t0;\n" |
| " },\n" |
| " FutureOfJSAnyToJSPromise_get_toJS_closure: function FutureOfJSAnyToJSPromise_get_toJS_closure(t0) {\n" |
| " this._this = t0;\n" |
| " },\n" |
| " FutureOfJSAnyToJSPromise_get_toJS__closure: function FutureOfJSAnyToJSPromise_get_toJS__closure(t0) {\n" |
| " this.resolve = t0;\n" |
| " },\n" |
| " FutureOfJSAnyToJSPromise_get_toJS__closure0: function FutureOfJSAnyToJSPromise_get_toJS__closure0(t0) {\n" |
| " this.reject = t0;\n" |
| " },\n" |
| " FutureOfVoidToJSPromise_get_toJS_closure: function FutureOfVoidToJSPromise_get_toJS_closure(t0) {\n" |
| " this._this = t0;\n" |
| " },\n" |
| " FutureOfVoidToJSPromise_get_toJS__closure: function FutureOfVoidToJSPromise_get_toJS__closure(t0) {\n" |
| " this.resolve = t0;\n" |
| " },\n" |
| " FutureOfVoidToJSPromise_get_toJS__closure0: function FutureOfVoidToJSPromise_get_toJS__closure0(t0) {\n" |
| " this.reject = t0;\n" |
| " },\n" |
| " _functionToJS0(f) {\n" |
| " var result;\n" |
| " if (typeof f == \"function\")\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Attempting to rewrap a JS function.\", null));\n" |
| " result = function(_call, f) {\n" |
| " return function() {\n" |
| " return _call(f);\n" |
| " };\n" |
| " }(A._callDartFunctionFast0, f);\n" |
| " result[\$.\$get\$DART_CLOSURE_DART_JSINTEROP_PROPERTY_NAME()] = f;\n" |
| " return result;\n" |
| " },\n" |
| " _functionToJS1(f) {\n" |
| " var result;\n" |
| " if (typeof f == \"function\")\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Attempting to rewrap a JS function.\", null));\n" |
| " result = function(_call, f) {\n" |
| " return function(arg1) {\n" |
| " return _call(f, arg1, arguments.length);\n" |
| " };\n" |
| " }(A._callDartFunctionFast1, f);\n" |
| " result[\$.\$get\$DART_CLOSURE_DART_JSINTEROP_PROPERTY_NAME()] = f;\n" |
| " return result;\n" |
| " },\n" |
| " _functionToJS2(f) {\n" |
| " var result;\n" |
| " if (typeof f == \"function\")\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Attempting to rewrap a JS function.\", null));\n" |
| " result = function(_call, f) {\n" |
| " return function(arg1, arg2) {\n" |
| " return _call(f, arg1, arg2, arguments.length);\n" |
| " };\n" |
| " }(A._callDartFunctionFast2, f);\n" |
| " result[\$.\$get\$DART_CLOSURE_DART_JSINTEROP_PROPERTY_NAME()] = f;\n" |
| " return result;\n" |
| " },\n" |
| " _callDartFunctionFast0(callback) {\n" |
| " return type\$.Function._as(callback).call\$0();\n" |
| " },\n" |
| " _callDartFunctionFast1(callback, arg1, \$length) {\n" |
| " type\$.Function._as(callback);\n" |
| " if (A._asInt(\$length) >= 1)\n" |
| " return callback.call\$1(arg1);\n" |
| " return callback.call\$0();\n" |
| " },\n" |
| " _callDartFunctionFast2(callback, arg1, arg2, \$length) {\n" |
| " type\$.Function._as(callback);\n" |
| " A._asInt(\$length);\n" |
| " if (\$length >= 2)\n" |
| " return callback.call\$2(arg1, arg2);\n" |
| " if (\$length === 1)\n" |
| " return callback.call\$1(arg1);\n" |
| " return callback.call\$0();\n" |
| " },\n" |
| " _callDartFunctionFast3(callback, arg1, arg2, arg3, \$length) {\n" |
| " type\$.Function._as(callback);\n" |
| " A._asInt(\$length);\n" |
| " if (\$length >= 3)\n" |
| " return callback.call\$3(arg1, arg2, arg3);\n" |
| " if (\$length === 2)\n" |
| " return callback.call\$2(arg1, arg2);\n" |
| " if (\$length === 1)\n" |
| " return callback.call\$1(arg1);\n" |
| " return callback.call\$0();\n" |
| " },\n" |
| " _noJsifyRequired(o) {\n" |
| " return o == null || A._isBool(o) || typeof o == \"number\" || typeof o == \"string\" || type\$.Int8List._is(o) || type\$.Uint8List._is(o) || type\$.Uint8ClampedList._is(o) || type\$.Int16List._is(o) || type\$.Uint16List._is(o) || type\$.Int32List._is(o) || type\$.Uint32List._is(o) || type\$.Float32List._is(o) || type\$.Float64List._is(o) || type\$.ByteBuffer._is(o) || type\$.ByteData._is(o);\n" |
| " },\n" |
| " jsify(object) {\n" |
| " if (A._noJsifyRequired(object))\n" |
| " return object;\n" |
| " return new A.jsify__convert(new A._IdentityHashMap(type\$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call\$1(object);\n" |
| " },\n" |
| " getProperty(o, \$name, \$T) {\n" |
| " return \$T._as(o[\$name]);\n" |
| " },\n" |
| " callConstructor(constr, \$arguments, \$T) {\n" |
| " var args, factoryFunction;\n" |
| " if (\$arguments == null)\n" |
| " return \$T._as(new constr());\n" |
| " if (\$arguments instanceof Array)\n" |
| " switch (\$arguments.length) {\n" |
| " case 0:\n" |
| " return \$T._as(new constr());\n" |
| " case 1:\n" |
| " return \$T._as(new constr(\$arguments[0]));\n" |
| " case 2:\n" |
| " return \$T._as(new constr(\$arguments[0], \$arguments[1]));\n" |
| " case 3:\n" |
| " return \$T._as(new constr(\$arguments[0], \$arguments[1], \$arguments[2]));\n" |
| " case 4:\n" |
| " return \$T._as(new constr(\$arguments[0], \$arguments[1], \$arguments[2], \$arguments[3]));\n" |
| " }\n" |
| " args = [null];\n" |
| " B.JSArray_methods.addAll\$1(args, \$arguments);\n" |
| " factoryFunction = constr.bind.apply(constr, args);\n" |
| " String(factoryFunction);\n" |
| " return \$T._as(new factoryFunction());\n" |
| " },\n" |
| " promiseToFuture(jsPromise, \$T) {\n" |
| " var t1 = new A._Future(\$.Zone__current, \$T._eval\$1(\"_Future<0>\")),\n" |
| " completer = new A._AsyncCompleter(t1, \$T._eval\$1(\"_AsyncCompleter<0>\"));\n" |
| " jsPromise.then(A.convertDartClosureToJS(new A.promiseToFuture_closure(completer, \$T), 1), A.convertDartClosureToJS(new A.promiseToFuture_closure0(completer), 1));\n" |
| " return t1;\n" |
| " },\n" |
| " _noDartifyRequired(o) {\n" |
| " return o == null || typeof o === \"boolean\" || typeof o === \"number\" || typeof o === \"string\" || o instanceof Int8Array || o instanceof Uint8Array || o instanceof Uint8ClampedArray || o instanceof Int16Array || o instanceof Uint16Array || o instanceof Int32Array || o instanceof Uint32Array || o instanceof Float32Array || o instanceof Float64Array || o instanceof ArrayBuffer || o instanceof DataView;\n" |
| " },\n" |
| " dartify(o) {\n" |
| " if (A._noDartifyRequired(o))\n" |
| " return o;\n" |
| " return new A.dartify_convert(new A._IdentityHashMap(type\$._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call\$1(o);\n" |
| " },\n" |
| " jsify__convert: function jsify__convert(t0) {\n" |
| " this._convertedObjects = t0;\n" |
| " },\n" |
| " promiseToFuture_closure: function promiseToFuture_closure(t0, t1) {\n" |
| " this.completer = t0;\n" |
| " this.T = t1;\n" |
| " },\n" |
| " promiseToFuture_closure0: function promiseToFuture_closure0(t0) {\n" |
| " this.completer = t0;\n" |
| " },\n" |
| " dartify_convert: function dartify_convert(t0) {\n" |
| " this._convertedObjects = t0;\n" |
| " },\n" |
| " max(a, b, \$T) {\n" |
| " A.checkTypeBound(\$T, type\$.num, \"T\", \"max\");\n" |
| " return Math.max(\$T._as(a), \$T._as(b));\n" |
| " },\n" |
| " _JSRandom: function _JSRandom() {\n" |
| " },\n" |
| " _JSSecureRandom: function _JSSecureRandom(t0) {\n" |
| " this._math\$_buffer = t0;\n" |
| " },\n" |
| " AsyncMemoizer: function AsyncMemoizer(t0, t1) {\n" |
| " this._async_memoizer\$_completer = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " ErrorResult: function ErrorResult(t0, t1) {\n" |
| " this.error = t0;\n" |
| " this.stackTrace = t1;\n" |
| " },\n" |
| " ValueResult: function ValueResult(t0, t1) {\n" |
| " this.value = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " StreamQueue: function StreamQueue(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _._stream_queue\$_source = t0;\n" |
| " _._stream_queue\$_subscription = null;\n" |
| " _._isDone = false;\n" |
| " _._eventsReceived = 0;\n" |
| " _._eventQueue = t1;\n" |
| " _._requestQueue = t2;\n" |
| " _.\$ti = t3;\n" |
| " },\n" |
| " StreamQueue__ensureListening_closure: function StreamQueue__ensureListening_closure(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " StreamQueue__ensureListening_closure1: function StreamQueue__ensureListening_closure1(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " StreamQueue__ensureListening_closure0: function StreamQueue__ensureListening_closure0(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " _NextRequest: function _NextRequest(t0, t1) {\n" |
| " this._stream_queue\$_completer = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " _HasNextRequest: function _HasNextRequest(t0, t1) {\n" |
| " this._stream_queue\$_completer = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " CanonicalizedMap: function CanonicalizedMap() {\n" |
| " },\n" |
| " CanonicalizedMap_addAll_closure: function CanonicalizedMap_addAll_closure(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " CanonicalizedMap_forEach_closure: function CanonicalizedMap_forEach_closure(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.f = t1;\n" |
| " },\n" |
| " CanonicalizedMap_keys_closure: function CanonicalizedMap_keys_closure(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " QueueList__computeInitialCapacity(initialCapacity) {\n" |
| " return 8;\n" |
| " },\n" |
| " QueueList__nextPowerOf2(number) {\n" |
| " var nextNumber;\n" |
| " number = (number << 1 >>> 0) - 1;\n" |
| " for (;; number = nextNumber) {\n" |
| " nextNumber = (number & number - 1) >>> 0;\n" |
| " if (nextNumber === 0)\n" |
| " return number;\n" |
| " }\n" |
| " },\n" |
| " QueueList: function QueueList(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _._queue_list\$_table = t0;\n" |
| " _._queue_list\$_head = t1;\n" |
| " _._queue_list\$_tail = t2;\n" |
| " _.\$ti = t3;\n" |
| " },\n" |
| " _CastQueueList: function _CastQueueList(t0, t1, t2, t3, t4) {\n" |
| " var _ = this;\n" |
| " _._queue_list\$_delegate = t0;\n" |
| " _._queue_list\$_table = t1;\n" |
| " _._queue_list\$_head = t2;\n" |
| " _._queue_list\$_tail = t3;\n" |
| " _.\$ti = t4;\n" |
| " },\n" |
| " _QueueList_Object_ListMixin: function _QueueList_Object_ListMixin() {\n" |
| " },\n" |
| " BuildStatus_BuildStatus\$fromJson(json) {\n" |
| " return B.JSArray_methods.firstWhere\$2\$orElse(B.List_crW, new A.BuildStatus_BuildStatus\$fromJson_closure(json), new A.BuildStatus_BuildStatus\$fromJson_closure0(json));\n" |
| " },\n" |
| " BuildStatus: function BuildStatus(t0, t1) {\n" |
| " this.index = t0;\n" |
| " this._name = t1;\n" |
| " },\n" |
| " BuildStatus_BuildStatus\$fromJson_closure: function BuildStatus_BuildStatus\$fromJson_closure(t0) {\n" |
| " this.json = t0;\n" |
| " },\n" |
| " BuildStatus_BuildStatus\$fromJson_closure0: function BuildStatus_BuildStatus\$fromJson_closure0(t0) {\n" |
| " this.json = t0;\n" |
| " },\n" |
| " BuildResult: function BuildResult(t0) {\n" |
| " this.status = t0;\n" |
| " },\n" |
| " ConnectRequest: function ConnectRequest(t0, t1, t2) {\n" |
| " this.appId = t0;\n" |
| " this.instanceId = t1;\n" |
| " this.entrypointPath = t2;\n" |
| " },\n" |
| " _listEquals(a, b, \$T) {\n" |
| " var i,\n" |
| " t1 = J.getInterceptor\$asx(a),\n" |
| " t2 = t1.get\$length(a),\n" |
| " t3 = J.getInterceptor\$asx(b),\n" |
| " t4 = t3.get\$length(b);\n" |
| " if (t2 !== t4)\n" |
| " return false;\n" |
| " for (i = 0; i < t1.get\$length(a); ++i)\n" |
| " if (!J.\$eq\$(t1.\$index(a, i), t3.\$index(b, i)))\n" |
| " return false;\n" |
| " return true;\n" |
| " },\n" |
| " DebugEvent: function DebugEvent(t0, t1, t2) {\n" |
| " this.kind = t0;\n" |
| " this.eventData = t1;\n" |
| " this.timestamp = t2;\n" |
| " },\n" |
| " BatchedDebugEvents: function BatchedDebugEvents(t0) {\n" |
| " this.events = t0;\n" |
| " },\n" |
| " BatchedDebugEvents_toJson_closure: function BatchedDebugEvents_toJson_closure() {\n" |
| " },\n" |
| " DebugInfo: function DebugInfo(t0, t1, t2, t3, t4, t5, t6, t7, t8, t9) {\n" |
| " var _ = this;\n" |
| " _.appEntrypointPath = t0;\n" |
| " _.appId = t1;\n" |
| " _.appInstanceId = t2;\n" |
| " _.appOrigin = t3;\n" |
| " _.appUrl = t4;\n" |
| " _.authUrl = t5;\n" |
| " _.extensionUrl = t6;\n" |
| " _.isInternalBuild = t7;\n" |
| " _.isFlutterApp = t8;\n" |
| " _.workspaceName = t9;\n" |
| " },\n" |
| " DevToolsRequest: function DevToolsRequest(t0, t1) {\n" |
| " this.appId = t0;\n" |
| " this.instanceId = t1;\n" |
| " },\n" |
| " DevToolsResponse: function DevToolsResponse(t0, t1, t2) {\n" |
| " this.success = t0;\n" |
| " this.promptExtension = t1;\n" |
| " this.error = t2;\n" |
| " },\n" |
| " ErrorResponse: function ErrorResponse(t0, t1) {\n" |
| " this.error = t0;\n" |
| " this.stackTrace = t1;\n" |
| " },\n" |
| " HotReloadRequest: function HotReloadRequest(t0) {\n" |
| " this.id = t0;\n" |
| " },\n" |
| " HotReloadResponse: function HotReloadResponse(t0, t1, t2) {\n" |
| " this.id = t0;\n" |
| " this.success = t1;\n" |
| " this.errorMessage = t2;\n" |
| " },\n" |
| " HotRestartRequest: function HotRestartRequest(t0) {\n" |
| " this.id = t0;\n" |
| " },\n" |
| " HotRestartResponse: function HotRestartResponse(t0, t1, t2) {\n" |
| " this.id = t0;\n" |
| " this.success = t1;\n" |
| " this.errorMessage = t2;\n" |
| " },\n" |
| " PingRequest: function PingRequest() {\n" |
| " },\n" |
| " RegisterEvent: function RegisterEvent(t0, t1) {\n" |
| " this.eventData = t0;\n" |
| " this.timestamp = t1;\n" |
| " },\n" |
| " RunRequest: function RunRequest() {\n" |
| " },\n" |
| " ServiceExtensionRequest: function ServiceExtensionRequest(t0, t1, t2) {\n" |
| " this.id = t0;\n" |
| " this.method = t1;\n" |
| " this.args = t2;\n" |
| " },\n" |
| " ServiceExtensionResponse: function ServiceExtensionResponse(t0, t1, t2, t3, t4) {\n" |
| " var _ = this;\n" |
| " _.id = t0;\n" |
| " _.success = t1;\n" |
| " _.result = t2;\n" |
| " _.errorCode = t3;\n" |
| " _.errorMessage = t4;\n" |
| " },\n" |
| " BatchedStreamController: function BatchedStreamController(t0, t1, t2, t3, t4, t5) {\n" |
| " var _ = this;\n" |
| " _._checkDelayMilliseconds = t0;\n" |
| " _._batchDelayMilliseconds = t1;\n" |
| " _._inputController = t2;\n" |
| " _.__BatchedStreamController__inputQueue_A = \$;\n" |
| " _._outputController = t3;\n" |
| " _._completer = t4;\n" |
| " _.\$ti = t5;\n" |
| " },\n" |
| " BatchedStreamController__hasEventOrTimeOut_closure: function BatchedStreamController__hasEventOrTimeOut_closure() {\n" |
| " },\n" |
| " BatchedStreamController__hasEventDuring_closure: function BatchedStreamController__hasEventDuring_closure() {\n" |
| " },\n" |
| " PersistentWebSocket_connect(uri, onReconnect) {\n" |
| " return A.BrowserWebSocket_connect(uri, null).then\$1\$1(new A.PersistentWebSocket_connect_closure(uri, 100, 3, null, onReconnect, \"Unknown\"), type\$.PersistentWebSocket);\n" |
| " },\n" |
| " SocketClient: function SocketClient() {\n" |
| " },\n" |
| " SseSocketClient: function SseSocketClient(t0) {\n" |
| " this._sockets\$_client = t0;\n" |
| " },\n" |
| " WebSocketClient: function WebSocketClient(t0) {\n" |
| " this._channel = t0;\n" |
| " },\n" |
| " WebSocketClient_stream_closure: function WebSocketClient_stream_closure() {\n" |
| " },\n" |
| " PersistentWebSocket: function PersistentWebSocket(t0, t1, t2, t3, t4, t5, t6, t7) {\n" |
| " var _ = this;\n" |
| " _.logger = t0;\n" |
| " _.debugName = t1;\n" |
| " _.maxRetryAttempts = t2;\n" |
| " _._doneCompleter = t3;\n" |
| " _.uri = t4;\n" |
| " _.onReconnect = t5;\n" |
| " _._ws = t6;\n" |
| " _.__PersistentWebSocket__incomingStreamController_FI = \$;\n" |
| " _._outgoingStreamController = t7;\n" |
| " },\n" |
| " PersistentWebSocket_connect_closure: function PersistentWebSocket_connect_closure(t0, t1, t2, t3, t4, t5) {\n" |
| " var _ = this;\n" |
| " _.uri = t0;\n" |
| " _.exponentialBackoffDelayMs = t1;\n" |
| " _.maxRetryAttempts = t2;\n" |
| " _.logger = t3;\n" |
| " _.onReconnect = t4;\n" |
| " _.debugName = t5;\n" |
| " },\n" |
| " PersistentWebSocket__listenWithRetry_attemptRetry: function PersistentWebSocket__listenWithRetry_attemptRetry(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this.\$this = t1;\n" |
| " },\n" |
| " PersistentWebSocket__listenWithRetry_closure: function PersistentWebSocket__listenWithRetry_closure(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.\$this = t0;\n" |
| " _.attemptRetry = t1;\n" |
| " _.eventsSub = t2;\n" |
| " _.wsOnDoneCompleter = t3;\n" |
| " },\n" |
| " _PersistentWebSocket_Object_StreamChannelMixin: function _PersistentWebSocket_Object_StreamChannelMixin() {\n" |
| " },\n" |
| " safeUnawaited(future) {\n" |
| " future.catchError\$1(new A.safeUnawaited_closure());\n" |
| " },\n" |
| " safeUnawaited_closure: function safeUnawaited_closure() {\n" |
| " },\n" |
| " Uuid: function Uuid() {\n" |
| " },\n" |
| " stronglyConnectedComponents(nodes, edges, \$T) {\n" |
| " var t2, t3, t4, node, index, t5, state, iterator, index0, lowLink, t6, next, component, t7, result0, _null = null,\n" |
| " result = A._setArrayType([], \$T._eval\$1(\"JSArray<List<0>>\")),\n" |
| " t1 = type\$.int,\n" |
| " lowLinks = A.HashMap_HashMap(_null, _null, \$T, t1),\n" |
| " indexes = A.HashMap_HashMap(_null, _null, \$T, t1),\n" |
| " onStack = A.HashSet_HashSet(_null, _null, \$T),\n" |
| " lastVisited = A.ListQueue\$(\$T);\n" |
| " t1 = A._setArrayType([], \$T._eval\$1(\"JSArray<_StackState<0>>\"));\n" |
| " for (t2 = nodes.\$ti, t3 = new A.ListIterator(nodes, nodes.get\$length(0), t2._eval\$1(\"ListIterator<ListIterable.E>\")), t4 = \$T._eval\$1(\"_StackState<0>\"), t2 = t2._eval\$1(\"ListIterable.E\"); t3.moveNext\$0();) {\n" |
| " node = t3.__internal\$_current;\n" |
| " t1.push(new A._StackState(node == null ? t2._as(node) : node, _null, t4));\n" |
| " }\n" |
| " \$label0\$0:\n" |
| " for (t2 = lastVisited.\$ti._precomputed1, t3 = \$T._eval\$1(\"JSArray<0>\"), index = 0; t5 = t1.length, t5 !== 0;) {\n" |
| " if (0 >= t5)\n" |
| " return A.ioore(t1, -1);\n" |
| " state = t1.pop();\n" |
| " node = state.node;\n" |
| " iterator = state.iterator;\n" |
| " if (iterator == null) {\n" |
| " if (indexes.containsKey\$1(node))\n" |
| " continue \$label0\$0;\n" |
| " indexes.\$indexSet(0, node, index);\n" |
| " lowLinks.\$indexSet(0, node, index);\n" |
| " index0 = index + 1;\n" |
| " iterator = J.get\$iterator\$ax(edges.call\$1(node));\n" |
| " if (!iterator.moveNext\$0()) {\n" |
| " B.JSArray_methods.add\$1(result, A._setArrayType([node], t3));\n" |
| " index = index0;\n" |
| " continue \$label0\$0;\n" |
| " }\n" |
| " lastVisited._collection\$_add\$1(t2._as(node));\n" |
| " onStack.add\$1(0, node);\n" |
| " lowLink = index;\n" |
| " index = index0;\n" |
| " } else {\n" |
| " t5 = lowLinks.\$index(0, node);\n" |
| " t5.toString;\n" |
| " t6 = lowLinks.\$index(0, iterator.get\$current());\n" |
| " t6.toString;\n" |
| " lowLink = Math.min(t5, t6);\n" |
| " }\n" |
| " do {\n" |
| " next = iterator.get\$current();\n" |
| " if (!indexes.containsKey\$1(next)) {\n" |
| " B.JSArray_methods.add\$1(t1, new A._StackState(node, iterator, t4));\n" |
| " B.JSArray_methods.add\$1(t1, new A._StackState(next, _null, t4));\n" |
| " continue \$label0\$0;\n" |
| " } else if (onStack.contains\$1(0, next)) {\n" |
| " t5 = indexes.\$index(0, next);\n" |
| " t5.toString;\n" |
| " lowLink = Math.min(lowLink, t5);\n" |
| " lowLinks.\$indexSet(0, node, lowLink);\n" |
| " }\n" |
| " } while (iterator.moveNext\$0());\n" |
| " if (lowLink === indexes.\$index(0, node)) {\n" |
| " component = A._setArrayType([], t3);\n" |
| " do {\n" |
| " t5 = lastVisited._head;\n" |
| " t6 = lastVisited._tail;\n" |
| " if (t5 === t6)\n" |
| " A.throwExpression(A.IterableElementError_noElement());\n" |
| " ++lastVisited._modificationCount;\n" |
| " t5 = lastVisited._table;\n" |
| " t7 = t5.length;\n" |
| " t6 = (t6 - 1 & t7 - 1) >>> 0;\n" |
| " lastVisited._tail = t6;\n" |
| " if (!(t6 >= 0 && t6 < t7))\n" |
| " return A.ioore(t5, t6);\n" |
| " result0 = t5[t6];\n" |
| " if (result0 == null)\n" |
| " result0 = t2._as(result0);\n" |
| " B.JSArray_methods.\$indexSet(t5, t6, _null);\n" |
| " onStack.remove\$1(0, result0);\n" |
| " B.JSArray_methods.add\$1(component, result0);\n" |
| " } while (!A._defaultEquals(result0, node));\n" |
| " B.JSArray_methods.add\$1(result, component);\n" |
| " }\n" |
| " }\n" |
| " return result;\n" |
| " },\n" |
| " _defaultEquals(a, b) {\n" |
| " return J.\$eq\$(a, b);\n" |
| " },\n" |
| " _StackState: function _StackState(t0, t1, t2) {\n" |
| " this.node = t0;\n" |
| " this.iterator = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " RequestAbortedException: function RequestAbortedException(t0, t1) {\n" |
| " this.message = t0;\n" |
| " this.uri = t1;\n" |
| " },\n" |
| " BaseClient: function BaseClient() {\n" |
| " },\n" |
| " BaseRequest: function BaseRequest() {\n" |
| " },\n" |
| " BaseRequest_closure: function BaseRequest_closure() {\n" |
| " },\n" |
| " BaseRequest_closure0: function BaseRequest_closure0() {\n" |
| " },\n" |
| " BaseResponse: function BaseResponse() {\n" |
| " },\n" |
| " _toClientException(e, request) {\n" |
| " var message;\n" |
| " if (type\$.JSObject._is(e) && \"AbortError\" === A._asString(e.name))\n" |
| " return new A.RequestAbortedException(\"Request aborted by `abortTrigger`\", request.url);\n" |
| " if (!(e instanceof A.ClientException)) {\n" |
| " message = J.toString\$0\$(e);\n" |
| " if (B.JSString_methods.startsWith\$1(message, \"TypeError: \"))\n" |
| " message = B.JSString_methods.substring\$1(message, 11);\n" |
| " e = new A.ClientException(message, request.url);\n" |
| " }\n" |
| " return e;\n" |
| " },\n" |
| " _rethrowAsClientException(e, st, request) {\n" |
| " A.Error_throwWithStackTrace(A._toClientException(e, request), st);\n" |
| " },\n" |
| " _bodyToStream(request, response) {\n" |
| " return new A._MultiStream(false, new A._bodyToStream_closure(request, response), type\$._MultiStream_List_int);\n" |
| " },\n" |
| " _readStreamBody(request, response, controller) {\n" |
| " return A._readStreamBody\$body(request, response, controller);\n" |
| " },\n" |
| " _readStreamBody\$body(request, response, controller) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$returnValue, \$async\$handler = 2, \$async\$errorStack = [], chunk, e, s, t2, t3, t4, t5, t6, t7, exception, varData, t8, t9, _box_0, t1, reader, \$async\$exception;\n" |
| " var \$async\$_readStreamBody = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1) {\n" |
| " \$async\$errorStack.push(\$async\$result);\n" |
| " \$async\$goto = \$async\$handler;\n" |
| " }\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " _box_0 = {};\n" |
| " t1 = A._asJSObjectQ(response.body);\n" |
| " reader = t1 == null ? null : A._asJSObject(t1.getReader());\n" |
| " \$async\$goto = reader == null ? 3 : 4;\n" |
| " break;\n" |
| " case 3:\n" |
| " // then\n" |
| " \$async\$goto = 5;\n" |
| " return A._asyncAwait(controller.close\$0(), \$async\$_readStreamBody);\n" |
| " case 5:\n" |
| " // returning from await.\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 4:\n" |
| " // join\n" |
| " _box_0.resumeSignal = null;\n" |
| " _box_0.hadError = _box_0.cancelled = false;\n" |
| " controller.set\$onResume(new A._readStreamBody_closure(_box_0));\n" |
| " controller.set\$onCancel(new A._readStreamBody_closure0(_box_0, reader, request));\n" |
| " t1 = type\$.NativeUint8List, t2 = controller.\$ti, t3 = t2._precomputed1, t4 = type\$.JSObject, t2 = t2._eval\$1(\"_ControllerSubscription<1>\"), t5 = type\$._StreamControllerAddStreamState_nullable_Object, t6 = type\$._Future_void, t7 = type\$._AsyncCompleter_void;\n" |
| " case 6:\n" |
| " // for condition\n" |
| " // trivial condition\n" |
| " chunk = null;\n" |
| " \$async\$handler = 9;\n" |
| " \$async\$goto = 12;\n" |
| " return A._asyncAwait(A.promiseToFuture(A._asJSObject(reader.read()), t4), \$async\$_readStreamBody);\n" |
| " case 12:\n" |
| " // returning from await.\n" |
| " chunk = \$async\$result;\n" |
| " \$async\$handler = 2;\n" |
| " // goto after finally\n" |
| " \$async\$goto = 11;\n" |
| " break;\n" |
| " case 9:\n" |
| " // catch\n" |
| " \$async\$handler = 8;\n" |
| " \$async\$exception = \$async\$errorStack.pop();\n" |
| " e = A.unwrapException(\$async\$exception);\n" |
| " s = A.getTraceFromException(\$async\$exception);\n" |
| " \$async\$goto = !_box_0.cancelled ? 13 : 14;\n" |
| " break;\n" |
| " case 13:\n" |
| " // then\n" |
| " _box_0.hadError = true;\n" |
| " t1 = A._toClientException(e, request);\n" |
| " t3 = type\$.nullable_StackTrace._as(s);\n" |
| " t4 = controller._state;\n" |
| " if (t4 >= 4)\n" |
| " A.throwExpression(controller._badEventState\$0());\n" |
| " if ((t4 & 1) !== 0) {\n" |
| " varData = controller._varData;\n" |
| " t6 = t2._as((t4 & 8) !== 0 ? t5._as(varData).get\$_varData() : varData);\n" |
| " t6._addError\$2(t1, t3 == null ? B._StringStackTrace_OdL : t3);\n" |
| " }\n" |
| " \$async\$goto = 15;\n" |
| " return A._asyncAwait(controller.close\$0(), \$async\$_readStreamBody);\n" |
| " case 15:\n" |
| " // returning from await.\n" |
| " case 14:\n" |
| " // join\n" |
| " // goto after for\n" |
| " \$async\$goto = 7;\n" |
| " break;\n" |
| " // goto after finally\n" |
| " \$async\$goto = 11;\n" |
| " break;\n" |
| " case 8:\n" |
| " // uncaught\n" |
| " // goto rethrow\n" |
| " \$async\$goto = 2;\n" |
| " break;\n" |
| " case 11:\n" |
| " // after finally\n" |
| " if (A._asBool(chunk.done)) {\n" |
| " controller.closeSync\$0();\n" |
| " // goto after for\n" |
| " \$async\$goto = 7;\n" |
| " break;\n" |
| " } else {\n" |
| " t8 = chunk.value;\n" |
| " t8.toString;\n" |
| " t8 = t3._as(t1._as(t8));\n" |
| " t9 = controller._state;\n" |
| " if (t9 >= 4)\n" |
| " A.throwExpression(controller._badEventState\$0());\n" |
| " if ((t9 & 1) !== 0) {\n" |
| " varData = controller._varData;\n" |
| " t2._as((t9 & 8) !== 0 ? t5._as(varData).get\$_varData() : varData)._add\$1(t8);\n" |
| " }\n" |
| " }\n" |
| " t8 = controller._state;\n" |
| " if ((t8 & 1) !== 0) {\n" |
| " varData = controller._varData;\n" |
| " t9 = (t2._as((t8 & 8) !== 0 ? t5._as(varData).get\$_varData() : varData)._state & 4) !== 0;\n" |
| " t8 = t9;\n" |
| " } else\n" |
| " t8 = (t8 & 2) === 0;\n" |
| " \$async\$goto = t8 ? 16 : 17;\n" |
| " break;\n" |
| " case 16:\n" |
| " // then\n" |
| " t8 = _box_0.resumeSignal;\n" |
| " \$async\$goto = 18;\n" |
| " return A._asyncAwait((t8 == null ? _box_0.resumeSignal = new A._AsyncCompleter(new A._Future(\$.Zone__current, t6), t7) : t8).future, \$async\$_readStreamBody);\n" |
| " case 18:\n" |
| " // returning from await.\n" |
| " case 17:\n" |
| " // join\n" |
| " if ((controller._state & 1) === 0) {\n" |
| " // goto after for\n" |
| " \$async\$goto = 7;\n" |
| " break;\n" |
| " }\n" |
| " // goto for condition\n" |
| " \$async\$goto = 6;\n" |
| " break;\n" |
| " case 7:\n" |
| " // after for\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " case 2:\n" |
| " // rethrow\n" |
| " return A._asyncRethrow(\$async\$errorStack.at(-1), \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_readStreamBody, \$async\$completer);\n" |
| " },\n" |
| " BrowserClient: function BrowserClient(t0) {\n" |
| " this.withCredentials = false;\n" |
| " this._openRequestAbortControllers = t0;\n" |
| " },\n" |
| " BrowserClient_send_closure: function BrowserClient_send_closure(t0) {\n" |
| " this.headers = t0;\n" |
| " },\n" |
| " _bodyToStream_closure: function _bodyToStream_closure(t0, t1) {\n" |
| " this.request = t0;\n" |
| " this.response = t1;\n" |
| " },\n" |
| " _readStreamBody_closure: function _readStreamBody_closure(t0) {\n" |
| " this._box_0 = t0;\n" |
| " },\n" |
| " _readStreamBody_closure0: function _readStreamBody_closure0(t0, t1, t2) {\n" |
| " this._box_0 = t0;\n" |
| " this.reader = t1;\n" |
| " this.request = t2;\n" |
| " },\n" |
| " ByteStream: function ByteStream(t0) {\n" |
| " this._stream = t0;\n" |
| " },\n" |
| " ByteStream_toBytes_closure: function ByteStream_toBytes_closure(t0) {\n" |
| " this.completer = t0;\n" |
| " },\n" |
| " ClientException\$(message, uri) {\n" |
| " return new A.ClientException(message, uri);\n" |
| " },\n" |
| " ClientException: function ClientException(t0, t1) {\n" |
| " this.message = t0;\n" |
| " this.uri = t1;\n" |
| " },\n" |
| " Request\$(method, url) {\n" |
| " var t1 = new Uint8Array(0),\n" |
| " t2 = \$.\$get\$BaseRequest__tokenRE();\n" |
| " if (!t2._nativeRegExp.test(method))\n" |
| " A.throwExpression(A.ArgumentError\$value(method, \"method\", \"Not a valid method\"));\n" |
| " t2 = type\$.String;\n" |
| " return new A.Request(B.C_Utf8Codec, t1, method, url, A.LinkedHashMap_LinkedHashMap(new A.BaseRequest_closure(), new A.BaseRequest_closure0(), t2, t2));\n" |
| " },\n" |
| " Request: function Request(t0, t1, t2, t3, t4) {\n" |
| " var _ = this;\n" |
| " _._defaultEncoding = t0;\n" |
| " _._bodyBytes = t1;\n" |
| " _.method = t2;\n" |
| " _.url = t3;\n" |
| " _.headers = t4;\n" |
| " _._finalized = false;\n" |
| " },\n" |
| " Response_fromStream(response) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.Response),\n" |
| " \$async\$returnValue, body, t1, t2, t3, t4, t5, t6;\n" |
| " var \$async\$Response_fromStream = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(response.stream.toBytes\$0(), \$async\$Response_fromStream);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " body = \$async\$result;\n" |
| " t1 = response.statusCode;\n" |
| " t2 = response.request;\n" |
| " t3 = response.headers;\n" |
| " t4 = response.reasonPhrase;\n" |
| " t5 = A.toUint8List(body);\n" |
| " t6 = body.length;\n" |
| " t5 = new A.Response(t5, t2, t1, t4, t6, t3, false, true);\n" |
| " t5.BaseResponse\$7\$contentLength\$headers\$isRedirect\$persistentConnection\$reasonPhrase\$request(t1, t6, t3, false, true, t4, t2);\n" |
| " \$async\$returnValue = t5;\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$Response_fromStream, \$async\$completer);\n" |
| " },\n" |
| " _contentTypeForHeaders(headers) {\n" |
| " var contentType = headers.\$index(0, \"content-type\");\n" |
| " if (contentType != null)\n" |
| " return A.MediaType_MediaType\$parse(contentType);\n" |
| " return A.MediaType\$(\"application\", \"octet-stream\", null);\n" |
| " },\n" |
| " Response: function Response(t0, t1, t2, t3, t4, t5, t6, t7) {\n" |
| " var _ = this;\n" |
| " _.bodyBytes = t0;\n" |
| " _.request = t1;\n" |
| " _.statusCode = t2;\n" |
| " _.reasonPhrase = t3;\n" |
| " _.contentLength = t4;\n" |
| " _.headers = t5;\n" |
| " _.isRedirect = t6;\n" |
| " _.persistentConnection = t7;\n" |
| " },\n" |
| " StreamedResponse: function StreamedResponse() {\n" |
| " },\n" |
| " StreamedResponseV2: function StreamedResponseV2(t0, t1, t2, t3, t4, t5, t6, t7) {\n" |
| " var _ = this;\n" |
| " _.stream = t0;\n" |
| " _.request = t1;\n" |
| " _.statusCode = t2;\n" |
| " _.reasonPhrase = t3;\n" |
| " _.contentLength = t4;\n" |
| " _.headers = t5;\n" |
| " _.isRedirect = t6;\n" |
| " _.persistentConnection = t7;\n" |
| " },\n" |
| " CaseInsensitiveMap__canonicalizer(key) {\n" |
| " return A._asString(key).toLowerCase();\n" |
| " },\n" |
| " CaseInsensitiveMap: function CaseInsensitiveMap(t0, t1, t2) {\n" |
| " this._canonicalize = t0;\n" |
| " this._base = t1;\n" |
| " this.\$ti = t2;\n" |
| " },\n" |
| " MediaType_MediaType\$parse(mediaType) {\n" |
| " return A.wrapFormatException(\"media type\", mediaType, new A.MediaType_MediaType\$parse_closure(mediaType), type\$.MediaType);\n" |
| " },\n" |
| " MediaType\$(type, subtype, parameters) {\n" |
| " var t1 = type\$.String;\n" |
| " if (parameters == null)\n" |
| " t1 = A.LinkedHashMap_LinkedHashMap\$_empty(t1, t1);\n" |
| " else {\n" |
| " t1 = new A.CaseInsensitiveMap(A.case_insensitive_map_CaseInsensitiveMap__canonicalizer\$closure(), A.LinkedHashMap_LinkedHashMap\$_empty(t1, type\$.MapEntry_String_String), type\$.CaseInsensitiveMap_String);\n" |
| " t1.addAll\$1(0, parameters);\n" |
| " }\n" |
| " return new A.MediaType(type.toLowerCase(), subtype.toLowerCase(), new A.UnmodifiableMapView(t1, type\$.UnmodifiableMapView_String_String));\n" |
| " },\n" |
| " MediaType: function MediaType(t0, t1, t2) {\n" |
| " this.type = t0;\n" |
| " this.subtype = t1;\n" |
| " this.parameters = t2;\n" |
| " },\n" |
| " MediaType_MediaType\$parse_closure: function MediaType_MediaType\$parse_closure(t0) {\n" |
| " this.mediaType = t0;\n" |
| " },\n" |
| " MediaType_toString_closure: function MediaType_toString_closure(t0) {\n" |
| " this.buffer = t0;\n" |
| " },\n" |
| " MediaType_toString__closure: function MediaType_toString__closure() {\n" |
| " },\n" |
| " expectQuotedString(scanner) {\n" |
| " var string;\n" |
| " scanner.expect\$2\$name(\$.\$get\$_quotedString(), \"quoted string\");\n" |
| " string = scanner.get\$lastMatch().\$index(0, 0);\n" |
| " return A.stringReplaceAllFuncUnchecked(B.JSString_methods.substring\$2(string, 1, string.length - 1), \$.\$get\$_quotedPair(), type\$.nullable_String_Function_Match._as(type\$.String_Function_Match._as(new A.expectQuotedString_closure())), null);\n" |
| " },\n" |
| " expectQuotedString_closure: function expectQuotedString_closure() {\n" |
| " },\n" |
| " Level: function Level(t0, t1) {\n" |
| " this.name = t0;\n" |
| " this.value = t1;\n" |
| " },\n" |
| " LogRecord: function LogRecord(t0, t1, t2) {\n" |
| " this.level = t0;\n" |
| " this.message = t1;\n" |
| " this.loggerName = t2;\n" |
| " },\n" |
| " Logger_Logger(\$name) {\n" |
| " return \$.Logger__loggers.putIfAbsent\$2(\$name, new A.Logger_Logger_closure(\$name));\n" |
| " },\n" |
| " Logger: function Logger(t0, t1, t2) {\n" |
| " var _ = this;\n" |
| " _.name = t0;\n" |
| " _.parent = t1;\n" |
| " _._level = null;\n" |
| " _._children = t2;\n" |
| " },\n" |
| " Logger_Logger_closure: function Logger_Logger_closure(t0) {\n" |
| " this.name = t0;\n" |
| " },\n" |
| " _parseUri(uri) {\n" |
| " return uri;\n" |
| " },\n" |
| " _validateArgList(method, args) {\n" |
| " var numArgs, i, numArgs0, message, t1, t2, t3, t4;\n" |
| " for (numArgs = args.length, i = 1; i < numArgs; ++i) {\n" |
| " if (args[i] == null || args[i - 1] != null)\n" |
| " continue;\n" |
| " for (; numArgs >= 1; numArgs = numArgs0) {\n" |
| " numArgs0 = numArgs - 1;\n" |
| " if (args[numArgs0] != null)\n" |
| " break;\n" |
| " }\n" |
| " message = new A.StringBuffer(\"\");\n" |
| " t1 = method + \"(\";\n" |
| " message._contents = t1;\n" |
| " t2 = A._arrayInstanceType(args);\n" |
| " t3 = t2._eval\$1(\"SubListIterable<1>\");\n" |
| " t4 = new A.SubListIterable(args, 0, numArgs, t3);\n" |
| " t4.SubListIterable\$3(args, 0, numArgs, t2._precomputed1);\n" |
| " t3 = t1 + new A.MappedListIterable(t4, t3._eval\$1(\"String(ListIterable.E)\")._as(new A._validateArgList_closure()), t3._eval\$1(\"MappedListIterable<ListIterable.E,String>\")).join\$1(0, \", \");\n" |
| " message._contents = t3;\n" |
| " message._contents = t3 + (\"): part \" + (i - 1) + \" was null, but part \" + i + \" was not.\");\n" |
| " throw A.wrapException(A.ArgumentError\$(message.toString\$0(0), null));\n" |
| " }\n" |
| " },\n" |
| " Context: function Context(t0, t1) {\n" |
| " this.style = t0;\n" |
| " this._context\$_current = t1;\n" |
| " },\n" |
| " Context_joinAll_closure: function Context_joinAll_closure() {\n" |
| " },\n" |
| " Context_split_closure: function Context_split_closure() {\n" |
| " },\n" |
| " _validateArgList_closure: function _validateArgList_closure() {\n" |
| " },\n" |
| " InternalStyle: function InternalStyle() {\n" |
| " },\n" |
| " ParsedPath_ParsedPath\$parse(path, style) {\n" |
| " var t1, parts, separators, t2, start, i,\n" |
| " root = style.getRoot\$1(path);\n" |
| " style.isRootRelative\$1(path);\n" |
| " if (root != null)\n" |
| " path = B.JSString_methods.substring\$1(path, root.length);\n" |
| " t1 = type\$.JSArray_String;\n" |
| " parts = A._setArrayType([], t1);\n" |
| " separators = A._setArrayType([], t1);\n" |
| " t1 = path.length;\n" |
| " if (t1 !== 0) {\n" |
| " if (0 >= t1)\n" |
| " return A.ioore(path, 0);\n" |
| " t2 = style.isSeparator\$1(path.charCodeAt(0));\n" |
| " } else\n" |
| " t2 = false;\n" |
| " if (t2) {\n" |
| " if (0 >= t1)\n" |
| " return A.ioore(path, 0);\n" |
| " B.JSArray_methods.add\$1(separators, path[0]);\n" |
| " start = 1;\n" |
| " } else {\n" |
| " B.JSArray_methods.add\$1(separators, \"\");\n" |
| " start = 0;\n" |
| " }\n" |
| " for (i = start; i < t1; ++i)\n" |
| " if (style.isSeparator\$1(path.charCodeAt(i))) {\n" |
| " B.JSArray_methods.add\$1(parts, B.JSString_methods.substring\$2(path, start, i));\n" |
| " B.JSArray_methods.add\$1(separators, path[i]);\n" |
| " start = i + 1;\n" |
| " }\n" |
| " if (start < t1) {\n" |
| " B.JSArray_methods.add\$1(parts, B.JSString_methods.substring\$1(path, start));\n" |
| " B.JSArray_methods.add\$1(separators, \"\");\n" |
| " }\n" |
| " return new A.ParsedPath(style, root, parts, separators);\n" |
| " },\n" |
| " ParsedPath: function ParsedPath(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.style = t0;\n" |
| " _.root = t1;\n" |
| " _.parts = t2;\n" |
| " _.separators = t3;\n" |
| " },\n" |
| " PathException\$(message) {\n" |
| " return new A.PathException(message);\n" |
| " },\n" |
| " PathException: function PathException(t0) {\n" |
| " this.message = t0;\n" |
| " },\n" |
| " Style__getPlatformStyle() {\n" |
| " if (A.Uri_base().get\$scheme() !== \"file\")\n" |
| " return \$.\$get\$Style_url();\n" |
| " if (!B.JSString_methods.endsWith\$1(A.Uri_base().get\$path(), \"/\"))\n" |
| " return \$.\$get\$Style_url();\n" |
| " if (A._Uri__Uri(null, \"a/b\", null, null).toFilePath\$0() === \"a\\\\b\")\n" |
| " return \$.\$get\$Style_windows();\n" |
| " return \$.\$get\$Style_posix();\n" |
| " },\n" |
| " Style: function Style() {\n" |
| " },\n" |
| " PosixStyle: function PosixStyle(t0, t1, t2) {\n" |
| " this.separatorPattern = t0;\n" |
| " this.needsSeparatorPattern = t1;\n" |
| " this.rootPattern = t2;\n" |
| " },\n" |
| " UrlStyle: function UrlStyle(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.separatorPattern = t0;\n" |
| " _.needsSeparatorPattern = t1;\n" |
| " _.rootPattern = t2;\n" |
| " _.relativeRootPattern = t3;\n" |
| " },\n" |
| " WindowsStyle: function WindowsStyle(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.separatorPattern = t0;\n" |
| " _.needsSeparatorPattern = t1;\n" |
| " _.rootPattern = t2;\n" |
| " _.relativeRootPattern = t3;\n" |
| " },\n" |
| " Pool: function Pool(t0, t1, t2, t3, t4) {\n" |
| " var _ = this;\n" |
| " _._requestedResources = t0;\n" |
| " _._onReleaseCallbacks = t1;\n" |
| " _._onReleaseCompleters = t2;\n" |
| " _._maxAllocatedResources = t3;\n" |
| " _._allocatedResources = 0;\n" |
| " _._timer = null;\n" |
| " _._closeMemo = t4;\n" |
| " },\n" |
| " Pool__runOnRelease_closure: function Pool__runOnRelease_closure(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " Pool__runOnRelease_closure0: function Pool__runOnRelease_closure0(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " PoolResource: function PoolResource(t0) {\n" |
| " this._pool = t0;\n" |
| " this._released = false;\n" |
| " },\n" |
| " FileLocation\$_(file, offset) {\n" |
| " if (offset < 0)\n" |
| " A.throwExpression(A.RangeError\$(\"Offset may not be negative, was \" + offset + \".\"));\n" |
| " else if (offset > file._decodedChars.length)\n" |
| " A.throwExpression(A.RangeError\$(\"Offset \" + offset + string\$.x20must_ + file.get\$length(0) + \".\"));\n" |
| " return new A.FileLocation(file, offset);\n" |
| " },\n" |
| " SourceFile: function SourceFile(t0, t1, t2) {\n" |
| " var _ = this;\n" |
| " _.url = t0;\n" |
| " _._lineStarts = t1;\n" |
| " _._decodedChars = t2;\n" |
| " _._cachedLine = null;\n" |
| " },\n" |
| " FileLocation: function FileLocation(t0, t1) {\n" |
| " this.file = t0;\n" |
| " this.offset = t1;\n" |
| " },\n" |
| " _FileSpan: function _FileSpan(t0, t1, t2) {\n" |
| " this.file = t0;\n" |
| " this._file\$_start = t1;\n" |
| " this._file\$_end = t2;\n" |
| " },\n" |
| " Highlighter\$(span, color) {\n" |
| " var t1 = A.Highlighter__collateLines(A._setArrayType([A._Highlight\$(span, true)], type\$.JSArray__Highlight)),\n" |
| " t2 = new A.Highlighter_closure(color).call\$0(),\n" |
| " t3 = B.JSInt_methods.toString\$0(B.JSArray_methods.get\$last(t1).number + 1),\n" |
| " t4 = A.Highlighter__contiguous(t1) ? 0 : 3,\n" |
| " t5 = A._arrayInstanceType(t1);\n" |
| " return new A.Highlighter(t1, t2, null, 1 + Math.max(t3.length, t4), new A.MappedListIterable(t1, t5._eval\$1(\"int(1)\")._as(new A.Highlighter\$__closure()), t5._eval\$1(\"MappedListIterable<1,int>\")).reduce\$1(0, B.CONSTANT), !A.isAllTheSame(new A.MappedListIterable(t1, t5._eval\$1(\"Object?(1)\")._as(new A.Highlighter\$__closure0()), t5._eval\$1(\"MappedListIterable<1,Object?>\"))), new A.StringBuffer(\"\"));\n" |
| " },\n" |
| " Highlighter__contiguous(lines) {\n" |
| " var i, thisLine, nextLine;\n" |
| " for (i = 0; i < lines.length - 1;) {\n" |
| " thisLine = lines[i];\n" |
| " ++i;\n" |
| " nextLine = lines[i];\n" |
| " if (thisLine.number + 1 !== nextLine.number && J.\$eq\$(thisLine.url, nextLine.url))\n" |
| " return false;\n" |
| " }\n" |
| " return true;\n" |
| " },\n" |
| " Highlighter__collateLines(highlights) {\n" |
| " var t1, t2,\n" |
| " highlightsByUrl = A.groupBy(highlights, new A.Highlighter__collateLines_closure(), type\$._Highlight, type\$.Object);\n" |
| " for (t1 = A._instanceType(highlightsByUrl), t2 = new A.LinkedHashMapValueIterator(highlightsByUrl, highlightsByUrl._modifications, highlightsByUrl._first, t1._eval\$1(\"LinkedHashMapValueIterator<2>\")); t2.moveNext\$0();)\n" |
| " J.sort\$1\$ax(t2.__js_helper\$_current, new A.Highlighter__collateLines_closure0());\n" |
| " t1 = t1._eval\$1(\"LinkedHashMapEntriesIterable<1,2>\");\n" |
| " t2 = t1._eval\$1(\"ExpandIterable<Iterable.E,_Line>\");\n" |
| " t1 = A.List_List\$_of(new A.ExpandIterable(new A.LinkedHashMapEntriesIterable(highlightsByUrl, t1), t1._eval\$1(\"Iterable<_Line>(Iterable.E)\")._as(new A.Highlighter__collateLines_closure1()), t2), t2._eval\$1(\"Iterable.E\"));\n" |
| " return t1;\n" |
| " },\n" |
| " _Highlight\$(span, primary) {\n" |
| " var t1 = new A._Highlight_closure(span).call\$0();\n" |
| " return new A._Highlight(t1, true, null);\n" |
| " },\n" |
| " _Highlight__normalizeNewlines(span) {\n" |
| " var endOffset, t1, i, t2, t3, t4,\n" |
| " text = span.get\$text();\n" |
| " if (!B.JSString_methods.contains\$1(text, \"\\r\\n\"))\n" |
| " return span;\n" |
| " endOffset = span.get\$end().get\$offset();\n" |
| " for (t1 = text.length - 1, i = 0; i < t1; ++i)\n" |
| " if (text.charCodeAt(i) === 13 && text.charCodeAt(i + 1) === 10)\n" |
| " --endOffset;\n" |
| " t1 = span.get\$start();\n" |
| " t2 = span.get\$sourceUrl();\n" |
| " t3 = span.get\$end().get\$line();\n" |
| " t2 = A.SourceLocation\$(endOffset, span.get\$end().get\$column(), t3, t2);\n" |
| " t3 = A.stringReplaceAllUnchecked(text, \"\\r\\n\", \"\\n\");\n" |
| " t4 = span.get\$context();\n" |
| " return A.SourceSpanWithContext\$(t1, t2, t3, A.stringReplaceAllUnchecked(t4, \"\\r\\n\", \"\\n\"));\n" |
| " },\n" |
| " _Highlight__normalizeTrailingNewline(span) {\n" |
| " var context, text, start, end, t1, t2, t3;\n" |
| " if (!B.JSString_methods.endsWith\$1(span.get\$context(), \"\\n\"))\n" |
| " return span;\n" |
| " if (B.JSString_methods.endsWith\$1(span.get\$text(), \"\\n\\n\"))\n" |
| " return span;\n" |
| " context = B.JSString_methods.substring\$2(span.get\$context(), 0, span.get\$context().length - 1);\n" |
| " text = span.get\$text();\n" |
| " start = span.get\$start();\n" |
| " end = span.get\$end();\n" |
| " if (B.JSString_methods.endsWith\$1(span.get\$text(), \"\\n\")) {\n" |
| " t1 = A.findLineStart(span.get\$context(), span.get\$text(), span.get\$start().get\$column());\n" |
| " t1.toString;\n" |
| " t1 = t1 + span.get\$start().get\$column() + span.get\$length(span) === span.get\$context().length;\n" |
| " } else\n" |
| " t1 = false;\n" |
| " if (t1) {\n" |
| " text = B.JSString_methods.substring\$2(span.get\$text(), 0, span.get\$text().length - 1);\n" |
| " if (text.length === 0)\n" |
| " end = start;\n" |
| " else {\n" |
| " t1 = span.get\$end().get\$offset();\n" |
| " t2 = span.get\$sourceUrl();\n" |
| " t3 = span.get\$end().get\$line();\n" |
| " end = A.SourceLocation\$(t1 - 1, A._Highlight__lastLineLength(context), t3 - 1, t2);\n" |
| " start = span.get\$start().get\$offset() === span.get\$end().get\$offset() ? end : span.get\$start();\n" |
| " }\n" |
| " }\n" |
| " return A.SourceSpanWithContext\$(start, end, text, context);\n" |
| " },\n" |
| " _Highlight__normalizeEndOfLine(span) {\n" |
| " var text, t1, t2, t3, t4;\n" |
| " if (span.get\$end().get\$column() !== 0)\n" |
| " return span;\n" |
| " if (span.get\$end().get\$line() === span.get\$start().get\$line())\n" |
| " return span;\n" |
| " text = B.JSString_methods.substring\$2(span.get\$text(), 0, span.get\$text().length - 1);\n" |
| " t1 = span.get\$start();\n" |
| " t2 = span.get\$end().get\$offset();\n" |
| " t3 = span.get\$sourceUrl();\n" |
| " t4 = span.get\$end().get\$line();\n" |
| " t3 = A.SourceLocation\$(t2 - 1, text.length - B.JSString_methods.lastIndexOf\$1(text, \"\\n\") - 1, t4 - 1, t3);\n" |
| " return A.SourceSpanWithContext\$(t1, t3, text, B.JSString_methods.endsWith\$1(span.get\$context(), \"\\n\") ? B.JSString_methods.substring\$2(span.get\$context(), 0, span.get\$context().length - 1) : span.get\$context());\n" |
| " },\n" |
| " _Highlight__lastLineLength(text) {\n" |
| " var t2,\n" |
| " t1 = text.length;\n" |
| " if (t1 === 0)\n" |
| " return 0;\n" |
| " else {\n" |
| " t2 = t1 - 1;\n" |
| " if (!(t2 >= 0))\n" |
| " return A.ioore(text, t2);\n" |
| " if (text.charCodeAt(t2) === 10)\n" |
| " return t1 === 1 ? 0 : t1 - B.JSString_methods.lastIndexOf\$2(text, \"\\n\", t1 - 2) - 1;\n" |
| " else\n" |
| " return t1 - B.JSString_methods.lastIndexOf\$1(text, \"\\n\") - 1;\n" |
| " }\n" |
| " },\n" |
| " Highlighter: function Highlighter(t0, t1, t2, t3, t4, t5, t6) {\n" |
| " var _ = this;\n" |
| " _._lines = t0;\n" |
| " _._primaryColor = t1;\n" |
| " _._secondaryColor = t2;\n" |
| " _._paddingBeforeSidebar = t3;\n" |
| " _._maxMultilineSpans = t4;\n" |
| " _._multipleFiles = t5;\n" |
| " _._buffer = t6;\n" |
| " },\n" |
| " Highlighter_closure: function Highlighter_closure(t0) {\n" |
| " this.color = t0;\n" |
| " },\n" |
| " Highlighter\$__closure: function Highlighter\$__closure() {\n" |
| " },\n" |
| " Highlighter\$___closure: function Highlighter\$___closure() {\n" |
| " },\n" |
| " Highlighter\$__closure0: function Highlighter\$__closure0() {\n" |
| " },\n" |
| " Highlighter__collateLines_closure: function Highlighter__collateLines_closure() {\n" |
| " },\n" |
| " Highlighter__collateLines_closure0: function Highlighter__collateLines_closure0() {\n" |
| " },\n" |
| " Highlighter__collateLines_closure1: function Highlighter__collateLines_closure1() {\n" |
| " },\n" |
| " Highlighter__collateLines__closure: function Highlighter__collateLines__closure(t0) {\n" |
| " this.line = t0;\n" |
| " },\n" |
| " Highlighter_highlight_closure: function Highlighter_highlight_closure() {\n" |
| " },\n" |
| " Highlighter__writeFileStart_closure: function Highlighter__writeFileStart_closure(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " Highlighter__writeMultilineHighlights_closure: function Highlighter__writeMultilineHighlights_closure(t0, t1, t2) {\n" |
| " this.\$this = t0;\n" |
| " this.startLine = t1;\n" |
| " this.line = t2;\n" |
| " },\n" |
| " Highlighter__writeMultilineHighlights_closure0: function Highlighter__writeMultilineHighlights_closure0(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.highlight = t1;\n" |
| " },\n" |
| " Highlighter__writeMultilineHighlights_closure1: function Highlighter__writeMultilineHighlights_closure1(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " Highlighter__writeMultilineHighlights_closure2: function Highlighter__writeMultilineHighlights_closure2(t0, t1, t2, t3, t4, t5, t6) {\n" |
| " var _ = this;\n" |
| " _._box_0 = t0;\n" |
| " _.\$this = t1;\n" |
| " _.current = t2;\n" |
| " _.startLine = t3;\n" |
| " _.line = t4;\n" |
| " _.highlight = t5;\n" |
| " _.endLine = t6;\n" |
| " },\n" |
| " Highlighter__writeMultilineHighlights__closure: function Highlighter__writeMultilineHighlights__closure(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this.\$this = t1;\n" |
| " },\n" |
| " Highlighter__writeMultilineHighlights__closure0: function Highlighter__writeMultilineHighlights__closure0(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.vertical = t1;\n" |
| " },\n" |
| " Highlighter__writeHighlightedText_closure: function Highlighter__writeHighlightedText_closure(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.\$this = t0;\n" |
| " _.text = t1;\n" |
| " _.startColumn = t2;\n" |
| " _.endColumn = t3;\n" |
| " },\n" |
| " Highlighter__writeIndicator_closure: function Highlighter__writeIndicator_closure(t0, t1, t2) {\n" |
| " this.\$this = t0;\n" |
| " this.line = t1;\n" |
| " this.highlight = t2;\n" |
| " },\n" |
| " Highlighter__writeIndicator_closure0: function Highlighter__writeIndicator_closure0(t0, t1, t2) {\n" |
| " this.\$this = t0;\n" |
| " this.line = t1;\n" |
| " this.highlight = t2;\n" |
| " },\n" |
| " Highlighter__writeIndicator_closure1: function Highlighter__writeIndicator_closure1(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.\$this = t0;\n" |
| " _.coversWholeLine = t1;\n" |
| " _.line = t2;\n" |
| " _.highlight = t3;\n" |
| " },\n" |
| " Highlighter__writeSidebar_closure: function Highlighter__writeSidebar_closure(t0, t1, t2) {\n" |
| " this._box_0 = t0;\n" |
| " this.\$this = t1;\n" |
| " this.end = t2;\n" |
| " },\n" |
| " _Highlight: function _Highlight(t0, t1, t2) {\n" |
| " this.span = t0;\n" |
| " this.isPrimary = t1;\n" |
| " this.label = t2;\n" |
| " },\n" |
| " _Highlight_closure: function _Highlight_closure(t0) {\n" |
| " this.span = t0;\n" |
| " },\n" |
| " _Line: function _Line(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.text = t0;\n" |
| " _.number = t1;\n" |
| " _.url = t2;\n" |
| " _.highlights = t3;\n" |
| " },\n" |
| " SourceLocation\$(offset, column, line, sourceUrl) {\n" |
| " if (offset < 0)\n" |
| " A.throwExpression(A.RangeError\$(\"Offset may not be negative, was \" + offset + \".\"));\n" |
| " else if (line < 0)\n" |
| " A.throwExpression(A.RangeError\$(\"Line may not be negative, was \" + line + \".\"));\n" |
| " else if (column < 0)\n" |
| " A.throwExpression(A.RangeError\$(\"Column may not be negative, was \" + column + \".\"));\n" |
| " return new A.SourceLocation(sourceUrl, offset, line, column);\n" |
| " },\n" |
| " SourceLocation: function SourceLocation(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _.sourceUrl = t0;\n" |
| " _.offset = t1;\n" |
| " _.line = t2;\n" |
| " _.column = t3;\n" |
| " },\n" |
| " SourceLocationMixin: function SourceLocationMixin() {\n" |
| " },\n" |
| " SourceSpanBase: function SourceSpanBase() {\n" |
| " },\n" |
| " SourceSpanFormatException\$(message, span, source) {\n" |
| " return new A.SourceSpanFormatException(source, message, span);\n" |
| " },\n" |
| " SourceSpanException: function SourceSpanException() {\n" |
| " },\n" |
| " SourceSpanFormatException: function SourceSpanFormatException(t0, t1, t2) {\n" |
| " this.source = t0;\n" |
| " this._span_exception\$_message = t1;\n" |
| " this._span = t2;\n" |
| " },\n" |
| " SourceSpanMixin: function SourceSpanMixin() {\n" |
| " },\n" |
| " SourceSpanWithContext\$(start, end, text, _context) {\n" |
| " var t1 = new A.SourceSpanWithContext(_context, start, end, text);\n" |
| " t1.SourceSpanBase\$3(start, end, text);\n" |
| " if (!B.JSString_methods.contains\$1(_context, text))\n" |
| " A.throwExpression(A.ArgumentError\$('The context line \"' + _context + '\" must contain \"' + text + '\".', null));\n" |
| " if (A.findLineStart(_context, text, start.get\$column()) == null)\n" |
| " A.throwExpression(A.ArgumentError\$('The span text \"' + text + '\" must start at column ' + (start.get\$column() + 1) + ' in a line within \"' + _context + '\".', null));\n" |
| " return t1;\n" |
| " },\n" |
| " SourceSpanWithContext: function SourceSpanWithContext(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _._context = t0;\n" |
| " _.start = t1;\n" |
| " _.end = t2;\n" |
| " _.text = t3;\n" |
| " },\n" |
| " SseClient\$(serverUrl, debugKey) {\n" |
| " var t3, t4, t5,\n" |
| " t1 = type\$.String,\n" |
| " t2 = A.StreamController_StreamController(t1);\n" |
| " t1 = A.StreamController_StreamController(t1);\n" |
| " t3 = A.Logger_Logger(\"SseClient\");\n" |
| " t4 = \$.Zone__current;\n" |
| " t5 = A.generateId();\n" |
| " t1 = new A.SseClient(debugKey + \"-\" + t5, t2, t1, t3, new A._AsyncCompleter(new A._Future(t4, type\$._Future_void), type\$._AsyncCompleter_void));\n" |
| " t1.SseClient\$2\$debugKey(serverUrl, debugKey);\n" |
| " return t1;\n" |
| " },\n" |
| " SseClient: function SseClient(t0, t1, t2, t3, t4) {\n" |
| " var _ = this;\n" |
| " _._clientId = t0;\n" |
| " _._incomingController = t1;\n" |
| " _._outgoingController = t2;\n" |
| " _._logger = t3;\n" |
| " _._onConnected = t4;\n" |
| " _._lastMessageId = -1;\n" |
| " _.__SseClient__serverUrl_A = _.__SseClient__eventSource_A = \$;\n" |
| " _._errorTimer = null;\n" |
| " },\n" |
| " SseClient_closure: function SseClient_closure(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " SseClient_closure0: function SseClient_closure0(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " SseClient_closure1: function SseClient_closure1(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " SseClient__closure: function SseClient__closure(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.error = t1;\n" |
| " },\n" |
| " SseClient__onOutgoingMessage_closure: function SseClient__onOutgoingMessage_closure(t0, t1, t2) {\n" |
| " this._box_0 = t0;\n" |
| " this.\$this = t1;\n" |
| " this.message = t2;\n" |
| " },\n" |
| " StreamChannelMixin: function StreamChannelMixin() {\n" |
| " },\n" |
| " StringScannerException: function StringScannerException(t0, t1, t2) {\n" |
| " this.source = t0;\n" |
| " this._span_exception\$_message = t1;\n" |
| " this._span = t2;\n" |
| " },\n" |
| " StringScanner: function StringScanner(t0, t1) {\n" |
| " var _ = this;\n" |
| " _.sourceUrl = t0;\n" |
| " _.string = t1;\n" |
| " _._string_scanner\$_position = 0;\n" |
| " _._lastMatchPosition = _._lastMatch = null;\n" |
| " },\n" |
| " _EventStreamSubscription\$(_target, _eventType, onData, _useCapture, \$T) {\n" |
| " var t1;\n" |
| " if (onData == null)\n" |
| " t1 = null;\n" |
| " else {\n" |
| " t1 = A._wrapZone(new A._EventStreamSubscription_closure(onData), type\$.JSObject);\n" |
| " t1 = t1 == null ? null : A._functionToJS1(t1);\n" |
| " }\n" |
| " t1 = new A._EventStreamSubscription(_target, _eventType, t1, false, \$T._eval\$1(\"_EventStreamSubscription<0>\"));\n" |
| " t1._tryResume\$0();\n" |
| " return t1;\n" |
| " },\n" |
| " _wrapZone(callback, \$T) {\n" |
| " var t1 = \$.Zone__current;\n" |
| " if (t1 === B.C__RootZone)\n" |
| " return callback;\n" |
| " return t1.bindUnaryCallbackGuarded\$1\$1(callback, \$T);\n" |
| " },\n" |
| " EventStreamProvider: function EventStreamProvider(t0, t1) {\n" |
| " this._eventType = t0;\n" |
| " this.\$ti = t1;\n" |
| " },\n" |
| " _EventStream: function _EventStream(t0, t1, t2, t3) {\n" |
| " var _ = this;\n" |
| " _._target = t0;\n" |
| " _._eventType = t1;\n" |
| " _._useCapture = t2;\n" |
| " _.\$ti = t3;\n" |
| " },\n" |
| " _EventStreamSubscription: function _EventStreamSubscription(t0, t1, t2, t3, t4) {\n" |
| " var _ = this;\n" |
| " _._pauseCount = 0;\n" |
| " _._target = t0;\n" |
| " _._eventType = t1;\n" |
| " _._onData = t2;\n" |
| " _._useCapture = t3;\n" |
| " _.\$ti = t4;\n" |
| " },\n" |
| " _EventStreamSubscription_closure: function _EventStreamSubscription_closure(t0) {\n" |
| " this.onData = t0;\n" |
| " },\n" |
| " _EventStreamSubscription_onData_closure: function _EventStreamSubscription_onData_closure(t0) {\n" |
| " this.handleData = t0;\n" |
| " },\n" |
| " BrowserWebSocket_connect(url, protocols) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.BrowserWebSocket),\n" |
| " \$async\$returnValue, t1, t2, t3, webSocket, browserSocket, webSocketConnected;\n" |
| " var \$async\$BrowserWebSocket_connect = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " if (!url.isScheme\$1(\"ws\") && !url.isScheme\$1(\"wss\"))\n" |
| " throw A.wrapException(A.ArgumentError\$value(url, \"url\", \"only ws: and wss: schemes are supported\"));\n" |
| " t1 = init.G;\n" |
| " t2 = t1.WebSocket;\n" |
| " t3 = url.toString\$0(0);\n" |
| " t1 = t1.Array;\n" |
| " t1 = type\$.JSArray_nullable_Object._as(new t1());\n" |
| " webSocket = A._asJSObject(new t2(t3, t1));\n" |
| " webSocket.binaryType = \"arraybuffer\";\n" |
| " browserSocket = new A.BrowserWebSocket(webSocket, A.StreamController_StreamController(type\$.WebSocketEvent));\n" |
| " t1 = new A._Future(\$.Zone__current, type\$._Future_BrowserWebSocket);\n" |
| " webSocketConnected = new A._AsyncCompleter(t1, type\$._AsyncCompleter_BrowserWebSocket);\n" |
| " if (A._asInt(webSocket.readyState) === 1)\n" |
| " webSocketConnected.complete\$1(browserSocket);\n" |
| " else if (A._asInt(webSocket.readyState) === 2 || A._asInt(webSocket.readyState) === 3)\n" |
| " webSocketConnected.completeError\$1(new A.WebSocketException(\"Unexpected WebSocket state: \" + A._asInt(webSocket.readyState) + \", expected CONNECTING (0) or OPEN (1)\"));\n" |
| " else\n" |
| " new A._EventStream(webSocket, \"open\", false, type\$._EventStream_JSObject).get\$first(0).then\$1\$1(new A.BrowserWebSocket_connect_closure(webSocketConnected, browserSocket), type\$.void);\n" |
| " t2 = type\$._EventStream_JSObject;\n" |
| " t3 = type\$.void;\n" |
| " new A._EventStream(webSocket, \"error\", false, t2).get\$first(0).then\$1\$1(new A.BrowserWebSocket_connect_closure0(webSocketConnected, browserSocket), t3);\n" |
| " A._EventStreamSubscription\$(webSocket, \"message\", type\$.nullable_void_Function_JSObject._as(new A.BrowserWebSocket_connect_closure1(browserSocket)), false, type\$.JSObject);\n" |
| " new A._EventStream(webSocket, \"close\", false, t2).get\$first(0).then\$1\$1(new A.BrowserWebSocket_connect_closure2(webSocketConnected, browserSocket), t3);\n" |
| " \$async\$returnValue = t1;\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$BrowserWebSocket_connect, \$async\$completer);\n" |
| " },\n" |
| " BrowserWebSocket: function BrowserWebSocket(t0, t1) {\n" |
| " this._webSocket = t0;\n" |
| " this._events = t1;\n" |
| " },\n" |
| " BrowserWebSocket_connect_closure: function BrowserWebSocket_connect_closure(t0, t1) {\n" |
| " this.webSocketConnected = t0;\n" |
| " this.browserSocket = t1;\n" |
| " },\n" |
| " BrowserWebSocket_connect_closure0: function BrowserWebSocket_connect_closure0(t0, t1) {\n" |
| " this.webSocketConnected = t0;\n" |
| " this.browserSocket = t1;\n" |
| " },\n" |
| " BrowserWebSocket_connect_closure1: function BrowserWebSocket_connect_closure1(t0) {\n" |
| " this.browserSocket = t0;\n" |
| " },\n" |
| " BrowserWebSocket_connect_closure2: function BrowserWebSocket_connect_closure2(t0, t1) {\n" |
| " this.webSocketConnected = t0;\n" |
| " this.browserSocket = t1;\n" |
| " },\n" |
| " WebSocketConnectionClosed\$() {\n" |
| " return new A.WebSocketConnectionClosed(\"Connection Closed\");\n" |
| " },\n" |
| " WebSocketEvent: function WebSocketEvent() {\n" |
| " },\n" |
| " TextDataReceived: function TextDataReceived(t0) {\n" |
| " this.text = t0;\n" |
| " },\n" |
| " BinaryDataReceived: function BinaryDataReceived(t0) {\n" |
| " this.data = t0;\n" |
| " },\n" |
| " CloseReceived: function CloseReceived(t0, t1) {\n" |
| " this.code = t0;\n" |
| " this.reason = t1;\n" |
| " },\n" |
| " WebSocketException: function WebSocketException(t0) {\n" |
| " this.message = t0;\n" |
| " },\n" |
| " WebSocketConnectionClosed: function WebSocketConnectionClosed(t0) {\n" |
| " this.message = t0;\n" |
| " },\n" |
| " main() {\n" |
| " return A.runZonedGuarded(new A.main_closure(), new A.main_closure0(), type\$.Future_void);\n" |
| " },\n" |
| " initializeConnection(clientSink) {\n" |
| " var t2,\n" |
| " t1 = init.G;\n" |
| " if (A._asString(t1.\$dartModuleStrategy) !== \"ddc-library-bundle\")\n" |
| " if (A._isChromium())\n" |
| " A._sendConnectRequest(clientSink);\n" |
| " else\n" |
| " A.runMain();\n" |
| " else\n" |
| " A._sendConnectRequest(clientSink);\n" |
| " A._asJSObject(t1.window).addEventListener(\"message\", A._functionToJS1(A.client___handleAuthRequest\$closure()));\n" |
| " t2 = type\$.JavaScriptObject;\n" |
| " A._dispatchEvent(\"dart-app-ready\", B.C_JsonCodec.encode\$2\$toEncodable(new A.DebugInfo(A._asString(t1.\$dartEntrypointPath), A._asStringQ(t2._as(t1.window).\$dartAppId), A._asStringQ(t1.\$dartAppInstanceId), A._asString(A._asJSObject(A._asJSObject(t1.window).location).origin), A._asString(A._asJSObject(A._asJSObject(t1.window).location).href), A._authUrl(), A._asStringQ(t2._as(t1.window).\$dartExtensionUri), A._asBoolQ(t2._as(t1.window).\$isInternalBuild), A._asBoolQ(t2._as(t1.window).\$isFlutterApp), A._asStringQ(t1.\$dartWorkspaceName)), null));\n" |
| " },\n" |
| " _trySendEvent(sink, serialized, \$T) {\n" |
| " var exception;\n" |
| " try {\n" |
| " sink._async\$_target.add\$1(0, sink.\$ti._precomputed1._as(serialized));\n" |
| " } catch (exception) {\n" |
| " if (A.unwrapException(exception) instanceof A.StateError)\n" |
| " A.print(\"Cannot send event \" + A.S(serialized) + \". Injected client connection is closed.\");\n" |
| " else\n" |
| " throw exception;\n" |
| " }\n" |
| " },\n" |
| " _deserializeEvent(decoded) {\n" |
| " var t2, _0_6_isSet, typeName, _1_5_isSet, _1_5, json, t3, _null = null,\n" |
| " _s16_ = \"DevToolsResponse\",\n" |
| " _0_6 = _null,\n" |
| " t1 = false;\n" |
| " if (type\$.List_dynamic._is(decoded)) {\n" |
| " t2 = J.getInterceptor\$asx(decoded);\n" |
| " _0_6_isSet = t2.get\$length(decoded) >= 1;\n" |
| " if (_0_6_isSet) {\n" |
| " _0_6 = t2.\$index(decoded, 0);\n" |
| " t1 = typeof _0_6 == \"string\";\n" |
| " }\n" |
| " } else\n" |
| " _0_6_isSet = false;\n" |
| " if (t1) {\n" |
| " typeName = A._asString(_0_6_isSet ? _0_6 : J.\$index\$asx(decoded, 0));\n" |
| " \$label0\$0: {\n" |
| " t1 = J.getInterceptor\$asx(decoded);\n" |
| " _1_5_isSet = t1.get\$length(decoded) === 2;\n" |
| " if (_1_5_isSet) {\n" |
| " _1_5 = t1.\$index(decoded, 1);\n" |
| " t2 = type\$.Map_String_dynamic._is(_1_5);\n" |
| " } else {\n" |
| " _1_5 = _null;\n" |
| " t2 = false;\n" |
| " }\n" |
| " if (t2) {\n" |
| " t1 = _1_5_isSet ? _1_5 : t1.\$index(decoded, 1);\n" |
| " type\$.Map_String_dynamic._as(t1);\n" |
| " break \$label0\$0;\n" |
| " }\n" |
| " t1 = B.Map_empty;\n" |
| " break \$label0\$0;\n" |
| " }\n" |
| " \$label1\$1: {\n" |
| " if (_s16_ === typeName) {\n" |
| " json = A.listToMap(decoded, _s16_);\n" |
| " t1 = new A.DevToolsResponse(A._asBool(json.\$index(0, \"success\")), A._asBool(json.\$index(0, \"promptExtension\")), A._asStringQ(json.\$index(0, \"error\")));\n" |
| " break \$label1\$1;\n" |
| " }\n" |
| " if (\"ConnectRequest\" === typeName) {\n" |
| " t1 = new A.ConnectRequest(A._asString(t1.\$index(0, \"appId\")), A._asString(t1.\$index(0, \"instanceId\")), A._asString(t1.\$index(0, \"entrypointPath\")));\n" |
| " break \$label1\$1;\n" |
| " }\n" |
| " if (\"RunRequest\" === typeName) {\n" |
| " t1 = new A.RunRequest();\n" |
| " break \$label1\$1;\n" |
| " }\n" |
| " if (\"HotReloadRequest\" === typeName) {\n" |
| " t1 = new A.HotReloadRequest(A._asString(t1.\$index(0, \"id\")));\n" |
| " break \$label1\$1;\n" |
| " }\n" |
| " if (\"HotRestartRequest\" === typeName) {\n" |
| " t1 = new A.HotRestartRequest(A._asString(t1.\$index(0, \"id\")));\n" |
| " break \$label1\$1;\n" |
| " }\n" |
| " if (\"ServiceExtensionRequest\" === typeName) {\n" |
| " t2 = A._asString(t1.\$index(0, \"id\"));\n" |
| " t3 = A._asString(t1.\$index(0, \"method\"));\n" |
| " t1 = type\$.nullable_Map_dynamic_dynamic._as(t1.\$index(0, \"args\"));\n" |
| " t1 = t1 == null ? _null : t1.cast\$2\$0(0, type\$.String, type\$.dynamic);\n" |
| " if (t1 == null)\n" |
| " t1 = B.Map_empty;\n" |
| " t1 = new A.ServiceExtensionRequest(t2, t3, t1);\n" |
| " break \$label1\$1;\n" |
| " }\n" |
| " if (\"BuildResult\" === typeName) {\n" |
| " t1 = new A.BuildResult(A.BuildStatus_BuildStatus\$fromJson(A._asString(t1.\$index(0, \"status\"))));\n" |
| " break \$label1\$1;\n" |
| " }\n" |
| " if (\"ErrorResponse\" === typeName) {\n" |
| " t1 = new A.ErrorResponse(A._asString(t1.\$index(0, \"error\")), A._asString(t1.\$index(0, \"stackTrace\")));\n" |
| " break \$label1\$1;\n" |
| " }\n" |
| " if (\"PingRequest\" === typeName) {\n" |
| " t1 = new A.PingRequest();\n" |
| " break \$label1\$1;\n" |
| " }\n" |
| " t1 = _null;\n" |
| " break \$label1\$1;\n" |
| " }\n" |
| " return t1;\n" |
| " }\n" |
| " return _null;\n" |
| " },\n" |
| " _sendConnectRequest(clientSink) {\n" |
| " var t1 = init.G,\n" |
| " t2 = A._asString(t1.\$dartAppId),\n" |
| " t3 = A._asStringQ(t1.\$dartAppInstanceId);\n" |
| " t3.toString;\n" |
| " A._trySendEvent(clientSink, B.C_JsonCodec.encode\$2\$toEncodable(A._setArrayType([\"ConnectRequest\", new A.ConnectRequest(t2, t3, A._asString(t1.\$dartEntrypointPath)).toJson\$0()], type\$.JSArray_Object), null), type\$.dynamic);\n" |
| " },\n" |
| " _dispatchEvent(message, detail) {\n" |
| " var t1 = init.G,\n" |
| " \$event = A._asJSObject(new t1.CustomEvent(message, {detail: detail}));\n" |
| " A._asBool(A._asJSObject(t1.document).dispatchEvent(\$event));\n" |
| " },\n" |
| " _handleAuthRequest(\$event) {\n" |
| " var t1,\n" |
| " data = A._asJSObject(\$event).data;\n" |
| " if (!(typeof data === \"string\"))\n" |
| " return;\n" |
| " if (A._asString(data) !== \"dart-auth-request\")\n" |
| " return;\n" |
| " if (A._authUrl() != null) {\n" |
| " t1 = A._authUrl();\n" |
| " t1.toString;\n" |
| " A._authenticateUser(t1).then\$1\$1(new A._handleAuthRequest_closure(), type\$.void);\n" |
| " }\n" |
| " },\n" |
| " _authenticateUser(authUrl) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.bool),\n" |
| " \$async\$returnValue, response, client;\n" |
| " var \$async\$_authenticateUser = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " client = new A.BrowserClient(A._setArrayType([], type\$.JSArray_JSObject));\n" |
| " client.withCredentials = true;\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(client._sendUnstreamed\$3(\"GET\", A.Uri_parse(authUrl), null), \$async\$_authenticateUser);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " response = \$async\$result;\n" |
| " \$async\$returnValue = B.JSString_methods.contains\$1(A.encodingForContentTypeHeader(A._contentTypeForHeaders(response.headers)).decode\$1(response.bodyBytes), \"Dart Debug Authentication Success!\");\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_authenticateUser, \$async\$completer);\n" |
| " },\n" |
| " _sendResponse(clientSink, \$constructor, requestId, errorMessage, success, \$T) {\n" |
| " var t1,\n" |
| " response = \$constructor.call\$3(requestId, success, errorMessage);\n" |
| " \$label0\$0: {\n" |
| " if (response instanceof A.HotReloadResponse) {\n" |
| " t1 = A._setArrayType([\"HotReloadResponse\", response.toJson\$0()], type\$.JSArray_Object);\n" |
| " break \$label0\$0;\n" |
| " }\n" |
| " if (response instanceof A.HotRestartResponse) {\n" |
| " t1 = A._setArrayType([\"HotRestartResponse\", response.toJson\$0()], type\$.JSArray_Object);\n" |
| " break \$label0\$0;\n" |
| " }\n" |
| " t1 = A.throwExpression(A.UnsupportedError\$(\"Unknown response type: \" + A.S(response)));\n" |
| " }\n" |
| " A._trySendEvent(clientSink, B.C_JsonCodec.encode\$2\$toEncodable(t1, null), type\$.dynamic);\n" |
| " },\n" |
| " _sendHotReloadResponse(clientSink, requestId, errorMessage, success) {\n" |
| " A._sendResponse(clientSink, new A._sendHotReloadResponse_closure(), requestId, errorMessage, success, type\$.HotReloadResponse);\n" |
| " },\n" |
| " _sendHotRestartResponse(clientSink, requestId, errorMessage, success) {\n" |
| " A._sendResponse(clientSink, new A._sendHotRestartResponse_closure(), requestId, errorMessage, success, type\$.HotRestartResponse);\n" |
| " },\n" |
| " _sendServiceExtensionResponse(clientSink, requestId, errorCode, errorMessage, result, success) {\n" |
| " A._trySendEvent(clientSink, B.C_JsonCodec.encode\$2\$toEncodable(A._setArrayType([\"ServiceExtensionResponse\", new A.ServiceExtensionResponse(requestId, success, result, errorCode, errorMessage).toJson\$0()], type\$.JSArray_Object), null), type\$.dynamic);\n" |
| " },\n" |
| " handleWebSocketHotReloadRequest(\$event, manager, clientSink) {\n" |
| " return A.handleWebSocketHotReloadRequest\$body(\$event, manager, clientSink);\n" |
| " },\n" |
| " handleWebSocketHotReloadRequest\$body(\$event, manager, clientSink) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$handler = 1, \$async\$errorStack = [], e, path, exception, requestId, \$async\$exception;\n" |
| " var \$async\$handleWebSocketHotReloadRequest = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1) {\n" |
| " \$async\$errorStack.push(\$async\$result);\n" |
| " \$async\$goto = \$async\$handler;\n" |
| " }\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " requestId = \$event.id;\n" |
| " \$async\$handler = 3;\n" |
| " path = A._asStringQ(init.G.\$reloadedSourcesPath);\n" |
| " path.toString;\n" |
| " \$async\$goto = 6;\n" |
| " return A._asyncAwait(manager._restarter.hotReloadStart\$1(path), \$async\$handleWebSocketHotReloadRequest);\n" |
| " case 6:\n" |
| " // returning from await.\n" |
| " \$async\$goto = 7;\n" |
| " return A._asyncAwait(manager.hotReloadEnd\$0(), \$async\$handleWebSocketHotReloadRequest);\n" |
| " case 7:\n" |
| " // returning from await.\n" |
| " A._sendHotReloadResponse(clientSink, requestId, null, true);\n" |
| " \$async\$handler = 1;\n" |
| " // goto after finally\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " case 3:\n" |
| " // catch\n" |
| " \$async\$handler = 2;\n" |
| " \$async\$exception = \$async\$errorStack.pop();\n" |
| " e = A.unwrapException(\$async\$exception);\n" |
| " A._sendHotReloadResponse(clientSink, requestId, J.toString\$0\$(e), false);\n" |
| " // goto after finally\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " case 2:\n" |
| " // uncaught\n" |
| " // goto rethrow\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 5:\n" |
| " // after finally\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " case 1:\n" |
| " // rethrow\n" |
| " return A._asyncRethrow(\$async\$errorStack.at(-1), \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$handleWebSocketHotReloadRequest, \$async\$completer);\n" |
| " },\n" |
| " handleWebSocketHotRestartRequest(\$event, manager, clientSink) {\n" |
| " return A.handleWebSocketHotRestartRequest\$body(\$event, manager, clientSink);\n" |
| " },\n" |
| " handleWebSocketHotRestartRequest\$body(\$event, manager, clientSink) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$handler = 1, \$async\$errorStack = [], runId, e, exception, requestId, \$async\$exception;\n" |
| " var \$async\$handleWebSocketHotRestartRequest = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1) {\n" |
| " \$async\$errorStack.push(\$async\$result);\n" |
| " \$async\$goto = \$async\$handler;\n" |
| " }\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " requestId = \$event.id;\n" |
| " \$async\$handler = 3;\n" |
| " runId = B.C_Uuid.v4\$0();\n" |
| " \$async\$goto = 6;\n" |
| " return A._asyncAwait(manager.hotRestart\$2\$reloadedSourcesPath\$runId(A._asStringQ(init.G.\$reloadedSourcesPath), runId), \$async\$handleWebSocketHotRestartRequest);\n" |
| " case 6:\n" |
| " // returning from await.\n" |
| " A._sendHotRestartResponse(clientSink, requestId, null, true);\n" |
| " \$async\$handler = 1;\n" |
| " // goto after finally\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " case 3:\n" |
| " // catch\n" |
| " \$async\$handler = 2;\n" |
| " \$async\$exception = \$async\$errorStack.pop();\n" |
| " e = A.unwrapException(\$async\$exception);\n" |
| " A._sendHotRestartResponse(clientSink, requestId, J.toString\$0\$(e), false);\n" |
| " // goto after finally\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " case 2:\n" |
| " // uncaught\n" |
| " // goto rethrow\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 5:\n" |
| " // after finally\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " case 1:\n" |
| " // rethrow\n" |
| " return A._asyncRethrow(\$async\$errorStack.at(-1), \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$handleWebSocketHotRestartRequest, \$async\$completer);\n" |
| " },\n" |
| " handleServiceExtensionRequest(request, clientSink, manager) {\n" |
| " return A.handleServiceExtensionRequest\$body(request, clientSink, manager);\n" |
| " },\n" |
| " handleServiceExtensionRequest\$body(request, clientSink, manager) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$handler = 1, \$async\$errorStack = [], result, e, t1, exception, \$async\$exception;\n" |
| " var \$async\$handleServiceExtensionRequest = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1) {\n" |
| " \$async\$errorStack.push(\$async\$result);\n" |
| " \$async\$goto = \$async\$handler;\n" |
| " }\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " \$async\$handler = 3;\n" |
| " \$async\$goto = 6;\n" |
| " return A._asyncAwait(manager.handleServiceExtension\$2(request.method, request.args), \$async\$handleServiceExtensionRequest);\n" |
| " case 6:\n" |
| " // returning from await.\n" |
| " result = \$async\$result;\n" |
| " t1 = request.id;\n" |
| " if (result != null)\n" |
| " A._sendServiceExtensionResponse(clientSink, t1, null, null, result, true);\n" |
| " else\n" |
| " A._sendServiceExtensionResponse(clientSink, t1, -32601, \"Service extension not supported\", null, false);\n" |
| " \$async\$handler = 1;\n" |
| " // goto after finally\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " case 3:\n" |
| " // catch\n" |
| " \$async\$handler = 2;\n" |
| " \$async\$exception = \$async\$errorStack.pop();\n" |
| " e = A.unwrapException(\$async\$exception);\n" |
| " A._sendServiceExtensionResponse(clientSink, request.id, null, J.toString\$0\$(e), null, false);\n" |
| " // goto after finally\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " case 2:\n" |
| " // uncaught\n" |
| " // goto rethrow\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 5:\n" |
| " // after finally\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " case 1:\n" |
| " // rethrow\n" |
| " return A._asyncRethrow(\$async\$errorStack.at(-1), \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$handleServiceExtensionRequest, \$async\$completer);\n" |
| " },\n" |
| " _isChromium() {\n" |
| " return B.JSString_methods.contains\$1(A._asString(A._asJSObject(A._asJSObject(init.G.window).navigator).vendor), \"Google\");\n" |
| " },\n" |
| " _authUrl() {\n" |
| " var authUrl,\n" |
| " extensionUrl = A._asStringQ(type\$.JavaScriptObject._as(init.G.window).\$dartExtensionUri);\n" |
| " if (extensionUrl == null)\n" |
| " return null;\n" |
| " authUrl = A.Uri_parse(extensionUrl).replace\$1\$path(\"\$dwdsExtensionAuthentication\");\n" |
| " switch (authUrl.scheme) {\n" |
| " case \"ws\":\n" |
| " return authUrl.replace\$1\$scheme(\"http\").get\$_text();\n" |
| " case \"wss\":\n" |
| " return authUrl.replace\$1\$scheme(\"https\").get\$_text();\n" |
| " default:\n" |
| " return authUrl.get\$_text();\n" |
| " }\n" |
| " },\n" |
| " main_closure: function main_closure() {\n" |
| " },\n" |
| " main__closure: function main__closure(t0) {\n" |
| " this.manager = t0;\n" |
| " },\n" |
| " main__closure0: function main__closure0(t0) {\n" |
| " this.manager = t0;\n" |
| " },\n" |
| " main__closure1: function main__closure1(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this.manager = t1;\n" |
| " },\n" |
| " main__closure2: function main__closure2(t0) {\n" |
| " this.client = t0;\n" |
| " },\n" |
| " main__closure3: function main__closure3(t0) {\n" |
| " this._box_0 = t0;\n" |
| " },\n" |
| " main__closure4: function main__closure4(t0) {\n" |
| " this.client = t0;\n" |
| " },\n" |
| " main__closure5: function main__closure5(t0) {\n" |
| " this.debugEventController = t0;\n" |
| " },\n" |
| " main__closure6: function main__closure6(t0) {\n" |
| " this.client = t0;\n" |
| " },\n" |
| " main__closure7: function main__closure7(t0) {\n" |
| " this.client = t0;\n" |
| " },\n" |
| " main__closure8: function main__closure8(t0, t1, t2) {\n" |
| " this._box_0 = t0;\n" |
| " this.manager = t1;\n" |
| " this.client = t2;\n" |
| " },\n" |
| " main__closure9: function main__closure9() {\n" |
| " },\n" |
| " main__closure10: function main__closure10() {\n" |
| " },\n" |
| " main_closure0: function main_closure0() {\n" |
| " },\n" |
| " _handleAuthRequest_closure: function _handleAuthRequest_closure() {\n" |
| " },\n" |
| " _sendHotReloadResponse_closure: function _sendHotReloadResponse_closure() {\n" |
| " },\n" |
| " _sendHotRestartResponse_closure: function _sendHotRestartResponse_closure() {\n" |
| " },\n" |
| " _Debugger_maybeInvokeFlutterDisassemble(_this) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " t1;\n" |
| " var \$async\$_Debugger_maybeInvokeFlutterDisassemble = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = type\$.JSArray_nullable_Object._as(_this.extensionNames);\n" |
| " \$async\$goto = J.contains\$1\$asx(type\$.List_String._is(t1) ? t1 : new A.CastList(t1, A._arrayInstanceType(t1)._eval\$1(\"CastList<1,String>\")), \"ext.flutter.disassemble\") ? 2 : 3;\n" |
| " break;\n" |
| " case 2:\n" |
| " // then\n" |
| " \$async\$goto = 4;\n" |
| " return A._asyncAwait(A.promiseToFuture(A._asJSObject(_this.invokeExtension(\"ext.flutter.disassemble\", \"{}\")), type\$.String), \$async\$_Debugger_maybeInvokeFlutterDisassemble);\n" |
| " case 4:\n" |
| " // returning from await.\n" |
| " case 3:\n" |
| " // join\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_Debugger_maybeInvokeFlutterDisassemble, \$async\$completer);\n" |
| " },\n" |
| " _Debugger_maybeInvokeFlutterReassemble(_this) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " t1;\n" |
| " var \$async\$_Debugger_maybeInvokeFlutterReassemble = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = type\$.JSArray_nullable_Object._as(_this.extensionNames);\n" |
| " \$async\$goto = J.contains\$1\$asx(type\$.List_String._is(t1) ? t1 : new A.CastList(t1, A._arrayInstanceType(t1)._eval\$1(\"CastList<1,String>\")), \"ext.flutter.reassemble\") ? 2 : 3;\n" |
| " break;\n" |
| " case 2:\n" |
| " // then\n" |
| " \$async\$goto = 4;\n" |
| " return A._asyncAwait(A.promiseToFuture(A._asJSObject(_this.invokeExtension(\"ext.flutter.reassemble\", \"{}\")), type\$.String), \$async\$_Debugger_maybeInvokeFlutterReassemble);\n" |
| " case 4:\n" |
| " // returning from await.\n" |
| " case 3:\n" |
| " // join\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_Debugger_maybeInvokeFlutterReassemble, \$async\$completer);\n" |
| " },\n" |
| " DdcLibraryBundleRestarter: function DdcLibraryBundleRestarter() {\n" |
| " this._capturedHotReloadEndCallback = null;\n" |
| " },\n" |
| " DdcLibraryBundleRestarter__getSrcModuleLibraries_closure: function DdcLibraryBundleRestarter__getSrcModuleLibraries_closure(t0, t1, t2) {\n" |
| " this.xhr = t0;\n" |
| " this.completer = t1;\n" |
| " this.reloadedSourcesPath = t2;\n" |
| " },\n" |
| " DdcLibraryBundleRestarter_restart_closure: function DdcLibraryBundleRestarter_restart_closure(t0, t1) {\n" |
| " this.\$this = t0;\n" |
| " this.readyToRunMain = t1;\n" |
| " },\n" |
| " DdcLibraryBundleRestarter_hotReloadStart_closure: function DdcLibraryBundleRestarter_hotReloadStart_closure(t0) {\n" |
| " this.\$this = t0;\n" |
| " },\n" |
| " DdcRestarter: function DdcRestarter() {\n" |
| " },\n" |
| " DdcRestarter_restart_closure0: function DdcRestarter_restart_closure0(t0) {\n" |
| " this.reloadCompleter = t0;\n" |
| " },\n" |
| " DdcRestarter_restart_closure: function DdcRestarter_restart_closure(t0) {\n" |
| " this.sub = t0;\n" |
| " },\n" |
| " ReloadingManager: function ReloadingManager(t0, t1) {\n" |
| " this._client = t0;\n" |
| " this._restarter = t1;\n" |
| " },\n" |
| " SdkDeveloperExtension_maybeInvokeFlutterDisassemble(_this) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void);\n" |
| " var \$async\$SdkDeveloperExtension_maybeInvokeFlutterDisassemble = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " \$async\$goto = A._asBool(type\$.JavaScriptObject._as(_this._extensions).containsKey(\"ext.flutter.disassemble\")) ? 2 : 3;\n" |
| " break;\n" |
| " case 2:\n" |
| " // then\n" |
| " \$async\$goto = 4;\n" |
| " return A._asyncAwait(A.promiseToFuture(A._asJSObject(_this.invokeExtension(\"ext.flutter.disassemble\", \"{}\")), type\$.String), \$async\$SdkDeveloperExtension_maybeInvokeFlutterDisassemble);\n" |
| " case 4:\n" |
| " // returning from await.\n" |
| " case 3:\n" |
| " // join\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$SdkDeveloperExtension_maybeInvokeFlutterDisassemble, \$async\$completer);\n" |
| " },\n" |
| " HotReloadFailedException\$(_s) {\n" |
| " return new A.HotReloadFailedException(_s);\n" |
| " },\n" |
| " RequireRestarter_create() {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.RequireRestarter),\n" |
| " \$async\$returnValue, reloader, t1, t2;\n" |
| " var \$async\$RequireRestarter_create = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = A.HashMap_HashMap(null, null, type\$.String, type\$.int);\n" |
| " t2 = new A._AsyncCompleter(new A._Future(\$.Zone__current, type\$._Future_bool), type\$._AsyncCompleter_bool);\n" |
| " t2.complete\$1(true);\n" |
| " reloader = new A.RequireRestarter(t1, t2);\n" |
| " t1 = type\$.SplayTreeSet_String;\n" |
| " reloader.__RequireRestarter__dirtyModules_A = t1._as(new A.SplayTreeSet(reloader.get\$_moduleTopologicalCompare(), t1));\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(reloader._initialize\$0(), \$async\$RequireRestarter_create);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " \$async\$returnValue = reloader;\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$RequireRestarter_create, \$async\$completer);\n" |
| " },\n" |
| " HotReloadFailedException: function HotReloadFailedException(t0) {\n" |
| " this._s = t0;\n" |
| " },\n" |
| " RequireRestarter: function RequireRestarter(t0, t1) {\n" |
| " this._moduleOrdering = t0;\n" |
| " this.__RequireRestarter__dirtyModules_A = \$;\n" |
| " this._running = t1;\n" |
| " },\n" |
| " RequireRestarter__reload_closure: function RequireRestarter__reload_closure(t0, t1) {\n" |
| " this._box_0 = t0;\n" |
| " this.dart = t1;\n" |
| " },\n" |
| " RequireRestarter__reloadModule_closure: function RequireRestarter__reloadModule_closure(t0) {\n" |
| " this.completer = t0;\n" |
| " },\n" |
| " RequireRestarter__reloadModule_closure0: function RequireRestarter__reloadModule_closure0(t0, t1) {\n" |
| " this.completer = t0;\n" |
| " this.stackTrace = t1;\n" |
| " },\n" |
| " _findNonce() {\n" |
| " var i, element, t1, nonceValue,\n" |
| " elements = A._asJSObject(A._asJSObject(A._asJSObject(init.G.window).document).querySelectorAll(\"script\"));\n" |
| " for (i = 0; i < A._asInt(elements.length); ++i) {\n" |
| " element = A._asJSObjectQ(elements.item(i));\n" |
| " t1 = element == null ? A._asJSObject(element) : element;\n" |
| " nonceValue = A._asString(t1.nonce);\n" |
| " t1 = \$.\$get\$_noncePattern();\n" |
| " if (t1._nativeRegExp.test(nonceValue))\n" |
| " return nonceValue;\n" |
| " }\n" |
| " return null;\n" |
| " },\n" |
| " runMain() {\n" |
| " var t1, t2,\n" |
| " scriptElement = \$.\$get\$_createScript().call\$0();\n" |
| " scriptElement.innerHTML = \"window.\$dartRunMain();\";\n" |
| " t1 = A._asJSObjectQ(A._asJSObject(init.G.document).body);\n" |
| " t1.toString;\n" |
| " t2 = A.jsify(scriptElement);\n" |
| " t2.toString;\n" |
| " t1.append(t2);\n" |
| " A.Future_Future\$microtask(new A.runMain_closure(scriptElement), type\$.void);\n" |
| " },\n" |
| " _createScript_closure: function _createScript_closure() {\n" |
| " },\n" |
| " _createScript__closure: function _createScript__closure() {\n" |
| " },\n" |
| " _createScript__closure0: function _createScript__closure0(t0) {\n" |
| " this.nonce = t0;\n" |
| " },\n" |
| " runMain_closure: function runMain_closure(t0) {\n" |
| " this.scriptElement = t0;\n" |
| " },\n" |
| " JSArrayExtension_toDartIterable(_this, \$T) {\n" |
| " return B.JSArray_methods.map\$1\$1(_this, new A.JSArrayExtension_toDartIterable_closure(\$T), \$T);\n" |
| " },\n" |
| " JSArrayExtension_toDartIterable_closure: function JSArrayExtension_toDartIterable_closure(t0) {\n" |
| " this.T = t0;\n" |
| " },\n" |
| " printString(string) {\n" |
| " if (typeof dartPrint == \"function\") {\n" |
| " dartPrint(string);\n" |
| " return;\n" |
| " }\n" |
| " if (typeof console == \"object\" && typeof console.log != \"undefined\") {\n" |
| " console.log(string);\n" |
| " return;\n" |
| " }\n" |
| " if (typeof print == \"function\") {\n" |
| " print(string);\n" |
| " return;\n" |
| " }\n" |
| " throw \"Unable to print message: \" + String(string);\n" |
| " },\n" |
| " JSFunctionUnsafeUtilExtension_callAsConstructor(_this, arg1, \$R) {\n" |
| " return \$R._as(A.callConstructor(_this, [arg1], type\$.JSObject));\n" |
| " },\n" |
| " groupBy(values, key, \$S, \$T) {\n" |
| " var t1, _i, element, t2, t3,\n" |
| " map = A.LinkedHashMap_LinkedHashMap\$_empty(\$T, \$S._eval\$1(\"List<0>\"));\n" |
| " for (t1 = \$S._eval\$1(\"JSArray<0>\"), _i = 0; _i < 1; ++_i) {\n" |
| " element = values[_i];\n" |
| " t2 = key.call\$1(element);\n" |
| " t3 = map.\$index(0, t2);\n" |
| " if (t3 == null) {\n" |
| " t3 = A._setArrayType([], t1);\n" |
| " map.\$indexSet(0, t2, t3);\n" |
| " t2 = t3;\n" |
| " } else\n" |
| " t2 = t3;\n" |
| " J.add\$1\$ax(t2, element);\n" |
| " }\n" |
| " return map;\n" |
| " },\n" |
| " listToMap(list, type) {\n" |
| " var map, i,\n" |
| " t1 = J.getInterceptor\$asx(list);\n" |
| " if (t1.get\$isEmpty(list) || !J.\$eq\$(t1.get\$first(list), type))\n" |
| " throw A.wrapException(A.FormatException\$('Expected \"' + type + '\" as first element', list, null));\n" |
| " t1 = J.getInterceptor\$asx(list);\n" |
| " if ((t1.get\$length(list) - 1 & 1) === 1)\n" |
| " throw A.wrapException(A.FormatException\$(\"Expected an even number of elements\" + (\" after \" + type), list, null));\n" |
| " map = A.LinkedHashMap_LinkedHashMap\$_empty(type\$.String, type\$.dynamic);\n" |
| " for (i = 1; i < t1.get\$length(list) - 1;) {\n" |
| " map.\$indexSet(0, A._asString(t1.\$index(list, i)), t1.\$index(list, i + 1));\n" |
| " i += 2;\n" |
| " }\n" |
| " return map;\n" |
| " },\n" |
| " encodingForContentTypeHeader(contentTypeHeader) {\n" |
| " var t1,\n" |
| " charset = contentTypeHeader.parameters._collection\$_map.\$index(0, \"charset\");\n" |
| " if (contentTypeHeader.type === \"application\" && contentTypeHeader.subtype === \"json\" && charset == null)\n" |
| " return B.C_Utf8Codec;\n" |
| " if (charset != null) {\n" |
| " t1 = A.Encoding_getByName(charset);\n" |
| " if (t1 == null)\n" |
| " t1 = B.C_Latin1Codec;\n" |
| " } else\n" |
| " t1 = B.C_Latin1Codec;\n" |
| " return t1;\n" |
| " },\n" |
| " toUint8List(input) {\n" |
| " return input;\n" |
| " },\n" |
| " toByteStream(stream) {\n" |
| " return new A.ByteStream(stream);\n" |
| " },\n" |
| " wrapFormatException(\$name, value, body, \$T) {\n" |
| " var error, error0, t1, exception;\n" |
| " try {\n" |
| " t1 = body.call\$0();\n" |
| " return t1;\n" |
| " } catch (exception) {\n" |
| " t1 = A.unwrapException(exception);\n" |
| " if (t1 instanceof A.SourceSpanFormatException) {\n" |
| " error = t1;\n" |
| " throw A.wrapException(A.SourceSpanFormatException\$(\"Invalid \" + \$name + \": \" + error._span_exception\$_message, error._span, error.get\$source()));\n" |
| " } else if (type\$.FormatException._is(t1)) {\n" |
| " error0 = t1;\n" |
| " throw A.wrapException(A.FormatException\$(\"Invalid \" + \$name + ' \"' + value + '\": ' + error0.get\$message(), error0.get\$source(), error0.get\$offset()));\n" |
| " } else\n" |
| " throw exception;\n" |
| " }\n" |
| " },\n" |
| " current() {\n" |
| " var exception, t1, path, lastIndex, uri = null;\n" |
| " try {\n" |
| " uri = A.Uri_base();\n" |
| " } catch (exception) {\n" |
| " if (type\$.Exception._is(A.unwrapException(exception))) {\n" |
| " t1 = \$._current;\n" |
| " if (t1 != null)\n" |
| " return t1;\n" |
| " throw exception;\n" |
| " } else\n" |
| " throw exception;\n" |
| " }\n" |
| " if (J.\$eq\$(uri, \$._currentUriBase)) {\n" |
| " t1 = \$._current;\n" |
| " t1.toString;\n" |
| " return t1;\n" |
| " }\n" |
| " \$._currentUriBase = uri;\n" |
| " if (\$.\$get\$Style_platform() === \$.\$get\$Style_url())\n" |
| " t1 = \$._current = uri.resolve\$1(\".\").toString\$0(0);\n" |
| " else {\n" |
| " path = uri.toFilePath\$0();\n" |
| " lastIndex = path.length - 1;\n" |
| " t1 = \$._current = lastIndex === 0 ? path : B.JSString_methods.substring\$2(path, 0, lastIndex);\n" |
| " }\n" |
| " return t1;\n" |
| " },\n" |
| " isAlphabetic(char) {\n" |
| " var t1;\n" |
| " if (!(char >= 65 && char <= 90))\n" |
| " t1 = char >= 97 && char <= 122;\n" |
| " else\n" |
| " t1 = true;\n" |
| " return t1;\n" |
| " },\n" |
| " driveLetterEnd(path, index) {\n" |
| " var t2, t3, _null = null,\n" |
| " t1 = path.length,\n" |
| " index0 = index + 2;\n" |
| " if (t1 < index0)\n" |
| " return _null;\n" |
| " if (!(index >= 0 && index < t1))\n" |
| " return A.ioore(path, index);\n" |
| " if (!A.isAlphabetic(path.charCodeAt(index)))\n" |
| " return _null;\n" |
| " t2 = index + 1;\n" |
| " if (!(t2 < t1))\n" |
| " return A.ioore(path, t2);\n" |
| " if (path.charCodeAt(t2) !== 58) {\n" |
| " t3 = index + 4;\n" |
| " if (t1 < t3)\n" |
| " return _null;\n" |
| " if (B.JSString_methods.substring\$2(path, t2, t3).toLowerCase() !== \"%3a\")\n" |
| " return _null;\n" |
| " index = index0;\n" |
| " }\n" |
| " t2 = index + 2;\n" |
| " if (t1 === t2)\n" |
| " return t2;\n" |
| " if (!(t2 >= 0 && t2 < t1))\n" |
| " return A.ioore(path, t2);\n" |
| " if (path.charCodeAt(t2) !== 47)\n" |
| " return _null;\n" |
| " return index + 3;\n" |
| " },\n" |
| " isAllTheSame(iter) {\n" |
| " var firstValue, t1, t2, value;\n" |
| " if (iter.get\$length(0) === 0)\n" |
| " return true;\n" |
| " firstValue = iter.get\$first(0);\n" |
| " for (t1 = A.SubListIterable\$(iter, 1, null, iter.\$ti._eval\$1(\"ListIterable.E\")), t2 = t1.\$ti, t1 = new A.ListIterator(t1, t1.get\$length(0), t2._eval\$1(\"ListIterator<ListIterable.E>\")), t2 = t2._eval\$1(\"ListIterable.E\"); t1.moveNext\$0();) {\n" |
| " value = t1.__internal\$_current;\n" |
| " if (!J.\$eq\$(value == null ? t2._as(value) : value, firstValue))\n" |
| " return false;\n" |
| " }\n" |
| " return true;\n" |
| " },\n" |
| " replaceFirstNull(list, element, \$E) {\n" |
| " var index = B.JSArray_methods.indexOf\$1(list, null);\n" |
| " if (index < 0)\n" |
| " throw A.wrapException(A.ArgumentError\$(A.S(list) + \" contains no null elements.\", null));\n" |
| " B.JSArray_methods.\$indexSet(list, index, element);\n" |
| " },\n" |
| " replaceWithNull(list, element, \$E) {\n" |
| " var index = B.JSArray_methods.indexOf\$1(list, element);\n" |
| " if (index < 0)\n" |
| " throw A.wrapException(A.ArgumentError\$(A.S(list) + \" contains no elements matching \" + element.toString\$0(0) + \".\", null));\n" |
| " B.JSArray_methods.\$indexSet(list, index, null);\n" |
| " },\n" |
| " countCodeUnits(string, codeUnit) {\n" |
| " var t1, t2, count, t3;\n" |
| " for (t1 = new A.CodeUnits(string), t2 = type\$.CodeUnits, t1 = new A.ListIterator(t1, t1.get\$length(0), t2._eval\$1(\"ListIterator<ListBase.E>\")), t2 = t2._eval\$1(\"ListBase.E\"), count = 0; t1.moveNext\$0();) {\n" |
| " t3 = t1.__internal\$_current;\n" |
| " if ((t3 == null ? t2._as(t3) : t3) === codeUnit)\n" |
| " ++count;\n" |
| " }\n" |
| " return count;\n" |
| " },\n" |
| " findLineStart(context, text, column) {\n" |
| " var beginningOfLine, index, lineStart;\n" |
| " if (text.length === 0)\n" |
| " for (beginningOfLine = 0;;) {\n" |
| " index = B.JSString_methods.indexOf\$2(context, \"\\n\", beginningOfLine);\n" |
| " if (index === -1)\n" |
| " return context.length - beginningOfLine >= column ? beginningOfLine : null;\n" |
| " if (index - beginningOfLine >= column)\n" |
| " return beginningOfLine;\n" |
| " beginningOfLine = index + 1;\n" |
| " }\n" |
| " index = B.JSString_methods.indexOf\$1(context, text);\n" |
| " while (index !== -1) {\n" |
| " lineStart = index === 0 ? 0 : B.JSString_methods.lastIndexOf\$2(context, \"\\n\", index - 1) + 1;\n" |
| " if (column === index - lineStart)\n" |
| " return lineStart;\n" |
| " index = B.JSString_methods.indexOf\$2(context, text, index + 1);\n" |
| " }\n" |
| " return null;\n" |
| " },\n" |
| " generateId() {\n" |
| " var i,\n" |
| " chars = A.List_List\$filled(6, 0, false, type\$.int),\n" |
| " bits = B.C__JSRandom.nextInt\$1(4294967296);\n" |
| " for (i = 0; i < 6; ++i) {\n" |
| " B.JSArray_methods.\$indexSet(chars, i, string\$.ABCDEF.charCodeAt(bits & 63));\n" |
| " bits = bits >>> 6;\n" |
| " }\n" |
| " return A.String_String\$fromCharCodes(chars, 0, null);\n" |
| " }\n" |
| " },\n" |
| " B = {};\n" |
| " var holders = [A, J, B];\n" |
| " var \$ = {};\n" |
| " A.JS_CONST.prototype = {};\n" |
| " J.Interceptor.prototype = {\n" |
| " \$eq(receiver, other) {\n" |
| " return receiver === other;\n" |
| " },\n" |
| " get\$hashCode(receiver) {\n" |
| " return A.Primitives_objectHashCode(receiver);\n" |
| " },\n" |
| " toString\$0(receiver) {\n" |
| " return \"Instance of '\" + A.Primitives_objectTypeName(receiver) + \"'\";\n" |
| " },\n" |
| " get\$runtimeType(receiver) {\n" |
| " return A.createRuntimeType(A._instanceTypeFromConstructor(this));\n" |
| " }\n" |
| " };\n" |
| " J.JSBool.prototype = {\n" |
| " toString\$0(receiver) {\n" |
| " return String(receiver);\n" |
| " },\n" |
| " get\$hashCode(receiver) {\n" |
| " return receiver ? 519018 : 218159;\n" |
| " },\n" |
| " get\$runtimeType(receiver) {\n" |
| " return A.createRuntimeType(type\$.bool);\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isbool: 1\n" |
| " };\n" |
| " J.JSNull.prototype = {\n" |
| " \$eq(receiver, other) {\n" |
| " return null == other;\n" |
| " },\n" |
| " toString\$0(receiver) {\n" |
| " return \"null\";\n" |
| " },\n" |
| " get\$hashCode(receiver) {\n" |
| " return 0;\n" |
| " },\n" |
| " get\$runtimeType(receiver) {\n" |
| " return A.createRuntimeType(type\$.Null);\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isNull: 1\n" |
| " };\n" |
| " J.JavaScriptObject.prototype = {\$isJSObject: 1};\n" |
| " J.LegacyJavaScriptObject.prototype = {\n" |
| " get\$hashCode(receiver) {\n" |
| " return 0;\n" |
| " },\n" |
| " get\$runtimeType(receiver) {\n" |
| " return B.Type_JSObject_ttY;\n" |
| " },\n" |
| " toString\$0(receiver) {\n" |
| " return String(receiver);\n" |
| " }\n" |
| " };\n" |
| " J.PlainJavaScriptObject.prototype = {};\n" |
| " J.UnknownJavaScriptObject.prototype = {};\n" |
| " J.JavaScriptFunction.prototype = {\n" |
| " toString\$0(receiver) {\n" |
| " var dartClosure = receiver[\$.\$get\$DART_CLOSURE_PROPERTY_NAME()];\n" |
| " if (dartClosure == null)\n" |
| " dartClosure = receiver[\$.\$get\$DART_CLOSURE_DART_JSINTEROP_PROPERTY_NAME()];\n" |
| " if (dartClosure == null)\n" |
| " return this.super\$LegacyJavaScriptObject\$toString(receiver);\n" |
| " return \"JavaScript function for \" + J.toString\$0\$(dartClosure);\n" |
| " },\n" |
| " \$isFunction: 1\n" |
| " };\n" |
| " J.JavaScriptBigInt.prototype = {\n" |
| " get\$hashCode(receiver) {\n" |
| " return 0;\n" |
| " },\n" |
| " toString\$0(receiver) {\n" |
| " return String(receiver);\n" |
| " }\n" |
| " };\n" |
| " J.JavaScriptSymbol.prototype = {\n" |
| " get\$hashCode(receiver) {\n" |
| " return 0;\n" |
| " },\n" |
| " toString\$0(receiver) {\n" |
| " return String(receiver);\n" |
| " }\n" |
| " };\n" |
| " J.JSArray.prototype = {\n" |
| " cast\$1\$0(receiver, \$R) {\n" |
| " return new A.CastList(receiver, A._arrayInstanceType(receiver)._eval\$1(\"@<1>\")._bind\$1(\$R)._eval\$1(\"CastList<1,2>\"));\n" |
| " },\n" |
| " add\$1(receiver, value) {\n" |
| " A._arrayInstanceType(receiver)._precomputed1._as(value);\n" |
| " receiver.\$flags & 1 && A.throwUnsupportedOperation(receiver, 29);\n" |
| " receiver.push(value);\n" |
| " },\n" |
| " removeAt\$1(receiver, index) {\n" |
| " var t1;\n" |
| " receiver.\$flags & 1 && A.throwUnsupportedOperation(receiver, \"removeAt\", 1);\n" |
| " t1 = receiver.length;\n" |
| " if (index >= t1)\n" |
| " throw A.wrapException(A.RangeError\$value(index, null));\n" |
| " return receiver.splice(index, 1)[0];\n" |
| " },\n" |
| " insert\$2(receiver, index, value) {\n" |
| " var t1;\n" |
| " A._arrayInstanceType(receiver)._precomputed1._as(value);\n" |
| " receiver.\$flags & 1 && A.throwUnsupportedOperation(receiver, \"insert\", 2);\n" |
| " t1 = receiver.length;\n" |
| " if (index > t1)\n" |
| " throw A.wrapException(A.RangeError\$value(index, null));\n" |
| " receiver.splice(index, 0, value);\n" |
| " },\n" |
| " insertAll\$2(receiver, index, iterable) {\n" |
| " var insertionLength, end;\n" |
| " A._arrayInstanceType(receiver)._eval\$1(\"Iterable<1>\")._as(iterable);\n" |
| " receiver.\$flags & 1 && A.throwUnsupportedOperation(receiver, \"insertAll\", 2);\n" |
| " A.RangeError_checkValueInInterval(index, 0, receiver.length, \"index\");\n" |
| " if (!type\$.EfficientLengthIterable_dynamic._is(iterable))\n" |
| " iterable = J.toList\$0\$ax(iterable);\n" |
| " insertionLength = J.get\$length\$asx(iterable);\n" |
| " receiver.length = receiver.length + insertionLength;\n" |
| " end = index + insertionLength;\n" |
| " this.setRange\$4(receiver, end, receiver.length, receiver, index);\n" |
| " this.setRange\$3(receiver, index, end, iterable);\n" |
| " },\n" |
| " removeLast\$0(receiver) {\n" |
| " receiver.\$flags & 1 && A.throwUnsupportedOperation(receiver, \"removeLast\", 1);\n" |
| " if (receiver.length === 0)\n" |
| " throw A.wrapException(A.diagnoseIndexError(receiver, -1));\n" |
| " return receiver.pop();\n" |
| " },\n" |
| " remove\$1(receiver, element) {\n" |
| " var i;\n" |
| " receiver.\$flags & 1 && A.throwUnsupportedOperation(receiver, \"remove\", 1);\n" |
| " for (i = 0; i < receiver.length; ++i)\n" |
| " if (J.\$eq\$(receiver[i], element)) {\n" |
| " receiver.splice(i, 1);\n" |
| " return true;\n" |
| " }\n" |
| " return false;\n" |
| " },\n" |
| " _removeWhere\$2(receiver, test, removeMatching) {\n" |
| " var retained, end, i, element, t1;\n" |
| " A._arrayInstanceType(receiver)._eval\$1(\"bool(1)\")._as(test);\n" |
| " retained = [];\n" |
| " end = receiver.length;\n" |
| " for (i = 0; i < end; ++i) {\n" |
| " element = receiver[i];\n" |
| " if (!test.call\$1(element))\n" |
| " retained.push(element);\n" |
| " if (receiver.length !== end)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(receiver));\n" |
| " }\n" |
| " t1 = retained.length;\n" |
| " if (t1 === end)\n" |
| " return;\n" |
| " this.set\$length(receiver, t1);\n" |
| " for (i = 0; i < retained.length; ++i)\n" |
| " receiver[i] = retained[i];\n" |
| " },\n" |
| " addAll\$1(receiver, collection) {\n" |
| " var t1;\n" |
| " A._arrayInstanceType(receiver)._eval\$1(\"Iterable<1>\")._as(collection);\n" |
| " receiver.\$flags & 1 && A.throwUnsupportedOperation(receiver, \"addAll\", 2);\n" |
| " if (Array.isArray(collection)) {\n" |
| " this._addAllFromArray\$1(receiver, collection);\n" |
| " return;\n" |
| " }\n" |
| " for (t1 = J.get\$iterator\$ax(collection); t1.moveNext\$0();)\n" |
| " receiver.push(t1.get\$current());\n" |
| " },\n" |
| " _addAllFromArray\$1(receiver, array) {\n" |
| " var len, i;\n" |
| " type\$.JSArray_dynamic._as(array);\n" |
| " len = array.length;\n" |
| " if (len === 0)\n" |
| " return;\n" |
| " if (receiver === array)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(receiver));\n" |
| " for (i = 0; i < len; ++i)\n" |
| " receiver.push(array[i]);\n" |
| " },\n" |
| " clear\$0(receiver) {\n" |
| " receiver.\$flags & 1 && A.throwUnsupportedOperation(receiver, \"clear\", \"clear\");\n" |
| " receiver.length = 0;\n" |
| " },\n" |
| " map\$1\$1(receiver, f, \$T) {\n" |
| " var t1 = A._arrayInstanceType(receiver);\n" |
| " return new A.MappedListIterable(receiver, t1._bind\$1(\$T)._eval\$1(\"1(2)\")._as(f), t1._eval\$1(\"@<1>\")._bind\$1(\$T)._eval\$1(\"MappedListIterable<1,2>\"));\n" |
| " },\n" |
| " join\$1(receiver, separator) {\n" |
| " var i,\n" |
| " list = A.List_List\$filled(receiver.length, \"\", false, type\$.String);\n" |
| " for (i = 0; i < receiver.length; ++i)\n" |
| " this.\$indexSet(list, i, A.S(receiver[i]));\n" |
| " return list.join(separator);\n" |
| " },\n" |
| " take\$1(receiver, n) {\n" |
| " return A.SubListIterable\$(receiver, 0, A.checkNotNullable(n, \"count\", type\$.int), A._arrayInstanceType(receiver)._precomputed1);\n" |
| " },\n" |
| " skip\$1(receiver, n) {\n" |
| " return A.SubListIterable\$(receiver, n, null, A._arrayInstanceType(receiver)._precomputed1);\n" |
| " },\n" |
| " firstWhere\$2\$orElse(receiver, test, orElse) {\n" |
| " var end, i, element,\n" |
| " t1 = A._arrayInstanceType(receiver);\n" |
| " t1._eval\$1(\"bool(1)\")._as(test);\n" |
| " t1._eval\$1(\"1()?\")._as(orElse);\n" |
| " end = receiver.length;\n" |
| " for (i = 0; i < end; ++i) {\n" |
| " element = receiver[i];\n" |
| " if (test.call\$1(element))\n" |
| " return element;\n" |
| " if (receiver.length !== end)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(receiver));\n" |
| " }\n" |
| " t1 = orElse.call\$0();\n" |
| " return t1;\n" |
| " },\n" |
| " elementAt\$1(receiver, index) {\n" |
| " if (!(index >= 0 && index < receiver.length))\n" |
| " return A.ioore(receiver, index);\n" |
| " return receiver[index];\n" |
| " },\n" |
| " get\$first(receiver) {\n" |
| " if (receiver.length > 0)\n" |
| " return receiver[0];\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " },\n" |
| " get\$last(receiver) {\n" |
| " var t1 = receiver.length;\n" |
| " if (t1 > 0)\n" |
| " return receiver[t1 - 1];\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " },\n" |
| " setRange\$4(receiver, start, end, iterable, skipCount) {\n" |
| " var \$length, otherList, otherStart, t1, i;\n" |
| " A._arrayInstanceType(receiver)._eval\$1(\"Iterable<1>\")._as(iterable);\n" |
| " receiver.\$flags & 2 && A.throwUnsupportedOperation(receiver, 5);\n" |
| " A.RangeError_checkValidRange(start, end, receiver.length);\n" |
| " \$length = end - start;\n" |
| " if (\$length === 0)\n" |
| " return;\n" |
| " A.RangeError_checkNotNegative(skipCount, \"skipCount\");\n" |
| " if (type\$.List_dynamic._is(iterable)) {\n" |
| " otherList = iterable;\n" |
| " otherStart = skipCount;\n" |
| " } else {\n" |
| " otherList = J.skip\$1\$ax(iterable, skipCount).toList\$1\$growable(0, false);\n" |
| " otherStart = 0;\n" |
| " }\n" |
| " t1 = J.getInterceptor\$asx(otherList);\n" |
| " if (otherStart + \$length > t1.get\$length(otherList))\n" |
| " throw A.wrapException(A.IterableElementError_tooFew());\n" |
| " if (otherStart < start)\n" |
| " for (i = \$length - 1; i >= 0; --i)\n" |
| " receiver[start + i] = t1.\$index(otherList, otherStart + i);\n" |
| " else\n" |
| " for (i = 0; i < \$length; ++i)\n" |
| " receiver[start + i] = t1.\$index(otherList, otherStart + i);\n" |
| " },\n" |
| " setRange\$3(receiver, start, end, iterable) {\n" |
| " return this.setRange\$4(receiver, start, end, iterable, 0);\n" |
| " },\n" |
| " fillRange\$3(receiver, start, end, fillValue) {\n" |
| " var i;\n" |
| " receiver.\$flags & 2 && A.throwUnsupportedOperation(receiver, \"fillRange\");\n" |
| " A.RangeError_checkValidRange(start, end, receiver.length);\n" |
| " A._arrayInstanceType(receiver)._precomputed1._as(fillValue);\n" |
| " for (i = start; i < end; ++i)\n" |
| " receiver[i] = fillValue;\n" |
| " },\n" |
| " sort\$1(receiver, compare) {\n" |
| " var len, a, b, undefineds, i,\n" |
| " t1 = A._arrayInstanceType(receiver);\n" |
| " t1._eval\$1(\"int(1,1)?\")._as(compare);\n" |
| " receiver.\$flags & 2 && A.throwUnsupportedOperation(receiver, \"sort\");\n" |
| " len = receiver.length;\n" |
| " if (len < 2)\n" |
| " return;\n" |
| " if (compare == null)\n" |
| " compare = J._interceptors_JSArray__compareAny\$closure();\n" |
| " if (len === 2) {\n" |
| " a = receiver[0];\n" |
| " b = receiver[1];\n" |
| " t1 = compare.call\$2(a, b);\n" |
| " if (typeof t1 !== \"number\")\n" |
| " return t1.\$gt();\n" |
| " if (t1 > 0) {\n" |
| " receiver[0] = b;\n" |
| " receiver[1] = a;\n" |
| " }\n" |
| " return;\n" |
| " }\n" |
| " undefineds = 0;\n" |
| " if (t1._precomputed1._is(null))\n" |
| " for (i = 0; i < receiver.length; ++i)\n" |
| " if (receiver[i] === void 0) {\n" |
| " receiver[i] = null;\n" |
| " ++undefineds;\n" |
| " }\n" |
| " receiver.sort(A.convertDartClosureToJS(compare, 2));\n" |
| " if (undefineds > 0)\n" |
| " this._replaceSomeNullsWithUndefined\$1(receiver, undefineds);\n" |
| " },\n" |
| " _replaceSomeNullsWithUndefined\$1(receiver, count) {\n" |
| " var i0,\n" |
| " i = receiver.length;\n" |
| " for (; i0 = i - 1, i > 0; i = i0)\n" |
| " if (receiver[i0] === null) {\n" |
| " receiver[i0] = void 0;\n" |
| " --count;\n" |
| " if (count === 0)\n" |
| " break;\n" |
| " }\n" |
| " },\n" |
| " indexOf\$1(receiver, element) {\n" |
| " var i,\n" |
| " \$length = receiver.length;\n" |
| " if (0 >= \$length)\n" |
| " return -1;\n" |
| " for (i = 0; i < \$length; ++i) {\n" |
| " if (!(i < receiver.length))\n" |
| " return A.ioore(receiver, i);\n" |
| " if (J.\$eq\$(receiver[i], element))\n" |
| " return i;\n" |
| " }\n" |
| " return -1;\n" |
| " },\n" |
| " contains\$1(receiver, other) {\n" |
| " var i;\n" |
| " for (i = 0; i < receiver.length; ++i)\n" |
| " if (J.\$eq\$(receiver[i], other))\n" |
| " return true;\n" |
| " return false;\n" |
| " },\n" |
| " get\$isEmpty(receiver) {\n" |
| " return receiver.length === 0;\n" |
| " },\n" |
| " get\$isNotEmpty(receiver) {\n" |
| " return receiver.length !== 0;\n" |
| " },\n" |
| " toString\$0(receiver) {\n" |
| " return A.Iterable_iterableToFullString(receiver, \"[\", \"]\");\n" |
| " },\n" |
| " toList\$1\$growable(receiver, growable) {\n" |
| " var t1 = A._setArrayType(receiver.slice(0), A._arrayInstanceType(receiver));\n" |
| " return t1;\n" |
| " },\n" |
| " toList\$0(receiver) {\n" |
| " return this.toList\$1\$growable(receiver, true);\n" |
| " },\n" |
| " get\$iterator(receiver) {\n" |
| " return new J.ArrayIterator(receiver, receiver.length, A._arrayInstanceType(receiver)._eval\$1(\"ArrayIterator<1>\"));\n" |
| " },\n" |
| " get\$hashCode(receiver) {\n" |
| " return A.Primitives_objectHashCode(receiver);\n" |
| " },\n" |
| " get\$length(receiver) {\n" |
| " return receiver.length;\n" |
| " },\n" |
| " set\$length(receiver, newLength) {\n" |
| " receiver.\$flags & 1 && A.throwUnsupportedOperation(receiver, \"set length\", \"change the length of\");\n" |
| " if (newLength < 0)\n" |
| " throw A.wrapException(A.RangeError\$range(newLength, 0, null, \"newLength\", null));\n" |
| " if (newLength > receiver.length)\n" |
| " A._arrayInstanceType(receiver)._precomputed1._as(null);\n" |
| " receiver.length = newLength;\n" |
| " },\n" |
| " \$index(receiver, index) {\n" |
| " if (!(index >= 0 && index < receiver.length))\n" |
| " throw A.wrapException(A.diagnoseIndexError(receiver, index));\n" |
| " return receiver[index];\n" |
| " },\n" |
| " \$indexSet(receiver, index, value) {\n" |
| " A._arrayInstanceType(receiver)._precomputed1._as(value);\n" |
| " receiver.\$flags & 2 && A.throwUnsupportedOperation(receiver);\n" |
| " if (!(index >= 0 && index < receiver.length))\n" |
| " throw A.wrapException(A.diagnoseIndexError(receiver, index));\n" |
| " receiver[index] = value;\n" |
| " },\n" |
| " indexWhere\$1(receiver, test) {\n" |
| " var i;\n" |
| " A._arrayInstanceType(receiver)._eval\$1(\"bool(1)\")._as(test);\n" |
| " if (0 >= receiver.length)\n" |
| " return -1;\n" |
| " for (i = 0; i < receiver.length; ++i)\n" |
| " if (test.call\$1(receiver[i]))\n" |
| " return i;\n" |
| " return -1;\n" |
| " },\n" |
| " get\$runtimeType(receiver) {\n" |
| " return A.createRuntimeType(A._arrayInstanceType(receiver));\n" |
| " },\n" |
| " \$isEfficientLengthIterable: 1,\n" |
| " \$isIterable: 1,\n" |
| " \$isList: 1\n" |
| " };\n" |
| " J.JSArraySafeToStringHook.prototype = {\n" |
| " tryFormat\$1(array) {\n" |
| " var flags, info, base;\n" |
| " if (!Array.isArray(array))\n" |
| " return null;\n" |
| " flags = array.\$flags | 0;\n" |
| " if ((flags & 4) !== 0)\n" |
| " info = \"const, \";\n" |
| " else if ((flags & 2) !== 0)\n" |
| " info = \"unmodifiable, \";\n" |
| " else\n" |
| " info = (flags & 1) !== 0 ? \"fixed, \" : \"\";\n" |
| " base = \"Instance of '\" + A.Primitives_objectTypeName(array) + \"'\";\n" |
| " if (info === \"\")\n" |
| " return base;\n" |
| " return base + \" (\" + info + \"length: \" + array.length + \")\";\n" |
| " }\n" |
| " };\n" |
| " J.JSUnmodifiableArray.prototype = {};\n" |
| " J.ArrayIterator.prototype = {\n" |
| " get\$current() {\n" |
| " var t1 = this._current;\n" |
| " return t1 == null ? this.\$ti._precomputed1._as(t1) : t1;\n" |
| " },\n" |
| " moveNext\$0() {\n" |
| " var t2, _this = this,\n" |
| " t1 = _this._iterable,\n" |
| " \$length = t1.length;\n" |
| " if (_this._length !== \$length) {\n" |
| " t1 = A.throwConcurrentModificationError(t1);\n" |
| " throw A.wrapException(t1);\n" |
| " }\n" |
| " t2 = _this._index;\n" |
| " if (t2 >= \$length) {\n" |
| " _this._current = null;\n" |
| " return false;\n" |
| " }\n" |
| " _this._current = t1[t2];\n" |
| " _this._index = t2 + 1;\n" |
| " return true;\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " J.JSNumber.prototype = {\n" |
| " compareTo\$1(receiver, b) {\n" |
| " var bIsNegative;\n" |
| " A._asNum(b);\n" |
| " if (receiver < b)\n" |
| " return -1;\n" |
| " else if (receiver > b)\n" |
| " return 1;\n" |
| " else if (receiver === b) {\n" |
| " if (receiver === 0) {\n" |
| " bIsNegative = this.get\$isNegative(b);\n" |
| " if (this.get\$isNegative(receiver) === bIsNegative)\n" |
| " return 0;\n" |
| " if (this.get\$isNegative(receiver))\n" |
| " return -1;\n" |
| " return 1;\n" |
| " }\n" |
| " return 0;\n" |
| " } else if (isNaN(receiver)) {\n" |
| " if (isNaN(b))\n" |
| " return 0;\n" |
| " return 1;\n" |
| " } else\n" |
| " return -1;\n" |
| " },\n" |
| " get\$isNegative(receiver) {\n" |
| " return receiver === 0 ? 1 / receiver < 0 : receiver < 0;\n" |
| " },\n" |
| " toRadixString\$1(receiver, radix) {\n" |
| " var result, t1, t2, match, exponent;\n" |
| " if (radix < 2 || radix > 36)\n" |
| " throw A.wrapException(A.RangeError\$range(radix, 2, 36, \"radix\", null));\n" |
| " result = receiver.toString(radix);\n" |
| " t1 = result.length;\n" |
| " t2 = t1 - 1;\n" |
| " if (!(t2 >= 0))\n" |
| " return A.ioore(result, t2);\n" |
| " if (result.charCodeAt(t2) !== 41)\n" |
| " return result;\n" |
| " match = /^([\\da-z]+)(?:\\.([\\da-z]+))?\\(e\\+(\\d+)\\)\$/.exec(result);\n" |
| " if (match == null)\n" |
| " A.throwExpression(A.UnsupportedError\$(\"Unexpected toString result: \" + result));\n" |
| " t1 = match.length;\n" |
| " if (1 >= t1)\n" |
| " return A.ioore(match, 1);\n" |
| " result = match[1];\n" |
| " if (3 >= t1)\n" |
| " return A.ioore(match, 3);\n" |
| " exponent = +match[3];\n" |
| " t1 = match[2];\n" |
| " if (t1 != null) {\n" |
| " result += t1;\n" |
| " exponent -= t1.length;\n" |
| " }\n" |
| " return result + B.JSString_methods.\$mul(\"0\", exponent);\n" |
| " },\n" |
| " toString\$0(receiver) {\n" |
| " if (receiver === 0 && 1 / receiver < 0)\n" |
| " return \"-0.0\";\n" |
| " else\n" |
| " return \"\" + receiver;\n" |
| " },\n" |
| " get\$hashCode(receiver) {\n" |
| " var absolute, floorLog2, factor, scaled,\n" |
| " intValue = receiver | 0;\n" |
| " if (receiver === intValue)\n" |
| " return intValue & 536870911;\n" |
| " absolute = Math.abs(receiver);\n" |
| " floorLog2 = Math.log(absolute) / 0.6931471805599453 | 0;\n" |
| " factor = Math.pow(2, floorLog2);\n" |
| " scaled = absolute < 1 ? absolute / factor : factor / absolute;\n" |
| " return ((scaled * 9007199254740992 | 0) + (scaled * 3542243181176521 | 0)) * 599197 + floorLog2 * 1259 & 536870911;\n" |
| " },\n" |
| " \$add(receiver, other) {\n" |
| " return receiver + other;\n" |
| " },\n" |
| " \$mod(receiver, other) {\n" |
| " var result = receiver % other;\n" |
| " if (result === 0)\n" |
| " return 0;\n" |
| " if (result > 0)\n" |
| " return result;\n" |
| " return result + other;\n" |
| " },\n" |
| " \$tdiv(receiver, other) {\n" |
| " if ((receiver | 0) === receiver)\n" |
| " if (other >= 1 || other < -1)\n" |
| " return receiver / other | 0;\n" |
| " return this._tdivSlow\$1(receiver, other);\n" |
| " },\n" |
| " _tdivFast\$1(receiver, other) {\n" |
| " return (receiver | 0) === receiver ? receiver / other | 0 : this._tdivSlow\$1(receiver, other);\n" |
| " },\n" |
| " _tdivSlow\$1(receiver, other) {\n" |
| " var quotient = receiver / other;\n" |
| " if (quotient >= -2147483648 && quotient <= 2147483647)\n" |
| " return quotient | 0;\n" |
| " if (quotient > 0) {\n" |
| " if (quotient !== 1 / 0)\n" |
| " return Math.floor(quotient);\n" |
| " } else if (quotient > -1 / 0)\n" |
| " return Math.ceil(quotient);\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Result of truncating division is \" + A.S(quotient) + \": \" + A.S(receiver) + \" ~/ \" + other));\n" |
| " },\n" |
| " _shlPositive\$1(receiver, other) {\n" |
| " return other > 31 ? 0 : receiver << other >>> 0;\n" |
| " },\n" |
| " _shrOtherPositive\$1(receiver, other) {\n" |
| " var t1;\n" |
| " if (receiver > 0)\n" |
| " t1 = this._shrBothPositive\$1(receiver, other);\n" |
| " else {\n" |
| " t1 = other > 31 ? 31 : other;\n" |
| " t1 = receiver >> t1 >>> 0;\n" |
| " }\n" |
| " return t1;\n" |
| " },\n" |
| " _shrReceiverPositive\$1(receiver, other) {\n" |
| " if (0 > other)\n" |
| " throw A.wrapException(A.argumentErrorValue(other));\n" |
| " return this._shrBothPositive\$1(receiver, other);\n" |
| " },\n" |
| " _shrBothPositive\$1(receiver, other) {\n" |
| " return other > 31 ? 0 : receiver >>> other;\n" |
| " },\n" |
| " get\$runtimeType(receiver) {\n" |
| " return A.createRuntimeType(type\$.num);\n" |
| " },\n" |
| " \$isComparable: 1,\n" |
| " \$isdouble: 1,\n" |
| " \$isnum: 1\n" |
| " };\n" |
| " J.JSInt.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return A.createRuntimeType(type\$.int);\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isint: 1\n" |
| " };\n" |
| " J.JSNumNotInt.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return A.createRuntimeType(type\$.double);\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1\n" |
| " };\n" |
| " J.JSString.prototype = {\n" |
| " allMatches\$2(receiver, string, start) {\n" |
| " var t1 = string.length;\n" |
| " if (start > t1)\n" |
| " throw A.wrapException(A.RangeError\$range(start, 0, t1, null, null));\n" |
| " return new A._StringAllMatchesIterable(string, receiver, start);\n" |
| " },\n" |
| " allMatches\$1(receiver, string) {\n" |
| " return this.allMatches\$2(receiver, string, 0);\n" |
| " },\n" |
| " matchAsPrefix\$2(receiver, string, start) {\n" |
| " var t1, t2, i, t3, _null = null;\n" |
| " if (start < 0 || start > string.length)\n" |
| " throw A.wrapException(A.RangeError\$range(start, 0, string.length, _null, _null));\n" |
| " t1 = receiver.length;\n" |
| " t2 = string.length;\n" |
| " if (start + t1 > t2)\n" |
| " return _null;\n" |
| " for (i = 0; i < t1; ++i) {\n" |
| " t3 = start + i;\n" |
| " if (!(t3 >= 0 && t3 < t2))\n" |
| " return A.ioore(string, t3);\n" |
| " if (string.charCodeAt(t3) !== receiver.charCodeAt(i))\n" |
| " return _null;\n" |
| " }\n" |
| " return new A.StringMatch(start, receiver);\n" |
| " },\n" |
| " endsWith\$1(receiver, other) {\n" |
| " var otherLength = other.length,\n" |
| " t1 = receiver.length;\n" |
| " if (otherLength > t1)\n" |
| " return false;\n" |
| " return other === this.substring\$1(receiver, t1 - otherLength);\n" |
| " },\n" |
| " replaceFirst\$2(receiver, from, to) {\n" |
| " A.RangeError_checkValueInInterval(0, 0, receiver.length, \"startIndex\");\n" |
| " return A.stringReplaceFirstUnchecked(receiver, from, to, 0);\n" |
| " },\n" |
| " replaceRange\$3(receiver, start, end, replacement) {\n" |
| " var e = A.RangeError_checkValidRange(start, end, receiver.length);\n" |
| " return A.stringReplaceRangeUnchecked(receiver, start, e, replacement);\n" |
| " },\n" |
| " startsWith\$2(receiver, pattern, index) {\n" |
| " var endIndex;\n" |
| " if (index < 0 || index > receiver.length)\n" |
| " throw A.wrapException(A.RangeError\$range(index, 0, receiver.length, null, null));\n" |
| " if (typeof pattern == \"string\") {\n" |
| " endIndex = index + pattern.length;\n" |
| " if (endIndex > receiver.length)\n" |
| " return false;\n" |
| " return pattern === receiver.substring(index, endIndex);\n" |
| " }\n" |
| " return J.matchAsPrefix\$2\$s(pattern, receiver, index) != null;\n" |
| " },\n" |
| " startsWith\$1(receiver, pattern) {\n" |
| " return this.startsWith\$2(receiver, pattern, 0);\n" |
| " },\n" |
| " substring\$2(receiver, start, end) {\n" |
| " return receiver.substring(start, A.RangeError_checkValidRange(start, end, receiver.length));\n" |
| " },\n" |
| " substring\$1(receiver, start) {\n" |
| " return this.substring\$2(receiver, start, null);\n" |
| " },\n" |
| " \$mul(receiver, times) {\n" |
| " var s, result;\n" |
| " if (0 >= times)\n" |
| " return \"\";\n" |
| " if (times === 1 || receiver.length === 0)\n" |
| " return receiver;\n" |
| " if (times !== times >>> 0)\n" |
| " throw A.wrapException(B.C_OutOfMemoryError);\n" |
| " for (s = receiver, result = \"\";;) {\n" |
| " if ((times & 1) === 1)\n" |
| " result = s + result;\n" |
| " times = times >>> 1;\n" |
| " if (times === 0)\n" |
| " break;\n" |
| " s += s;\n" |
| " }\n" |
| " return result;\n" |
| " },\n" |
| " padLeft\$2(receiver, width, padding) {\n" |
| " var delta = width - receiver.length;\n" |
| " if (delta <= 0)\n" |
| " return receiver;\n" |
| " return this.\$mul(padding, delta) + receiver;\n" |
| " },\n" |
| " padRight\$1(receiver, width) {\n" |
| " var delta = width - receiver.length;\n" |
| " if (delta <= 0)\n" |
| " return receiver;\n" |
| " return receiver + this.\$mul(\" \", delta);\n" |
| " },\n" |
| " indexOf\$2(receiver, pattern, start) {\n" |
| " var t1;\n" |
| " if (start < 0 || start > receiver.length)\n" |
| " throw A.wrapException(A.RangeError\$range(start, 0, receiver.length, null, null));\n" |
| " t1 = receiver.indexOf(pattern, start);\n" |
| " return t1;\n" |
| " },\n" |
| " indexOf\$1(receiver, pattern) {\n" |
| " return this.indexOf\$2(receiver, pattern, 0);\n" |
| " },\n" |
| " lastIndexOf\$2(receiver, pattern, start) {\n" |
| " var t1, t2;\n" |
| " if (start == null)\n" |
| " start = receiver.length;\n" |
| " else if (start < 0 || start > receiver.length)\n" |
| " throw A.wrapException(A.RangeError\$range(start, 0, receiver.length, null, null));\n" |
| " t1 = pattern.length;\n" |
| " t2 = receiver.length;\n" |
| " if (start + t1 > t2)\n" |
| " start = t2 - t1;\n" |
| " return receiver.lastIndexOf(pattern, start);\n" |
| " },\n" |
| " lastIndexOf\$1(receiver, pattern) {\n" |
| " return this.lastIndexOf\$2(receiver, pattern, null);\n" |
| " },\n" |
| " contains\$1(receiver, other) {\n" |
| " return A.stringContainsUnchecked(receiver, other, 0);\n" |
| " },\n" |
| " compareTo\$1(receiver, other) {\n" |
| " var t1;\n" |
| " A._asString(other);\n" |
| " if (receiver === other)\n" |
| " t1 = 0;\n" |
| " else\n" |
| " t1 = receiver < other ? -1 : 1;\n" |
| " return t1;\n" |
| " },\n" |
| " toString\$0(receiver) {\n" |
| " return receiver;\n" |
| " },\n" |
| " get\$hashCode(receiver) {\n" |
| " var t1, hash, i;\n" |
| " for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {\n" |
| " hash = hash + receiver.charCodeAt(i) & 536870911;\n" |
| " hash = hash + ((hash & 524287) << 10) & 536870911;\n" |
| " hash ^= hash >> 6;\n" |
| " }\n" |
| " hash = hash + ((hash & 67108863) << 3) & 536870911;\n" |
| " hash ^= hash >> 11;\n" |
| " return hash + ((hash & 16383) << 15) & 536870911;\n" |
| " },\n" |
| " get\$runtimeType(receiver) {\n" |
| " return A.createRuntimeType(type\$.String);\n" |
| " },\n" |
| " get\$length(receiver) {\n" |
| " return receiver.length;\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isComparable: 1,\n" |
| " \$isPattern: 1,\n" |
| " \$isString: 1\n" |
| " };\n" |
| " A.CastStream.prototype = {\n" |
| " listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, onError) {\n" |
| " var t2,\n" |
| " t1 = this.\$ti;\n" |
| " t1._eval\$1(\"~(2)?\")._as(onData);\n" |
| " t2 = this.__internal\$_source.listen\$3\$cancelOnError\$onDone(null, cancelOnError, type\$.nullable_void_Function._as(onDone));\n" |
| " t1 = new A.CastStreamSubscription(t2, \$.Zone__current, t1._eval\$1(\"CastStreamSubscription<1,2>\"));\n" |
| " t2.onData\$1(t1.get\$__internal\$_onData());\n" |
| " t1.onData\$1(onData);\n" |
| " t1.onError\$1(onError);\n" |
| " return t1;\n" |
| " },\n" |
| " listen\$3\$onDone\$onError(onData, onDone, onError) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, null, onDone, onError);\n" |
| " },\n" |
| " listen\$3\$cancelOnError\$onDone(onData, cancelOnError, onDone) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, null);\n" |
| " }\n" |
| " };\n" |
| " A.CastStreamSubscription.prototype = {\n" |
| " cancel\$0() {\n" |
| " return this.__internal\$_source.cancel\$0();\n" |
| " },\n" |
| " onData\$1(handleData) {\n" |
| " var t1 = this.\$ti;\n" |
| " t1._eval\$1(\"~(2)?\")._as(handleData);\n" |
| " this.__internal\$_handleData = handleData == null ? null : this.__internal\$_zone.registerUnaryCallback\$2\$1(handleData, type\$.dynamic, t1._rest[1]);\n" |
| " },\n" |
| " onError\$1(handleError) {\n" |
| " var _this = this;\n" |
| " _this.__internal\$_source.onError\$1(handleError);\n" |
| " if (handleError == null)\n" |
| " _this.__internal\$_handleError = null;\n" |
| " else if (type\$.void_Function_Object_StackTrace._is(handleError))\n" |
| " _this.__internal\$_handleError = _this.__internal\$_zone.registerBinaryCallback\$3\$1(handleError, type\$.dynamic, type\$.Object, type\$.StackTrace);\n" |
| " else if (type\$.void_Function_Object._is(handleError))\n" |
| " _this.__internal\$_handleError = _this.__internal\$_zone.registerUnaryCallback\$2\$1(handleError, type\$.dynamic, type\$.Object);\n" |
| " else\n" |
| " throw A.wrapException(A.ArgumentError\$(string\$.handle, null));\n" |
| " },\n" |
| " __internal\$_onData\$1(data) {\n" |
| " var targetData, error, stack, handleError, t2, exception, _this = this,\n" |
| " t1 = _this.\$ti;\n" |
| " t1._precomputed1._as(data);\n" |
| " t2 = _this.__internal\$_handleData;\n" |
| " if (t2 == null)\n" |
| " return;\n" |
| " targetData = null;\n" |
| " try {\n" |
| " targetData = t1._rest[1]._as(data);\n" |
| " } catch (exception) {\n" |
| " error = A.unwrapException(exception);\n" |
| " stack = A.getTraceFromException(exception);\n" |
| " handleError = _this.__internal\$_handleError;\n" |
| " if (handleError == null)\n" |
| " _this.__internal\$_zone.handleUncaughtError\$2(error, stack);\n" |
| " else {\n" |
| " t1 = type\$.Object;\n" |
| " t2 = _this.__internal\$_zone;\n" |
| " if (type\$.void_Function_Object_StackTrace._is(handleError))\n" |
| " t2.runBinaryGuarded\$2\$3(handleError, error, stack, t1, type\$.StackTrace);\n" |
| " else\n" |
| " t2.runUnaryGuarded\$1\$2(type\$.void_Function_Object._as(handleError), error, t1);\n" |
| " }\n" |
| " return;\n" |
| " }\n" |
| " _this.__internal\$_zone.runUnaryGuarded\$1\$2(t2, targetData, t1._rest[1]);\n" |
| " },\n" |
| " pause\$1(resumeSignal) {\n" |
| " this.__internal\$_source.pause\$1(resumeSignal);\n" |
| " },\n" |
| " pause\$0() {\n" |
| " return this.pause\$1(null);\n" |
| " },\n" |
| " resume\$0() {\n" |
| " this.__internal\$_source.resume\$0();\n" |
| " },\n" |
| " \$isStreamSubscription: 1\n" |
| " };\n" |
| " A._CastIterableBase.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " return new A.CastIterator(J.get\$iterator\$ax(this.get\$__internal\$_source()), A._instanceType(this)._eval\$1(\"CastIterator<1,2>\"));\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " return J.get\$length\$asx(this.get\$__internal\$_source());\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return J.get\$isEmpty\$asx(this.get\$__internal\$_source());\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " return J.get\$isNotEmpty\$asx(this.get\$__internal\$_source());\n" |
| " },\n" |
| " skip\$1(_, count) {\n" |
| " var t1 = A._instanceType(this);\n" |
| " return A.CastIterable_CastIterable(J.skip\$1\$ax(this.get\$__internal\$_source(), count), t1._precomputed1, t1._rest[1]);\n" |
| " },\n" |
| " take\$1(_, count) {\n" |
| " var t1 = A._instanceType(this);\n" |
| " return A.CastIterable_CastIterable(J.take\$1\$ax(this.get\$__internal\$_source(), count), t1._precomputed1, t1._rest[1]);\n" |
| " },\n" |
| " elementAt\$1(_, index) {\n" |
| " return A._instanceType(this)._rest[1]._as(J.elementAt\$1\$ax(this.get\$__internal\$_source(), index));\n" |
| " },\n" |
| " get\$first(_) {\n" |
| " return A._instanceType(this)._rest[1]._as(J.get\$first\$ax(this.get\$__internal\$_source()));\n" |
| " },\n" |
| " contains\$1(_, other) {\n" |
| " return J.contains\$1\$asx(this.get\$__internal\$_source(), other);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return J.toString\$0\$(this.get\$__internal\$_source());\n" |
| " }\n" |
| " };\n" |
| " A.CastIterator.prototype = {\n" |
| " moveNext\$0() {\n" |
| " return this.__internal\$_source.moveNext\$0();\n" |
| " },\n" |
| " get\$current() {\n" |
| " return this.\$ti._rest[1]._as(this.__internal\$_source.get\$current());\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.CastIterable.prototype = {\n" |
| " get\$__internal\$_source() {\n" |
| " return this.__internal\$_source;\n" |
| " }\n" |
| " };\n" |
| " A._EfficientLengthCastIterable.prototype = {\$isEfficientLengthIterable: 1};\n" |
| " A._CastListBase.prototype = {\n" |
| " \$index(_, index) {\n" |
| " return this.\$ti._rest[1]._as(J.\$index\$asx(this.__internal\$_source, index));\n" |
| " },\n" |
| " \$indexSet(_, index, value) {\n" |
| " var t1 = this.\$ti;\n" |
| " J.\$indexSet\$ax(this.__internal\$_source, index, t1._precomputed1._as(t1._rest[1]._as(value)));\n" |
| " },\n" |
| " set\$length(_, \$length) {\n" |
| " J.set\$length\$asx(this.__internal\$_source, \$length);\n" |
| " },\n" |
| " add\$1(_, value) {\n" |
| " var t1 = this.\$ti;\n" |
| " J.add\$1\$ax(this.__internal\$_source, t1._precomputed1._as(t1._rest[1]._as(value)));\n" |
| " },\n" |
| " sort\$1(_, compare) {\n" |
| " var t1;\n" |
| " this.\$ti._eval\$1(\"int(2,2)?\")._as(compare);\n" |
| " t1 = compare == null ? null : new A._CastListBase_sort_closure(this, compare);\n" |
| " J.sort\$1\$ax(this.__internal\$_source, t1);\n" |
| " },\n" |
| " fillRange\$3(_, start, end, fillValue) {\n" |
| " J.fillRange\$3\$ax(this.__internal\$_source, start, end, this.\$ti._precomputed1._as(fillValue));\n" |
| " },\n" |
| " \$isEfficientLengthIterable: 1,\n" |
| " \$isList: 1\n" |
| " };\n" |
| " A._CastListBase_sort_closure.prototype = {\n" |
| " call\$2(v1, v2) {\n" |
| " var t1 = this.\$this.\$ti,\n" |
| " t2 = t1._precomputed1;\n" |
| " t2._as(v1);\n" |
| " t2._as(v2);\n" |
| " t1 = t1._rest[1];\n" |
| " return this.compare.call\$2(t1._as(v1), t1._as(v2));\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.\$this.\$ti._eval\$1(\"int(1,1)\");\n" |
| " }\n" |
| " };\n" |
| " A.CastList.prototype = {\n" |
| " cast\$1\$0(_, \$R) {\n" |
| " return new A.CastList(this.__internal\$_source, this.\$ti._eval\$1(\"@<1>\")._bind\$1(\$R)._eval\$1(\"CastList<1,2>\"));\n" |
| " },\n" |
| " get\$__internal\$_source() {\n" |
| " return this.__internal\$_source;\n" |
| " }\n" |
| " };\n" |
| " A.CastMap.prototype = {\n" |
| " cast\$2\$0(_, \$RK, \$RV) {\n" |
| " return new A.CastMap(this.__internal\$_source, this.\$ti._eval\$1(\"@<1,2>\")._bind\$1(\$RK)._bind\$1(\$RV)._eval\$1(\"CastMap<1,2,3,4>\"));\n" |
| " },\n" |
| " containsKey\$1(key) {\n" |
| " return this.__internal\$_source.containsKey\$1(key);\n" |
| " },\n" |
| " \$index(_, key) {\n" |
| " return this.\$ti._eval\$1(\"4?\")._as(this.__internal\$_source.\$index(0, key));\n" |
| " },\n" |
| " \$indexSet(_, key, value) {\n" |
| " var t1 = this.\$ti;\n" |
| " t1._rest[2]._as(key);\n" |
| " t1._rest[3]._as(value);\n" |
| " this.__internal\$_source.\$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));\n" |
| " },\n" |
| " forEach\$1(_, f) {\n" |
| " this.__internal\$_source.forEach\$1(0, new A.CastMap_forEach_closure(this, this.\$ti._eval\$1(\"~(3,4)\")._as(f)));\n" |
| " },\n" |
| " get\$keys() {\n" |
| " var t1 = this.\$ti;\n" |
| " return A.CastIterable_CastIterable(this.__internal\$_source.get\$keys(), t1._precomputed1, t1._rest[2]);\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " var t1 = this.__internal\$_source;\n" |
| " return t1.get\$length(t1);\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " var t1 = this.__internal\$_source;\n" |
| " return t1.get\$isEmpty(t1);\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " var t1 = this.__internal\$_source;\n" |
| " return t1.get\$isNotEmpty(t1);\n" |
| " }\n" |
| " };\n" |
| " A.CastMap_forEach_closure.prototype = {\n" |
| " call\$2(key, value) {\n" |
| " var t1 = this.\$this.\$ti;\n" |
| " t1._precomputed1._as(key);\n" |
| " t1._rest[1]._as(value);\n" |
| " this.f.call\$2(t1._rest[2]._as(key), t1._rest[3]._as(value));\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.\$this.\$ti._eval\$1(\"~(1,2)\");\n" |
| " }\n" |
| " };\n" |
| " A.LateError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"LateInitializationError: \" + this._message;\n" |
| " }\n" |
| " };\n" |
| " A.CodeUnits.prototype = {\n" |
| " get\$length(_) {\n" |
| " return this.__internal\$_string.length;\n" |
| " },\n" |
| " \$index(_, i) {\n" |
| " var t1 = this.__internal\$_string;\n" |
| " if (!(i >= 0 && i < t1.length))\n" |
| " return A.ioore(t1, i);\n" |
| " return t1.charCodeAt(i);\n" |
| " }\n" |
| " };\n" |
| " A.nullFuture_closure.prototype = {\n" |
| " call\$0() {\n" |
| " return A.Future_Future\$value(null, type\$.void);\n" |
| " },\n" |
| " \$signature: 5\n" |
| " };\n" |
| " A.SentinelValue.prototype = {};\n" |
| " A.EfficientLengthIterable.prototype = {};\n" |
| " A.ListIterable.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " var _this = this;\n" |
| " return new A.ListIterator(_this, _this.get\$length(_this), A._instanceType(_this)._eval\$1(\"ListIterator<ListIterable.E>\"));\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this.get\$length(this) === 0;\n" |
| " },\n" |
| " get\$first(_) {\n" |
| " if (this.get\$length(this) === 0)\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " return this.elementAt\$1(0, 0);\n" |
| " },\n" |
| " contains\$1(_, element) {\n" |
| " var i, _this = this,\n" |
| " \$length = _this.get\$length(_this);\n" |
| " for (i = 0; i < \$length; ++i) {\n" |
| " if (J.\$eq\$(_this.elementAt\$1(0, i), element))\n" |
| " return true;\n" |
| " if (\$length !== _this.get\$length(_this))\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(_this));\n" |
| " }\n" |
| " return false;\n" |
| " },\n" |
| " join\$1(_, separator) {\n" |
| " var first, t1, i, _this = this,\n" |
| " \$length = _this.get\$length(_this);\n" |
| " if (separator.length !== 0) {\n" |
| " if (\$length === 0)\n" |
| " return \"\";\n" |
| " first = A.S(_this.elementAt\$1(0, 0));\n" |
| " if (\$length !== _this.get\$length(_this))\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(_this));\n" |
| " for (t1 = first, i = 1; i < \$length; ++i) {\n" |
| " t1 = t1 + separator + A.S(_this.elementAt\$1(0, i));\n" |
| " if (\$length !== _this.get\$length(_this))\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(_this));\n" |
| " }\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " } else {\n" |
| " for (i = 0, t1 = \"\"; i < \$length; ++i) {\n" |
| " t1 += A.S(_this.elementAt\$1(0, i));\n" |
| " if (\$length !== _this.get\$length(_this))\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(_this));\n" |
| " }\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " }\n" |
| " },\n" |
| " map\$1\$1(_, toElement, \$T) {\n" |
| " var t1 = A._instanceType(this);\n" |
| " return new A.MappedListIterable(this, t1._bind\$1(\$T)._eval\$1(\"1(ListIterable.E)\")._as(toElement), t1._eval\$1(\"@<ListIterable.E>\")._bind\$1(\$T)._eval\$1(\"MappedListIterable<1,2>\"));\n" |
| " },\n" |
| " reduce\$1(_, combine) {\n" |
| " var \$length, value, i, _this = this;\n" |
| " A._instanceType(_this)._eval\$1(\"ListIterable.E(ListIterable.E,ListIterable.E)\")._as(combine);\n" |
| " \$length = _this.get\$length(_this);\n" |
| " if (\$length === 0)\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " value = _this.elementAt\$1(0, 0);\n" |
| " for (i = 1; i < \$length; ++i) {\n" |
| " value = combine.call\$2(value, _this.elementAt\$1(0, i));\n" |
| " if (\$length !== _this.get\$length(_this))\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(_this));\n" |
| " }\n" |
| " return value;\n" |
| " },\n" |
| " skip\$1(_, count) {\n" |
| " return A.SubListIterable\$(this, count, null, A._instanceType(this)._eval\$1(\"ListIterable.E\"));\n" |
| " },\n" |
| " take\$1(_, count) {\n" |
| " return A.SubListIterable\$(this, 0, A.checkNotNullable(count, \"count\", type\$.int), A._instanceType(this)._eval\$1(\"ListIterable.E\"));\n" |
| " }\n" |
| " };\n" |
| " A.SubListIterable.prototype = {\n" |
| " SubListIterable\$3(_iterable, _start, _endOrLength, \$E) {\n" |
| " var endOrLength,\n" |
| " t1 = this._start;\n" |
| " A.RangeError_checkNotNegative(t1, \"start\");\n" |
| " endOrLength = this._endOrLength;\n" |
| " if (endOrLength != null) {\n" |
| " A.RangeError_checkNotNegative(endOrLength, \"end\");\n" |
| " if (t1 > endOrLength)\n" |
| " throw A.wrapException(A.RangeError\$range(t1, 0, endOrLength, \"start\", null));\n" |
| " }\n" |
| " },\n" |
| " get\$_endIndex() {\n" |
| " var \$length = J.get\$length\$asx(this.__internal\$_iterable),\n" |
| " endOrLength = this._endOrLength;\n" |
| " if (endOrLength == null || endOrLength > \$length)\n" |
| " return \$length;\n" |
| " return endOrLength;\n" |
| " },\n" |
| " get\$_startIndex() {\n" |
| " var \$length = J.get\$length\$asx(this.__internal\$_iterable),\n" |
| " t1 = this._start;\n" |
| " if (t1 > \$length)\n" |
| " return \$length;\n" |
| " return t1;\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " var endOrLength,\n" |
| " \$length = J.get\$length\$asx(this.__internal\$_iterable),\n" |
| " t1 = this._start;\n" |
| " if (t1 >= \$length)\n" |
| " return 0;\n" |
| " endOrLength = this._endOrLength;\n" |
| " if (endOrLength == null || endOrLength >= \$length)\n" |
| " return \$length - t1;\n" |
| " return endOrLength - t1;\n" |
| " },\n" |
| " elementAt\$1(_, index) {\n" |
| " var _this = this,\n" |
| " realIndex = _this.get\$_startIndex() + index;\n" |
| " if (index < 0 || realIndex >= _this.get\$_endIndex())\n" |
| " throw A.wrapException(A.IndexError\$withLength(index, _this.get\$length(0), _this, null, \"index\"));\n" |
| " return J.elementAt\$1\$ax(_this.__internal\$_iterable, realIndex);\n" |
| " },\n" |
| " skip\$1(_, count) {\n" |
| " var newStart, endOrLength, _this = this;\n" |
| " A.RangeError_checkNotNegative(count, \"count\");\n" |
| " newStart = _this._start + count;\n" |
| " endOrLength = _this._endOrLength;\n" |
| " if (endOrLength != null && newStart >= endOrLength)\n" |
| " return new A.EmptyIterable(_this.\$ti._eval\$1(\"EmptyIterable<1>\"));\n" |
| " return A.SubListIterable\$(_this.__internal\$_iterable, newStart, endOrLength, _this.\$ti._precomputed1);\n" |
| " },\n" |
| " take\$1(_, count) {\n" |
| " var endOrLength, t1, newEnd, _this = this;\n" |
| " A.RangeError_checkNotNegative(count, \"count\");\n" |
| " endOrLength = _this._endOrLength;\n" |
| " t1 = _this._start;\n" |
| " if (endOrLength == null)\n" |
| " return A.SubListIterable\$(_this.__internal\$_iterable, t1, B.JSInt_methods.\$add(t1, count), _this.\$ti._precomputed1);\n" |
| " else {\n" |
| " newEnd = B.JSInt_methods.\$add(t1, count);\n" |
| " if (endOrLength < newEnd)\n" |
| " return _this;\n" |
| " return A.SubListIterable\$(_this.__internal\$_iterable, t1, newEnd, _this.\$ti._precomputed1);\n" |
| " }\n" |
| " },\n" |
| " toList\$1\$growable(_, growable) {\n" |
| " var \$length, result, i, _this = this,\n" |
| " start = _this._start,\n" |
| " t1 = _this.__internal\$_iterable,\n" |
| " t2 = J.getInterceptor\$asx(t1),\n" |
| " end = t2.get\$length(t1),\n" |
| " endOrLength = _this._endOrLength;\n" |
| " if (endOrLength != null && endOrLength < end)\n" |
| " end = endOrLength;\n" |
| " \$length = end - start;\n" |
| " if (\$length <= 0) {\n" |
| " t1 = J.JSArray_JSArray\$fixed(0, _this.\$ti._precomputed1);\n" |
| " return t1;\n" |
| " }\n" |
| " result = A.List_List\$filled(\$length, t2.elementAt\$1(t1, start), false, _this.\$ti._precomputed1);\n" |
| " for (i = 1; i < \$length; ++i) {\n" |
| " B.JSArray_methods.\$indexSet(result, i, t2.elementAt\$1(t1, start + i));\n" |
| " if (t2.get\$length(t1) < end)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(_this));\n" |
| " }\n" |
| " return result;\n" |
| " }\n" |
| " };\n" |
| " A.ListIterator.prototype = {\n" |
| " get\$current() {\n" |
| " var t1 = this.__internal\$_current;\n" |
| " return t1 == null ? this.\$ti._precomputed1._as(t1) : t1;\n" |
| " },\n" |
| " moveNext\$0() {\n" |
| " var t3, _this = this,\n" |
| " t1 = _this.__internal\$_iterable,\n" |
| " t2 = J.getInterceptor\$asx(t1),\n" |
| " \$length = t2.get\$length(t1);\n" |
| " if (_this.__internal\$_length !== \$length)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(t1));\n" |
| " t3 = _this.__internal\$_index;\n" |
| " if (t3 >= \$length) {\n" |
| " _this.__internal\$_current = null;\n" |
| " return false;\n" |
| " }\n" |
| " _this.__internal\$_current = t2.elementAt\$1(t1, t3);\n" |
| " ++_this.__internal\$_index;\n" |
| " return true;\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.MappedIterable.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " return new A.MappedIterator(J.get\$iterator\$ax(this.__internal\$_iterable), this._f, A._instanceType(this)._eval\$1(\"MappedIterator<1,2>\"));\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " return J.get\$length\$asx(this.__internal\$_iterable);\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return J.get\$isEmpty\$asx(this.__internal\$_iterable);\n" |
| " },\n" |
| " get\$first(_) {\n" |
| " return this._f.call\$1(J.get\$first\$ax(this.__internal\$_iterable));\n" |
| " },\n" |
| " elementAt\$1(_, index) {\n" |
| " return this._f.call\$1(J.elementAt\$1\$ax(this.__internal\$_iterable, index));\n" |
| " }\n" |
| " };\n" |
| " A.EfficientLengthMappedIterable.prototype = {\$isEfficientLengthIterable: 1};\n" |
| " A.MappedIterator.prototype = {\n" |
| " moveNext\$0() {\n" |
| " var _this = this,\n" |
| " t1 = _this._iterator;\n" |
| " if (t1.moveNext\$0()) {\n" |
| " _this.__internal\$_current = _this._f.call\$1(t1.get\$current());\n" |
| " return true;\n" |
| " }\n" |
| " _this.__internal\$_current = null;\n" |
| " return false;\n" |
| " },\n" |
| " get\$current() {\n" |
| " var t1 = this.__internal\$_current;\n" |
| " return t1 == null ? this.\$ti._rest[1]._as(t1) : t1;\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.MappedListIterable.prototype = {\n" |
| " get\$length(_) {\n" |
| " return J.get\$length\$asx(this.__internal\$_source);\n" |
| " },\n" |
| " elementAt\$1(_, index) {\n" |
| " return this._f.call\$1(J.elementAt\$1\$ax(this.__internal\$_source, index));\n" |
| " }\n" |
| " };\n" |
| " A.WhereIterable.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " return new A.WhereIterator(J.get\$iterator\$ax(this.__internal\$_iterable), this._f, this.\$ti._eval\$1(\"WhereIterator<1>\"));\n" |
| " },\n" |
| " map\$1\$1(_, toElement, \$T) {\n" |
| " var t1 = this.\$ti;\n" |
| " return new A.MappedIterable(this, t1._bind\$1(\$T)._eval\$1(\"1(2)\")._as(toElement), t1._eval\$1(\"@<1>\")._bind\$1(\$T)._eval\$1(\"MappedIterable<1,2>\"));\n" |
| " }\n" |
| " };\n" |
| " A.WhereIterator.prototype = {\n" |
| " moveNext\$0() {\n" |
| " var t1, t2;\n" |
| " for (t1 = this._iterator, t2 = this._f; t1.moveNext\$0();)\n" |
| " if (t2.call\$1(t1.get\$current()))\n" |
| " return true;\n" |
| " return false;\n" |
| " },\n" |
| " get\$current() {\n" |
| " return this._iterator.get\$current();\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.ExpandIterable.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " return new A.ExpandIterator(J.get\$iterator\$ax(this.__internal\$_iterable), this._f, B.C_EmptyIterator, this.\$ti._eval\$1(\"ExpandIterator<1,2>\"));\n" |
| " }\n" |
| " };\n" |
| " A.ExpandIterator.prototype = {\n" |
| " get\$current() {\n" |
| " var t1 = this.__internal\$_current;\n" |
| " return t1 == null ? this.\$ti._rest[1]._as(t1) : t1;\n" |
| " },\n" |
| " moveNext\$0() {\n" |
| " var t2, t3, _this = this,\n" |
| " t1 = _this._currentExpansion;\n" |
| " if (t1 == null)\n" |
| " return false;\n" |
| " for (t2 = _this._iterator, t3 = _this._f; !t1.moveNext\$0();) {\n" |
| " _this.__internal\$_current = null;\n" |
| " if (t2.moveNext\$0()) {\n" |
| " _this._currentExpansion = null;\n" |
| " t1 = J.get\$iterator\$ax(t3.call\$1(t2.get\$current()));\n" |
| " _this._currentExpansion = t1;\n" |
| " } else\n" |
| " return false;\n" |
| " }\n" |
| " _this.__internal\$_current = _this._currentExpansion.get\$current();\n" |
| " return true;\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.TakeIterable.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " return new A.TakeIterator(J.get\$iterator\$ax(this.__internal\$_iterable), this._takeCount, A._instanceType(this)._eval\$1(\"TakeIterator<1>\"));\n" |
| " }\n" |
| " };\n" |
| " A.EfficientLengthTakeIterable.prototype = {\n" |
| " get\$length(_) {\n" |
| " var iterableLength = J.get\$length\$asx(this.__internal\$_iterable),\n" |
| " t1 = this._takeCount;\n" |
| " if (iterableLength > t1)\n" |
| " return t1;\n" |
| " return iterableLength;\n" |
| " },\n" |
| " \$isEfficientLengthIterable: 1\n" |
| " };\n" |
| " A.TakeIterator.prototype = {\n" |
| " moveNext\$0() {\n" |
| " if (--this._remaining >= 0)\n" |
| " return this._iterator.moveNext\$0();\n" |
| " this._remaining = -1;\n" |
| " return false;\n" |
| " },\n" |
| " get\$current() {\n" |
| " if (this._remaining < 0) {\n" |
| " this.\$ti._precomputed1._as(null);\n" |
| " return null;\n" |
| " }\n" |
| " return this._iterator.get\$current();\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.SkipIterable.prototype = {\n" |
| " skip\$1(_, count) {\n" |
| " A.ArgumentError_checkNotNull(count, \"count\", type\$.int);\n" |
| " A.RangeError_checkNotNegative(count, \"count\");\n" |
| " return new A.SkipIterable(this.__internal\$_iterable, this._skipCount + count, A._instanceType(this)._eval\$1(\"SkipIterable<1>\"));\n" |
| " },\n" |
| " get\$iterator(_) {\n" |
| " return new A.SkipIterator(J.get\$iterator\$ax(this.__internal\$_iterable), this._skipCount, A._instanceType(this)._eval\$1(\"SkipIterator<1>\"));\n" |
| " }\n" |
| " };\n" |
| " A.EfficientLengthSkipIterable.prototype = {\n" |
| " get\$length(_) {\n" |
| " var \$length = J.get\$length\$asx(this.__internal\$_iterable) - this._skipCount;\n" |
| " if (\$length >= 0)\n" |
| " return \$length;\n" |
| " return 0;\n" |
| " },\n" |
| " skip\$1(_, count) {\n" |
| " A.ArgumentError_checkNotNull(count, \"count\", type\$.int);\n" |
| " A.RangeError_checkNotNegative(count, \"count\");\n" |
| " return new A.EfficientLengthSkipIterable(this.__internal\$_iterable, this._skipCount + count, this.\$ti);\n" |
| " },\n" |
| " \$isEfficientLengthIterable: 1\n" |
| " };\n" |
| " A.SkipIterator.prototype = {\n" |
| " moveNext\$0() {\n" |
| " var t1, i;\n" |
| " for (t1 = this._iterator, i = 0; i < this._skipCount; ++i)\n" |
| " t1.moveNext\$0();\n" |
| " this._skipCount = 0;\n" |
| " return t1.moveNext\$0();\n" |
| " },\n" |
| " get\$current() {\n" |
| " return this._iterator.get\$current();\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.EmptyIterable.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " return B.C_EmptyIterator;\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return true;\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " return 0;\n" |
| " },\n" |
| " get\$first(_) {\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " },\n" |
| " elementAt\$1(_, index) {\n" |
| " throw A.wrapException(A.RangeError\$range(index, 0, 0, \"index\", null));\n" |
| " },\n" |
| " contains\$1(_, element) {\n" |
| " return false;\n" |
| " },\n" |
| " map\$1\$1(_, toElement, \$T) {\n" |
| " this.\$ti._bind\$1(\$T)._eval\$1(\"1(2)\")._as(toElement);\n" |
| " return new A.EmptyIterable(\$T._eval\$1(\"EmptyIterable<0>\"));\n" |
| " },\n" |
| " skip\$1(_, count) {\n" |
| " A.RangeError_checkNotNegative(count, \"count\");\n" |
| " return this;\n" |
| " },\n" |
| " take\$1(_, count) {\n" |
| " A.RangeError_checkNotNegative(count, \"count\");\n" |
| " return this;\n" |
| " },\n" |
| " toList\$1\$growable(_, growable) {\n" |
| " var t1 = J.JSArray_JSArray\$fixed(0, this.\$ti._precomputed1);\n" |
| " return t1;\n" |
| " }\n" |
| " };\n" |
| " A.EmptyIterator.prototype = {\n" |
| " moveNext\$0() {\n" |
| " return false;\n" |
| " },\n" |
| " get\$current() {\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.WhereTypeIterable.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " return new A.WhereTypeIterator(J.get\$iterator\$ax(this.__internal\$_source), this.\$ti._eval\$1(\"WhereTypeIterator<1>\"));\n" |
| " }\n" |
| " };\n" |
| " A.WhereTypeIterator.prototype = {\n" |
| " moveNext\$0() {\n" |
| " var t1, t2;\n" |
| " for (t1 = this.__internal\$_source, t2 = this.\$ti._precomputed1; t1.moveNext\$0();)\n" |
| " if (t2._is(t1.get\$current()))\n" |
| " return true;\n" |
| " return false;\n" |
| " },\n" |
| " get\$current() {\n" |
| " return this.\$ti._precomputed1._as(this.__internal\$_source.get\$current());\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.FixedLengthListMixin.prototype = {\n" |
| " set\$length(receiver, newLength) {\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Cannot change the length of a fixed-length list\"));\n" |
| " },\n" |
| " add\$1(receiver, value) {\n" |
| " A.instanceType(receiver)._eval\$1(\"FixedLengthListMixin.E\")._as(value);\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Cannot add to a fixed-length list\"));\n" |
| " }\n" |
| " };\n" |
| " A.UnmodifiableListMixin.prototype = {\n" |
| " \$indexSet(_, index, value) {\n" |
| " A._instanceType(this)._eval\$1(\"UnmodifiableListMixin.E\")._as(value);\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Cannot modify an unmodifiable list\"));\n" |
| " },\n" |
| " set\$length(_, newLength) {\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Cannot change the length of an unmodifiable list\"));\n" |
| " },\n" |
| " add\$1(_, value) {\n" |
| " A._instanceType(this)._eval\$1(\"UnmodifiableListMixin.E\")._as(value);\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Cannot add to an unmodifiable list\"));\n" |
| " },\n" |
| " sort\$1(_, compare) {\n" |
| " A._instanceType(this)._eval\$1(\"int(UnmodifiableListMixin.E,UnmodifiableListMixin.E)?\")._as(compare);\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Cannot modify an unmodifiable list\"));\n" |
| " },\n" |
| " fillRange\$3(_, start, end, fillValue) {\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Cannot modify an unmodifiable list\"));\n" |
| " }\n" |
| " };\n" |
| " A.UnmodifiableListBase.prototype = {};\n" |
| " A.ReversedListIterable.prototype = {\n" |
| " get\$length(_) {\n" |
| " return J.get\$length\$asx(this.__internal\$_source);\n" |
| " },\n" |
| " elementAt\$1(_, index) {\n" |
| " var t1 = this.__internal\$_source,\n" |
| " t2 = J.getInterceptor\$asx(t1);\n" |
| " return t2.elementAt\$1(t1, t2.get\$length(t1) - 1 - index);\n" |
| " }\n" |
| " };\n" |
| " A.__CastListBase__CastIterableBase_ListMixin.prototype = {};\n" |
| " A._Record_2.prototype = {\$recipe: \"+(1,2)\", \$shape: 1};\n" |
| " A.ConstantMap.prototype = {\n" |
| " cast\$2\$0(_, \$RK, \$RV) {\n" |
| " var t1 = A._instanceType(this);\n" |
| " return A.Map_castFrom(this, t1._precomputed1, t1._rest[1], \$RK, \$RV);\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this.get\$length(this) === 0;\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " return this.get\$length(this) !== 0;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return A.MapBase_mapToString(this);\n" |
| " },\n" |
| " \$indexSet(_, key, value) {\n" |
| " var t1 = A._instanceType(this);\n" |
| " t1._precomputed1._as(key);\n" |
| " t1._rest[1]._as(value);\n" |
| " A.ConstantMap__throwUnmodifiable();\n" |
| " },\n" |
| " \$isMap: 1\n" |
| " };\n" |
| " A.ConstantStringMap.prototype = {\n" |
| " get\$length(_) {\n" |
| " return this._values.length;\n" |
| " },\n" |
| " get\$__js_helper\$_keys() {\n" |
| " var keys = this.\$keys;\n" |
| " if (keys == null) {\n" |
| " keys = Object.keys(this._jsIndex);\n" |
| " this.\$keys = keys;\n" |
| " }\n" |
| " return keys;\n" |
| " },\n" |
| " containsKey\$1(key) {\n" |
| " if (typeof key != \"string\")\n" |
| " return false;\n" |
| " if (\"__proto__\" === key)\n" |
| " return false;\n" |
| " return this._jsIndex.hasOwnProperty(key);\n" |
| " },\n" |
| " \$index(_, key) {\n" |
| " if (!this.containsKey\$1(key))\n" |
| " return null;\n" |
| " return this._values[this._jsIndex[key]];\n" |
| " },\n" |
| " forEach\$1(_, f) {\n" |
| " var keys, values, t1, i;\n" |
| " this.\$ti._eval\$1(\"~(1,2)\")._as(f);\n" |
| " keys = this.get\$__js_helper\$_keys();\n" |
| " values = this._values;\n" |
| " for (t1 = keys.length, i = 0; i < t1; ++i)\n" |
| " f.call\$2(keys[i], values[i]);\n" |
| " },\n" |
| " get\$keys() {\n" |
| " return new A._KeysOrValues(this.get\$__js_helper\$_keys(), this.\$ti._eval\$1(\"_KeysOrValues<1>\"));\n" |
| " }\n" |
| " };\n" |
| " A._KeysOrValues.prototype = {\n" |
| " get\$length(_) {\n" |
| " return this._elements.length;\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return 0 === this._elements.length;\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " return 0 !== this._elements.length;\n" |
| " },\n" |
| " get\$iterator(_) {\n" |
| " var t1 = this._elements;\n" |
| " return new A._KeysOrValuesOrElementsIterator(t1, t1.length, this.\$ti._eval\$1(\"_KeysOrValuesOrElementsIterator<1>\"));\n" |
| " }\n" |
| " };\n" |
| " A._KeysOrValuesOrElementsIterator.prototype = {\n" |
| " get\$current() {\n" |
| " var t1 = this.__js_helper\$_current;\n" |
| " return t1 == null ? this.\$ti._precomputed1._as(t1) : t1;\n" |
| " },\n" |
| " moveNext\$0() {\n" |
| " var _this = this,\n" |
| " t1 = _this.__js_helper\$_index;\n" |
| " if (t1 >= _this.__js_helper\$_length) {\n" |
| " _this.__js_helper\$_current = null;\n" |
| " return false;\n" |
| " }\n" |
| " _this.__js_helper\$_current = _this._elements[t1];\n" |
| " _this.__js_helper\$_index = t1 + 1;\n" |
| " return true;\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.Instantiation.prototype = {\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return other instanceof A.Instantiation1 && this._genericClosure.\$eq(0, other._genericClosure) && A.getRuntimeTypeOfClosure(this) === A.getRuntimeTypeOfClosure(other);\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Object_hash(this._genericClosure, A.getRuntimeTypeOfClosure(this), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " var t1 = B.JSArray_methods.join\$1([A.createRuntimeType(this.\$ti._precomputed1)], \", \");\n" |
| " return this._genericClosure.toString\$0(0) + \" with \" + (\"<\" + t1 + \">\");\n" |
| " }\n" |
| " };\n" |
| " A.Instantiation1.prototype = {\n" |
| " call\$2(a0, a1) {\n" |
| " return this._genericClosure.call\$1\$2(a0, a1, this.\$ti._rest[0]);\n" |
| " },\n" |
| " call\$4(a0, a1, a2, a3) {\n" |
| " return this._genericClosure.call\$1\$4(a0, a1, a2, a3, this.\$ti._rest[0]);\n" |
| " },\n" |
| " \$signature() {\n" |
| " return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure), this.\$ti);\n" |
| " }\n" |
| " };\n" |
| " A.SafeToStringHook.prototype = {};\n" |
| " A.TypeErrorDecoder.prototype = {\n" |
| " matchTypeError\$1(message) {\n" |
| " var result, t1, _this = this,\n" |
| " match = new RegExp(_this._pattern).exec(message);\n" |
| " if (match == null)\n" |
| " return null;\n" |
| " result = Object.create(null);\n" |
| " t1 = _this._arguments;\n" |
| " if (t1 !== -1)\n" |
| " result.arguments = match[t1 + 1];\n" |
| " t1 = _this._argumentsExpr;\n" |
| " if (t1 !== -1)\n" |
| " result.argumentsExpr = match[t1 + 1];\n" |
| " t1 = _this._expr;\n" |
| " if (t1 !== -1)\n" |
| " result.expr = match[t1 + 1];\n" |
| " t1 = _this._method;\n" |
| " if (t1 !== -1)\n" |
| " result.method = match[t1 + 1];\n" |
| " t1 = _this._receiver;\n" |
| " if (t1 !== -1)\n" |
| " result.receiver = match[t1 + 1];\n" |
| " return result;\n" |
| " }\n" |
| " };\n" |
| " A.NullError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"Null check operator used on a null value\";\n" |
| " }\n" |
| " };\n" |
| " A.JsNoSuchMethodError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var t2, _this = this,\n" |
| " _s38_ = \"NoSuchMethodError: method not found: '\",\n" |
| " t1 = _this._method;\n" |
| " if (t1 == null)\n" |
| " return \"NoSuchMethodError: \" + _this.__js_helper\$_message;\n" |
| " t2 = _this._receiver;\n" |
| " if (t2 == null)\n" |
| " return _s38_ + t1 + \"' (\" + _this.__js_helper\$_message + \")\";\n" |
| " return _s38_ + t1 + \"' on '\" + t2 + \"' (\" + _this.__js_helper\$_message + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.UnknownJsTypeError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var t1 = this.__js_helper\$_message;\n" |
| " return t1.length === 0 ? \"Error\" : \"Error: \" + t1;\n" |
| " }\n" |
| " };\n" |
| " A.NullThrownFromJavaScriptException.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"Throw of null ('\" + (this._irritant === null ? \"null\" : \"undefined\") + \"' from JavaScript)\";\n" |
| " },\n" |
| " \$isException: 1\n" |
| " };\n" |
| " A.ExceptionAndStackTrace.prototype = {};\n" |
| " A._StackTrace.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var trace,\n" |
| " t1 = this._trace;\n" |
| " if (t1 != null)\n" |
| " return t1;\n" |
| " t1 = this._exception;\n" |
| " trace = t1 !== null && typeof t1 === \"object\" ? t1.stack : null;\n" |
| " return this._trace = trace == null ? \"\" : trace;\n" |
| " },\n" |
| " \$isStackTrace: 1\n" |
| " };\n" |
| " A.Closure.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var \$constructor = this.constructor,\n" |
| " \$name = \$constructor == null ? null : \$constructor.name;\n" |
| " return \"Closure '\" + A.unminifyOrTag(\$name == null ? \"unknown\" : \$name) + \"'\";\n" |
| " },\n" |
| " get\$runtimeType(_) {\n" |
| " var rti = A.closureFunctionType(this);\n" |
| " return A.createRuntimeType(rti == null ? A.instanceType(this) : rti);\n" |
| " },\n" |
| " \$isFunction: 1,\n" |
| " get\$\$call() {\n" |
| " return this;\n" |
| " },\n" |
| " \"call*\": \"call\$1\",\n" |
| " \$requiredArgCount: 1,\n" |
| " \$defaultValues: null\n" |
| " };\n" |
| " A.Closure0Args.prototype = {\"call*\": \"call\$0\", \$requiredArgCount: 0};\n" |
| " A.Closure2Args.prototype = {\"call*\": \"call\$2\", \$requiredArgCount: 2};\n" |
| " A.TearOffClosure.prototype = {};\n" |
| " A.StaticClosure.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var \$name = this.\$static_name;\n" |
| " if (\$name == null)\n" |
| " return \"Closure of unknown static method\";\n" |
| " return \"Closure '\" + A.unminifyOrTag(\$name) + \"'\";\n" |
| " }\n" |
| " };\n" |
| " A.BoundClosure.prototype = {\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (this === other)\n" |
| " return true;\n" |
| " if (!(other instanceof A.BoundClosure))\n" |
| " return false;\n" |
| " return this.\$_target === other.\$_target && this._receiver === other._receiver;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return (A.objectHashCode(this._receiver) ^ A.Primitives_objectHashCode(this.\$_target)) >>> 0;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"Closure '\" + this.\$_name + \"' of \" + (\"Instance of '\" + A.Primitives_objectTypeName(this._receiver) + \"'\");\n" |
| " }\n" |
| " };\n" |
| " A.RuntimeError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"RuntimeError: \" + this.message;\n" |
| " }\n" |
| " };\n" |
| " A.JsLinkedHashMap.prototype = {\n" |
| " get\$length(_) {\n" |
| " return this.__js_helper\$_length;\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this.__js_helper\$_length === 0;\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " return this.__js_helper\$_length !== 0;\n" |
| " },\n" |
| " get\$keys() {\n" |
| " return new A.LinkedHashMapKeysIterable(this, A._instanceType(this)._eval\$1(\"LinkedHashMapKeysIterable<1>\"));\n" |
| " },\n" |
| " containsKey\$1(key) {\n" |
| " var strings, nums;\n" |
| " if (typeof key == \"string\") {\n" |
| " strings = this.__js_helper\$_strings;\n" |
| " if (strings == null)\n" |
| " return false;\n" |
| " return strings[key] != null;\n" |
| " } else if (typeof key == \"number\" && (key & 0x3fffffff) === key) {\n" |
| " nums = this.__js_helper\$_nums;\n" |
| " if (nums == null)\n" |
| " return false;\n" |
| " return nums[key] != null;\n" |
| " } else\n" |
| " return this.internalContainsKey\$1(key);\n" |
| " },\n" |
| " internalContainsKey\$1(key) {\n" |
| " var rest = this.__js_helper\$_rest;\n" |
| " if (rest == null)\n" |
| " return false;\n" |
| " return this.internalFindBucketIndex\$2(rest[this.internalComputeHashCode\$1(key)], key) >= 0;\n" |
| " },\n" |
| " \$index(_, key) {\n" |
| " var strings, cell, t1, nums, _null = null;\n" |
| " if (typeof key == \"string\") {\n" |
| " strings = this.__js_helper\$_strings;\n" |
| " if (strings == null)\n" |
| " return _null;\n" |
| " cell = strings[key];\n" |
| " t1 = cell == null ? _null : cell.hashMapCellValue;\n" |
| " return t1;\n" |
| " } else if (typeof key == \"number\" && (key & 0x3fffffff) === key) {\n" |
| " nums = this.__js_helper\$_nums;\n" |
| " if (nums == null)\n" |
| " return _null;\n" |
| " cell = nums[key];\n" |
| " t1 = cell == null ? _null : cell.hashMapCellValue;\n" |
| " return t1;\n" |
| " } else\n" |
| " return this.internalGet\$1(key);\n" |
| " },\n" |
| " internalGet\$1(key) {\n" |
| " var bucket, index,\n" |
| " rest = this.__js_helper\$_rest;\n" |
| " if (rest == null)\n" |
| " return null;\n" |
| " bucket = rest[this.internalComputeHashCode\$1(key)];\n" |
| " index = this.internalFindBucketIndex\$2(bucket, key);\n" |
| " if (index < 0)\n" |
| " return null;\n" |
| " return bucket[index].hashMapCellValue;\n" |
| " },\n" |
| " \$indexSet(_, key, value) {\n" |
| " var strings, nums, _this = this,\n" |
| " t1 = A._instanceType(_this);\n" |
| " t1._precomputed1._as(key);\n" |
| " t1._rest[1]._as(value);\n" |
| " if (typeof key == \"string\") {\n" |
| " strings = _this.__js_helper\$_strings;\n" |
| " _this._addHashTableEntry\$3(strings == null ? _this.__js_helper\$_strings = _this._newHashTable\$0() : strings, key, value);\n" |
| " } else if (typeof key == \"number\" && (key & 0x3fffffff) === key) {\n" |
| " nums = _this.__js_helper\$_nums;\n" |
| " _this._addHashTableEntry\$3(nums == null ? _this.__js_helper\$_nums = _this._newHashTable\$0() : nums, key, value);\n" |
| " } else\n" |
| " _this.internalSet\$2(key, value);\n" |
| " },\n" |
| " internalSet\$2(key, value) {\n" |
| " var rest, hash, bucket, index, _this = this,\n" |
| " t1 = A._instanceType(_this);\n" |
| " t1._precomputed1._as(key);\n" |
| " t1._rest[1]._as(value);\n" |
| " rest = _this.__js_helper\$_rest;\n" |
| " if (rest == null)\n" |
| " rest = _this.__js_helper\$_rest = _this._newHashTable\$0();\n" |
| " hash = _this.internalComputeHashCode\$1(key);\n" |
| " bucket = rest[hash];\n" |
| " if (bucket == null)\n" |
| " rest[hash] = [_this._newLinkedCell\$2(key, value)];\n" |
| " else {\n" |
| " index = _this.internalFindBucketIndex\$2(bucket, key);\n" |
| " if (index >= 0)\n" |
| " bucket[index].hashMapCellValue = value;\n" |
| " else\n" |
| " bucket.push(_this._newLinkedCell\$2(key, value));\n" |
| " }\n" |
| " },\n" |
| " putIfAbsent\$2(key, ifAbsent) {\n" |
| " var t2, value, _this = this,\n" |
| " t1 = A._instanceType(_this);\n" |
| " t1._precomputed1._as(key);\n" |
| " t1._eval\$1(\"2()\")._as(ifAbsent);\n" |
| " if (_this.containsKey\$1(key)) {\n" |
| " t2 = _this.\$index(0, key);\n" |
| " return t2 == null ? t1._rest[1]._as(t2) : t2;\n" |
| " }\n" |
| " value = ifAbsent.call\$0();\n" |
| " _this.\$indexSet(0, key, value);\n" |
| " return value;\n" |
| " },\n" |
| " forEach\$1(_, action) {\n" |
| " var cell, modifications, _this = this;\n" |
| " A._instanceType(_this)._eval\$1(\"~(1,2)\")._as(action);\n" |
| " cell = _this._first;\n" |
| " modifications = _this._modifications;\n" |
| " while (cell != null) {\n" |
| " action.call\$2(cell.hashMapCellKey, cell.hashMapCellValue);\n" |
| " if (modifications !== _this._modifications)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(_this));\n" |
| " cell = cell._next;\n" |
| " }\n" |
| " },\n" |
| " _addHashTableEntry\$3(table, key, value) {\n" |
| " var cell,\n" |
| " t1 = A._instanceType(this);\n" |
| " t1._precomputed1._as(key);\n" |
| " t1._rest[1]._as(value);\n" |
| " cell = table[key];\n" |
| " if (cell == null)\n" |
| " table[key] = this._newLinkedCell\$2(key, value);\n" |
| " else\n" |
| " cell.hashMapCellValue = value;\n" |
| " },\n" |
| " _modified\$0() {\n" |
| " this._modifications = this._modifications + 1 & 1073741823;\n" |
| " },\n" |
| " _newLinkedCell\$2(key, value) {\n" |
| " var _this = this,\n" |
| " t1 = A._instanceType(_this),\n" |
| " cell = new A.LinkedHashMapCell(t1._precomputed1._as(key), t1._rest[1]._as(value));\n" |
| " if (_this._first == null)\n" |
| " _this._first = _this._last = cell;\n" |
| " else {\n" |
| " t1 = _this._last;\n" |
| " t1.toString;\n" |
| " cell._previous = t1;\n" |
| " _this._last = t1._next = cell;\n" |
| " }\n" |
| " ++_this.__js_helper\$_length;\n" |
| " _this._modified\$0();\n" |
| " return cell;\n" |
| " },\n" |
| " internalComputeHashCode\$1(key) {\n" |
| " return J.get\$hashCode\$(key) & 1073741823;\n" |
| " },\n" |
| " internalFindBucketIndex\$2(bucket, key) {\n" |
| " var \$length, i;\n" |
| " if (bucket == null)\n" |
| " return -1;\n" |
| " \$length = bucket.length;\n" |
| " for (i = 0; i < \$length; ++i)\n" |
| " if (J.\$eq\$(bucket[i].hashMapCellKey, key))\n" |
| " return i;\n" |
| " return -1;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return A.MapBase_mapToString(this);\n" |
| " },\n" |
| " _newHashTable\$0() {\n" |
| " var table = Object.create(null);\n" |
| " table[\"<non-identifier-key>\"] = table;\n" |
| " delete table[\"<non-identifier-key>\"];\n" |
| " return table;\n" |
| " },\n" |
| " \$isLinkedHashMap: 1\n" |
| " };\n" |
| " A.LinkedHashMapCell.prototype = {};\n" |
| " A.LinkedHashMapKeysIterable.prototype = {\n" |
| " get\$length(_) {\n" |
| " return this.__js_helper\$_map.__js_helper\$_length;\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this.__js_helper\$_map.__js_helper\$_length === 0;\n" |
| " },\n" |
| " get\$iterator(_) {\n" |
| " var t1 = this.__js_helper\$_map;\n" |
| " return new A.LinkedHashMapKeyIterator(t1, t1._modifications, t1._first, this.\$ti._eval\$1(\"LinkedHashMapKeyIterator<1>\"));\n" |
| " },\n" |
| " contains\$1(_, element) {\n" |
| " return this.__js_helper\$_map.containsKey\$1(element);\n" |
| " }\n" |
| " };\n" |
| " A.LinkedHashMapKeyIterator.prototype = {\n" |
| " get\$current() {\n" |
| " return this.__js_helper\$_current;\n" |
| " },\n" |
| " moveNext\$0() {\n" |
| " var cell, _this = this,\n" |
| " t1 = _this.__js_helper\$_map;\n" |
| " if (_this._modifications !== t1._modifications)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(t1));\n" |
| " cell = _this._cell;\n" |
| " if (cell == null) {\n" |
| " _this.__js_helper\$_current = null;\n" |
| " return false;\n" |
| " } else {\n" |
| " _this.__js_helper\$_current = cell.hashMapCellKey;\n" |
| " _this._cell = cell._next;\n" |
| " return true;\n" |
| " }\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.LinkedHashMapValuesIterable.prototype = {\n" |
| " get\$length(_) {\n" |
| " return this.__js_helper\$_map.__js_helper\$_length;\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this.__js_helper\$_map.__js_helper\$_length === 0;\n" |
| " },\n" |
| " get\$iterator(_) {\n" |
| " var t1 = this.__js_helper\$_map;\n" |
| " return new A.LinkedHashMapValueIterator(t1, t1._modifications, t1._first, this.\$ti._eval\$1(\"LinkedHashMapValueIterator<1>\"));\n" |
| " }\n" |
| " };\n" |
| " A.LinkedHashMapValueIterator.prototype = {\n" |
| " get\$current() {\n" |
| " return this.__js_helper\$_current;\n" |
| " },\n" |
| " moveNext\$0() {\n" |
| " var cell, _this = this,\n" |
| " t1 = _this.__js_helper\$_map;\n" |
| " if (_this._modifications !== t1._modifications)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(t1));\n" |
| " cell = _this._cell;\n" |
| " if (cell == null) {\n" |
| " _this.__js_helper\$_current = null;\n" |
| " return false;\n" |
| " } else {\n" |
| " _this.__js_helper\$_current = cell.hashMapCellValue;\n" |
| " _this._cell = cell._next;\n" |
| " return true;\n" |
| " }\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.LinkedHashMapEntriesIterable.prototype = {\n" |
| " get\$length(_) {\n" |
| " return this.__js_helper\$_map.__js_helper\$_length;\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this.__js_helper\$_map.__js_helper\$_length === 0;\n" |
| " },\n" |
| " get\$iterator(_) {\n" |
| " var t1 = this.__js_helper\$_map;\n" |
| " return new A.LinkedHashMapEntryIterator(t1, t1._modifications, t1._first, this.\$ti._eval\$1(\"LinkedHashMapEntryIterator<1,2>\"));\n" |
| " }\n" |
| " };\n" |
| " A.LinkedHashMapEntryIterator.prototype = {\n" |
| " get\$current() {\n" |
| " var t1 = this.__js_helper\$_current;\n" |
| " t1.toString;\n" |
| " return t1;\n" |
| " },\n" |
| " moveNext\$0() {\n" |
| " var cell, _this = this,\n" |
| " t1 = _this.__js_helper\$_map;\n" |
| " if (_this._modifications !== t1._modifications)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(t1));\n" |
| " cell = _this._cell;\n" |
| " if (cell == null) {\n" |
| " _this.__js_helper\$_current = null;\n" |
| " return false;\n" |
| " } else {\n" |
| " _this.__js_helper\$_current = new A.MapEntry(cell.hashMapCellKey, cell.hashMapCellValue, _this.\$ti._eval\$1(\"MapEntry<1,2>\"));\n" |
| " _this._cell = cell._next;\n" |
| " return true;\n" |
| " }\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.JsIdentityLinkedHashMap.prototype = {\n" |
| " internalComputeHashCode\$1(key) {\n" |
| " return A.objectHashCode(key) & 1073741823;\n" |
| " },\n" |
| " internalFindBucketIndex\$2(bucket, key) {\n" |
| " var \$length, i, t1;\n" |
| " if (bucket == null)\n" |
| " return -1;\n" |
| " \$length = bucket.length;\n" |
| " for (i = 0; i < \$length; ++i) {\n" |
| " t1 = bucket[i].hashMapCellKey;\n" |
| " if (t1 == null ? key == null : t1 === key)\n" |
| " return i;\n" |
| " }\n" |
| " return -1;\n" |
| " }\n" |
| " };\n" |
| " A.initHooks_closure.prototype = {\n" |
| " call\$1(o) {\n" |
| " return this.getTag(o);\n" |
| " },\n" |
| " \$signature: 16\n" |
| " };\n" |
| " A.initHooks_closure0.prototype = {\n" |
| " call\$2(o, tag) {\n" |
| " return this.getUnknownTag(o, tag);\n" |
| " },\n" |
| " \$signature: 58\n" |
| " };\n" |
| " A.initHooks_closure1.prototype = {\n" |
| " call\$1(tag) {\n" |
| " return this.prototypeForTag(A._asString(tag));\n" |
| " },\n" |
| " \$signature: 55\n" |
| " };\n" |
| " A._Record.prototype = {\n" |
| " get\$runtimeType(_) {\n" |
| " return A.createRuntimeType(this._getRti\$0());\n" |
| " },\n" |
| " _getRti\$0() {\n" |
| " return A.evaluateRtiForRecord(this.\$recipe, this._getFieldValues\$0());\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return this._toString\$1(false);\n" |
| " },\n" |
| " _toString\$1(safe) {\n" |
| " var t2, separator, i, key, value,\n" |
| " keys = this._fieldKeys\$0(),\n" |
| " values = this._getFieldValues\$0(),\n" |
| " t1 = (safe ? \"Record \" : \"\") + \"(\";\n" |
| " for (t2 = keys.length, separator = \"\", i = 0; i < t2; ++i, separator = \", \") {\n" |
| " t1 += separator;\n" |
| " key = keys[i];\n" |
| " if (typeof key == \"string\")\n" |
| " t1 = t1 + key + \": \";\n" |
| " if (!(i < values.length))\n" |
| " return A.ioore(values, i);\n" |
| " value = values[i];\n" |
| " t1 = safe ? t1 + A.Primitives_safeToString(value) : t1 + A.S(value);\n" |
| " }\n" |
| " t1 += \")\";\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " _fieldKeys\$0() {\n" |
| " var t1,\n" |
| " shapeTag = this.\$shape;\n" |
| " while (\$._Record__computedFieldKeys.length <= shapeTag)\n" |
| " B.JSArray_methods.add\$1(\$._Record__computedFieldKeys, null);\n" |
| " t1 = \$._Record__computedFieldKeys[shapeTag];\n" |
| " if (t1 == null) {\n" |
| " t1 = this._computeFieldKeys\$0();\n" |
| " B.JSArray_methods.\$indexSet(\$._Record__computedFieldKeys, shapeTag, t1);\n" |
| " }\n" |
| " return t1;\n" |
| " },\n" |
| " _computeFieldKeys\$0() {\n" |
| " var i, names, last,\n" |
| " recipe = this.\$recipe,\n" |
| " position = recipe.indexOf(\"(\"),\n" |
| " joinedNames = recipe.substring(1, position),\n" |
| " fields = recipe.substring(position),\n" |
| " arity = fields === \"()\" ? 0 : fields.replace(/[^,]/g, \"\").length + 1,\n" |
| " t1 = type\$.Object,\n" |
| " result = J.JSArray_JSArray\$allocateGrowable(arity, t1);\n" |
| " for (i = 0; i < arity; ++i)\n" |
| " result[i] = i;\n" |
| " if (joinedNames !== \"\") {\n" |
| " names = joinedNames.split(\",\");\n" |
| " i = names.length;\n" |
| " for (last = arity; i > 0;) {\n" |
| " --last;\n" |
| " --i;\n" |
| " B.JSArray_methods.\$indexSet(result, last, names[i]);\n" |
| " }\n" |
| " }\n" |
| " return A.List_List\$unmodifiable(result, t1);\n" |
| " }\n" |
| " };\n" |
| " A._Record2.prototype = {\n" |
| " _getFieldValues\$0() {\n" |
| " return [this._0, this._1];\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return other instanceof A._Record2 && this.\$shape === other.\$shape && J.\$eq\$(this._0, other._0) && J.\$eq\$(this._1, other._1);\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Object_hash(this.\$shape, this._0, this._1, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue);\n" |
| " }\n" |
| " };\n" |
| " A.JSSyntaxRegExp.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"RegExp/\" + this.pattern + \"/\" + this._nativeRegExp.flags;\n" |
| " },\n" |
| " get\$_nativeGlobalVersion() {\n" |
| " var _this = this,\n" |
| " t1 = _this._nativeGlobalRegExp;\n" |
| " if (t1 != null)\n" |
| " return t1;\n" |
| " t1 = _this._nativeRegExp;\n" |
| " return _this._nativeGlobalRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, \"g\");\n" |
| " },\n" |
| " get\$_nativeAnchoredVersion() {\n" |
| " var _this = this,\n" |
| " t1 = _this._nativeAnchoredRegExp;\n" |
| " if (t1 != null)\n" |
| " return t1;\n" |
| " t1 = _this._nativeRegExp;\n" |
| " return _this._nativeAnchoredRegExp = A.JSSyntaxRegExp_makeNative(_this.pattern, t1.multiline, !t1.ignoreCase, t1.unicode, t1.dotAll, \"y\");\n" |
| " },\n" |
| " allMatches\$2(_, string, start) {\n" |
| " var t1 = string.length;\n" |
| " if (start > t1)\n" |
| " throw A.wrapException(A.RangeError\$range(start, 0, t1, null, null));\n" |
| " return new A._AllMatchesIterable(this, string, start);\n" |
| " },\n" |
| " allMatches\$1(_, string) {\n" |
| " return this.allMatches\$2(0, string, 0);\n" |
| " },\n" |
| " _execGlobal\$2(string, start) {\n" |
| " var match,\n" |
| " regexp = this.get\$_nativeGlobalVersion();\n" |
| " if (regexp == null)\n" |
| " regexp = A._asObject(regexp);\n" |
| " regexp.lastIndex = start;\n" |
| " match = regexp.exec(string);\n" |
| " if (match == null)\n" |
| " return null;\n" |
| " return new A._MatchImplementation(match);\n" |
| " },\n" |
| " _execAnchored\$2(string, start) {\n" |
| " var match,\n" |
| " regexp = this.get\$_nativeAnchoredVersion();\n" |
| " if (regexp == null)\n" |
| " regexp = A._asObject(regexp);\n" |
| " regexp.lastIndex = start;\n" |
| " match = regexp.exec(string);\n" |
| " if (match == null)\n" |
| " return null;\n" |
| " return new A._MatchImplementation(match);\n" |
| " },\n" |
| " matchAsPrefix\$2(_, string, start) {\n" |
| " if (start < 0 || start > string.length)\n" |
| " throw A.wrapException(A.RangeError\$range(start, 0, string.length, null, null));\n" |
| " return this._execAnchored\$2(string, start);\n" |
| " },\n" |
| " \$isPattern: 1,\n" |
| " \$isRegExp: 1\n" |
| " };\n" |
| " A._MatchImplementation.prototype = {\n" |
| " get\$start() {\n" |
| " return this._match.index;\n" |
| " },\n" |
| " get\$end() {\n" |
| " var t1 = this._match;\n" |
| " return t1.index + t1[0].length;\n" |
| " },\n" |
| " \$index(_, index) {\n" |
| " var t1 = this._match;\n" |
| " if (!(index < t1.length))\n" |
| " return A.ioore(t1, index);\n" |
| " return t1[index];\n" |
| " },\n" |
| " \$isMatch: 1,\n" |
| " \$isRegExpMatch: 1\n" |
| " };\n" |
| " A._AllMatchesIterable.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " return new A._AllMatchesIterator(this._re, this._string, this.__js_helper\$_start);\n" |
| " }\n" |
| " };\n" |
| " A._AllMatchesIterator.prototype = {\n" |
| " get\$current() {\n" |
| " var t1 = this.__js_helper\$_current;\n" |
| " return t1 == null ? type\$.RegExpMatch._as(t1) : t1;\n" |
| " },\n" |
| " moveNext\$0() {\n" |
| " var t1, t2, t3, match, nextIndex, t4, _this = this,\n" |
| " string = _this._string;\n" |
| " if (string == null)\n" |
| " return false;\n" |
| " t1 = _this._nextIndex;\n" |
| " t2 = string.length;\n" |
| " if (t1 <= t2) {\n" |
| " t3 = _this._regExp;\n" |
| " match = t3._execGlobal\$2(string, t1);\n" |
| " if (match != null) {\n" |
| " _this.__js_helper\$_current = match;\n" |
| " nextIndex = match.get\$end();\n" |
| " if (match._match.index === nextIndex) {\n" |
| " t1 = false;\n" |
| " if (t3._nativeRegExp.unicode) {\n" |
| " t3 = _this._nextIndex;\n" |
| " t4 = t3 + 1;\n" |
| " if (t4 < t2) {\n" |
| " if (!(t3 >= 0 && t3 < t2))\n" |
| " return A.ioore(string, t3);\n" |
| " t3 = string.charCodeAt(t3);\n" |
| " if (t3 >= 55296 && t3 <= 56319) {\n" |
| " if (!(t4 >= 0))\n" |
| " return A.ioore(string, t4);\n" |
| " t1 = string.charCodeAt(t4);\n" |
| " t1 = t1 >= 56320 && t1 <= 57343;\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " nextIndex = (t1 ? nextIndex + 1 : nextIndex) + 1;\n" |
| " }\n" |
| " _this._nextIndex = nextIndex;\n" |
| " return true;\n" |
| " }\n" |
| " }\n" |
| " _this._string = _this.__js_helper\$_current = null;\n" |
| " return false;\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.StringMatch.prototype = {\n" |
| " get\$end() {\n" |
| " return this.start + this.pattern.length;\n" |
| " },\n" |
| " \$index(_, group) {\n" |
| " if (group !== 0)\n" |
| " throw A.wrapException(A.RangeError\$value(group, null));\n" |
| " return this.pattern;\n" |
| " },\n" |
| " \$isMatch: 1,\n" |
| " get\$start() {\n" |
| " return this.start;\n" |
| " }\n" |
| " };\n" |
| " A._StringAllMatchesIterable.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " return new A._StringAllMatchesIterator(this._input, this._pattern, this.__js_helper\$_index);\n" |
| " },\n" |
| " get\$first(_) {\n" |
| " var t1 = this._pattern,\n" |
| " index = this._input.indexOf(t1, this.__js_helper\$_index);\n" |
| " if (index >= 0)\n" |
| " return new A.StringMatch(index, t1);\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " }\n" |
| " };\n" |
| " A._StringAllMatchesIterator.prototype = {\n" |
| " moveNext\$0() {\n" |
| " var index, end, _this = this,\n" |
| " t1 = _this.__js_helper\$_index,\n" |
| " t2 = _this._pattern,\n" |
| " t3 = t2.length,\n" |
| " t4 = _this._input,\n" |
| " t5 = t4.length;\n" |
| " if (t1 + t3 > t5) {\n" |
| " _this.__js_helper\$_current = null;\n" |
| " return false;\n" |
| " }\n" |
| " index = t4.indexOf(t2, t1);\n" |
| " if (index < 0) {\n" |
| " _this.__js_helper\$_index = t5 + 1;\n" |
| " _this.__js_helper\$_current = null;\n" |
| " return false;\n" |
| " }\n" |
| " end = index + t3;\n" |
| " _this.__js_helper\$_current = new A.StringMatch(index, t2);\n" |
| " _this.__js_helper\$_index = end === _this.__js_helper\$_index ? end + 1 : end;\n" |
| " return true;\n" |
| " },\n" |
| " get\$current() {\n" |
| " var t1 = this.__js_helper\$_current;\n" |
| " t1.toString;\n" |
| " return t1;\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A._Cell.prototype = {\n" |
| " _readLocal\$0() {\n" |
| " var t1 = this.__late_helper\$_value;\n" |
| " if (t1 === this)\n" |
| " throw A.wrapException(new A.LateError(\"Local '\" + this.__late_helper\$_name + \"' has not been initialized.\"));\n" |
| " return t1;\n" |
| " }\n" |
| " };\n" |
| " A.NativeByteBuffer.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return B.Type_ByteBuffer_rqD;\n" |
| " },\n" |
| " asUint8List\$2(receiver, offsetInBytes, \$length) {\n" |
| " return \$length == null ? new Uint8Array(receiver, offsetInBytes) : new Uint8Array(receiver, offsetInBytes, \$length);\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isNativeByteBuffer: 1,\n" |
| " \$isByteBuffer: 1\n" |
| " };\n" |
| " A.NativeArrayBuffer.prototype = {\$isNativeArrayBuffer: 1};\n" |
| " A.NativeTypedData.prototype = {\n" |
| " get\$buffer(receiver) {\n" |
| " if (((receiver.\$flags | 0) & 2) !== 0)\n" |
| " return new A._UnmodifiableNativeByteBufferView(receiver.buffer);\n" |
| " else\n" |
| " return receiver.buffer;\n" |
| " },\n" |
| " _invalidPosition\$3(receiver, position, \$length, \$name) {\n" |
| " var t1 = A.RangeError\$range(position, 0, \$length, \$name, null);\n" |
| " throw A.wrapException(t1);\n" |
| " },\n" |
| " _checkPosition\$3(receiver, position, \$length, \$name) {\n" |
| " if (position >>> 0 !== position || position > \$length)\n" |
| " this._invalidPosition\$3(receiver, position, \$length, \$name);\n" |
| " }\n" |
| " };\n" |
| " A._UnmodifiableNativeByteBufferView.prototype = {\n" |
| " asUint8List\$2(_, offsetInBytes, \$length) {\n" |
| " var result = A.NativeUint8List_NativeUint8List\$view(this.__native_typed_data\$_data, offsetInBytes, \$length);\n" |
| " result.\$flags = 3;\n" |
| " return result;\n" |
| " },\n" |
| " \$isByteBuffer: 1\n" |
| " };\n" |
| " A.NativeByteData.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return B.Type_ByteData_9dB;\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isByteData: 1\n" |
| " };\n" |
| " A.NativeTypedArray.prototype = {\n" |
| " get\$length(receiver) {\n" |
| " return receiver.length;\n" |
| " },\n" |
| " _setRangeFast\$4(receiver, start, end, source, skipCount) {\n" |
| " var count, sourceLength,\n" |
| " targetLength = receiver.length;\n" |
| " this._checkPosition\$3(receiver, start, targetLength, \"start\");\n" |
| " this._checkPosition\$3(receiver, end, targetLength, \"end\");\n" |
| " if (start > end)\n" |
| " throw A.wrapException(A.RangeError\$range(start, 0, end, null, null));\n" |
| " count = end - start;\n" |
| " if (skipCount < 0)\n" |
| " throw A.wrapException(A.ArgumentError\$(skipCount, null));\n" |
| " sourceLength = source.length;\n" |
| " if (sourceLength - skipCount < count)\n" |
| " throw A.wrapException(A.StateError\$(\"Not enough elements\"));\n" |
| " if (skipCount !== 0 || sourceLength !== count)\n" |
| " source = source.subarray(skipCount, skipCount + count);\n" |
| " receiver.set(source, start);\n" |
| " },\n" |
| " \$isJavaScriptIndexingBehavior: 1\n" |
| " };\n" |
| " A.NativeTypedArrayOfDouble.prototype = {\n" |
| " \$index(receiver, index) {\n" |
| " A._checkValidIndex(index, receiver, receiver.length);\n" |
| " return receiver[index];\n" |
| " },\n" |
| " \$indexSet(receiver, index, value) {\n" |
| " A._asDouble(value);\n" |
| " receiver.\$flags & 2 && A.throwUnsupportedOperation(receiver);\n" |
| " A._checkValidIndex(index, receiver, receiver.length);\n" |
| " receiver[index] = value;\n" |
| " },\n" |
| " \$isEfficientLengthIterable: 1,\n" |
| " \$isIterable: 1,\n" |
| " \$isList: 1\n" |
| " };\n" |
| " A.NativeTypedArrayOfInt.prototype = {\n" |
| " \$indexSet(receiver, index, value) {\n" |
| " A._asInt(value);\n" |
| " receiver.\$flags & 2 && A.throwUnsupportedOperation(receiver);\n" |
| " A._checkValidIndex(index, receiver, receiver.length);\n" |
| " receiver[index] = value;\n" |
| " },\n" |
| " setRange\$4(receiver, start, end, iterable, skipCount) {\n" |
| " type\$.Iterable_int._as(iterable);\n" |
| " receiver.\$flags & 2 && A.throwUnsupportedOperation(receiver, 5);\n" |
| " if (type\$.NativeTypedArrayOfInt._is(iterable)) {\n" |
| " this._setRangeFast\$4(receiver, start, end, iterable, skipCount);\n" |
| " return;\n" |
| " }\n" |
| " this.super\$ListBase\$setRange(receiver, start, end, iterable, skipCount);\n" |
| " },\n" |
| " setRange\$3(receiver, start, end, iterable) {\n" |
| " return this.setRange\$4(receiver, start, end, iterable, 0);\n" |
| " },\n" |
| " \$isEfficientLengthIterable: 1,\n" |
| " \$isIterable: 1,\n" |
| " \$isList: 1\n" |
| " };\n" |
| " A.NativeFloat32List.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return B.Type_Float32List_9Kz;\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isFloat32List: 1\n" |
| " };\n" |
| " A.NativeFloat64List.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return B.Type_Float64List_9Kz;\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isFloat64List: 1\n" |
| " };\n" |
| " A.NativeInt16List.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return B.Type_Int16List_s5h;\n" |
| " },\n" |
| " \$index(receiver, index) {\n" |
| " A._checkValidIndex(index, receiver, receiver.length);\n" |
| " return receiver[index];\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isInt16List: 1\n" |
| " };\n" |
| " A.NativeInt32List.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return B.Type_Int32List_O8Z;\n" |
| " },\n" |
| " \$index(receiver, index) {\n" |
| " A._checkValidIndex(index, receiver, receiver.length);\n" |
| " return receiver[index];\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isInt32List: 1\n" |
| " };\n" |
| " A.NativeInt8List.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return B.Type_Int8List_rFV;\n" |
| " },\n" |
| " \$index(receiver, index) {\n" |
| " A._checkValidIndex(index, receiver, receiver.length);\n" |
| " return receiver[index];\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isInt8List: 1\n" |
| " };\n" |
| " A.NativeUint16List.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return B.Type_Uint16List_kmP;\n" |
| " },\n" |
| " \$index(receiver, index) {\n" |
| " A._checkValidIndex(index, receiver, receiver.length);\n" |
| " return receiver[index];\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isUint16List: 1\n" |
| " };\n" |
| " A.NativeUint32List.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return B.Type_Uint32List_kmP;\n" |
| " },\n" |
| " \$index(receiver, index) {\n" |
| " A._checkValidIndex(index, receiver, receiver.length);\n" |
| " return receiver[index];\n" |
| " },\n" |
| " sublist\$2(receiver, start, end) {\n" |
| " return new Uint32Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isUint32List: 1\n" |
| " };\n" |
| " A.NativeUint8ClampedList.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return B.Type_Uint8ClampedList_04U;\n" |
| " },\n" |
| " get\$length(receiver) {\n" |
| " return receiver.length;\n" |
| " },\n" |
| " \$index(receiver, index) {\n" |
| " A._checkValidIndex(index, receiver, receiver.length);\n" |
| " return receiver[index];\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isUint8ClampedList: 1\n" |
| " };\n" |
| " A.NativeUint8List.prototype = {\n" |
| " get\$runtimeType(receiver) {\n" |
| " return B.Type_Uint8List_8Eb;\n" |
| " },\n" |
| " get\$length(receiver) {\n" |
| " return receiver.length;\n" |
| " },\n" |
| " \$index(receiver, index) {\n" |
| " A._checkValidIndex(index, receiver, receiver.length);\n" |
| " return receiver[index];\n" |
| " },\n" |
| " sublist\$2(receiver, start, end) {\n" |
| " return new Uint8Array(receiver.subarray(start, A._checkValidRange(start, end, receiver.length)));\n" |
| " },\n" |
| " \$isTrustedGetRuntimeType: 1,\n" |
| " \$isNativeUint8List: 1,\n" |
| " \$isUint8List: 1\n" |
| " };\n" |
| " A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype = {};\n" |
| " A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};\n" |
| " A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype = {};\n" |
| " A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype = {};\n" |
| " A.Rti.prototype = {\n" |
| " _eval\$1(recipe) {\n" |
| " return A._Universe_evalInEnvironment(init.typeUniverse, this, recipe);\n" |
| " },\n" |
| " _bind\$1(typeOrTuple) {\n" |
| " return A._Universe_bind(init.typeUniverse, this, typeOrTuple);\n" |
| " }\n" |
| " };\n" |
| " A._FunctionParameters.prototype = {};\n" |
| " A._Type.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return A._rtiToString(this._rti, null);\n" |
| " }\n" |
| " };\n" |
| " A._Error.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return this.__rti\$_message;\n" |
| " }\n" |
| " };\n" |
| " A._TypeError.prototype = {\$isTypeError: 1};\n" |
| " A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype = {\n" |
| " call\$1(__wc0_formal) {\n" |
| " var t1 = this._box_0,\n" |
| " f = t1.storedCallback;\n" |
| " t1.storedCallback = null;\n" |
| " f.call\$0();\n" |
| " },\n" |
| " \$signature: 8\n" |
| " };\n" |
| " A._AsyncRun__initializeScheduleImmediate_closure.prototype = {\n" |
| " call\$1(callback) {\n" |
| " var t1, t2;\n" |
| " this._box_0.storedCallback = type\$.void_Function._as(callback);\n" |
| " t1 = this.div;\n" |
| " t2 = this.span;\n" |
| " t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2);\n" |
| " },\n" |
| " \$signature: 90\n" |
| " };\n" |
| " A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype = {\n" |
| " call\$0() {\n" |
| " this.callback.call\$0();\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype = {\n" |
| " call\$0() {\n" |
| " this.callback.call\$0();\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A._TimerImpl.prototype = {\n" |
| " _TimerImpl\$2(milliseconds, callback) {\n" |
| " if (self.setTimeout != null)\n" |
| " this._handle = self.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this, callback), 0), milliseconds);\n" |
| " else\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"`setTimeout()` not found.\"));\n" |
| " },\n" |
| " _TimerImpl\$periodic\$2(milliseconds, callback) {\n" |
| " if (self.setTimeout != null)\n" |
| " this._handle = self.setInterval(A.convertDartClosureToJS(new A._TimerImpl\$periodic_closure(this, milliseconds, Date.now(), callback), 0), milliseconds);\n" |
| " else\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Periodic timer.\"));\n" |
| " },\n" |
| " get\$isActive() {\n" |
| " return this._handle != null;\n" |
| " },\n" |
| " cancel\$0() {\n" |
| " if (self.setTimeout != null) {\n" |
| " var t1 = this._handle;\n" |
| " if (t1 == null)\n" |
| " return;\n" |
| " if (this._once)\n" |
| " self.clearTimeout(t1);\n" |
| " else\n" |
| " self.clearInterval(t1);\n" |
| " this._handle = null;\n" |
| " } else\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Canceling a timer.\"));\n" |
| " },\n" |
| " \$isTimer: 1\n" |
| " };\n" |
| " A._TimerImpl_internalCallback.prototype = {\n" |
| " call\$0() {\n" |
| " var t1 = this.\$this;\n" |
| " t1._handle = null;\n" |
| " t1._tick = 1;\n" |
| " this.callback.call\$0();\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._TimerImpl\$periodic_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var duration, _this = this,\n" |
| " t1 = _this.\$this,\n" |
| " tick = t1._tick + 1,\n" |
| " t2 = _this.milliseconds;\n" |
| " if (t2 > 0) {\n" |
| " duration = Date.now() - _this.start;\n" |
| " if (duration > (tick + 1) * t2)\n" |
| " tick = B.JSInt_methods.\$tdiv(duration, t2);\n" |
| " }\n" |
| " t1._tick = tick;\n" |
| " _this.callback.call\$1(t1);\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A._AsyncAwaitCompleter.prototype = {\n" |
| " complete\$1(value) {\n" |
| " var t2, _this = this,\n" |
| " t1 = _this.\$ti;\n" |
| " t1._eval\$1(\"1/?\")._as(value);\n" |
| " if (value == null)\n" |
| " value = t1._precomputed1._as(value);\n" |
| " if (!_this.isSync)\n" |
| " _this._future._asyncComplete\$1(value);\n" |
| " else {\n" |
| " t2 = _this._future;\n" |
| " if (t1._eval\$1(\"Future<1>\")._is(value))\n" |
| " t2._chainFuture\$1(value);\n" |
| " else\n" |
| " t2._completeWithValue\$1(value);\n" |
| " }\n" |
| " },\n" |
| " completeError\$2(e, st) {\n" |
| " var t1 = this._future;\n" |
| " if (this.isSync)\n" |
| " t1._completeErrorObject\$1(new A.AsyncError(e, st));\n" |
| " else\n" |
| " t1._asyncCompleteErrorObject\$1(new A.AsyncError(e, st));\n" |
| " },\n" |
| " \$isCompleter: 1\n" |
| " };\n" |
| " A._awaitOnObject_closure.prototype = {\n" |
| " call\$1(result) {\n" |
| " return this.bodyFunction.call\$2(0, result);\n" |
| " },\n" |
| " \$signature: 4\n" |
| " };\n" |
| " A._awaitOnObject_closure0.prototype = {\n" |
| " call\$2(error, stackTrace) {\n" |
| " this.bodyFunction.call\$2(1, new A.ExceptionAndStackTrace(error, type\$.StackTrace._as(stackTrace)));\n" |
| " },\n" |
| " \$signature: 41\n" |
| " };\n" |
| " A._wrapJsFunctionForAsync_closure.prototype = {\n" |
| " call\$2(errorCode, result) {\n" |
| " this.\$protected(A._asInt(errorCode), result);\n" |
| " },\n" |
| " \$signature: 43\n" |
| " };\n" |
| " A.AsyncError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return A.S(this.error);\n" |
| " },\n" |
| " \$isError: 1,\n" |
| " get\$stackTrace() {\n" |
| " return this.stackTrace;\n" |
| " }\n" |
| " };\n" |
| " A.Future_Future\$microtask_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var e, s, exception, t1, t2, t3, computationResult = null;\n" |
| " try {\n" |
| " computationResult = this.computation.call\$0();\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " t1 = e;\n" |
| " t2 = s;\n" |
| " t3 = A._interceptError(t1, t2);\n" |
| " if (t3 == null)\n" |
| " t1 = new A.AsyncError(t1, t2);\n" |
| " else\n" |
| " t1 = t3;\n" |
| " this.result._completeErrorObject\$1(t1);\n" |
| " return;\n" |
| " }\n" |
| " this.result._complete\$1(computationResult);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A.Future_Future\$delayed_closure.prototype = {\n" |
| " call\$0() {\n" |
| " this.T._as(null);\n" |
| " this.result._complete\$1(null);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._Completer.prototype = {\n" |
| " completeError\$2(error, stackTrace) {\n" |
| " A._asObject(error);\n" |
| " type\$.nullable_StackTrace._as(stackTrace);\n" |
| " if ((this.future._state & 30) !== 0)\n" |
| " throw A.wrapException(A.StateError\$(\"Future already completed\"));\n" |
| " this._completeErrorObject\$1(A._interceptUserError(error, stackTrace));\n" |
| " },\n" |
| " completeError\$1(error) {\n" |
| " return this.completeError\$2(error, null);\n" |
| " },\n" |
| " \$isCompleter: 1\n" |
| " };\n" |
| " A._AsyncCompleter.prototype = {\n" |
| " complete\$1(value) {\n" |
| " var t2,\n" |
| " t1 = this.\$ti;\n" |
| " t1._eval\$1(\"1/?\")._as(value);\n" |
| " t2 = this.future;\n" |
| " if ((t2._state & 30) !== 0)\n" |
| " throw A.wrapException(A.StateError\$(\"Future already completed\"));\n" |
| " t2._asyncComplete\$1(t1._eval\$1(\"1/\")._as(value));\n" |
| " },\n" |
| " complete\$0() {\n" |
| " return this.complete\$1(null);\n" |
| " },\n" |
| " _completeErrorObject\$1(error) {\n" |
| " this.future._asyncCompleteErrorObject\$1(error);\n" |
| " }\n" |
| " };\n" |
| " A._SyncCompleter.prototype = {\n" |
| " complete\$1(value) {\n" |
| " var t2,\n" |
| " t1 = this.\$ti;\n" |
| " t1._eval\$1(\"1/?\")._as(value);\n" |
| " t2 = this.future;\n" |
| " if ((t2._state & 30) !== 0)\n" |
| " throw A.wrapException(A.StateError\$(\"Future already completed\"));\n" |
| " t2._complete\$1(t1._eval\$1(\"1/\")._as(value));\n" |
| " },\n" |
| " _completeErrorObject\$1(error) {\n" |
| " this.future._completeErrorObject\$1(error);\n" |
| " }\n" |
| " };\n" |
| " A._FutureListener.prototype = {\n" |
| " matchesErrorTest\$1(asyncError) {\n" |
| " if ((this.state & 15) !== 6)\n" |
| " return true;\n" |
| " return this.result._zone.runUnary\$2\$2(type\$.bool_Function_Object._as(this.callback), asyncError.error, type\$.bool, type\$.Object);\n" |
| " },\n" |
| " handleError\$1(asyncError) {\n" |
| " var exception, _this = this,\n" |
| " errorCallback = _this.errorCallback,\n" |
| " result = null,\n" |
| " t1 = type\$.dynamic,\n" |
| " t2 = type\$.Object,\n" |
| " t3 = asyncError.error,\n" |
| " t4 = _this.result._zone;\n" |
| " if (type\$.dynamic_Function_Object_StackTrace._is(errorCallback))\n" |
| " result = t4.runBinary\$3\$3(errorCallback, t3, asyncError.stackTrace, t1, t2, type\$.StackTrace);\n" |
| " else\n" |
| " result = t4.runUnary\$2\$2(type\$.dynamic_Function_Object._as(errorCallback), t3, t1, t2);\n" |
| " try {\n" |
| " t1 = _this.\$ti._eval\$1(\"2/\")._as(result);\n" |
| " return t1;\n" |
| " } catch (exception) {\n" |
| " if (type\$.TypeError._is(A.unwrapException(exception))) {\n" |
| " if ((_this.state & 1) !== 0)\n" |
| " throw A.wrapException(A.ArgumentError\$(\"The error handler of Future.then must return a value of the returned future's type\", \"onError\"));\n" |
| " throw A.wrapException(A.ArgumentError\$(\"The error handler of Future.catchError must return a value of the future's type\", \"onError\"));\n" |
| " } else\n" |
| " throw exception;\n" |
| " }\n" |
| " }\n" |
| " };\n" |
| " A._Future.prototype = {\n" |
| " then\$1\$2\$onError(f, onError, \$R) {\n" |
| " var currentZone, result, t2,\n" |
| " t1 = this.\$ti;\n" |
| " t1._bind\$1(\$R)._eval\$1(\"1/(2)\")._as(f);\n" |
| " currentZone = \$.Zone__current;\n" |
| " if (currentZone === B.C__RootZone) {\n" |
| " if (onError != null && !type\$.dynamic_Function_Object_StackTrace._is(onError) && !type\$.dynamic_Function_Object._is(onError))\n" |
| " throw A.wrapException(A.ArgumentError\$value(onError, \"onError\", string\$.Error_));\n" |
| " } else {\n" |
| " f = currentZone.registerUnaryCallback\$2\$1(f, \$R._eval\$1(\"0/\"), t1._precomputed1);\n" |
| " if (onError != null)\n" |
| " onError = A._registerErrorHandler(onError, currentZone);\n" |
| " }\n" |
| " result = new A._Future(\$.Zone__current, \$R._eval\$1(\"_Future<0>\"));\n" |
| " t2 = onError == null ? 1 : 3;\n" |
| " this._addListener\$1(new A._FutureListener(result, t2, f, onError, t1._eval\$1(\"@<1>\")._bind\$1(\$R)._eval\$1(\"_FutureListener<1,2>\")));\n" |
| " return result;\n" |
| " },\n" |
| " then\$1\$1(f, \$R) {\n" |
| " return this.then\$1\$2\$onError(f, null, \$R);\n" |
| " },\n" |
| " _thenAwait\$1\$2(f, onError, \$E) {\n" |
| " var result,\n" |
| " t1 = this.\$ti;\n" |
| " t1._bind\$1(\$E)._eval\$1(\"1/(2)\")._as(f);\n" |
| " result = new A._Future(\$.Zone__current, \$E._eval\$1(\"_Future<0>\"));\n" |
| " this._addListener\$1(new A._FutureListener(result, 19, f, onError, t1._eval\$1(\"@<1>\")._bind\$1(\$E)._eval\$1(\"_FutureListener<1,2>\")));\n" |
| " return result;\n" |
| " },\n" |
| " catchError\$1(onError) {\n" |
| " var t1 = this.\$ti,\n" |
| " t2 = \$.Zone__current,\n" |
| " result = new A._Future(t2, t1);\n" |
| " if (t2 !== B.C__RootZone)\n" |
| " onError = A._registerErrorHandler(onError, t2);\n" |
| " this._addListener\$1(new A._FutureListener(result, 2, null, onError, t1._eval\$1(\"_FutureListener<1,1>\")));\n" |
| " return result;\n" |
| " },\n" |
| " whenComplete\$1(action) {\n" |
| " var t1, t2, result;\n" |
| " type\$.dynamic_Function._as(action);\n" |
| " t1 = this.\$ti;\n" |
| " t2 = \$.Zone__current;\n" |
| " result = new A._Future(t2, t1);\n" |
| " if (t2 !== B.C__RootZone)\n" |
| " action = t2.registerCallback\$1\$1(action, type\$.dynamic);\n" |
| " this._addListener\$1(new A._FutureListener(result, 8, action, null, t1._eval\$1(\"_FutureListener<1,1>\")));\n" |
| " return result;\n" |
| " },\n" |
| " _setErrorObject\$1(error) {\n" |
| " this._state = this._state & 1 | 16;\n" |
| " this._resultOrListeners = error;\n" |
| " },\n" |
| " _cloneResult\$1(source) {\n" |
| " this._state = source._state & 30 | this._state & 1;\n" |
| " this._resultOrListeners = source._resultOrListeners;\n" |
| " },\n" |
| " _addListener\$1(listener) {\n" |
| " var source, _this = this,\n" |
| " t1 = _this._state;\n" |
| " if (t1 <= 3) {\n" |
| " listener._nextListener = type\$.nullable__FutureListener_dynamic_dynamic._as(_this._resultOrListeners);\n" |
| " _this._resultOrListeners = listener;\n" |
| " } else {\n" |
| " if ((t1 & 4) !== 0) {\n" |
| " source = type\$._Future_dynamic._as(_this._resultOrListeners);\n" |
| " if ((source._state & 24) === 0) {\n" |
| " source._addListener\$1(listener);\n" |
| " return;\n" |
| " }\n" |
| " _this._cloneResult\$1(source);\n" |
| " }\n" |
| " _this._zone.scheduleMicrotask\$1(new A._Future__addListener_closure(_this, listener));\n" |
| " }\n" |
| " },\n" |
| " _prependListeners\$1(listeners) {\n" |
| " var t1, existingListeners, next, cursor, next0, source, _this = this, _box_0 = {};\n" |
| " _box_0.listeners = listeners;\n" |
| " if (listeners == null)\n" |
| " return;\n" |
| " t1 = _this._state;\n" |
| " if (t1 <= 3) {\n" |
| " existingListeners = type\$.nullable__FutureListener_dynamic_dynamic._as(_this._resultOrListeners);\n" |
| " _this._resultOrListeners = listeners;\n" |
| " if (existingListeners != null) {\n" |
| " next = listeners._nextListener;\n" |
| " for (cursor = listeners; next != null; cursor = next, next = next0)\n" |
| " next0 = next._nextListener;\n" |
| " cursor._nextListener = existingListeners;\n" |
| " }\n" |
| " } else {\n" |
| " if ((t1 & 4) !== 0) {\n" |
| " source = type\$._Future_dynamic._as(_this._resultOrListeners);\n" |
| " if ((source._state & 24) === 0) {\n" |
| " source._prependListeners\$1(listeners);\n" |
| " return;\n" |
| " }\n" |
| " _this._cloneResult\$1(source);\n" |
| " }\n" |
| " _box_0.listeners = _this._reverseListeners\$1(listeners);\n" |
| " _this._zone.scheduleMicrotask\$1(new A._Future__prependListeners_closure(_box_0, _this));\n" |
| " }\n" |
| " },\n" |
| " _removeListeners\$0() {\n" |
| " var current = type\$.nullable__FutureListener_dynamic_dynamic._as(this._resultOrListeners);\n" |
| " this._resultOrListeners = null;\n" |
| " return this._reverseListeners\$1(current);\n" |
| " },\n" |
| " _reverseListeners\$1(listeners) {\n" |
| " var current, prev, next;\n" |
| " for (current = listeners, prev = null; current != null; prev = current, current = next) {\n" |
| " next = current._nextListener;\n" |
| " current._nextListener = prev;\n" |
| " }\n" |
| " return prev;\n" |
| " },\n" |
| " _complete\$1(value) {\n" |
| " var listeners, _this = this,\n" |
| " t1 = _this.\$ti;\n" |
| " t1._eval\$1(\"1/\")._as(value);\n" |
| " if (t1._eval\$1(\"Future<1>\")._is(value))\n" |
| " A._Future__chainCoreFuture(value, _this, true);\n" |
| " else {\n" |
| " listeners = _this._removeListeners\$0();\n" |
| " t1._precomputed1._as(value);\n" |
| " _this._state = 8;\n" |
| " _this._resultOrListeners = value;\n" |
| " A._Future__propagateToListeners(_this, listeners);\n" |
| " }\n" |
| " },\n" |
| " _completeWithValue\$1(value) {\n" |
| " var listeners, _this = this;\n" |
| " _this.\$ti._precomputed1._as(value);\n" |
| " listeners = _this._removeListeners\$0();\n" |
| " _this._state = 8;\n" |
| " _this._resultOrListeners = value;\n" |
| " A._Future__propagateToListeners(_this, listeners);\n" |
| " },\n" |
| " _completeWithResultOf\$1(source) {\n" |
| " var t1, t2, listeners, _this = this;\n" |
| " if ((source._state & 16) !== 0) {\n" |
| " t1 = _this._zone;\n" |
| " t2 = source._zone;\n" |
| " t1 = !(t1 === t2 || t1.get\$errorZone() === t2.get\$errorZone());\n" |
| " } else\n" |
| " t1 = false;\n" |
| " if (t1)\n" |
| " return;\n" |
| " listeners = _this._removeListeners\$0();\n" |
| " _this._cloneResult\$1(source);\n" |
| " A._Future__propagateToListeners(_this, listeners);\n" |
| " },\n" |
| " _completeErrorObject\$1(error) {\n" |
| " var listeners = this._removeListeners\$0();\n" |
| " this._setErrorObject\$1(error);\n" |
| " A._Future__propagateToListeners(this, listeners);\n" |
| " },\n" |
| " _completeError\$2(error, stackTrace) {\n" |
| " A._asObject(error);\n" |
| " type\$.StackTrace._as(stackTrace);\n" |
| " this._completeErrorObject\$1(new A.AsyncError(error, stackTrace));\n" |
| " },\n" |
| " _asyncComplete\$1(value) {\n" |
| " var t1 = this.\$ti;\n" |
| " t1._eval\$1(\"1/\")._as(value);\n" |
| " if (t1._eval\$1(\"Future<1>\")._is(value)) {\n" |
| " this._chainFuture\$1(value);\n" |
| " return;\n" |
| " }\n" |
| " this._asyncCompleteWithValue\$1(value);\n" |
| " },\n" |
| " _asyncCompleteWithValue\$1(value) {\n" |
| " var _this = this;\n" |
| " _this.\$ti._precomputed1._as(value);\n" |
| " _this._state ^= 2;\n" |
| " _this._zone.scheduleMicrotask\$1(new A._Future__asyncCompleteWithValue_closure(_this, value));\n" |
| " },\n" |
| " _chainFuture\$1(value) {\n" |
| " A._Future__chainCoreFuture(this.\$ti._eval\$1(\"Future<1>\")._as(value), this, false);\n" |
| " return;\n" |
| " },\n" |
| " _asyncCompleteErrorObject\$1(error) {\n" |
| " this._state ^= 2;\n" |
| " this._zone.scheduleMicrotask\$1(new A._Future__asyncCompleteErrorObject_closure(this, error));\n" |
| " },\n" |
| " timeout\$2\$onTimeout(timeLimit, onTimeout) {\n" |
| " var t3, _future, _this = this, t1 = {},\n" |
| " t2 = _this.\$ti;\n" |
| " t2._eval\$1(\"1/()?\")._as(onTimeout);\n" |
| " if ((_this._state & 24) !== 0) {\n" |
| " t1 = new A._Future(\$.Zone__current, t2);\n" |
| " t1._asyncComplete\$1(_this);\n" |
| " return t1;\n" |
| " }\n" |
| " t3 = \$.Zone__current;\n" |
| " _future = new A._Future(t3, t2);\n" |
| " t1.timer = null;\n" |
| " t1.timer = A.Timer_Timer(timeLimit, new A._Future_timeout_closure(_this, _future, t3, t3.registerCallback\$1\$1(onTimeout, t2._eval\$1(\"1/\"))));\n" |
| " _this.then\$1\$2\$onError(new A._Future_timeout_closure0(t1, _this, _future), new A._Future_timeout_closure1(t1, _future), type\$.Null);\n" |
| " return _future;\n" |
| " },\n" |
| " \$isFuture: 1\n" |
| " };\n" |
| " A._Future__addListener_closure.prototype = {\n" |
| " call\$0() {\n" |
| " A._Future__propagateToListeners(this.\$this, this.listener);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._Future__prependListeners_closure.prototype = {\n" |
| " call\$0() {\n" |
| " A._Future__propagateToListeners(this.\$this, this._box_0.listeners);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._Future__chainCoreFuture_closure.prototype = {\n" |
| " call\$0() {\n" |
| " A._Future__chainCoreFuture(this._box_0.source, this.target, true);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._Future__asyncCompleteWithValue_closure.prototype = {\n" |
| " call\$0() {\n" |
| " this.\$this._completeWithValue\$1(this.value);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._Future__asyncCompleteErrorObject_closure.prototype = {\n" |
| " call\$0() {\n" |
| " this.\$this._completeErrorObject\$1(this.error);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._Future__propagateToListeners_handleWhenCompleteCallback.prototype = {\n" |
| " call\$0() {\n" |
| " var e, s, t1, exception, t2, t3, originalSource, joinedResult, _this = this, completeResult = null;\n" |
| " try {\n" |
| " t1 = _this._box_0.listener;\n" |
| " completeResult = t1.result._zone.run\$1\$1(type\$.dynamic_Function._as(t1.callback), type\$.dynamic);\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " if (_this.hasError && type\$.AsyncError._as(_this._box_1.source._resultOrListeners).error === e) {\n" |
| " t1 = _this._box_0;\n" |
| " t1.listenerValueOrError = type\$.AsyncError._as(_this._box_1.source._resultOrListeners);\n" |
| " } else {\n" |
| " t1 = e;\n" |
| " t2 = s;\n" |
| " if (t2 == null)\n" |
| " t2 = A.AsyncError_defaultStackTrace(t1);\n" |
| " t3 = _this._box_0;\n" |
| " t3.listenerValueOrError = new A.AsyncError(t1, t2);\n" |
| " t1 = t3;\n" |
| " }\n" |
| " t1.listenerHasError = true;\n" |
| " return;\n" |
| " }\n" |
| " if (completeResult instanceof A._Future && (completeResult._state & 24) !== 0) {\n" |
| " if ((completeResult._state & 16) !== 0) {\n" |
| " t1 = _this._box_0;\n" |
| " t1.listenerValueOrError = type\$.AsyncError._as(completeResult._resultOrListeners);\n" |
| " t1.listenerHasError = true;\n" |
| " }\n" |
| " return;\n" |
| " }\n" |
| " if (completeResult instanceof A._Future) {\n" |
| " originalSource = _this._box_1.source;\n" |
| " joinedResult = new A._Future(originalSource._zone, originalSource.\$ti);\n" |
| " completeResult.then\$1\$2\$onError(new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(joinedResult, originalSource), new A._Future__propagateToListeners_handleWhenCompleteCallback_closure0(joinedResult), type\$.void);\n" |
| " t1 = _this._box_0;\n" |
| " t1.listenerValueOrError = joinedResult;\n" |
| " t1.listenerHasError = false;\n" |
| " }\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype = {\n" |
| " call\$1(__wc0_formal) {\n" |
| " this.joinedResult._completeWithResultOf\$1(this.originalSource);\n" |
| " },\n" |
| " \$signature: 8\n" |
| " };\n" |
| " A._Future__propagateToListeners_handleWhenCompleteCallback_closure0.prototype = {\n" |
| " call\$2(e, s) {\n" |
| " A._asObject(e);\n" |
| " type\$.StackTrace._as(s);\n" |
| " this.joinedResult._completeErrorObject\$1(new A.AsyncError(e, s));\n" |
| " },\n" |
| " \$signature: 3\n" |
| " };\n" |
| " A._Future__propagateToListeners_handleValueCallback.prototype = {\n" |
| " call\$0() {\n" |
| " var e, s, t1, t2, t3, t4, t5, exception;\n" |
| " try {\n" |
| " t1 = this._box_0;\n" |
| " t2 = t1.listener;\n" |
| " t3 = t2.\$ti;\n" |
| " t4 = t3._precomputed1;\n" |
| " t5 = t4._as(this.sourceResult);\n" |
| " t1.listenerValueOrError = t2.result._zone.runUnary\$2\$2(t3._eval\$1(\"2/(1)\")._as(t2.callback), t5, t3._eval\$1(\"2/\"), t4);\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " t1 = e;\n" |
| " t2 = s;\n" |
| " if (t2 == null)\n" |
| " t2 = A.AsyncError_defaultStackTrace(t1);\n" |
| " t3 = this._box_0;\n" |
| " t3.listenerValueOrError = new A.AsyncError(t1, t2);\n" |
| " t3.listenerHasError = true;\n" |
| " }\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._Future__propagateToListeners_handleError.prototype = {\n" |
| " call\$0() {\n" |
| " var asyncError, e, s, t1, exception, t2, t3, _this = this;\n" |
| " try {\n" |
| " asyncError = type\$.AsyncError._as(_this._box_1.source._resultOrListeners);\n" |
| " t1 = _this._box_0;\n" |
| " if (t1.listener.matchesErrorTest\$1(asyncError) && t1.listener.errorCallback != null) {\n" |
| " t1.listenerValueOrError = t1.listener.handleError\$1(asyncError);\n" |
| " t1.listenerHasError = false;\n" |
| " }\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " t1 = type\$.AsyncError._as(_this._box_1.source._resultOrListeners);\n" |
| " if (t1.error === e) {\n" |
| " t2 = _this._box_0;\n" |
| " t2.listenerValueOrError = t1;\n" |
| " t1 = t2;\n" |
| " } else {\n" |
| " t1 = e;\n" |
| " t2 = s;\n" |
| " if (t2 == null)\n" |
| " t2 = A.AsyncError_defaultStackTrace(t1);\n" |
| " t3 = _this._box_0;\n" |
| " t3.listenerValueOrError = new A.AsyncError(t1, t2);\n" |
| " t1 = t3;\n" |
| " }\n" |
| " t1.listenerHasError = true;\n" |
| " }\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._Future_timeout_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var e, s, exception, t1, t2, _this = this;\n" |
| " try {\n" |
| " _this._future._complete\$1(_this.zone.run\$1\$1(_this.onTimeoutHandler, _this.\$this.\$ti._eval\$1(\"1/\")));\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " t1 = e;\n" |
| " t2 = s;\n" |
| " if (t2 == null)\n" |
| " t2 = A.AsyncError_defaultStackTrace(t1);\n" |
| " _this._future._completeErrorObject\$1(new A.AsyncError(t1, t2));\n" |
| " }\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._Future_timeout_closure0.prototype = {\n" |
| " call\$1(v) {\n" |
| " var t1;\n" |
| " this.\$this.\$ti._precomputed1._as(v);\n" |
| " t1 = this._box_0;\n" |
| " if (t1.timer.get\$isActive()) {\n" |
| " t1.timer.cancel\$0();\n" |
| " this._future._completeWithValue\$1(v);\n" |
| " }\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.\$this.\$ti._eval\$1(\"Null(1)\");\n" |
| " }\n" |
| " };\n" |
| " A._Future_timeout_closure1.prototype = {\n" |
| " call\$2(e, s) {\n" |
| " var t1;\n" |
| " A._asObject(e);\n" |
| " type\$.StackTrace._as(s);\n" |
| " t1 = this._box_0;\n" |
| " if (t1.timer.get\$isActive()) {\n" |
| " t1.timer.cancel\$0();\n" |
| " this._future._completeErrorObject\$1(new A.AsyncError(e, s));\n" |
| " }\n" |
| " },\n" |
| " \$signature: 3\n" |
| " };\n" |
| " A._AsyncCallbackEntry.prototype = {};\n" |
| " A.Stream.prototype = {\n" |
| " get\$length(_) {\n" |
| " var t1 = {},\n" |
| " future = new A._Future(\$.Zone__current, type\$._Future_int);\n" |
| " t1.count = 0;\n" |
| " this.listen\$4\$cancelOnError\$onDone\$onError(new A.Stream_length_closure(t1, this), true, new A.Stream_length_closure0(t1, future), future.get\$_completeError());\n" |
| " return future;\n" |
| " },\n" |
| " get\$first(_) {\n" |
| " var future = new A._Future(\$.Zone__current, A._instanceType(this)._eval\$1(\"_Future<Stream.T>\")),\n" |
| " subscription = this.listen\$4\$cancelOnError\$onDone\$onError(null, true, new A.Stream_first_closure(future), future.get\$_completeError());\n" |
| " subscription.onData\$1(new A.Stream_first_closure0(this, subscription, future));\n" |
| " return future;\n" |
| " }\n" |
| " };\n" |
| " A.Stream_length_closure.prototype = {\n" |
| " call\$1(__wc0_formal) {\n" |
| " A._instanceType(this.\$this)._eval\$1(\"Stream.T\")._as(__wc0_formal);\n" |
| " ++this._box_0.count;\n" |
| " },\n" |
| " \$signature() {\n" |
| " return A._instanceType(this.\$this)._eval\$1(\"~(Stream.T)\");\n" |
| " }\n" |
| " };\n" |
| " A.Stream_length_closure0.prototype = {\n" |
| " call\$0() {\n" |
| " this.future._complete\$1(this._box_0.count);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A.Stream_first_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t1,\n" |
| " stack = A.StackTrace_current(),\n" |
| " error = new A.StateError(\"No element\");\n" |
| " A.Primitives_trySetStackTrace(error, stack);\n" |
| " t1 = A._interceptError(error, stack);\n" |
| " if (t1 == null)\n" |
| " t1 = new A.AsyncError(error, stack);\n" |
| " this.future._completeErrorObject\$1(t1);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A.Stream_first_closure0.prototype = {\n" |
| " call\$1(value) {\n" |
| " A._cancelAndValue(this.subscription, this.future, A._instanceType(this.\$this)._eval\$1(\"Stream.T\")._as(value));\n" |
| " },\n" |
| " \$signature() {\n" |
| " return A._instanceType(this.\$this)._eval\$1(\"~(Stream.T)\");\n" |
| " }\n" |
| " };\n" |
| " A.StreamView.prototype = {\n" |
| " listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, onError) {\n" |
| " return this._stream.listen\$4\$cancelOnError\$onDone\$onError(A._instanceType(this)._eval\$1(\"~(StreamView.T)?\")._as(onData), cancelOnError, type\$.nullable_void_Function._as(onDone), onError);\n" |
| " },\n" |
| " listen\$3\$onDone\$onError(onData, onDone, onError) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, null, onDone, onError);\n" |
| " },\n" |
| " listen\$3\$cancelOnError\$onDone(onData, cancelOnError, onDone) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, null);\n" |
| " }\n" |
| " };\n" |
| " A._StreamController.prototype = {\n" |
| " get\$_pendingEvents() {\n" |
| " var t1, _this = this;\n" |
| " if ((_this._state & 8) === 0)\n" |
| " return A._instanceType(_this)._eval\$1(\"_PendingEvents<1>?\")._as(_this._varData);\n" |
| " t1 = A._instanceType(_this);\n" |
| " return t1._eval\$1(\"_PendingEvents<1>?\")._as(t1._eval\$1(\"_StreamControllerAddStreamState<1>\")._as(_this._varData).get\$_varData());\n" |
| " },\n" |
| " _ensurePendingEvents\$0() {\n" |
| " var events, t1, _this = this;\n" |
| " if ((_this._state & 8) === 0) {\n" |
| " events = _this._varData;\n" |
| " if (events == null)\n" |
| " events = _this._varData = new A._PendingEvents(A._instanceType(_this)._eval\$1(\"_PendingEvents<1>\"));\n" |
| " return A._instanceType(_this)._eval\$1(\"_PendingEvents<1>\")._as(events);\n" |
| " }\n" |
| " t1 = A._instanceType(_this);\n" |
| " events = t1._eval\$1(\"_StreamControllerAddStreamState<1>\")._as(_this._varData).get\$_varData();\n" |
| " return t1._eval\$1(\"_PendingEvents<1>\")._as(events);\n" |
| " },\n" |
| " get\$_subscription() {\n" |
| " var varData = this._varData;\n" |
| " if ((this._state & 8) !== 0)\n" |
| " varData = type\$._StreamControllerAddStreamState_nullable_Object._as(varData).get\$_varData();\n" |
| " return A._instanceType(this)._eval\$1(\"_ControllerSubscription<1>\")._as(varData);\n" |
| " },\n" |
| " _badEventState\$0() {\n" |
| " if ((this._state & 4) !== 0)\n" |
| " return new A.StateError(\"Cannot add event after closing\");\n" |
| " return new A.StateError(\"Cannot add event while adding a stream\");\n" |
| " },\n" |
| " _ensureDoneFuture\$0() {\n" |
| " var t1 = this._doneFuture;\n" |
| " if (t1 == null)\n" |
| " t1 = this._doneFuture = (this._state & 2) !== 0 ? \$.\$get\$Future__nullFuture() : new A._Future(\$.Zone__current, type\$._Future_void);\n" |
| " return t1;\n" |
| " },\n" |
| " add\$1(_, value) {\n" |
| " var _this = this;\n" |
| " A._instanceType(_this)._precomputed1._as(value);\n" |
| " if (_this._state >= 4)\n" |
| " throw A.wrapException(_this._badEventState\$0());\n" |
| " _this._add\$1(value);\n" |
| " },\n" |
| " close\$0() {\n" |
| " var _this = this,\n" |
| " t1 = _this._state;\n" |
| " if ((t1 & 4) !== 0)\n" |
| " return _this._ensureDoneFuture\$0();\n" |
| " if (t1 >= 4)\n" |
| " throw A.wrapException(_this._badEventState\$0());\n" |
| " _this._closeUnchecked\$0();\n" |
| " return _this._ensureDoneFuture\$0();\n" |
| " },\n" |
| " _closeUnchecked\$0() {\n" |
| " var t1 = this._state |= 4;\n" |
| " if ((t1 & 1) !== 0)\n" |
| " this._sendDone\$0();\n" |
| " else if ((t1 & 3) === 0)\n" |
| " this._ensurePendingEvents\$0().add\$1(0, B.C__DelayedDone);\n" |
| " },\n" |
| " _add\$1(value) {\n" |
| " var t2, _this = this,\n" |
| " t1 = A._instanceType(_this);\n" |
| " t1._precomputed1._as(value);\n" |
| " t2 = _this._state;\n" |
| " if ((t2 & 1) !== 0)\n" |
| " _this._sendData\$1(value);\n" |
| " else if ((t2 & 3) === 0)\n" |
| " _this._ensurePendingEvents\$0().add\$1(0, new A._DelayedData(value, t1._eval\$1(\"_DelayedData<1>\")));\n" |
| " },\n" |
| " _subscribe\$4(onData, onError, onDone, cancelOnError) {\n" |
| " var t2, t3, t4, t5, t6, t7, subscription, pendingEvents, addState, _this = this,\n" |
| " t1 = A._instanceType(_this);\n" |
| " t1._eval\$1(\"~(1)?\")._as(onData);\n" |
| " type\$.nullable_void_Function._as(onDone);\n" |
| " if ((_this._state & 3) !== 0)\n" |
| " throw A.wrapException(A.StateError\$(\"Stream has already been listened to.\"));\n" |
| " t2 = \$.Zone__current;\n" |
| " t3 = cancelOnError ? 1 : 0;\n" |
| " t4 = onError != null ? 32 : 0;\n" |
| " t5 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._precomputed1);\n" |
| " t6 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError);\n" |
| " t7 = onDone == null ? A.async___nullDoneHandler\$closure() : onDone;\n" |
| " subscription = new A._ControllerSubscription(_this, t5, t6, t2.registerCallback\$1\$1(t7, type\$.void), t2, t3 | t4, t1._eval\$1(\"_ControllerSubscription<1>\"));\n" |
| " pendingEvents = _this.get\$_pendingEvents();\n" |
| " if (((_this._state |= 1) & 8) !== 0) {\n" |
| " addState = t1._eval\$1(\"_StreamControllerAddStreamState<1>\")._as(_this._varData);\n" |
| " addState.set\$_varData(subscription);\n" |
| " addState.resume\$0();\n" |
| " } else\n" |
| " _this._varData = subscription;\n" |
| " subscription._setPendingEvents\$1(pendingEvents);\n" |
| " subscription._guardCallback\$1(new A._StreamController__subscribe_closure(_this));\n" |
| " return subscription;\n" |
| " },\n" |
| " _recordCancel\$1(subscription) {\n" |
| " var result, onCancel, cancelResult, e, s, exception, result0, t2, _this = this,\n" |
| " t1 = A._instanceType(_this);\n" |
| " t1._eval\$1(\"StreamSubscription<1>\")._as(subscription);\n" |
| " result = null;\n" |
| " if ((_this._state & 8) !== 0)\n" |
| " result = t1._eval\$1(\"_StreamControllerAddStreamState<1>\")._as(_this._varData).cancel\$0();\n" |
| " _this._varData = null;\n" |
| " _this._state = _this._state & 4294967286 | 2;\n" |
| " onCancel = _this.onCancel;\n" |
| " if (onCancel != null)\n" |
| " if (result == null)\n" |
| " try {\n" |
| " cancelResult = onCancel.call\$0();\n" |
| " if (cancelResult instanceof A._Future)\n" |
| " result = cancelResult;\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " result0 = new A._Future(\$.Zone__current, type\$._Future_void);\n" |
| " t1 = A._asObject(e);\n" |
| " t2 = type\$.StackTrace._as(s);\n" |
| " result0._asyncCompleteErrorObject\$1(new A.AsyncError(t1, t2));\n" |
| " result = result0;\n" |
| " }\n" |
| " else\n" |
| " result = result.whenComplete\$1(onCancel);\n" |
| " t1 = new A._StreamController__recordCancel_complete(_this);\n" |
| " if (result != null)\n" |
| " result = result.whenComplete\$1(t1);\n" |
| " else\n" |
| " t1.call\$0();\n" |
| " return result;\n" |
| " },\n" |
| " set\$onListen(onListen) {\n" |
| " this.onListen = type\$.nullable_void_Function._as(onListen);\n" |
| " },\n" |
| " set\$onResume(onResume) {\n" |
| " this.onResume = type\$.nullable_void_Function._as(onResume);\n" |
| " },\n" |
| " set\$onCancel(onCancel) {\n" |
| " this.onCancel = type\$.nullable_void_Function._as(onCancel);\n" |
| " },\n" |
| " \$isStreamSink: 1,\n" |
| " \$isStreamController: 1,\n" |
| " \$is_StreamControllerLifecycle: 1,\n" |
| " \$is_EventSink: 1,\n" |
| " \$is_EventDispatch: 1\n" |
| " };\n" |
| " A._StreamController__subscribe_closure.prototype = {\n" |
| " call\$0() {\n" |
| " A._runGuarded(this.\$this.onListen);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._StreamController__recordCancel_complete.prototype = {\n" |
| " call\$0() {\n" |
| " var doneFuture = this.\$this._doneFuture;\n" |
| " if (doneFuture != null && (doneFuture._state & 30) === 0)\n" |
| " doneFuture._asyncComplete\$1(null);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._AsyncStreamControllerDispatch.prototype = {\n" |
| " _sendData\$1(data) {\n" |
| " var t1 = A._instanceType(this);\n" |
| " t1._precomputed1._as(data);\n" |
| " this.get\$_subscription()._addPending\$1(new A._DelayedData(data, t1._eval\$1(\"_DelayedData<1>\")));\n" |
| " },\n" |
| " _sendError\$2(error, stackTrace) {\n" |
| " this.get\$_subscription()._addPending\$1(new A._DelayedError(error, stackTrace));\n" |
| " },\n" |
| " _sendDone\$0() {\n" |
| " this.get\$_subscription()._addPending\$1(B.C__DelayedDone);\n" |
| " }\n" |
| " };\n" |
| " A._AsyncStreamController.prototype = {};\n" |
| " A._ControllerStream.prototype = {\n" |
| " get\$hashCode(_) {\n" |
| " return (A.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0;\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (this === other)\n" |
| " return true;\n" |
| " return other instanceof A._ControllerStream && other._controller === this._controller;\n" |
| " }\n" |
| " };\n" |
| " A._ControllerSubscription.prototype = {\n" |
| " _onCancel\$0() {\n" |
| " return this._controller._recordCancel\$1(this);\n" |
| " },\n" |
| " _onPause\$0() {\n" |
| " var t1 = this._controller,\n" |
| " t2 = A._instanceType(t1);\n" |
| " t2._eval\$1(\"StreamSubscription<1>\")._as(this);\n" |
| " if ((t1._state & 8) !== 0)\n" |
| " t2._eval\$1(\"_StreamControllerAddStreamState<1>\")._as(t1._varData).pause\$0();\n" |
| " A._runGuarded(t1.onPause);\n" |
| " },\n" |
| " _onResume\$0() {\n" |
| " var t1 = this._controller,\n" |
| " t2 = A._instanceType(t1);\n" |
| " t2._eval\$1(\"StreamSubscription<1>\")._as(this);\n" |
| " if ((t1._state & 8) !== 0)\n" |
| " t2._eval\$1(\"_StreamControllerAddStreamState<1>\")._as(t1._varData).resume\$0();\n" |
| " A._runGuarded(t1.onResume);\n" |
| " }\n" |
| " };\n" |
| " A._StreamSinkWrapper.prototype = {\$isStreamSink: 1};\n" |
| " A._BufferingStreamSubscription.prototype = {\n" |
| " _setPendingEvents\$1(pendingEvents) {\n" |
| " var _this = this;\n" |
| " A._instanceType(_this)._eval\$1(\"_PendingEvents<_BufferingStreamSubscription.T>?\")._as(pendingEvents);\n" |
| " if (pendingEvents == null)\n" |
| " return;\n" |
| " _this._pending = pendingEvents;\n" |
| " if (pendingEvents.lastPendingEvent != null) {\n" |
| " _this._state = (_this._state | 128) >>> 0;\n" |
| " pendingEvents.schedule\$1(_this);\n" |
| " }\n" |
| " },\n" |
| " onData\$1(handleData) {\n" |
| " var t1 = A._instanceType(this);\n" |
| " this._async\$_onData = A._BufferingStreamSubscription__registerDataHandler(this._zone, t1._eval\$1(\"~(_BufferingStreamSubscription.T)?\")._as(handleData), t1._eval\$1(\"_BufferingStreamSubscription.T\"));\n" |
| " },\n" |
| " onError\$1(handleError) {\n" |
| " var _this = this,\n" |
| " t1 = _this._state;\n" |
| " if (handleError == null)\n" |
| " _this._state = (t1 & 4294967263) >>> 0;\n" |
| " else\n" |
| " _this._state = (t1 | 32) >>> 0;\n" |
| " _this._onError = A._BufferingStreamSubscription__registerErrorHandler(_this._zone, handleError);\n" |
| " },\n" |
| " pause\$1(resumeSignal) {\n" |
| " var t2, t3, _this = this,\n" |
| " t1 = _this._state;\n" |
| " if ((t1 & 8) !== 0)\n" |
| " return;\n" |
| " t2 = (t1 + 256 | 4) >>> 0;\n" |
| " _this._state = t2;\n" |
| " if (t1 < 256) {\n" |
| " t3 = _this._pending;\n" |
| " if (t3 != null)\n" |
| " if (t3._state === 1)\n" |
| " t3._state = 3;\n" |
| " }\n" |
| " if ((t1 & 4) === 0 && (t2 & 64) === 0)\n" |
| " _this._guardCallback\$1(_this.get\$_onPause());\n" |
| " },\n" |
| " pause\$0() {\n" |
| " return this.pause\$1(null);\n" |
| " },\n" |
| " resume\$0() {\n" |
| " var _this = this,\n" |
| " t1 = _this._state;\n" |
| " if ((t1 & 8) !== 0)\n" |
| " return;\n" |
| " if (t1 >= 256) {\n" |
| " t1 = _this._state = t1 - 256;\n" |
| " if (t1 < 256)\n" |
| " if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent != null)\n" |
| " _this._pending.schedule\$1(_this);\n" |
| " else {\n" |
| " t1 = (t1 & 4294967291) >>> 0;\n" |
| " _this._state = t1;\n" |
| " if ((t1 & 64) === 0)\n" |
| " _this._guardCallback\$1(_this.get\$_onResume());\n" |
| " }\n" |
| " }\n" |
| " },\n" |
| " cancel\$0() {\n" |
| " var _this = this,\n" |
| " t1 = (_this._state & 4294967279) >>> 0;\n" |
| " _this._state = t1;\n" |
| " if ((t1 & 8) === 0)\n" |
| " _this._cancel\$0();\n" |
| " t1 = _this._cancelFuture;\n" |
| " return t1 == null ? \$.\$get\$Future__nullFuture() : t1;\n" |
| " },\n" |
| " asFuture\$1\$1(futureValue, \$E) {\n" |
| " var result, _this = this, t1 = {};\n" |
| " t1.resultValue = null;\n" |
| " if (!\$E._is(null))\n" |
| " throw A.wrapException(A.ArgumentError\$notNull(\"futureValue\"));\n" |
| " \$E._as(futureValue);\n" |
| " t1.resultValue = futureValue;\n" |
| " result = new A._Future(\$.Zone__current, \$E._eval\$1(\"_Future<0>\"));\n" |
| " _this._onDone = new A._BufferingStreamSubscription_asFuture_closure(t1, result);\n" |
| " _this._state = (_this._state | 32) >>> 0;\n" |
| " _this._onError = new A._BufferingStreamSubscription_asFuture_closure0(_this, result);\n" |
| " return result;\n" |
| " },\n" |
| " _cancel\$0() {\n" |
| " var t2, _this = this,\n" |
| " t1 = _this._state = (_this._state | 8) >>> 0;\n" |
| " if ((t1 & 128) !== 0) {\n" |
| " t2 = _this._pending;\n" |
| " if (t2._state === 1)\n" |
| " t2._state = 3;\n" |
| " }\n" |
| " if ((t1 & 64) === 0)\n" |
| " _this._pending = null;\n" |
| " _this._cancelFuture = _this._onCancel\$0();\n" |
| " },\n" |
| " _add\$1(data) {\n" |
| " var t2, _this = this,\n" |
| " t1 = A._instanceType(_this);\n" |
| " t1._eval\$1(\"_BufferingStreamSubscription.T\")._as(data);\n" |
| " t2 = _this._state;\n" |
| " if ((t2 & 8) !== 0)\n" |
| " return;\n" |
| " if (t2 < 64)\n" |
| " _this._sendData\$1(data);\n" |
| " else\n" |
| " _this._addPending\$1(new A._DelayedData(data, t1._eval\$1(\"_DelayedData<_BufferingStreamSubscription.T>\")));\n" |
| " },\n" |
| " _addError\$2(error, stackTrace) {\n" |
| " var t1;\n" |
| " if (type\$.Error._is(error))\n" |
| " A.Primitives_trySetStackTrace(error, stackTrace);\n" |
| " t1 = this._state;\n" |
| " if ((t1 & 8) !== 0)\n" |
| " return;\n" |
| " if (t1 < 64)\n" |
| " this._sendError\$2(error, stackTrace);\n" |
| " else\n" |
| " this._addPending\$1(new A._DelayedError(error, stackTrace));\n" |
| " },\n" |
| " _close\$0() {\n" |
| " var _this = this,\n" |
| " t1 = _this._state;\n" |
| " if ((t1 & 8) !== 0)\n" |
| " return;\n" |
| " t1 = (t1 | 2) >>> 0;\n" |
| " _this._state = t1;\n" |
| " if (t1 < 64)\n" |
| " _this._sendDone\$0();\n" |
| " else\n" |
| " _this._addPending\$1(B.C__DelayedDone);\n" |
| " },\n" |
| " _onPause\$0() {\n" |
| " },\n" |
| " _onResume\$0() {\n" |
| " },\n" |
| " _onCancel\$0() {\n" |
| " return null;\n" |
| " },\n" |
| " _addPending\$1(\$event) {\n" |
| " var t1, _this = this,\n" |
| " pending = _this._pending;\n" |
| " if (pending == null)\n" |
| " pending = _this._pending = new A._PendingEvents(A._instanceType(_this)._eval\$1(\"_PendingEvents<_BufferingStreamSubscription.T>\"));\n" |
| " pending.add\$1(0, \$event);\n" |
| " t1 = _this._state;\n" |
| " if ((t1 & 128) === 0) {\n" |
| " t1 = (t1 | 128) >>> 0;\n" |
| " _this._state = t1;\n" |
| " if (t1 < 256)\n" |
| " pending.schedule\$1(_this);\n" |
| " }\n" |
| " },\n" |
| " _sendData\$1(data) {\n" |
| " var t2, _this = this,\n" |
| " t1 = A._instanceType(_this)._eval\$1(\"_BufferingStreamSubscription.T\");\n" |
| " t1._as(data);\n" |
| " t2 = _this._state;\n" |
| " _this._state = (t2 | 64) >>> 0;\n" |
| " _this._zone.runUnaryGuarded\$1\$2(_this._async\$_onData, data, t1);\n" |
| " _this._state = (_this._state & 4294967231) >>> 0;\n" |
| " _this._checkState\$1((t2 & 4) !== 0);\n" |
| " },\n" |
| " _sendError\$2(error, stackTrace) {\n" |
| " var cancelFuture, _this = this,\n" |
| " t1 = _this._state,\n" |
| " t2 = new A._BufferingStreamSubscription__sendError_sendError(_this, error, stackTrace);\n" |
| " if ((t1 & 1) !== 0) {\n" |
| " _this._state = (t1 | 16) >>> 0;\n" |
| " _this._cancel\$0();\n" |
| " cancelFuture = _this._cancelFuture;\n" |
| " if (cancelFuture != null && cancelFuture !== \$.\$get\$Future__nullFuture())\n" |
| " cancelFuture.whenComplete\$1(t2);\n" |
| " else\n" |
| " t2.call\$0();\n" |
| " } else {\n" |
| " t2.call\$0();\n" |
| " _this._checkState\$1((t1 & 4) !== 0);\n" |
| " }\n" |
| " },\n" |
| " _sendDone\$0() {\n" |
| " var cancelFuture, _this = this,\n" |
| " t1 = new A._BufferingStreamSubscription__sendDone_sendDone(_this);\n" |
| " _this._cancel\$0();\n" |
| " _this._state = (_this._state | 16) >>> 0;\n" |
| " cancelFuture = _this._cancelFuture;\n" |
| " if (cancelFuture != null && cancelFuture !== \$.\$get\$Future__nullFuture())\n" |
| " cancelFuture.whenComplete\$1(t1);\n" |
| " else\n" |
| " t1.call\$0();\n" |
| " },\n" |
| " _guardCallback\$1(callback) {\n" |
| " var t1, _this = this;\n" |
| " type\$.void_Function._as(callback);\n" |
| " t1 = _this._state;\n" |
| " _this._state = (t1 | 64) >>> 0;\n" |
| " callback.call\$0();\n" |
| " _this._state = (_this._state & 4294967231) >>> 0;\n" |
| " _this._checkState\$1((t1 & 4) !== 0);\n" |
| " },\n" |
| " _checkState\$1(wasInputPaused) {\n" |
| " var t2, isInputPaused, _this = this,\n" |
| " t1 = _this._state;\n" |
| " if ((t1 & 128) !== 0 && _this._pending.lastPendingEvent == null) {\n" |
| " t1 = _this._state = (t1 & 4294967167) >>> 0;\n" |
| " t2 = false;\n" |
| " if ((t1 & 4) !== 0)\n" |
| " if (t1 < 256) {\n" |
| " t2 = _this._pending;\n" |
| " t2 = t2 == null ? null : t2.lastPendingEvent == null;\n" |
| " t2 = t2 !== false;\n" |
| " }\n" |
| " if (t2) {\n" |
| " t1 = (t1 & 4294967291) >>> 0;\n" |
| " _this._state = t1;\n" |
| " }\n" |
| " }\n" |
| " for (;; wasInputPaused = isInputPaused) {\n" |
| " if ((t1 & 8) !== 0) {\n" |
| " _this._pending = null;\n" |
| " return;\n" |
| " }\n" |
| " isInputPaused = (t1 & 4) !== 0;\n" |
| " if (wasInputPaused === isInputPaused)\n" |
| " break;\n" |
| " _this._state = (t1 ^ 64) >>> 0;\n" |
| " if (isInputPaused)\n" |
| " _this._onPause\$0();\n" |
| " else\n" |
| " _this._onResume\$0();\n" |
| " t1 = (_this._state & 4294967231) >>> 0;\n" |
| " _this._state = t1;\n" |
| " }\n" |
| " if ((t1 & 128) !== 0 && t1 < 256)\n" |
| " _this._pending.schedule\$1(_this);\n" |
| " },\n" |
| " \$isStreamSubscription: 1,\n" |
| " \$is_EventSink: 1,\n" |
| " \$is_EventDispatch: 1\n" |
| " };\n" |
| " A._BufferingStreamSubscription_asFuture_closure.prototype = {\n" |
| " call\$0() {\n" |
| " this.result._complete\$1(this._box_0.resultValue);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._BufferingStreamSubscription_asFuture_closure0.prototype = {\n" |
| " call\$2(error, stackTrace) {\n" |
| " var cancelFuture, t1;\n" |
| " A._asObject(error);\n" |
| " type\$.StackTrace._as(stackTrace);\n" |
| " cancelFuture = this.\$this.cancel\$0();\n" |
| " t1 = this.result;\n" |
| " if (cancelFuture !== \$.\$get\$Future__nullFuture())\n" |
| " cancelFuture.whenComplete\$1(new A._BufferingStreamSubscription_asFuture__closure(t1, error, stackTrace));\n" |
| " else\n" |
| " t1._completeErrorObject\$1(new A.AsyncError(error, stackTrace));\n" |
| " },\n" |
| " \$signature: 3\n" |
| " };\n" |
| " A._BufferingStreamSubscription_asFuture__closure.prototype = {\n" |
| " call\$0() {\n" |
| " this.result._completeErrorObject\$1(new A.AsyncError(this.error, this.stackTrace));\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A._BufferingStreamSubscription__sendError_sendError.prototype = {\n" |
| " call\$0() {\n" |
| " var onError, t3, t4,\n" |
| " t1 = this.\$this,\n" |
| " t2 = t1._state;\n" |
| " if ((t2 & 8) !== 0 && (t2 & 16) === 0)\n" |
| " return;\n" |
| " t1._state = (t2 | 64) >>> 0;\n" |
| " onError = t1._onError;\n" |
| " t2 = this.error;\n" |
| " t3 = type\$.Object;\n" |
| " t4 = t1._zone;\n" |
| " if (type\$.void_Function_Object_StackTrace._is(onError))\n" |
| " t4.runBinaryGuarded\$2\$3(onError, t2, this.stackTrace, t3, type\$.StackTrace);\n" |
| " else\n" |
| " t4.runUnaryGuarded\$1\$2(type\$.void_Function_Object._as(onError), t2, t3);\n" |
| " t1._state = (t1._state & 4294967231) >>> 0;\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._BufferingStreamSubscription__sendDone_sendDone.prototype = {\n" |
| " call\$0() {\n" |
| " var t1 = this.\$this,\n" |
| " t2 = t1._state;\n" |
| " if ((t2 & 16) === 0)\n" |
| " return;\n" |
| " t1._state = (t2 | 74) >>> 0;\n" |
| " t1._zone.runGuarded\$1(t1._onDone);\n" |
| " t1._state = (t1._state & 4294967231) >>> 0;\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._StreamImpl.prototype = {\n" |
| " listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, onError) {\n" |
| " var t1 = this.\$ti;\n" |
| " t1._eval\$1(\"~(1)?\")._as(onData);\n" |
| " type\$.nullable_void_Function._as(onDone);\n" |
| " return this._controller._subscribe\$4(t1._eval\$1(\"~(1)?\")._as(onData), onError, onDone, cancelOnError === true);\n" |
| " },\n" |
| " listen\$1(onData) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, null, null, null);\n" |
| " },\n" |
| " listen\$2\$onError(onData, onError) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, null, null, onError);\n" |
| " },\n" |
| " listen\$3\$onDone\$onError(onData, onDone, onError) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, null, onDone, onError);\n" |
| " },\n" |
| " listen\$3\$cancelOnError\$onDone(onData, cancelOnError, onDone) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, null);\n" |
| " },\n" |
| " listen\$2\$cancelOnError(onData, cancelOnError) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, null, null);\n" |
| " },\n" |
| " listen\$2\$onDone(onData, onDone) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, null, onDone, null);\n" |
| " }\n" |
| " };\n" |
| " A._DelayedEvent.prototype = {\n" |
| " set\$next(next) {\n" |
| " this.next = type\$.nullable__DelayedEvent_dynamic._as(next);\n" |
| " },\n" |
| " get\$next() {\n" |
| " return this.next;\n" |
| " }\n" |
| " };\n" |
| " A._DelayedData.prototype = {\n" |
| " perform\$1(dispatch) {\n" |
| " this.\$ti._eval\$1(\"_EventDispatch<1>\")._as(dispatch)._sendData\$1(this.value);\n" |
| " }\n" |
| " };\n" |
| " A._DelayedError.prototype = {\n" |
| " perform\$1(dispatch) {\n" |
| " dispatch._sendError\$2(this.error, this.stackTrace);\n" |
| " }\n" |
| " };\n" |
| " A._DelayedDone.prototype = {\n" |
| " perform\$1(dispatch) {\n" |
| " dispatch._sendDone\$0();\n" |
| " },\n" |
| " get\$next() {\n" |
| " return null;\n" |
| " },\n" |
| " set\$next(__wc0_formal) {\n" |
| " throw A.wrapException(A.StateError\$(\"No events after a done.\"));\n" |
| " },\n" |
| " \$is_DelayedEvent: 1\n" |
| " };\n" |
| " A._PendingEvents.prototype = {\n" |
| " schedule\$1(dispatch) {\n" |
| " var t1, _this = this;\n" |
| " _this.\$ti._eval\$1(\"_EventDispatch<1>\")._as(dispatch);\n" |
| " t1 = _this._state;\n" |
| " if (t1 === 1)\n" |
| " return;\n" |
| " if (t1 >= 1) {\n" |
| " _this._state = 1;\n" |
| " return;\n" |
| " }\n" |
| " A.scheduleMicrotask(new A._PendingEvents_schedule_closure(_this, dispatch));\n" |
| " _this._state = 1;\n" |
| " },\n" |
| " add\$1(_, \$event) {\n" |
| " var _this = this,\n" |
| " lastEvent = _this.lastPendingEvent;\n" |
| " if (lastEvent == null)\n" |
| " _this.firstPendingEvent = _this.lastPendingEvent = \$event;\n" |
| " else {\n" |
| " lastEvent.set\$next(\$event);\n" |
| " _this.lastPendingEvent = \$event;\n" |
| " }\n" |
| " }\n" |
| " };\n" |
| " A._PendingEvents_schedule_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t2, \$event, nextEvent,\n" |
| " t1 = this.\$this,\n" |
| " oldState = t1._state;\n" |
| " t1._state = 0;\n" |
| " if (oldState === 3)\n" |
| " return;\n" |
| " t2 = t1.\$ti._eval\$1(\"_EventDispatch<1>\")._as(this.dispatch);\n" |
| " \$event = t1.firstPendingEvent;\n" |
| " nextEvent = \$event.get\$next();\n" |
| " t1.firstPendingEvent = nextEvent;\n" |
| " if (nextEvent == null)\n" |
| " t1.lastPendingEvent = null;\n" |
| " \$event.perform\$1(t2);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._DoneStreamSubscription.prototype = {\n" |
| " onData\$1(handleData) {\n" |
| " this.\$ti._eval\$1(\"~(1)?\")._as(handleData);\n" |
| " },\n" |
| " onError\$1(handleError) {\n" |
| " },\n" |
| " pause\$1(resumeSignal) {\n" |
| " var t1 = this._state;\n" |
| " if (t1 >= 0)\n" |
| " this._state = t1 + 2;\n" |
| " },\n" |
| " pause\$0() {\n" |
| " return this.pause\$1(null);\n" |
| " },\n" |
| " resume\$0() {\n" |
| " var _this = this,\n" |
| " resumeState = _this._state - 2;\n" |
| " if (resumeState < 0)\n" |
| " return;\n" |
| " if (resumeState === 0) {\n" |
| " _this._state = 1;\n" |
| " A.scheduleMicrotask(_this.get\$_onMicrotask());\n" |
| " } else\n" |
| " _this._state = resumeState;\n" |
| " },\n" |
| " cancel\$0() {\n" |
| " this._state = -1;\n" |
| " this._onDone = null;\n" |
| " return \$.\$get\$Future__nullFuture();\n" |
| " },\n" |
| " _onMicrotask\$0() {\n" |
| " var _0_0, _this = this,\n" |
| " unscheduledState = _this._state - 1;\n" |
| " if (unscheduledState === 0) {\n" |
| " _this._state = -1;\n" |
| " _0_0 = _this._onDone;\n" |
| " if (_0_0 != null) {\n" |
| " _this._onDone = null;\n" |
| " _this._zone.runGuarded\$1(_0_0);\n" |
| " }\n" |
| " } else\n" |
| " _this._state = unscheduledState;\n" |
| " },\n" |
| " \$isStreamSubscription: 1\n" |
| " };\n" |
| " A._StreamIterator.prototype = {};\n" |
| " A._EmptyStream.prototype = {\n" |
| " listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, onError) {\n" |
| " var t2,\n" |
| " t1 = this.\$ti;\n" |
| " t1._eval\$1(\"~(1)?\")._as(onData);\n" |
| " type\$.nullable_void_Function._as(onDone);\n" |
| " t2 = \$.Zone__current;\n" |
| " t1 = new A._DoneStreamSubscription(t2, t1._eval\$1(\"_DoneStreamSubscription<1>\"));\n" |
| " A.scheduleMicrotask(t1.get\$_onMicrotask());\n" |
| " if (onDone != null)\n" |
| " t1._onDone = t2.registerCallback\$1\$1(onDone, type\$.void);\n" |
| " return t1;\n" |
| " },\n" |
| " listen\$3\$onDone\$onError(onData, onDone, onError) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, null, onDone, onError);\n" |
| " },\n" |
| " listen\$3\$cancelOnError\$onDone(onData, cancelOnError, onDone) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, null);\n" |
| " }\n" |
| " };\n" |
| " A._MultiStream.prototype = {\n" |
| " listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, onError) {\n" |
| " var controller, _null = null,\n" |
| " t1 = this.\$ti;\n" |
| " t1._eval\$1(\"~(1)?\")._as(onData);\n" |
| " type\$.nullable_void_Function._as(onDone);\n" |
| " controller = new A._MultiStreamController(_null, _null, _null, _null, t1._eval\$1(\"_MultiStreamController<1>\"));\n" |
| " controller.set\$onListen(new A._MultiStream_listen_closure(this, controller));\n" |
| " return controller._subscribe\$4(onData, onError, onDone, cancelOnError === true);\n" |
| " },\n" |
| " listen\$3\$onDone\$onError(onData, onDone, onError) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, null, onDone, onError);\n" |
| " },\n" |
| " listen\$3\$cancelOnError\$onDone(onData, cancelOnError, onDone) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, null);\n" |
| " }\n" |
| " };\n" |
| " A._MultiStream_listen_closure.prototype = {\n" |
| " call\$0() {\n" |
| " this.\$this._onListen.call\$1(this.controller);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._MultiStreamController.prototype = {\n" |
| " closeSync\$0() {\n" |
| " var _this = this,\n" |
| " t1 = _this._state;\n" |
| " if ((t1 & 4) !== 0)\n" |
| " return;\n" |
| " if (t1 >= 4)\n" |
| " throw A.wrapException(_this._badEventState\$0());\n" |
| " t1 |= 4;\n" |
| " _this._state = t1;\n" |
| " if ((t1 & 1) !== 0)\n" |
| " _this.get\$_subscription()._close\$0();\n" |
| " },\n" |
| " \$isMultiStreamController: 1\n" |
| " };\n" |
| " A._cancelAndValue_closure.prototype = {\n" |
| " call\$0() {\n" |
| " return this.future._complete\$1(this.value);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._ForwardingStream.prototype = {\n" |
| " listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, onError) {\n" |
| " var t2, t3, t4, t5, t6, t7,\n" |
| " t1 = this.\$ti;\n" |
| " t1._eval\$1(\"~(2)?\")._as(onData);\n" |
| " type\$.nullable_void_Function._as(onDone);\n" |
| " t2 = \$.Zone__current;\n" |
| " t3 = cancelOnError === true ? 1 : 0;\n" |
| " t4 = onError != null ? 32 : 0;\n" |
| " t5 = A._BufferingStreamSubscription__registerDataHandler(t2, onData, t1._rest[1]);\n" |
| " t6 = A._BufferingStreamSubscription__registerErrorHandler(t2, onError);\n" |
| " t7 = onDone == null ? A.async___nullDoneHandler\$closure() : onDone;\n" |
| " t1 = new A._ForwardingStreamSubscription(this, t5, t6, t2.registerCallback\$1\$1(t7, type\$.void), t2, t3 | t4, t1._eval\$1(\"_ForwardingStreamSubscription<1,2>\"));\n" |
| " t1._subscription = this._source.listen\$3\$onDone\$onError(t1.get\$_handleData(), t1.get\$_handleDone(), t1.get\$_handleError());\n" |
| " return t1;\n" |
| " },\n" |
| " listen\$2\$onError(onData, onError) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, null, null, onError);\n" |
| " },\n" |
| " listen\$3\$onDone\$onError(onData, onDone, onError) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, null, onDone, onError);\n" |
| " },\n" |
| " listen\$3\$cancelOnError\$onDone(onData, cancelOnError, onDone) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, null);\n" |
| " }\n" |
| " };\n" |
| " A._ForwardingStreamSubscription.prototype = {\n" |
| " _add\$1(data) {\n" |
| " this.\$ti._rest[1]._as(data);\n" |
| " if ((this._state & 2) !== 0)\n" |
| " return;\n" |
| " this.super\$_BufferingStreamSubscription\$_add(data);\n" |
| " },\n" |
| " _addError\$2(error, stackTrace) {\n" |
| " if ((this._state & 2) !== 0)\n" |
| " return;\n" |
| " this.super\$_BufferingStreamSubscription\$_addError(error, stackTrace);\n" |
| " },\n" |
| " _onPause\$0() {\n" |
| " var t1 = this._subscription;\n" |
| " if (t1 != null)\n" |
| " t1.pause\$0();\n" |
| " },\n" |
| " _onResume\$0() {\n" |
| " var t1 = this._subscription;\n" |
| " if (t1 != null)\n" |
| " t1.resume\$0();\n" |
| " },\n" |
| " _onCancel\$0() {\n" |
| " var subscription = this._subscription;\n" |
| " if (subscription != null) {\n" |
| " this._subscription = null;\n" |
| " return subscription.cancel\$0();\n" |
| " }\n" |
| " return null;\n" |
| " },\n" |
| " _handleData\$1(data) {\n" |
| " this._stream._handleData\$2(this.\$ti._precomputed1._as(data), this);\n" |
| " },\n" |
| " _handleError\$2(error, stackTrace) {\n" |
| " var t1;\n" |
| " type\$.StackTrace._as(stackTrace);\n" |
| " t1 = error == null ? A._asObject(error) : error;\n" |
| " this._stream.\$ti._eval\$1(\"_EventSink<2>\")._as(this)._addError\$2(t1, stackTrace);\n" |
| " },\n" |
| " _handleDone\$0() {\n" |
| " this._stream.\$ti._eval\$1(\"_EventSink<2>\")._as(this)._close\$0();\n" |
| " }\n" |
| " };\n" |
| " A._MapStream.prototype = {\n" |
| " _handleData\$2(inputEvent, sink) {\n" |
| " var outputEvent, e, s, exception, error, stackTrace, replacement,\n" |
| " t1 = this.\$ti;\n" |
| " t1._precomputed1._as(inputEvent);\n" |
| " t1._eval\$1(\"_EventSink<2>\")._as(sink);\n" |
| " outputEvent = null;\n" |
| " try {\n" |
| " outputEvent = this._transform.call\$1(inputEvent);\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " error = e;\n" |
| " stackTrace = s;\n" |
| " replacement = A._interceptError(error, stackTrace);\n" |
| " if (replacement != null) {\n" |
| " error = replacement.error;\n" |
| " stackTrace = replacement.stackTrace;\n" |
| " }\n" |
| " sink._addError\$2(error, stackTrace);\n" |
| " return;\n" |
| " }\n" |
| " sink._add\$1(outputEvent);\n" |
| " }\n" |
| " };\n" |
| " A._ZoneFunction.prototype = {};\n" |
| " A._Zone.prototype = {\n" |
| " _processUncaughtError\$3(zone, error, stackTrace) {\n" |
| " var implZone, handler, parentDelegate, parentZone, currentZone, e, s, implementation, t1, exception;\n" |
| " type\$.StackTrace._as(stackTrace);\n" |
| " implementation = this.get\$_handleUncaughtError();\n" |
| " implZone = implementation.zone;\n" |
| " if (implZone === B.C__RootZone) {\n" |
| " A._rootHandleError(error, stackTrace);\n" |
| " return;\n" |
| " }\n" |
| " handler = implementation.\$function;\n" |
| " parentDelegate = implZone.get\$_parentDelegate();\n" |
| " t1 = implZone.get\$parent();\n" |
| " t1.toString;\n" |
| " parentZone = t1;\n" |
| " currentZone = \$.Zone__current;\n" |
| " try {\n" |
| " \$.Zone__current = parentZone;\n" |
| " handler.call\$5(implZone, parentDelegate, zone, error, stackTrace);\n" |
| " \$.Zone__current = currentZone;\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " \$.Zone__current = currentZone;\n" |
| " t1 = error === e ? stackTrace : s;\n" |
| " parentZone._processUncaughtError\$3(implZone, e, t1);\n" |
| " }\n" |
| " },\n" |
| " \$isZone: 1\n" |
| " };\n" |
| " A._CustomZone.prototype = {\n" |
| " get\$_delegate() {\n" |
| " var t1 = this._delegateCache;\n" |
| " return t1 == null ? this._delegateCache = new A._ZoneDelegate(this) : t1;\n" |
| " },\n" |
| " get\$_parentDelegate() {\n" |
| " return this.parent.get\$_delegate();\n" |
| " },\n" |
| " get\$errorZone() {\n" |
| " return this._handleUncaughtError.zone;\n" |
| " },\n" |
| " runGuarded\$1(f) {\n" |
| " var e, s, exception;\n" |
| " type\$.void_Function._as(f);\n" |
| " try {\n" |
| " this.run\$1\$1(f, type\$.void);\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " this._processUncaughtError\$3(this, A._asObject(e), type\$.StackTrace._as(s));\n" |
| " }\n" |
| " },\n" |
| " runUnaryGuarded\$1\$2(f, arg, \$T) {\n" |
| " var e, s, exception;\n" |
| " \$T._eval\$1(\"~(0)\")._as(f);\n" |
| " \$T._as(arg);\n" |
| " try {\n" |
| " this.runUnary\$2\$2(f, arg, type\$.void, \$T);\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " this._processUncaughtError\$3(this, A._asObject(e), type\$.StackTrace._as(s));\n" |
| " }\n" |
| " },\n" |
| " runBinaryGuarded\$2\$3(f, arg1, arg2, \$T1, \$T2) {\n" |
| " var e, s, exception;\n" |
| " \$T1._eval\$1(\"@<0>\")._bind\$1(\$T2)._eval\$1(\"~(1,2)\")._as(f);\n" |
| " \$T1._as(arg1);\n" |
| " \$T2._as(arg2);\n" |
| " try {\n" |
| " this.runBinary\$3\$3(f, arg1, arg2, type\$.void, \$T1, \$T2);\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " this._processUncaughtError\$3(this, A._asObject(e), type\$.StackTrace._as(s));\n" |
| " }\n" |
| " },\n" |
| " bindCallback\$1\$1(f, \$R) {\n" |
| " return new A._CustomZone_bindCallback_closure(this, this.registerCallback\$1\$1(\$R._eval\$1(\"0()\")._as(f), \$R), \$R);\n" |
| " },\n" |
| " bindUnaryCallback\$2\$1(f, \$R, \$T) {\n" |
| " return new A._CustomZone_bindUnaryCallback_closure(this, this.registerUnaryCallback\$2\$1(\$R._eval\$1(\"@<0>\")._bind\$1(\$T)._eval\$1(\"1(2)\")._as(f), \$R, \$T), \$T, \$R);\n" |
| " },\n" |
| " bindCallbackGuarded\$1(f) {\n" |
| " return new A._CustomZone_bindCallbackGuarded_closure(this, this.registerCallback\$1\$1(type\$.void_Function._as(f), type\$.void));\n" |
| " },\n" |
| " bindUnaryCallbackGuarded\$1\$1(f, \$T) {\n" |
| " return new A._CustomZone_bindUnaryCallbackGuarded_closure(this, this.registerUnaryCallback\$2\$1(\$T._eval\$1(\"~(0)\")._as(f), type\$.void, \$T), \$T);\n" |
| " },\n" |
| " handleUncaughtError\$2(error, stackTrace) {\n" |
| " this._processUncaughtError\$3(this, error, type\$.StackTrace._as(stackTrace));\n" |
| " },\n" |
| " fork\$2\$specification\$zoneValues(specification, zoneValues) {\n" |
| " var implementation = this._fork,\n" |
| " t1 = implementation.zone;\n" |
| " return implementation.\$function.call\$5(t1, t1.get\$_parentDelegate(), this, specification, zoneValues);\n" |
| " },\n" |
| " run\$1\$1(f, \$R) {\n" |
| " var implementation, t1;\n" |
| " \$R._eval\$1(\"0()\")._as(f);\n" |
| " implementation = this._run;\n" |
| " t1 = implementation.zone;\n" |
| " return implementation.\$function.call\$1\$4(t1, t1.get\$_parentDelegate(), this, f, \$R);\n" |
| " },\n" |
| " runUnary\$2\$2(f, arg, \$R, \$T) {\n" |
| " var implementation, t1;\n" |
| " \$R._eval\$1(\"@<0>\")._bind\$1(\$T)._eval\$1(\"1(2)\")._as(f);\n" |
| " \$T._as(arg);\n" |
| " implementation = this._runUnary;\n" |
| " t1 = implementation.zone;\n" |
| " return implementation.\$function.call\$2\$5(t1, t1.get\$_parentDelegate(), this, f, arg, \$R, \$T);\n" |
| " },\n" |
| " runBinary\$3\$3(f, arg1, arg2, \$R, \$T1, \$T2) {\n" |
| " var implementation, t1;\n" |
| " \$R._eval\$1(\"@<0>\")._bind\$1(\$T1)._bind\$1(\$T2)._eval\$1(\"1(2,3)\")._as(f);\n" |
| " \$T1._as(arg1);\n" |
| " \$T2._as(arg2);\n" |
| " implementation = this._runBinary;\n" |
| " t1 = implementation.zone;\n" |
| " return implementation.\$function.call\$3\$6(t1, t1.get\$_parentDelegate(), this, f, arg1, arg2, \$R, \$T1, \$T2);\n" |
| " },\n" |
| " registerCallback\$1\$1(callback, \$R) {\n" |
| " var implementation, t1;\n" |
| " \$R._eval\$1(\"0()\")._as(callback);\n" |
| " implementation = this._registerCallback;\n" |
| " t1 = implementation.zone;\n" |
| " return implementation.\$function.call\$1\$4(t1, t1.get\$_parentDelegate(), this, callback, \$R);\n" |
| " },\n" |
| " registerUnaryCallback\$2\$1(callback, \$R, \$T) {\n" |
| " var implementation, t1;\n" |
| " \$R._eval\$1(\"@<0>\")._bind\$1(\$T)._eval\$1(\"1(2)\")._as(callback);\n" |
| " implementation = this._registerUnaryCallback;\n" |
| " t1 = implementation.zone;\n" |
| " return implementation.\$function.call\$2\$4(t1, t1.get\$_parentDelegate(), this, callback, \$R, \$T);\n" |
| " },\n" |
| " registerBinaryCallback\$3\$1(callback, \$R, \$T1, \$T2) {\n" |
| " var implementation, t1;\n" |
| " \$R._eval\$1(\"@<0>\")._bind\$1(\$T1)._bind\$1(\$T2)._eval\$1(\"1(2,3)\")._as(callback);\n" |
| " implementation = this._registerBinaryCallback;\n" |
| " t1 = implementation.zone;\n" |
| " return implementation.\$function.call\$3\$4(t1, t1.get\$_parentDelegate(), this, callback, \$R, \$T1, \$T2);\n" |
| " },\n" |
| " errorCallback\$2(error, stackTrace) {\n" |
| " var implementation = this._errorCallback,\n" |
| " implementationZone = implementation.zone;\n" |
| " if (implementationZone === B.C__RootZone)\n" |
| " return null;\n" |
| " return implementation.\$function.call\$5(implementationZone, implementationZone.get\$_parentDelegate(), this, error, stackTrace);\n" |
| " },\n" |
| " scheduleMicrotask\$1(f) {\n" |
| " var implementation, t1;\n" |
| " type\$.void_Function._as(f);\n" |
| " implementation = this._scheduleMicrotask;\n" |
| " t1 = implementation.zone;\n" |
| " return implementation.\$function.call\$4(t1, t1.get\$_parentDelegate(), this, f);\n" |
| " },\n" |
| " createTimer\$2(duration, f) {\n" |
| " var implementation, t1;\n" |
| " type\$.void_Function._as(f);\n" |
| " implementation = this._createTimer;\n" |
| " t1 = implementation.zone;\n" |
| " return implementation.\$function.call\$5(t1, t1.get\$_parentDelegate(), this, duration, f);\n" |
| " },\n" |
| " print\$1(line) {\n" |
| " var implementation = this._print,\n" |
| " t1 = implementation.zone;\n" |
| " return implementation.\$function.call\$4(t1, t1.get\$_parentDelegate(), this, line);\n" |
| " },\n" |
| " get\$_run() {\n" |
| " return this._run;\n" |
| " },\n" |
| " get\$_runUnary() {\n" |
| " return this._runUnary;\n" |
| " },\n" |
| " get\$_runBinary() {\n" |
| " return this._runBinary;\n" |
| " },\n" |
| " get\$_registerCallback() {\n" |
| " return this._registerCallback;\n" |
| " },\n" |
| " get\$_registerUnaryCallback() {\n" |
| " return this._registerUnaryCallback;\n" |
| " },\n" |
| " get\$_registerBinaryCallback() {\n" |
| " return this._registerBinaryCallback;\n" |
| " },\n" |
| " get\$_errorCallback() {\n" |
| " return this._errorCallback;\n" |
| " },\n" |
| " get\$_scheduleMicrotask() {\n" |
| " return this._scheduleMicrotask;\n" |
| " },\n" |
| " get\$_createTimer() {\n" |
| " return this._createTimer;\n" |
| " },\n" |
| " get\$_createPeriodicTimer() {\n" |
| " return this._createPeriodicTimer;\n" |
| " },\n" |
| " get\$_print() {\n" |
| " return this._print;\n" |
| " },\n" |
| " get\$_fork() {\n" |
| " return this._fork;\n" |
| " },\n" |
| " get\$_handleUncaughtError() {\n" |
| " return this._handleUncaughtError;\n" |
| " },\n" |
| " get\$parent() {\n" |
| " return this.parent;\n" |
| " },\n" |
| " get\$_map() {\n" |
| " return this._map;\n" |
| " }\n" |
| " };\n" |
| " A._CustomZone_bindCallback_closure.prototype = {\n" |
| " call\$0() {\n" |
| " return this.\$this.run\$1\$1(this.registered, this.R);\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.R._eval\$1(\"0()\");\n" |
| " }\n" |
| " };\n" |
| " A._CustomZone_bindUnaryCallback_closure.prototype = {\n" |
| " call\$1(arg) {\n" |
| " var _this = this,\n" |
| " t1 = _this.T;\n" |
| " return _this.\$this.runUnary\$2\$2(_this.registered, t1._as(arg), _this.R, t1);\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.R._eval\$1(\"@<0>\")._bind\$1(this.T)._eval\$1(\"1(2)\");\n" |
| " }\n" |
| " };\n" |
| " A._CustomZone_bindCallbackGuarded_closure.prototype = {\n" |
| " call\$0() {\n" |
| " return this.\$this.runGuarded\$1(this.registered);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._CustomZone_bindUnaryCallbackGuarded_closure.prototype = {\n" |
| " call\$1(arg) {\n" |
| " var t1 = this.T;\n" |
| " return this.\$this.runUnaryGuarded\$1\$2(this.registered, t1._as(arg), t1);\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.T._eval\$1(\"~(0)\");\n" |
| " }\n" |
| " };\n" |
| " A._RootZone.prototype = {\n" |
| " get\$_run() {\n" |
| " return B._ZoneFunction__RootZone__rootRun;\n" |
| " },\n" |
| " get\$_runUnary() {\n" |
| " return B._ZoneFunction__RootZone__rootRunUnary;\n" |
| " },\n" |
| " get\$_runBinary() {\n" |
| " return B._ZoneFunction__RootZone__rootRunBinary;\n" |
| " },\n" |
| " get\$_registerCallback() {\n" |
| " return B._ZoneFunction__RootZone__rootRegisterCallback;\n" |
| " },\n" |
| " get\$_registerUnaryCallback() {\n" |
| " return B._ZoneFunction_Xkh;\n" |
| " },\n" |
| " get\$_registerBinaryCallback() {\n" |
| " return B._ZoneFunction_e9o;\n" |
| " },\n" |
| " get\$_errorCallback() {\n" |
| " return B._ZoneFunction__RootZone__rootErrorCallback;\n" |
| " },\n" |
| " get\$_scheduleMicrotask() {\n" |
| " return B._ZoneFunction__RootZone__rootScheduleMicrotask;\n" |
| " },\n" |
| " get\$_createTimer() {\n" |
| " return B._ZoneFunction__RootZone__rootCreateTimer;\n" |
| " },\n" |
| " get\$_createPeriodicTimer() {\n" |
| " return B._ZoneFunction_PAY;\n" |
| " },\n" |
| " get\$_print() {\n" |
| " return B._ZoneFunction__RootZone__rootPrint;\n" |
| " },\n" |
| " get\$_fork() {\n" |
| " return B._ZoneFunction__RootZone__rootFork;\n" |
| " },\n" |
| " get\$_handleUncaughtError() {\n" |
| " return B._ZoneFunction_KjJ;\n" |
| " },\n" |
| " get\$parent() {\n" |
| " return null;\n" |
| " },\n" |
| " get\$_map() {\n" |
| " return \$.\$get\$_RootZone__rootMap();\n" |
| " },\n" |
| " get\$_delegate() {\n" |
| " var t1 = \$._RootZone__rootDelegate;\n" |
| " return t1 == null ? \$._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;\n" |
| " },\n" |
| " get\$_parentDelegate() {\n" |
| " var t1 = \$._RootZone__rootDelegate;\n" |
| " return t1 == null ? \$._RootZone__rootDelegate = new A._ZoneDelegate(this) : t1;\n" |
| " },\n" |
| " get\$errorZone() {\n" |
| " return this;\n" |
| " },\n" |
| " runGuarded\$1(f) {\n" |
| " var e, s, exception;\n" |
| " type\$.void_Function._as(f);\n" |
| " try {\n" |
| " if (B.C__RootZone === \$.Zone__current) {\n" |
| " f.call\$0();\n" |
| " return;\n" |
| " }\n" |
| " A._rootRun(null, null, this, f, type\$.void);\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " A._rootHandleError(A._asObject(e), type\$.StackTrace._as(s));\n" |
| " }\n" |
| " },\n" |
| " runUnaryGuarded\$1\$2(f, arg, \$T) {\n" |
| " var e, s, exception;\n" |
| " \$T._eval\$1(\"~(0)\")._as(f);\n" |
| " \$T._as(arg);\n" |
| " try {\n" |
| " if (B.C__RootZone === \$.Zone__current) {\n" |
| " f.call\$1(arg);\n" |
| " return;\n" |
| " }\n" |
| " A._rootRunUnary(null, null, this, f, arg, type\$.void, \$T);\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " A._rootHandleError(A._asObject(e), type\$.StackTrace._as(s));\n" |
| " }\n" |
| " },\n" |
| " runBinaryGuarded\$2\$3(f, arg1, arg2, \$T1, \$T2) {\n" |
| " var e, s, exception;\n" |
| " \$T1._eval\$1(\"@<0>\")._bind\$1(\$T2)._eval\$1(\"~(1,2)\")._as(f);\n" |
| " \$T1._as(arg1);\n" |
| " \$T2._as(arg2);\n" |
| " try {\n" |
| " if (B.C__RootZone === \$.Zone__current) {\n" |
| " f.call\$2(arg1, arg2);\n" |
| " return;\n" |
| " }\n" |
| " A._rootRunBinary(null, null, this, f, arg1, arg2, type\$.void, \$T1, \$T2);\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " A._rootHandleError(A._asObject(e), type\$.StackTrace._as(s));\n" |
| " }\n" |
| " },\n" |
| " bindCallback\$1\$1(f, \$R) {\n" |
| " return new A._RootZone_bindCallback_closure(this, \$R._eval\$1(\"0()\")._as(f), \$R);\n" |
| " },\n" |
| " bindUnaryCallback\$2\$1(f, \$R, \$T) {\n" |
| " return new A._RootZone_bindUnaryCallback_closure(this, \$R._eval\$1(\"@<0>\")._bind\$1(\$T)._eval\$1(\"1(2)\")._as(f), \$T, \$R);\n" |
| " },\n" |
| " bindCallbackGuarded\$1(f) {\n" |
| " return new A._RootZone_bindCallbackGuarded_closure(this, type\$.void_Function._as(f));\n" |
| " },\n" |
| " bindUnaryCallbackGuarded\$1\$1(f, \$T) {\n" |
| " return new A._RootZone_bindUnaryCallbackGuarded_closure(this, \$T._eval\$1(\"~(0)\")._as(f), \$T);\n" |
| " },\n" |
| " handleUncaughtError\$2(error, stackTrace) {\n" |
| " A._rootHandleError(error, type\$.StackTrace._as(stackTrace));\n" |
| " },\n" |
| " fork\$2\$specification\$zoneValues(specification, zoneValues) {\n" |
| " return A._rootFork(null, null, this, specification, zoneValues);\n" |
| " },\n" |
| " run\$1\$1(f, \$R) {\n" |
| " \$R._eval\$1(\"0()\")._as(f);\n" |
| " if (\$.Zone__current === B.C__RootZone)\n" |
| " return f.call\$0();\n" |
| " return A._rootRun(null, null, this, f, \$R);\n" |
| " },\n" |
| " runUnary\$2\$2(f, arg, \$R, \$T) {\n" |
| " \$R._eval\$1(\"@<0>\")._bind\$1(\$T)._eval\$1(\"1(2)\")._as(f);\n" |
| " \$T._as(arg);\n" |
| " if (\$.Zone__current === B.C__RootZone)\n" |
| " return f.call\$1(arg);\n" |
| " return A._rootRunUnary(null, null, this, f, arg, \$R, \$T);\n" |
| " },\n" |
| " runBinary\$3\$3(f, arg1, arg2, \$R, \$T1, \$T2) {\n" |
| " \$R._eval\$1(\"@<0>\")._bind\$1(\$T1)._bind\$1(\$T2)._eval\$1(\"1(2,3)\")._as(f);\n" |
| " \$T1._as(arg1);\n" |
| " \$T2._as(arg2);\n" |
| " if (\$.Zone__current === B.C__RootZone)\n" |
| " return f.call\$2(arg1, arg2);\n" |
| " return A._rootRunBinary(null, null, this, f, arg1, arg2, \$R, \$T1, \$T2);\n" |
| " },\n" |
| " registerCallback\$1\$1(f, \$R) {\n" |
| " return \$R._eval\$1(\"0()\")._as(f);\n" |
| " },\n" |
| " registerUnaryCallback\$2\$1(f, \$R, \$T) {\n" |
| " return \$R._eval\$1(\"@<0>\")._bind\$1(\$T)._eval\$1(\"1(2)\")._as(f);\n" |
| " },\n" |
| " registerBinaryCallback\$3\$1(f, \$R, \$T1, \$T2) {\n" |
| " return \$R._eval\$1(\"@<0>\")._bind\$1(\$T1)._bind\$1(\$T2)._eval\$1(\"1(2,3)\")._as(f);\n" |
| " },\n" |
| " errorCallback\$2(error, stackTrace) {\n" |
| " return null;\n" |
| " },\n" |
| " scheduleMicrotask\$1(f) {\n" |
| " A._rootScheduleMicrotask(null, null, this, type\$.void_Function._as(f));\n" |
| " },\n" |
| " createTimer\$2(duration, f) {\n" |
| " return A.Timer__createTimer(duration, type\$.void_Function._as(f));\n" |
| " },\n" |
| " print\$1(line) {\n" |
| " A.printString(line);\n" |
| " }\n" |
| " };\n" |
| " A._RootZone_bindCallback_closure.prototype = {\n" |
| " call\$0() {\n" |
| " return this.\$this.run\$1\$1(this.f, this.R);\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.R._eval\$1(\"0()\");\n" |
| " }\n" |
| " };\n" |
| " A._RootZone_bindUnaryCallback_closure.prototype = {\n" |
| " call\$1(arg) {\n" |
| " var _this = this,\n" |
| " t1 = _this.T;\n" |
| " return _this.\$this.runUnary\$2\$2(_this.f, t1._as(arg), _this.R, t1);\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.R._eval\$1(\"@<0>\")._bind\$1(this.T)._eval\$1(\"1(2)\");\n" |
| " }\n" |
| " };\n" |
| " A._RootZone_bindCallbackGuarded_closure.prototype = {\n" |
| " call\$0() {\n" |
| " return this.\$this.runGuarded\$1(this.f);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._RootZone_bindUnaryCallbackGuarded_closure.prototype = {\n" |
| " call\$1(arg) {\n" |
| " var t1 = this.T;\n" |
| " return this.\$this.runUnaryGuarded\$1\$2(this.f, t1._as(arg), t1);\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.T._eval\$1(\"~(0)\");\n" |
| " }\n" |
| " };\n" |
| " A.runZonedGuarded_closure.prototype = {\n" |
| " call\$5(\$self, \$parent, zone, error, stackTrace) {\n" |
| " var e, s, exception, t2,\n" |
| " t1 = type\$.StackTrace;\n" |
| " t1._as(stackTrace);\n" |
| " try {\n" |
| " this.parentZone.runBinary\$3\$3(this.onError, error, stackTrace, type\$.void, type\$.Object, t1);\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " s = A.getTraceFromException(exception);\n" |
| " t2 = \$parent._delegationTarget;\n" |
| " if (e === error)\n" |
| " t2._processUncaughtError\$3(zone, error, stackTrace);\n" |
| " else\n" |
| " t2._processUncaughtError\$3(zone, A._asObject(e), t1._as(s));\n" |
| " }\n" |
| " },\n" |
| " \$signature: 31\n" |
| " };\n" |
| " A._ZoneDelegate.prototype = {\$isZoneDelegate: 1};\n" |
| " A._rootHandleError_closure.prototype = {\n" |
| " call\$0() {\n" |
| " A.Error_throwWithStackTrace(this.error, this.stackTrace);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._ZoneSpecification.prototype = {\$isZoneSpecification: 1};\n" |
| " A._HashMap.prototype = {\n" |
| " get\$length(_) {\n" |
| " return this._collection\$_length;\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this._collection\$_length === 0;\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " return this._collection\$_length !== 0;\n" |
| " },\n" |
| " get\$keys() {\n" |
| " return new A._HashMapKeyIterable(this, A._instanceType(this)._eval\$1(\"_HashMapKeyIterable<1>\"));\n" |
| " },\n" |
| " containsKey\$1(key) {\n" |
| " var strings, nums;\n" |
| " if (typeof key == \"string\" && key !== \"__proto__\") {\n" |
| " strings = this._strings;\n" |
| " return strings == null ? false : strings[key] != null;\n" |
| " } else if (typeof key == \"number\" && (key & 1073741823) === key) {\n" |
| " nums = this._nums;\n" |
| " return nums == null ? false : nums[key] != null;\n" |
| " } else\n" |
| " return this._containsKey\$1(key);\n" |
| " },\n" |
| " _containsKey\$1(key) {\n" |
| " var rest = this._collection\$_rest;\n" |
| " if (rest == null)\n" |
| " return false;\n" |
| " return this._findBucketIndex\$2(this._getBucket\$2(rest, key), key) >= 0;\n" |
| " },\n" |
| " \$index(_, key) {\n" |
| " var strings, t1, nums;\n" |
| " if (typeof key == \"string\" && key !== \"__proto__\") {\n" |
| " strings = this._strings;\n" |
| " t1 = strings == null ? null : A._HashMap__getTableEntry(strings, key);\n" |
| " return t1;\n" |
| " } else if (typeof key == \"number\" && (key & 1073741823) === key) {\n" |
| " nums = this._nums;\n" |
| " t1 = nums == null ? null : A._HashMap__getTableEntry(nums, key);\n" |
| " return t1;\n" |
| " } else\n" |
| " return this._get\$1(key);\n" |
| " },\n" |
| " _get\$1(key) {\n" |
| " var bucket, index,\n" |
| " rest = this._collection\$_rest;\n" |
| " if (rest == null)\n" |
| " return null;\n" |
| " bucket = this._getBucket\$2(rest, key);\n" |
| " index = this._findBucketIndex\$2(bucket, key);\n" |
| " return index < 0 ? null : bucket[index + 1];\n" |
| " },\n" |
| " \$indexSet(_, key, value) {\n" |
| " var strings, nums, _this = this,\n" |
| " t1 = A._instanceType(_this);\n" |
| " t1._precomputed1._as(key);\n" |
| " t1._rest[1]._as(value);\n" |
| " if (typeof key == \"string\" && key !== \"__proto__\") {\n" |
| " strings = _this._strings;\n" |
| " _this._collection\$_addHashTableEntry\$3(strings == null ? _this._strings = A._HashMap__newHashTable() : strings, key, value);\n" |
| " } else if (typeof key == \"number\" && (key & 1073741823) === key) {\n" |
| " nums = _this._nums;\n" |
| " _this._collection\$_addHashTableEntry\$3(nums == null ? _this._nums = A._HashMap__newHashTable() : nums, key, value);\n" |
| " } else\n" |
| " _this._set\$2(key, value);\n" |
| " },\n" |
| " _set\$2(key, value) {\n" |
| " var rest, hash, bucket, index, _this = this,\n" |
| " t1 = A._instanceType(_this);\n" |
| " t1._precomputed1._as(key);\n" |
| " t1._rest[1]._as(value);\n" |
| " rest = _this._collection\$_rest;\n" |
| " if (rest == null)\n" |
| " rest = _this._collection\$_rest = A._HashMap__newHashTable();\n" |
| " hash = _this._computeHashCode\$1(key);\n" |
| " bucket = rest[hash];\n" |
| " if (bucket == null) {\n" |
| " A._HashMap__setTableEntry(rest, hash, [key, value]);\n" |
| " ++_this._collection\$_length;\n" |
| " _this._keys = null;\n" |
| " } else {\n" |
| " index = _this._findBucketIndex\$2(bucket, key);\n" |
| " if (index >= 0)\n" |
| " bucket[index + 1] = value;\n" |
| " else {\n" |
| " bucket.push(key, value);\n" |
| " ++_this._collection\$_length;\n" |
| " _this._keys = null;\n" |
| " }\n" |
| " }\n" |
| " },\n" |
| " forEach\$1(_, action) {\n" |
| " var keys, \$length, t2, i, key, t3, _this = this,\n" |
| " t1 = A._instanceType(_this);\n" |
| " t1._eval\$1(\"~(1,2)\")._as(action);\n" |
| " keys = _this._computeKeys\$0();\n" |
| " for (\$length = keys.length, t2 = t1._precomputed1, t1 = t1._rest[1], i = 0; i < \$length; ++i) {\n" |
| " key = keys[i];\n" |
| " t2._as(key);\n" |
| " t3 = _this.\$index(0, key);\n" |
| " action.call\$2(key, t3 == null ? t1._as(t3) : t3);\n" |
| " if (keys !== _this._keys)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(_this));\n" |
| " }\n" |
| " },\n" |
| " _computeKeys\$0() {\n" |
| " var strings, index, names, entries, i, nums, rest, bucket, \$length, i0, _this = this,\n" |
| " result = _this._keys;\n" |
| " if (result != null)\n" |
| " return result;\n" |
| " result = A.List_List\$filled(_this._collection\$_length, null, false, type\$.dynamic);\n" |
| " strings = _this._strings;\n" |
| " index = 0;\n" |
| " if (strings != null) {\n" |
| " names = Object.getOwnPropertyNames(strings);\n" |
| " entries = names.length;\n" |
| " for (i = 0; i < entries; ++i) {\n" |
| " result[index] = names[i];\n" |
| " ++index;\n" |
| " }\n" |
| " }\n" |
| " nums = _this._nums;\n" |
| " if (nums != null) {\n" |
| " names = Object.getOwnPropertyNames(nums);\n" |
| " entries = names.length;\n" |
| " for (i = 0; i < entries; ++i) {\n" |
| " result[index] = +names[i];\n" |
| " ++index;\n" |
| " }\n" |
| " }\n" |
| " rest = _this._collection\$_rest;\n" |
| " if (rest != null) {\n" |
| " names = Object.getOwnPropertyNames(rest);\n" |
| " entries = names.length;\n" |
| " for (i = 0; i < entries; ++i) {\n" |
| " bucket = rest[names[i]];\n" |
| " \$length = bucket.length;\n" |
| " for (i0 = 0; i0 < \$length; i0 += 2) {\n" |
| " result[index] = bucket[i0];\n" |
| " ++index;\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " return _this._keys = result;\n" |
| " },\n" |
| " _collection\$_addHashTableEntry\$3(table, key, value) {\n" |
| " var t1 = A._instanceType(this);\n" |
| " t1._precomputed1._as(key);\n" |
| " t1._rest[1]._as(value);\n" |
| " if (table[key] == null) {\n" |
| " ++this._collection\$_length;\n" |
| " this._keys = null;\n" |
| " }\n" |
| " A._HashMap__setTableEntry(table, key, value);\n" |
| " },\n" |
| " _computeHashCode\$1(key) {\n" |
| " return J.get\$hashCode\$(key) & 1073741823;\n" |
| " },\n" |
| " _getBucket\$2(table, key) {\n" |
| " return table[this._computeHashCode\$1(key)];\n" |
| " },\n" |
| " _findBucketIndex\$2(bucket, key) {\n" |
| " var \$length, i;\n" |
| " if (bucket == null)\n" |
| " return -1;\n" |
| " \$length = bucket.length;\n" |
| " for (i = 0; i < \$length; i += 2)\n" |
| " if (J.\$eq\$(bucket[i], key))\n" |
| " return i;\n" |
| " return -1;\n" |
| " },\n" |
| " \$isHashMap: 1\n" |
| " };\n" |
| " A._IdentityHashMap.prototype = {\n" |
| " _computeHashCode\$1(key) {\n" |
| " return A.objectHashCode(key) & 1073741823;\n" |
| " },\n" |
| " _findBucketIndex\$2(bucket, key) {\n" |
| " var \$length, i, t1;\n" |
| " if (bucket == null)\n" |
| " return -1;\n" |
| " \$length = bucket.length;\n" |
| " for (i = 0; i < \$length; i += 2) {\n" |
| " t1 = bucket[i];\n" |
| " if (t1 == null ? key == null : t1 === key)\n" |
| " return i;\n" |
| " }\n" |
| " return -1;\n" |
| " }\n" |
| " };\n" |
| " A._HashMapKeyIterable.prototype = {\n" |
| " get\$length(_) {\n" |
| " return this._collection\$_map._collection\$_length;\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this._collection\$_map._collection\$_length === 0;\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " return this._collection\$_map._collection\$_length !== 0;\n" |
| " },\n" |
| " get\$iterator(_) {\n" |
| " var t1 = this._collection\$_map;\n" |
| " return new A._HashMapKeyIterator(t1, t1._computeKeys\$0(), this.\$ti._eval\$1(\"_HashMapKeyIterator<1>\"));\n" |
| " },\n" |
| " contains\$1(_, element) {\n" |
| " return this._collection\$_map.containsKey\$1(element);\n" |
| " }\n" |
| " };\n" |
| " A._HashMapKeyIterator.prototype = {\n" |
| " get\$current() {\n" |
| " var t1 = this._collection\$_current;\n" |
| " return t1 == null ? this.\$ti._precomputed1._as(t1) : t1;\n" |
| " },\n" |
| " moveNext\$0() {\n" |
| " var _this = this,\n" |
| " keys = _this._keys,\n" |
| " offset = _this._offset,\n" |
| " t1 = _this._collection\$_map;\n" |
| " if (keys !== t1._keys)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(t1));\n" |
| " else if (offset >= keys.length) {\n" |
| " _this._collection\$_current = null;\n" |
| " return false;\n" |
| " } else {\n" |
| " _this._collection\$_current = keys[offset];\n" |
| " _this._offset = offset + 1;\n" |
| " return true;\n" |
| " }\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A._LinkedCustomHashMap.prototype = {\n" |
| " \$index(_, key) {\n" |
| " if (!this._validKey.call\$1(key))\n" |
| " return null;\n" |
| " return this.super\$JsLinkedHashMap\$internalGet(key);\n" |
| " },\n" |
| " \$indexSet(_, key, value) {\n" |
| " var t1 = this.\$ti;\n" |
| " this.super\$JsLinkedHashMap\$internalSet(t1._precomputed1._as(key), t1._rest[1]._as(value));\n" |
| " },\n" |
| " containsKey\$1(key) {\n" |
| " if (!this._validKey.call\$1(key))\n" |
| " return false;\n" |
| " return this.super\$JsLinkedHashMap\$internalContainsKey(key);\n" |
| " },\n" |
| " internalComputeHashCode\$1(key) {\n" |
| " return this._hashCode.call\$1(this.\$ti._precomputed1._as(key)) & 1073741823;\n" |
| " },\n" |
| " internalFindBucketIndex\$2(bucket, key) {\n" |
| " var \$length, t1, t2, i;\n" |
| " if (bucket == null)\n" |
| " return -1;\n" |
| " \$length = bucket.length;\n" |
| " for (t1 = this.\$ti._precomputed1, t2 = this._equals, i = 0; i < \$length; ++i)\n" |
| " if (t2.call\$2(t1._as(bucket[i].hashMapCellKey), t1._as(key)))\n" |
| " return i;\n" |
| " return -1;\n" |
| " }\n" |
| " };\n" |
| " A._LinkedCustomHashMap_closure.prototype = {\n" |
| " call\$1(v) {\n" |
| " return this.K._is(v);\n" |
| " },\n" |
| " \$signature: 32\n" |
| " };\n" |
| " A._HashSet.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " return new A._HashSetIterator(this, this._computeElements\$0(), A._instanceType(this)._eval\$1(\"_HashSetIterator<1>\"));\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " return this._collection\$_length;\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this._collection\$_length === 0;\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " return this._collection\$_length !== 0;\n" |
| " },\n" |
| " contains\$1(_, object) {\n" |
| " var strings, nums;\n" |
| " if (typeof object == \"string\" && object !== \"__proto__\") {\n" |
| " strings = this._strings;\n" |
| " return strings == null ? false : strings[object] != null;\n" |
| " } else if (typeof object == \"number\" && (object & 1073741823) === object) {\n" |
| " nums = this._nums;\n" |
| " return nums == null ? false : nums[object] != null;\n" |
| " } else\n" |
| " return this._contains\$1(object);\n" |
| " },\n" |
| " _contains\$1(object) {\n" |
| " var rest = this._collection\$_rest;\n" |
| " if (rest == null)\n" |
| " return false;\n" |
| " return this._findBucketIndex\$2(rest[this._computeHashCode\$1(object)], object) >= 0;\n" |
| " },\n" |
| " add\$1(_, element) {\n" |
| " var strings, nums, _this = this;\n" |
| " A._instanceType(_this)._precomputed1._as(element);\n" |
| " if (typeof element == \"string\" && element !== \"__proto__\") {\n" |
| " strings = _this._strings;\n" |
| " return _this._collection\$_addHashTableEntry\$2(strings == null ? _this._strings = A._HashSet__newHashTable() : strings, element);\n" |
| " } else if (typeof element == \"number\" && (element & 1073741823) === element) {\n" |
| " nums = _this._nums;\n" |
| " return _this._collection\$_addHashTableEntry\$2(nums == null ? _this._nums = A._HashSet__newHashTable() : nums, element);\n" |
| " } else\n" |
| " return _this._collection\$_add\$1(element);\n" |
| " },\n" |
| " _collection\$_add\$1(element) {\n" |
| " var rest, hash, bucket, _this = this;\n" |
| " A._instanceType(_this)._precomputed1._as(element);\n" |
| " rest = _this._collection\$_rest;\n" |
| " if (rest == null)\n" |
| " rest = _this._collection\$_rest = A._HashSet__newHashTable();\n" |
| " hash = _this._computeHashCode\$1(element);\n" |
| " bucket = rest[hash];\n" |
| " if (bucket == null)\n" |
| " rest[hash] = [element];\n" |
| " else {\n" |
| " if (_this._findBucketIndex\$2(bucket, element) >= 0)\n" |
| " return false;\n" |
| " bucket.push(element);\n" |
| " }\n" |
| " ++_this._collection\$_length;\n" |
| " _this._collection\$_elements = null;\n" |
| " return true;\n" |
| " },\n" |
| " remove\$1(_, object) {\n" |
| " var _this = this;\n" |
| " if (typeof object == \"string\" && object !== \"__proto__\")\n" |
| " return _this._removeHashTableEntry\$2(_this._strings, object);\n" |
| " else if (typeof object == \"number\" && (object & 1073741823) === object)\n" |
| " return _this._removeHashTableEntry\$2(_this._nums, object);\n" |
| " else\n" |
| " return _this._remove\$1(object);\n" |
| " },\n" |
| " _remove\$1(object) {\n" |
| " var hash, bucket, index, _this = this,\n" |
| " rest = _this._collection\$_rest;\n" |
| " if (rest == null)\n" |
| " return false;\n" |
| " hash = _this._computeHashCode\$1(object);\n" |
| " bucket = rest[hash];\n" |
| " index = _this._findBucketIndex\$2(bucket, object);\n" |
| " if (index < 0)\n" |
| " return false;\n" |
| " --_this._collection\$_length;\n" |
| " _this._collection\$_elements = null;\n" |
| " bucket.splice(index, 1);\n" |
| " if (0 === bucket.length)\n" |
| " delete rest[hash];\n" |
| " return true;\n" |
| " },\n" |
| " _computeElements\$0() {\n" |
| " var strings, index, names, entries, i, nums, rest, bucket, \$length, i0, _this = this,\n" |
| " result = _this._collection\$_elements;\n" |
| " if (result != null)\n" |
| " return result;\n" |
| " result = A.List_List\$filled(_this._collection\$_length, null, false, type\$.dynamic);\n" |
| " strings = _this._strings;\n" |
| " index = 0;\n" |
| " if (strings != null) {\n" |
| " names = Object.getOwnPropertyNames(strings);\n" |
| " entries = names.length;\n" |
| " for (i = 0; i < entries; ++i) {\n" |
| " result[index] = names[i];\n" |
| " ++index;\n" |
| " }\n" |
| " }\n" |
| " nums = _this._nums;\n" |
| " if (nums != null) {\n" |
| " names = Object.getOwnPropertyNames(nums);\n" |
| " entries = names.length;\n" |
| " for (i = 0; i < entries; ++i) {\n" |
| " result[index] = +names[i];\n" |
| " ++index;\n" |
| " }\n" |
| " }\n" |
| " rest = _this._collection\$_rest;\n" |
| " if (rest != null) {\n" |
| " names = Object.getOwnPropertyNames(rest);\n" |
| " entries = names.length;\n" |
| " for (i = 0; i < entries; ++i) {\n" |
| " bucket = rest[names[i]];\n" |
| " \$length = bucket.length;\n" |
| " for (i0 = 0; i0 < \$length; ++i0) {\n" |
| " result[index] = bucket[i0];\n" |
| " ++index;\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " return _this._collection\$_elements = result;\n" |
| " },\n" |
| " _collection\$_addHashTableEntry\$2(table, element) {\n" |
| " A._instanceType(this)._precomputed1._as(element);\n" |
| " if (table[element] != null)\n" |
| " return false;\n" |
| " table[element] = 0;\n" |
| " ++this._collection\$_length;\n" |
| " this._collection\$_elements = null;\n" |
| " return true;\n" |
| " },\n" |
| " _removeHashTableEntry\$2(table, element) {\n" |
| " if (table != null && table[element] != null) {\n" |
| " delete table[element];\n" |
| " --this._collection\$_length;\n" |
| " this._collection\$_elements = null;\n" |
| " return true;\n" |
| " } else\n" |
| " return false;\n" |
| " },\n" |
| " _computeHashCode\$1(element) {\n" |
| " return J.get\$hashCode\$(element) & 1073741823;\n" |
| " },\n" |
| " _findBucketIndex\$2(bucket, element) {\n" |
| " var \$length, i;\n" |
| " if (bucket == null)\n" |
| " return -1;\n" |
| " \$length = bucket.length;\n" |
| " for (i = 0; i < \$length; ++i)\n" |
| " if (J.\$eq\$(bucket[i], element))\n" |
| " return i;\n" |
| " return -1;\n" |
| " }\n" |
| " };\n" |
| " A._HashSetIterator.prototype = {\n" |
| " get\$current() {\n" |
| " var t1 = this._collection\$_current;\n" |
| " return t1 == null ? this.\$ti._precomputed1._as(t1) : t1;\n" |
| " },\n" |
| " moveNext\$0() {\n" |
| " var _this = this,\n" |
| " elements = _this._collection\$_elements,\n" |
| " offset = _this._offset,\n" |
| " t1 = _this._set;\n" |
| " if (elements !== t1._collection\$_elements)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(t1));\n" |
| " else if (offset >= elements.length) {\n" |
| " _this._collection\$_current = null;\n" |
| " return false;\n" |
| " } else {\n" |
| " _this._collection\$_current = elements[offset];\n" |
| " _this._offset = offset + 1;\n" |
| " return true;\n" |
| " }\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.ListBase.prototype = {\n" |
| " get\$iterator(receiver) {\n" |
| " return new A.ListIterator(receiver, this.get\$length(receiver), A.instanceType(receiver)._eval\$1(\"ListIterator<ListBase.E>\"));\n" |
| " },\n" |
| " elementAt\$1(receiver, index) {\n" |
| " return this.\$index(receiver, index);\n" |
| " },\n" |
| " get\$isEmpty(receiver) {\n" |
| " return this.get\$length(receiver) === 0;\n" |
| " },\n" |
| " get\$isNotEmpty(receiver) {\n" |
| " return !this.get\$isEmpty(receiver);\n" |
| " },\n" |
| " get\$first(receiver) {\n" |
| " if (this.get\$length(receiver) === 0)\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " return this.\$index(receiver, 0);\n" |
| " },\n" |
| " contains\$1(receiver, element) {\n" |
| " var i,\n" |
| " \$length = this.get\$length(receiver);\n" |
| " for (i = 0; i < \$length; ++i) {\n" |
| " if (J.\$eq\$(this.\$index(receiver, i), element))\n" |
| " return true;\n" |
| " if (\$length !== this.get\$length(receiver))\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(receiver));\n" |
| " }\n" |
| " return false;\n" |
| " },\n" |
| " map\$1\$1(receiver, f, \$T) {\n" |
| " var t1 = A.instanceType(receiver);\n" |
| " return new A.MappedListIterable(receiver, t1._bind\$1(\$T)._eval\$1(\"1(ListBase.E)\")._as(f), t1._eval\$1(\"@<ListBase.E>\")._bind\$1(\$T)._eval\$1(\"MappedListIterable<1,2>\"));\n" |
| " },\n" |
| " skip\$1(receiver, count) {\n" |
| " return A.SubListIterable\$(receiver, count, null, A.instanceType(receiver)._eval\$1(\"ListBase.E\"));\n" |
| " },\n" |
| " take\$1(receiver, count) {\n" |
| " return A.SubListIterable\$(receiver, 0, A.checkNotNullable(count, \"count\", type\$.int), A.instanceType(receiver)._eval\$1(\"ListBase.E\"));\n" |
| " },\n" |
| " add\$1(receiver, element) {\n" |
| " var t1;\n" |
| " A.instanceType(receiver)._eval\$1(\"ListBase.E\")._as(element);\n" |
| " t1 = this.get\$length(receiver);\n" |
| " this.set\$length(receiver, t1 + 1);\n" |
| " this.\$indexSet(receiver, t1, element);\n" |
| " },\n" |
| " cast\$1\$0(receiver, \$R) {\n" |
| " return new A.CastList(receiver, A.instanceType(receiver)._eval\$1(\"@<ListBase.E>\")._bind\$1(\$R)._eval\$1(\"CastList<1,2>\"));\n" |
| " },\n" |
| " sort\$1(receiver, compare) {\n" |
| " var t2,\n" |
| " t1 = A.instanceType(receiver);\n" |
| " t1._eval\$1(\"int(ListBase.E,ListBase.E)?\")._as(compare);\n" |
| " t2 = compare == null ? A.collection_ListBase__compareAny\$closure() : compare;\n" |
| " A.Sort__doSort(receiver, 0, this.get\$length(receiver) - 1, t2, t1._eval\$1(\"ListBase.E\"));\n" |
| " },\n" |
| " fillRange\$3(receiver, start, end, fill) {\n" |
| " var value, i,\n" |
| " t1 = A.instanceType(receiver);\n" |
| " t1._eval\$1(\"ListBase.E?\")._as(fill);\n" |
| " value = fill == null ? t1._eval\$1(\"ListBase.E\")._as(fill) : fill;\n" |
| " A.RangeError_checkValidRange(start, end, this.get\$length(receiver));\n" |
| " for (i = start; i < end; ++i)\n" |
| " this.\$indexSet(receiver, i, value);\n" |
| " },\n" |
| " setRange\$4(receiver, start, end, iterable, skipCount) {\n" |
| " var \$length, otherStart, otherList, t1, i;\n" |
| " A.instanceType(receiver)._eval\$1(\"Iterable<ListBase.E>\")._as(iterable);\n" |
| " A.RangeError_checkValidRange(start, end, this.get\$length(receiver));\n" |
| " \$length = end - start;\n" |
| " if (\$length === 0)\n" |
| " return;\n" |
| " A.RangeError_checkNotNegative(skipCount, \"skipCount\");\n" |
| " if (type\$.List_dynamic._is(iterable)) {\n" |
| " otherStart = skipCount;\n" |
| " otherList = iterable;\n" |
| " } else {\n" |
| " otherList = J.skip\$1\$ax(iterable, skipCount).toList\$1\$growable(0, false);\n" |
| " otherStart = 0;\n" |
| " }\n" |
| " t1 = J.getInterceptor\$asx(otherList);\n" |
| " if (otherStart + \$length > t1.get\$length(otherList))\n" |
| " throw A.wrapException(A.IterableElementError_tooFew());\n" |
| " if (otherStart < start)\n" |
| " for (i = \$length - 1; i >= 0; --i)\n" |
| " this.\$indexSet(receiver, start + i, t1.\$index(otherList, otherStart + i));\n" |
| " else\n" |
| " for (i = 0; i < \$length; ++i)\n" |
| " this.\$indexSet(receiver, start + i, t1.\$index(otherList, otherStart + i));\n" |
| " },\n" |
| " toString\$0(receiver) {\n" |
| " return A.Iterable_iterableToFullString(receiver, \"[\", \"]\");\n" |
| " },\n" |
| " \$isEfficientLengthIterable: 1,\n" |
| " \$isIterable: 1,\n" |
| " \$isList: 1\n" |
| " };\n" |
| " A.MapBase.prototype = {\n" |
| " cast\$2\$0(_, \$RK, \$RV) {\n" |
| " var t1 = A._instanceType(this);\n" |
| " return A.Map_castFrom(this, t1._eval\$1(\"MapBase.K\"), t1._eval\$1(\"MapBase.V\"), \$RK, \$RV);\n" |
| " },\n" |
| " forEach\$1(_, action) {\n" |
| " var t2, key, t3,\n" |
| " t1 = A._instanceType(this);\n" |
| " t1._eval\$1(\"~(MapBase.K,MapBase.V)\")._as(action);\n" |
| " for (t2 = this.get\$keys(), t2 = t2.get\$iterator(t2), t1 = t1._eval\$1(\"MapBase.V\"); t2.moveNext\$0();) {\n" |
| " key = t2.get\$current();\n" |
| " t3 = this.\$index(0, key);\n" |
| " action.call\$2(key, t3 == null ? t1._as(t3) : t3);\n" |
| " }\n" |
| " },\n" |
| " containsKey\$1(key) {\n" |
| " return this.get\$keys().contains\$1(0, key);\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " var t1 = this.get\$keys();\n" |
| " return t1.get\$length(t1);\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " var t1 = this.get\$keys();\n" |
| " return t1.get\$isEmpty(t1);\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " var t1 = this.get\$keys();\n" |
| " return t1.get\$isNotEmpty(t1);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return A.MapBase_mapToString(this);\n" |
| " },\n" |
| " \$isMap: 1\n" |
| " };\n" |
| " A.MapBase_mapToString_closure.prototype = {\n" |
| " call\$2(k, v) {\n" |
| " var t2,\n" |
| " t1 = this._box_0;\n" |
| " if (!t1.first)\n" |
| " this.result._contents += \", \";\n" |
| " t1.first = false;\n" |
| " t1 = this.result;\n" |
| " t2 = A.S(k);\n" |
| " t1._contents = (t1._contents += t2) + \": \";\n" |
| " t2 = A.S(v);\n" |
| " t1._contents += t2;\n" |
| " },\n" |
| " \$signature: 18\n" |
| " };\n" |
| " A._UnmodifiableMapMixin.prototype = {\n" |
| " \$indexSet(_, key, value) {\n" |
| " var t1 = A._instanceType(this);\n" |
| " t1._precomputed1._as(key);\n" |
| " t1._rest[1]._as(value);\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Cannot modify unmodifiable map\"));\n" |
| " }\n" |
| " };\n" |
| " A.MapView.prototype = {\n" |
| " cast\$2\$0(_, \$RK, \$RV) {\n" |
| " return this._collection\$_map.cast\$2\$0(0, \$RK, \$RV);\n" |
| " },\n" |
| " \$index(_, key) {\n" |
| " return this._collection\$_map.\$index(0, key);\n" |
| " },\n" |
| " \$indexSet(_, key, value) {\n" |
| " var t1 = A._instanceType(this);\n" |
| " this._collection\$_map.\$indexSet(0, t1._precomputed1._as(key), t1._rest[1]._as(value));\n" |
| " },\n" |
| " containsKey\$1(key) {\n" |
| " return this._collection\$_map.containsKey\$1(key);\n" |
| " },\n" |
| " forEach\$1(_, action) {\n" |
| " this._collection\$_map.forEach\$1(0, A._instanceType(this)._eval\$1(\"~(1,2)\")._as(action));\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " var t1 = this._collection\$_map;\n" |
| " return t1.get\$isEmpty(t1);\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " var t1 = this._collection\$_map;\n" |
| " return t1.get\$isNotEmpty(t1);\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " var t1 = this._collection\$_map;\n" |
| " return t1.get\$length(t1);\n" |
| " },\n" |
| " get\$keys() {\n" |
| " return this._collection\$_map.get\$keys();\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return this._collection\$_map.toString\$0(0);\n" |
| " },\n" |
| " \$isMap: 1\n" |
| " };\n" |
| " A.UnmodifiableMapView.prototype = {\n" |
| " cast\$2\$0(_, \$RK, \$RV) {\n" |
| " return new A.UnmodifiableMapView(this._collection\$_map.cast\$2\$0(0, \$RK, \$RV), \$RK._eval\$1(\"@<0>\")._bind\$1(\$RV)._eval\$1(\"UnmodifiableMapView<1,2>\"));\n" |
| " }\n" |
| " };\n" |
| " A.ListQueue.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " var _this = this;\n" |
| " return new A._ListQueueIterator(_this, _this._tail, _this._modificationCount, _this._head, _this.\$ti._eval\$1(\"_ListQueueIterator<1>\"));\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this._head === this._tail;\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " return (this._tail - this._head & this._table.length - 1) >>> 0;\n" |
| " },\n" |
| " get\$first(_) {\n" |
| " var t2, _this = this,\n" |
| " t1 = _this._head;\n" |
| " if (t1 === _this._tail)\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " t2 = _this._table;\n" |
| " if (!(t1 < t2.length))\n" |
| " return A.ioore(t2, t1);\n" |
| " t1 = t2[t1];\n" |
| " return t1 == null ? _this.\$ti._precomputed1._as(t1) : t1;\n" |
| " },\n" |
| " elementAt\$1(_, index) {\n" |
| " var t2, t3, _this = this,\n" |
| " t1 = _this.get\$length(0);\n" |
| " if (0 > index || index >= t1)\n" |
| " A.throwExpression(A.IndexError\$withLength(index, t1, _this, null, \"index\"));\n" |
| " t1 = _this._table;\n" |
| " t2 = t1.length;\n" |
| " t3 = (_this._head + index & t2 - 1) >>> 0;\n" |
| " if (!(t3 >= 0 && t3 < t2))\n" |
| " return A.ioore(t1, t3);\n" |
| " t3 = t1[t3];\n" |
| " return t3 == null ? _this.\$ti._precomputed1._as(t3) : t3;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return A.Iterable_iterableToFullString(this, \"{\", \"}\");\n" |
| " },\n" |
| " removeFirst\$0() {\n" |
| " var t2, result, _this = this,\n" |
| " t1 = _this._head;\n" |
| " if (t1 === _this._tail)\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " ++_this._modificationCount;\n" |
| " t2 = _this._table;\n" |
| " if (!(t1 < t2.length))\n" |
| " return A.ioore(t2, t1);\n" |
| " result = t2[t1];\n" |
| " if (result == null)\n" |
| " result = _this.\$ti._precomputed1._as(result);\n" |
| " B.JSArray_methods.\$indexSet(t2, t1, null);\n" |
| " _this._head = (_this._head + 1 & _this._table.length - 1) >>> 0;\n" |
| " return result;\n" |
| " },\n" |
| " _collection\$_add\$1(element) {\n" |
| " var t2, t3, newTable, split, _this = this,\n" |
| " t1 = _this.\$ti;\n" |
| " t1._precomputed1._as(element);\n" |
| " B.JSArray_methods.\$indexSet(_this._table, _this._tail, element);\n" |
| " t2 = _this._tail;\n" |
| " t3 = _this._table.length;\n" |
| " t2 = (t2 + 1 & t3 - 1) >>> 0;\n" |
| " _this._tail = t2;\n" |
| " if (_this._head === t2) {\n" |
| " newTable = A.List_List\$filled(t3 * 2, null, false, t1._eval\$1(\"1?\"));\n" |
| " t1 = _this._table;\n" |
| " t2 = _this._head;\n" |
| " split = t1.length - t2;\n" |
| " B.JSArray_methods.setRange\$4(newTable, 0, split, t1, t2);\n" |
| " B.JSArray_methods.setRange\$4(newTable, split, split + _this._head, _this._table, 0);\n" |
| " _this._head = 0;\n" |
| " _this._tail = _this._table.length;\n" |
| " _this._table = newTable;\n" |
| " }\n" |
| " ++_this._modificationCount;\n" |
| " },\n" |
| " \$isQueue: 1\n" |
| " };\n" |
| " A._ListQueueIterator.prototype = {\n" |
| " get\$current() {\n" |
| " var t1 = this._collection\$_current;\n" |
| " return t1 == null ? this.\$ti._precomputed1._as(t1) : t1;\n" |
| " },\n" |
| " moveNext\$0() {\n" |
| " var t2, t3, _this = this,\n" |
| " t1 = _this._queue;\n" |
| " if (_this._modificationCount !== t1._modificationCount)\n" |
| " A.throwExpression(A.ConcurrentModificationError\$(t1));\n" |
| " t2 = _this._position;\n" |
| " if (t2 === _this._end) {\n" |
| " _this._collection\$_current = null;\n" |
| " return false;\n" |
| " }\n" |
| " t1 = t1._table;\n" |
| " t3 = t1.length;\n" |
| " if (!(t2 < t3))\n" |
| " return A.ioore(t1, t2);\n" |
| " _this._collection\$_current = t1[t2];\n" |
| " _this._position = (t2 + 1 & t3 - 1) >>> 0;\n" |
| " return true;\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A.SetBase.prototype = {\n" |
| " get\$isEmpty(_) {\n" |
| " return this.get\$length(this) === 0;\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " return this.get\$length(this) !== 0;\n" |
| " },\n" |
| " map\$1\$1(_, f, \$T) {\n" |
| " var t1 = A._instanceType(this);\n" |
| " return new A.EfficientLengthMappedIterable(this, t1._bind\$1(\$T)._eval\$1(\"1(2)\")._as(f), t1._eval\$1(\"@<1>\")._bind\$1(\$T)._eval\$1(\"EfficientLengthMappedIterable<1,2>\"));\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return A.Iterable_iterableToFullString(this, \"{\", \"}\");\n" |
| " },\n" |
| " take\$1(_, n) {\n" |
| " return A.TakeIterable_TakeIterable(this, n, A._instanceType(this)._precomputed1);\n" |
| " },\n" |
| " skip\$1(_, n) {\n" |
| " return A.SkipIterable_SkipIterable(this, n, A._instanceType(this)._precomputed1);\n" |
| " },\n" |
| " get\$first(_) {\n" |
| " var it = this.get\$iterator(this);\n" |
| " if (!it.moveNext\$0())\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " return it.get\$current();\n" |
| " },\n" |
| " elementAt\$1(_, index) {\n" |
| " var iterator, skipCount;\n" |
| " A.RangeError_checkNotNegative(index, \"index\");\n" |
| " iterator = this.get\$iterator(this);\n" |
| " for (skipCount = index; iterator.moveNext\$0();) {\n" |
| " if (skipCount === 0)\n" |
| " return iterator.get\$current();\n" |
| " --skipCount;\n" |
| " }\n" |
| " throw A.wrapException(A.IndexError\$withLength(index, index - skipCount, this, null, \"index\"));\n" |
| " },\n" |
| " \$isEfficientLengthIterable: 1,\n" |
| " \$isIterable: 1\n" |
| " };\n" |
| " A._SetBase.prototype = {};\n" |
| " A._SplayTreeNode.prototype = {\n" |
| " set\$_left(_left) {\n" |
| " this._left = this.\$ti._eval\$1(\"_SplayTreeNode.1?\")._as(_left);\n" |
| " },\n" |
| " set\$_right(_right) {\n" |
| " this._right = this.\$ti._eval\$1(\"_SplayTreeNode.1?\")._as(_right);\n" |
| " }\n" |
| " };\n" |
| " A._SplayTreeSetNode.prototype = {};\n" |
| " A._SplayTree.prototype = {\n" |
| " _splay\$1(key) {\n" |
| " var root, compare, comparison, current, newTreeLeft, left, newTreeRight, right, currentLeft, currentLeft0, currentRight, currentRight0, _this = this, _null = null;\n" |
| " _this.\$ti._eval\$1(\"_SplayTree.K\")._as(key);\n" |
| " root = _this._root;\n" |
| " if (root == null) {\n" |
| " _this._compare.call\$2(key, key);\n" |
| " return -1;\n" |
| " }\n" |
| " compare = _this._compare;\n" |
| " for (comparison = _null, current = root, newTreeLeft = comparison, left = newTreeLeft, newTreeRight = left, right = newTreeRight;;) {\n" |
| " comparison = compare.call\$2(current.key, key);\n" |
| " if (comparison > 0) {\n" |
| " currentLeft = current._left;\n" |
| " if (currentLeft == null)\n" |
| " break;\n" |
| " comparison = compare.call\$2(currentLeft.key, key);\n" |
| " if (comparison > 0) {\n" |
| " current.set\$_left(currentLeft._right);\n" |
| " currentLeft.set\$_right(current);\n" |
| " currentLeft0 = currentLeft._left;\n" |
| " if (currentLeft0 == null) {\n" |
| " current = currentLeft;\n" |
| " break;\n" |
| " }\n" |
| " current = currentLeft;\n" |
| " currentLeft = currentLeft0;\n" |
| " }\n" |
| " if (right == null)\n" |
| " newTreeRight = current;\n" |
| " else\n" |
| " right.set\$_left(current);\n" |
| " right = current;\n" |
| " current = currentLeft;\n" |
| " } else {\n" |
| " if (comparison < 0) {\n" |
| " currentRight = current._right;\n" |
| " if (currentRight == null)\n" |
| " break;\n" |
| " comparison = compare.call\$2(currentRight.key, key);\n" |
| " if (comparison < 0) {\n" |
| " current.set\$_right(currentRight._left);\n" |
| " currentRight.set\$_left(current);\n" |
| " currentRight0 = currentRight._right;\n" |
| " if (currentRight0 == null) {\n" |
| " current = currentRight;\n" |
| " break;\n" |
| " }\n" |
| " current = currentRight;\n" |
| " currentRight = currentRight0;\n" |
| " }\n" |
| " if (left == null)\n" |
| " newTreeLeft = current;\n" |
| " else\n" |
| " left.set\$_right(current);\n" |
| " } else\n" |
| " break;\n" |
| " left = current;\n" |
| " current = currentRight;\n" |
| " }\n" |
| " }\n" |
| " if (left != null) {\n" |
| " left.set\$_right(current._left);\n" |
| " current.set\$_left(newTreeLeft);\n" |
| " }\n" |
| " if (right != null) {\n" |
| " right.set\$_left(current._right);\n" |
| " current.set\$_right(newTreeRight);\n" |
| " }\n" |
| " if (_this._root !== current) {\n" |
| " _this._root = current;\n" |
| " ++_this._splayCount;\n" |
| " }\n" |
| " return comparison;\n" |
| " },\n" |
| " _splayMin\$1(node) {\n" |
| " var current, modified, left;\n" |
| " this.\$ti._eval\$1(\"_SplayTree.1\")._as(node);\n" |
| " for (current = node, modified = 0;; current = left, modified = 1) {\n" |
| " left = current._left;\n" |
| " if (left != null) {\n" |
| " current.set\$_left(left._right);\n" |
| " left.set\$_right(current);\n" |
| " } else\n" |
| " break;\n" |
| " }\n" |
| " this._splayCount += modified;\n" |
| " return current;\n" |
| " },\n" |
| " _splayMax\$1(node) {\n" |
| " var current, modified, right;\n" |
| " this.\$ti._eval\$1(\"_SplayTree.1\")._as(node);\n" |
| " for (current = node, modified = 0;; current = right, modified = 1) {\n" |
| " right = current._right;\n" |
| " if (right != null) {\n" |
| " current.set\$_right(right._left);\n" |
| " right.set\$_left(current);\n" |
| " } else\n" |
| " break;\n" |
| " }\n" |
| " this._splayCount += modified;\n" |
| " return current;\n" |
| " },\n" |
| " _untypedLookup\$1(key) {\n" |
| " if (!this.\$ti._eval\$1(\"_SplayTree.K\")._is(key))\n" |
| " return null;\n" |
| " if (this._splay\$1(key) === 0)\n" |
| " return this._root;\n" |
| " return null;\n" |
| " }\n" |
| " };\n" |
| " A._SplayTreeIterator.prototype = {\n" |
| " get\$current() {\n" |
| " var t1 = this._path;\n" |
| " if (t1.length === 0) {\n" |
| " this.\$ti._eval\$1(\"_SplayTreeIterator.T\")._as(null);\n" |
| " return null;\n" |
| " }\n" |
| " return this.\$ti._rest[1]._as(B.JSArray_methods.get\$last(t1)).key;\n" |
| " },\n" |
| " _rebuildPath\$1(key) {\n" |
| " var t1, t2, t3, _this = this;\n" |
| " _this.\$ti._eval\$1(\"_SplayTreeIterator.K\")._as(key);\n" |
| " t1 = _this._path;\n" |
| " B.JSArray_methods.clear\$0(t1);\n" |
| " t2 = _this._tree;\n" |
| " if (t2._splay\$1(key) === 0) {\n" |
| " t3 = t2._root;\n" |
| " t3.toString;\n" |
| " B.JSArray_methods.add\$1(t1, t3);\n" |
| " _this._splayCount = t2._splayCount;\n" |
| " return;\n" |
| " }\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(_this));\n" |
| " },\n" |
| " moveNext\$0() {\n" |
| " var node, next, _this = this,\n" |
| " t1 = _this._modificationCount,\n" |
| " t2 = _this._tree,\n" |
| " t3 = t2._modificationCount;\n" |
| " if (t1 !== t3) {\n" |
| " if (t1 == null) {\n" |
| " _this._modificationCount = t3;\n" |
| " node = t2._root;\n" |
| " for (t1 = _this._path; node != null;) {\n" |
| " B.JSArray_methods.add\$1(t1, node);\n" |
| " node = node._left;\n" |
| " }\n" |
| " return t1.length !== 0;\n" |
| " }\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(t2));\n" |
| " }\n" |
| " t1 = _this._path;\n" |
| " if (t1.length === 0)\n" |
| " return false;\n" |
| " if (_this._splayCount !== t2._splayCount)\n" |
| " _this._rebuildPath\$1(B.JSArray_methods.get\$last(t1).key);\n" |
| " node = B.JSArray_methods.get\$last(t1);\n" |
| " next = node._right;\n" |
| " if (next != null) {\n" |
| " while (next != null) {\n" |
| " B.JSArray_methods.add\$1(t1, next);\n" |
| " next = next._left;\n" |
| " }\n" |
| " return true;\n" |
| " }\n" |
| " if (0 >= t1.length)\n" |
| " return A.ioore(t1, -1);\n" |
| " t1.pop();\n" |
| " for (;;) {\n" |
| " if (!(t1.length !== 0 && B.JSArray_methods.get\$last(t1)._right === node))\n" |
| " break;\n" |
| " if (0 >= t1.length)\n" |
| " return A.ioore(t1, -1);\n" |
| " node = t1.pop();\n" |
| " }\n" |
| " return t1.length !== 0;\n" |
| " },\n" |
| " \$isIterator: 1\n" |
| " };\n" |
| " A._SplayTreeKeyIterator.prototype = {};\n" |
| " A.SplayTreeSet.prototype = {\n" |
| " get\$iterator(_) {\n" |
| " var t1 = this.\$ti;\n" |
| " return new A._SplayTreeKeyIterator(this, A._setArrayType([], t1._eval\$1(\"JSArray<_SplayTreeSetNode<1>>\")), this._splayCount, t1._eval\$1(\"_SplayTreeKeyIterator<1,_SplayTreeSetNode<1>>\"));\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " return this._count;\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this._root == null;\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " return this._root != null;\n" |
| " },\n" |
| " get\$first(_) {\n" |
| " var t1,\n" |
| " root = this._root;\n" |
| " if (root == null)\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " t1 = this._splayMin\$1(root);\n" |
| " this._root = t1;\n" |
| " return t1.key;\n" |
| " },\n" |
| " contains\$1(_, element) {\n" |
| " return this._untypedLookup\$1(element) != null;\n" |
| " },\n" |
| " _collection\$_add\$1(element) {\n" |
| " var compare, root, _this = this,\n" |
| " t1 = _this.\$ti;\n" |
| " t1._precomputed1._as(element);\n" |
| " compare = _this._splay\$1(element);\n" |
| " if (compare === 0)\n" |
| " return false;\n" |
| " t1 = t1._eval\$1(\"_SplayTree.1\")._as(new A._SplayTreeSetNode(element, t1._eval\$1(\"_SplayTreeSetNode<1>\")));\n" |
| " root = _this._root;\n" |
| " if (root != null)\n" |
| " if (compare < 0) {\n" |
| " t1.set\$_left(root);\n" |
| " t1.set\$_right(root._right);\n" |
| " root.set\$_right(null);\n" |
| " } else {\n" |
| " t1.set\$_right(root);\n" |
| " t1.set\$_left(root._left);\n" |
| " root.set\$_left(null);\n" |
| " }\n" |
| " ++_this._modificationCount;\n" |
| " ++_this._count;\n" |
| " _this._root = t1;\n" |
| " return true;\n" |
| " },\n" |
| " remove\$1(_, object) {\n" |
| " var root, left, right, t1, _this = this;\n" |
| " if (_this._untypedLookup\$1(object) == null)\n" |
| " return false;\n" |
| " root = _this._root;\n" |
| " left = root._left;\n" |
| " right = root._right;\n" |
| " if (left == null)\n" |
| " _this._root = right;\n" |
| " else if (right == null)\n" |
| " _this._root = left;\n" |
| " else {\n" |
| " t1 = _this._splayMax\$1(left);\n" |
| " t1.set\$_right(right);\n" |
| " _this._root = t1;\n" |
| " }\n" |
| " --_this._count;\n" |
| " ++_this._modificationCount;\n" |
| " return true;\n" |
| " },\n" |
| " addAll\$1(_, elements) {\n" |
| " var t1, _i;\n" |
| " this.\$ti._eval\$1(\"Iterable<1>\")._as(elements);\n" |
| " for (t1 = elements.length, _i = 0; _i < elements.length; elements.length === t1 || (0, A.throwConcurrentModificationError)(elements), ++_i)\n" |
| " this._collection\$_add\$1(elements[_i]);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return A.Iterable_iterableToFullString(this, \"{\", \"}\");\n" |
| " },\n" |
| " \$isEfficientLengthIterable: 1\n" |
| " };\n" |
| " A._SplayTreeSet__SplayTree_Iterable.prototype = {};\n" |
| " A._SplayTreeSet__SplayTree_Iterable_SetMixin.prototype = {};\n" |
| " A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype = {};\n" |
| " A._JsonMap.prototype = {\n" |
| " \$index(_, key) {\n" |
| " var result,\n" |
| " t1 = this._processed;\n" |
| " if (t1 == null)\n" |
| " return this._data.\$index(0, key);\n" |
| " else if (typeof key != \"string\")\n" |
| " return null;\n" |
| " else {\n" |
| " result = t1[key];\n" |
| " return typeof result == \"undefined\" ? this._process\$1(key) : result;\n" |
| " }\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " return this._processed == null ? this._data.__js_helper\$_length : this._convert\$_computeKeys\$0().length;\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this.get\$length(0) === 0;\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " return this.get\$length(0) > 0;\n" |
| " },\n" |
| " get\$keys() {\n" |
| " if (this._processed == null) {\n" |
| " var t1 = this._data;\n" |
| " return new A.LinkedHashMapKeysIterable(t1, A._instanceType(t1)._eval\$1(\"LinkedHashMapKeysIterable<1>\"));\n" |
| " }\n" |
| " return new A._JsonMapKeyIterable(this);\n" |
| " },\n" |
| " \$indexSet(_, key, value) {\n" |
| " var processed, original, _this = this;\n" |
| " A._asString(key);\n" |
| " if (_this._processed == null)\n" |
| " _this._data.\$indexSet(0, key, value);\n" |
| " else if (_this.containsKey\$1(key)) {\n" |
| " processed = _this._processed;\n" |
| " processed[key] = value;\n" |
| " original = _this._original;\n" |
| " if (original == null ? processed != null : original !== processed)\n" |
| " original[key] = null;\n" |
| " } else\n" |
| " _this._upgrade\$0().\$indexSet(0, key, value);\n" |
| " },\n" |
| " containsKey\$1(key) {\n" |
| " if (this._processed == null)\n" |
| " return this._data.containsKey\$1(key);\n" |
| " return Object.prototype.hasOwnProperty.call(this._original, key);\n" |
| " },\n" |
| " forEach\$1(_, f) {\n" |
| " var keys, i, key, value, _this = this;\n" |
| " type\$.void_Function_String_dynamic._as(f);\n" |
| " if (_this._processed == null)\n" |
| " return _this._data.forEach\$1(0, f);\n" |
| " keys = _this._convert\$_computeKeys\$0();\n" |
| " for (i = 0; i < keys.length; ++i) {\n" |
| " key = keys[i];\n" |
| " value = _this._processed[key];\n" |
| " if (typeof value == \"undefined\") {\n" |
| " value = A._convertJsonToDartLazy(_this._original[key]);\n" |
| " _this._processed[key] = value;\n" |
| " }\n" |
| " f.call\$2(key, value);\n" |
| " if (keys !== _this._data)\n" |
| " throw A.wrapException(A.ConcurrentModificationError\$(_this));\n" |
| " }\n" |
| " },\n" |
| " _convert\$_computeKeys\$0() {\n" |
| " var keys = type\$.nullable_List_dynamic._as(this._data);\n" |
| " if (keys == null)\n" |
| " keys = this._data = A._setArrayType(Object.keys(this._original), type\$.JSArray_String);\n" |
| " return keys;\n" |
| " },\n" |
| " _upgrade\$0() {\n" |
| " var result, keys, i, t1, key, _this = this;\n" |
| " if (_this._processed == null)\n" |
| " return _this._data;\n" |
| " result = A.LinkedHashMap_LinkedHashMap\$_empty(type\$.String, type\$.dynamic);\n" |
| " keys = _this._convert\$_computeKeys\$0();\n" |
| " for (i = 0; t1 = keys.length, i < t1; ++i) {\n" |
| " key = keys[i];\n" |
| " result.\$indexSet(0, key, _this.\$index(0, key));\n" |
| " }\n" |
| " if (t1 === 0)\n" |
| " B.JSArray_methods.add\$1(keys, \"\");\n" |
| " else\n" |
| " B.JSArray_methods.clear\$0(keys);\n" |
| " _this._original = _this._processed = null;\n" |
| " return _this._data = result;\n" |
| " },\n" |
| " _process\$1(key) {\n" |
| " var result;\n" |
| " if (!Object.prototype.hasOwnProperty.call(this._original, key))\n" |
| " return null;\n" |
| " result = A._convertJsonToDartLazy(this._original[key]);\n" |
| " return this._processed[key] = result;\n" |
| " }\n" |
| " };\n" |
| " A._JsonMapKeyIterable.prototype = {\n" |
| " get\$length(_) {\n" |
| " return this._parent.get\$length(0);\n" |
| " },\n" |
| " elementAt\$1(_, index) {\n" |
| " var t1 = this._parent;\n" |
| " if (t1._processed == null)\n" |
| " t1 = t1.get\$keys().elementAt\$1(0, index);\n" |
| " else {\n" |
| " t1 = t1._convert\$_computeKeys\$0();\n" |
| " if (!(index >= 0 && index < t1.length))\n" |
| " return A.ioore(t1, index);\n" |
| " t1 = t1[index];\n" |
| " }\n" |
| " return t1;\n" |
| " },\n" |
| " get\$iterator(_) {\n" |
| " var t1 = this._parent;\n" |
| " if (t1._processed == null) {\n" |
| " t1 = t1.get\$keys();\n" |
| " t1 = t1.get\$iterator(t1);\n" |
| " } else {\n" |
| " t1 = t1._convert\$_computeKeys\$0();\n" |
| " t1 = new J.ArrayIterator(t1, t1.length, A._arrayInstanceType(t1)._eval\$1(\"ArrayIterator<1>\"));\n" |
| " }\n" |
| " return t1;\n" |
| " },\n" |
| " contains\$1(_, key) {\n" |
| " return this._parent.containsKey\$1(key);\n" |
| " }\n" |
| " };\n" |
| " A._Utf8Decoder__decoder_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t1, exception;\n" |
| " try {\n" |
| " t1 = new TextDecoder(\"utf-8\", {fatal: true});\n" |
| " return t1;\n" |
| " } catch (exception) {\n" |
| " }\n" |
| " return null;\n" |
| " },\n" |
| " \$signature: 19\n" |
| " };\n" |
| " A._Utf8Decoder__decoderNonfatal_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t1, exception;\n" |
| " try {\n" |
| " t1 = new TextDecoder(\"utf-8\", {fatal: false});\n" |
| " return t1;\n" |
| " } catch (exception) {\n" |
| " }\n" |
| " return null;\n" |
| " },\n" |
| " \$signature: 19\n" |
| " };\n" |
| " A.AsciiCodec.prototype = {\n" |
| " encode\$1(source) {\n" |
| " return B.AsciiEncoder_127.convert\$1(source);\n" |
| " },\n" |
| " decode\$1(bytes) {\n" |
| " var t1;\n" |
| " type\$.List_int._as(bytes);\n" |
| " t1 = B.AsciiDecoder_false_127.convert\$1(bytes);\n" |
| " return t1;\n" |
| " }\n" |
| " };\n" |
| " A._UnicodeSubsetEncoder.prototype = {\n" |
| " convert\$1(string) {\n" |
| " var stringLength, end, result, t1, i, codeUnit;\n" |
| " A._asString(string);\n" |
| " stringLength = string.length;\n" |
| " end = A.RangeError_checkValidRange(0, null, stringLength);\n" |
| " result = new Uint8Array(end);\n" |
| " for (t1 = ~this._subsetMask, i = 0; i < end; ++i) {\n" |
| " if (!(i < stringLength))\n" |
| " return A.ioore(string, i);\n" |
| " codeUnit = string.charCodeAt(i);\n" |
| " if ((codeUnit & t1) !== 0)\n" |
| " throw A.wrapException(A.ArgumentError\$value(string, \"string\", \"Contains invalid characters.\"));\n" |
| " if (!(i < end))\n" |
| " return A.ioore(result, i);\n" |
| " result[i] = codeUnit;\n" |
| " }\n" |
| " return result;\n" |
| " }\n" |
| " };\n" |
| " A.AsciiEncoder.prototype = {};\n" |
| " A._UnicodeSubsetDecoder.prototype = {\n" |
| " convert\$1(bytes) {\n" |
| " var t1, end, t2, i, byte;\n" |
| " type\$.List_int._as(bytes);\n" |
| " t1 = J.getInterceptor\$asx(bytes);\n" |
| " end = A.RangeError_checkValidRange(0, null, t1.get\$length(bytes));\n" |
| " for (t2 = ~this._subsetMask, i = 0; i < end; ++i) {\n" |
| " byte = t1.\$index(bytes, i);\n" |
| " if ((byte & t2) >>> 0 !== 0) {\n" |
| " if (!this._allowInvalid)\n" |
| " throw A.wrapException(A.FormatException\$(\"Invalid value in input: \" + byte, null, null));\n" |
| " return this._convertInvalid\$3(bytes, 0, end);\n" |
| " }\n" |
| " }\n" |
| " return A.String_String\$fromCharCodes(bytes, 0, end);\n" |
| " },\n" |
| " _convertInvalid\$3(bytes, start, end) {\n" |
| " var t1, t2, i, t3, value;\n" |
| " type\$.List_int._as(bytes);\n" |
| " for (t1 = ~this._subsetMask, t2 = J.getInterceptor\$asx(bytes), i = start, t3 = \"\"; i < end; ++i) {\n" |
| " value = t2.\$index(bytes, i);\n" |
| " t3 += A.Primitives_stringFromCharCode((value & t1) >>> 0 !== 0 ? 65533 : value);\n" |
| " }\n" |
| " return t3.charCodeAt(0) == 0 ? t3 : t3;\n" |
| " }\n" |
| " };\n" |
| " A.AsciiDecoder.prototype = {};\n" |
| " A.Base64Codec.prototype = {\n" |
| " normalize\$3(source, start, end) {\n" |
| " var inverseAlphabet, t2, i, sliceStart, buffer, firstPadding, firstPaddingSourceIndex, paddingCount, i0, char, i1, digit1, t3, digit2, char0, value, t4, endLength, \$length,\n" |
| " _s64_ = string\$.ABCDEF,\n" |
| " _s31_ = \"Invalid base64 encoding length \",\n" |
| " t1 = source.length;\n" |
| " end = A.RangeError_checkValidRange(start, end, t1);\n" |
| " inverseAlphabet = \$.\$get\$_Base64Decoder__inverseAlphabet();\n" |
| " for (t2 = inverseAlphabet.length, i = start, sliceStart = i, buffer = null, firstPadding = -1, firstPaddingSourceIndex = -1, paddingCount = 0; i < end; i = i0) {\n" |
| " i0 = i + 1;\n" |
| " if (!(i < t1))\n" |
| " return A.ioore(source, i);\n" |
| " char = source.charCodeAt(i);\n" |
| " if (char === 37) {\n" |
| " i1 = i0 + 2;\n" |
| " if (i1 <= end) {\n" |
| " if (!(i0 < t1))\n" |
| " return A.ioore(source, i0);\n" |
| " digit1 = A.hexDigitValue(source.charCodeAt(i0));\n" |
| " t3 = i0 + 1;\n" |
| " if (!(t3 < t1))\n" |
| " return A.ioore(source, t3);\n" |
| " digit2 = A.hexDigitValue(source.charCodeAt(t3));\n" |
| " char0 = digit1 * 16 + digit2 - (digit2 & 256);\n" |
| " if (char0 === 37)\n" |
| " char0 = -1;\n" |
| " i0 = i1;\n" |
| " } else\n" |
| " char0 = -1;\n" |
| " } else\n" |
| " char0 = char;\n" |
| " if (0 <= char0 && char0 <= 127) {\n" |
| " if (!(char0 >= 0 && char0 < t2))\n" |
| " return A.ioore(inverseAlphabet, char0);\n" |
| " value = inverseAlphabet[char0];\n" |
| " if (value >= 0) {\n" |
| " if (!(value < 64))\n" |
| " return A.ioore(_s64_, value);\n" |
| " char0 = _s64_.charCodeAt(value);\n" |
| " if (char0 === char)\n" |
| " continue;\n" |
| " char = char0;\n" |
| " } else {\n" |
| " if (value === -1) {\n" |
| " if (firstPadding < 0) {\n" |
| " t3 = buffer == null ? null : buffer._contents.length;\n" |
| " if (t3 == null)\n" |
| " t3 = 0;\n" |
| " firstPadding = t3 + (i - sliceStart);\n" |
| " firstPaddingSourceIndex = i;\n" |
| " }\n" |
| " ++paddingCount;\n" |
| " if (char === 61)\n" |
| " continue;\n" |
| " }\n" |
| " char = char0;\n" |
| " }\n" |
| " if (value !== -2) {\n" |
| " if (buffer == null) {\n" |
| " buffer = new A.StringBuffer(\"\");\n" |
| " t3 = buffer;\n" |
| " } else\n" |
| " t3 = buffer;\n" |
| " t3._contents += B.JSString_methods.substring\$2(source, sliceStart, i);\n" |
| " t4 = A.Primitives_stringFromCharCode(char);\n" |
| " t3._contents += t4;\n" |
| " sliceStart = i0;\n" |
| " continue;\n" |
| " }\n" |
| " }\n" |
| " throw A.wrapException(A.FormatException\$(\"Invalid base64 data\", source, i));\n" |
| " }\n" |
| " if (buffer != null) {\n" |
| " t1 = B.JSString_methods.substring\$2(source, sliceStart, end);\n" |
| " t1 = buffer._contents += t1;\n" |
| " t2 = t1.length;\n" |
| " if (firstPadding >= 0)\n" |
| " A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, t2);\n" |
| " else {\n" |
| " endLength = B.JSInt_methods.\$mod(t2 - 1, 4) + 1;\n" |
| " if (endLength === 1)\n" |
| " throw A.wrapException(A.FormatException\$(_s31_, source, end));\n" |
| " while (endLength < 4) {\n" |
| " t1 += \"=\";\n" |
| " buffer._contents = t1;\n" |
| " ++endLength;\n" |
| " }\n" |
| " }\n" |
| " t1 = buffer._contents;\n" |
| " return B.JSString_methods.replaceRange\$3(source, start, end, t1.charCodeAt(0) == 0 ? t1 : t1);\n" |
| " }\n" |
| " \$length = end - start;\n" |
| " if (firstPadding >= 0)\n" |
| " A.Base64Codec__checkPadding(source, firstPaddingSourceIndex, end, firstPadding, paddingCount, \$length);\n" |
| " else {\n" |
| " endLength = B.JSInt_methods.\$mod(\$length, 4);\n" |
| " if (endLength === 1)\n" |
| " throw A.wrapException(A.FormatException\$(_s31_, source, end));\n" |
| " if (endLength > 1)\n" |
| " source = B.JSString_methods.replaceRange\$3(source, end, end, endLength === 2 ? \"==\" : \"=\");\n" |
| " }\n" |
| " return source;\n" |
| " }\n" |
| " };\n" |
| " A.Base64Encoder.prototype = {};\n" |
| " A.ByteConversionSink.prototype = {};\n" |
| " A._ByteCallbackSink.prototype = {\n" |
| " add\$1(_, chunk) {\n" |
| " var t1, t2, t3, v, grown, _this = this;\n" |
| " type\$.Iterable_int._as(chunk);\n" |
| " t1 = _this._convert\$_buffer;\n" |
| " t2 = _this._bufferIndex;\n" |
| " t3 = J.getInterceptor\$asx(chunk);\n" |
| " if (t3.get\$length(chunk) > t1.length - t2) {\n" |
| " t1 = _this._convert\$_buffer;\n" |
| " v = t3.get\$length(chunk) + t1.length - 1;\n" |
| " v |= B.JSInt_methods._shrOtherPositive\$1(v, 1);\n" |
| " v |= v >>> 2;\n" |
| " v |= v >>> 4;\n" |
| " v |= v >>> 8;\n" |
| " grown = new Uint8Array((((v | v >>> 16) >>> 0) + 1) * 2);\n" |
| " t1 = _this._convert\$_buffer;\n" |
| " B.NativeUint8List_methods.setRange\$3(grown, 0, t1.length, t1);\n" |
| " _this._convert\$_buffer = grown;\n" |
| " }\n" |
| " t1 = _this._convert\$_buffer;\n" |
| " t2 = _this._bufferIndex;\n" |
| " B.NativeUint8List_methods.setRange\$3(t1, t2, t2 + t3.get\$length(chunk), chunk);\n" |
| " _this._bufferIndex = _this._bufferIndex + t3.get\$length(chunk);\n" |
| " },\n" |
| " close\$0() {\n" |
| " this._callback.call\$1(B.NativeUint8List_methods.sublist\$2(this._convert\$_buffer, 0, this._bufferIndex));\n" |
| " }\n" |
| " };\n" |
| " A.Codec.prototype = {};\n" |
| " A.Converter.prototype = {};\n" |
| " A.Encoding.prototype = {};\n" |
| " A.JsonUnsupportedObjectError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var safeString = A.Error_safeToString(this.unsupportedObject);\n" |
| " return (this.cause != null ? \"Converting object to an encodable object failed:\" : \"Converting object did not return an encodable object:\") + \" \" + safeString;\n" |
| " }\n" |
| " };\n" |
| " A.JsonCyclicError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"Cyclic error in JSON stringify\";\n" |
| " }\n" |
| " };\n" |
| " A.JsonCodec.prototype = {\n" |
| " decode\$2\$reviver(source, reviver) {\n" |
| " var t1 = A._parseJson(source, this.get\$decoder()._reviver);\n" |
| " return t1;\n" |
| " },\n" |
| " decode\$1(source) {\n" |
| " return this.decode\$2\$reviver(source, null);\n" |
| " },\n" |
| " encode\$2\$toEncodable(value, toEncodable) {\n" |
| " var t1 = A._JsonStringStringifier_stringify(value, this.get\$encoder()._toEncodable, null);\n" |
| " return t1;\n" |
| " },\n" |
| " get\$encoder() {\n" |
| " return B.JsonEncoder_null;\n" |
| " },\n" |
| " get\$decoder() {\n" |
| " return B.JsonDecoder_null;\n" |
| " }\n" |
| " };\n" |
| " A.JsonEncoder.prototype = {};\n" |
| " A.JsonDecoder.prototype = {};\n" |
| " A._JsonStringifier.prototype = {\n" |
| " writeStringContent\$1(s) {\n" |
| " var offset, i, charCode, t1, t2, _this = this,\n" |
| " \$length = s.length;\n" |
| " for (offset = 0, i = 0; i < \$length; ++i) {\n" |
| " charCode = s.charCodeAt(i);\n" |
| " if (charCode > 92) {\n" |
| " if (charCode >= 55296) {\n" |
| " t1 = charCode & 64512;\n" |
| " if (t1 === 55296) {\n" |
| " t2 = i + 1;\n" |
| " t2 = !(t2 < \$length && (s.charCodeAt(t2) & 64512) === 56320);\n" |
| " } else\n" |
| " t2 = false;\n" |
| " if (!t2)\n" |
| " if (t1 === 56320) {\n" |
| " t1 = i - 1;\n" |
| " t1 = !(t1 >= 0 && (s.charCodeAt(t1) & 64512) === 55296);\n" |
| " } else\n" |
| " t1 = false;\n" |
| " else\n" |
| " t1 = true;\n" |
| " if (t1) {\n" |
| " if (i > offset)\n" |
| " _this.writeStringSlice\$3(s, offset, i);\n" |
| " offset = i + 1;\n" |
| " _this.writeCharCode\$1(92);\n" |
| " _this.writeCharCode\$1(117);\n" |
| " _this.writeCharCode\$1(100);\n" |
| " t1 = charCode >>> 8 & 15;\n" |
| " _this.writeCharCode\$1(t1 < 10 ? 48 + t1 : 87 + t1);\n" |
| " t1 = charCode >>> 4 & 15;\n" |
| " _this.writeCharCode\$1(t1 < 10 ? 48 + t1 : 87 + t1);\n" |
| " t1 = charCode & 15;\n" |
| " _this.writeCharCode\$1(t1 < 10 ? 48 + t1 : 87 + t1);\n" |
| " }\n" |
| " }\n" |
| " continue;\n" |
| " }\n" |
| " if (charCode < 32) {\n" |
| " if (i > offset)\n" |
| " _this.writeStringSlice\$3(s, offset, i);\n" |
| " offset = i + 1;\n" |
| " _this.writeCharCode\$1(92);\n" |
| " switch (charCode) {\n" |
| " case 8:\n" |
| " _this.writeCharCode\$1(98);\n" |
| " break;\n" |
| " case 9:\n" |
| " _this.writeCharCode\$1(116);\n" |
| " break;\n" |
| " case 10:\n" |
| " _this.writeCharCode\$1(110);\n" |
| " break;\n" |
| " case 12:\n" |
| " _this.writeCharCode\$1(102);\n" |
| " break;\n" |
| " case 13:\n" |
| " _this.writeCharCode\$1(114);\n" |
| " break;\n" |
| " default:\n" |
| " _this.writeCharCode\$1(117);\n" |
| " _this.writeCharCode\$1(48);\n" |
| " _this.writeCharCode\$1(48);\n" |
| " t1 = charCode >>> 4 & 15;\n" |
| " _this.writeCharCode\$1(t1 < 10 ? 48 + t1 : 87 + t1);\n" |
| " t1 = charCode & 15;\n" |
| " _this.writeCharCode\$1(t1 < 10 ? 48 + t1 : 87 + t1);\n" |
| " break;\n" |
| " }\n" |
| " } else if (charCode === 34 || charCode === 92) {\n" |
| " if (i > offset)\n" |
| " _this.writeStringSlice\$3(s, offset, i);\n" |
| " offset = i + 1;\n" |
| " _this.writeCharCode\$1(92);\n" |
| " _this.writeCharCode\$1(charCode);\n" |
| " }\n" |
| " }\n" |
| " if (offset === 0)\n" |
| " _this.writeString\$1(s);\n" |
| " else if (offset < \$length)\n" |
| " _this.writeStringSlice\$3(s, offset, \$length);\n" |
| " },\n" |
| " _checkCycle\$1(object) {\n" |
| " var t1, t2, i, t3;\n" |
| " for (t1 = this._seen, t2 = t1.length, i = 0; i < t2; ++i) {\n" |
| " t3 = t1[i];\n" |
| " if (object == null ? t3 == null : object === t3)\n" |
| " throw A.wrapException(new A.JsonCyclicError(object, null));\n" |
| " }\n" |
| " B.JSArray_methods.add\$1(t1, object);\n" |
| " },\n" |
| " writeObject\$1(object) {\n" |
| " var customJson, e, t1, exception, _this = this;\n" |
| " if (_this.writeJsonValue\$1(object))\n" |
| " return;\n" |
| " _this._checkCycle\$1(object);\n" |
| " try {\n" |
| " customJson = _this._toEncodable.call\$1(object);\n" |
| " if (!_this.writeJsonValue\$1(customJson)) {\n" |
| " t1 = A.JsonUnsupportedObjectError\$(object, null, _this.get\$_partialResult());\n" |
| " throw A.wrapException(t1);\n" |
| " }\n" |
| " t1 = _this._seen;\n" |
| " if (0 >= t1.length)\n" |
| " return A.ioore(t1, -1);\n" |
| " t1.pop();\n" |
| " } catch (exception) {\n" |
| " e = A.unwrapException(exception);\n" |
| " t1 = A.JsonUnsupportedObjectError\$(object, e, _this.get\$_partialResult());\n" |
| " throw A.wrapException(t1);\n" |
| " }\n" |
| " },\n" |
| " writeJsonValue\$1(object) {\n" |
| " var t1, success, _this = this;\n" |
| " if (typeof object == \"number\") {\n" |
| " if (!isFinite(object))\n" |
| " return false;\n" |
| " _this.writeNumber\$1(object);\n" |
| " return true;\n" |
| " } else if (object === true) {\n" |
| " _this.writeString\$1(\"true\");\n" |
| " return true;\n" |
| " } else if (object === false) {\n" |
| " _this.writeString\$1(\"false\");\n" |
| " return true;\n" |
| " } else if (object == null) {\n" |
| " _this.writeString\$1(\"null\");\n" |
| " return true;\n" |
| " } else if (typeof object == \"string\") {\n" |
| " _this.writeString\$1('\"');\n" |
| " _this.writeStringContent\$1(object);\n" |
| " _this.writeString\$1('\"');\n" |
| " return true;\n" |
| " } else if (type\$.List_dynamic._is(object)) {\n" |
| " _this._checkCycle\$1(object);\n" |
| " _this.writeList\$1(object);\n" |
| " t1 = _this._seen;\n" |
| " if (0 >= t1.length)\n" |
| " return A.ioore(t1, -1);\n" |
| " t1.pop();\n" |
| " return true;\n" |
| " } else if (type\$.Map_dynamic_dynamic._is(object)) {\n" |
| " _this._checkCycle\$1(object);\n" |
| " success = _this.writeMap\$1(object);\n" |
| " t1 = _this._seen;\n" |
| " if (0 >= t1.length)\n" |
| " return A.ioore(t1, -1);\n" |
| " t1.pop();\n" |
| " return success;\n" |
| " } else\n" |
| " return false;\n" |
| " },\n" |
| " writeList\$1(list) {\n" |
| " var t1, i, _this = this;\n" |
| " _this.writeString\$1(\"[\");\n" |
| " t1 = J.getInterceptor\$asx(list);\n" |
| " if (t1.get\$isNotEmpty(list)) {\n" |
| " _this.writeObject\$1(t1.\$index(list, 0));\n" |
| " for (i = 1; i < t1.get\$length(list); ++i) {\n" |
| " _this.writeString\$1(\",\");\n" |
| " _this.writeObject\$1(t1.\$index(list, i));\n" |
| " }\n" |
| " }\n" |
| " _this.writeString\$1(\"]\");\n" |
| " },\n" |
| " writeMap\$1(map) {\n" |
| " var t1, keyValueList, i, separator, t2, _this = this, _box_0 = {};\n" |
| " if (map.get\$isEmpty(map)) {\n" |
| " _this.writeString\$1(\"{}\");\n" |
| " return true;\n" |
| " }\n" |
| " t1 = map.get\$length(map) * 2;\n" |
| " keyValueList = A.List_List\$filled(t1, null, false, type\$.nullable_Object);\n" |
| " i = _box_0.i = 0;\n" |
| " _box_0.allStringKeys = true;\n" |
| " map.forEach\$1(0, new A._JsonStringifier_writeMap_closure(_box_0, keyValueList));\n" |
| " if (!_box_0.allStringKeys)\n" |
| " return false;\n" |
| " _this.writeString\$1(\"{\");\n" |
| " for (separator = '\"'; i < t1; i += 2, separator = ',\"') {\n" |
| " _this.writeString\$1(separator);\n" |
| " _this.writeStringContent\$1(A._asString(keyValueList[i]));\n" |
| " _this.writeString\$1('\":');\n" |
| " t2 = i + 1;\n" |
| " if (!(t2 < t1))\n" |
| " return A.ioore(keyValueList, t2);\n" |
| " _this.writeObject\$1(keyValueList[t2]);\n" |
| " }\n" |
| " _this.writeString\$1(\"}\");\n" |
| " return true;\n" |
| " }\n" |
| " };\n" |
| " A._JsonStringifier_writeMap_closure.prototype = {\n" |
| " call\$2(key, value) {\n" |
| " var t1, t2;\n" |
| " if (typeof key != \"string\")\n" |
| " this._box_0.allStringKeys = false;\n" |
| " t1 = this.keyValueList;\n" |
| " t2 = this._box_0;\n" |
| " B.JSArray_methods.\$indexSet(t1, t2.i++, key);\n" |
| " B.JSArray_methods.\$indexSet(t1, t2.i++, value);\n" |
| " },\n" |
| " \$signature: 18\n" |
| " };\n" |
| " A._JsonStringStringifier.prototype = {\n" |
| " get\$_partialResult() {\n" |
| " var t1 = this._sink._contents;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " writeNumber\$1(number) {\n" |
| " this._sink._contents += B.JSNumber_methods.toString\$0(number);\n" |
| " },\n" |
| " writeString\$1(string) {\n" |
| " this._sink._contents += string;\n" |
| " },\n" |
| " writeStringSlice\$3(string, start, end) {\n" |
| " this._sink._contents += B.JSString_methods.substring\$2(string, start, end);\n" |
| " },\n" |
| " writeCharCode\$1(charCode) {\n" |
| " var t1 = this._sink,\n" |
| " t2 = A.Primitives_stringFromCharCode(charCode);\n" |
| " t1._contents += t2;\n" |
| " }\n" |
| " };\n" |
| " A.Latin1Codec.prototype = {\n" |
| " encode\$1(source) {\n" |
| " return B.Latin1Encoder_255.convert\$1(source);\n" |
| " },\n" |
| " decode\$1(bytes) {\n" |
| " var t1;\n" |
| " type\$.List_int._as(bytes);\n" |
| " t1 = B.Latin1Decoder_false_255.convert\$1(bytes);\n" |
| " return t1;\n" |
| " }\n" |
| " };\n" |
| " A.Latin1Encoder.prototype = {};\n" |
| " A.Latin1Decoder.prototype = {};\n" |
| " A.Utf8Codec.prototype = {\n" |
| " decode\$1(codeUnits) {\n" |
| " type\$.List_int._as(codeUnits);\n" |
| " return B.Utf8Decoder_false.convert\$1(codeUnits);\n" |
| " },\n" |
| " encode\$1(string) {\n" |
| " return B.C_Utf8Encoder.convert\$1(string);\n" |
| " }\n" |
| " };\n" |
| " A.Utf8Encoder.prototype = {\n" |
| " convert\$1(string) {\n" |
| " var stringLength, end, t1, encoder, t2;\n" |
| " A._asString(string);\n" |
| " stringLength = string.length;\n" |
| " end = A.RangeError_checkValidRange(0, null, stringLength);\n" |
| " if (end === 0)\n" |
| " return new Uint8Array(0);\n" |
| " t1 = new Uint8Array(end * 3);\n" |
| " encoder = new A._Utf8Encoder(t1);\n" |
| " if (encoder._fillBuffer\$3(string, 0, end) !== end) {\n" |
| " t2 = end - 1;\n" |
| " if (!(t2 >= 0 && t2 < stringLength))\n" |
| " return A.ioore(string, t2);\n" |
| " encoder._writeReplacementCharacter\$0();\n" |
| " }\n" |
| " return B.NativeUint8List_methods.sublist\$2(t1, 0, encoder._bufferIndex);\n" |
| " }\n" |
| " };\n" |
| " A._Utf8Encoder.prototype = {\n" |
| " _writeReplacementCharacter\$0() {\n" |
| " var t4, _this = this,\n" |
| " t1 = _this._convert\$_buffer,\n" |
| " t2 = _this._bufferIndex,\n" |
| " t3 = _this._bufferIndex = t2 + 1;\n" |
| " t1.\$flags & 2 && A.throwUnsupportedOperation(t1);\n" |
| " t4 = t1.length;\n" |
| " if (!(t2 < t4))\n" |
| " return A.ioore(t1, t2);\n" |
| " t1[t2] = 239;\n" |
| " t2 = _this._bufferIndex = t3 + 1;\n" |
| " if (!(t3 < t4))\n" |
| " return A.ioore(t1, t3);\n" |
| " t1[t3] = 191;\n" |
| " _this._bufferIndex = t2 + 1;\n" |
| " if (!(t2 < t4))\n" |
| " return A.ioore(t1, t2);\n" |
| " t1[t2] = 189;\n" |
| " },\n" |
| " _writeSurrogate\$2(leadingSurrogate, nextCodeUnit) {\n" |
| " var rune, t1, t2, t3, t4, _this = this;\n" |
| " if ((nextCodeUnit & 64512) === 56320) {\n" |
| " rune = 65536 + ((leadingSurrogate & 1023) << 10) | nextCodeUnit & 1023;\n" |
| " t1 = _this._convert\$_buffer;\n" |
| " t2 = _this._bufferIndex;\n" |
| " t3 = _this._bufferIndex = t2 + 1;\n" |
| " t1.\$flags & 2 && A.throwUnsupportedOperation(t1);\n" |
| " t4 = t1.length;\n" |
| " if (!(t2 < t4))\n" |
| " return A.ioore(t1, t2);\n" |
| " t1[t2] = rune >>> 18 | 240;\n" |
| " t2 = _this._bufferIndex = t3 + 1;\n" |
| " if (!(t3 < t4))\n" |
| " return A.ioore(t1, t3);\n" |
| " t1[t3] = rune >>> 12 & 63 | 128;\n" |
| " t3 = _this._bufferIndex = t2 + 1;\n" |
| " if (!(t2 < t4))\n" |
| " return A.ioore(t1, t2);\n" |
| " t1[t2] = rune >>> 6 & 63 | 128;\n" |
| " _this._bufferIndex = t3 + 1;\n" |
| " if (!(t3 < t4))\n" |
| " return A.ioore(t1, t3);\n" |
| " t1[t3] = rune & 63 | 128;\n" |
| " return true;\n" |
| " } else {\n" |
| " _this._writeReplacementCharacter\$0();\n" |
| " return false;\n" |
| " }\n" |
| " },\n" |
| " _fillBuffer\$3(str, start, end) {\n" |
| " var t1, t2, t3, t4, stringIndex, codeUnit, t5, t6, _this = this;\n" |
| " if (start !== end) {\n" |
| " t1 = end - 1;\n" |
| " if (!(t1 >= 0 && t1 < str.length))\n" |
| " return A.ioore(str, t1);\n" |
| " t1 = (str.charCodeAt(t1) & 64512) === 55296;\n" |
| " } else\n" |
| " t1 = false;\n" |
| " if (t1)\n" |
| " --end;\n" |
| " for (t1 = _this._convert\$_buffer, t2 = t1.\$flags | 0, t3 = t1.length, t4 = str.length, stringIndex = start; stringIndex < end; ++stringIndex) {\n" |
| " if (!(stringIndex < t4))\n" |
| " return A.ioore(str, stringIndex);\n" |
| " codeUnit = str.charCodeAt(stringIndex);\n" |
| " if (codeUnit <= 127) {\n" |
| " t5 = _this._bufferIndex;\n" |
| " if (t5 >= t3)\n" |
| " break;\n" |
| " _this._bufferIndex = t5 + 1;\n" |
| " t2 & 2 && A.throwUnsupportedOperation(t1);\n" |
| " t1[t5] = codeUnit;\n" |
| " } else {\n" |
| " t5 = codeUnit & 64512;\n" |
| " if (t5 === 55296) {\n" |
| " if (_this._bufferIndex + 4 > t3)\n" |
| " break;\n" |
| " t5 = stringIndex + 1;\n" |
| " if (!(t5 < t4))\n" |
| " return A.ioore(str, t5);\n" |
| " if (_this._writeSurrogate\$2(codeUnit, str.charCodeAt(t5)))\n" |
| " stringIndex = t5;\n" |
| " } else if (t5 === 56320) {\n" |
| " if (_this._bufferIndex + 3 > t3)\n" |
| " break;\n" |
| " _this._writeReplacementCharacter\$0();\n" |
| " } else if (codeUnit <= 2047) {\n" |
| " t5 = _this._bufferIndex;\n" |
| " t6 = t5 + 1;\n" |
| " if (t6 >= t3)\n" |
| " break;\n" |
| " _this._bufferIndex = t6;\n" |
| " t2 & 2 && A.throwUnsupportedOperation(t1);\n" |
| " if (!(t5 < t3))\n" |
| " return A.ioore(t1, t5);\n" |
| " t1[t5] = codeUnit >>> 6 | 192;\n" |
| " _this._bufferIndex = t6 + 1;\n" |
| " t1[t6] = codeUnit & 63 | 128;\n" |
| " } else {\n" |
| " t5 = _this._bufferIndex;\n" |
| " if (t5 + 2 >= t3)\n" |
| " break;\n" |
| " t6 = _this._bufferIndex = t5 + 1;\n" |
| " t2 & 2 && A.throwUnsupportedOperation(t1);\n" |
| " if (!(t5 < t3))\n" |
| " return A.ioore(t1, t5);\n" |
| " t1[t5] = codeUnit >>> 12 | 224;\n" |
| " t5 = _this._bufferIndex = t6 + 1;\n" |
| " if (!(t6 < t3))\n" |
| " return A.ioore(t1, t6);\n" |
| " t1[t6] = codeUnit >>> 6 & 63 | 128;\n" |
| " _this._bufferIndex = t5 + 1;\n" |
| " if (!(t5 < t3))\n" |
| " return A.ioore(t1, t5);\n" |
| " t1[t5] = codeUnit & 63 | 128;\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " return stringIndex;\n" |
| " }\n" |
| " };\n" |
| " A.Utf8Decoder.prototype = {\n" |
| " convert\$1(codeUnits) {\n" |
| " return new A._Utf8Decoder(this._allowMalformed)._convertGeneral\$4(type\$.List_int._as(codeUnits), 0, null, true);\n" |
| " }\n" |
| " };\n" |
| " A._Utf8Decoder.prototype = {\n" |
| " _convertGeneral\$4(codeUnits, start, maybeEnd, single) {\n" |
| " var end, casted, bytes, errorOffset, t1, result, message, _this = this;\n" |
| " type\$.List_int._as(codeUnits);\n" |
| " end = A.RangeError_checkValidRange(start, maybeEnd, J.get\$length\$asx(codeUnits));\n" |
| " if (start === end)\n" |
| " return \"\";\n" |
| " if (codeUnits instanceof Uint8Array) {\n" |
| " casted = codeUnits;\n" |
| " bytes = casted;\n" |
| " errorOffset = 0;\n" |
| " } else {\n" |
| " bytes = A._Utf8Decoder__makeNativeUint8List(codeUnits, start, end);\n" |
| " end -= start;\n" |
| " errorOffset = start;\n" |
| " start = 0;\n" |
| " }\n" |
| " if (end - start >= 15) {\n" |
| " t1 = _this.allowMalformed;\n" |
| " result = A._Utf8Decoder__convertInterceptedUint8List(t1, bytes, start, end);\n" |
| " if (result != null) {\n" |
| " if (!t1)\n" |
| " return result;\n" |
| " if (result.indexOf(\"\\ufffd\") < 0)\n" |
| " return result;\n" |
| " }\n" |
| " }\n" |
| " result = _this._decodeRecursive\$4(bytes, start, end, true);\n" |
| " t1 = _this._convert\$_state;\n" |
| " if ((t1 & 1) !== 0) {\n" |
| " message = A._Utf8Decoder_errorDescription(t1);\n" |
| " _this._convert\$_state = 0;\n" |
| " throw A.wrapException(A.FormatException\$(message, codeUnits, errorOffset + _this._charOrIndex));\n" |
| " }\n" |
| " return result;\n" |
| " },\n" |
| " _decodeRecursive\$4(bytes, start, end, single) {\n" |
| " var mid, s1, _this = this;\n" |
| " if (end - start > 1000) {\n" |
| " mid = B.JSInt_methods._tdivFast\$1(start + end, 2);\n" |
| " s1 = _this._decodeRecursive\$4(bytes, start, mid, false);\n" |
| " if ((_this._convert\$_state & 1) !== 0)\n" |
| " return s1;\n" |
| " return s1 + _this._decodeRecursive\$4(bytes, mid, end, single);\n" |
| " }\n" |
| " return _this.decodeGeneral\$4(bytes, start, end, single);\n" |
| " },\n" |
| " decodeGeneral\$4(bytes, start, end, single) {\n" |
| " var byte, t2, type, t3, i0, markEnd, i1, m, _this = this,\n" |
| " _s256_ = \"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE\",\n" |
| " _s144_ = \" \\x000:XECCCCCN:lDb \\x000:XECCCCCNvlDb \\x000:XECCCCCN:lDb AAAAA\\x00\\x00\\x00\\x00\\x00AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000\\x800AAAAA\\x00\\x00\\x00\\x00 AAAAA\",\n" |
| " _65533 = 65533,\n" |
| " state = _this._convert\$_state,\n" |
| " char = _this._charOrIndex,\n" |
| " buffer = new A.StringBuffer(\"\"),\n" |
| " i = start + 1,\n" |
| " t1 = bytes.length;\n" |
| " if (!(start >= 0 && start < t1))\n" |
| " return A.ioore(bytes, start);\n" |
| " byte = bytes[start];\n" |
| " \$label0\$0:\n" |
| " for (t2 = _this.allowMalformed;;) {\n" |
| " for (;; i = i0) {\n" |
| " if (!(byte >= 0 && byte < 256))\n" |
| " return A.ioore(_s256_, byte);\n" |
| " type = _s256_.charCodeAt(byte) & 31;\n" |
| " char = state <= 32 ? byte & 61694 >>> type : (byte & 63 | char << 6) >>> 0;\n" |
| " t3 = state + type;\n" |
| " if (!(t3 >= 0 && t3 < 144))\n" |
| " return A.ioore(_s144_, t3);\n" |
| " state = _s144_.charCodeAt(t3);\n" |
| " if (state === 0) {\n" |
| " t3 = A.Primitives_stringFromCharCode(char);\n" |
| " buffer._contents += t3;\n" |
| " if (i === end)\n" |
| " break \$label0\$0;\n" |
| " break;\n" |
| " } else if ((state & 1) !== 0) {\n" |
| " if (t2)\n" |
| " switch (state) {\n" |
| " case 69:\n" |
| " case 67:\n" |
| " t3 = A.Primitives_stringFromCharCode(_65533);\n" |
| " buffer._contents += t3;\n" |
| " break;\n" |
| " case 65:\n" |
| " t3 = A.Primitives_stringFromCharCode(_65533);\n" |
| " buffer._contents += t3;\n" |
| " --i;\n" |
| " break;\n" |
| " default:\n" |
| " t3 = A.Primitives_stringFromCharCode(_65533);\n" |
| " buffer._contents = (buffer._contents += t3) + t3;\n" |
| " break;\n" |
| " }\n" |
| " else {\n" |
| " _this._convert\$_state = state;\n" |
| " _this._charOrIndex = i - 1;\n" |
| " return \"\";\n" |
| " }\n" |
| " state = 0;\n" |
| " }\n" |
| " if (i === end)\n" |
| " break \$label0\$0;\n" |
| " i0 = i + 1;\n" |
| " if (!(i >= 0 && i < t1))\n" |
| " return A.ioore(bytes, i);\n" |
| " byte = bytes[i];\n" |
| " }\n" |
| " i0 = i + 1;\n" |
| " if (!(i >= 0 && i < t1))\n" |
| " return A.ioore(bytes, i);\n" |
| " byte = bytes[i];\n" |
| " if (byte < 128) {\n" |
| " for (;;) {\n" |
| " if (!(i0 < end)) {\n" |
| " markEnd = end;\n" |
| " break;\n" |
| " }\n" |
| " i1 = i0 + 1;\n" |
| " if (!(i0 >= 0 && i0 < t1))\n" |
| " return A.ioore(bytes, i0);\n" |
| " byte = bytes[i0];\n" |
| " if (byte >= 128) {\n" |
| " markEnd = i1 - 1;\n" |
| " i0 = i1;\n" |
| " break;\n" |
| " }\n" |
| " i0 = i1;\n" |
| " }\n" |
| " if (markEnd - i < 20)\n" |
| " for (m = i; m < markEnd; ++m) {\n" |
| " if (!(m < t1))\n" |
| " return A.ioore(bytes, m);\n" |
| " t3 = A.Primitives_stringFromCharCode(bytes[m]);\n" |
| " buffer._contents += t3;\n" |
| " }\n" |
| " else {\n" |
| " t3 = A.String_String\$fromCharCodes(bytes, i, markEnd);\n" |
| " buffer._contents += t3;\n" |
| " }\n" |
| " if (markEnd === end)\n" |
| " break \$label0\$0;\n" |
| " i = i0;\n" |
| " } else\n" |
| " i = i0;\n" |
| " }\n" |
| " if (single && state > 32)\n" |
| " if (t2) {\n" |
| " t1 = A.Primitives_stringFromCharCode(_65533);\n" |
| " buffer._contents += t1;\n" |
| " } else {\n" |
| " _this._convert\$_state = 77;\n" |
| " _this._charOrIndex = end;\n" |
| " return \"\";\n" |
| " }\n" |
| " _this._convert\$_state = state;\n" |
| " _this._charOrIndex = char;\n" |
| " t1 = buffer._contents;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " }\n" |
| " };\n" |
| " A.DateTime.prototype = {\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return other instanceof A.DateTime && this._value === other._value && this._microsecond === other._microsecond && this.isUtc === other.isUtc;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Object_hash(this._value, this._microsecond, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue);\n" |
| " },\n" |
| " compareTo\$1(_, other) {\n" |
| " var r;\n" |
| " type\$.DateTime._as(other);\n" |
| " r = B.JSInt_methods.compareTo\$1(this._value, other._value);\n" |
| " if (r !== 0)\n" |
| " return r;\n" |
| " return B.JSInt_methods.compareTo\$1(this._microsecond, other._microsecond);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " var _this = this,\n" |
| " y = A.DateTime__fourDigits(A.Primitives_getYear(_this)),\n" |
| " m = A.DateTime__twoDigits(A.Primitives_getMonth(_this)),\n" |
| " d = A.DateTime__twoDigits(A.Primitives_getDay(_this)),\n" |
| " h = A.DateTime__twoDigits(A.Primitives_getHours(_this)),\n" |
| " min = A.DateTime__twoDigits(A.Primitives_getMinutes(_this)),\n" |
| " sec = A.DateTime__twoDigits(A.Primitives_getSeconds(_this)),\n" |
| " ms = A.DateTime__threeDigits(A.Primitives_getMilliseconds(_this)),\n" |
| " t1 = _this._microsecond,\n" |
| " us = t1 === 0 ? \"\" : A.DateTime__threeDigits(t1);\n" |
| " t1 = y + \"-\" + m;\n" |
| " if (_this.isUtc)\n" |
| " return t1 + \"-\" + d + \" \" + h + \":\" + min + \":\" + sec + \".\" + ms + us + \"Z\";\n" |
| " else\n" |
| " return t1 + \"-\" + d + \" \" + h + \":\" + min + \":\" + sec + \".\" + ms + us;\n" |
| " },\n" |
| " \$isComparable: 1\n" |
| " };\n" |
| " A.Duration.prototype = {\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return other instanceof A.Duration && this._duration === other._duration;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return B.JSInt_methods.get\$hashCode(this._duration);\n" |
| " },\n" |
| " compareTo\$1(_, other) {\n" |
| " return B.JSInt_methods.compareTo\$1(this._duration, type\$.Duration._as(other)._duration);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " var sign, minutes, minutesPadding, seconds, secondsPadding,\n" |
| " microseconds = this._duration,\n" |
| " hours = B.JSInt_methods._tdivFast\$1(microseconds, 3600000000),\n" |
| " microseconds0 = microseconds % 3600000000;\n" |
| " if (microseconds < 0) {\n" |
| " hours = 0 - hours;\n" |
| " microseconds = 0 - microseconds0;\n" |
| " sign = \"-\";\n" |
| " } else {\n" |
| " microseconds = microseconds0;\n" |
| " sign = \"\";\n" |
| " }\n" |
| " minutes = B.JSInt_methods._tdivFast\$1(microseconds, 60000000);\n" |
| " microseconds %= 60000000;\n" |
| " minutesPadding = minutes < 10 ? \"0\" : \"\";\n" |
| " seconds = B.JSInt_methods._tdivFast\$1(microseconds, 1000000);\n" |
| " secondsPadding = seconds < 10 ? \"0\" : \"\";\n" |
| " return sign + hours + \":\" + minutesPadding + minutes + \":\" + secondsPadding + seconds + \".\" + B.JSString_methods.padLeft\$2(B.JSInt_methods.toString\$0(microseconds % 1000000), 6, \"0\");\n" |
| " },\n" |
| " \$isComparable: 1\n" |
| " };\n" |
| " A._Enum.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return this._enumToString\$0();\n" |
| " }\n" |
| " };\n" |
| " A.Error.prototype = {\n" |
| " get\$stackTrace() {\n" |
| " return A.Primitives_extractStackTrace(this);\n" |
| " }\n" |
| " };\n" |
| " A.AssertionError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var t1 = this.message;\n" |
| " if (t1 != null)\n" |
| " return \"Assertion failed: \" + A.Error_safeToString(t1);\n" |
| " return \"Assertion failed\";\n" |
| " }\n" |
| " };\n" |
| " A.TypeError.prototype = {};\n" |
| " A.ArgumentError.prototype = {\n" |
| " get\$_errorName() {\n" |
| " return \"Invalid argument\" + (!this._hasValue ? \"(s)\" : \"\");\n" |
| " },\n" |
| " get\$_errorExplanation() {\n" |
| " return \"\";\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " var _this = this,\n" |
| " \$name = _this.name,\n" |
| " nameString = \$name == null ? \"\" : \" (\" + \$name + \")\",\n" |
| " message = _this.message,\n" |
| " messageString = message == null ? \"\" : \": \" + A.S(message),\n" |
| " prefix = _this.get\$_errorName() + nameString + messageString;\n" |
| " if (!_this._hasValue)\n" |
| " return prefix;\n" |
| " return prefix + _this.get\$_errorExplanation() + \": \" + A.Error_safeToString(_this.get\$invalidValue());\n" |
| " },\n" |
| " get\$invalidValue() {\n" |
| " return this.invalidValue;\n" |
| " }\n" |
| " };\n" |
| " A.RangeError.prototype = {\n" |
| " get\$invalidValue() {\n" |
| " return A._asNumQ(this.invalidValue);\n" |
| " },\n" |
| " get\$_errorName() {\n" |
| " return \"RangeError\";\n" |
| " },\n" |
| " get\$_errorExplanation() {\n" |
| " var explanation,\n" |
| " start = this.start,\n" |
| " end = this.end;\n" |
| " if (start == null)\n" |
| " explanation = end != null ? \": Not less than or equal to \" + A.S(end) : \"\";\n" |
| " else if (end == null)\n" |
| " explanation = \": Not greater than or equal to \" + A.S(start);\n" |
| " else if (end > start)\n" |
| " explanation = \": Not in inclusive range \" + A.S(start) + \"..\" + A.S(end);\n" |
| " else\n" |
| " explanation = end < start ? \": Valid value range is empty\" : \": Only valid value is \" + A.S(start);\n" |
| " return explanation;\n" |
| " }\n" |
| " };\n" |
| " A.IndexError.prototype = {\n" |
| " get\$invalidValue() {\n" |
| " return A._asInt(this.invalidValue);\n" |
| " },\n" |
| " get\$_errorName() {\n" |
| " return \"RangeError\";\n" |
| " },\n" |
| " get\$_errorExplanation() {\n" |
| " if (A._asInt(this.invalidValue) < 0)\n" |
| " return \": index must not be negative\";\n" |
| " var t1 = this.length;\n" |
| " if (t1 === 0)\n" |
| " return \": no indices are valid\";\n" |
| " return \": index should be less than \" + t1;\n" |
| " },\n" |
| " get\$length(receiver) {\n" |
| " return this.length;\n" |
| " }\n" |
| " };\n" |
| " A.UnsupportedError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"Unsupported operation: \" + this.message;\n" |
| " }\n" |
| " };\n" |
| " A.UnimplementedError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"UnimplementedError: \" + this.message;\n" |
| " }\n" |
| " };\n" |
| " A.StateError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"Bad state: \" + this.message;\n" |
| " }\n" |
| " };\n" |
| " A.ConcurrentModificationError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var t1 = this.modifiedObject;\n" |
| " if (t1 == null)\n" |
| " return \"Concurrent modification during iteration.\";\n" |
| " return \"Concurrent modification during iteration: \" + A.Error_safeToString(t1) + \".\";\n" |
| " }\n" |
| " };\n" |
| " A.OutOfMemoryError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"Out of Memory\";\n" |
| " },\n" |
| " get\$stackTrace() {\n" |
| " return null;\n" |
| " },\n" |
| " \$isError: 1\n" |
| " };\n" |
| " A.StackOverflowError.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"Stack Overflow\";\n" |
| " },\n" |
| " get\$stackTrace() {\n" |
| " return null;\n" |
| " },\n" |
| " \$isError: 1\n" |
| " };\n" |
| " A._Exception.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"Exception: \" + this.message;\n" |
| " },\n" |
| " \$isException: 1\n" |
| " };\n" |
| " A.FormatException.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var t1, lineEnd, lineNum, lineStart, previousCharWasCR, i, char, prefix, postfix, end, start,\n" |
| " message = this.message,\n" |
| " report = \"\" !== message ? \"FormatException: \" + message : \"FormatException\",\n" |
| " offset = this.offset,\n" |
| " source = this.source;\n" |
| " if (typeof source == \"string\") {\n" |
| " if (offset != null)\n" |
| " t1 = offset < 0 || offset > source.length;\n" |
| " else\n" |
| " t1 = false;\n" |
| " if (t1)\n" |
| " offset = null;\n" |
| " if (offset == null) {\n" |
| " if (source.length > 78)\n" |
| " source = B.JSString_methods.substring\$2(source, 0, 75) + \"...\";\n" |
| " return report + \"\\n\" + source;\n" |
| " }\n" |
| " for (lineEnd = source.length, lineNum = 1, lineStart = 0, previousCharWasCR = false, i = 0; i < offset; ++i) {\n" |
| " if (!(i < lineEnd))\n" |
| " return A.ioore(source, i);\n" |
| " char = source.charCodeAt(i);\n" |
| " if (char === 10) {\n" |
| " if (lineStart !== i || !previousCharWasCR)\n" |
| " ++lineNum;\n" |
| " lineStart = i + 1;\n" |
| " previousCharWasCR = false;\n" |
| " } else if (char === 13) {\n" |
| " ++lineNum;\n" |
| " lineStart = i + 1;\n" |
| " previousCharWasCR = true;\n" |
| " }\n" |
| " }\n" |
| " report = lineNum > 1 ? report + (\" (at line \" + lineNum + \", character \" + (offset - lineStart + 1) + \")\\n\") : report + (\" (at character \" + (offset + 1) + \")\\n\");\n" |
| " for (i = offset; i < lineEnd; ++i) {\n" |
| " if (!(i >= 0))\n" |
| " return A.ioore(source, i);\n" |
| " char = source.charCodeAt(i);\n" |
| " if (char === 10 || char === 13) {\n" |
| " lineEnd = i;\n" |
| " break;\n" |
| " }\n" |
| " }\n" |
| " prefix = \"\";\n" |
| " if (lineEnd - lineStart > 78) {\n" |
| " postfix = \"...\";\n" |
| " if (offset - lineStart < 75) {\n" |
| " end = lineStart + 75;\n" |
| " start = lineStart;\n" |
| " } else {\n" |
| " if (lineEnd - offset < 75) {\n" |
| " start = lineEnd - 75;\n" |
| " end = lineEnd;\n" |
| " postfix = \"\";\n" |
| " } else {\n" |
| " start = offset - 36;\n" |
| " end = offset + 36;\n" |
| " }\n" |
| " prefix = \"...\";\n" |
| " }\n" |
| " } else {\n" |
| " end = lineEnd;\n" |
| " start = lineStart;\n" |
| " postfix = \"\";\n" |
| " }\n" |
| " return report + prefix + B.JSString_methods.substring\$2(source, start, end) + postfix + \"\\n\" + B.JSString_methods.\$mul(\" \", offset - start + prefix.length) + \"^\\n\";\n" |
| " } else\n" |
| " return offset != null ? report + (\" (at offset \" + A.S(offset) + \")\") : report;\n" |
| " },\n" |
| " \$isException: 1,\n" |
| " get\$message() {\n" |
| " return this.message;\n" |
| " },\n" |
| " get\$source() {\n" |
| " return this.source;\n" |
| " },\n" |
| " get\$offset() {\n" |
| " return this.offset;\n" |
| " }\n" |
| " };\n" |
| " A.Iterable.prototype = {\n" |
| " cast\$1\$0(_, \$R) {\n" |
| " return A.CastIterable_CastIterable(this, A.instanceType(this)._eval\$1(\"Iterable.E\"), \$R);\n" |
| " },\n" |
| " map\$1\$1(_, toElement, \$T) {\n" |
| " var t1 = A.instanceType(this);\n" |
| " return A.MappedIterable_MappedIterable(this, t1._bind\$1(\$T)._eval\$1(\"1(Iterable.E)\")._as(toElement), t1._eval\$1(\"Iterable.E\"), \$T);\n" |
| " },\n" |
| " contains\$1(_, element) {\n" |
| " var t1;\n" |
| " for (t1 = this.get\$iterator(this); t1.moveNext\$0();)\n" |
| " if (J.\$eq\$(t1.get\$current(), element))\n" |
| " return true;\n" |
| " return false;\n" |
| " },\n" |
| " toList\$1\$growable(_, growable) {\n" |
| " var t1 = A.instanceType(this)._eval\$1(\"Iterable.E\");\n" |
| " if (growable)\n" |
| " t1 = A.List_List\$_of(this, t1);\n" |
| " else {\n" |
| " t1 = A.List_List\$_of(this, t1);\n" |
| " t1.\$flags = 1;\n" |
| " t1 = t1;\n" |
| " }\n" |
| " return t1;\n" |
| " },\n" |
| " toList\$0(_) {\n" |
| " return this.toList\$1\$growable(0, true);\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " var count,\n" |
| " it = this.get\$iterator(this);\n" |
| " for (count = 0; it.moveNext\$0();)\n" |
| " ++count;\n" |
| " return count;\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return !this.get\$iterator(this).moveNext\$0();\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " return !this.get\$isEmpty(this);\n" |
| " },\n" |
| " take\$1(_, count) {\n" |
| " return A.TakeIterable_TakeIterable(this, count, A.instanceType(this)._eval\$1(\"Iterable.E\"));\n" |
| " },\n" |
| " skip\$1(_, count) {\n" |
| " return A.SkipIterable_SkipIterable(this, count, A.instanceType(this)._eval\$1(\"Iterable.E\"));\n" |
| " },\n" |
| " get\$first(_) {\n" |
| " var it = this.get\$iterator(this);\n" |
| " if (!it.moveNext\$0())\n" |
| " throw A.wrapException(A.IterableElementError_noElement());\n" |
| " return it.get\$current();\n" |
| " },\n" |
| " elementAt\$1(_, index) {\n" |
| " var iterator, skipCount;\n" |
| " A.RangeError_checkNotNegative(index, \"index\");\n" |
| " iterator = this.get\$iterator(this);\n" |
| " for (skipCount = index; iterator.moveNext\$0();) {\n" |
| " if (skipCount === 0)\n" |
| " return iterator.get\$current();\n" |
| " --skipCount;\n" |
| " }\n" |
| " throw A.wrapException(A.IndexError\$withLength(index, index - skipCount, this, null, \"index\"));\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return A.Iterable_iterableToShortString(this, \"(\", \")\");\n" |
| " }\n" |
| " };\n" |
| " A.MapEntry.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"MapEntry(\" + A.S(this.key) + \": \" + A.S(this.value) + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.Null.prototype = {\n" |
| " get\$hashCode(_) {\n" |
| " return A.Object.prototype.get\$hashCode.call(this, 0);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"null\";\n" |
| " }\n" |
| " };\n" |
| " A.Object.prototype = {\$isObject: 1,\n" |
| " \$eq(_, other) {\n" |
| " return this === other;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Primitives_objectHashCode(this);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"Instance of '\" + A.Primitives_objectTypeName(this) + \"'\";\n" |
| " },\n" |
| " get\$runtimeType(_) {\n" |
| " return A.getRuntimeTypeOfDartObject(this);\n" |
| " },\n" |
| " toString() {\n" |
| " return this.toString\$0(this);\n" |
| " }\n" |
| " };\n" |
| " A._StringStackTrace.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return this._stackTrace;\n" |
| " },\n" |
| " \$isStackTrace: 1\n" |
| " };\n" |
| " A.StringBuffer.prototype = {\n" |
| " get\$length(_) {\n" |
| " return this._contents.length;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " var t1 = this._contents;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " \$isStringSink: 1\n" |
| " };\n" |
| " A.Uri_parseIPv6Address_error.prototype = {\n" |
| " call\$2(msg, position) {\n" |
| " throw A.wrapException(A.FormatException\$(\"Illegal IPv6 address, \" + msg, this.host, position));\n" |
| " },\n" |
| " \$signature: 48\n" |
| " };\n" |
| " A._Uri.prototype = {\n" |
| " get\$_text() {\n" |
| " var t1, t2, t3, t4, _this = this,\n" |
| " value = _this.___Uri__text_FI;\n" |
| " if (value === \$) {\n" |
| " t1 = _this.scheme;\n" |
| " t2 = t1.length !== 0 ? t1 + \":\" : \"\";\n" |
| " t3 = _this._host;\n" |
| " t4 = t3 == null;\n" |
| " if (!t4 || t1 === \"file\") {\n" |
| " t1 = t2 + \"//\";\n" |
| " t2 = _this._userInfo;\n" |
| " if (t2.length !== 0)\n" |
| " t1 = t1 + t2 + \"@\";\n" |
| " if (!t4)\n" |
| " t1 += t3;\n" |
| " t2 = _this._port;\n" |
| " if (t2 != null)\n" |
| " t1 = t1 + \":\" + A.S(t2);\n" |
| " } else\n" |
| " t1 = t2;\n" |
| " t1 += _this.path;\n" |
| " t2 = _this._query;\n" |
| " if (t2 != null)\n" |
| " t1 = t1 + \"?\" + t2;\n" |
| " t2 = _this._fragment;\n" |
| " if (t2 != null)\n" |
| " t1 = t1 + \"#\" + t2;\n" |
| " value = _this.___Uri__text_FI = t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " }\n" |
| " return value;\n" |
| " },\n" |
| " get\$pathSegments() {\n" |
| " var pathToSplit, t1, result, _this = this,\n" |
| " value = _this.___Uri_pathSegments_FI;\n" |
| " if (value === \$) {\n" |
| " pathToSplit = _this.path;\n" |
| " t1 = pathToSplit.length;\n" |
| " if (t1 !== 0) {\n" |
| " if (0 >= t1)\n" |
| " return A.ioore(pathToSplit, 0);\n" |
| " t1 = pathToSplit.charCodeAt(0) === 47;\n" |
| " } else\n" |
| " t1 = false;\n" |
| " if (t1)\n" |
| " pathToSplit = B.JSString_methods.substring\$1(pathToSplit, 1);\n" |
| " result = pathToSplit.length === 0 ? B.List_empty : A.List_List\$unmodifiable(new A.MappedListIterable(A._setArrayType(pathToSplit.split(\"/\"), type\$.JSArray_String), type\$.dynamic_Function_String._as(A.core_Uri_decodeComponent\$closure()), type\$.MappedListIterable_String_dynamic), type\$.String);\n" |
| " _this.___Uri_pathSegments_FI !== \$ && A.throwLateFieldADI(\"pathSegments\");\n" |
| " value = _this.___Uri_pathSegments_FI = result;\n" |
| " }\n" |
| " return value;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " var result, _this = this,\n" |
| " value = _this.___Uri_hashCode_FI;\n" |
| " if (value === \$) {\n" |
| " result = B.JSString_methods.get\$hashCode(_this.get\$_text());\n" |
| " _this.___Uri_hashCode_FI !== \$ && A.throwLateFieldADI(\"hashCode\");\n" |
| " _this.___Uri_hashCode_FI = result;\n" |
| " value = result;\n" |
| " }\n" |
| " return value;\n" |
| " },\n" |
| " get\$userInfo() {\n" |
| " return this._userInfo;\n" |
| " },\n" |
| " get\$host() {\n" |
| " var host = this._host;\n" |
| " if (host == null)\n" |
| " return \"\";\n" |
| " if (B.JSString_methods.startsWith\$1(host, \"[\") && !B.JSString_methods.startsWith\$2(host, \"v\", 1))\n" |
| " return B.JSString_methods.substring\$2(host, 1, host.length - 1);\n" |
| " return host;\n" |
| " },\n" |
| " get\$port() {\n" |
| " var t1 = this._port;\n" |
| " return t1 == null ? A._Uri__defaultPort(this.scheme) : t1;\n" |
| " },\n" |
| " get\$query() {\n" |
| " var t1 = this._query;\n" |
| " return t1 == null ? \"\" : t1;\n" |
| " },\n" |
| " get\$fragment() {\n" |
| " var t1 = this._fragment;\n" |
| " return t1 == null ? \"\" : t1;\n" |
| " },\n" |
| " isScheme\$1(scheme) {\n" |
| " var thisScheme = this.scheme;\n" |
| " if (scheme.length !== thisScheme.length)\n" |
| " return false;\n" |
| " return A._caseInsensitiveCompareStart(scheme, thisScheme, 0) >= 0;\n" |
| " },\n" |
| " replace\$2\$path\$scheme(path, scheme) {\n" |
| " var schemeChanged, isFile, userInfo, port, host, hasAuthority, t1, currentPath, _this = this,\n" |
| " scheme0 = _this.scheme;\n" |
| " if (scheme != null) {\n" |
| " scheme = A._Uri__makeScheme(scheme, 0, scheme.length);\n" |
| " schemeChanged = scheme !== scheme0;\n" |
| " } else {\n" |
| " scheme = scheme0;\n" |
| " schemeChanged = false;\n" |
| " }\n" |
| " isFile = scheme === \"file\";\n" |
| " userInfo = _this._userInfo;\n" |
| " port = _this._port;\n" |
| " if (schemeChanged)\n" |
| " port = A._Uri__makePort(port, scheme);\n" |
| " host = _this._host;\n" |
| " if (!(host != null))\n" |
| " host = userInfo.length !== 0 || port != null || isFile ? \"\" : null;\n" |
| " hasAuthority = host != null;\n" |
| " if (path != null) {\n" |
| " t1 = path.length;\n" |
| " path = A._Uri__makePath(path, 0, t1, null, scheme, hasAuthority);\n" |
| " } else {\n" |
| " currentPath = _this.path;\n" |
| " if (!isFile)\n" |
| " t1 = hasAuthority && currentPath.length !== 0;\n" |
| " else\n" |
| " t1 = true;\n" |
| " if (t1 && !B.JSString_methods.startsWith\$1(currentPath, \"/\"))\n" |
| " currentPath = \"/\" + currentPath;\n" |
| " path = currentPath;\n" |
| " }\n" |
| " return A._Uri\$_internal(scheme, userInfo, host, port, path, _this._query, _this._fragment);\n" |
| " },\n" |
| " replace\$1\$scheme(scheme) {\n" |
| " return this.replace\$2\$path\$scheme(null, scheme);\n" |
| " },\n" |
| " replace\$1\$path(path) {\n" |
| " return this.replace\$2\$path\$scheme(path, null);\n" |
| " },\n" |
| " _mergePaths\$2(base, reference) {\n" |
| " var backCount, refStart, baseEnd, t1, newEnd, delta, t2, t3, t4;\n" |
| " for (backCount = 0, refStart = 0; B.JSString_methods.startsWith\$2(reference, \"../\", refStart);) {\n" |
| " refStart += 3;\n" |
| " ++backCount;\n" |
| " }\n" |
| " baseEnd = B.JSString_methods.lastIndexOf\$1(base, \"/\");\n" |
| " t1 = base.length;\n" |
| " for (;;) {\n" |
| " if (!(baseEnd > 0 && backCount > 0))\n" |
| " break;\n" |
| " newEnd = B.JSString_methods.lastIndexOf\$2(base, \"/\", baseEnd - 1);\n" |
| " if (newEnd < 0)\n" |
| " break;\n" |
| " delta = baseEnd - newEnd;\n" |
| " t2 = delta !== 2;\n" |
| " t3 = false;\n" |
| " if (!t2 || delta === 3) {\n" |
| " t4 = newEnd + 1;\n" |
| " if (!(t4 < t1))\n" |
| " return A.ioore(base, t4);\n" |
| " if (base.charCodeAt(t4) === 46)\n" |
| " if (t2) {\n" |
| " t2 = newEnd + 2;\n" |
| " if (!(t2 < t1))\n" |
| " return A.ioore(base, t2);\n" |
| " t2 = base.charCodeAt(t2) === 46;\n" |
| " } else\n" |
| " t2 = true;\n" |
| " else\n" |
| " t2 = t3;\n" |
| " } else\n" |
| " t2 = t3;\n" |
| " if (t2)\n" |
| " break;\n" |
| " --backCount;\n" |
| " baseEnd = newEnd;\n" |
| " }\n" |
| " return B.JSString_methods.replaceRange\$3(base, baseEnd + 1, null, B.JSString_methods.substring\$1(reference, refStart - 3 * backCount));\n" |
| " },\n" |
| " resolve\$1(reference) {\n" |
| " return this.resolveUri\$1(A.Uri_parse(reference));\n" |
| " },\n" |
| " resolveUri\$1(reference) {\n" |
| " var targetScheme, t1, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, packageNameEnd, packageName, mergedPath, fragment, _this = this;\n" |
| " if (reference.get\$scheme().length !== 0)\n" |
| " return reference;\n" |
| " else {\n" |
| " targetScheme = _this.scheme;\n" |
| " if (reference.get\$hasAuthority()) {\n" |
| " t1 = reference.replace\$1\$scheme(targetScheme);\n" |
| " return t1;\n" |
| " } else {\n" |
| " targetUserInfo = _this._userInfo;\n" |
| " targetHost = _this._host;\n" |
| " targetPort = _this._port;\n" |
| " targetPath = _this.path;\n" |
| " if (reference.get\$hasEmptyPath())\n" |
| " targetQuery = reference.get\$hasQuery() ? reference.get\$query() : _this._query;\n" |
| " else {\n" |
| " packageNameEnd = A._Uri__packageNameEnd(_this, targetPath);\n" |
| " if (packageNameEnd > 0) {\n" |
| " packageName = B.JSString_methods.substring\$2(targetPath, 0, packageNameEnd);\n" |
| " targetPath = reference.get\$hasAbsolutePath() ? packageName + A._Uri__removeDotSegments(reference.get\$path()) : packageName + A._Uri__removeDotSegments(_this._mergePaths\$2(B.JSString_methods.substring\$1(targetPath, packageName.length), reference.get\$path()));\n" |
| " } else if (reference.get\$hasAbsolutePath())\n" |
| " targetPath = A._Uri__removeDotSegments(reference.get\$path());\n" |
| " else if (targetPath.length === 0)\n" |
| " if (targetHost == null)\n" |
| " targetPath = targetScheme.length === 0 ? reference.get\$path() : A._Uri__removeDotSegments(reference.get\$path());\n" |
| " else\n" |
| " targetPath = A._Uri__removeDotSegments(\"/\" + reference.get\$path());\n" |
| " else {\n" |
| " mergedPath = _this._mergePaths\$2(targetPath, reference.get\$path());\n" |
| " t1 = targetScheme.length === 0;\n" |
| " if (!t1 || targetHost != null || B.JSString_methods.startsWith\$1(targetPath, \"/\"))\n" |
| " targetPath = A._Uri__removeDotSegments(mergedPath);\n" |
| " else\n" |
| " targetPath = A._Uri__normalizeRelativePath(mergedPath, !t1 || targetHost != null);\n" |
| " }\n" |
| " targetQuery = reference.get\$hasQuery() ? reference.get\$query() : null;\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " fragment = reference.get\$hasFragment() ? reference.get\$fragment() : null;\n" |
| " return A._Uri\$_internal(targetScheme, targetUserInfo, targetHost, targetPort, targetPath, targetQuery, fragment);\n" |
| " },\n" |
| " get\$hasAuthority() {\n" |
| " return this._host != null;\n" |
| " },\n" |
| " get\$hasQuery() {\n" |
| " return this._query != null;\n" |
| " },\n" |
| " get\$hasFragment() {\n" |
| " return this._fragment != null;\n" |
| " },\n" |
| " get\$hasEmptyPath() {\n" |
| " return this.path.length === 0;\n" |
| " },\n" |
| " get\$hasAbsolutePath() {\n" |
| " return B.JSString_methods.startsWith\$1(this.path, \"/\");\n" |
| " },\n" |
| " toFilePath\$0() {\n" |
| " var pathSegments, _this = this,\n" |
| " t1 = _this.scheme;\n" |
| " if (t1 !== \"\" && t1 !== \"file\")\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Cannot extract a file path from a \" + t1 + \" URI\"));\n" |
| " t1 = _this._query;\n" |
| " if ((t1 == null ? \"\" : t1) !== \"\")\n" |
| " throw A.wrapException(A.UnsupportedError\$(string\$.Cannotfq));\n" |
| " t1 = _this._fragment;\n" |
| " if ((t1 == null ? \"\" : t1) !== \"\")\n" |
| " throw A.wrapException(A.UnsupportedError\$(string\$.Cannotff));\n" |
| " if (_this._host != null && _this.get\$host() !== \"\")\n" |
| " A.throwExpression(A.UnsupportedError\$(string\$.Cannotn));\n" |
| " pathSegments = _this.get\$pathSegments();\n" |
| " A._Uri__checkNonWindowsPathReservedCharacters(pathSegments, false);\n" |
| " t1 = A.StringBuffer__writeAll(B.JSString_methods.startsWith\$1(_this.path, \"/\") ? \"/\" : \"\", pathSegments, \"/\");\n" |
| " t1 = t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " return t1;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return this.get\$_text();\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " var t1, t2, t3, _this = this;\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (_this === other)\n" |
| " return true;\n" |
| " t1 = false;\n" |
| " if (type\$.Uri._is(other))\n" |
| " if (_this.scheme === other.get\$scheme())\n" |
| " if (_this._host != null === other.get\$hasAuthority())\n" |
| " if (_this._userInfo === other.get\$userInfo())\n" |
| " if (_this.get\$host() === other.get\$host())\n" |
| " if (_this.get\$port() === other.get\$port())\n" |
| " if (_this.path === other.get\$path()) {\n" |
| " t2 = _this._query;\n" |
| " t3 = t2 == null;\n" |
| " if (!t3 === other.get\$hasQuery()) {\n" |
| " if (t3)\n" |
| " t2 = \"\";\n" |
| " if (t2 === other.get\$query()) {\n" |
| " t2 = _this._fragment;\n" |
| " t3 = t2 == null;\n" |
| " if (!t3 === other.get\$hasFragment()) {\n" |
| " t1 = t3 ? \"\" : t2;\n" |
| " t1 = t1 === other.get\$fragment();\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " return t1;\n" |
| " },\n" |
| " \$isUri: 1,\n" |
| " get\$scheme() {\n" |
| " return this.scheme;\n" |
| " },\n" |
| " get\$path() {\n" |
| " return this.path;\n" |
| " }\n" |
| " };\n" |
| " A._Uri__makePath_closure.prototype = {\n" |
| " call\$1(s) {\n" |
| " return A._Uri__uriEncode(64, A._asString(s), B.C_Utf8Codec, false);\n" |
| " },\n" |
| " \$signature: 9\n" |
| " };\n" |
| " A.UriData.prototype = {\n" |
| " get\$uri() {\n" |
| " var t2, queryIndex, end, query, _this = this, _null = null,\n" |
| " t1 = _this._uriCache;\n" |
| " if (t1 == null) {\n" |
| " t1 = _this._separatorIndices;\n" |
| " if (0 >= t1.length)\n" |
| " return A.ioore(t1, 0);\n" |
| " t2 = _this._text;\n" |
| " t1 = t1[0] + 1;\n" |
| " queryIndex = B.JSString_methods.indexOf\$2(t2, \"?\", t1);\n" |
| " end = t2.length;\n" |
| " if (queryIndex >= 0) {\n" |
| " query = A._Uri__normalizeOrSubstring(t2, queryIndex + 1, end, 256, false, false);\n" |
| " end = queryIndex;\n" |
| " } else\n" |
| " query = _null;\n" |
| " t1 = _this._uriCache = new A._DataUri(\"data\", \"\", _null, _null, A._Uri__normalizeOrSubstring(t2, t1, end, 128, false, false), query, _null);\n" |
| " }\n" |
| " return t1;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " var t2,\n" |
| " t1 = this._separatorIndices;\n" |
| " if (0 >= t1.length)\n" |
| " return A.ioore(t1, 0);\n" |
| " t2 = this._text;\n" |
| " return t1[0] === -1 ? \"data:\" + t2 : t2;\n" |
| " }\n" |
| " };\n" |
| " A._SimpleUri.prototype = {\n" |
| " get\$hasAuthority() {\n" |
| " return this._hostStart > 0;\n" |
| " },\n" |
| " get\$hasPort() {\n" |
| " return this._hostStart > 0 && this._portStart + 1 < this._pathStart;\n" |
| " },\n" |
| " get\$hasQuery() {\n" |
| " return this._queryStart < this._fragmentStart;\n" |
| " },\n" |
| " get\$hasFragment() {\n" |
| " return this._fragmentStart < this._uri.length;\n" |
| " },\n" |
| " get\$hasAbsolutePath() {\n" |
| " return B.JSString_methods.startsWith\$2(this._uri, \"/\", this._pathStart);\n" |
| " },\n" |
| " get\$hasEmptyPath() {\n" |
| " return this._pathStart === this._queryStart;\n" |
| " },\n" |
| " isScheme\$1(scheme) {\n" |
| " var t1 = scheme.length;\n" |
| " if (t1 === 0)\n" |
| " return this._schemeEnd < 0;\n" |
| " if (t1 !== this._schemeEnd)\n" |
| " return false;\n" |
| " return A._caseInsensitiveCompareStart(scheme, this._uri, 0) >= 0;\n" |
| " },\n" |
| " get\$scheme() {\n" |
| " var t1 = this._schemeCache;\n" |
| " return t1 == null ? this._schemeCache = this._computeScheme\$0() : t1;\n" |
| " },\n" |
| " _computeScheme\$0() {\n" |
| " var t2, _this = this,\n" |
| " t1 = _this._schemeEnd;\n" |
| " if (t1 <= 0)\n" |
| " return \"\";\n" |
| " t2 = t1 === 4;\n" |
| " if (t2 && B.JSString_methods.startsWith\$1(_this._uri, \"http\"))\n" |
| " return \"http\";\n" |
| " if (t1 === 5 && B.JSString_methods.startsWith\$1(_this._uri, \"https\"))\n" |
| " return \"https\";\n" |
| " if (t2 && B.JSString_methods.startsWith\$1(_this._uri, \"file\"))\n" |
| " return \"file\";\n" |
| " if (t1 === 7 && B.JSString_methods.startsWith\$1(_this._uri, \"package\"))\n" |
| " return \"package\";\n" |
| " return B.JSString_methods.substring\$2(_this._uri, 0, t1);\n" |
| " },\n" |
| " get\$userInfo() {\n" |
| " var t1 = this._hostStart,\n" |
| " t2 = this._schemeEnd + 3;\n" |
| " return t1 > t2 ? B.JSString_methods.substring\$2(this._uri, t2, t1 - 1) : \"\";\n" |
| " },\n" |
| " get\$host() {\n" |
| " var t1 = this._hostStart;\n" |
| " return t1 > 0 ? B.JSString_methods.substring\$2(this._uri, t1, this._portStart) : \"\";\n" |
| " },\n" |
| " get\$port() {\n" |
| " var t1, _this = this;\n" |
| " if (_this.get\$hasPort())\n" |
| " return A.int_parse(B.JSString_methods.substring\$2(_this._uri, _this._portStart + 1, _this._pathStart), null);\n" |
| " t1 = _this._schemeEnd;\n" |
| " if (t1 === 4 && B.JSString_methods.startsWith\$1(_this._uri, \"http\"))\n" |
| " return 80;\n" |
| " if (t1 === 5 && B.JSString_methods.startsWith\$1(_this._uri, \"https\"))\n" |
| " return 443;\n" |
| " return 0;\n" |
| " },\n" |
| " get\$path() {\n" |
| " return B.JSString_methods.substring\$2(this._uri, this._pathStart, this._queryStart);\n" |
| " },\n" |
| " get\$query() {\n" |
| " var t1 = this._queryStart,\n" |
| " t2 = this._fragmentStart;\n" |
| " return t1 < t2 ? B.JSString_methods.substring\$2(this._uri, t1 + 1, t2) : \"\";\n" |
| " },\n" |
| " get\$fragment() {\n" |
| " var t1 = this._fragmentStart,\n" |
| " t2 = this._uri;\n" |
| " return t1 < t2.length ? B.JSString_methods.substring\$1(t2, t1 + 1) : \"\";\n" |
| " },\n" |
| " _isPort\$1(port) {\n" |
| " var portDigitStart = this._portStart + 1;\n" |
| " return portDigitStart + port.length === this._pathStart && B.JSString_methods.startsWith\$2(this._uri, port, portDigitStart);\n" |
| " },\n" |
| " removeFragment\$0() {\n" |
| " var _this = this,\n" |
| " t1 = _this._fragmentStart,\n" |
| " t2 = _this._uri;\n" |
| " if (t1 >= t2.length)\n" |
| " return _this;\n" |
| " return new A._SimpleUri(B.JSString_methods.substring\$2(t2, 0, t1), _this._schemeEnd, _this._hostStart, _this._portStart, _this._pathStart, _this._queryStart, t1, _this._schemeCache);\n" |
| " },\n" |
| " replace\$2\$path\$scheme(path, scheme) {\n" |
| " var schemeChanged, isFile, t1, userInfo, port, host, hasAuthority, t2, query, fragment, _this = this, _null = null;\n" |
| " if (scheme != null) {\n" |
| " scheme = A._Uri__makeScheme(scheme, 0, scheme.length);\n" |
| " schemeChanged = !(_this._schemeEnd === scheme.length && B.JSString_methods.startsWith\$1(_this._uri, scheme));\n" |
| " } else {\n" |
| " scheme = _this.get\$scheme();\n" |
| " schemeChanged = false;\n" |
| " }\n" |
| " isFile = scheme === \"file\";\n" |
| " t1 = _this._hostStart;\n" |
| " userInfo = t1 > 0 ? B.JSString_methods.substring\$2(_this._uri, _this._schemeEnd + 3, t1) : \"\";\n" |
| " port = _this.get\$hasPort() ? _this.get\$port() : _null;\n" |
| " if (schemeChanged)\n" |
| " port = A._Uri__makePort(port, scheme);\n" |
| " t1 = _this._hostStart;\n" |
| " if (t1 > 0)\n" |
| " host = B.JSString_methods.substring\$2(_this._uri, t1, _this._portStart);\n" |
| " else\n" |
| " host = userInfo.length !== 0 || port != null || isFile ? \"\" : _null;\n" |
| " hasAuthority = host != null;\n" |
| " if (path != null) {\n" |
| " t1 = path.length;\n" |
| " path = A._Uri__makePath(path, 0, t1, _null, scheme, hasAuthority);\n" |
| " } else {\n" |
| " path = B.JSString_methods.substring\$2(_this._uri, _this._pathStart, _this._queryStart);\n" |
| " if (!isFile)\n" |
| " t1 = hasAuthority && path.length !== 0;\n" |
| " else\n" |
| " t1 = true;\n" |
| " if (t1 && !B.JSString_methods.startsWith\$1(path, \"/\"))\n" |
| " path = \"/\" + path;\n" |
| " }\n" |
| " t1 = _this._queryStart;\n" |
| " t2 = _this._fragmentStart;\n" |
| " query = t1 < t2 ? B.JSString_methods.substring\$2(_this._uri, t1 + 1, t2) : _null;\n" |
| " t1 = _this._fragmentStart;\n" |
| " t2 = _this._uri;\n" |
| " fragment = t1 < t2.length ? B.JSString_methods.substring\$1(t2, t1 + 1) : _null;\n" |
| " return A._Uri\$_internal(scheme, userInfo, host, port, path, query, fragment);\n" |
| " },\n" |
| " replace\$1\$scheme(scheme) {\n" |
| " return this.replace\$2\$path\$scheme(null, scheme);\n" |
| " },\n" |
| " replace\$1\$path(path) {\n" |
| " return this.replace\$2\$path\$scheme(path, null);\n" |
| " },\n" |
| " resolve\$1(reference) {\n" |
| " return this.resolveUri\$1(A.Uri_parse(reference));\n" |
| " },\n" |
| " resolveUri\$1(reference) {\n" |
| " if (reference instanceof A._SimpleUri)\n" |
| " return this._simpleMerge\$2(this, reference);\n" |
| " return this._toNonSimple\$0().resolveUri\$1(reference);\n" |
| " },\n" |
| " _simpleMerge\$2(base, ref) {\n" |
| " var t2, t3, t4, isSimple, delta, refStart, basePathStart, packageNameEnd, basePathStart0, baseStart, baseEnd, baseUri, baseStart0, backCount, refStart0, insert,\n" |
| " t1 = ref._schemeEnd;\n" |
| " if (t1 > 0)\n" |
| " return ref;\n" |
| " t2 = ref._hostStart;\n" |
| " if (t2 > 0) {\n" |
| " t3 = base._schemeEnd;\n" |
| " if (t3 <= 0)\n" |
| " return ref;\n" |
| " t4 = t3 === 4;\n" |
| " if (t4 && B.JSString_methods.startsWith\$1(base._uri, \"file\"))\n" |
| " isSimple = ref._pathStart !== ref._queryStart;\n" |
| " else if (t4 && B.JSString_methods.startsWith\$1(base._uri, \"http\"))\n" |
| " isSimple = !ref._isPort\$1(\"80\");\n" |
| " else\n" |
| " isSimple = !(t3 === 5 && B.JSString_methods.startsWith\$1(base._uri, \"https\")) || !ref._isPort\$1(\"443\");\n" |
| " if (isSimple) {\n" |
| " delta = t3 + 1;\n" |
| " return new A._SimpleUri(B.JSString_methods.substring\$2(base._uri, 0, delta) + B.JSString_methods.substring\$1(ref._uri, t1 + 1), t3, t2 + delta, ref._portStart + delta, ref._pathStart + delta, ref._queryStart + delta, ref._fragmentStart + delta, base._schemeCache);\n" |
| " } else\n" |
| " return this._toNonSimple\$0().resolveUri\$1(ref);\n" |
| " }\n" |
| " refStart = ref._pathStart;\n" |
| " t1 = ref._queryStart;\n" |
| " if (refStart === t1) {\n" |
| " t2 = ref._fragmentStart;\n" |
| " if (t1 < t2) {\n" |
| " t3 = base._queryStart;\n" |
| " delta = t3 - t1;\n" |
| " return new A._SimpleUri(B.JSString_methods.substring\$2(base._uri, 0, t3) + B.JSString_methods.substring\$1(ref._uri, t1), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, t1 + delta, t2 + delta, base._schemeCache);\n" |
| " }\n" |
| " t1 = ref._uri;\n" |
| " if (t2 < t1.length) {\n" |
| " t3 = base._fragmentStart;\n" |
| " return new A._SimpleUri(B.JSString_methods.substring\$2(base._uri, 0, t3) + B.JSString_methods.substring\$1(t1, t2), base._schemeEnd, base._hostStart, base._portStart, base._pathStart, base._queryStart, t2 + (t3 - t2), base._schemeCache);\n" |
| " }\n" |
| " return base.removeFragment\$0();\n" |
| " }\n" |
| " t2 = ref._uri;\n" |
| " if (B.JSString_methods.startsWith\$2(t2, \"/\", refStart)) {\n" |
| " basePathStart = base._pathStart;\n" |
| " packageNameEnd = A._SimpleUri__packageNameEnd(this);\n" |
| " basePathStart0 = packageNameEnd > 0 ? packageNameEnd : basePathStart;\n" |
| " delta = basePathStart0 - refStart;\n" |
| " return new A._SimpleUri(B.JSString_methods.substring\$2(base._uri, 0, basePathStart0) + B.JSString_methods.substring\$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, basePathStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache);\n" |
| " }\n" |
| " baseStart = base._pathStart;\n" |
| " baseEnd = base._queryStart;\n" |
| " if (baseStart === baseEnd && base._hostStart > 0) {\n" |
| " while (B.JSString_methods.startsWith\$2(t2, \"../\", refStart))\n" |
| " refStart += 3;\n" |
| " delta = baseStart - refStart + 1;\n" |
| " return new A._SimpleUri(B.JSString_methods.substring\$2(base._uri, 0, baseStart) + \"/\" + B.JSString_methods.substring\$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache);\n" |
| " }\n" |
| " baseUri = base._uri;\n" |
| " packageNameEnd = A._SimpleUri__packageNameEnd(this);\n" |
| " if (packageNameEnd >= 0)\n" |
| " baseStart0 = packageNameEnd;\n" |
| " else\n" |
| " for (baseStart0 = baseStart; B.JSString_methods.startsWith\$2(baseUri, \"../\", baseStart0);)\n" |
| " baseStart0 += 3;\n" |
| " backCount = 0;\n" |
| " for (;;) {\n" |
| " refStart0 = refStart + 3;\n" |
| " if (!(refStart0 <= t1 && B.JSString_methods.startsWith\$2(t2, \"../\", refStart)))\n" |
| " break;\n" |
| " ++backCount;\n" |
| " refStart = refStart0;\n" |
| " }\n" |
| " for (t3 = baseUri.length, insert = \"\"; baseEnd > baseStart0;) {\n" |
| " --baseEnd;\n" |
| " if (!(baseEnd >= 0 && baseEnd < t3))\n" |
| " return A.ioore(baseUri, baseEnd);\n" |
| " if (baseUri.charCodeAt(baseEnd) === 47) {\n" |
| " if (backCount === 0) {\n" |
| " insert = \"/\";\n" |
| " break;\n" |
| " }\n" |
| " --backCount;\n" |
| " insert = \"/\";\n" |
| " }\n" |
| " }\n" |
| " if (baseEnd === baseStart0 && base._schemeEnd <= 0 && !B.JSString_methods.startsWith\$2(baseUri, \"/\", baseStart)) {\n" |
| " refStart -= backCount * 3;\n" |
| " insert = \"\";\n" |
| " }\n" |
| " delta = baseEnd - refStart + insert.length;\n" |
| " return new A._SimpleUri(B.JSString_methods.substring\$2(baseUri, 0, baseEnd) + insert + B.JSString_methods.substring\$1(t2, refStart), base._schemeEnd, base._hostStart, base._portStart, baseStart, t1 + delta, ref._fragmentStart + delta, base._schemeCache);\n" |
| " },\n" |
| " toFilePath\$0() {\n" |
| " var t2, _this = this,\n" |
| " t1 = _this._schemeEnd;\n" |
| " if (t1 >= 0) {\n" |
| " t2 = !(t1 === 4 && B.JSString_methods.startsWith\$1(_this._uri, \"file\"));\n" |
| " t1 = t2;\n" |
| " } else\n" |
| " t1 = false;\n" |
| " if (t1)\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Cannot extract a file path from a \" + _this.get\$scheme() + \" URI\"));\n" |
| " t1 = _this._queryStart;\n" |
| " t2 = _this._uri;\n" |
| " if (t1 < t2.length) {\n" |
| " if (t1 < _this._fragmentStart)\n" |
| " throw A.wrapException(A.UnsupportedError\$(string\$.Cannotfq));\n" |
| " throw A.wrapException(A.UnsupportedError\$(string\$.Cannotff));\n" |
| " }\n" |
| " if (_this._hostStart < _this._portStart)\n" |
| " A.throwExpression(A.UnsupportedError\$(string\$.Cannotn));\n" |
| " t1 = B.JSString_methods.substring\$2(t2, _this._pathStart, t1);\n" |
| " return t1;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " var t1 = this._hashCodeCache;\n" |
| " return t1 == null ? this._hashCodeCache = B.JSString_methods.get\$hashCode(this._uri) : t1;\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (this === other)\n" |
| " return true;\n" |
| " return type\$.Uri._is(other) && this._uri === other.toString\$0(0);\n" |
| " },\n" |
| " _toNonSimple\$0() {\n" |
| " var _this = this, _null = null,\n" |
| " t1 = _this.get\$scheme(),\n" |
| " t2 = _this.get\$userInfo(),\n" |
| " t3 = _this._hostStart > 0 ? _this.get\$host() : _null,\n" |
| " t4 = _this.get\$hasPort() ? _this.get\$port() : _null,\n" |
| " t5 = _this._uri,\n" |
| " t6 = _this._queryStart,\n" |
| " t7 = B.JSString_methods.substring\$2(t5, _this._pathStart, t6),\n" |
| " t8 = _this._fragmentStart;\n" |
| " t6 = t6 < t8 ? _this.get\$query() : _null;\n" |
| " return A._Uri\$_internal(t1, t2, t3, t4, t7, t6, t8 < t5.length ? _this.get\$fragment() : _null);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return this._uri;\n" |
| " },\n" |
| " \$isUri: 1\n" |
| " };\n" |
| " A._DataUri.prototype = {};\n" |
| " A.NullRejectionException.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"Promise was rejected with a value of `\" + (this.isUndefined ? \"undefined\" : \"null\") + \"`.\";\n" |
| " },\n" |
| " \$isException: 1\n" |
| " };\n" |
| " A.FutureOfJSAnyToJSPromise_get_toJS_closure.prototype = {\n" |
| " call\$2(resolve, reject) {\n" |
| " var t1 = type\$.JavaScriptFunction;\n" |
| " this._this.then\$1\$2\$onError(new A.FutureOfJSAnyToJSPromise_get_toJS__closure(t1._as(resolve)), new A.FutureOfJSAnyToJSPromise_get_toJS__closure0(t1._as(reject)), type\$.nullable_Object);\n" |
| " },\n" |
| " \$signature: 20\n" |
| " };\n" |
| " A.FutureOfJSAnyToJSPromise_get_toJS__closure.prototype = {\n" |
| " call\$1(value) {\n" |
| " var t1 = this.resolve;\n" |
| " t1.call(t1, value);\n" |
| " return value;\n" |
| " },\n" |
| " \$signature: 10\n" |
| " };\n" |
| " A.FutureOfJSAnyToJSPromise_get_toJS__closure0.prototype = {\n" |
| " call\$2(error, stackTrace) {\n" |
| " var wrapper, box, t1;\n" |
| " A._asObject(error);\n" |
| " type\$.StackTrace._as(stackTrace);\n" |
| " wrapper = A.JSFunctionUnsafeUtilExtension_callAsConstructor(type\$.JavaScriptFunction._as(init.G.Error), string\$.Dart_e, type\$.JSObject);\n" |
| " if (type\$.JavaScriptObject._is(error))\n" |
| " A.throwExpression(\"Attempting to box non-Dart object.\");\n" |
| " box = {};\n" |
| " box[\$.\$get\$_jsBoxedDartObjectProperty()] = error;\n" |
| " wrapper.error = box;\n" |
| " wrapper.stack = stackTrace.toString\$0(0);\n" |
| " t1 = this.reject;\n" |
| " t1.call(t1, wrapper);\n" |
| " return wrapper;\n" |
| " },\n" |
| " \$signature: 59\n" |
| " };\n" |
| " A.FutureOfVoidToJSPromise_get_toJS_closure.prototype = {\n" |
| " call\$2(resolve, reject) {\n" |
| " var t1 = type\$.JavaScriptFunction;\n" |
| " this._this.then\$1\$2\$onError(new A.FutureOfVoidToJSPromise_get_toJS__closure(t1._as(resolve)), new A.FutureOfVoidToJSPromise_get_toJS__closure0(t1._as(reject)), type\$.nullable_Object);\n" |
| " },\n" |
| " \$signature: 20\n" |
| " };\n" |
| " A.FutureOfVoidToJSPromise_get_toJS__closure.prototype = {\n" |
| " call\$1(__wc0_formal) {\n" |
| " var t1 = this.resolve;\n" |
| " return t1.call(t1);\n" |
| " },\n" |
| " \$signature: 67\n" |
| " };\n" |
| " A.FutureOfVoidToJSPromise_get_toJS__closure0.prototype = {\n" |
| " call\$2(error, stackTrace) {\n" |
| " var wrapper, box, t1;\n" |
| " A._asObject(error);\n" |
| " type\$.StackTrace._as(stackTrace);\n" |
| " wrapper = A.JSFunctionUnsafeUtilExtension_callAsConstructor(type\$.JavaScriptFunction._as(init.G.Error), string\$.Dart_e, type\$.JSObject);\n" |
| " if (type\$.JavaScriptObject._is(error))\n" |
| " A.throwExpression(\"Attempting to box non-Dart object.\");\n" |
| " box = {};\n" |
| " box[\$.\$get\$_jsBoxedDartObjectProperty()] = error;\n" |
| " wrapper.error = box;\n" |
| " wrapper.stack = stackTrace.toString\$0(0);\n" |
| " t1 = this.reject;\n" |
| " t1.call(t1, wrapper);\n" |
| " },\n" |
| " \$signature: 3\n" |
| " };\n" |
| " A.jsify__convert.prototype = {\n" |
| " call\$1(o) {\n" |
| " var t1, convertedMap, key, convertedList;\n" |
| " if (A._noJsifyRequired(o))\n" |
| " return o;\n" |
| " t1 = this._convertedObjects;\n" |
| " if (t1.containsKey\$1(o))\n" |
| " return t1.\$index(0, o);\n" |
| " if (type\$.Map_dynamic_dynamic._is(o)) {\n" |
| " convertedMap = {};\n" |
| " t1.\$indexSet(0, o, convertedMap);\n" |
| " for (t1 = o.get\$keys(), t1 = t1.get\$iterator(t1); t1.moveNext\$0();) {\n" |
| " key = t1.get\$current();\n" |
| " convertedMap[key] = this.call\$1(o.\$index(0, key));\n" |
| " }\n" |
| " return convertedMap;\n" |
| " } else if (type\$.Iterable_dynamic._is(o)) {\n" |
| " convertedList = [];\n" |
| " t1.\$indexSet(0, o, convertedList);\n" |
| " B.JSArray_methods.addAll\$1(convertedList, J.map\$1\$1\$ax(o, this, type\$.dynamic));\n" |
| " return convertedList;\n" |
| " } else\n" |
| " return o;\n" |
| " },\n" |
| " \$signature: 10\n" |
| " };\n" |
| " A.promiseToFuture_closure.prototype = {\n" |
| " call\$1(r) {\n" |
| " return this.completer.complete\$1(this.T._eval\$1(\"0/?\")._as(r));\n" |
| " },\n" |
| " \$signature: 4\n" |
| " };\n" |
| " A.promiseToFuture_closure0.prototype = {\n" |
| " call\$1(e) {\n" |
| " if (e == null)\n" |
| " return this.completer.completeError\$1(new A.NullRejectionException(e === undefined));\n" |
| " return this.completer.completeError\$1(e);\n" |
| " },\n" |
| " \$signature: 4\n" |
| " };\n" |
| " A.dartify_convert.prototype = {\n" |
| " call\$1(o) {\n" |
| " var t1, millisSinceEpoch, proto, t2, dartObject, originalKeys, dartKeys, i, jsKey, dartKey, l, \$length;\n" |
| " if (A._noDartifyRequired(o))\n" |
| " return o;\n" |
| " t1 = this._convertedObjects;\n" |
| " o.toString;\n" |
| " if (t1.containsKey\$1(o))\n" |
| " return t1.\$index(0, o);\n" |
| " if (o instanceof Date) {\n" |
| " millisSinceEpoch = o.getTime();\n" |
| " if (millisSinceEpoch < -864e13 || millisSinceEpoch > 864e13)\n" |
| " A.throwExpression(A.RangeError\$range(millisSinceEpoch, -864e13, 864e13, \"millisecondsSinceEpoch\", null));\n" |
| " A.checkNotNullable(true, \"isUtc\", type\$.bool);\n" |
| " return new A.DateTime(millisSinceEpoch, 0, true);\n" |
| " }\n" |
| " if (o instanceof RegExp)\n" |
| " throw A.wrapException(A.ArgumentError\$(\"structured clone of RegExp\", null));\n" |
| " if (o instanceof Promise)\n" |
| " return A.promiseToFuture(o, type\$.nullable_Object);\n" |
| " proto = Object.getPrototypeOf(o);\n" |
| " if (proto === Object.prototype || proto === null) {\n" |
| " t2 = type\$.nullable_Object;\n" |
| " dartObject = A.LinkedHashMap_LinkedHashMap\$_empty(t2, t2);\n" |
| " t1.\$indexSet(0, o, dartObject);\n" |
| " originalKeys = Object.keys(o);\n" |
| " dartKeys = [];\n" |
| " for (t1 = J.getInterceptor\$ax(originalKeys), t2 = t1.get\$iterator(originalKeys); t2.moveNext\$0();)\n" |
| " dartKeys.push(A.dartify(t2.get\$current()));\n" |
| " for (i = 0; i < t1.get\$length(originalKeys); ++i) {\n" |
| " jsKey = t1.\$index(originalKeys, i);\n" |
| " if (!(i < dartKeys.length))\n" |
| " return A.ioore(dartKeys, i);\n" |
| " dartKey = dartKeys[i];\n" |
| " if (jsKey != null)\n" |
| " dartObject.\$indexSet(0, dartKey, this.call\$1(o[jsKey]));\n" |
| " }\n" |
| " return dartObject;\n" |
| " }\n" |
| " if (o instanceof Array) {\n" |
| " l = o;\n" |
| " dartObject = [];\n" |
| " t1.\$indexSet(0, o, dartObject);\n" |
| " \$length = A._asInt(o.length);\n" |
| " for (t1 = J.getInterceptor\$asx(l), i = 0; i < \$length; ++i)\n" |
| " dartObject.push(this.call\$1(t1.\$index(l, i)));\n" |
| " return dartObject;\n" |
| " }\n" |
| " return o;\n" |
| " },\n" |
| " \$signature: 10\n" |
| " };\n" |
| " A._JSRandom.prototype = {\n" |
| " nextInt\$1(max) {\n" |
| " if (max <= 0 || max > 4294967296)\n" |
| " throw A.wrapException(A.RangeError\$(string\$.max_mu + max));\n" |
| " return Math.random() * max >>> 0;\n" |
| " }\n" |
| " };\n" |
| " A._JSSecureRandom.prototype = {\n" |
| " _JSSecureRandom\$0() {\n" |
| " var \$crypto = self.crypto;\n" |
| " if (\$crypto != null)\n" |
| " if (\$crypto.getRandomValues != null)\n" |
| " return;\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"No source of cryptographically secure random numbers available.\"));\n" |
| " },\n" |
| " nextInt\$1(max) {\n" |
| " var byteCount, t1, start, randomLimit, t2, t3, random, result;\n" |
| " if (max <= 0 || max > 4294967296)\n" |
| " throw A.wrapException(A.RangeError\$(string\$.max_mu + max));\n" |
| " if (max > 255)\n" |
| " if (max > 65535)\n" |
| " byteCount = max > 16777215 ? 4 : 3;\n" |
| " else\n" |
| " byteCount = 2;\n" |
| " else\n" |
| " byteCount = 1;\n" |
| " t1 = this._math\$_buffer;\n" |
| " t1.\$flags & 2 && A.throwUnsupportedOperation(t1, 11);\n" |
| " t1.setUint32(0, 0, false);\n" |
| " start = 4 - byteCount;\n" |
| " randomLimit = A._asInt(Math.pow(256, byteCount));\n" |
| " for (t2 = max - 1, t3 = (max & t2) === 0;;) {\n" |
| " crypto.getRandomValues(J.asUint8List\$2\$x(B.NativeByteData_methods.get\$buffer(t1), start, byteCount));\n" |
| " random = t1.getUint32(0, false);\n" |
| " if (t3)\n" |
| " return (random & t2) >>> 0;\n" |
| " result = random % max;\n" |
| " if (random - result + max < randomLimit)\n" |
| " return result;\n" |
| " }\n" |
| " }\n" |
| " };\n" |
| " A.AsyncMemoizer.prototype = {};\n" |
| " A.ErrorResult.prototype = {\n" |
| " complete\$1(completer) {\n" |
| " completer.completeError\$2(this.error, this.stackTrace);\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return (J.get\$hashCode\$(this.error) ^ A.Primitives_objectHashCode(this.stackTrace) ^ 492929599) >>> 0;\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return other instanceof A.ErrorResult && J.\$eq\$(this.error, other.error) && this.stackTrace === other.stackTrace;\n" |
| " },\n" |
| " \$isResult: 1\n" |
| " };\n" |
| " A.ValueResult.prototype = {\n" |
| " complete\$1(completer) {\n" |
| " this.\$ti._eval\$1(\"Completer<1>\")._as(completer).complete\$1(this.value);\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return (J.get\$hashCode\$(this.value) ^ 842997089) >>> 0;\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return other instanceof A.ValueResult && J.\$eq\$(this.value, other.value);\n" |
| " },\n" |
| " \$isResult: 1\n" |
| " };\n" |
| " A.StreamQueue.prototype = {\n" |
| " get\$hasNext() {\n" |
| " var t1 = new A._Future(\$.Zone__current, type\$._Future_bool);\n" |
| " this._addRequest\$1(new A._HasNextRequest(new A._AsyncCompleter(t1, type\$._AsyncCompleter_bool), this.\$ti._eval\$1(\"_HasNextRequest<1>\")));\n" |
| " return t1;\n" |
| " },\n" |
| " _updateRequests\$0() {\n" |
| " var t1, t2, t3, t4, t5, _this = this;\n" |
| " for (t1 = _this._requestQueue, t2 = _this._eventQueue, t3 = t1.\$ti._precomputed1; !t1.get\$isEmpty(0);) {\n" |
| " t4 = t1._head;\n" |
| " if (t4 === t1._tail)\n" |
| " A.throwExpression(A.IterableElementError_noElement());\n" |
| " t5 = t1._table;\n" |
| " if (!(t4 < t5.length))\n" |
| " return A.ioore(t5, t4);\n" |
| " t4 = t5[t4];\n" |
| " if (t4 == null)\n" |
| " t4 = t3._as(t4);\n" |
| " if (t4.update\$2(t2, _this._isDone))\n" |
| " t1.removeFirst\$0();\n" |
| " else\n" |
| " return;\n" |
| " }\n" |
| " if (!_this._isDone)\n" |
| " _this._stream_queue\$_subscription.pause\$0();\n" |
| " },\n" |
| " _ensureListening\$0() {\n" |
| " var t1, _this = this;\n" |
| " if (_this._isDone)\n" |
| " return;\n" |
| " t1 = _this._stream_queue\$_subscription;\n" |
| " if (t1 == null)\n" |
| " _this._stream_queue\$_subscription = _this._stream_queue\$_source.listen\$3\$onDone\$onError(new A.StreamQueue__ensureListening_closure(_this), new A.StreamQueue__ensureListening_closure0(_this), new A.StreamQueue__ensureListening_closure1(_this));\n" |
| " else\n" |
| " t1.resume\$0();\n" |
| " },\n" |
| " _addResult\$1(result) {\n" |
| " var t1, _this = this;\n" |
| " _this.\$ti._eval\$1(\"Result<1>\")._as(result);\n" |
| " ++_this._eventsReceived;\n" |
| " t1 = _this._eventQueue;\n" |
| " t1._queue_list\$_add\$1(t1.\$ti._eval\$1(\"QueueList.E\")._as(result));\n" |
| " _this._updateRequests\$0();\n" |
| " },\n" |
| " _addRequest\$1(request) {\n" |
| " var t1, _this = this;\n" |
| " _this.\$ti._eval\$1(\"_EventRequest<1>\")._as(request);\n" |
| " t1 = _this._requestQueue;\n" |
| " if (t1._head === t1._tail) {\n" |
| " if (request.update\$2(_this._eventQueue, _this._isDone))\n" |
| " return;\n" |
| " _this._ensureListening\$0();\n" |
| " }\n" |
| " t1._collection\$_add\$1(t1.\$ti._precomputed1._as(request));\n" |
| " }\n" |
| " };\n" |
| " A.StreamQueue__ensureListening_closure.prototype = {\n" |
| " call\$1(data) {\n" |
| " var t1 = this.\$this,\n" |
| " t2 = t1.\$ti;\n" |
| " t1._addResult\$1(new A.ValueResult(t2._precomputed1._as(data), t2._eval\$1(\"ValueResult<1>\")));\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.\$this.\$ti._eval\$1(\"~(1)\");\n" |
| " }\n" |
| " };\n" |
| " A.StreamQueue__ensureListening_closure1.prototype = {\n" |
| " call\$2(error, stackTrace) {\n" |
| " A._asObject(error);\n" |
| " type\$.StackTrace._as(stackTrace);\n" |
| " this.\$this._addResult\$1(new A.ErrorResult(error, stackTrace));\n" |
| " },\n" |
| " \$signature: 3\n" |
| " };\n" |
| " A.StreamQueue__ensureListening_closure0.prototype = {\n" |
| " call\$0() {\n" |
| " var t1 = this.\$this;\n" |
| " t1._stream_queue\$_subscription = null;\n" |
| " t1._isDone = true;\n" |
| " t1._updateRequests\$0();\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._NextRequest.prototype = {\n" |
| " update\$2(events, isDone) {\n" |
| " var t1, result;\n" |
| " this.\$ti._eval\$1(\"QueueList<Result<1>>\")._as(events);\n" |
| " if (!events.get\$isEmpty(events)) {\n" |
| " t1 = events._queue_list\$_head;\n" |
| " if (t1 === events._queue_list\$_tail)\n" |
| " A.throwExpression(A.StateError\$(\"No element\"));\n" |
| " result = J.\$index\$asx(events._queue_list\$_table, t1);\n" |
| " if (result == null)\n" |
| " result = events.\$ti._eval\$1(\"QueueList.E\")._as(result);\n" |
| " J.\$indexSet\$ax(events._queue_list\$_table, events._queue_list\$_head, null);\n" |
| " events._queue_list\$_head = (events._queue_list\$_head + 1 & J.get\$length\$asx(events._queue_list\$_table) - 1) >>> 0;\n" |
| " result.complete\$1(this._stream_queue\$_completer);\n" |
| " return true;\n" |
| " }\n" |
| " if (isDone) {\n" |
| " this._stream_queue\$_completer.completeError\$2(new A.StateError(\"No elements\"), A.StackTrace_current());\n" |
| " return true;\n" |
| " }\n" |
| " return false;\n" |
| " },\n" |
| " \$is_EventRequest: 1\n" |
| " };\n" |
| " A._HasNextRequest.prototype = {\n" |
| " update\$2(events, isDone) {\n" |
| " this.\$ti._eval\$1(\"QueueList<Result<1>>\")._as(events);\n" |
| " if (!events.get\$isEmpty(events)) {\n" |
| " this._stream_queue\$_completer.complete\$1(true);\n" |
| " return true;\n" |
| " }\n" |
| " if (isDone) {\n" |
| " this._stream_queue\$_completer.complete\$1(false);\n" |
| " return true;\n" |
| " }\n" |
| " return false;\n" |
| " },\n" |
| " \$is_EventRequest: 1\n" |
| " };\n" |
| " A.CanonicalizedMap.prototype = {\n" |
| " \$index(_, key) {\n" |
| " var pair, _this = this;\n" |
| " if (!_this._isValidKey\$1(key))\n" |
| " return null;\n" |
| " pair = _this._base.\$index(0, _this._canonicalize.call\$1(_this.\$ti._eval\$1(\"CanonicalizedMap.K\")._as(key)));\n" |
| " return pair == null ? null : pair.value;\n" |
| " },\n" |
| " \$indexSet(_, key, value) {\n" |
| " var _this = this,\n" |
| " t1 = _this.\$ti;\n" |
| " t1._eval\$1(\"CanonicalizedMap.K\")._as(key);\n" |
| " t1._eval\$1(\"CanonicalizedMap.V\")._as(value);\n" |
| " if (!_this._isValidKey\$1(key))\n" |
| " return;\n" |
| " _this._base.\$indexSet(0, _this._canonicalize.call\$1(key), new A.MapEntry(key, value, t1._eval\$1(\"MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>\")));\n" |
| " },\n" |
| " addAll\$1(_, other) {\n" |
| " this.\$ti._eval\$1(\"Map<CanonicalizedMap.K,CanonicalizedMap.V>\")._as(other).forEach\$1(0, new A.CanonicalizedMap_addAll_closure(this));\n" |
| " },\n" |
| " cast\$2\$0(_, \$K2, \$V2) {\n" |
| " return this._base.cast\$2\$0(0, \$K2, \$V2);\n" |
| " },\n" |
| " containsKey\$1(key) {\n" |
| " var _this = this;\n" |
| " if (!_this._isValidKey\$1(key))\n" |
| " return false;\n" |
| " return _this._base.containsKey\$1(_this._canonicalize.call\$1(_this.\$ti._eval\$1(\"CanonicalizedMap.K\")._as(key)));\n" |
| " },\n" |
| " forEach\$1(_, f) {\n" |
| " this._base.forEach\$1(0, new A.CanonicalizedMap_forEach_closure(this, this.\$ti._eval\$1(\"~(CanonicalizedMap.K,CanonicalizedMap.V)\")._as(f)));\n" |
| " },\n" |
| " get\$isEmpty(_) {\n" |
| " return this._base.__js_helper\$_length === 0;\n" |
| " },\n" |
| " get\$isNotEmpty(_) {\n" |
| " return this._base.__js_helper\$_length !== 0;\n" |
| " },\n" |
| " get\$keys() {\n" |
| " var t1 = this._base,\n" |
| " t2 = A._instanceType(t1)._eval\$1(\"LinkedHashMapValuesIterable<2>\"),\n" |
| " t3 = this.\$ti._eval\$1(\"CanonicalizedMap.K\");\n" |
| " return A.MappedIterable_MappedIterable(new A.LinkedHashMapValuesIterable(t1, t2), t2._bind\$1(t3)._eval\$1(\"1(Iterable.E)\")._as(new A.CanonicalizedMap_keys_closure(this)), t2._eval\$1(\"Iterable.E\"), t3);\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " return this._base.__js_helper\$_length;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return A.MapBase_mapToString(this);\n" |
| " },\n" |
| " _isValidKey\$1(key) {\n" |
| " return this.\$ti._eval\$1(\"CanonicalizedMap.K\")._is(key);\n" |
| " },\n" |
| " \$isMap: 1\n" |
| " };\n" |
| " A.CanonicalizedMap_addAll_closure.prototype = {\n" |
| " call\$2(key, value) {\n" |
| " var t1 = this.\$this,\n" |
| " t2 = t1.\$ti;\n" |
| " t2._eval\$1(\"CanonicalizedMap.K\")._as(key);\n" |
| " t2._eval\$1(\"CanonicalizedMap.V\")._as(value);\n" |
| " t1.\$indexSet(0, key, value);\n" |
| " return value;\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.\$this.\$ti._eval\$1(\"~(CanonicalizedMap.K,CanonicalizedMap.V)\");\n" |
| " }\n" |
| " };\n" |
| " A.CanonicalizedMap_forEach_closure.prototype = {\n" |
| " call\$2(key, pair) {\n" |
| " var t1 = this.\$this.\$ti;\n" |
| " t1._eval\$1(\"CanonicalizedMap.C\")._as(key);\n" |
| " t1._eval\$1(\"MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>\")._as(pair);\n" |
| " return this.f.call\$2(pair.key, pair.value);\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.\$this.\$ti._eval\$1(\"~(CanonicalizedMap.C,MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>)\");\n" |
| " }\n" |
| " };\n" |
| " A.CanonicalizedMap_keys_closure.prototype = {\n" |
| " call\$1(pair) {\n" |
| " return this.\$this.\$ti._eval\$1(\"MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>\")._as(pair).key;\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.\$this.\$ti._eval\$1(\"CanonicalizedMap.K(MapEntry<CanonicalizedMap.K,CanonicalizedMap.V>)\");\n" |
| " }\n" |
| " };\n" |
| " A.QueueList.prototype = {\n" |
| " add\$1(_, element) {\n" |
| " this._queue_list\$_add\$1(A._instanceType(this)._eval\$1(\"QueueList.E\")._as(element));\n" |
| " },\n" |
| " cast\$1\$0(_, \$T) {\n" |
| " return new A._CastQueueList(this, J.cast\$1\$0\$ax(this._queue_list\$_table, \$T), -1, -1, A._instanceType(this)._eval\$1(\"@<QueueList.E>\")._bind\$1(\$T)._eval\$1(\"_CastQueueList<1,2>\"));\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return A.Iterable_iterableToFullString(this, \"{\", \"}\");\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " return (this.get\$_queue_list\$_tail() - this.get\$_queue_list\$_head() & J.get\$length\$asx(this._queue_list\$_table) - 1) >>> 0;\n" |
| " },\n" |
| " set\$length(_, value) {\n" |
| " var delta, newTail, t1, t2, _this = this;\n" |
| " if (value < 0)\n" |
| " throw A.wrapException(A.RangeError\$(\"Length \" + value + \" may not be negative.\"));\n" |
| " if (value > _this.get\$length(0) && !A._instanceType(_this)._eval\$1(\"QueueList.E\")._is(null))\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"The length can only be increased when the element type is nullable, but the current element type is `\" + A.createRuntimeType(A._instanceType(_this)._eval\$1(\"QueueList.E\")).toString\$0(0) + \"`.\"));\n" |
| " delta = value - _this.get\$length(0);\n" |
| " if (delta >= 0) {\n" |
| " if (J.get\$length\$asx(_this._queue_list\$_table) <= value)\n" |
| " _this._preGrow\$1(value);\n" |
| " _this.set\$_queue_list\$_tail((_this.get\$_queue_list\$_tail() + delta & J.get\$length\$asx(_this._queue_list\$_table) - 1) >>> 0);\n" |
| " return;\n" |
| " }\n" |
| " newTail = _this.get\$_queue_list\$_tail() + delta;\n" |
| " t1 = _this._queue_list\$_table;\n" |
| " if (newTail >= 0)\n" |
| " J.fillRange\$3\$ax(t1, newTail, _this.get\$_queue_list\$_tail(), null);\n" |
| " else {\n" |
| " newTail += J.get\$length\$asx(t1);\n" |
| " J.fillRange\$3\$ax(_this._queue_list\$_table, 0, _this.get\$_queue_list\$_tail(), null);\n" |
| " t1 = _this._queue_list\$_table;\n" |
| " t2 = J.getInterceptor\$asx(t1);\n" |
| " t2.fillRange\$3(t1, newTail, t2.get\$length(t1), null);\n" |
| " }\n" |
| " _this.set\$_queue_list\$_tail(newTail);\n" |
| " },\n" |
| " \$index(_, index) {\n" |
| " var t1, _this = this;\n" |
| " if (index < 0 || index >= _this.get\$length(0))\n" |
| " throw A.wrapException(A.RangeError\$(\"Index \" + index + \" must be in the range [0..\" + _this.get\$length(0) + \").\"));\n" |
| " t1 = J.\$index\$asx(_this._queue_list\$_table, (_this.get\$_queue_list\$_head() + index & J.get\$length\$asx(_this._queue_list\$_table) - 1) >>> 0);\n" |
| " return t1 == null ? A._instanceType(_this)._eval\$1(\"QueueList.E\")._as(t1) : t1;\n" |
| " },\n" |
| " \$indexSet(_, index, value) {\n" |
| " var _this = this;\n" |
| " A._instanceType(_this)._eval\$1(\"QueueList.E\")._as(value);\n" |
| " if (index < 0 || index >= _this.get\$length(0))\n" |
| " throw A.wrapException(A.RangeError\$(\"Index \" + index + \" must be in the range [0..\" + _this.get\$length(0) + \").\"));\n" |
| " J.\$indexSet\$ax(_this._queue_list\$_table, (_this.get\$_queue_list\$_head() + index & J.get\$length\$asx(_this._queue_list\$_table) - 1) >>> 0, value);\n" |
| " },\n" |
| " _queue_list\$_add\$1(element) {\n" |
| " var newTable, split, _this = this,\n" |
| " t1 = A._instanceType(_this);\n" |
| " t1._eval\$1(\"QueueList.E\")._as(element);\n" |
| " J.\$indexSet\$ax(_this._queue_list\$_table, _this.get\$_queue_list\$_tail(), element);\n" |
| " _this.set\$_queue_list\$_tail((_this.get\$_queue_list\$_tail() + 1 & J.get\$length\$asx(_this._queue_list\$_table) - 1) >>> 0);\n" |
| " if (_this.get\$_queue_list\$_head() === _this.get\$_queue_list\$_tail()) {\n" |
| " newTable = A.List_List\$filled(J.get\$length\$asx(_this._queue_list\$_table) * 2, null, false, t1._eval\$1(\"QueueList.E?\"));\n" |
| " split = J.get\$length\$asx(_this._queue_list\$_table) - _this.get\$_queue_list\$_head();\n" |
| " B.JSArray_methods.setRange\$4(newTable, 0, split, _this._queue_list\$_table, _this.get\$_queue_list\$_head());\n" |
| " B.JSArray_methods.setRange\$4(newTable, split, split + _this.get\$_queue_list\$_head(), _this._queue_list\$_table, 0);\n" |
| " _this.set\$_queue_list\$_head(0);\n" |
| " _this.set\$_queue_list\$_tail(J.get\$length\$asx(_this._queue_list\$_table));\n" |
| " _this._queue_list\$_table = newTable;\n" |
| " }\n" |
| " },\n" |
| " _writeToList\$1(target) {\n" |
| " var \$length, firstPartSize, _this = this;\n" |
| " A._instanceType(_this)._eval\$1(\"List<QueueList.E?>\")._as(target);\n" |
| " if (_this.get\$_queue_list\$_head() <= _this.get\$_queue_list\$_tail()) {\n" |
| " \$length = _this.get\$_queue_list\$_tail() - _this.get\$_queue_list\$_head();\n" |
| " B.JSArray_methods.setRange\$4(target, 0, \$length, _this._queue_list\$_table, _this.get\$_queue_list\$_head());\n" |
| " return \$length;\n" |
| " } else {\n" |
| " firstPartSize = J.get\$length\$asx(_this._queue_list\$_table) - _this.get\$_queue_list\$_head();\n" |
| " B.JSArray_methods.setRange\$4(target, 0, firstPartSize, _this._queue_list\$_table, _this.get\$_queue_list\$_head());\n" |
| " B.JSArray_methods.setRange\$4(target, firstPartSize, firstPartSize + _this.get\$_queue_list\$_tail(), _this._queue_list\$_table, 0);\n" |
| " return _this.get\$_queue_list\$_tail() + firstPartSize;\n" |
| " }\n" |
| " },\n" |
| " _preGrow\$1(newElementCount) {\n" |
| " var _this = this,\n" |
| " newTable = A.List_List\$filled(A.QueueList__nextPowerOf2(newElementCount + B.JSInt_methods._shrOtherPositive\$1(newElementCount, 1)), null, false, A._instanceType(_this)._eval\$1(\"QueueList.E?\"));\n" |
| " _this.set\$_queue_list\$_tail(_this._writeToList\$1(newTable));\n" |
| " _this._queue_list\$_table = newTable;\n" |
| " _this.set\$_queue_list\$_head(0);\n" |
| " },\n" |
| " set\$_queue_list\$_head(_head) {\n" |
| " this._queue_list\$_head = A._asInt(_head);\n" |
| " },\n" |
| " set\$_queue_list\$_tail(_tail) {\n" |
| " this._queue_list\$_tail = A._asInt(_tail);\n" |
| " },\n" |
| " \$isEfficientLengthIterable: 1,\n" |
| " \$isQueue: 1,\n" |
| " \$isIterable: 1,\n" |
| " \$isList: 1,\n" |
| " get\$_queue_list\$_head() {\n" |
| " return this._queue_list\$_head;\n" |
| " },\n" |
| " get\$_queue_list\$_tail() {\n" |
| " return this._queue_list\$_tail;\n" |
| " }\n" |
| " };\n" |
| " A._CastQueueList.prototype = {\n" |
| " get\$_queue_list\$_head() {\n" |
| " return this._queue_list\$_delegate.get\$_queue_list\$_head();\n" |
| " },\n" |
| " set\$_queue_list\$_head(value) {\n" |
| " this._queue_list\$_delegate.set\$_queue_list\$_head(value);\n" |
| " },\n" |
| " get\$_queue_list\$_tail() {\n" |
| " return this._queue_list\$_delegate.get\$_queue_list\$_tail();\n" |
| " },\n" |
| " set\$_queue_list\$_tail(value) {\n" |
| " this._queue_list\$_delegate.set\$_queue_list\$_tail(value);\n" |
| " }\n" |
| " };\n" |
| " A._QueueList_Object_ListMixin.prototype = {};\n" |
| " A.BuildStatus.prototype = {\n" |
| " _enumToString\$0() {\n" |
| " return \"BuildStatus.\" + this._name;\n" |
| " },\n" |
| " toJson\$0() {\n" |
| " return this._name;\n" |
| " }\n" |
| " };\n" |
| " A.BuildStatus_BuildStatus\$fromJson_closure.prototype = {\n" |
| " call\$1(e) {\n" |
| " return type\$.BuildStatus._as(e)._name === this.json;\n" |
| " },\n" |
| " \$signature: 73\n" |
| " };\n" |
| " A.BuildStatus_BuildStatus\$fromJson_closure0.prototype = {\n" |
| " call\$0() {\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Unknown BuildStatus: \" + this.json, null));\n" |
| " },\n" |
| " \$signature: 74\n" |
| " };\n" |
| " A.BuildResult.prototype = {\n" |
| " toJson\$0() {\n" |
| " return A.LinkedHashMap_LinkedHashMap\$_literal([\"status\", this.status._name], type\$.String, type\$.dynamic);\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " var t1;\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (this !== other)\n" |
| " t1 = other instanceof A.BuildResult && A.getRuntimeTypeOfDartObject(this) === A.getRuntimeTypeOfDartObject(other) && this.status === other.status;\n" |
| " else\n" |
| " t1 = true;\n" |
| " return t1;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Primitives_objectHashCode(this.status);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"BuildResult(status: \" + this.status.toString\$0(0) + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.ConnectRequest.prototype = {\n" |
| " toJson\$0() {\n" |
| " return A.LinkedHashMap_LinkedHashMap\$_literal([\"appId\", this.appId, \"instanceId\", this.instanceId, \"entrypointPath\", this.entrypointPath], type\$.String, type\$.dynamic);\n" |
| " }\n" |
| " };\n" |
| " A.DebugEvent.prototype = {\n" |
| " toJson\$0() {\n" |
| " return A.LinkedHashMap_LinkedHashMap\$_literal([\"kind\", this.kind, \"eventData\", this.eventData, \"timestamp\", this.timestamp], type\$.String, type\$.dynamic);\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " var t1, _this = this;\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (_this !== other)\n" |
| " t1 = other instanceof A.DebugEvent && A.getRuntimeTypeOfDartObject(_this) === A.getRuntimeTypeOfDartObject(other) && _this.kind === other.kind && _this.eventData === other.eventData && _this.timestamp === other.timestamp;\n" |
| " else\n" |
| " t1 = true;\n" |
| " return t1;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Object_hash(this.kind, this.eventData, this.timestamp, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"DebugEvent(kind: \" + this.kind + \", eventData: \" + this.eventData + \", timestamp: \" + this.timestamp + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.BatchedDebugEvents.prototype = {\n" |
| " toJson\$0() {\n" |
| " var t1 = J.map\$1\$1\$ax(this.events, new A.BatchedDebugEvents_toJson_closure(), type\$.Map_String_dynamic);\n" |
| " t1 = A.List_List\$_of(t1, t1.\$ti._eval\$1(\"ListIterable.E\"));\n" |
| " return A.LinkedHashMap_LinkedHashMap\$_literal([\"events\", t1], type\$.String, type\$.dynamic);\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " var t1;\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (this !== other)\n" |
| " t1 = other instanceof A.BatchedDebugEvents && A.getRuntimeTypeOfDartObject(this) === A.getRuntimeTypeOfDartObject(other) && A._listEquals(this.events, other.events, type\$.DebugEvent);\n" |
| " else\n" |
| " t1 = true;\n" |
| " return t1;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Object_hashAll(this.events);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"BatchedDebugEvents(events: \" + A.S(this.events) + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.BatchedDebugEvents_toJson_closure.prototype = {\n" |
| " call\$1(e) {\n" |
| " return type\$.DebugEvent._as(e).toJson\$0();\n" |
| " },\n" |
| " \$signature: 89\n" |
| " };\n" |
| " A.DebugInfo.prototype = {\n" |
| " toJson\$0() {\n" |
| " var t2, _this = this,\n" |
| " t1 = [\"DebugInfo\"];\n" |
| " B.JSArray_methods.addAll\$1(t1, [\"appEntrypointPath\", _this.appEntrypointPath]);\n" |
| " t2 = _this.appId;\n" |
| " if (t2 != null)\n" |
| " B.JSArray_methods.addAll\$1(t1, [\"appId\", t2]);\n" |
| " t2 = _this.appInstanceId;\n" |
| " if (t2 != null)\n" |
| " B.JSArray_methods.addAll\$1(t1, [\"appInstanceId\", t2]);\n" |
| " B.JSArray_methods.addAll\$1(t1, [\"appOrigin\", _this.appOrigin]);\n" |
| " B.JSArray_methods.addAll\$1(t1, [\"appUrl\", _this.appUrl]);\n" |
| " t2 = _this.authUrl;\n" |
| " if (t2 != null)\n" |
| " B.JSArray_methods.addAll\$1(t1, [\"authUrl\", t2]);\n" |
| " t2 = _this.extensionUrl;\n" |
| " if (t2 != null)\n" |
| " B.JSArray_methods.addAll\$1(t1, [\"extensionUrl\", t2]);\n" |
| " t2 = _this.isInternalBuild;\n" |
| " if (t2 != null)\n" |
| " B.JSArray_methods.addAll\$1(t1, [\"isInternalBuild\", t2]);\n" |
| " t2 = _this.isFlutterApp;\n" |
| " if (t2 != null)\n" |
| " B.JSArray_methods.addAll\$1(t1, [\"isFlutterApp\", t2]);\n" |
| " t2 = _this.workspaceName;\n" |
| " if (t2 != null)\n" |
| " B.JSArray_methods.addAll\$1(t1, [\"workspaceName\", t2]);\n" |
| " return t1;\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " var t1, _this = this;\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (_this !== other) {\n" |
| " t1 = false;\n" |
| " if (other instanceof A.DebugInfo)\n" |
| " if (A.getRuntimeTypeOfDartObject(_this) === A.getRuntimeTypeOfDartObject(other))\n" |
| " if (_this.appEntrypointPath === other.appEntrypointPath)\n" |
| " if (_this.appId == other.appId)\n" |
| " if (_this.appInstanceId == other.appInstanceId)\n" |
| " if (_this.appOrigin === other.appOrigin)\n" |
| " if (_this.appUrl === other.appUrl)\n" |
| " if (_this.authUrl == other.authUrl)\n" |
| " if (_this.extensionUrl == other.extensionUrl)\n" |
| " if (_this.isInternalBuild == other.isInternalBuild)\n" |
| " if (_this.isFlutterApp == other.isFlutterApp)\n" |
| " t1 = _this.workspaceName == other.workspaceName;\n" |
| " } else\n" |
| " t1 = true;\n" |
| " return t1;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " var _this = this;\n" |
| " return A.Object_hash(_this.appEntrypointPath, _this.appId, _this.appInstanceId, _this.appOrigin, _this.appUrl, _this.authUrl, null, _this.extensionUrl, _this.isInternalBuild, _this.isFlutterApp, _this.workspaceName, null, null);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " var _this = this;\n" |
| " return \"DebugInfo { appEntrypointPath: \" + _this.appEntrypointPath + \", appId: \" + A.S(_this.appId) + \", appInstanceId: \" + A.S(_this.appInstanceId) + \", appOrigin: \" + _this.appOrigin + \", appUrl: \" + _this.appUrl + \", authUrl: \" + A.S(_this.authUrl) + \", dwdsVersion: null, extensionUrl: \" + A.S(_this.extensionUrl) + \", isInternalBuild: \" + A.S(_this.isInternalBuild) + \", isFlutterApp: \" + A.S(_this.isFlutterApp) + \", workspaceName: \" + A.S(_this.workspaceName) + \", tabUrl: null, tabId: null, }\";\n" |
| " }\n" |
| " };\n" |
| " A.DevToolsRequest.prototype = {\n" |
| " toJson\$0() {\n" |
| " return [\"DevToolsRequest\", \"appId\", this.appId, \"instanceId\", this.instanceId];\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " var t1;\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (this === other)\n" |
| " return true;\n" |
| " t1 = false;\n" |
| " if (other instanceof A.DevToolsRequest)\n" |
| " if (other.appId === this.appId)\n" |
| " t1 = other.instanceId === this.instanceId;\n" |
| " return t1;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " var _null = null;\n" |
| " return A.Object_hash(this.appId, this.instanceId, _null, _null, _null, _null, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"DevToolsRequest { appId: \" + this.appId + \", instanceId: \" + this.instanceId + \", contextId: null, tabUrl: null, uriOnly: null, client: null, }\";\n" |
| " }\n" |
| " };\n" |
| " A.DevToolsResponse.prototype = {\n" |
| " toJson\$0() {\n" |
| " var t1 = [\"DevToolsResponse\", \"success\", this.success, \"promptExtension\", this.promptExtension],\n" |
| " t2 = this.error;\n" |
| " if (t2 != null)\n" |
| " B.JSArray_methods.addAll\$1(t1, [\"error\", t2]);\n" |
| " return t1;\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " var _this = this;\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (_this === other)\n" |
| " return true;\n" |
| " return other instanceof A.DevToolsResponse && other.success === _this.success && other.promptExtension === _this.promptExtension && other.error == _this.error;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Object_hash(this.success, this.promptExtension, this.error, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"DevToolsResponse { success: \" + this.success + \", promptExtension: \" + this.promptExtension + \", error: \" + A.S(this.error) + \" }\";\n" |
| " }\n" |
| " };\n" |
| " A.ErrorResponse.prototype = {\n" |
| " toJson\$0() {\n" |
| " return A.LinkedHashMap_LinkedHashMap\$_literal([\"error\", this.error, \"stackTrace\", this.stackTrace], type\$.String, type\$.dynamic);\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (this === other)\n" |
| " return true;\n" |
| " return other instanceof A.ErrorResponse && other.error === this.error && other.stackTrace === this.stackTrace;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Object_hash(this.error, this.stackTrace, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"ErrorResponse(error: \" + this.error + \", stackTrace: \" + this.stackTrace + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.HotReloadRequest.prototype = {\n" |
| " toJson\$0() {\n" |
| " return A.LinkedHashMap_LinkedHashMap\$_literal([\"id\", this.id], type\$.String, type\$.dynamic);\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " var t1;\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (other !== this)\n" |
| " t1 = other instanceof A.HotReloadRequest && this.id === other.id;\n" |
| " else\n" |
| " t1 = true;\n" |
| " return t1;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return B.JSString_methods.get\$hashCode(this.id);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"HotReloadRequest(id: \" + this.id + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.HotReloadResponse.prototype = {\n" |
| " toJson\$0() {\n" |
| " var t2,\n" |
| " t1 = A.LinkedHashMap_LinkedHashMap\$_empty(type\$.String, type\$.dynamic);\n" |
| " t1.\$indexSet(0, \"id\", this.id);\n" |
| " t1.\$indexSet(0, \"success\", this.success);\n" |
| " t2 = this.errorMessage;\n" |
| " if (t2 != null)\n" |
| " t1.\$indexSet(0, \"error\", t2);\n" |
| " return t1;\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " var t1, _this = this;\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (other !== _this)\n" |
| " t1 = other instanceof A.HotReloadResponse && _this.id === other.id && _this.success === other.success && _this.errorMessage == other.errorMessage;\n" |
| " else\n" |
| " t1 = true;\n" |
| " return t1;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Object_hash(this.id, this.success, this.errorMessage, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"HotReloadResponse(id: \" + this.id + \", success: \" + this.success + \", errorMessage: \" + A.S(this.errorMessage) + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.HotRestartRequest.prototype = {\n" |
| " toJson\$0() {\n" |
| " return A.LinkedHashMap_LinkedHashMap\$_literal([\"id\", this.id], type\$.String, type\$.dynamic);\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " var t1;\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (other !== this)\n" |
| " t1 = other instanceof A.HotRestartRequest && this.id === other.id;\n" |
| " else\n" |
| " t1 = true;\n" |
| " return t1;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return B.JSString_methods.get\$hashCode(this.id);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"HotRestartRequest(id: \" + this.id + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.HotRestartResponse.prototype = {\n" |
| " toJson\$0() {\n" |
| " var t2,\n" |
| " t1 = A.LinkedHashMap_LinkedHashMap\$_empty(type\$.String, type\$.dynamic);\n" |
| " t1.\$indexSet(0, \"id\", this.id);\n" |
| " t1.\$indexSet(0, \"success\", this.success);\n" |
| " t2 = this.errorMessage;\n" |
| " if (t2 != null)\n" |
| " t1.\$indexSet(0, \"error\", t2);\n" |
| " return t1;\n" |
| " }\n" |
| " };\n" |
| " A.PingRequest.prototype = {\n" |
| " toJson\$0() {\n" |
| " return A.LinkedHashMap_LinkedHashMap\$_empty(type\$.String, type\$.dynamic);\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return this === other || other instanceof A.PingRequest;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return 0;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"PingRequest\";\n" |
| " }\n" |
| " };\n" |
| " A.RegisterEvent.prototype = {\n" |
| " toJson\$0() {\n" |
| " return A.LinkedHashMap_LinkedHashMap\$_literal([\"eventData\", this.eventData, \"timestamp\", this.timestamp], type\$.String, type\$.dynamic);\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (this === other)\n" |
| " return true;\n" |
| " return other instanceof A.RegisterEvent && other.eventData === this.eventData && other.timestamp === this.timestamp;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Object_hash(this.eventData, this.timestamp, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"RegisterEvent(eventData: \" + this.eventData + \", timestamp: \" + this.timestamp + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.RunRequest.prototype = {\n" |
| " toJson\$0() {\n" |
| " return A.LinkedHashMap_LinkedHashMap\$_empty(type\$.String, type\$.dynamic);\n" |
| " }\n" |
| " };\n" |
| " A.ServiceExtensionRequest.prototype = {\n" |
| " toJson\$0() {\n" |
| " return A.LinkedHashMap_LinkedHashMap\$_literal([\"id\", this.id, \"method\", this.method, \"args\", this.args], type\$.String, type\$.dynamic);\n" |
| " }\n" |
| " };\n" |
| " A.ServiceExtensionResponse.prototype = {\n" |
| " toJson\$0() {\n" |
| " var t2, _this = this,\n" |
| " t1 = A.LinkedHashMap_LinkedHashMap\$_empty(type\$.String, type\$.dynamic);\n" |
| " t1.\$indexSet(0, \"id\", _this.id);\n" |
| " t1.\$indexSet(0, \"success\", _this.success);\n" |
| " t2 = _this.result;\n" |
| " if (t2 != null)\n" |
| " t1.\$indexSet(0, \"result\", t2);\n" |
| " t2 = _this.errorCode;\n" |
| " if (t2 != null)\n" |
| " t1.\$indexSet(0, \"errorCode\", t2);\n" |
| " t2 = _this.errorMessage;\n" |
| " if (t2 != null)\n" |
| " t1.\$indexSet(0, \"errorMessage\", t2);\n" |
| " return t1;\n" |
| " }\n" |
| " };\n" |
| " A.BatchedStreamController.prototype = {\n" |
| " _batchAndSendEvents\$0() {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$self = this, t2, t3, t4, t5, t6, t7, t8, now, lastEvent, duration, t1, buffer, lastSendTime, \$async\$temp1, \$async\$temp2;\n" |
| " var \$async\$_batchAndSendEvents\$0 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " duration = A.Duration\$(\$async\$self._checkDelayMilliseconds);\n" |
| " t1 = \$async\$self.\$ti;\n" |
| " buffer = A._setArrayType([], t1._eval\$1(\"JSArray<1>\"));\n" |
| " lastSendTime = Date.now();\n" |
| " t2 = \$async\$self._batchDelayMilliseconds, t3 = \$async\$self._outputController, t4 = A._instanceType(t3), t1 = t1._precomputed1, t5 = t4._eval\$1(\"_DelayedData<1>\");\n" |
| " case 2:\n" |
| " // for condition\n" |
| " \$async\$goto = 4;\n" |
| " return A._asyncAwait(\$async\$self._hasEventOrTimeOut\$1(duration), \$async\$_batchAndSendEvents\$0);\n" |
| " case 4:\n" |
| " // returning from await.\n" |
| " if (!\$async\$result) {\n" |
| " // goto after for\n" |
| " \$async\$goto = 3;\n" |
| " break;\n" |
| " }\n" |
| " \$async\$goto = 7;\n" |
| " return A._asyncAwait(\$async\$self._hasEventDuring\$1(duration), \$async\$_batchAndSendEvents\$0);\n" |
| " case 7:\n" |
| " // returning from await.\n" |
| " \$async\$goto = \$async\$result ? 5 : 6;\n" |
| " break;\n" |
| " case 5:\n" |
| " // then\n" |
| " t6 = \$async\$self.__BatchedStreamController__inputQueue_A;\n" |
| " t6 === \$ && A.throwLateFieldNI(\"_inputQueue\");\n" |
| " t7 = t6.\$ti;\n" |
| " t8 = new A._Future(\$.Zone__current, t7._eval\$1(\"_Future<1>\"));\n" |
| " t6._addRequest\$1(new A._NextRequest(new A._AsyncCompleter(t8, t7._eval\$1(\"_AsyncCompleter<1>\")), t7._eval\$1(\"_NextRequest<1>\")));\n" |
| " \$async\$temp1 = B.JSArray_methods;\n" |
| " \$async\$temp2 = buffer;\n" |
| " \$async\$goto = 8;\n" |
| " return A._asyncAwait(t8, \$async\$_batchAndSendEvents\$0);\n" |
| " case 8:\n" |
| " // returning from await.\n" |
| " \$async\$temp1.add\$1(\$async\$temp2, \$async\$result);\n" |
| " case 6:\n" |
| " // join\n" |
| " now = Date.now();\n" |
| " if (now > lastSendTime + t2) {\n" |
| " if (buffer.length !== 0) {\n" |
| " t6 = A.List_List\$_of(buffer, t1);\n" |
| " t4._precomputed1._as(t6);\n" |
| " t7 = t3._state;\n" |
| " if (t7 >= 4)\n" |
| " A.throwExpression(t3._badEventState\$0());\n" |
| " if ((t7 & 1) !== 0)\n" |
| " t3._sendData\$1(t6);\n" |
| " else if ((t7 & 3) === 0) {\n" |
| " t7 = t3._ensurePendingEvents\$0();\n" |
| " t6 = new A._DelayedData(t6, t5);\n" |
| " lastEvent = t7.lastPendingEvent;\n" |
| " if (lastEvent == null)\n" |
| " t7.firstPendingEvent = t7.lastPendingEvent = t6;\n" |
| " else {\n" |
| " lastEvent.set\$next(t6);\n" |
| " t7.lastPendingEvent = t6;\n" |
| " }\n" |
| " }\n" |
| " B.JSArray_methods.clear\$0(buffer);\n" |
| " }\n" |
| " lastSendTime = now;\n" |
| " }\n" |
| " // goto for condition\n" |
| " \$async\$goto = 2;\n" |
| " break;\n" |
| " case 3:\n" |
| " // after for\n" |
| " if (buffer.length !== 0) {\n" |
| " t1 = A.List_List\$_of(buffer, t1);\n" |
| " t3.add\$1(0, t4._precomputed1._as(t1));\n" |
| " }\n" |
| " \$async\$self._completer.complete\$1(true);\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_batchAndSendEvents\$0, \$async\$completer);\n" |
| " },\n" |
| " _hasEventOrTimeOut\$1(duration) {\n" |
| " var t1 = this.__BatchedStreamController__inputQueue_A;\n" |
| " t1 === \$ && A.throwLateFieldNI(\"_inputQueue\");\n" |
| " return t1.get\$hasNext().timeout\$2\$onTimeout(duration, new A.BatchedStreamController__hasEventOrTimeOut_closure());\n" |
| " },\n" |
| " _hasEventDuring\$1(duration) {\n" |
| " var t1 = this.__BatchedStreamController__inputQueue_A;\n" |
| " t1 === \$ && A.throwLateFieldNI(\"_inputQueue\");\n" |
| " return t1.get\$hasNext().timeout\$2\$onTimeout(duration, new A.BatchedStreamController__hasEventDuring_closure());\n" |
| " }\n" |
| " };\n" |
| " A.BatchedStreamController__hasEventOrTimeOut_closure.prototype = {\n" |
| " call\$0() {\n" |
| " return true;\n" |
| " },\n" |
| " \$signature: 21\n" |
| " };\n" |
| " A.BatchedStreamController__hasEventDuring_closure.prototype = {\n" |
| " call\$0() {\n" |
| " return false;\n" |
| " },\n" |
| " \$signature: 21\n" |
| " };\n" |
| " A.SocketClient.prototype = {};\n" |
| " A.SseSocketClient.prototype = {\n" |
| " get\$sink() {\n" |
| " var t1 = this._sockets\$_client._outgoingController;\n" |
| " return new A._StreamSinkWrapper(t1, A._instanceType(t1)._eval\$1(\"_StreamSinkWrapper<1>\"));\n" |
| " },\n" |
| " get\$stream() {\n" |
| " var t1 = this._sockets\$_client._incomingController;\n" |
| " return new A._ControllerStream(t1, A._instanceType(t1)._eval\$1(\"_ControllerStream<1>\"));\n" |
| " }\n" |
| " };\n" |
| " A.WebSocketClient.prototype = {\n" |
| " get\$sink() {\n" |
| " var t1 = this._channel._outgoingStreamController;\n" |
| " return new A._StreamSinkWrapper(t1, A._instanceType(t1)._eval\$1(\"_StreamSinkWrapper<1>\"));\n" |
| " },\n" |
| " get\$stream() {\n" |
| " var t1 = this._channel.get\$_incomingStreamController(),\n" |
| " t2 = A._instanceType(t1)._eval\$1(\"_ControllerStream<1>\"),\n" |
| " t3 = t2._eval\$1(\"CastStream<Stream.T,String>\");\n" |
| " return new A._MapStream(t3._eval\$1(\"String(Stream.T)\")._as(new A.WebSocketClient_stream_closure()), new A.CastStream(new A._ControllerStream(t1, t2), t3), t3._eval\$1(\"_MapStream<Stream.T,String>\"));\n" |
| " }\n" |
| " };\n" |
| " A.WebSocketClient_stream_closure.prototype = {\n" |
| " call\$1(o) {\n" |
| " return J.toString\$0\$(o);\n" |
| " },\n" |
| " \$signature: 30\n" |
| " };\n" |
| " A.PersistentWebSocket.prototype = {\n" |
| " get\$_incomingStreamController() {\n" |
| " var result, _this = this,\n" |
| " value = _this.__PersistentWebSocket__incomingStreamController_FI;\n" |
| " if (value === \$) {\n" |
| " result = A.StreamController_StreamController(type\$.dynamic);\n" |
| " result.set\$onListen(_this.get\$_listenWithRetry());\n" |
| " _this.__PersistentWebSocket__incomingStreamController_FI !== \$ && A.throwLateFieldADI(\"_incomingStreamController\");\n" |
| " _this.__PersistentWebSocket__incomingStreamController_FI = result;\n" |
| " value = result;\n" |
| " }\n" |
| " return value;\n" |
| " },\n" |
| " _writeToWebSocket\$1(data) {\n" |
| " var t1, t2;\n" |
| " if (typeof data == \"string\") {\n" |
| " t1 = this._ws;\n" |
| " if ((t1._events._state & 4) !== 0)\n" |
| " A.throwExpression(A.WebSocketConnectionClosed\$());\n" |
| " t2 = A.jsify(data);\n" |
| " t2.toString;\n" |
| " t1._webSocket.send(t2);\n" |
| " } else if (type\$.Uint8List._is(data)) {\n" |
| " t1 = this._ws;\n" |
| " if ((t1._events._state & 4) !== 0)\n" |
| " A.throwExpression(A.WebSocketConnectionClosed\$());\n" |
| " t2 = A.jsify(data);\n" |
| " t2.toString;\n" |
| " t1._webSocket.send(t2);\n" |
| " } else\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"Unexpected data type: \" + J.get\$runtimeType\$(data).toString\$0(0)));\n" |
| " },\n" |
| " _listenWithRetry\$0() {\n" |
| " return this._listenWithRetry\$body\$PersistentWebSocket();\n" |
| " },\n" |
| " _listenWithRetry\$body\$PersistentWebSocket() {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$handler = 1, \$async\$errorStack = [], \$async\$self = this, attemptRetry, t1, t2, t3, t4, t5, t6, t7, t8, t9, t10, t11, t12, exception, eventsSub, t13, _box_0, \$async\$exception;\n" |
| " var \$async\$_listenWithRetry\$0 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1) {\n" |
| " \$async\$errorStack.push(\$async\$result);\n" |
| " \$async\$goto = \$async\$handler;\n" |
| " }\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " _box_0 = {};\n" |
| " _box_0.retry = false;\n" |
| " _box_0.retryCount = 0;\n" |
| " t1 = \$async\$self._outgoingStreamController;\n" |
| " t2 = A._instanceType(t1);\n" |
| " new A._ControllerStream(t1, t2._eval\$1(\"_ControllerStream<1>\")).listen\$1(\$async\$self.get\$_writeToWebSocket());\n" |
| " attemptRetry = new A.PersistentWebSocket__listenWithRetry_attemptRetry(_box_0, \$async\$self);\n" |
| " t3 = type\$._Future_void;\n" |
| " t4 = type\$._AsyncCompleter_void;\n" |
| " t5 = \$async\$self.uri;\n" |
| " t6 = type\$.void;\n" |
| " t2 = t2._eval\$1(\"_StreamSinkWrapper<1>\");\n" |
| " t7 = \$async\$self.onReconnect;\n" |
| " t8 = \$async\$self.debugName;\n" |
| " t9 = type\$.Exception;\n" |
| " t10 = \$async\$self.maxRetryAttempts;\n" |
| " t11 = false;\n" |
| " case 2:\n" |
| " // do body\n" |
| " t12 = new A._Future(\$.Zone__current, t3);\n" |
| " \$async\$goto = t11 ? 6 : 7;\n" |
| " break;\n" |
| " case 6:\n" |
| " // then\n" |
| " \$async\$handler = 9;\n" |
| " \$async\$goto = 12;\n" |
| " return A._asyncAwait(A.BrowserWebSocket_connect(t5, null), \$async\$_listenWithRetry\$0);\n" |
| " case 12:\n" |
| " // returning from await.\n" |
| " \$async\$self._ws = \$async\$result;\n" |
| " _box_0.retryCount = 0;\n" |
| " \$async\$handler = 1;\n" |
| " // goto after finally\n" |
| " \$async\$goto = 11;\n" |
| " break;\n" |
| " case 9:\n" |
| " // catch\n" |
| " \$async\$handler = 8;\n" |
| " \$async\$exception = \$async\$errorStack.pop();\n" |
| " \$async\$goto = t9._is(A.unwrapException(\$async\$exception)) ? 13 : 15;\n" |
| " break;\n" |
| " case 13:\n" |
| " // then\n" |
| " \$async\$goto = 16;\n" |
| " return A._asyncAwait(attemptRetry.call\$1(\"Failed to establish connection to \" + t5.toString\$0(0) + \" (\" + t8 + \").\"), \$async\$_listenWithRetry\$0);\n" |
| " case 16:\n" |
| " // returning from await.\n" |
| " // goto break c\$0\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " // goto join\n" |
| " \$async\$goto = 14;\n" |
| " break;\n" |
| " case 15:\n" |
| " // else\n" |
| " throw \$async\$exception;\n" |
| " case 14:\n" |
| " // join\n" |
| " // goto after finally\n" |
| " \$async\$goto = 11;\n" |
| " break;\n" |
| " case 8:\n" |
| " // uncaught\n" |
| " // goto rethrow\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 11:\n" |
| " // after finally\n" |
| " _box_0.retry = false;\n" |
| " case 7:\n" |
| " // join\n" |
| " eventsSub = A._Cell\$named(\"eventsSub\");\n" |
| " t13 = \$async\$self._ws._events;\n" |
| " eventsSub.__late_helper\$_value = new A._ControllerStream(t13, A._instanceType(t13)._eval\$1(\"_ControllerStream<1>\")).listen\$1(new A.PersistentWebSocket__listenWithRetry_closure(\$async\$self, attemptRetry, eventsSub, new A._AsyncCompleter(t12, t4)));\n" |
| " \$async\$goto = t11 ? 17 : 18;\n" |
| " break;\n" |
| " case 17:\n" |
| " // then\n" |
| " t11 = t7.call\$1(new A._StreamSinkWrapper(t1, t2));\n" |
| " \$async\$goto = 19;\n" |
| " return A._asyncAwait(t11 instanceof A._Future ? t11 : A._Future\$value(t11, t6), \$async\$_listenWithRetry\$0);\n" |
| " case 19:\n" |
| " // returning from await.\n" |
| " case 18:\n" |
| " // join\n" |
| " \$async\$goto = 20;\n" |
| " return A._asyncAwait(t12, \$async\$_listenWithRetry\$0);\n" |
| " case 20:\n" |
| " // returning from await.\n" |
| " case 5:\n" |
| " // break c\$0\n" |
| " t11 = _box_0.retry;\n" |
| " case 3:\n" |
| " // do condition\n" |
| " if (t11 && _box_0.retryCount < t10) {\n" |
| " // goto do body\n" |
| " \$async\$goto = 2;\n" |
| " break;\n" |
| " }\n" |
| " case 4:\n" |
| " // after do\n" |
| " \$async\$self._doneCompleter.complete\$0();\n" |
| " t1 = \$async\$self.get\$_incomingStreamController();\n" |
| " \$async\$goto = (t1._state & 4) === 0 ? 21 : 22;\n" |
| " break;\n" |
| " case 21:\n" |
| " // then\n" |
| " \$async\$goto = 23;\n" |
| " return A._asyncAwait(t1.close\$0(), \$async\$_listenWithRetry\$0);\n" |
| " case 23:\n" |
| " // returning from await.\n" |
| " case 22:\n" |
| " // join\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " case 1:\n" |
| " // rethrow\n" |
| " return A._asyncRethrow(\$async\$errorStack.at(-1), \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_listenWithRetry\$0, \$async\$completer);\n" |
| " }\n" |
| " };\n" |
| " A.PersistentWebSocket_connect_closure.prototype = {\n" |
| " call\$1(socket) {\n" |
| " var _this = this;\n" |
| " type\$.WebSocket._as(socket);\n" |
| " return new A.PersistentWebSocket(_this.logger, _this.debugName, _this.maxRetryAttempts, new A._AsyncCompleter(new A._Future(\$.Zone__current, type\$._Future_void), type\$._AsyncCompleter_void), _this.uri, _this.onReconnect, socket, A.StreamController_StreamController(type\$.dynamic));\n" |
| " },\n" |
| " \$signature: 29\n" |
| " };\n" |
| " A.PersistentWebSocket__listenWithRetry_attemptRetry.prototype = {\n" |
| " call\$1(message) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$self = this, t1;\n" |
| " var \$async\$call\$1 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = \$async\$self._box_0;\n" |
| " \$async\$goto = 2;\n" |
| " return A._asyncAwait(A.Future_Future\$delayed(A.Duration\$(B.JSInt_methods._shlPositive\$1(100, t1.retryCount)), type\$.void), \$async\$call\$1);\n" |
| " case 2:\n" |
| " // returning from await.\n" |
| " ++t1.retryCount;\n" |
| " t1.retry = true;\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$call\$1, \$async\$completer);\n" |
| " },\n" |
| " \$signature: 22\n" |
| " };\n" |
| " A.PersistentWebSocket__listenWithRetry_closure.prototype = {\n" |
| " call\$1(e) {\n" |
| " return this.\$call\$body\$PersistentWebSocket__listenWithRetry_closure(type\$.WebSocketEvent._as(e));\n" |
| " },\n" |
| " \$call\$body\$PersistentWebSocket__listenWithRetry_closure(e) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$self = this, t1, text, data, code;\n" |
| " var \$async\$call\$1 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = e instanceof A.TextDataReceived;\n" |
| " text = t1 ? e.text : null;\n" |
| " if (t1) {\n" |
| " t1 = \$async\$self.\$this.get\$_incomingStreamController();\n" |
| " t1.add\$1(0, A._instanceType(t1)._precomputed1._as(text));\n" |
| " // goto break \$label0\$1\n" |
| " \$async\$goto = 2;\n" |
| " break;\n" |
| " }\n" |
| " t1 = e instanceof A.BinaryDataReceived;\n" |
| " data = t1 ? e.data : null;\n" |
| " if (t1) {\n" |
| " t1 = \$async\$self.\$this.get\$_incomingStreamController();\n" |
| " t1.add\$1(0, A._instanceType(t1)._precomputed1._as(data));\n" |
| " // goto break \$label0\$1\n" |
| " \$async\$goto = 2;\n" |
| " break;\n" |
| " }\n" |
| " t1 = e instanceof A.CloseReceived;\n" |
| " code = t1 ? e.code : null;\n" |
| " \$async\$goto = t1 ? 3 : 4;\n" |
| " break;\n" |
| " case 3:\n" |
| " // then\n" |
| " \$async\$goto = code === 1006 ? 5 : 6;\n" |
| " break;\n" |
| " case 5:\n" |
| " // then\n" |
| " t1 = \$async\$self.\$this;\n" |
| " \$async\$goto = 7;\n" |
| " return A._asyncAwait(\$async\$self.attemptRetry.call\$1(\"Lost connection to \" + t1.uri.toString\$0(0) + \" (\" + t1.debugName + \").\"), \$async\$call\$1);\n" |
| " case 7:\n" |
| " // returning from await.\n" |
| " \$async\$goto = 8;\n" |
| " return A._asyncAwait(\$async\$self.eventsSub._readLocal\$0().cancel\$0(), \$async\$call\$1);\n" |
| " case 8:\n" |
| " // returning from await.\n" |
| " case 6:\n" |
| " // join\n" |
| " \$async\$self.wsOnDoneCompleter.complete\$0();\n" |
| " case 4:\n" |
| " // join\n" |
| " case 2:\n" |
| " // break \$label0\$1\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$call\$1, \$async\$completer);\n" |
| " },\n" |
| " \$signature: 33\n" |
| " };\n" |
| " A._PersistentWebSocket_Object_StreamChannelMixin.prototype = {};\n" |
| " A.safeUnawaited_closure.prototype = {\n" |
| " call\$2(error, stackTrace) {\n" |
| " A._asObject(error);\n" |
| " type\$.StackTrace._as(stackTrace);\n" |
| " return \$.\$get\$_logger().log\$4(B.Level_WARNING_900, \"Error in unawaited Future:\", error, stackTrace);\n" |
| " },\n" |
| " \$signature: 6\n" |
| " };\n" |
| " A.Uuid.prototype = {\n" |
| " v4\$0() {\n" |
| " var i, t1, t2, t3,\n" |
| " bytes = new Uint8Array(16);\n" |
| " for (i = 0; i < 16; ++i)\n" |
| " bytes[i] = \$.\$get\$Uuid__random().nextInt\$1(256);\n" |
| " bytes[6] = bytes[6] & 15 | 64;\n" |
| " bytes[8] = bytes[8] & 63 | 128;\n" |
| " for (i = 0, t1 = \"\"; i < 16; ++i, t1 = t3) {\n" |
| " if (i === 4 || i === 6 || i === 8 || i === 10)\n" |
| " t1 += \"-\";\n" |
| " t2 = \$.\$get\$Uuid__hex();\n" |
| " t3 = bytes[i];\n" |
| " if (!(t3 < 256))\n" |
| " return A.ioore(t2, t3);\n" |
| " t3 = t1 + t2[t3];\n" |
| " }\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " }\n" |
| " };\n" |
| " A._StackState.prototype = {};\n" |
| " A.RequestAbortedException.prototype = {};\n" |
| " A.BaseClient.prototype = {\n" |
| " _sendUnstreamed\$3(method, url, headers) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.Response),\n" |
| " \$async\$returnValue, \$async\$self = this, request, \$async\$temp1;\n" |
| " var \$async\$_sendUnstreamed\$3 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " request = A.Request\$(method, url);\n" |
| " \$async\$temp1 = A;\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(\$async\$self.send\$1(request), \$async\$_sendUnstreamed\$3);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " \$async\$returnValue = \$async\$temp1.Response_fromStream(\$async\$result);\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_sendUnstreamed\$3, \$async\$completer);\n" |
| " }\n" |
| " };\n" |
| " A.BaseRequest.prototype = {\n" |
| " finalize\$0() {\n" |
| " if (this._finalized)\n" |
| " throw A.wrapException(A.StateError\$(\"Can't finalize a finalized Request.\"));\n" |
| " this._finalized = true;\n" |
| " return B.ByteStream__EmptyStream;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return this.method + \" \" + this.url.toString\$0(0);\n" |
| " }\n" |
| " };\n" |
| " A.BaseRequest_closure.prototype = {\n" |
| " call\$2(key1, key2) {\n" |
| " return A._asString(key1).toLowerCase() === A._asString(key2).toLowerCase();\n" |
| " },\n" |
| " \$signature: 34\n" |
| " };\n" |
| " A.BaseRequest_closure0.prototype = {\n" |
| " call\$1(key) {\n" |
| " return B.JSString_methods.get\$hashCode(A._asString(key).toLowerCase());\n" |
| " },\n" |
| " \$signature: 35\n" |
| " };\n" |
| " A.BaseResponse.prototype = {\n" |
| " BaseResponse\$7\$contentLength\$headers\$isRedirect\$persistentConnection\$reasonPhrase\$request(statusCode, contentLength, headers, isRedirect, persistentConnection, reasonPhrase, request) {\n" |
| " var t1 = this.statusCode;\n" |
| " if (t1 < 100)\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Invalid status code \" + t1 + \".\", null));\n" |
| " else {\n" |
| " t1 = this.contentLength;\n" |
| " if (t1 != null && t1 < 0)\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Invalid content length \" + A.S(t1) + \".\", null));\n" |
| " }\n" |
| " }\n" |
| " };\n" |
| " A.BrowserClient.prototype = {\n" |
| " send\$1(request) {\n" |
| " return this.send\$body\$BrowserClient(request);\n" |
| " },\n" |
| " send\$body\$BrowserClient(request) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.StreamedResponse),\n" |
| " \$async\$returnValue, \$async\$handler = 2, \$async\$errorStack = [], \$async\$next = [], \$async\$self = this, bodyBytes, _0_0, _0_2, _0_2_isSet, abortTrigger, t1, _1_0, contentLength, header, response, contentLengthHeader, contentLength0, headers, e, st, t4, t5, _this, t6, t7, t8, t9, result, exception, t2, abortController, t3, \$async\$exception;\n" |
| " var \$async\$send\$1 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1) {\n" |
| " \$async\$errorStack.push(\$async\$result);\n" |
| " \$async\$goto = \$async\$handler;\n" |
| " }\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t2 = init.G;\n" |
| " abortController = A._asJSObject(new t2.AbortController());\n" |
| " t3 = \$async\$self._openRequestAbortControllers;\n" |
| " B.JSArray_methods.add\$1(t3, abortController);\n" |
| " request.super\$BaseRequest\$finalize();\n" |
| " t4 = type\$._AsyncStreamController_List_int;\n" |
| " t5 = new A._AsyncStreamController(null, null, null, null, t4);\n" |
| " t5._add\$1(request._bodyBytes);\n" |
| " t5._closeUnchecked\$0();\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(new A.ByteStream(new A._ControllerStream(t5, t4._eval\$1(\"_ControllerStream<1>\"))).toBytes\$0(), \$async\$send\$1);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " bodyBytes = \$async\$result;\n" |
| " \$async\$handler = 5;\n" |
| " _0_0 = request;\n" |
| " _0_2 = null;\n" |
| " _0_2_isSet = false;\n" |
| " abortTrigger = null;\n" |
| " t4 = request.url;\n" |
| " _this = t4.toString\$0(0);\n" |
| " t5 = !J.get\$isEmpty\$asx(bodyBytes) ? bodyBytes : null;\n" |
| " t6 = \$async\$self.withCredentials ? \"include\" : \"same-origin\";\n" |
| " t7 = type\$.String;\n" |
| " t1 = A.LinkedHashMap_LinkedHashMap\$_empty(t7, type\$.Object);\n" |
| " _1_0 = request._bodyBytes.length;\n" |
| " contentLength = null;\n" |
| " if (_1_0 != null) {\n" |
| " contentLength = _1_0;\n" |
| " J.\$indexSet\$ax(t1, \"content-length\", contentLength);\n" |
| " }\n" |
| " for (t8 = request.headers, t8 = new A.LinkedHashMapEntriesIterable(t8, A._instanceType(t8)._eval\$1(\"LinkedHashMapEntriesIterable<1,2>\")).get\$iterator(0); t8.moveNext\$0();) {\n" |
| " t9 = t8.__js_helper\$_current;\n" |
| " t9.toString;\n" |
| " header = t9;\n" |
| " J.\$indexSet\$ax(t1, header.key, header.value);\n" |
| " }\n" |
| " t1 = A.jsify(t1);\n" |
| " t1.toString;\n" |
| " A._asJSObject(t1);\n" |
| " t8 = A._asJSObject(abortController.signal);\n" |
| " \$async\$goto = 8;\n" |
| " return A._asyncAwait(A.promiseToFuture(A._asJSObject(t2.fetch(_this, {method: request.method, headers: t1, body: t5, credentials: t6, redirect: \"follow\", signal: t8})), type\$.JSObject), \$async\$send\$1);\n" |
| " case 8:\n" |
| " // returning from await.\n" |
| " response = \$async\$result;\n" |
| " contentLengthHeader = A._asStringQ(A._asJSObject(response.headers).get(\"content-length\"));\n" |
| " contentLength0 = contentLengthHeader != null ? A.Primitives_parseInt(contentLengthHeader, null) : null;\n" |
| " if (contentLength0 == null && contentLengthHeader != null) {\n" |
| " t1 = A.ClientException\$(\"Invalid content-length header [\" + contentLengthHeader + \"].\", t4);\n" |
| " throw A.wrapException(t1);\n" |
| " }\n" |
| " headers = A.LinkedHashMap_LinkedHashMap\$_empty(t7, t7);\n" |
| " t1 = A._asJSObject(response.headers);\n" |
| " t2 = new A.BrowserClient_send_closure(headers);\n" |
| " if (typeof t2 == \"function\")\n" |
| " A.throwExpression(A.ArgumentError\$(\"Attempting to rewrap a JS function.\", null));\n" |
| " result = function(_call, f) {\n" |
| " return function(arg1, arg2, arg3) {\n" |
| " return _call(f, arg1, arg2, arg3, arguments.length);\n" |
| " };\n" |
| " }(A._callDartFunctionFast3, t2);\n" |
| " result[\$.\$get\$DART_CLOSURE_DART_JSINTEROP_PROPERTY_NAME()] = t2;\n" |
| " t1.forEach(result);\n" |
| " t1 = A._bodyToStream(request, response);\n" |
| " t2 = A._asInt(response.status);\n" |
| " t4 = headers;\n" |
| " t5 = contentLength0;\n" |
| " A.Uri_parse(A._asString(response.url));\n" |
| " t6 = A._asString(response.statusText);\n" |
| " t1 = new A.StreamedResponseV2(A.toByteStream(t1), request, t2, t6, t5, t4, false, true);\n" |
| " t1.BaseResponse\$7\$contentLength\$headers\$isRedirect\$persistentConnection\$reasonPhrase\$request(t2, t5, t4, false, true, t6, request);\n" |
| " \$async\$returnValue = t1;\n" |
| " \$async\$next = [1];\n" |
| " // goto finally\n" |
| " \$async\$goto = 6;\n" |
| " break;\n" |
| " \$async\$next.push(7);\n" |
| " // goto finally\n" |
| " \$async\$goto = 6;\n" |
| " break;\n" |
| " case 5:\n" |
| " // catch\n" |
| " \$async\$handler = 4;\n" |
| " \$async\$exception = \$async\$errorStack.pop();\n" |
| " e = A.unwrapException(\$async\$exception);\n" |
| " st = A.getTraceFromException(\$async\$exception);\n" |
| " A._rethrowAsClientException(e, st, request);\n" |
| " \$async\$next.push(7);\n" |
| " // goto finally\n" |
| " \$async\$goto = 6;\n" |
| " break;\n" |
| " case 4:\n" |
| " // uncaught\n" |
| " \$async\$next = [2];\n" |
| " case 6:\n" |
| " // finally\n" |
| " \$async\$handler = 2;\n" |
| " B.JSArray_methods.remove\$1(t3, abortController);\n" |
| " // goto the next finally handler\n" |
| " \$async\$goto = \$async\$next.pop();\n" |
| " break;\n" |
| " case 7:\n" |
| " // after finally\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " case 2:\n" |
| " // rethrow\n" |
| " return A._asyncRethrow(\$async\$errorStack.at(-1), \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$send\$1, \$async\$completer);\n" |
| " }\n" |
| " };\n" |
| " A.BrowserClient_send_closure.prototype = {\n" |
| " call\$3(value, header, _) {\n" |
| " A._asString(value);\n" |
| " this.headers.\$indexSet(0, A._asString(header).toLowerCase(), value);\n" |
| " },\n" |
| " call\$2(value, header) {\n" |
| " return this.call\$3(value, header, null);\n" |
| " },\n" |
| " \$signature: 36\n" |
| " };\n" |
| " A._bodyToStream_closure.prototype = {\n" |
| " call\$1(listener) {\n" |
| " return A._readStreamBody(this.request, this.response, type\$.MultiStreamController_List_int._as(listener));\n" |
| " },\n" |
| " \$signature: 37\n" |
| " };\n" |
| " A._readStreamBody_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t1 = this._box_0,\n" |
| " _0_0 = t1.resumeSignal;\n" |
| " if (_0_0 != null) {\n" |
| " t1.resumeSignal = null;\n" |
| " _0_0.complete\$0();\n" |
| " }\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A._readStreamBody_closure0.prototype = {\n" |
| " call\$0() {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$handler = 1, \$async\$errorStack = [], \$async\$self = this, e, s, exception, \$async\$exception;\n" |
| " var \$async\$call\$0 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1) {\n" |
| " \$async\$errorStack.push(\$async\$result);\n" |
| " \$async\$goto = \$async\$handler;\n" |
| " }\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " \$async\$handler = 3;\n" |
| " \$async\$self._box_0.cancelled = true;\n" |
| " \$async\$goto = 6;\n" |
| " return A._asyncAwait(A.promiseToFuture(A._asJSObject(\$async\$self.reader.cancel()), type\$.nullable_Object), \$async\$call\$0);\n" |
| " case 6:\n" |
| " // returning from await.\n" |
| " \$async\$handler = 1;\n" |
| " // goto after finally\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " case 3:\n" |
| " // catch\n" |
| " \$async\$handler = 2;\n" |
| " \$async\$exception = \$async\$errorStack.pop();\n" |
| " e = A.unwrapException(\$async\$exception);\n" |
| " s = A.getTraceFromException(\$async\$exception);\n" |
| " if (!\$async\$self._box_0.hadError)\n" |
| " A._rethrowAsClientException(e, s, \$async\$self.request);\n" |
| " // goto after finally\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " case 2:\n" |
| " // uncaught\n" |
| " // goto rethrow\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 5:\n" |
| " // after finally\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " case 1:\n" |
| " // rethrow\n" |
| " return A._asyncRethrow(\$async\$errorStack.at(-1), \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$call\$0, \$async\$completer);\n" |
| " },\n" |
| " \$signature: 5\n" |
| " };\n" |
| " A.ByteStream.prototype = {\n" |
| " toBytes\$0() {\n" |
| " var t1 = new A._Future(\$.Zone__current, type\$._Future_Uint8List),\n" |
| " completer = new A._AsyncCompleter(t1, type\$._AsyncCompleter_Uint8List),\n" |
| " sink = new A._ByteCallbackSink(new A.ByteStream_toBytes_closure(completer), new Uint8Array(1024));\n" |
| " this.listen\$4\$cancelOnError\$onDone\$onError(type\$.void_Function_List_int._as(sink.get\$add(sink)), true, sink.get\$close(), completer.get\$completeError());\n" |
| " return t1;\n" |
| " }\n" |
| " };\n" |
| " A.ByteStream_toBytes_closure.prototype = {\n" |
| " call\$1(bytes) {\n" |
| " return this.completer.complete\$1(new Uint8Array(A._ensureNativeList(type\$.List_int._as(bytes))));\n" |
| " },\n" |
| " \$signature: 38\n" |
| " };\n" |
| " A.ClientException.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var t1 = this.uri.toString\$0(0);\n" |
| " return \"ClientException: \" + this.message + \", uri=\" + t1;\n" |
| " },\n" |
| " \$isException: 1\n" |
| " };\n" |
| " A.Request.prototype = {};\n" |
| " A.Response.prototype = {};\n" |
| " A.StreamedResponse.prototype = {};\n" |
| " A.StreamedResponseV2.prototype = {};\n" |
| " A.CaseInsensitiveMap.prototype = {};\n" |
| " A.MediaType.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var buffer = new A.StringBuffer(\"\"),\n" |
| " t1 = this.type;\n" |
| " buffer._contents = t1;\n" |
| " t1 += \"/\";\n" |
| " buffer._contents = t1;\n" |
| " buffer._contents = t1 + this.subtype;\n" |
| " t1 = this.parameters;\n" |
| " t1._collection\$_map.forEach\$1(0, t1.\$ti._eval\$1(\"~(1,2)\")._as(new A.MediaType_toString_closure(buffer)));\n" |
| " t1 = buffer._contents;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " }\n" |
| " };\n" |
| " A.MediaType_MediaType\$parse_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t3, t4, t5, t6, parameters, t7, success, t8, value,\n" |
| " t1 = this.mediaType,\n" |
| " scanner = new A.StringScanner(null, t1),\n" |
| " t2 = \$.\$get\$whitespace();\n" |
| " scanner.scan\$1(t2);\n" |
| " t3 = \$.\$get\$token();\n" |
| " scanner.expect\$1(t3);\n" |
| " t4 = scanner.get\$lastMatch().\$index(0, 0);\n" |
| " t4.toString;\n" |
| " scanner.expect\$1(\"/\");\n" |
| " scanner.expect\$1(t3);\n" |
| " t5 = scanner.get\$lastMatch().\$index(0, 0);\n" |
| " t5.toString;\n" |
| " scanner.scan\$1(t2);\n" |
| " t6 = type\$.String;\n" |
| " parameters = A.LinkedHashMap_LinkedHashMap\$_empty(t6, t6);\n" |
| " for (;;) {\n" |
| " t6 = scanner._lastMatch = B.JSString_methods.matchAsPrefix\$2(\";\", t1, scanner._string_scanner\$_position);\n" |
| " t7 = scanner._lastMatchPosition = scanner._string_scanner\$_position;\n" |
| " success = t6 != null;\n" |
| " t6 = success ? scanner._lastMatchPosition = scanner._string_scanner\$_position = t6.get\$end() : t7;\n" |
| " if (!success)\n" |
| " break;\n" |
| " t6 = scanner._lastMatch = t2.matchAsPrefix\$2(0, t1, t6);\n" |
| " scanner._lastMatchPosition = scanner._string_scanner\$_position;\n" |
| " if (t6 != null)\n" |
| " scanner._lastMatchPosition = scanner._string_scanner\$_position = t6.get\$end();\n" |
| " scanner.expect\$1(t3);\n" |
| " if (scanner._string_scanner\$_position !== scanner._lastMatchPosition)\n" |
| " scanner._lastMatch = null;\n" |
| " t6 = scanner._lastMatch.\$index(0, 0);\n" |
| " t6.toString;\n" |
| " scanner.expect\$1(\"=\");\n" |
| " t7 = scanner._lastMatch = t3.matchAsPrefix\$2(0, t1, scanner._string_scanner\$_position);\n" |
| " t8 = scanner._lastMatchPosition = scanner._string_scanner\$_position;\n" |
| " success = t7 != null;\n" |
| " if (success) {\n" |
| " t7 = scanner._lastMatchPosition = scanner._string_scanner\$_position = t7.get\$end();\n" |
| " t8 = t7;\n" |
| " } else\n" |
| " t7 = t8;\n" |
| " if (success) {\n" |
| " if (t7 !== t8)\n" |
| " scanner._lastMatch = null;\n" |
| " t7 = scanner._lastMatch.\$index(0, 0);\n" |
| " t7.toString;\n" |
| " value = t7;\n" |
| " } else\n" |
| " value = A.expectQuotedString(scanner);\n" |
| " t7 = scanner._lastMatch = t2.matchAsPrefix\$2(0, t1, scanner._string_scanner\$_position);\n" |
| " scanner._lastMatchPosition = scanner._string_scanner\$_position;\n" |
| " if (t7 != null)\n" |
| " scanner._lastMatchPosition = scanner._string_scanner\$_position = t7.get\$end();\n" |
| " parameters.\$indexSet(0, t6, value);\n" |
| " }\n" |
| " scanner.expectDone\$0();\n" |
| " return A.MediaType\$(t4, t5, parameters);\n" |
| " },\n" |
| " \$signature: 39\n" |
| " };\n" |
| " A.MediaType_toString_closure.prototype = {\n" |
| " call\$2(attribute, value) {\n" |
| " var t1, t2, t3;\n" |
| " A._asString(attribute);\n" |
| " A._asString(value);\n" |
| " t1 = this.buffer;\n" |
| " t1._contents += \"; \" + attribute + \"=\";\n" |
| " t2 = \$.\$get\$nonToken();\n" |
| " t2 = t2._nativeRegExp.test(value);\n" |
| " t3 = t1._contents;\n" |
| " if (t2) {\n" |
| " t1._contents = t3 + '\"';\n" |
| " t2 = A.stringReplaceAllFuncUnchecked(value, \$.\$get\$_escapedChar(), type\$.nullable_String_Function_Match._as(type\$.String_Function_Match._as(new A.MediaType_toString__closure())), null);\n" |
| " t1._contents = (t1._contents += t2) + '\"';\n" |
| " } else\n" |
| " t1._contents = t3 + value;\n" |
| " },\n" |
| " \$signature: 40\n" |
| " };\n" |
| " A.MediaType_toString__closure.prototype = {\n" |
| " call\$1(match) {\n" |
| " return \"\\\\\" + A.S(match.\$index(0, 0));\n" |
| " },\n" |
| " \$signature: 23\n" |
| " };\n" |
| " A.expectQuotedString_closure.prototype = {\n" |
| " call\$1(match) {\n" |
| " var t1 = match.\$index(0, 1);\n" |
| " t1.toString;\n" |
| " return t1;\n" |
| " },\n" |
| " \$signature: 23\n" |
| " };\n" |
| " A.Level.prototype = {\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return other instanceof A.Level && this.value === other.value;\n" |
| " },\n" |
| " compareTo\$1(_, other) {\n" |
| " return this.value - type\$.Level._as(other).value;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return this.value;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return this.name;\n" |
| " },\n" |
| " \$isComparable: 1\n" |
| " };\n" |
| " A.LogRecord.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"[\" + this.level.name + \"] \" + this.loggerName + \": \" + this.message;\n" |
| " }\n" |
| " };\n" |
| " A.Logger.prototype = {\n" |
| " get\$fullName() {\n" |
| " var t1 = this.parent,\n" |
| " t2 = t1 == null ? null : t1.name.length !== 0,\n" |
| " t3 = this.name;\n" |
| " return t2 === true ? t1.get\$fullName() + \".\" + t3 : t3;\n" |
| " },\n" |
| " get\$level() {\n" |
| " var t1, effectiveLevel;\n" |
| " if (this.parent == null) {\n" |
| " t1 = this._level;\n" |
| " t1.toString;\n" |
| " effectiveLevel = t1;\n" |
| " } else {\n" |
| " t1 = \$.\$get\$Logger_root()._level;\n" |
| " t1.toString;\n" |
| " effectiveLevel = t1;\n" |
| " }\n" |
| " return effectiveLevel;\n" |
| " },\n" |
| " log\$4(logLevel, message, error, stackTrace) {\n" |
| " var record, _this = this,\n" |
| " t1 = logLevel.value;\n" |
| " if (t1 >= _this.get\$level().value) {\n" |
| " if ((stackTrace == null || stackTrace === B._StringStackTrace_OdL) && t1 >= 2000) {\n" |
| " A.StackTrace_current();\n" |
| " if (error == null)\n" |
| " logLevel.toString\$0(0);\n" |
| " }\n" |
| " t1 = _this.get\$fullName();\n" |
| " Date.now();\n" |
| " \$.LogRecord__nextNumber = \$.LogRecord__nextNumber + 1;\n" |
| " record = new A.LogRecord(logLevel, message, t1);\n" |
| " if (_this.parent == null)\n" |
| " _this._publish\$1(record);\n" |
| " else\n" |
| " \$.\$get\$Logger_root()._publish\$1(record);\n" |
| " }\n" |
| " },\n" |
| " _publish\$1(record) {\n" |
| " return null;\n" |
| " }\n" |
| " };\n" |
| " A.Logger_Logger_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var dot, \$parent, t1,\n" |
| " thisName = this.name;\n" |
| " if (B.JSString_methods.startsWith\$1(thisName, \".\"))\n" |
| " A.throwExpression(A.ArgumentError\$(\"name shouldn't start with a '.'\", null));\n" |
| " if (B.JSString_methods.endsWith\$1(thisName, \".\"))\n" |
| " A.throwExpression(A.ArgumentError\$(\"name shouldn't end with a '.'\", null));\n" |
| " dot = B.JSString_methods.lastIndexOf\$1(thisName, \".\");\n" |
| " if (dot === -1)\n" |
| " \$parent = thisName !== \"\" ? A.Logger_Logger(\"\") : null;\n" |
| " else {\n" |
| " \$parent = A.Logger_Logger(B.JSString_methods.substring\$2(thisName, 0, dot));\n" |
| " thisName = B.JSString_methods.substring\$1(thisName, dot + 1);\n" |
| " }\n" |
| " t1 = new A.Logger(thisName, \$parent, A.LinkedHashMap_LinkedHashMap\$_empty(type\$.String, type\$.Logger));\n" |
| " if (\$parent == null)\n" |
| " t1._level = B.Level_INFO_800;\n" |
| " else\n" |
| " \$parent._children.\$indexSet(0, thisName, t1);\n" |
| " return t1;\n" |
| " },\n" |
| " \$signature: 42\n" |
| " };\n" |
| " A.Context.prototype = {\n" |
| " absolute\$15(part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15) {\n" |
| " var t1;\n" |
| " A._validateArgList(\"absolute\", A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15], type\$.JSArray_nullable_String));\n" |
| " t1 = this.style;\n" |
| " t1 = t1.rootLength\$1(part1) > 0 && !t1.isRootRelative\$1(part1);\n" |
| " if (t1)\n" |
| " return part1;\n" |
| " t1 = this._context\$_current;\n" |
| " return this.join\$16(0, t1 == null ? A.current() : t1, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15);\n" |
| " },\n" |
| " absolute\$1(part1) {\n" |
| " var _null = null;\n" |
| " return this.absolute\$15(part1, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null, _null);\n" |
| " },\n" |
| " join\$16(_, part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16) {\n" |
| " var parts = A._setArrayType([part1, part2, part3, part4, part5, part6, part7, part8, part9, part10, part11, part12, part13, part14, part15, part16], type\$.JSArray_nullable_String);\n" |
| " A._validateArgList(\"join\", parts);\n" |
| " return this.joinAll\$1(new A.WhereTypeIterable(parts, type\$.WhereTypeIterable_String));\n" |
| " },\n" |
| " joinAll\$1(parts) {\n" |
| " var t1, t2, t3, needsSeparator, isAbsoluteAndNotRootRelative, t4, t5, parsed, path, t6;\n" |
| " type\$.Iterable_String._as(parts);\n" |
| " for (t1 = parts.\$ti, t2 = t1._eval\$1(\"bool(Iterable.E)\")._as(new A.Context_joinAll_closure()), t3 = parts.get\$iterator(0), t1 = new A.WhereIterator(t3, t2, t1._eval\$1(\"WhereIterator<Iterable.E>\")), t2 = this.style, needsSeparator = false, isAbsoluteAndNotRootRelative = false, t4 = \"\"; t1.moveNext\$0();) {\n" |
| " t5 = t3.get\$current();\n" |
| " if (t2.isRootRelative\$1(t5) && isAbsoluteAndNotRootRelative) {\n" |
| " parsed = A.ParsedPath_ParsedPath\$parse(t5, t2);\n" |
| " path = t4.charCodeAt(0) == 0 ? t4 : t4;\n" |
| " t4 = B.JSString_methods.substring\$2(path, 0, t2.rootLength\$2\$withDrive(path, true));\n" |
| " parsed.root = t4;\n" |
| " if (t2.needsSeparator\$1(t4))\n" |
| " B.JSArray_methods.\$indexSet(parsed.separators, 0, t2.get\$separator());\n" |
| " t4 = parsed.toString\$0(0);\n" |
| " } else if (t2.rootLength\$1(t5) > 0) {\n" |
| " isAbsoluteAndNotRootRelative = !t2.isRootRelative\$1(t5);\n" |
| " t4 = t5;\n" |
| " } else {\n" |
| " t6 = t5.length;\n" |
| " if (t6 !== 0) {\n" |
| " if (0 >= t6)\n" |
| " return A.ioore(t5, 0);\n" |
| " t6 = t2.containsSeparator\$1(t5[0]);\n" |
| " } else\n" |
| " t6 = false;\n" |
| " if (!t6)\n" |
| " if (needsSeparator)\n" |
| " t4 += t2.get\$separator();\n" |
| " t4 += t5;\n" |
| " }\n" |
| " needsSeparator = t2.needsSeparator\$1(t5);\n" |
| " }\n" |
| " return t4.charCodeAt(0) == 0 ? t4 : t4;\n" |
| " },\n" |
| " split\$1(_, path) {\n" |
| " var parsed = A.ParsedPath_ParsedPath\$parse(path, this.style),\n" |
| " t1 = parsed.parts,\n" |
| " t2 = A._arrayInstanceType(t1),\n" |
| " t3 = t2._eval\$1(\"WhereIterable<1>\");\n" |
| " t1 = A.List_List\$_of(new A.WhereIterable(t1, t2._eval\$1(\"bool(1)\")._as(new A.Context_split_closure()), t3), t3._eval\$1(\"Iterable.E\"));\n" |
| " parsed.set\$parts(t1);\n" |
| " t1 = parsed.root;\n" |
| " if (t1 != null)\n" |
| " B.JSArray_methods.insert\$2(parsed.parts, 0, t1);\n" |
| " return parsed.parts;\n" |
| " },\n" |
| " normalize\$1(path) {\n" |
| " var parsed;\n" |
| " if (!this._needsNormalization\$1(path))\n" |
| " return path;\n" |
| " parsed = A.ParsedPath_ParsedPath\$parse(path, this.style);\n" |
| " parsed.normalize\$0();\n" |
| " return parsed.toString\$0(0);\n" |
| " },\n" |
| " _needsNormalization\$1(path) {\n" |
| " var t2, i, start, previous, previousPrevious, codeUnit, t3,\n" |
| " t1 = this.style,\n" |
| " root = t1.rootLength\$1(path);\n" |
| " if (root !== 0) {\n" |
| " if (t1 === \$.\$get\$Style_windows())\n" |
| " for (t2 = path.length, i = 0; i < root; ++i) {\n" |
| " if (!(i < t2))\n" |
| " return A.ioore(path, i);\n" |
| " if (path.charCodeAt(i) === 47)\n" |
| " return true;\n" |
| " }\n" |
| " start = root;\n" |
| " previous = 47;\n" |
| " } else {\n" |
| " start = 0;\n" |
| " previous = null;\n" |
| " }\n" |
| " for (t2 = path.length, i = start, previousPrevious = null; i < t2; ++i, previousPrevious = previous, previous = codeUnit) {\n" |
| " if (!(i >= 0))\n" |
| " return A.ioore(path, i);\n" |
| " codeUnit = path.charCodeAt(i);\n" |
| " if (t1.isSeparator\$1(codeUnit)) {\n" |
| " if (t1 === \$.\$get\$Style_windows() && codeUnit === 47)\n" |
| " return true;\n" |
| " if (previous != null && t1.isSeparator\$1(previous))\n" |
| " return true;\n" |
| " if (previous === 46)\n" |
| " t3 = previousPrevious == null || previousPrevious === 46 || t1.isSeparator\$1(previousPrevious);\n" |
| " else\n" |
| " t3 = false;\n" |
| " if (t3)\n" |
| " return true;\n" |
| " }\n" |
| " }\n" |
| " if (previous == null)\n" |
| " return true;\n" |
| " if (t1.isSeparator\$1(previous))\n" |
| " return true;\n" |
| " if (previous === 46)\n" |
| " t1 = previousPrevious == null || t1.isSeparator\$1(previousPrevious) || previousPrevious === 46;\n" |
| " else\n" |
| " t1 = false;\n" |
| " if (t1)\n" |
| " return true;\n" |
| " return false;\n" |
| " },\n" |
| " relative\$1(path) {\n" |
| " var from, fromParsed, pathParsed, t3, t4, t5, t6, _this = this,\n" |
| " _s26_ = 'Unable to find a path to \"',\n" |
| " t1 = _this.style,\n" |
| " t2 = t1.rootLength\$1(path);\n" |
| " if (t2 <= 0)\n" |
| " return _this.normalize\$1(path);\n" |
| " t2 = _this._context\$_current;\n" |
| " from = t2 == null ? A.current() : t2;\n" |
| " if (t1.rootLength\$1(from) <= 0 && t1.rootLength\$1(path) > 0)\n" |
| " return _this.normalize\$1(path);\n" |
| " if (t1.rootLength\$1(path) <= 0 || t1.isRootRelative\$1(path))\n" |
| " path = _this.absolute\$1(path);\n" |
| " if (t1.rootLength\$1(path) <= 0 && t1.rootLength\$1(from) > 0)\n" |
| " throw A.wrapException(A.PathException\$(_s26_ + path + '\" from \"' + from + '\".'));\n" |
| " fromParsed = A.ParsedPath_ParsedPath\$parse(from, t1);\n" |
| " fromParsed.normalize\$0();\n" |
| " pathParsed = A.ParsedPath_ParsedPath\$parse(path, t1);\n" |
| " pathParsed.normalize\$0();\n" |
| " t2 = fromParsed.parts;\n" |
| " t3 = t2.length;\n" |
| " if (t3 !== 0) {\n" |
| " if (0 >= t3)\n" |
| " return A.ioore(t2, 0);\n" |
| " t2 = t2[0] === \".\";\n" |
| " } else\n" |
| " t2 = false;\n" |
| " if (t2)\n" |
| " return pathParsed.toString\$0(0);\n" |
| " t2 = fromParsed.root;\n" |
| " t3 = pathParsed.root;\n" |
| " if (t2 != t3)\n" |
| " t2 = t2 == null || t3 == null || !t1.pathsEqual\$2(t2, t3);\n" |
| " else\n" |
| " t2 = false;\n" |
| " if (t2)\n" |
| " return pathParsed.toString\$0(0);\n" |
| " for (;;) {\n" |
| " t2 = fromParsed.parts;\n" |
| " t3 = t2.length;\n" |
| " t4 = false;\n" |
| " if (t3 !== 0) {\n" |
| " t5 = pathParsed.parts;\n" |
| " t6 = t5.length;\n" |
| " if (t6 !== 0) {\n" |
| " if (0 >= t3)\n" |
| " return A.ioore(t2, 0);\n" |
| " t2 = t2[0];\n" |
| " if (0 >= t6)\n" |
| " return A.ioore(t5, 0);\n" |
| " t5 = t1.pathsEqual\$2(t2, t5[0]);\n" |
| " t2 = t5;\n" |
| " } else\n" |
| " t2 = t4;\n" |
| " } else\n" |
| " t2 = t4;\n" |
| " if (!t2)\n" |
| " break;\n" |
| " B.JSArray_methods.removeAt\$1(fromParsed.parts, 0);\n" |
| " B.JSArray_methods.removeAt\$1(fromParsed.separators, 1);\n" |
| " B.JSArray_methods.removeAt\$1(pathParsed.parts, 0);\n" |
| " B.JSArray_methods.removeAt\$1(pathParsed.separators, 1);\n" |
| " }\n" |
| " t2 = fromParsed.parts;\n" |
| " t3 = t2.length;\n" |
| " if (t3 !== 0) {\n" |
| " if (0 >= t3)\n" |
| " return A.ioore(t2, 0);\n" |
| " t2 = t2[0] === \"..\";\n" |
| " } else\n" |
| " t2 = false;\n" |
| " if (t2)\n" |
| " throw A.wrapException(A.PathException\$(_s26_ + path + '\" from \"' + from + '\".'));\n" |
| " t2 = type\$.String;\n" |
| " B.JSArray_methods.insertAll\$2(pathParsed.parts, 0, A.List_List\$filled(t3, \"..\", false, t2));\n" |
| " B.JSArray_methods.\$indexSet(pathParsed.separators, 0, \"\");\n" |
| " B.JSArray_methods.insertAll\$2(pathParsed.separators, 1, A.List_List\$filled(fromParsed.parts.length, t1.get\$separator(), false, t2));\n" |
| " t1 = pathParsed.parts;\n" |
| " t2 = t1.length;\n" |
| " if (t2 === 0)\n" |
| " return \".\";\n" |
| " if (t2 > 1 && B.JSArray_methods.get\$last(t1) === \".\") {\n" |
| " B.JSArray_methods.removeLast\$0(pathParsed.parts);\n" |
| " t1 = pathParsed.separators;\n" |
| " if (0 >= t1.length)\n" |
| " return A.ioore(t1, -1);\n" |
| " t1.pop();\n" |
| " if (0 >= t1.length)\n" |
| " return A.ioore(t1, -1);\n" |
| " t1.pop();\n" |
| " B.JSArray_methods.add\$1(t1, \"\");\n" |
| " }\n" |
| " pathParsed.root = \"\";\n" |
| " pathParsed.removeTrailingSeparators\$0();\n" |
| " return pathParsed.toString\$0(0);\n" |
| " },\n" |
| " prettyUri\$1(uri) {\n" |
| " var path, rel, _this = this,\n" |
| " typedUri = A._parseUri(uri);\n" |
| " if (typedUri.get\$scheme() === \"file\" && _this.style === \$.\$get\$Style_url())\n" |
| " return typedUri.toString\$0(0);\n" |
| " else if (typedUri.get\$scheme() !== \"file\" && typedUri.get\$scheme() !== \"\" && _this.style !== \$.\$get\$Style_url())\n" |
| " return typedUri.toString\$0(0);\n" |
| " path = _this.normalize\$1(_this.style.pathFromUri\$1(A._parseUri(typedUri)));\n" |
| " rel = _this.relative\$1(path);\n" |
| " return _this.split\$1(0, rel).length > _this.split\$1(0, path).length ? path : rel;\n" |
| " }\n" |
| " };\n" |
| " A.Context_joinAll_closure.prototype = {\n" |
| " call\$1(part) {\n" |
| " return A._asString(part) !== \"\";\n" |
| " },\n" |
| " \$signature: 24\n" |
| " };\n" |
| " A.Context_split_closure.prototype = {\n" |
| " call\$1(part) {\n" |
| " return A._asString(part).length !== 0;\n" |
| " },\n" |
| " \$signature: 24\n" |
| " };\n" |
| " A._validateArgList_closure.prototype = {\n" |
| " call\$1(arg) {\n" |
| " A._asStringQ(arg);\n" |
| " return arg == null ? \"null\" : '\"' + arg + '\"';\n" |
| " },\n" |
| " \$signature: 44\n" |
| " };\n" |
| " A.InternalStyle.prototype = {\n" |
| " getRoot\$1(path) {\n" |
| " var t1,\n" |
| " \$length = this.rootLength\$1(path);\n" |
| " if (\$length > 0)\n" |
| " return B.JSString_methods.substring\$2(path, 0, \$length);\n" |
| " if (this.isRootRelative\$1(path)) {\n" |
| " if (0 >= path.length)\n" |
| " return A.ioore(path, 0);\n" |
| " t1 = path[0];\n" |
| " } else\n" |
| " t1 = null;\n" |
| " return t1;\n" |
| " },\n" |
| " pathsEqual\$2(path1, path2) {\n" |
| " return path1 === path2;\n" |
| " }\n" |
| " };\n" |
| " A.ParsedPath.prototype = {\n" |
| " removeTrailingSeparators\$0() {\n" |
| " var t1, t2, _this = this;\n" |
| " for (;;) {\n" |
| " t1 = _this.parts;\n" |
| " if (!(t1.length !== 0 && B.JSArray_methods.get\$last(t1) === \"\"))\n" |
| " break;\n" |
| " B.JSArray_methods.removeLast\$0(_this.parts);\n" |
| " t1 = _this.separators;\n" |
| " if (0 >= t1.length)\n" |
| " return A.ioore(t1, -1);\n" |
| " t1.pop();\n" |
| " }\n" |
| " t1 = _this.separators;\n" |
| " t2 = t1.length;\n" |
| " if (t2 !== 0)\n" |
| " B.JSArray_methods.\$indexSet(t1, t2 - 1, \"\");\n" |
| " },\n" |
| " normalize\$0() {\n" |
| " var t1, t2, leadingDoubles, _i, part, t3, _this = this,\n" |
| " newParts = A._setArrayType([], type\$.JSArray_String);\n" |
| " for (t1 = _this.parts, t2 = t1.length, leadingDoubles = 0, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i) {\n" |
| " part = t1[_i];\n" |
| " if (!(part === \".\" || part === \"\"))\n" |
| " if (part === \"..\") {\n" |
| " t3 = newParts.length;\n" |
| " if (t3 !== 0) {\n" |
| " if (0 >= t3)\n" |
| " return A.ioore(newParts, -1);\n" |
| " newParts.pop();\n" |
| " } else\n" |
| " ++leadingDoubles;\n" |
| " } else\n" |
| " B.JSArray_methods.add\$1(newParts, part);\n" |
| " }\n" |
| " if (_this.root == null)\n" |
| " B.JSArray_methods.insertAll\$2(newParts, 0, A.List_List\$filled(leadingDoubles, \"..\", false, type\$.String));\n" |
| " if (newParts.length === 0 && _this.root == null)\n" |
| " B.JSArray_methods.add\$1(newParts, \".\");\n" |
| " _this.parts = newParts;\n" |
| " t1 = _this.style;\n" |
| " _this.separators = A.List_List\$filled(newParts.length + 1, t1.get\$separator(), true, type\$.String);\n" |
| " t2 = _this.root;\n" |
| " if (t2 == null || newParts.length === 0 || !t1.needsSeparator\$1(t2))\n" |
| " B.JSArray_methods.\$indexSet(_this.separators, 0, \"\");\n" |
| " t2 = _this.root;\n" |
| " if (t2 != null && t1 === \$.\$get\$Style_windows())\n" |
| " _this.root = A.stringReplaceAllUnchecked(t2, \"/\", \"\\\\\");\n" |
| " _this.removeTrailingSeparators\$0();\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " var t2, t3, t4, t5, i,\n" |
| " t1 = this.root;\n" |
| " t1 = t1 != null ? t1 : \"\";\n" |
| " for (t2 = this.parts, t3 = t2.length, t4 = this.separators, t5 = t4.length, i = 0; i < t3; ++i) {\n" |
| " if (!(i < t5))\n" |
| " return A.ioore(t4, i);\n" |
| " t1 = t1 + t4[i] + t2[i];\n" |
| " }\n" |
| " t1 += B.JSArray_methods.get\$last(t4);\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " set\$parts(parts) {\n" |
| " this.parts = type\$.List_String._as(parts);\n" |
| " }\n" |
| " };\n" |
| " A.PathException.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"PathException: \" + this.message;\n" |
| " },\n" |
| " \$isException: 1\n" |
| " };\n" |
| " A.Style.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return this.get\$name();\n" |
| " }\n" |
| " };\n" |
| " A.PosixStyle.prototype = {\n" |
| " containsSeparator\$1(path) {\n" |
| " return B.JSString_methods.contains\$1(path, \"/\");\n" |
| " },\n" |
| " isSeparator\$1(codeUnit) {\n" |
| " return codeUnit === 47;\n" |
| " },\n" |
| " needsSeparator\$1(path) {\n" |
| " var t2,\n" |
| " t1 = path.length;\n" |
| " if (t1 !== 0) {\n" |
| " t2 = t1 - 1;\n" |
| " if (!(t2 >= 0))\n" |
| " return A.ioore(path, t2);\n" |
| " t2 = path.charCodeAt(t2) !== 47;\n" |
| " t1 = t2;\n" |
| " } else\n" |
| " t1 = false;\n" |
| " return t1;\n" |
| " },\n" |
| " rootLength\$2\$withDrive(path, withDrive) {\n" |
| " var t1 = path.length;\n" |
| " if (t1 !== 0) {\n" |
| " if (0 >= t1)\n" |
| " return A.ioore(path, 0);\n" |
| " t1 = path.charCodeAt(0) === 47;\n" |
| " } else\n" |
| " t1 = false;\n" |
| " if (t1)\n" |
| " return 1;\n" |
| " return 0;\n" |
| " },\n" |
| " rootLength\$1(path) {\n" |
| " return this.rootLength\$2\$withDrive(path, false);\n" |
| " },\n" |
| " isRootRelative\$1(path) {\n" |
| " return false;\n" |
| " },\n" |
| " pathFromUri\$1(uri) {\n" |
| " var t1;\n" |
| " if (uri.get\$scheme() === \"\" || uri.get\$scheme() === \"file\") {\n" |
| " t1 = uri.get\$path();\n" |
| " return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);\n" |
| " }\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Uri \" + uri.toString\$0(0) + \" must have scheme 'file:'.\", null));\n" |
| " },\n" |
| " get\$name() {\n" |
| " return \"posix\";\n" |
| " },\n" |
| " get\$separator() {\n" |
| " return \"/\";\n" |
| " }\n" |
| " };\n" |
| " A.UrlStyle.prototype = {\n" |
| " containsSeparator\$1(path) {\n" |
| " return B.JSString_methods.contains\$1(path, \"/\");\n" |
| " },\n" |
| " isSeparator\$1(codeUnit) {\n" |
| " return codeUnit === 47;\n" |
| " },\n" |
| " needsSeparator\$1(path) {\n" |
| " var t2,\n" |
| " t1 = path.length;\n" |
| " if (t1 === 0)\n" |
| " return false;\n" |
| " t2 = t1 - 1;\n" |
| " if (!(t2 >= 0))\n" |
| " return A.ioore(path, t2);\n" |
| " if (path.charCodeAt(t2) !== 47)\n" |
| " return true;\n" |
| " return B.JSString_methods.endsWith\$1(path, \"://\") && this.rootLength\$1(path) === t1;\n" |
| " },\n" |
| " rootLength\$2\$withDrive(path, withDrive) {\n" |
| " var i, codeUnit, index,\n" |
| " t1 = path.length;\n" |
| " if (t1 === 0)\n" |
| " return 0;\n" |
| " if (0 >= t1)\n" |
| " return A.ioore(path, 0);\n" |
| " if (path.charCodeAt(0) === 47)\n" |
| " return 1;\n" |
| " for (i = 0; i < t1; ++i) {\n" |
| " codeUnit = path.charCodeAt(i);\n" |
| " if (codeUnit === 47)\n" |
| " return 0;\n" |
| " if (codeUnit === 58) {\n" |
| " if (i === 0)\n" |
| " return 0;\n" |
| " index = B.JSString_methods.indexOf\$2(path, \"/\", B.JSString_methods.startsWith\$2(path, \"//\", i + 1) ? i + 3 : i);\n" |
| " if (index <= 0)\n" |
| " return t1;\n" |
| " if (!withDrive || t1 < index + 3)\n" |
| " return index;\n" |
| " if (!B.JSString_methods.startsWith\$1(path, \"file://\"))\n" |
| " return index;\n" |
| " t1 = A.driveLetterEnd(path, index + 1);\n" |
| " return t1 == null ? index : t1;\n" |
| " }\n" |
| " }\n" |
| " return 0;\n" |
| " },\n" |
| " rootLength\$1(path) {\n" |
| " return this.rootLength\$2\$withDrive(path, false);\n" |
| " },\n" |
| " isRootRelative\$1(path) {\n" |
| " var t1 = path.length;\n" |
| " if (t1 !== 0) {\n" |
| " if (0 >= t1)\n" |
| " return A.ioore(path, 0);\n" |
| " t1 = path.charCodeAt(0) === 47;\n" |
| " } else\n" |
| " t1 = false;\n" |
| " return t1;\n" |
| " },\n" |
| " pathFromUri\$1(uri) {\n" |
| " return uri.toString\$0(0);\n" |
| " },\n" |
| " get\$name() {\n" |
| " return \"url\";\n" |
| " },\n" |
| " get\$separator() {\n" |
| " return \"/\";\n" |
| " }\n" |
| " };\n" |
| " A.WindowsStyle.prototype = {\n" |
| " containsSeparator\$1(path) {\n" |
| " return B.JSString_methods.contains\$1(path, \"/\");\n" |
| " },\n" |
| " isSeparator\$1(codeUnit) {\n" |
| " return codeUnit === 47 || codeUnit === 92;\n" |
| " },\n" |
| " needsSeparator\$1(path) {\n" |
| " var t2,\n" |
| " t1 = path.length;\n" |
| " if (t1 === 0)\n" |
| " return false;\n" |
| " t2 = t1 - 1;\n" |
| " if (!(t2 >= 0))\n" |
| " return A.ioore(path, t2);\n" |
| " t2 = path.charCodeAt(t2);\n" |
| " return !(t2 === 47 || t2 === 92);\n" |
| " },\n" |
| " rootLength\$2\$withDrive(path, withDrive) {\n" |
| " var t2, index,\n" |
| " t1 = path.length;\n" |
| " if (t1 === 0)\n" |
| " return 0;\n" |
| " if (0 >= t1)\n" |
| " return A.ioore(path, 0);\n" |
| " if (path.charCodeAt(0) === 47)\n" |
| " return 1;\n" |
| " if (path.charCodeAt(0) === 92) {\n" |
| " if (t1 >= 2) {\n" |
| " if (1 >= t1)\n" |
| " return A.ioore(path, 1);\n" |
| " t2 = path.charCodeAt(1) !== 92;\n" |
| " } else\n" |
| " t2 = true;\n" |
| " if (t2)\n" |
| " return 1;\n" |
| " index = B.JSString_methods.indexOf\$2(path, \"\\\\\", 2);\n" |
| " if (index > 0) {\n" |
| " index = B.JSString_methods.indexOf\$2(path, \"\\\\\", index + 1);\n" |
| " if (index > 0)\n" |
| " return index;\n" |
| " }\n" |
| " return t1;\n" |
| " }\n" |
| " if (t1 < 3)\n" |
| " return 0;\n" |
| " if (!A.isAlphabetic(path.charCodeAt(0)))\n" |
| " return 0;\n" |
| " if (path.charCodeAt(1) !== 58)\n" |
| " return 0;\n" |
| " t1 = path.charCodeAt(2);\n" |
| " if (!(t1 === 47 || t1 === 92))\n" |
| " return 0;\n" |
| " return 3;\n" |
| " },\n" |
| " rootLength\$1(path) {\n" |
| " return this.rootLength\$2\$withDrive(path, false);\n" |
| " },\n" |
| " isRootRelative\$1(path) {\n" |
| " return this.rootLength\$1(path) === 1;\n" |
| " },\n" |
| " pathFromUri\$1(uri) {\n" |
| " var path, t1;\n" |
| " if (uri.get\$scheme() !== \"\" && uri.get\$scheme() !== \"file\")\n" |
| " throw A.wrapException(A.ArgumentError\$(\"Uri \" + uri.toString\$0(0) + \" must have scheme 'file:'.\", null));\n" |
| " path = uri.get\$path();\n" |
| " if (uri.get\$host() === \"\") {\n" |
| " if (path.length >= 3 && B.JSString_methods.startsWith\$1(path, \"/\") && A.driveLetterEnd(path, 1) != null)\n" |
| " path = B.JSString_methods.replaceFirst\$2(path, \"/\", \"\");\n" |
| " } else\n" |
| " path = \"\\\\\\\\\" + uri.get\$host() + path;\n" |
| " t1 = A.stringReplaceAllUnchecked(path, \"/\", \"\\\\\");\n" |
| " return A._Uri__uriDecode(t1, 0, t1.length, B.C_Utf8Codec, false);\n" |
| " },\n" |
| " codeUnitsEqual\$2(codeUnit1, codeUnit2) {\n" |
| " var upperCase1;\n" |
| " if (codeUnit1 === codeUnit2)\n" |
| " return true;\n" |
| " if (codeUnit1 === 47)\n" |
| " return codeUnit2 === 92;\n" |
| " if (codeUnit1 === 92)\n" |
| " return codeUnit2 === 47;\n" |
| " if ((codeUnit1 ^ codeUnit2) !== 32)\n" |
| " return false;\n" |
| " upperCase1 = codeUnit1 | 32;\n" |
| " return upperCase1 >= 97 && upperCase1 <= 122;\n" |
| " },\n" |
| " pathsEqual\$2(path1, path2) {\n" |
| " var t1, t2, i;\n" |
| " if (path1 === path2)\n" |
| " return true;\n" |
| " t1 = path1.length;\n" |
| " t2 = path2.length;\n" |
| " if (t1 !== t2)\n" |
| " return false;\n" |
| " for (i = 0; i < t1; ++i) {\n" |
| " if (!(i < t2))\n" |
| " return A.ioore(path2, i);\n" |
| " if (!this.codeUnitsEqual\$2(path1.charCodeAt(i), path2.charCodeAt(i)))\n" |
| " return false;\n" |
| " }\n" |
| " return true;\n" |
| " },\n" |
| " get\$name() {\n" |
| " return \"windows\";\n" |
| " },\n" |
| " get\$separator() {\n" |
| " return \"\\\\\";\n" |
| " }\n" |
| " };\n" |
| " A.Pool.prototype = {\n" |
| " request\$0() {\n" |
| " var t1, t2, _this = this;\n" |
| " if ((_this._closeMemo._async_memoizer\$_completer.future._state & 30) !== 0)\n" |
| " throw A.wrapException(A.StateError\$(\"request() may not be called on a closed Pool.\"));\n" |
| " t1 = _this._allocatedResources;\n" |
| " if (t1 < _this._maxAllocatedResources) {\n" |
| " _this._allocatedResources = t1 + 1;\n" |
| " return A.Future_Future\$value(new A.PoolResource(_this), type\$.PoolResource);\n" |
| " } else {\n" |
| " t1 = _this._onReleaseCallbacks;\n" |
| " if (!t1.get\$isEmpty(0))\n" |
| " return _this._runOnRelease\$1(t1.removeFirst\$0());\n" |
| " else {\n" |
| " t1 = new A._Future(\$.Zone__current, type\$._Future_PoolResource);\n" |
| " t2 = _this._requestedResources;\n" |
| " t2._collection\$_add\$1(t2.\$ti._precomputed1._as(new A._AsyncCompleter(t1, type\$._AsyncCompleter_PoolResource)));\n" |
| " _this._resetTimer\$0();\n" |
| " return t1;\n" |
| " }\n" |
| " }\n" |
| " },\n" |
| " withResource\$1\$1(callback, \$T) {\n" |
| " return this.withResource\$body\$Pool(\$T._eval\$1(\"0/()\")._as(callback), \$T, \$T);\n" |
| " },\n" |
| " withResource\$body\$Pool(callback, \$T, \$async\$type) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(\$async\$type),\n" |
| " \$async\$returnValue, \$async\$handler = 2, \$async\$errorStack = [], \$async\$next = [], \$async\$self = this, resource, t1, t2;\n" |
| " var \$async\$withResource\$1\$1 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1) {\n" |
| " \$async\$errorStack.push(\$async\$result);\n" |
| " \$async\$goto = \$async\$handler;\n" |
| " }\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " if ((\$async\$self._closeMemo._async_memoizer\$_completer.future._state & 30) !== 0)\n" |
| " throw A.wrapException(A.StateError\$(\"withResource() may not be called on a closed Pool.\"));\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(\$async\$self.request\$0(), \$async\$withResource\$1\$1);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " resource = \$async\$result;\n" |
| " \$async\$handler = 4;\n" |
| " t1 = callback.call\$0();\n" |
| " \$async\$goto = 7;\n" |
| " return A._asyncAwait(\$T._eval\$1(\"Future<0>\")._is(t1) ? t1 : A._Future\$value(\$T._as(t1), \$T), \$async\$withResource\$1\$1);\n" |
| " case 7:\n" |
| " // returning from await.\n" |
| " t1 = \$async\$result;\n" |
| " \$async\$returnValue = t1;\n" |
| " \$async\$next = [1];\n" |
| " // goto finally\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " \$async\$next.push(6);\n" |
| " // goto finally\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " case 4:\n" |
| " // uncaught\n" |
| " \$async\$next = [2];\n" |
| " case 5:\n" |
| " // finally\n" |
| " \$async\$handler = 2;\n" |
| " t1 = resource;\n" |
| " if (t1._released)\n" |
| " A.throwExpression(A.StateError\$(\"A PoolResource may only be released once.\"));\n" |
| " t1._released = true;\n" |
| " t1 = t1._pool;\n" |
| " t1._resetTimer\$0();\n" |
| " t2 = t1._requestedResources;\n" |
| " if (!t2.get\$isEmpty(0))\n" |
| " t2.removeFirst\$0().complete\$1(new A.PoolResource(t1));\n" |
| " else {\n" |
| " t2 = --t1._allocatedResources;\n" |
| " if ((t1._closeMemo._async_memoizer\$_completer.future._state & 30) !== 0 && t2 === 0)\n" |
| " null.close\$0();\n" |
| " }\n" |
| " // goto the next finally handler\n" |
| " \$async\$goto = \$async\$next.pop();\n" |
| " break;\n" |
| " case 6:\n" |
| " // after finally\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " case 2:\n" |
| " // rethrow\n" |
| " return A._asyncRethrow(\$async\$errorStack.at(-1), \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$withResource\$1\$1, \$async\$completer);\n" |
| " },\n" |
| " _runOnRelease\$1(onRelease) {\n" |
| " var t1, t2;\n" |
| " A.Future_Future\$sync(type\$.void_Function._as(onRelease), type\$.void).then\$1\$1(new A.Pool__runOnRelease_closure(this), type\$.Null).catchError\$1(new A.Pool__runOnRelease_closure0(this));\n" |
| " t1 = new A._Future(\$.Zone__current, type\$._Future_PoolResource);\n" |
| " t2 = this._onReleaseCompleters;\n" |
| " t2._collection\$_add\$1(t2.\$ti._precomputed1._as(new A._SyncCompleter(t1, type\$._SyncCompleter_PoolResource)));\n" |
| " return t1;\n" |
| " },\n" |
| " _resetTimer\$0() {\n" |
| " var t2,\n" |
| " t1 = this._timer;\n" |
| " if (t1 == null)\n" |
| " return;\n" |
| " t2 = this._requestedResources;\n" |
| " if (t2._head === t2._tail)\n" |
| " t1._restartable_timer\$_timer.cancel\$0();\n" |
| " else {\n" |
| " t1._restartable_timer\$_timer.cancel\$0();\n" |
| " t1._restartable_timer\$_timer = A.Timer_Timer(t1._restartable_timer\$_duration, t1._restartable_timer\$_callback);\n" |
| " }\n" |
| " }\n" |
| " };\n" |
| " A.Pool__runOnRelease_closure.prototype = {\n" |
| " call\$1(value) {\n" |
| " var t1 = this.\$this;\n" |
| " t1._onReleaseCompleters.removeFirst\$0().complete\$1(new A.PoolResource(t1));\n" |
| " },\n" |
| " \$signature: 45\n" |
| " };\n" |
| " A.Pool__runOnRelease_closure0.prototype = {\n" |
| " call\$2(error, stackTrace) {\n" |
| " A._asObject(error);\n" |
| " type\$.StackTrace._as(stackTrace);\n" |
| " this.\$this._onReleaseCompleters.removeFirst\$0().completeError\$2(error, stackTrace);\n" |
| " },\n" |
| " \$signature: 3\n" |
| " };\n" |
| " A.PoolResource.prototype = {};\n" |
| " A.SourceFile.prototype = {\n" |
| " get\$length(_) {\n" |
| " return this._decodedChars.length;\n" |
| " },\n" |
| " get\$lines() {\n" |
| " return this._lineStarts.length;\n" |
| " },\n" |
| " SourceFile\$_fromList\$2\$url(decodedChars, url) {\n" |
| " var t1, t2, t3, t4, t5, t6, i, c, j, t7;\n" |
| " for (t1 = this._decodedChars, t2 = t1.length, t3 = decodedChars.__internal\$_string, t4 = t3.length, t5 = t1.\$flags | 0, t6 = this._lineStarts, i = 0; i < t2; ++i) {\n" |
| " if (!(i < t4))\n" |
| " return A.ioore(t3, i);\n" |
| " c = t3.charCodeAt(i);\n" |
| " t5 & 2 && A.throwUnsupportedOperation(t1);\n" |
| " t1[i] = c;\n" |
| " if (c === 13) {\n" |
| " j = i + 1;\n" |
| " if (j < t4) {\n" |
| " if (!(j < t4))\n" |
| " return A.ioore(t3, j);\n" |
| " t7 = t3.charCodeAt(j) !== 10;\n" |
| " } else\n" |
| " t7 = true;\n" |
| " if (t7)\n" |
| " c = 10;\n" |
| " }\n" |
| " if (c === 10)\n" |
| " B.JSArray_methods.add\$1(t6, i + 1);\n" |
| " }\n" |
| " },\n" |
| " getLine\$1(offset) {\n" |
| " var t1, _this = this;\n" |
| " if (offset < 0)\n" |
| " throw A.wrapException(A.RangeError\$(\"Offset may not be negative, was \" + offset + \".\"));\n" |
| " else if (offset > _this._decodedChars.length)\n" |
| " throw A.wrapException(A.RangeError\$(\"Offset \" + offset + string\$.x20must_ + _this.get\$length(0) + \".\"));\n" |
| " t1 = _this._lineStarts;\n" |
| " if (offset < B.JSArray_methods.get\$first(t1))\n" |
| " return -1;\n" |
| " if (offset >= B.JSArray_methods.get\$last(t1))\n" |
| " return t1.length - 1;\n" |
| " if (_this._isNearCachedLine\$1(offset)) {\n" |
| " t1 = _this._cachedLine;\n" |
| " t1.toString;\n" |
| " return t1;\n" |
| " }\n" |
| " return _this._cachedLine = _this._binarySearch\$1(offset) - 1;\n" |
| " },\n" |
| " _isNearCachedLine\$1(offset) {\n" |
| " var t2, t3, t4,\n" |
| " t1 = this._cachedLine;\n" |
| " if (t1 == null)\n" |
| " return false;\n" |
| " t2 = this._lineStarts;\n" |
| " t3 = t2.length;\n" |
| " if (t1 >>> 0 !== t1 || t1 >= t3)\n" |
| " return A.ioore(t2, t1);\n" |
| " if (offset < t2[t1])\n" |
| " return false;\n" |
| " if (!(t1 >= t3 - 1)) {\n" |
| " t4 = t1 + 1;\n" |
| " if (!(t4 < t3))\n" |
| " return A.ioore(t2, t4);\n" |
| " t4 = offset < t2[t4];\n" |
| " } else\n" |
| " t4 = true;\n" |
| " if (t4)\n" |
| " return true;\n" |
| " if (!(t1 >= t3 - 2)) {\n" |
| " t4 = t1 + 2;\n" |
| " if (!(t4 < t3))\n" |
| " return A.ioore(t2, t4);\n" |
| " t4 = offset < t2[t4];\n" |
| " t2 = t4;\n" |
| " } else\n" |
| " t2 = true;\n" |
| " if (t2) {\n" |
| " this._cachedLine = t1 + 1;\n" |
| " return true;\n" |
| " }\n" |
| " return false;\n" |
| " },\n" |
| " _binarySearch\$1(offset) {\n" |
| " var min, half,\n" |
| " t1 = this._lineStarts,\n" |
| " t2 = t1.length,\n" |
| " max = t2 - 1;\n" |
| " for (min = 0; min < max;) {\n" |
| " half = min + B.JSInt_methods._tdivFast\$1(max - min, 2);\n" |
| " if (!(half >= 0 && half < t2))\n" |
| " return A.ioore(t1, half);\n" |
| " if (t1[half] > offset)\n" |
| " max = half;\n" |
| " else\n" |
| " min = half + 1;\n" |
| " }\n" |
| " return max;\n" |
| " },\n" |
| " getColumn\$1(offset) {\n" |
| " var line, t1, lineStart, _this = this;\n" |
| " if (offset < 0)\n" |
| " throw A.wrapException(A.RangeError\$(\"Offset may not be negative, was \" + offset + \".\"));\n" |
| " else if (offset > _this._decodedChars.length)\n" |
| " throw A.wrapException(A.RangeError\$(\"Offset \" + offset + \" must be not be greater than the number of characters in the file, \" + _this.get\$length(0) + \".\"));\n" |
| " line = _this.getLine\$1(offset);\n" |
| " t1 = _this._lineStarts;\n" |
| " if (!(line >= 0 && line < t1.length))\n" |
| " return A.ioore(t1, line);\n" |
| " lineStart = t1[line];\n" |
| " if (lineStart > offset)\n" |
| " throw A.wrapException(A.RangeError\$(\"Line \" + line + \" comes after offset \" + offset + \".\"));\n" |
| " return offset - lineStart;\n" |
| " },\n" |
| " getOffset\$1(line) {\n" |
| " var t1, t2, result, t3;\n" |
| " if (line < 0)\n" |
| " throw A.wrapException(A.RangeError\$(\"Line may not be negative, was \" + line + \".\"));\n" |
| " else {\n" |
| " t1 = this._lineStarts;\n" |
| " t2 = t1.length;\n" |
| " if (line >= t2)\n" |
| " throw A.wrapException(A.RangeError\$(\"Line \" + line + \" must be less than the number of lines in the file, \" + this.get\$lines() + \".\"));\n" |
| " }\n" |
| " result = t1[line];\n" |
| " if (result <= this._decodedChars.length) {\n" |
| " t3 = line + 1;\n" |
| " t1 = t3 < t2 && result >= t1[t3];\n" |
| " } else\n" |
| " t1 = true;\n" |
| " if (t1)\n" |
| " throw A.wrapException(A.RangeError\$(\"Line \" + line + \" doesn't have 0 columns.\"));\n" |
| " return result;\n" |
| " }\n" |
| " };\n" |
| " A.FileLocation.prototype = {\n" |
| " get\$sourceUrl() {\n" |
| " return this.file.url;\n" |
| " },\n" |
| " get\$line() {\n" |
| " return this.file.getLine\$1(this.offset);\n" |
| " },\n" |
| " get\$column() {\n" |
| " return this.file.getColumn\$1(this.offset);\n" |
| " },\n" |
| " get\$offset() {\n" |
| " return this.offset;\n" |
| " }\n" |
| " };\n" |
| " A._FileSpan.prototype = {\n" |
| " get\$sourceUrl() {\n" |
| " return this.file.url;\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " return this._file\$_end - this._file\$_start;\n" |
| " },\n" |
| " get\$start() {\n" |
| " return A.FileLocation\$_(this.file, this._file\$_start);\n" |
| " },\n" |
| " get\$end() {\n" |
| " return A.FileLocation\$_(this.file, this._file\$_end);\n" |
| " },\n" |
| " get\$text() {\n" |
| " return A.String_String\$fromCharCodes(B.NativeUint32List_methods.sublist\$2(this.file._decodedChars, this._file\$_start, this._file\$_end), 0, null);\n" |
| " },\n" |
| " get\$context() {\n" |
| " var _this = this,\n" |
| " t1 = _this.file,\n" |
| " endOffset = _this._file\$_end,\n" |
| " endLine = t1.getLine\$1(endOffset);\n" |
| " if (t1.getColumn\$1(endOffset) === 0 && endLine !== 0) {\n" |
| " if (endOffset - _this._file\$_start === 0)\n" |
| " return endLine === t1._lineStarts.length - 1 ? \"\" : A.String_String\$fromCharCodes(B.NativeUint32List_methods.sublist\$2(t1._decodedChars, t1.getOffset\$1(endLine), t1.getOffset\$1(endLine + 1)), 0, null);\n" |
| " } else\n" |
| " endOffset = endLine === t1._lineStarts.length - 1 ? t1._decodedChars.length : t1.getOffset\$1(endLine + 1);\n" |
| " return A.String_String\$fromCharCodes(B.NativeUint32List_methods.sublist\$2(t1._decodedChars, t1.getOffset\$1(t1.getLine\$1(_this._file\$_start)), endOffset), 0, null);\n" |
| " },\n" |
| " compareTo\$1(_, other) {\n" |
| " var result;\n" |
| " type\$.SourceSpan._as(other);\n" |
| " if (!(other instanceof A._FileSpan))\n" |
| " return this.super\$SourceSpanMixin\$compareTo(0, other);\n" |
| " result = B.JSInt_methods.compareTo\$1(this._file\$_start, other._file\$_start);\n" |
| " return result === 0 ? B.JSInt_methods.compareTo\$1(this._file\$_end, other._file\$_end) : result;\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " var _this = this;\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (!(other instanceof A._FileSpan))\n" |
| " return _this.super\$SourceSpanMixin\$\$eq(0, other);\n" |
| " return _this._file\$_start === other._file\$_start && _this._file\$_end === other._file\$_end && J.\$eq\$(_this.file.url, other.file.url);\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Object_hash(this._file\$_start, this._file\$_end, this.file.url, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue);\n" |
| " },\n" |
| " \$isSourceSpanWithContext: 1\n" |
| " };\n" |
| " A.Highlighter.prototype = {\n" |
| " highlight\$0() {\n" |
| " var t2, highlightsByColumn, t3, t4, i, line, lastLine, t5, t6, t7, t8, t9, t10, t11, index, primaryIdx, primary, _i, _this = this, _null = null,\n" |
| " t1 = _this._lines;\n" |
| " _this._writeFileStart\$1(B.JSArray_methods.get\$first(t1).url);\n" |
| " t2 = _this._maxMultilineSpans;\n" |
| " highlightsByColumn = A.List_List\$filled(t2, _null, false, type\$.nullable__Highlight);\n" |
| " for (t3 = _this._buffer, t2 = t2 !== 0, t4 = _this._primaryColor, i = 0; i < t1.length; ++i) {\n" |
| " line = t1[i];\n" |
| " if (i > 0) {\n" |
| " lastLine = t1[i - 1];\n" |
| " t5 = line.url;\n" |
| " if (!J.\$eq\$(lastLine.url, t5)) {\n" |
| " _this._writeSidebar\$1\$end(\"\\u2575\");\n" |
| " t3._contents += \"\\n\";\n" |
| " _this._writeFileStart\$1(t5);\n" |
| " } else if (lastLine.number + 1 !== line.number) {\n" |
| " _this._writeSidebar\$1\$text(\"...\");\n" |
| " t3._contents += \"\\n\";\n" |
| " }\n" |
| " }\n" |
| " for (t5 = line.highlights, t6 = A._arrayInstanceType(t5)._eval\$1(\"ReversedListIterable<1>\"), t7 = new A.ReversedListIterable(t5, t6), t7 = new A.ListIterator(t7, t7.get\$length(0), t6._eval\$1(\"ListIterator<ListIterable.E>\")), t6 = t6._eval\$1(\"ListIterable.E\"), t8 = line.number, t9 = line.text; t7.moveNext\$0();) {\n" |
| " t10 = t7.__internal\$_current;\n" |
| " if (t10 == null)\n" |
| " t10 = t6._as(t10);\n" |
| " t11 = t10.span;\n" |
| " if (t11.get\$start().get\$line() !== t11.get\$end().get\$line() && t11.get\$start().get\$line() === t8 && _this._isOnlyWhitespace\$1(B.JSString_methods.substring\$2(t9, 0, t11.get\$start().get\$column()))) {\n" |
| " index = B.JSArray_methods.indexOf\$1(highlightsByColumn, _null);\n" |
| " if (index < 0)\n" |
| " A.throwExpression(A.ArgumentError\$(A.S(highlightsByColumn) + \" contains no null elements.\", _null));\n" |
| " B.JSArray_methods.\$indexSet(highlightsByColumn, index, t10);\n" |
| " }\n" |
| " }\n" |
| " _this._writeSidebar\$1\$line(t8);\n" |
| " t3._contents += \" \";\n" |
| " _this._writeMultilineHighlights\$2(line, highlightsByColumn);\n" |
| " if (t2)\n" |
| " t3._contents += \" \";\n" |
| " primaryIdx = B.JSArray_methods.indexWhere\$1(t5, new A.Highlighter_highlight_closure());\n" |
| " if (primaryIdx === -1)\n" |
| " primary = _null;\n" |
| " else {\n" |
| " if (!(primaryIdx >= 0 && primaryIdx < t5.length))\n" |
| " return A.ioore(t5, primaryIdx);\n" |
| " primary = t5[primaryIdx];\n" |
| " }\n" |
| " t6 = primary != null;\n" |
| " if (t6) {\n" |
| " t7 = primary.span;\n" |
| " t10 = t7.get\$start().get\$line() === t8 ? t7.get\$start().get\$column() : 0;\n" |
| " _this._writeHighlightedText\$4\$color(t9, t10, t7.get\$end().get\$line() === t8 ? t7.get\$end().get\$column() : t9.length, t4);\n" |
| " } else\n" |
| " _this._writeText\$1(t9);\n" |
| " t3._contents += \"\\n\";\n" |
| " if (t6)\n" |
| " _this._writeIndicator\$3(line, primary, highlightsByColumn);\n" |
| " for (t5 = t5.length, _i = 0; _i < t5; ++_i)\n" |
| " continue;\n" |
| " }\n" |
| " _this._writeSidebar\$1\$end(\"\\u2575\");\n" |
| " t1 = t3._contents;\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " },\n" |
| " _writeFileStart\$1(url) {\n" |
| " var t1, t2, _this = this;\n" |
| " if (!_this._multipleFiles || !type\$.Uri._is(url))\n" |
| " _this._writeSidebar\$1\$end(\"\\u2577\");\n" |
| " else {\n" |
| " _this._writeSidebar\$1\$end(\"\\u250c\");\n" |
| " _this._colorize\$1\$2\$color(new A.Highlighter__writeFileStart_closure(_this), \"\\x1b[34m\", type\$.void);\n" |
| " t1 = _this._buffer;\n" |
| " t2 = \" \" + \$.\$get\$context().prettyUri\$1(url);\n" |
| " t1._contents += t2;\n" |
| " }\n" |
| " _this._buffer._contents += \"\\n\";\n" |
| " },\n" |
| " _writeMultilineHighlights\$3\$current(line, highlightsByColumn, current) {\n" |
| " var t1, currentColor, t2, t3, t4, t5, t6, foundCurrent, _i, highlight, t7, startLine, endLine, _this = this, _box_0 = {};\n" |
| " type\$.List_nullable__Highlight._as(highlightsByColumn);\n" |
| " _box_0.openedOnThisLine = false;\n" |
| " _box_0.openedOnThisLineColor = null;\n" |
| " t1 = current == null;\n" |
| " if (t1)\n" |
| " currentColor = null;\n" |
| " else\n" |
| " currentColor = _this._primaryColor;\n" |
| " for (t2 = highlightsByColumn.length, t3 = type\$.Null, t4 = _this._primaryColor, t1 = !t1, t5 = _this._buffer, t6 = type\$.void, foundCurrent = false, _i = 0; _i < t2; ++_i) {\n" |
| " highlight = highlightsByColumn[_i];\n" |
| " t7 = highlight == null;\n" |
| " startLine = t7 ? null : highlight.span.get\$start().get\$line();\n" |
| " endLine = t7 ? null : highlight.span.get\$end().get\$line();\n" |
| " if (t1 && highlight === current) {\n" |
| " _this._colorize\$1\$2\$color(new A.Highlighter__writeMultilineHighlights_closure(_this, startLine, line), currentColor, t3);\n" |
| " foundCurrent = true;\n" |
| " } else if (foundCurrent)\n" |
| " _this._colorize\$1\$2\$color(new A.Highlighter__writeMultilineHighlights_closure0(_this, highlight), currentColor, t3);\n" |
| " else if (t7)\n" |
| " if (_box_0.openedOnThisLine)\n" |
| " _this._colorize\$1\$2\$color(new A.Highlighter__writeMultilineHighlights_closure1(_this), _box_0.openedOnThisLineColor, t6);\n" |
| " else\n" |
| " t5._contents += \" \";\n" |
| " else\n" |
| " _this._colorize\$1\$2\$color(new A.Highlighter__writeMultilineHighlights_closure2(_box_0, _this, current, startLine, line, highlight, endLine), t4, t3);\n" |
| " }\n" |
| " },\n" |
| " _writeMultilineHighlights\$2(line, highlightsByColumn) {\n" |
| " return this._writeMultilineHighlights\$3\$current(line, highlightsByColumn, null);\n" |
| " },\n" |
| " _writeHighlightedText\$4\$color(text, startColumn, endColumn, color) {\n" |
| " var _this = this;\n" |
| " _this._writeText\$1(B.JSString_methods.substring\$2(text, 0, startColumn));\n" |
| " _this._colorize\$1\$2\$color(new A.Highlighter__writeHighlightedText_closure(_this, text, startColumn, endColumn), color, type\$.void);\n" |
| " _this._writeText\$1(B.JSString_methods.substring\$2(text, endColumn, text.length));\n" |
| " },\n" |
| " _writeIndicator\$3(line, highlight, highlightsByColumn) {\n" |
| " var color, t1, t2, _this = this;\n" |
| " type\$.List_nullable__Highlight._as(highlightsByColumn);\n" |
| " color = _this._primaryColor;\n" |
| " t1 = highlight.span;\n" |
| " if (t1.get\$start().get\$line() === t1.get\$end().get\$line()) {\n" |
| " _this._writeSidebar\$0();\n" |
| " t1 = _this._buffer;\n" |
| " t1._contents += \" \";\n" |
| " _this._writeMultilineHighlights\$3\$current(line, highlightsByColumn, highlight);\n" |
| " if (highlightsByColumn.length !== 0)\n" |
| " t1._contents += \" \";\n" |
| " _this._writeLabel\$3(highlight, highlightsByColumn, _this._colorize\$1\$2\$color(new A.Highlighter__writeIndicator_closure(_this, line, highlight), color, type\$.int));\n" |
| " } else {\n" |
| " t2 = line.number;\n" |
| " if (t1.get\$start().get\$line() === t2) {\n" |
| " if (B.JSArray_methods.contains\$1(highlightsByColumn, highlight))\n" |
| " return;\n" |
| " A.replaceFirstNull(highlightsByColumn, highlight, type\$._Highlight);\n" |
| " _this._writeSidebar\$0();\n" |
| " t1 = _this._buffer;\n" |
| " t1._contents += \" \";\n" |
| " _this._writeMultilineHighlights\$3\$current(line, highlightsByColumn, highlight);\n" |
| " _this._colorize\$1\$2\$color(new A.Highlighter__writeIndicator_closure0(_this, line, highlight), color, type\$.void);\n" |
| " t1._contents += \"\\n\";\n" |
| " } else if (t1.get\$end().get\$line() === t2) {\n" |
| " t1 = t1.get\$end().get\$column();\n" |
| " if (t1 === line.text.length) {\n" |
| " A.replaceWithNull(highlightsByColumn, highlight, type\$._Highlight);\n" |
| " return;\n" |
| " }\n" |
| " _this._writeSidebar\$0();\n" |
| " _this._buffer._contents += \" \";\n" |
| " _this._writeMultilineHighlights\$3\$current(line, highlightsByColumn, highlight);\n" |
| " _this._writeLabel\$3(highlight, highlightsByColumn, _this._colorize\$1\$2\$color(new A.Highlighter__writeIndicator_closure1(_this, false, line, highlight), color, type\$.int));\n" |
| " A.replaceWithNull(highlightsByColumn, highlight, type\$._Highlight);\n" |
| " }\n" |
| " }\n" |
| " },\n" |
| " _writeArrow\$3\$beginning(line, column, beginning) {\n" |
| " var t1 = beginning ? 0 : 1,\n" |
| " t2 = this._buffer;\n" |
| " t1 = B.JSString_methods.\$mul(\"\\u2500\", 1 + column + this._countTabs\$1(B.JSString_methods.substring\$2(line.text, 0, column + t1)) * 3);\n" |
| " t2._contents = (t2._contents += t1) + \"^\";\n" |
| " },\n" |
| " _writeArrow\$2(line, column) {\n" |
| " return this._writeArrow\$3\$beginning(line, column, true);\n" |
| " },\n" |
| " _writeLabel\$3(highlight, highlightsByColumn, underlineLength) {\n" |
| " type\$.List_nullable__Highlight._as(highlightsByColumn);\n" |
| " this._buffer._contents += \"\\n\";\n" |
| " return;\n" |
| " },\n" |
| " _writeText\$1(text) {\n" |
| " var t1, t2, t3, t4;\n" |
| " for (t1 = new A.CodeUnits(text), t2 = type\$.CodeUnits, t1 = new A.ListIterator(t1, t1.get\$length(0), t2._eval\$1(\"ListIterator<ListBase.E>\")), t3 = this._buffer, t2 = t2._eval\$1(\"ListBase.E\"); t1.moveNext\$0();) {\n" |
| " t4 = t1.__internal\$_current;\n" |
| " if (t4 == null)\n" |
| " t4 = t2._as(t4);\n" |
| " if (t4 === 9)\n" |
| " t3._contents += B.JSString_methods.\$mul(\" \", 4);\n" |
| " else {\n" |
| " t4 = A.Primitives_stringFromCharCode(t4);\n" |
| " t3._contents += t4;\n" |
| " }\n" |
| " }\n" |
| " },\n" |
| " _writeSidebar\$3\$end\$line\$text(end, line, text) {\n" |
| " var t1 = {};\n" |
| " t1.text = text;\n" |
| " if (line != null)\n" |
| " t1.text = B.JSInt_methods.toString\$0(line + 1);\n" |
| " this._colorize\$1\$2\$color(new A.Highlighter__writeSidebar_closure(t1, this, end), \"\\x1b[34m\", type\$.Null);\n" |
| " },\n" |
| " _writeSidebar\$1\$end(end) {\n" |
| " return this._writeSidebar\$3\$end\$line\$text(end, null, null);\n" |
| " },\n" |
| " _writeSidebar\$1\$text(text) {\n" |
| " return this._writeSidebar\$3\$end\$line\$text(null, null, text);\n" |
| " },\n" |
| " _writeSidebar\$1\$line(line) {\n" |
| " return this._writeSidebar\$3\$end\$line\$text(null, line, null);\n" |
| " },\n" |
| " _writeSidebar\$0() {\n" |
| " return this._writeSidebar\$3\$end\$line\$text(null, null, null);\n" |
| " },\n" |
| " _countTabs\$1(text) {\n" |
| " var t1, t2, count, t3;\n" |
| " for (t1 = new A.CodeUnits(text), t2 = type\$.CodeUnits, t1 = new A.ListIterator(t1, t1.get\$length(0), t2._eval\$1(\"ListIterator<ListBase.E>\")), t2 = t2._eval\$1(\"ListBase.E\"), count = 0; t1.moveNext\$0();) {\n" |
| " t3 = t1.__internal\$_current;\n" |
| " if ((t3 == null ? t2._as(t3) : t3) === 9)\n" |
| " ++count;\n" |
| " }\n" |
| " return count;\n" |
| " },\n" |
| " _isOnlyWhitespace\$1(text) {\n" |
| " var t1, t2, t3;\n" |
| " for (t1 = new A.CodeUnits(text), t2 = type\$.CodeUnits, t1 = new A.ListIterator(t1, t1.get\$length(0), t2._eval\$1(\"ListIterator<ListBase.E>\")), t2 = t2._eval\$1(\"ListBase.E\"); t1.moveNext\$0();) {\n" |
| " t3 = t1.__internal\$_current;\n" |
| " if (t3 == null)\n" |
| " t3 = t2._as(t3);\n" |
| " if (t3 !== 32 && t3 !== 9)\n" |
| " return false;\n" |
| " }\n" |
| " return true;\n" |
| " },\n" |
| " _colorize\$1\$2\$color(callback, color, \$T) {\n" |
| " var t1, result;\n" |
| " \$T._eval\$1(\"0()\")._as(callback);\n" |
| " t1 = this._primaryColor != null;\n" |
| " if (t1 && color != null)\n" |
| " this._buffer._contents += color;\n" |
| " result = callback.call\$0();\n" |
| " if (t1 && color != null)\n" |
| " this._buffer._contents += \"\\x1b[0m\";\n" |
| " return result;\n" |
| " }\n" |
| " };\n" |
| " A.Highlighter_closure.prototype = {\n" |
| " call\$0() {\n" |
| " return this.color;\n" |
| " },\n" |
| " \$signature: 46\n" |
| " };\n" |
| " A.Highlighter\$__closure.prototype = {\n" |
| " call\$1(line) {\n" |
| " var t1 = type\$._Line._as(line).highlights,\n" |
| " t2 = A._arrayInstanceType(t1);\n" |
| " return new A.WhereIterable(t1, t2._eval\$1(\"bool(1)\")._as(new A.Highlighter\$___closure()), t2._eval\$1(\"WhereIterable<1>\")).get\$length(0);\n" |
| " },\n" |
| " \$signature: 47\n" |
| " };\n" |
| " A.Highlighter\$___closure.prototype = {\n" |
| " call\$1(highlight) {\n" |
| " var t1 = type\$._Highlight._as(highlight).span;\n" |
| " return t1.get\$start().get\$line() !== t1.get\$end().get\$line();\n" |
| " },\n" |
| " \$signature: 12\n" |
| " };\n" |
| " A.Highlighter\$__closure0.prototype = {\n" |
| " call\$1(line) {\n" |
| " return type\$._Line._as(line).url;\n" |
| " },\n" |
| " \$signature: 49\n" |
| " };\n" |
| " A.Highlighter__collateLines_closure.prototype = {\n" |
| " call\$1(highlight) {\n" |
| " var t1 = type\$._Highlight._as(highlight).span.get\$sourceUrl();\n" |
| " return t1 == null ? new A.Object() : t1;\n" |
| " },\n" |
| " \$signature: 50\n" |
| " };\n" |
| " A.Highlighter__collateLines_closure0.prototype = {\n" |
| " call\$2(highlight1, highlight2) {\n" |
| " var t1 = type\$._Highlight;\n" |
| " return t1._as(highlight1).span.compareTo\$1(0, t1._as(highlight2).span);\n" |
| " },\n" |
| " \$signature: 51\n" |
| " };\n" |
| " A.Highlighter__collateLines_closure1.prototype = {\n" |
| " call\$1(entry) {\n" |
| " var url, highlightsForFile, lines, t1, t2, t3, t4, context, t5, linesBeforeSpan, lineNumber, _i, line, activeHighlights, flags, highlightIndex, oldHighlightLength, t6, t7;\n" |
| " type\$.MapEntry_of_Object_and_List__Highlight._as(entry);\n" |
| " url = entry.key;\n" |
| " highlightsForFile = entry.value;\n" |
| " lines = A._setArrayType([], type\$.JSArray__Line);\n" |
| " for (t1 = J.getInterceptor\$ax(highlightsForFile), t2 = t1.get\$iterator(highlightsForFile), t3 = type\$.JSArray__Highlight; t2.moveNext\$0();) {\n" |
| " t4 = t2.get\$current().span;\n" |
| " context = t4.get\$context();\n" |
| " t5 = A.findLineStart(context, t4.get\$text(), t4.get\$start().get\$column());\n" |
| " t5.toString;\n" |
| " linesBeforeSpan = B.JSString_methods.allMatches\$1(\"\\n\", B.JSString_methods.substring\$2(context, 0, t5)).get\$length(0);\n" |
| " lineNumber = t4.get\$start().get\$line() - linesBeforeSpan;\n" |
| " for (t4 = context.split(\"\\n\"), t5 = t4.length, _i = 0; _i < t5; ++_i) {\n" |
| " line = t4[_i];\n" |
| " if (lines.length === 0 || lineNumber > B.JSArray_methods.get\$last(lines).number)\n" |
| " B.JSArray_methods.add\$1(lines, new A._Line(line, lineNumber, url, A._setArrayType([], t3)));\n" |
| " ++lineNumber;\n" |
| " }\n" |
| " }\n" |
| " activeHighlights = A._setArrayType([], t3);\n" |
| " for (t2 = lines.length, t3 = type\$.bool_Function__Highlight, flags = activeHighlights.\$flags | 0, highlightIndex = 0, _i = 0; _i < lines.length; lines.length === t2 || (0, A.throwConcurrentModificationError)(lines), ++_i) {\n" |
| " line = lines[_i];\n" |
| " t4 = t3._as(new A.Highlighter__collateLines__closure(line));\n" |
| " flags & 1 && A.throwUnsupportedOperation(activeHighlights, 16);\n" |
| " B.JSArray_methods._removeWhere\$2(activeHighlights, t4, true);\n" |
| " oldHighlightLength = activeHighlights.length;\n" |
| " for (t4 = t1.skip\$1(highlightsForFile, highlightIndex), t5 = t4.\$ti, t4 = new A.ListIterator(t4, t4.get\$length(0), t5._eval\$1(\"ListIterator<ListIterable.E>\")), t6 = line.number, t5 = t5._eval\$1(\"ListIterable.E\"); t4.moveNext\$0();) {\n" |
| " t7 = t4.__internal\$_current;\n" |
| " if (t7 == null)\n" |
| " t7 = t5._as(t7);\n" |
| " if (t7.span.get\$start().get\$line() > t6)\n" |
| " break;\n" |
| " B.JSArray_methods.add\$1(activeHighlights, t7);\n" |
| " }\n" |
| " highlightIndex += activeHighlights.length - oldHighlightLength;\n" |
| " B.JSArray_methods.addAll\$1(line.highlights, activeHighlights);\n" |
| " }\n" |
| " return lines;\n" |
| " },\n" |
| " \$signature: 52\n" |
| " };\n" |
| " A.Highlighter__collateLines__closure.prototype = {\n" |
| " call\$1(highlight) {\n" |
| " return type\$._Highlight._as(highlight).span.get\$end().get\$line() < this.line.number;\n" |
| " },\n" |
| " \$signature: 12\n" |
| " };\n" |
| " A.Highlighter_highlight_closure.prototype = {\n" |
| " call\$1(highlight) {\n" |
| " type\$._Highlight._as(highlight);\n" |
| " return true;\n" |
| " },\n" |
| " \$signature: 12\n" |
| " };\n" |
| " A.Highlighter__writeFileStart_closure.prototype = {\n" |
| " call\$0() {\n" |
| " this.\$this._buffer._contents += B.JSString_methods.\$mul(\"\\u2500\", 2) + \">\";\n" |
| " return null;\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A.Highlighter__writeMultilineHighlights_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t1 = this.\$this._buffer,\n" |
| " t2 = this.startLine === this.line.number ? \"\\u250c\" : \"\\u2514\";\n" |
| " t1._contents += t2;\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A.Highlighter__writeMultilineHighlights_closure0.prototype = {\n" |
| " call\$0() {\n" |
| " var t1 = this.\$this._buffer,\n" |
| " t2 = this.highlight == null ? \"\\u2500\" : \"\\u253c\";\n" |
| " t1._contents += t2;\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A.Highlighter__writeMultilineHighlights_closure1.prototype = {\n" |
| " call\$0() {\n" |
| " this.\$this._buffer._contents += \"\\u2500\";\n" |
| " return null;\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A.Highlighter__writeMultilineHighlights_closure2.prototype = {\n" |
| " call\$0() {\n" |
| " var t2, t3, _this = this,\n" |
| " t1 = _this._box_0,\n" |
| " vertical = t1.openedOnThisLine ? \"\\u253c\" : \"\\u2502\";\n" |
| " if (_this.current != null)\n" |
| " _this.\$this._buffer._contents += vertical;\n" |
| " else {\n" |
| " t2 = _this.line;\n" |
| " t3 = t2.number;\n" |
| " if (_this.startLine === t3) {\n" |
| " t2 = _this.\$this;\n" |
| " t2._colorize\$1\$2\$color(new A.Highlighter__writeMultilineHighlights__closure(t1, t2), t1.openedOnThisLineColor, type\$.Null);\n" |
| " t1.openedOnThisLine = true;\n" |
| " if (t1.openedOnThisLineColor == null)\n" |
| " t1.openedOnThisLineColor = t2._primaryColor;\n" |
| " } else {\n" |
| " t2 = _this.endLine === t3 && _this.highlight.span.get\$end().get\$column() === t2.text.length;\n" |
| " t3 = _this.\$this;\n" |
| " if (t2)\n" |
| " t3._buffer._contents += \"\\u2514\";\n" |
| " else\n" |
| " t3._colorize\$1\$2\$color(new A.Highlighter__writeMultilineHighlights__closure0(t3, vertical), t1.openedOnThisLineColor, type\$.Null);\n" |
| " }\n" |
| " }\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A.Highlighter__writeMultilineHighlights__closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t1 = this.\$this._buffer,\n" |
| " t2 = this._box_0.openedOnThisLine ? \"\\u252c\" : \"\\u250c\";\n" |
| " t1._contents += t2;\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A.Highlighter__writeMultilineHighlights__closure0.prototype = {\n" |
| " call\$0() {\n" |
| " this.\$this._buffer._contents += this.vertical;\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A.Highlighter__writeHighlightedText_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var _this = this;\n" |
| " return _this.\$this._writeText\$1(B.JSString_methods.substring\$2(_this.text, _this.startColumn, _this.endColumn));\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A.Highlighter__writeIndicator_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var tabsBefore, tabsInside,\n" |
| " t1 = this.\$this,\n" |
| " t2 = t1._buffer,\n" |
| " t3 = t2._contents,\n" |
| " t4 = this.highlight.span,\n" |
| " startColumn = t4.get\$start().get\$column(),\n" |
| " endColumn = t4.get\$end().get\$column();\n" |
| " t4 = this.line.text;\n" |
| " tabsBefore = t1._countTabs\$1(B.JSString_methods.substring\$2(t4, 0, startColumn));\n" |
| " tabsInside = t1._countTabs\$1(B.JSString_methods.substring\$2(t4, startColumn, endColumn));\n" |
| " startColumn += tabsBefore * 3;\n" |
| " t4 = (t2._contents += B.JSString_methods.\$mul(\" \", startColumn)) + B.JSString_methods.\$mul(\"^\", Math.max(endColumn + (tabsBefore + tabsInside) * 3 - startColumn, 1));\n" |
| " t2._contents = t4;\n" |
| " return t4.length - t3.length;\n" |
| " },\n" |
| " \$signature: 25\n" |
| " };\n" |
| " A.Highlighter__writeIndicator_closure0.prototype = {\n" |
| " call\$0() {\n" |
| " return this.\$this._writeArrow\$2(this.line, this.highlight.span.get\$start().get\$column());\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A.Highlighter__writeIndicator_closure1.prototype = {\n" |
| " call\$0() {\n" |
| " var _this = this,\n" |
| " t1 = _this.\$this,\n" |
| " t2 = t1._buffer,\n" |
| " t3 = t2._contents;\n" |
| " if (_this.coversWholeLine)\n" |
| " t2._contents = t3 + B.JSString_methods.\$mul(\"\\u2500\", 3);\n" |
| " else\n" |
| " t1._writeArrow\$3\$beginning(_this.line, Math.max(_this.highlight.span.get\$end().get\$column() - 1, 0), false);\n" |
| " return t2._contents.length - t3.length;\n" |
| " },\n" |
| " \$signature: 25\n" |
| " };\n" |
| " A.Highlighter__writeSidebar_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t1 = this.\$this,\n" |
| " t2 = t1._buffer,\n" |
| " t3 = this._box_0.text;\n" |
| " if (t3 == null)\n" |
| " t3 = \"\";\n" |
| " t1 = B.JSString_methods.padRight\$1(t3, t1._paddingBeforeSidebar);\n" |
| " t1 = t2._contents += t1;\n" |
| " t3 = this.end;\n" |
| " t2._contents = t1 + (t3 == null ? \"\\u2502\" : t3);\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A._Highlight.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var t1 = this.span;\n" |
| " t1 = \"primary \" + (\"\" + t1.get\$start().get\$line() + \":\" + t1.get\$start().get\$column() + \"-\" + t1.get\$end().get\$line() + \":\" + t1.get\$end().get\$column());\n" |
| " return t1.charCodeAt(0) == 0 ? t1 : t1;\n" |
| " }\n" |
| " };\n" |
| " A._Highlight_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t1, t2, t3, t4,\n" |
| " newSpan = this.span;\n" |
| " if (!(type\$.SourceSpanWithContext._is(newSpan) && A.findLineStart(newSpan.get\$context(), newSpan.get\$text(), newSpan.get\$start().get\$column()) != null)) {\n" |
| " t1 = A.SourceLocation\$(newSpan.get\$start().get\$offset(), 0, 0, newSpan.get\$sourceUrl());\n" |
| " t2 = newSpan.get\$end().get\$offset();\n" |
| " t3 = newSpan.get\$sourceUrl();\n" |
| " t4 = A.countCodeUnits(newSpan.get\$text(), 10);\n" |
| " newSpan = A.SourceSpanWithContext\$(t1, A.SourceLocation\$(t2, A._Highlight__lastLineLength(newSpan.get\$text()), t4, t3), newSpan.get\$text(), newSpan.get\$text());\n" |
| " }\n" |
| " return A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(newSpan)));\n" |
| " },\n" |
| " \$signature: 54\n" |
| " };\n" |
| " A._Line.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"\" + this.number + ': \"' + this.text + '\" (' + B.JSArray_methods.join\$1(this.highlights, \", \") + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.SourceLocation.prototype = {\n" |
| " distance\$1(other) {\n" |
| " var t1 = this.sourceUrl;\n" |
| " if (!J.\$eq\$(t1, other.get\$sourceUrl()))\n" |
| " throw A.wrapException(A.ArgumentError\$('Source URLs \"' + A.S(t1) + '\" and \"' + A.S(other.get\$sourceUrl()) + \"\\\" don't match.\", null));\n" |
| " return Math.abs(this.offset - other.get\$offset());\n" |
| " },\n" |
| " compareTo\$1(_, other) {\n" |
| " var t1;\n" |
| " type\$.SourceLocation._as(other);\n" |
| " t1 = this.sourceUrl;\n" |
| " if (!J.\$eq\$(t1, other.get\$sourceUrl()))\n" |
| " throw A.wrapException(A.ArgumentError\$('Source URLs \"' + A.S(t1) + '\" and \"' + A.S(other.get\$sourceUrl()) + \"\\\" don't match.\", null));\n" |
| " return this.offset - other.get\$offset();\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return type\$.SourceLocation._is(other) && J.\$eq\$(this.sourceUrl, other.get\$sourceUrl()) && this.offset === other.get\$offset();\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " var t1 = this.sourceUrl;\n" |
| " t1 = t1 == null ? null : t1.get\$hashCode(t1);\n" |
| " if (t1 == null)\n" |
| " t1 = 0;\n" |
| " return t1 + this.offset;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " var _this = this,\n" |
| " t1 = A.getRuntimeTypeOfDartObject(_this).toString\$0(0),\n" |
| " source = _this.sourceUrl;\n" |
| " return \"<\" + t1 + \": \" + _this.offset + \" \" + (A.S(source == null ? \"unknown source\" : source) + \":\" + (_this.line + 1) + \":\" + (_this.column + 1)) + \">\";\n" |
| " },\n" |
| " \$isComparable: 1,\n" |
| " get\$sourceUrl() {\n" |
| " return this.sourceUrl;\n" |
| " },\n" |
| " get\$offset() {\n" |
| " return this.offset;\n" |
| " },\n" |
| " get\$line() {\n" |
| " return this.line;\n" |
| " },\n" |
| " get\$column() {\n" |
| " return this.column;\n" |
| " }\n" |
| " };\n" |
| " A.SourceLocationMixin.prototype = {\n" |
| " distance\$1(other) {\n" |
| " if (!J.\$eq\$(this.file.url, other.get\$sourceUrl()))\n" |
| " throw A.wrapException(A.ArgumentError\$('Source URLs \"' + A.S(this.get\$sourceUrl()) + '\" and \"' + A.S(other.get\$sourceUrl()) + \"\\\" don't match.\", null));\n" |
| " return Math.abs(this.offset - other.get\$offset());\n" |
| " },\n" |
| " compareTo\$1(_, other) {\n" |
| " type\$.SourceLocation._as(other);\n" |
| " if (!J.\$eq\$(this.file.url, other.get\$sourceUrl()))\n" |
| " throw A.wrapException(A.ArgumentError\$('Source URLs \"' + A.S(this.get\$sourceUrl()) + '\" and \"' + A.S(other.get\$sourceUrl()) + \"\\\" don't match.\", null));\n" |
| " return this.offset - other.get\$offset();\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return type\$.SourceLocation._is(other) && J.\$eq\$(this.file.url, other.get\$sourceUrl()) && this.offset === other.get\$offset();\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " var t1 = this.file.url;\n" |
| " t1 = t1 == null ? null : t1.get\$hashCode(t1);\n" |
| " if (t1 == null)\n" |
| " t1 = 0;\n" |
| " return t1 + this.offset;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " var t1 = A.getRuntimeTypeOfDartObject(this).toString\$0(0),\n" |
| " t2 = this.offset,\n" |
| " t3 = this.file,\n" |
| " source = t3.url;\n" |
| " return \"<\" + t1 + \": \" + t2 + \" \" + (A.S(source == null ? \"unknown source\" : source) + \":\" + (t3.getLine\$1(t2) + 1) + \":\" + (t3.getColumn\$1(t2) + 1)) + \">\";\n" |
| " },\n" |
| " \$isComparable: 1,\n" |
| " \$isSourceLocation: 1\n" |
| " };\n" |
| " A.SourceSpanBase.prototype = {\n" |
| " SourceSpanBase\$3(start, end, text) {\n" |
| " var t3,\n" |
| " t1 = this.end,\n" |
| " t2 = this.start;\n" |
| " if (!J.\$eq\$(t1.get\$sourceUrl(), t2.get\$sourceUrl()))\n" |
| " throw A.wrapException(A.ArgumentError\$('Source URLs \"' + A.S(t2.get\$sourceUrl()) + '\" and \"' + A.S(t1.get\$sourceUrl()) + \"\\\" don't match.\", null));\n" |
| " else if (t1.get\$offset() < t2.get\$offset())\n" |
| " throw A.wrapException(A.ArgumentError\$(\"End \" + t1.toString\$0(0) + \" must come after start \" + t2.toString\$0(0) + \".\", null));\n" |
| " else {\n" |
| " t3 = this.text;\n" |
| " if (t3.length !== t2.distance\$1(t1))\n" |
| " throw A.wrapException(A.ArgumentError\$('Text \"' + t3 + '\" must be ' + t2.distance\$1(t1) + \" characters long.\", null));\n" |
| " }\n" |
| " },\n" |
| " get\$start() {\n" |
| " return this.start;\n" |
| " },\n" |
| " get\$end() {\n" |
| " return this.end;\n" |
| " },\n" |
| " get\$text() {\n" |
| " return this.text;\n" |
| " }\n" |
| " };\n" |
| " A.SourceSpanException.prototype = {\n" |
| " get\$message() {\n" |
| " return this._span_exception\$_message;\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " var t3, t4, highlight,\n" |
| " t1 = this._span,\n" |
| " t2 = \"line \" + (t1.get\$start().get\$line() + 1) + \", column \" + (t1.get\$start().get\$column() + 1);\n" |
| " if (t1.get\$sourceUrl() != null) {\n" |
| " t3 = t1.get\$sourceUrl();\n" |
| " t4 = \$.\$get\$context();\n" |
| " t3.toString;\n" |
| " t3 = t2 + (\" of \" + t4.prettyUri\$1(t3));\n" |
| " t2 = t3;\n" |
| " }\n" |
| " t2 += \": \" + this._span_exception\$_message;\n" |
| " highlight = t1.highlight\$1\$color(null);\n" |
| " t1 = highlight.length !== 0 ? t2 + \"\\n\" + highlight : t2;\n" |
| " return \"Error on \" + (t1.charCodeAt(0) == 0 ? t1 : t1);\n" |
| " },\n" |
| " \$isException: 1\n" |
| " };\n" |
| " A.SourceSpanFormatException.prototype = {\n" |
| " get\$offset() {\n" |
| " var t1 = this._span;\n" |
| " t1 = A.FileLocation\$_(t1.file, t1._file\$_start);\n" |
| " return t1.offset;\n" |
| " },\n" |
| " \$isFormatException: 1,\n" |
| " get\$source() {\n" |
| " return this.source;\n" |
| " }\n" |
| " };\n" |
| " A.SourceSpanMixin.prototype = {\n" |
| " get\$sourceUrl() {\n" |
| " return this.get\$start().get\$sourceUrl();\n" |
| " },\n" |
| " get\$length(_) {\n" |
| " return this.get\$end().get\$offset() - this.get\$start().get\$offset();\n" |
| " },\n" |
| " compareTo\$1(_, other) {\n" |
| " var result;\n" |
| " type\$.SourceSpan._as(other);\n" |
| " result = this.get\$start().compareTo\$1(0, other.get\$start());\n" |
| " return result === 0 ? this.get\$end().compareTo\$1(0, other.get\$end()) : result;\n" |
| " },\n" |
| " highlight\$1\$color(color) {\n" |
| " var _this = this;\n" |
| " if (!type\$.SourceSpanWithContext._is(_this) && _this.get\$length(_this) === 0)\n" |
| " return \"\";\n" |
| " return A.Highlighter\$(_this, color).highlight\$0();\n" |
| " },\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return other instanceof A.SourceSpanMixin && this.get\$start().\$eq(0, other.get\$start()) && this.get\$end().\$eq(0, other.get\$end());\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Object_hash(this.get\$start(), this.get\$end(), B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue, B.C_SentinelValue);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " var _this = this;\n" |
| " return \"<\" + A.getRuntimeTypeOfDartObject(_this).toString\$0(0) + \": from \" + _this.get\$start().toString\$0(0) + \" to \" + _this.get\$end().toString\$0(0) + ' \"' + _this.get\$text() + '\">';\n" |
| " },\n" |
| " \$isComparable: 1,\n" |
| " \$isSourceSpan: 1\n" |
| " };\n" |
| " A.SourceSpanWithContext.prototype = {\n" |
| " get\$context() {\n" |
| " return this._context;\n" |
| " }\n" |
| " };\n" |
| " A.SseClient.prototype = {\n" |
| " SseClient\$2\$debugKey(serverUrl, debugKey) {\n" |
| " var t2, _this = this,\n" |
| " t1 = serverUrl + \"?sseClientId=\" + _this._clientId;\n" |
| " _this.__SseClient__serverUrl_A = t1;\n" |
| " t1 = A._asJSObject(new init.G.EventSource(t1, {withCredentials: true}));\n" |
| " _this.__SseClient__eventSource_A = t1;\n" |
| " new A._EventStream(t1, \"open\", false, type\$._EventStream_JSObject).get\$first(0).whenComplete\$1(new A.SseClient_closure(_this));\n" |
| " _this.__SseClient__eventSource_A.addEventListener(\"message\", A._functionToJS1(_this.get\$_onIncomingMessage()));\n" |
| " _this.__SseClient__eventSource_A.addEventListener(\"control\", A._functionToJS1(_this.get\$_onIncomingControlMessage()));\n" |
| " t1 = type\$.nullable_void_Function_JSObject;\n" |
| " t2 = type\$.JSObject;\n" |
| " A._EventStreamSubscription\$(_this.__SseClient__eventSource_A, \"open\", t1._as(new A.SseClient_closure0(_this)), false, t2);\n" |
| " A._EventStreamSubscription\$(_this.__SseClient__eventSource_A, \"error\", t1._as(new A.SseClient_closure1(_this)), false, t2);\n" |
| " },\n" |
| " close\$0() {\n" |
| " var _this = this,\n" |
| " t1 = _this.__SseClient__eventSource_A;\n" |
| " t1 === \$ && A.throwLateFieldNI(\"_eventSource\");\n" |
| " t1.close();\n" |
| " if ((_this._onConnected.future._state & 30) === 0) {\n" |
| " t1 = _this._outgoingController;\n" |
| " new A._ControllerStream(t1, A._instanceType(t1)._eval\$1(\"_ControllerStream<1>\")).listen\$2\$cancelOnError(null, true).asFuture\$1\$1(null, type\$.void);\n" |
| " }\n" |
| " _this._incomingController.close\$0();\n" |
| " _this._outgoingController.close\$0();\n" |
| " },\n" |
| " _closeWithError\$1(error) {\n" |
| " var _0_0, error0, stackTrace, t2,\n" |
| " t1 = this._incomingController;\n" |
| " if (t1._state >= 4)\n" |
| " A.throwExpression(t1._badEventState\$0());\n" |
| " _0_0 = A._interceptUserError(error, null);\n" |
| " error0 = _0_0.error;\n" |
| " stackTrace = _0_0.stackTrace;\n" |
| " t2 = t1._state;\n" |
| " if ((t2 & 1) !== 0)\n" |
| " t1._sendError\$2(error0, stackTrace);\n" |
| " else if ((t2 & 3) === 0)\n" |
| " t1._ensurePendingEvents\$0().add\$1(0, new A._DelayedError(error0, stackTrace));\n" |
| " this.close\$0();\n" |
| " t1 = this._onConnected;\n" |
| " if ((t1.future._state & 30) === 0)\n" |
| " t1.completeError\$1(error);\n" |
| " },\n" |
| " _onIncomingControlMessage\$1(message) {\n" |
| " var data = A._asJSObject(message).data;\n" |
| " if (J.\$eq\$(A.dartify(data), \"close\"))\n" |
| " this.close\$0();\n" |
| " else\n" |
| " throw A.wrapException(A.UnsupportedError\$(\"[\" + this._clientId + '] Illegal Control Message \"' + A.S(data) + '\"'));\n" |
| " },\n" |
| " _onIncomingMessage\$1(message) {\n" |
| " this._incomingController.add\$1(0, A._asString(B.C_JsonCodec.decode\$2\$reviver(A._asString(A._asJSObject(message).data), null)));\n" |
| " },\n" |
| " _onOutgoingDone\$0() {\n" |
| " this.close\$0();\n" |
| " },\n" |
| " _onOutgoingMessage\$1(message) {\n" |
| " return this._onOutgoingMessage\$body\$SseClient(A._asStringQ(message));\n" |
| " },\n" |
| " _onOutgoingMessage\$body\$SseClient(message) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$self = this, t1;\n" |
| " var \$async\$_onOutgoingMessage\$1 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = {};\n" |
| " t1.encodedMessage = null;\n" |
| " \$async\$goto = 2;\n" |
| " return A._asyncAwait(\$.\$get\$_requestPool().withResource\$1\$1(new A.SseClient__onOutgoingMessage_closure(t1, \$async\$self, message), type\$.Null), \$async\$_onOutgoingMessage\$1);\n" |
| " case 2:\n" |
| " // returning from await.\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_onOutgoingMessage\$1, \$async\$completer);\n" |
| " }\n" |
| " };\n" |
| " A.SseClient_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t2,\n" |
| " t1 = this.\$this;\n" |
| " t1._onConnected.complete\$0();\n" |
| " t2 = t1._outgoingController;\n" |
| " new A._ControllerStream(t2, A._instanceType(t2)._eval\$1(\"_ControllerStream<1>\")).listen\$2\$onDone(t1.get\$_onOutgoingMessage(), t1.get\$_onOutgoingDone());\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A.SseClient_closure0.prototype = {\n" |
| " call\$1(__wc0_formal) {\n" |
| " var t1 = this.\$this._errorTimer;\n" |
| " if (t1 != null)\n" |
| " t1.cancel\$0();\n" |
| " },\n" |
| " \$signature: 2\n" |
| " };\n" |
| " A.SseClient_closure1.prototype = {\n" |
| " call\$1(error) {\n" |
| " var t1 = this.\$this,\n" |
| " t2 = t1._errorTimer;\n" |
| " t2 = t2 == null ? null : t2.get\$isActive();\n" |
| " if (t2 !== true)\n" |
| " t1._errorTimer = A.Timer_Timer(B.Duration_5000000, new A.SseClient__closure(t1, error));\n" |
| " },\n" |
| " \$signature: 2\n" |
| " };\n" |
| " A.SseClient__closure.prototype = {\n" |
| " call\$0() {\n" |
| " this.\$this._closeWithError\$1(this.error);\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A.SseClient__onOutgoingMessage_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.Null),\n" |
| " \$async\$handler = 1, \$async\$errorStack = [], \$async\$self = this, e, e0, url, error, augmentedError, exception, t1, t2, \$async\$exception;\n" |
| " var \$async\$call\$0 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1) {\n" |
| " \$async\$errorStack.push(\$async\$result);\n" |
| " \$async\$goto = \$async\$handler;\n" |
| " }\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " try {\n" |
| " \$async\$self._box_0.encodedMessage = B.C_JsonCodec.encode\$2\$toEncodable(\$async\$self.message, null);\n" |
| " } catch (exception) {\n" |
| " t1 = A.unwrapException(exception);\n" |
| " if (t1 instanceof A.JsonUnsupportedObjectError) {\n" |
| " e = t1;\n" |
| " t1 = \$async\$self.\$this;\n" |
| " t1._logger.log\$4(B.Level_WARNING_900, \"[\" + t1._clientId + \"] Unable to encode outgoing message: \" + A.S(e), null, null);\n" |
| " } else if (t1 instanceof A.ArgumentError) {\n" |
| " e0 = t1;\n" |
| " t1 = \$async\$self.\$this;\n" |
| " t1._logger.log\$4(B.Level_WARNING_900, \"[\" + t1._clientId + \"] Invalid argument: \" + A.S(e0), null, null);\n" |
| " } else\n" |
| " throw exception;\n" |
| " }\n" |
| " \$async\$handler = 3;\n" |
| " t1 = \$async\$self.\$this;\n" |
| " t2 = t1.__SseClient__serverUrl_A;\n" |
| " t2 === \$ && A.throwLateFieldNI(\"_serverUrl\");\n" |
| " url = t2 + \"&messageId=\" + ++t1._lastMessageId;\n" |
| " t1 = \$async\$self._box_0.encodedMessage;\n" |
| " if (t1 == null)\n" |
| " t1 = null;\n" |
| " t1 = {method: \"POST\", body: t1, credentials: \"include\"};\n" |
| " \$async\$goto = 6;\n" |
| " return A._asyncAwait(A.promiseToFuture(A._asJSObject(A._asJSObject(init.G.window).fetch(url, t1)), type\$.JSObject), \$async\$call\$0);\n" |
| " case 6:\n" |
| " // returning from await.\n" |
| " \$async\$handler = 1;\n" |
| " // goto after finally\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " case 3:\n" |
| " // catch\n" |
| " \$async\$handler = 2;\n" |
| " \$async\$exception = \$async\$errorStack.pop();\n" |
| " error = A.unwrapException(\$async\$exception);\n" |
| " t1 = \$async\$self.\$this;\n" |
| " augmentedError = \"[\" + t1._clientId + \"] SSE client failed to send \" + A.S(\$async\$self.message) + \":\\n \" + A.S(error);\n" |
| " t1._logger.log\$4(B.Level_SEVERE_1000, augmentedError, null, null);\n" |
| " t1._closeWithError\$1(augmentedError);\n" |
| " // goto after finally\n" |
| " \$async\$goto = 5;\n" |
| " break;\n" |
| " case 2:\n" |
| " // uncaught\n" |
| " // goto rethrow\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 5:\n" |
| " // after finally\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " case 1:\n" |
| " // rethrow\n" |
| " return A._asyncRethrow(\$async\$errorStack.at(-1), \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$call\$0, \$async\$completer);\n" |
| " },\n" |
| " \$signature: 57\n" |
| " };\n" |
| " A.StreamChannelMixin.prototype = {};\n" |
| " A.StringScannerException.prototype = {\n" |
| " get\$source() {\n" |
| " return A._asString(this.source);\n" |
| " }\n" |
| " };\n" |
| " A.StringScanner.prototype = {\n" |
| " get\$lastMatch() {\n" |
| " var _this = this;\n" |
| " if (_this._string_scanner\$_position !== _this._lastMatchPosition)\n" |
| " _this._lastMatch = null;\n" |
| " return _this._lastMatch;\n" |
| " },\n" |
| " scan\$1(pattern) {\n" |
| " var success, _this = this,\n" |
| " t1 = _this._lastMatch = J.matchAsPrefix\$2\$s(pattern, _this.string, _this._string_scanner\$_position);\n" |
| " _this._lastMatchPosition = _this._string_scanner\$_position;\n" |
| " success = t1 != null;\n" |
| " if (success)\n" |
| " _this._lastMatchPosition = _this._string_scanner\$_position = t1.get\$end();\n" |
| " return success;\n" |
| " },\n" |
| " expect\$2\$name(pattern, \$name) {\n" |
| " var t1;\n" |
| " if (this.scan\$1(pattern))\n" |
| " return;\n" |
| " if (\$name == null)\n" |
| " if (pattern instanceof A.JSSyntaxRegExp)\n" |
| " \$name = \"/\" + pattern.pattern + \"/\";\n" |
| " else {\n" |
| " t1 = J.toString\$0\$(pattern);\n" |
| " t1 = A.stringReplaceAllUnchecked(t1, \"\\\\\", \"\\\\\\\\\");\n" |
| " \$name = '\"' + A.stringReplaceAllUnchecked(t1, '\"', '\\\\\"') + '\"';\n" |
| " }\n" |
| " this._fail\$1(\$name);\n" |
| " },\n" |
| " expect\$1(pattern) {\n" |
| " return this.expect\$2\$name(pattern, null);\n" |
| " },\n" |
| " expectDone\$0() {\n" |
| " if (this._string_scanner\$_position === this.string.length)\n" |
| " return;\n" |
| " this._fail\$1(\"no more input\");\n" |
| " },\n" |
| " error\$3\$length\$position(message, \$length, position) {\n" |
| " var t2, t3, end, sourceFile, end0,\n" |
| " t1 = this.string;\n" |
| " if (position < 0)\n" |
| " A.throwExpression(A.RangeError\$(\"position must be greater than or equal to 0.\"));\n" |
| " else if (position > t1.length)\n" |
| " A.throwExpression(A.RangeError\$(\"position must be less than or equal to the string length.\"));\n" |
| " t2 = position + \$length > t1.length;\n" |
| " if (t2)\n" |
| " A.throwExpression(A.RangeError\$(\"position plus length must not go beyond the end of the string.\"));\n" |
| " t2 = this.sourceUrl;\n" |
| " t3 = A._setArrayType([0], type\$.JSArray_int);\n" |
| " end = t1.length;\n" |
| " sourceFile = new A.SourceFile(t2, t3, new Uint32Array(end));\n" |
| " sourceFile.SourceFile\$_fromList\$2\$url(new A.CodeUnits(t1), t2);\n" |
| " end0 = position + \$length;\n" |
| " if (end0 > end)\n" |
| " A.throwExpression(A.RangeError\$(\"End \" + end0 + string\$.x20must_ + sourceFile.get\$length(0) + \".\"));\n" |
| " else if (position < 0)\n" |
| " A.throwExpression(A.RangeError\$(\"Start may not be negative, was \" + position + \".\"));\n" |
| " throw A.wrapException(new A.StringScannerException(t1, message, new A._FileSpan(sourceFile, position, end0)));\n" |
| " },\n" |
| " _fail\$1(\$name) {\n" |
| " this.error\$3\$length\$position(\"expected \" + \$name + \".\", 0, this._string_scanner\$_position);\n" |
| " }\n" |
| " };\n" |
| " A.EventStreamProvider.prototype = {};\n" |
| " A._EventStream.prototype = {\n" |
| " listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, onError) {\n" |
| " var t1 = this.\$ti;\n" |
| " t1._eval\$1(\"~(1)?\")._as(onData);\n" |
| " type\$.nullable_void_Function._as(onDone);\n" |
| " return A._EventStreamSubscription\$(this._target, this._eventType, onData, false, t1._precomputed1);\n" |
| " },\n" |
| " listen\$3\$onDone\$onError(onData, onDone, onError) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, null, onDone, onError);\n" |
| " },\n" |
| " listen\$3\$cancelOnError\$onDone(onData, cancelOnError, onDone) {\n" |
| " return this.listen\$4\$cancelOnError\$onDone\$onError(onData, cancelOnError, onDone, null);\n" |
| " }\n" |
| " };\n" |
| " A._EventStreamSubscription.prototype = {\n" |
| " cancel\$0() {\n" |
| " var _this = this,\n" |
| " emptyFuture = A.Future_Future\$value(null, type\$.void);\n" |
| " if (_this._target == null)\n" |
| " return emptyFuture;\n" |
| " _this._unlisten\$0();\n" |
| " _this._onData = _this._target = null;\n" |
| " return emptyFuture;\n" |
| " },\n" |
| " onData\$1(handleData) {\n" |
| " var t1, _this = this;\n" |
| " _this.\$ti._eval\$1(\"~(1)?\")._as(handleData);\n" |
| " if (_this._target == null)\n" |
| " throw A.wrapException(A.StateError\$(\"Subscription has been canceled.\"));\n" |
| " _this._unlisten\$0();\n" |
| " t1 = A._wrapZone(new A._EventStreamSubscription_onData_closure(handleData), type\$.JSObject);\n" |
| " t1 = t1 == null ? null : A._functionToJS1(t1);\n" |
| " _this._onData = t1;\n" |
| " _this._tryResume\$0();\n" |
| " },\n" |
| " onError\$1(handleError) {\n" |
| " },\n" |
| " pause\$1(resumeSignal) {\n" |
| " if (this._target == null)\n" |
| " return;\n" |
| " ++this._pauseCount;\n" |
| " this._unlisten\$0();\n" |
| " },\n" |
| " pause\$0() {\n" |
| " return this.pause\$1(null);\n" |
| " },\n" |
| " resume\$0() {\n" |
| " var _this = this;\n" |
| " if (_this._target == null || _this._pauseCount <= 0)\n" |
| " return;\n" |
| " --_this._pauseCount;\n" |
| " _this._tryResume\$0();\n" |
| " },\n" |
| " _tryResume\$0() {\n" |
| " var _this = this,\n" |
| " t1 = _this._onData;\n" |
| " if (t1 != null && _this._pauseCount <= 0)\n" |
| " _this._target.addEventListener(_this._eventType, t1, false);\n" |
| " },\n" |
| " _unlisten\$0() {\n" |
| " var t1 = this._onData;\n" |
| " if (t1 != null)\n" |
| " this._target.removeEventListener(this._eventType, t1, false);\n" |
| " },\n" |
| " \$isStreamSubscription: 1\n" |
| " };\n" |
| " A._EventStreamSubscription_closure.prototype = {\n" |
| " call\$1(e) {\n" |
| " return this.onData.call\$1(A._asJSObject(e));\n" |
| " },\n" |
| " \$signature: 2\n" |
| " };\n" |
| " A._EventStreamSubscription_onData_closure.prototype = {\n" |
| " call\$1(e) {\n" |
| " return this.handleData.call\$1(A._asJSObject(e));\n" |
| " },\n" |
| " \$signature: 2\n" |
| " };\n" |
| " A.BrowserWebSocket.prototype = {\n" |
| " _closed\$2(code, reason) {\n" |
| " var t1 = this._events;\n" |
| " if ((t1._state & 4) !== 0)\n" |
| " return;\n" |
| " t1.add\$1(0, new A.CloseReceived(code, reason));\n" |
| " t1.close\$0();\n" |
| " },\n" |
| " \$isWebSocket: 1\n" |
| " };\n" |
| " A.BrowserWebSocket_connect_closure.prototype = {\n" |
| " call\$1(_) {\n" |
| " A._asJSObject(_);\n" |
| " this.webSocketConnected.complete\$1(this.browserSocket);\n" |
| " },\n" |
| " \$signature: 13\n" |
| " };\n" |
| " A.BrowserWebSocket_connect_closure0.prototype = {\n" |
| " call\$1(e) {\n" |
| " var t1;\n" |
| " A._asJSObject(e);\n" |
| " t1 = this.webSocketConnected;\n" |
| " if ((t1.future._state & 30) === 0)\n" |
| " t1.completeError\$1(new A.WebSocketException(\"Failed to connect WebSocket\"));\n" |
| " else\n" |
| " this.browserSocket._closed\$2(1006, \"error\");\n" |
| " },\n" |
| " \$signature: 13\n" |
| " };\n" |
| " A.BrowserWebSocket_connect_closure1.prototype = {\n" |
| " call\$1(e) {\n" |
| " var t2, data,\n" |
| " t1 = this.browserSocket._events;\n" |
| " if ((t1._state & 4) !== 0)\n" |
| " return;\n" |
| " t2 = e.data;\n" |
| " t2.toString;\n" |
| " data = A._Cell\$named(\"data\");\n" |
| " if (typeof t2 === \"string\")\n" |
| " data.__late_helper\$_value = new A.TextDataReceived(A._asString(t2));\n" |
| " else if (typeof t2 === \"object\" && A.JSAnyUtilityExtension_instanceOfString(A._asJSObject(t2), \"ArrayBuffer\"))\n" |
| " data.__late_helper\$_value = new A.BinaryDataReceived(A.NativeUint8List_NativeUint8List\$view(type\$.NativeArrayBuffer._as(t2), 0, null));\n" |
| " else\n" |
| " throw A.wrapException(A.StateError\$(\"unexpected message type: \" + J.get\$runtimeType\$(t2).toString\$0(0)));\n" |
| " t1.add\$1(0, data._readLocal\$0());\n" |
| " },\n" |
| " \$signature: 2\n" |
| " };\n" |
| " A.BrowserWebSocket_connect_closure2.prototype = {\n" |
| " call\$1(\$event) {\n" |
| " var t1;\n" |
| " A._asJSObject(\$event);\n" |
| " t1 = this.webSocketConnected;\n" |
| " if ((t1.future._state & 30) === 0)\n" |
| " t1.complete\$1(this.browserSocket);\n" |
| " this.browserSocket._closed\$2(A._asInt(\$event.code), A._asString(\$event.reason));\n" |
| " },\n" |
| " \$signature: 13\n" |
| " };\n" |
| " A.WebSocketEvent.prototype = {};\n" |
| " A.TextDataReceived.prototype = {\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return other instanceof A.TextDataReceived && other.text === this.text;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return B.JSString_methods.get\$hashCode(this.text);\n" |
| " }\n" |
| " };\n" |
| " A.BinaryDataReceived.prototype = {\n" |
| " \$eq(_, other) {\n" |
| " var t1, t2, t3, t4, i;\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " if (other instanceof A.BinaryDataReceived && other.data.length === this.data.length) {\n" |
| " for (t1 = this.data, t2 = t1.length, t3 = other.data, t4 = t3.length, i = 0; i < t2; ++i) {\n" |
| " if (!(i < t4))\n" |
| " return A.ioore(t3, i);\n" |
| " if (t3[i] !== t1[i])\n" |
| " return false;\n" |
| " }\n" |
| " return true;\n" |
| " }\n" |
| " return false;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Primitives_objectHashCode(this.data);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"BinaryDataReceived(\" + A.S(this.data) + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.CloseReceived.prototype = {\n" |
| " \$eq(_, other) {\n" |
| " if (other == null)\n" |
| " return false;\n" |
| " return other instanceof A.CloseReceived && other.code === this.code && other.reason === this.reason;\n" |
| " },\n" |
| " get\$hashCode(_) {\n" |
| " return A.Primitives_objectHashCode([this.code, this.reason]);\n" |
| " },\n" |
| " toString\$0(_) {\n" |
| " return \"CloseReceived(\" + this.code + \", \" + this.reason + \")\";\n" |
| " }\n" |
| " };\n" |
| " A.WebSocketException.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var t1 = this.message;\n" |
| " if (t1.length === 0)\n" |
| " return \"WebSocketException\";\n" |
| " else\n" |
| " return \"WebSocketException: \" + t1;\n" |
| " },\n" |
| " \$isException: 1\n" |
| " };\n" |
| " A.WebSocketConnectionClosed.prototype = {\n" |
| " toString\$0(_) {\n" |
| " var t1 = this.message;\n" |
| " if (t1.length === 0)\n" |
| " return \"WebSocketConnectionClosed\";\n" |
| " else\n" |
| " return \"WebSocketConnectionClosed: \" + t1;\n" |
| " }\n" |
| " };\n" |
| " A.main_closure.prototype = {\n" |
| " call\$0() {\n" |
| " return this.\$call\$body\$main_closure();\n" |
| " },\n" |
| " \$call\$body\$main_closure() {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " storedInstanceId, t2, t3, uri, fixedPath, fixedUri, client, _0_0, manager, t4, t5, debugEventController, t6, _box_0, t1, \$async\$temp1;\n" |
| " var \$async\$call\$0 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " _box_0 = {};\n" |
| " t1 = init.G;\n" |
| " if (A._asStringQ(t1.\$dartAppInstanceId) == null) {\n" |
| " storedInstanceId = A._asStringQ(A._asJSObject(A._asJSObject(t1.window).sessionStorage).getItem(\"dartAppInstanceId\"));\n" |
| " if (storedInstanceId != null)\n" |
| " t1.\$dartAppInstanceId = storedInstanceId;\n" |
| " else {\n" |
| " t1.\$dartAppInstanceId = B.C_Uuid.v4\$0();\n" |
| " t2 = A._asJSObject(A._asJSObject(t1.window).sessionStorage);\n" |
| " t3 = A._asStringQ(t1.\$dartAppInstanceId);\n" |
| " t3.toString;\n" |
| " t2.setItem(\"dartAppInstanceId\", t3);\n" |
| " }\n" |
| " }\n" |
| " uri = A.Uri_parse(A._asString(t1.\$dwdsDevHandlerPath));\n" |
| " if (A._asString(A._asJSObject(A._asJSObject(t1.window).location).protocol) === \"https:\" && uri.get\$scheme() === \"http\" && uri.get\$host() !== \"localhost\")\n" |
| " uri = uri.replace\$1\$scheme(\"https\");\n" |
| " else if (A._asString(A._asJSObject(A._asJSObject(t1.window).location).protocol) === \"wss:\" && uri.get\$scheme() === \"ws\" && uri.get\$host() !== \"localhost\")\n" |
| " uri = uri.replace\$1\$scheme(\"wss\");\n" |
| " fixedPath = uri.toString\$0(0);\n" |
| " fixedUri = A.Uri_parse(fixedPath);\n" |
| " \$async\$goto = fixedUri.isScheme\$1(\"ws\") || fixedUri.isScheme\$1(\"wss\") ? 2 : 4;\n" |
| " break;\n" |
| " case 2:\n" |
| " // then\n" |
| " \$async\$temp1 = A;\n" |
| " \$async\$goto = 5;\n" |
| " return A._asyncAwait(A.PersistentWebSocket_connect(fixedUri, A.client__initializeConnection\$closure()), \$async\$call\$0);\n" |
| " case 5:\n" |
| " // returning from await.\n" |
| " \$async\$result = new \$async\$temp1.WebSocketClient(\$async\$result);\n" |
| " // goto join\n" |
| " \$async\$goto = 3;\n" |
| " break;\n" |
| " case 4:\n" |
| " // else\n" |
| " \$async\$result = new A.SseSocketClient(A.SseClient\$(fixedPath, \"InjectedClient\"));\n" |
| " case 3:\n" |
| " // join\n" |
| " client = \$async\$result;\n" |
| " _0_0 = A._asString(t1.\$dartModuleStrategy);\n" |
| " \$async\$goto = \"require-js\" === _0_0 ? 7 : 8;\n" |
| " break;\n" |
| " case 7:\n" |
| " // then\n" |
| " \$async\$goto = 9;\n" |
| " return A._asyncAwait(A.RequireRestarter_create(), \$async\$call\$0);\n" |
| " case 9:\n" |
| " // returning from await.\n" |
| " t2 = \$async\$result;\n" |
| " // goto break \$label0\$0\n" |
| " \$async\$goto = 6;\n" |
| " break;\n" |
| " case 8:\n" |
| " // join\n" |
| " if (\"ddc-library-bundle\" === _0_0) {\n" |
| " t2 = new A.DdcLibraryBundleRestarter();\n" |
| " // goto break \$label0\$0\n" |
| " \$async\$goto = 6;\n" |
| " break;\n" |
| " }\n" |
| " if (\"ddc\" === _0_0 || \"legacy\" === _0_0) {\n" |
| " t2 = new A.DdcRestarter();\n" |
| " // goto break \$label0\$0\n" |
| " \$async\$goto = 6;\n" |
| " break;\n" |
| " }\n" |
| " t2 = A.throwExpression(A.StateError\$(\"Unknown module strategy: \" + A.S(A.getProperty(A.staticInteropGlobalContext(), \"\$dartModuleStrategy\", type\$.String))));\n" |
| " case 6:\n" |
| " // break \$label0\$0\n" |
| " manager = new A.ReloadingManager(client, t2);\n" |
| " t1.\$dartHotReloadStartDwds = A._functionToJS0(new A.main__closure(manager));\n" |
| " t1.\$dartHotReloadEndDwds = A._functionToJS0(new A.main__closure0(manager));\n" |
| " _box_0.readyToRunMainCompleter = null;\n" |
| " t1.\$dartHotRestartDwds = A._functionToJS2(new A.main__closure1(_box_0, manager));\n" |
| " t1.\$dartRequestHotRestartDwds = A._functionToJS1(new A.main__closure2(client));\n" |
| " t1.\$dartReadyToRunMain = A._functionToJS0(new A.main__closure3(_box_0));\n" |
| " t2 = \$.Zone__current;\n" |
| " t3 = Math.max(100, 1);\n" |
| " t4 = A.StreamController_StreamController(type\$.DebugEvent);\n" |
| " t5 = A.StreamController_StreamController(type\$.List_DebugEvent);\n" |
| " debugEventController = new A.BatchedStreamController(t3, 1000, t4, t5, new A._AsyncCompleter(new A._Future(t2, type\$._Future_bool), type\$._AsyncCompleter_bool), type\$.BatchedStreamController_DebugEvent);\n" |
| " t2 = A.List_List\$filled(A.QueueList__computeInitialCapacity(null), null, false, type\$.nullable_Result_DebugEvent);\n" |
| " t3 = A.ListQueue\$(type\$._EventRequest_dynamic);\n" |
| " t6 = type\$.StreamQueue_DebugEvent;\n" |
| " debugEventController.__BatchedStreamController__inputQueue_A = t6._as(new A.StreamQueue(new A._ControllerStream(t4, A._instanceType(t4)._eval\$1(\"_ControllerStream<1>\")), new A.QueueList(t2, 0, 0, type\$.QueueList_Result_DebugEvent), t3, t6));\n" |
| " A.safeUnawaited(debugEventController._batchAndSendEvents\$0());\n" |
| " new A._ControllerStream(t5, A._instanceType(t5)._eval\$1(\"_ControllerStream<1>\")).listen\$1(new A.main__closure4(client));\n" |
| " t1.\$emitDebugEvent = A._functionToJS2(new A.main__closure5(debugEventController));\n" |
| " t1.\$emitRegisterEvent = A._functionToJS1(new A.main__closure6(client));\n" |
| " t1.\$launchDevTools = A._functionToJS0(new A.main__closure7(client));\n" |
| " _box_0.mainRun = false;\n" |
| " client.get\$stream().listen\$2\$onError(new A.main__closure8(_box_0, manager, client), new A.main__closure9());\n" |
| " if (A._asBool(t1.\$dwdsEnableDevToolsLaunch))\n" |
| " A._EventStreamSubscription\$(A._asJSObject(t1.window), \"keydown\", type\$.nullable_void_Function_JSObject._as(new A.main__closure10()), false, type\$.JSObject);\n" |
| " A.initializeConnection(client.get\$sink());\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$call\$0, \$async\$completer);\n" |
| " },\n" |
| " \$signature: 5\n" |
| " };\n" |
| " A.main__closure.prototype = {\n" |
| " call\$0() {\n" |
| " var path = A._asStringQ(init.G.\$reloadedSourcesPath);\n" |
| " path.toString;\n" |
| " return A.FutureOfJSAnyToJSPromise_get_toJS(this.manager._restarter.hotReloadStart\$1(path), type\$.JSArray_nullable_Object);\n" |
| " },\n" |
| " \$signature: 7\n" |
| " };\n" |
| " A.main__closure0.prototype = {\n" |
| " call\$0() {\n" |
| " return A.FutureOfVoidToJSPromise_get_toJS(this.manager.hotReloadEnd\$0());\n" |
| " },\n" |
| " \$signature: 7\n" |
| " };\n" |
| " A.main__closure1.prototype = {\n" |
| " call\$2(runId, pauseIsolatesOnStart) {\n" |
| " var t1, t2, t3, t4;\n" |
| " A._asString(runId);\n" |
| " A._asBoolQ(pauseIsolatesOnStart);\n" |
| " t1 = this.manager;\n" |
| " t2 = init.G;\n" |
| " t3 = type\$.nullable_JSArray_nullable_Object;\n" |
| " if (pauseIsolatesOnStart === true) {\n" |
| " t4 = new A._Future(\$.Zone__current, type\$._Future_dynamic);\n" |
| " this._box_0.readyToRunMainCompleter = new A._AsyncCompleter(t4, type\$._AsyncCompleter_dynamic);\n" |
| " return A.FutureOfJSAnyToJSPromise_get_toJS(t1.hotRestart\$3\$readyToRunMain\$reloadedSourcesPath\$runId(t4, A._asStringQ(t2.\$reloadedSourcesPath), runId), t3);\n" |
| " } else\n" |
| " return A.FutureOfJSAnyToJSPromise_get_toJS(t1.hotRestart\$2\$reloadedSourcesPath\$runId(A._asStringQ(t2.\$reloadedSourcesPath), runId), t3);\n" |
| " },\n" |
| " call\$1(runId) {\n" |
| " return this.call\$2(runId, null);\n" |
| " },\n" |
| " \$signature: 60\n" |
| " };\n" |
| " A.main__closure2.prototype = {\n" |
| " call\$1(runId) {\n" |
| " var t1;\n" |
| " A._asString(runId);\n" |
| " t1 = type\$.dynamic;\n" |
| " A._trySendEvent(this.client.get\$sink(), B.C_JsonCodec.encode\$2\$toEncodable(A._setArrayType([\"HotRestartRequest\", A.LinkedHashMap_LinkedHashMap\$_literal([\"id\", runId], type\$.String, t1)], type\$.JSArray_Object), null), t1);\n" |
| " },\n" |
| " \$signature: 17\n" |
| " };\n" |
| " A.main__closure3.prototype = {\n" |
| " call\$0() {\n" |
| " var t1 = this._box_0,\n" |
| " t2 = t1.readyToRunMainCompleter;\n" |
| " if (t2 == null)\n" |
| " return;\n" |
| " if ((t2.future._state & 30) !== 0)\n" |
| " return;\n" |
| " t2.complete\$0();\n" |
| " t1.readyToRunMainCompleter = null;\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A.main__closure4.prototype = {\n" |
| " call\$1(events) {\n" |
| " type\$.List_DebugEvent._as(events);\n" |
| " if (A._asBool(init.G.\$dartEmitDebugEvents))\n" |
| " A._trySendEvent(this.client.get\$sink(), B.C_JsonCodec.encode\$2\$toEncodable(A._setArrayType([\"BatchedDebugEvents\", new A.BatchedDebugEvents(events).toJson\$0()], type\$.JSArray_Object), null), type\$.dynamic);\n" |
| " },\n" |
| " \$signature: 62\n" |
| " };\n" |
| " A.main__closure5.prototype = {\n" |
| " call\$2(kind, eventData) {\n" |
| " var t1;\n" |
| " A._asString(kind);\n" |
| " A._asString(eventData);\n" |
| " if (A._asBool(init.G.\$dartEmitDebugEvents)) {\n" |
| " t1 = this.debugEventController._inputController;\n" |
| " A._trySendEvent(new A._StreamSinkWrapper(t1, A._instanceType(t1)._eval\$1(\"_StreamSinkWrapper<1>\")), new A.DebugEvent(kind, eventData, Date.now()), type\$.DebugEvent);\n" |
| " }\n" |
| " },\n" |
| " \$signature: 63\n" |
| " };\n" |
| " A.main__closure6.prototype = {\n" |
| " call\$1(eventData) {\n" |
| " A._asString(eventData);\n" |
| " A._trySendEvent(this.client.get\$sink(), B.C_JsonCodec.encode\$2\$toEncodable(A._setArrayType([\"RegisterEvent\", new A.RegisterEvent(eventData, Date.now()).toJson\$0()], type\$.JSArray_Object), null), type\$.dynamic);\n" |
| " },\n" |
| " \$signature: 17\n" |
| " };\n" |
| " A.main__closure7.prototype = {\n" |
| " call\$0() {\n" |
| " var t1, t2, t3;\n" |
| " if (!A._isChromium()) {\n" |
| " A._asJSObject(init.G.window).alert(\"Dart DevTools is only supported on Chromium based browsers.\");\n" |
| " return;\n" |
| " }\n" |
| " t1 = this.client.get\$sink();\n" |
| " t2 = init.G;\n" |
| " t3 = A._asString(t2.\$dartAppId);\n" |
| " t2 = A._asStringQ(t2.\$dartAppInstanceId);\n" |
| " t2.toString;\n" |
| " A._trySendEvent(t1, B.C_JsonCodec.encode\$2\$toEncodable(new A.DevToolsRequest(t3, t2), null), type\$.dynamic);\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A.main__closure8.prototype = {\n" |
| " call\$1(serialized) {\n" |
| " return this.\$call\$body\$main__closure(A._asString(serialized));\n" |
| " },\n" |
| " \$call\$body\$main__closure(serialized) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$self = this, t1, t2, path, \$alert, \$event;\n" |
| " var \$async\$call\$1 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " \$event = A._deserializeEvent(B.C_JsonCodec.decode\$2\$reviver(serialized, null));\n" |
| " \$async\$goto = \$event instanceof A.BuildResult ? 2 : 4;\n" |
| " break;\n" |
| " case 2:\n" |
| " // then\n" |
| " t1 = init.G;\n" |
| " \$async\$goto = A._asString(t1.\$dartReloadConfiguration) === \"ReloadConfiguration.liveReload\" ? 5 : 7;\n" |
| " break;\n" |
| " case 5:\n" |
| " // then\n" |
| " A._asJSObject(A._asJSObject(t1.window).location).reload();\n" |
| " // goto join\n" |
| " \$async\$goto = 6;\n" |
| " break;\n" |
| " case 7:\n" |
| " // else\n" |
| " \$async\$goto = A._asString(t1.\$dartReloadConfiguration) === \"ReloadConfiguration.hotRestart\" ? 8 : 10;\n" |
| " break;\n" |
| " case 8:\n" |
| " // then\n" |
| " \$async\$goto = 11;\n" |
| " return A._asyncAwait(\$async\$self.manager.hotRestart\$1\$reloadedSourcesPath(A._asStringQ(t1.\$reloadedSourcesPath)), \$async\$call\$1);\n" |
| " case 11:\n" |
| " // returning from await.\n" |
| " // goto join\n" |
| " \$async\$goto = 9;\n" |
| " break;\n" |
| " case 10:\n" |
| " // else\n" |
| " \$async\$goto = A._asString(t1.\$dartReloadConfiguration) === \"ReloadConfiguration.hotReload\" ? 12 : 13;\n" |
| " break;\n" |
| " case 12:\n" |
| " // then\n" |
| " t2 = \$async\$self.manager;\n" |
| " path = A._asStringQ(t1.\$reloadedSourcesPath);\n" |
| " path.toString;\n" |
| " \$async\$goto = 14;\n" |
| " return A._asyncAwait(t2._restarter.hotReloadStart\$1(path), \$async\$call\$1);\n" |
| " case 14:\n" |
| " // returning from await.\n" |
| " \$async\$goto = 15;\n" |
| " return A._asyncAwait(t2.hotReloadEnd\$0(), \$async\$call\$1);\n" |
| " case 15:\n" |
| " // returning from await.\n" |
| " case 13:\n" |
| " // join\n" |
| " case 9:\n" |
| " // join\n" |
| " case 6:\n" |
| " // join\n" |
| " // goto join\n" |
| " \$async\$goto = 3;\n" |
| " break;\n" |
| " case 4:\n" |
| " // else\n" |
| " \$async\$goto = \$event instanceof A.DevToolsResponse ? 16 : 18;\n" |
| " break;\n" |
| " case 16:\n" |
| " // then\n" |
| " if (!\$event.success) {\n" |
| " \$alert = \"DevTools failed to open with:\\n\" + A.S(\$event.error);\n" |
| " t1 = \$event.promptExtension && A._asBool(A._asJSObject(init.G.window).confirm(\$alert));\n" |
| " t2 = init.G;\n" |
| " if (t1)\n" |
| " A._asJSObjectQ(A._asJSObject(t2.window).open(\"https://dart.dev/to/web-debug-extension\", \"_blank\"));\n" |
| " else\n" |
| " A._asJSObject(t2.window).alert(\$alert);\n" |
| " }\n" |
| " // goto join\n" |
| " \$async\$goto = 17;\n" |
| " break;\n" |
| " case 18:\n" |
| " // else\n" |
| " \$async\$goto = \$event instanceof A.RunRequest ? 19 : 21;\n" |
| " break;\n" |
| " case 19:\n" |
| " // then\n" |
| " t1 = \$async\$self._box_0;\n" |
| " if (!t1.mainRun) {\n" |
| " t1.mainRun = true;\n" |
| " A.runMain();\n" |
| " }\n" |
| " // goto join\n" |
| " \$async\$goto = 20;\n" |
| " break;\n" |
| " case 21:\n" |
| " // else\n" |
| " \$async\$goto = \$event instanceof A.ErrorResponse ? 22 : 24;\n" |
| " break;\n" |
| " case 22:\n" |
| " // then\n" |
| " A._asJSObject(init.G.window).reportError(\"Error from backend:\\n\\nError: \" + \$event.error + \"\\n\\nStack Trace:\\n\" + \$event.stackTrace);\n" |
| " // goto join\n" |
| " \$async\$goto = 23;\n" |
| " break;\n" |
| " case 24:\n" |
| " // else\n" |
| " \$async\$goto = \$event instanceof A.HotReloadRequest ? 25 : 27;\n" |
| " break;\n" |
| " case 25:\n" |
| " // then\n" |
| " \$async\$goto = 28;\n" |
| " return A._asyncAwait(A.handleWebSocketHotReloadRequest(\$event, \$async\$self.manager, \$async\$self.client.get\$sink()), \$async\$call\$1);\n" |
| " case 28:\n" |
| " // returning from await.\n" |
| " // goto join\n" |
| " \$async\$goto = 26;\n" |
| " break;\n" |
| " case 27:\n" |
| " // else\n" |
| " \$async\$goto = \$event instanceof A.HotRestartRequest ? 29 : 31;\n" |
| " break;\n" |
| " case 29:\n" |
| " // then\n" |
| " \$async\$goto = 32;\n" |
| " return A._asyncAwait(A.handleWebSocketHotRestartRequest(\$event, \$async\$self.manager, \$async\$self.client.get\$sink()), \$async\$call\$1);\n" |
| " case 32:\n" |
| " // returning from await.\n" |
| " // goto join\n" |
| " \$async\$goto = 30;\n" |
| " break;\n" |
| " case 31:\n" |
| " // else\n" |
| " \$async\$goto = \$event instanceof A.ServiceExtensionRequest ? 33 : 34;\n" |
| " break;\n" |
| " case 33:\n" |
| " // then\n" |
| " \$async\$goto = 35;\n" |
| " return A._asyncAwait(A.handleServiceExtensionRequest(\$event, \$async\$self.client.get\$sink(), \$async\$self.manager), \$async\$call\$1);\n" |
| " case 35:\n" |
| " // returning from await.\n" |
| " case 34:\n" |
| " // join\n" |
| " case 30:\n" |
| " // join\n" |
| " case 26:\n" |
| " // join\n" |
| " case 23:\n" |
| " // join\n" |
| " case 20:\n" |
| " // join\n" |
| " case 17:\n" |
| " // join\n" |
| " case 3:\n" |
| " // join\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$call\$1, \$async\$completer);\n" |
| " },\n" |
| " \$signature: 22\n" |
| " };\n" |
| " A.main__closure9.prototype = {\n" |
| " call\$1(error) {\n" |
| " },\n" |
| " \$signature: 8\n" |
| " };\n" |
| " A.main__closure10.prototype = {\n" |
| " call\$1(e) {\n" |
| " var t1 = A.JSAnyUtilityExtension_instanceOfString(e, \"KeyboardEvent\");\n" |
| " if (t1)\n" |
| " if (B.JSArray_methods.contains\$1(B.List_fAJ, A._asString(e.key)) && A._asBool(e.altKey) && !A._asBool(e.ctrlKey) && !A._asBool(e.metaKey)) {\n" |
| " e.preventDefault();\n" |
| " type\$.JavaScriptFunction._as(init.G.\$launchDevTools).call();\n" |
| " }\n" |
| " },\n" |
| " \$signature: 2\n" |
| " };\n" |
| " A.main_closure0.prototype = {\n" |
| " call\$2(error, stackTrace) {\n" |
| " A._asObject(error);\n" |
| " type\$.StackTrace._as(stackTrace);\n" |
| " A.print(\"Unhandled error detected in the injected client.js script.\\n\\nYou can disable this script in webdev by passing --no-injected-client if it\\nis preventing your app from loading, but note that this will also prevent\\nall debugging and hot reload/restart functionality from working.\\n\\nThe original error is below, please file an issue at\\nhttps://github.com/dart-lang/webdev/issues/new and attach this output:\\n\\n\" + A.S(error) + \"\\n\" + stackTrace.toString\$0(0) + \"\\n\");\n" |
| " },\n" |
| " \$signature: 6\n" |
| " };\n" |
| " A._handleAuthRequest_closure.prototype = {\n" |
| " call\$1(isAuthenticated) {\n" |
| " return A._dispatchEvent(\"dart-auth-response\", \"\" + A._asBool(isAuthenticated));\n" |
| " },\n" |
| " \$signature: 64\n" |
| " };\n" |
| " A._sendHotReloadResponse_closure.prototype = {\n" |
| " call\$3(id, success, errorMessage) {\n" |
| " return new A.HotReloadResponse(id, success, errorMessage);\n" |
| " },\n" |
| " \$signature: 65\n" |
| " };\n" |
| " A._sendHotRestartResponse_closure.prototype = {\n" |
| " call\$3(id, success, errorMessage) {\n" |
| " return new A.HotRestartResponse(id, success, errorMessage);\n" |
| " },\n" |
| " \$signature: 66\n" |
| " };\n" |
| " A.DdcLibraryBundleRestarter.prototype = {\n" |
| " _runMainWhenReady\$2(readyToRunMain, runMain) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void);\n" |
| " var \$async\$_runMainWhenReady\$2 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " \$async\$goto = readyToRunMain != null ? 2 : 3;\n" |
| " break;\n" |
| " case 2:\n" |
| " // then\n" |
| " \$async\$goto = 4;\n" |
| " return A._asyncAwait(readyToRunMain, \$async\$_runMainWhenReady\$2);\n" |
| " case 4:\n" |
| " // returning from await.\n" |
| " case 3:\n" |
| " // join\n" |
| " runMain.call();\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_runMainWhenReady\$2, \$async\$completer);\n" |
| " },\n" |
| " _getSrcModuleLibraries\$1(reloadedSourcesPath) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.List_Map_dynamic_dynamic),\n" |
| " \$async\$returnValue, t1, xhr, \$async\$temp1, \$async\$temp2, \$async\$temp3;\n" |
| " var \$async\$_getSrcModuleLibraries\$1 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = new A._Future(\$.Zone__current, type\$._Future_String);\n" |
| " xhr = A._asJSObject(new init.G.XMLHttpRequest());\n" |
| " xhr.onreadystatechange = A._functionToJS0(new A.DdcLibraryBundleRestarter__getSrcModuleLibraries_closure(xhr, new A._AsyncCompleter(t1, type\$._AsyncCompleter_String), reloadedSourcesPath));\n" |
| " xhr.open(\"GET\", reloadedSourcesPath, true);\n" |
| " xhr.send();\n" |
| " \$async\$temp1 = J;\n" |
| " \$async\$temp2 = type\$.List_dynamic;\n" |
| " \$async\$temp3 = B.C_JsonCodec;\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(t1, \$async\$_getSrcModuleLibraries\$1);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " \$async\$returnValue = \$async\$temp1.cast\$1\$0\$ax(\$async\$temp2._as(\$async\$temp3.decode\$1(\$async\$result)), type\$.Map_dynamic_dynamic);\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_getSrcModuleLibraries\$1, \$async\$completer);\n" |
| " },\n" |
| " restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId(readyToRunMain, reloadedSourcesPath, runId) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.Record_2_bool_and_JSArray_nullable_Object),\n" |
| " \$async\$returnValue, \$async\$self = this, mainHandler, srcModuleLibraries, t1;\n" |
| " var \$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = init.G;\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(A._Debugger_maybeInvokeFlutterDisassemble(A._asJSObject(A._asJSObject(t1.dartDevEmbedder).debugger)), \$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " mainHandler = A._functionToJS1(new A.DdcLibraryBundleRestarter_restart_closure(\$async\$self, readyToRunMain));\n" |
| " A._asJSObject(A._asJSObject(t1.dartDevEmbedder).config).capturedMainHandler = mainHandler;\n" |
| " reloadedSourcesPath.toString;\n" |
| " \$async\$goto = 4;\n" |
| " return A._asyncAwait(\$async\$self._getSrcModuleLibraries\$1(reloadedSourcesPath), \$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId);\n" |
| " case 4:\n" |
| " // returning from await.\n" |
| " srcModuleLibraries = \$async\$result;\n" |
| " \$async\$goto = 5;\n" |
| " return A._asyncAwait(A.promiseToFuture(A._asJSObject(A._asJSObject(t1.dartDevEmbedder).hotRestart()), type\$.nullable_Object), \$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId);\n" |
| " case 5:\n" |
| " // returning from await.\n" |
| " \$async\$returnValue = new A._Record_2(true, type\$.JSArray_nullable_Object._as(A.jsify(srcModuleLibraries)));\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId, \$async\$completer);\n" |
| " },\n" |
| " hotReloadStart\$1(reloadedSourcesPath) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.JSArray_nullable_Object),\n" |
| " \$async\$returnValue, \$async\$self = this, t3, t4, t5, t6, srcModuleLibraryCast, src, libraries, t7, t8, t9, t1, t2, filesToLoad, librariesToReload, srcModuleLibraries;\n" |
| " var \$async\$hotReloadStart\$1 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = init.G;\n" |
| " t2 = type\$.JSArray_nullable_Object;\n" |
| " filesToLoad = t2._as(new t1.Array());\n" |
| " librariesToReload = t2._as(new t1.Array());\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(\$async\$self._getSrcModuleLibraries\$1(reloadedSourcesPath), \$async\$hotReloadStart\$1);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " srcModuleLibraries = \$async\$result;\n" |
| " for (t3 = J.get\$iterator\$ax(srcModuleLibraries), t4 = type\$.String, t5 = type\$.Object, t6 = type\$.List_dynamic; t3.moveNext\$0();) {\n" |
| " srcModuleLibraryCast = t3.get\$current().cast\$2\$0(0, t4, t5);\n" |
| " src = A._asString(srcModuleLibraryCast.\$index(0, \"src\"));\n" |
| " libraries = J.cast\$1\$0\$ax(t6._as(srcModuleLibraryCast.\$index(0, \"libraries\")), t4);\n" |
| " filesToLoad.push(src);\n" |
| " for (t7 = A._instanceType(libraries), t8 = new A.ListIterator(libraries, libraries.get\$length(libraries), t7._eval\$1(\"ListIterator<ListBase.E>\")), t7 = t7._eval\$1(\"ListBase.E\"); t8.moveNext\$0();) {\n" |
| " t9 = t8.__internal\$_current;\n" |
| " if (t9 == null)\n" |
| " t9 = t7._as(t9);\n" |
| " librariesToReload.push(t9);\n" |
| " }\n" |
| " }\n" |
| " A._asJSObject(A._asJSObject(t1.dartDevEmbedder).config).capturedHotReloadEndHandler = A._functionToJS1(new A.DdcLibraryBundleRestarter_hotReloadStart_closure(\$async\$self));\n" |
| " \$async\$goto = 4;\n" |
| " return A._asyncAwait(A.promiseToFuture(A._asJSObject(A._asJSObject(t1.dartDevEmbedder).hotReload(filesToLoad, librariesToReload)), type\$.nullable_Object), \$async\$hotReloadStart\$1);\n" |
| " case 4:\n" |
| " // returning from await.\n" |
| " \$async\$returnValue = t2._as(A.jsify(srcModuleLibraries));\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$hotReloadStart\$1, \$async\$completer);\n" |
| " },\n" |
| " hotReloadEnd\$0() {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$self = this;\n" |
| " var \$async\$hotReloadEnd\$0 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " \$async\$self._capturedHotReloadEndCallback.call();\n" |
| " A._asJSObject(A._asJSObject(init.G.dartDevEmbedder).config).capturedHotReloadEndHandler = null;\n" |
| " \$async\$self._capturedHotReloadEndCallback = null;\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$hotReloadEnd\$0, \$async\$completer);\n" |
| " },\n" |
| " handleServiceExtension\$2(method, args) {\n" |
| " return this.handleServiceExtension\$body\$DdcLibraryBundleRestarter(method, type\$.Map_String_dynamic._as(args));\n" |
| " },\n" |
| " handleServiceExtension\$body\$DdcLibraryBundleRestarter(method, args) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.nullable_Map_String_dynamic),\n" |
| " \$async\$returnValue, t1, t2, params, \$async\$temp1, \$async\$temp2;\n" |
| " var \$async\$handleServiceExtension\$2 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " \$async\$goto = method === \"ext.flutter.reassemble\" ? 3 : 5;\n" |
| " break;\n" |
| " case 3:\n" |
| " // then\n" |
| " \$async\$goto = 6;\n" |
| " return A._asyncAwait(A._Debugger_maybeInvokeFlutterReassemble(A._asJSObject(A._asJSObject(init.G.dartDevEmbedder).debugger)), \$async\$handleServiceExtension\$2);\n" |
| " case 6:\n" |
| " // returning from await.\n" |
| " \$async\$returnValue = A.LinkedHashMap_LinkedHashMap\$_literal([\"status\", \"reassemble invoked\"], type\$.String, type\$.dynamic);\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " // goto join\n" |
| " \$async\$goto = 4;\n" |
| " break;\n" |
| " case 5:\n" |
| " // else\n" |
| " \$async\$goto = method === \"getExtensionRpcs\" ? 7 : 9;\n" |
| " break;\n" |
| " case 7:\n" |
| " // then\n" |
| " t1 = type\$.JSArray_nullable_Object._as(A._asJSObject(A._asJSObject(init.G.dartDevEmbedder).debugger).extensionNames);\n" |
| " t1 = type\$.List_String._is(t1) ? t1 : new A.CastList(t1, A._arrayInstanceType(t1)._eval\$1(\"CastList<1,String>\"));\n" |
| " t2 = type\$.String;\n" |
| " \$async\$returnValue = A.LinkedHashMap_LinkedHashMap\$_literal([\"rpcs\", J.cast\$1\$0\$ax(t1, t2)], t2, type\$.dynamic);\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " // goto join\n" |
| " \$async\$goto = 8;\n" |
| " break;\n" |
| " case 9:\n" |
| " // else\n" |
| " params = args.get\$isNotEmpty(args) ? B.C_JsonCodec.encode\$2\$toEncodable(args, null) : \"{}\";\n" |
| " \$async\$temp1 = type\$.Map_String_dynamic;\n" |
| " \$async\$temp2 = B.C_JsonCodec;\n" |
| " \$async\$goto = 10;\n" |
| " return A._asyncAwait(A.promiseToFuture(A._asJSObject(A._asJSObject(A._asJSObject(init.G.dartDevEmbedder).debugger).invokeExtension(method, params)), type\$.String), \$async\$handleServiceExtension\$2);\n" |
| " case 10:\n" |
| " // returning from await.\n" |
| " \$async\$returnValue = \$async\$temp1._as(\$async\$temp2.decode\$2\$reviver(\$async\$result, null));\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 8:\n" |
| " // join\n" |
| " case 4:\n" |
| " // join\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$handleServiceExtension\$2, \$async\$completer);\n" |
| " },\n" |
| " \$isRestarter: 1\n" |
| " };\n" |
| " A.DdcLibraryBundleRestarter__getSrcModuleLibraries_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t2, t3,\n" |
| " t1 = this.xhr;\n" |
| " if (A._asInt(t1.readyState) === 4) {\n" |
| " t2 = A._asInt(t1.status) === 200 || A._asInt(t1.status) === 304;\n" |
| " t3 = this.completer;\n" |
| " if (t2)\n" |
| " t3.complete\$1(A._asString(t1.responseText));\n" |
| " else\n" |
| " t3.completeError\$1(\"Failed to fetch reloaded sources at \" + this.reloadedSourcesPath + \".\");\n" |
| " }\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A.DdcLibraryBundleRestarter_restart_closure.prototype = {\n" |
| " call\$1(runMain) {\n" |
| " type\$.JavaScriptFunction._as(runMain);\n" |
| " A._asJSObject(A._asJSObject(init.G.dartDevEmbedder).config).capturedMainHandler = null;\n" |
| " A.safeUnawaited(this.\$this._runMainWhenReady\$2(this.readyToRunMain, runMain));\n" |
| " },\n" |
| " \$signature: 26\n" |
| " };\n" |
| " A.DdcLibraryBundleRestarter_hotReloadStart_closure.prototype = {\n" |
| " call\$1(hotReloadEndCallback) {\n" |
| " this.\$this._capturedHotReloadEndCallback = type\$.JavaScriptFunction._as(hotReloadEndCallback);\n" |
| " },\n" |
| " \$signature: 26\n" |
| " };\n" |
| " A.DdcRestarter.prototype = {\n" |
| " restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId(readyToRunMain, reloadedSourcesPath, runId) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.Record_2_bool_and_nullable_JSArray_nullable_Object),\n" |
| " \$async\$returnValue, t1, t2, t3, \$async\$temp1;\n" |
| " var \$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = init.G;\n" |
| " t2 = A._asJSObject(t1.dart_library);\n" |
| " t3 = readyToRunMain == null ? null : A.FutureOfVoidToJSPromise_get_toJS(readyToRunMain);\n" |
| " t2.reload(type\$.JavaScriptObject._as({runId: runId, readyToRunMain: t3}));\n" |
| " t3 = new A._Future(\$.Zone__current, type\$._Future_bool);\n" |
| " \$async\$temp1 = A;\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(t3.then\$1\$1(new A.DdcRestarter_restart_closure(A._EventStreamSubscription\$(A._asJSObject(t1.window), \"message\", type\$.nullable_void_Function_JSObject._as(new A.DdcRestarter_restart_closure0(new A._AsyncCompleter(t3, type\$._AsyncCompleter_bool))), false, type\$.JSObject)), type\$.bool), \$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " \$async\$returnValue = new \$async\$temp1._Record_2(\$async\$result, null);\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId, \$async\$completer);\n" |
| " },\n" |
| " hotReloadEnd\$0() {\n" |
| " return A.throwExpression(A.UnimplementedError\$(string\$.Hot_reD));\n" |
| " },\n" |
| " hotReloadStart\$1(reloadedSourcesPath) {\n" |
| " return A.throwExpression(A.UnimplementedError\$(string\$.Hot_reD));\n" |
| " },\n" |
| " \$isRestarter: 1\n" |
| " };\n" |
| " A.DdcRestarter_restart_closure0.prototype = {\n" |
| " call\$1(\$event) {\n" |
| " var t1 = \$event.data,\n" |
| " message = t1 == null ? null : A.dartify(t1);\n" |
| " if (type\$.Map_dynamic_dynamic._is(message) && J.\$eq\$(message.\$index(0, \"type\"), \"DDC_STATE_CHANGE\") && J.\$eq\$(message.\$index(0, \"state\"), \"restart_end\"))\n" |
| " this.reloadCompleter.complete\$1(true);\n" |
| " },\n" |
| " \$signature: 2\n" |
| " };\n" |
| " A.DdcRestarter_restart_closure.prototype = {\n" |
| " call\$1(value) {\n" |
| " A._asBool(value);\n" |
| " this.sub.cancel\$0();\n" |
| " return value;\n" |
| " },\n" |
| " \$signature: 68\n" |
| " };\n" |
| " A.ReloadingManager.prototype = {\n" |
| " hotRestart\$3\$readyToRunMain\$reloadedSourcesPath\$runId(readyToRunMain, reloadedSourcesPath, runId) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.nullable_JSArray_nullable_Object),\n" |
| " \$async\$returnValue, \$async\$self = this, result, t1;\n" |
| " var \$async\$hotRestart\$3\$readyToRunMain\$reloadedSourcesPath\$runId = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = \$async\$self._client.get\$sink();\n" |
| " t1._async\$_target.add\$1(0, t1.\$ti._precomputed1._as(B.C_JsonCodec.encode\$2\$toEncodable(A._setArrayType([\"IsolateExit\", A.LinkedHashMap_LinkedHashMap\$_empty(type\$.String, type\$.dynamic)], type\$.JSArray_Object), null)));\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(\$async\$self._restarter.restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId(readyToRunMain, reloadedSourcesPath, runId), \$async\$hotRestart\$3\$readyToRunMain\$reloadedSourcesPath\$runId);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " result = \$async\$result;\n" |
| " \$async\$self._afterRestart\$1(result._0);\n" |
| " \$async\$returnValue = result._1;\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$hotRestart\$3\$readyToRunMain\$reloadedSourcesPath\$runId, \$async\$completer);\n" |
| " },\n" |
| " hotRestart\$1\$reloadedSourcesPath(reloadedSourcesPath) {\n" |
| " return this.hotRestart\$3\$readyToRunMain\$reloadedSourcesPath\$runId(null, reloadedSourcesPath, null);\n" |
| " },\n" |
| " hotRestart\$2\$reloadedSourcesPath\$runId(reloadedSourcesPath, runId) {\n" |
| " return this.hotRestart\$3\$readyToRunMain\$reloadedSourcesPath\$runId(null, reloadedSourcesPath, runId);\n" |
| " },\n" |
| " hotReloadEnd\$0() {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$self = this;\n" |
| " var \$async\$hotReloadEnd\$0 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " \$async\$goto = 2;\n" |
| " return A._asyncAwait(\$async\$self._restarter.hotReloadEnd\$0(), \$async\$hotReloadEnd\$0);\n" |
| " case 2:\n" |
| " // returning from await.\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$hotReloadEnd\$0, \$async\$completer);\n" |
| " },\n" |
| " handleServiceExtension\$2(method, args) {\n" |
| " return this.handleServiceExtension\$body\$ReloadingManager(method, type\$.Map_String_dynamic._as(args));\n" |
| " },\n" |
| " handleServiceExtension\$body\$ReloadingManager(method, args) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.nullable_Map_String_dynamic),\n" |
| " \$async\$returnValue, \$async\$self = this, restarter;\n" |
| " var \$async\$handleServiceExtension\$2 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " restarter = \$async\$self._restarter;\n" |
| " \$async\$goto = restarter instanceof A.DdcLibraryBundleRestarter ? 3 : 4;\n" |
| " break;\n" |
| " case 3:\n" |
| " // then\n" |
| " \$async\$goto = 5;\n" |
| " return A._asyncAwait(restarter.handleServiceExtension\$2(method, args), \$async\$handleServiceExtension\$2);\n" |
| " case 5:\n" |
| " // returning from await.\n" |
| " \$async\$returnValue = \$async\$result;\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 4:\n" |
| " // join\n" |
| " \$async\$returnValue = null;\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$handleServiceExtension\$2, \$async\$completer);\n" |
| " },\n" |
| " _afterRestart\$1(succeeded) {\n" |
| " var t1;\n" |
| " if (!succeeded)\n" |
| " return;\n" |
| " t1 = this._client.get\$sink();\n" |
| " t1._async\$_target.add\$1(0, t1.\$ti._precomputed1._as(B.C_JsonCodec.encode\$2\$toEncodable(A._setArrayType([\"IsolateStart\", A.LinkedHashMap_LinkedHashMap\$_empty(type\$.String, type\$.dynamic)], type\$.JSArray_Object), null)));\n" |
| " }\n" |
| " };\n" |
| " A.HotReloadFailedException.prototype = {\n" |
| " toString\$0(_) {\n" |
| " return \"HotReloadFailedException: '\" + this._s + \"'\";\n" |
| " },\n" |
| " \$isException: 1\n" |
| " };\n" |
| " A.RequireRestarter.prototype = {\n" |
| " restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId(readyToRunMain, reloadedSourcesPath, runId) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.Record_2_bool_and_nullable_JSArray_nullable_Object),\n" |
| " \$async\$returnValue, \$async\$self = this, newDigests, modulesToLoad, t3, t4, t5, t6, line, toZone, t7, result, t1, t2;\n" |
| " var \$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = init.G;\n" |
| " t2 = type\$.JavaScriptObject;\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(A.SdkDeveloperExtension_maybeInvokeFlutterDisassemble(t2._as(t2._as(t1.\$loadModuleConfig(\"dart_sdk\")).developer)), \$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " \$async\$goto = 4;\n" |
| " return A._asyncAwait(\$async\$self._getDigests\$0(), \$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId);\n" |
| " case 4:\n" |
| " // returning from await.\n" |
| " newDigests = \$async\$result;\n" |
| " modulesToLoad = A._setArrayType([], type\$.JSArray_String);\n" |
| " for (t3 = newDigests.get\$keys(), t3 = t3.get\$iterator(t3), t4 = \$.RequireRestarter____lastKnownDigests.__late_helper\$_name; t3.moveNext\$0();) {\n" |
| " t5 = t3.get\$current();\n" |
| " t6 = \$.RequireRestarter____lastKnownDigests.__late_helper\$_value;\n" |
| " if (t6 === \$.RequireRestarter____lastKnownDigests)\n" |
| " A.throwExpression(A.LateError\$fieldNI(t4));\n" |
| " if (!t6.containsKey\$1(t5)) {\n" |
| " line = \"Error during script reloading, refreshing the page. \\nUnable to find an existing digest for module: \" + t5 + \".\";\n" |
| " toZone = \$._printToZone;\n" |
| " if (toZone == null)\n" |
| " A.printString(line);\n" |
| " else\n" |
| " toZone.call\$1(line);\n" |
| " A._asJSObject(A._asJSObject(t1.window).location).reload();\n" |
| " } else {\n" |
| " t6 = \$.RequireRestarter____lastKnownDigests.__late_helper\$_value;\n" |
| " if (t6 === \$.RequireRestarter____lastKnownDigests)\n" |
| " A.throwExpression(A.LateError\$fieldNI(t4));\n" |
| " if (t6.\$index(0, t5) != newDigests.\$index(0, t5)) {\n" |
| " t6 = \$.RequireRestarter____lastKnownDigests.__late_helper\$_value;\n" |
| " if (t6 === \$.RequireRestarter____lastKnownDigests)\n" |
| " A.throwExpression(A.LateError\$fieldNI(t4));\n" |
| " t7 = newDigests.\$index(0, t5);\n" |
| " t7.toString;\n" |
| " t6.\$indexSet(0, t5, t7);\n" |
| " B.JSArray_methods.add\$1(modulesToLoad, t5);\n" |
| " }\n" |
| " }\n" |
| " }\n" |
| " \$async\$goto = modulesToLoad.length !== 0 ? 5 : 7;\n" |
| " break;\n" |
| " case 5:\n" |
| " // then\n" |
| " \$async\$self._updateGraph\$0();\n" |
| " \$async\$goto = 8;\n" |
| " return A._asyncAwait(\$async\$self._reload\$1(modulesToLoad), \$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId);\n" |
| " case 8:\n" |
| " // returning from await.\n" |
| " result = \$async\$result;\n" |
| " // goto join\n" |
| " \$async\$goto = 6;\n" |
| " break;\n" |
| " case 7:\n" |
| " // else\n" |
| " result = true;\n" |
| " case 6:\n" |
| " // join\n" |
| " t2._as(t2._as(t1.\$loadModuleConfig(\"dart_sdk\")).dart).hotRestart();\n" |
| " A.safeUnawaited(\$async\$self._require_restarter\$_runMainWhenReady\$1(readyToRunMain));\n" |
| " \$async\$returnValue = new A._Record_2(result, null);\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$restart\$3\$readyToRunMain\$reloadedSourcesPath\$runId, \$async\$completer);\n" |
| " },\n" |
| " hotReloadEnd\$0() {\n" |
| " return A.throwExpression(A.UnimplementedError\$(string\$.Hot_reA));\n" |
| " },\n" |
| " hotReloadStart\$1(reloadedSourcesPath) {\n" |
| " return A.throwExpression(A.UnimplementedError\$(string\$.Hot_reA));\n" |
| " },\n" |
| " _require_restarter\$_runMainWhenReady\$1(readyToRunMain) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void);\n" |
| " var \$async\$_require_restarter\$_runMainWhenReady\$1 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " \$async\$goto = readyToRunMain != null ? 2 : 3;\n" |
| " break;\n" |
| " case 2:\n" |
| " // then\n" |
| " \$async\$goto = 4;\n" |
| " return A._asyncAwait(readyToRunMain, \$async\$_require_restarter\$_runMainWhenReady\$1);\n" |
| " case 4:\n" |
| " // returning from await.\n" |
| " case 3:\n" |
| " // join\n" |
| " A.runMain();\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_require_restarter\$_runMainWhenReady\$1, \$async\$completer);\n" |
| " },\n" |
| " _getDigests\$0() {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.Map_String_String),\n" |
| " \$async\$returnValue, response, t1;\n" |
| " var \$async\$_getDigests\$0 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " \$async\$goto = 3;\n" |
| " return A._asyncAwait(new A.BrowserClient(A._setArrayType([], type\$.JSArray_JSObject))._sendUnstreamed\$3(\"GET\", A.Uri_parse(A._asString(type\$.JavaScriptObject._as(init.G.\$requireLoader).digestsPath)), null), \$async\$_getDigests\$0);\n" |
| " case 3:\n" |
| " // returning from await.\n" |
| " response = \$async\$result;\n" |
| " t1 = type\$.String;\n" |
| " \$async\$returnValue = type\$.Map_dynamic_dynamic._as(B.C_JsonCodec.decode\$2\$reviver(A.encodingForContentTypeHeader(A._contentTypeForHeaders(response.headers)).decode\$1(response.bodyBytes), null)).cast\$2\$0(0, t1, t1);\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_getDigests\$0, \$async\$completer);\n" |
| " },\n" |
| " _initialize\$0() {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.void),\n" |
| " \$async\$self = this, \$async\$temp1;\n" |
| " var \$async\$_initialize\$0 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1)\n" |
| " return A._asyncRethrow(\$async\$result, \$async\$completer);\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " \$async\$temp1 = \$.RequireRestarter____lastKnownDigests;\n" |
| " \$async\$goto = 2;\n" |
| " return A._asyncAwait(\$async\$self._getDigests\$0(), \$async\$_initialize\$0);\n" |
| " case 2:\n" |
| " // returning from await.\n" |
| " \$async\$temp1.__late_helper\$_value = \$async\$result;\n" |
| " // implicit return\n" |
| " return A._asyncReturn(null, \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_initialize\$0, \$async\$completer);\n" |
| " },\n" |
| " _moduleParents\$1(module) {\n" |
| " var t1;\n" |
| " A._asString(module);\n" |
| " t1 = type\$.JavaScriptObject;\n" |
| " t1 = type\$.nullable_JSArray_nullable_Object._as(t1._as(t1._as(init.G.\$requireLoader).moduleParentsGraph).get(module));\n" |
| " if (t1 == null)\n" |
| " t1 = null;\n" |
| " else {\n" |
| " t1 = A.JSArrayExtension_toDartIterable(t1, type\$.String);\n" |
| " t1 = A.List_List\$_of(t1, t1.\$ti._eval\$1(\"ListIterable.E\"));\n" |
| " }\n" |
| " return t1 == null ? A._setArrayType([], type\$.JSArray_String) : t1;\n" |
| " },\n" |
| " _moduleTopologicalCompare\$2(module1, module2) {\n" |
| " var t1, order1, order2, t2, topological;\n" |
| " A._asString(module1);\n" |
| " A._asString(module2);\n" |
| " t1 = this._moduleOrdering;\n" |
| " order1 = t1.\$index(0, module1);\n" |
| " order2 = t1.\$index(0, module2);\n" |
| " t2 = order1 == null;\n" |
| " if (t2 || order2 == null)\n" |
| " throw A.wrapException(A.HotReloadFailedException\$(\"Unable to fetch ordering info for module: \" + (t2 ? module1 : module2)));\n" |
| " t2 = t1.\$index(0, module2);\n" |
| " t2.toString;\n" |
| " t1 = t1.\$index(0, module1);\n" |
| " t1.toString;\n" |
| " topological = B.JSInt_methods.compareTo\$1(t2, t1);\n" |
| " return topological === 0 ? B.JSString_methods.compareTo\$1(module1, module2) : topological;\n" |
| " },\n" |
| " _reload\$1(modules) {\n" |
| " return this._reload\$body\$RequireRestarter(type\$.List_String._as(modules));\n" |
| " },\n" |
| " _reload\$body\$RequireRestarter(modules) {\n" |
| " var \$async\$goto = 0,\n" |
| " \$async\$completer = A._makeAsyncAwaitCompleter(type\$.bool),\n" |
| " \$async\$returnValue, \$async\$handler = 2, \$async\$errorStack = [], \$async\$self = this, reloadedModules, moduleId, parentIds, e, _box_0, t4, t5, t6, t7, t8, t9, t10, _this, parentIds0, result, exception, t1, t2, dart, t3, \$async\$exception;\n" |
| " var \$async\$_reload\$1 = A._wrapJsFunctionForAsync(function(\$async\$errorCode, \$async\$result) {\n" |
| " if (\$async\$errorCode === 1) {\n" |
| " \$async\$errorStack.push(\$async\$result);\n" |
| " \$async\$goto = \$async\$handler;\n" |
| " }\n" |
| " for (;;)\n" |
| " switch (\$async\$goto) {\n" |
| " case 0:\n" |
| " // Function start\n" |
| " t1 = init.G;\n" |
| " t2 = type\$.JavaScriptObject;\n" |
| " dart = t2._as(t2._as(t1.\$loadModuleConfig(\"dart_sdk\")).dart);\n" |
| " t3 = \$async\$self._running.future;\n" |
| " \$async\$goto = (t3._state & 30) === 0 ? 3 : 4;\n" |
| " break;\n" |
| " case 3:\n" |
| " // then\n" |
| " \$async\$goto = 5;\n" |
| " return A._asyncAwait(t3, \$async\$_reload\$1);\n" |
| " case 5:\n" |
| " // returning from await.\n" |
| " \$async\$returnValue = \$async\$result;\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 4:\n" |
| " // join\n" |
| " \$async\$self._running = new A._AsyncCompleter(new A._Future(\$.Zone__current, type\$._Future_bool), type\$._AsyncCompleter_bool);\n" |
| " reloadedModules = 0;\n" |
| " \$async\$handler = 7;\n" |
| " _box_0 = {};\n" |
| " t3 = \$async\$self.__RequireRestarter__dirtyModules_A;\n" |
| " t3 === \$ && A.throwLateFieldNI(\"_dirtyModules\");\n" |
| " t3.addAll\$1(0, modules);\n" |
| " _box_0.previousModuleId = null;\n" |
| " t3 = \$async\$self.get\$_moduleTopologicalCompare(), t4 = type\$.String, t5 = type\$.nullable_JSArray_nullable_Object, t6 = type\$.JSArray_String, t7 = A._callDartFunctionFast0;\n" |
| " case 10:\n" |
| " // for condition\n" |
| " if (!(t8 = \$async\$self.__RequireRestarter__dirtyModules_A, t9 = t8._root, t10 = t9 == null, !t10)) {\n" |
| " // goto after for\n" |
| " \$async\$goto = 11;\n" |
| " break;\n" |
| " }\n" |
| " if (t10)\n" |
| " A.throwExpression(A.IterableElementError_noElement());\n" |
| " t9 = t8._splayMin\$1(t9);\n" |
| " t8._root = t9;\n" |
| " moduleId = t9.key;\n" |
| " \$async\$self.__RequireRestarter__dirtyModules_A.remove\$1(0, moduleId);\n" |
| " _this = A._asString(moduleId);\n" |
| " t9 = t5._as(t2._as(t2._as(t1.\$requireLoader).moduleParentsGraph).get(_this));\n" |
| " if (t9 == null)\n" |
| " parentIds0 = null;\n" |
| " else {\n" |
| " t8 = A.JSArrayExtension_toDartIterable(t9, t4);\n" |
| " t8 = A.List_List\$_of(t8, t8.\$ti._eval\$1(\"ListIterable.E\"));\n" |
| " parentIds0 = t8;\n" |
| " }\n" |
| " parentIds = parentIds0 == null ? A._setArrayType([], t6) : parentIds0;\n" |
| " \$async\$goto = J.get\$length\$asx(parentIds) === 0 ? 12 : 14;\n" |
| " break;\n" |
| " case 12:\n" |
| " // then\n" |
| " t8 = new A.RequireRestarter__reload_closure(_box_0, dart);\n" |
| " if (typeof t8 == \"function\")\n" |
| " A.throwExpression(A.ArgumentError\$(\"Attempting to rewrap a JS function.\", null));\n" |
| " result = function(_call, f) {\n" |
| " return function() {\n" |
| " return _call(f);\n" |
| " };\n" |
| " }(t7, t8);\n" |
| " result[\$.\$get\$DART_CLOSURE_DART_JSINTEROP_PROPERTY_NAME()] = t8;\n" |
| " t1.\$dartRunMain = result;\n" |
| " // goto join\n" |
| " \$async\$goto = 13;\n" |
| " break;\n" |
| " case 14:\n" |
| " // else\n" |
| " t8 = reloadedModules;\n" |
| " if (typeof t8 !== \"number\") {\n" |
| " \$async\$returnValue = t8.\$add();\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " }\n" |
| " reloadedModules = t8 + 1;\n" |
| " \$async\$goto = 15;\n" |
| " return A._asyncAwait(\$async\$self._reloadModule\$1(moduleId), \$async\$_reload\$1);\n" |
| " case 15:\n" |
| " // returning from await.\n" |
| " J.sort\$1\$ax(parentIds, t3);\n" |
| " \$async\$self.__RequireRestarter__dirtyModules_A.addAll\$1(0, parentIds);\n" |
| " _box_0.previousModuleId = moduleId;\n" |
| " case 13:\n" |
| " // join\n" |
| " // goto for condition\n" |
| " \$async\$goto = 10;\n" |
| " break;\n" |
| " case 11:\n" |
| " // after for\n" |
| " A.print(A.S(reloadedModules) + \" module(s) were hot-reloaded.\");\n" |
| " \$async\$self._running.complete\$1(true);\n" |
| " \$async\$handler = 2;\n" |
| " // goto after finally\n" |
| " \$async\$goto = 9;\n" |
| " break;\n" |
| " case 7:\n" |
| " // catch\n" |
| " \$async\$handler = 6;\n" |
| " \$async\$exception = \$async\$errorStack.pop();\n" |
| " t2 = A.unwrapException(\$async\$exception);\n" |
| " if (t2 instanceof A.HotReloadFailedException) {\n" |
| " e = t2;\n" |
| " A.print(\"Error during script reloading. Firing full page reload. \" + A.S(e));\n" |
| " A._asJSObject(A._asJSObject(t1.window).location).reload();\n" |
| " \$async\$self._running.complete\$1(false);\n" |
| " } else\n" |
| " throw \$async\$exception;\n" |
| " // goto after finally\n" |
| " \$async\$goto = 9;\n" |
| " break;\n" |
| " case 6:\n" |
| " // uncaught\n" |
| " // goto rethrow\n" |
| " \$async\$goto = 2;\n" |
| " break;\n" |
| " case 9:\n" |
| " // after finally\n" |
| " \$async\$returnValue = \$async\$self._running.future;\n" |
| " // goto return\n" |
| " \$async\$goto = 1;\n" |
| " break;\n" |
| " case 1:\n" |
| " // return\n" |
| " return A._asyncReturn(\$async\$returnValue, \$async\$completer);\n" |
| " case 2:\n" |
| " // rethrow\n" |
| " return A._asyncRethrow(\$async\$errorStack.at(-1), \$async\$completer);\n" |
| " }\n" |
| " });\n" |
| " return A._asyncStartSync(\$async\$_reload\$1, \$async\$completer);\n" |
| " },\n" |
| " _reloadModule\$1(moduleId) {\n" |
| " var t1 = new A._Future(\$.Zone__current, type\$._Future_void),\n" |
| " completer = new A._AsyncCompleter(t1, type\$._AsyncCompleter_void),\n" |
| " stackTrace = A.StackTrace_current();\n" |
| " type\$.JavaScriptObject._as(init.G.\$requireLoader).forceLoadModule(moduleId, A._functionToJS0(new A.RequireRestarter__reloadModule_closure(completer)), A._functionToJS1(new A.RequireRestarter__reloadModule_closure0(completer, stackTrace)));\n" |
| " return t1;\n" |
| " },\n" |
| " _updateGraph\$0() {\n" |
| " var t3, stronglyConnectedComponents, i, _i,\n" |
| " t1 = init.G,\n" |
| " t2 = type\$.JavaScriptObject;\n" |
| " t2 = t2._as(t2._as(t1.\$requireLoader).moduleParentsGraph);\n" |
| " t3 = type\$.String;\n" |
| " stronglyConnectedComponents = A.stronglyConnectedComponents(A.JSArrayExtension_toDartIterable(type\$.JSArray_nullable_Object._as(t1.Array.from(A._asJSObject(t2.keys()))), t3), this.get\$_moduleParents(), t3);\n" |
| " t3 = this._moduleOrdering;\n" |
| " if (t3._collection\$_length > 0) {\n" |
| " t3._strings = t3._nums = t3._collection\$_rest = t3._keys = null;\n" |
| " t3._collection\$_length = 0;\n" |
| " }\n" |
| " for (i = 0; i < stronglyConnectedComponents.length; ++i)\n" |
| " for (t1 = stronglyConnectedComponents[i], t2 = t1.length, _i = 0; _i < t1.length; t1.length === t2 || (0, A.throwConcurrentModificationError)(t1), ++_i)\n" |
| " t3.\$indexSet(0, t1[_i], i);\n" |
| " },\n" |
| " \$isRestarter: 1\n" |
| " };\n" |
| " A.RequireRestarter__reload_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var t1 = A._asJSObject(this.dart.getModuleLibraries(this._box_0.previousModuleId));\n" |
| " t1 = A.JSArrayExtension_toDartIterable(type\$.JSArray_nullable_Object._as(init.G.Object.values(t1)), type\$.nullable_Object).get\$first(0);\n" |
| " t1.toString;\n" |
| " type\$.JavaScriptObject._as(t1).main();\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A.RequireRestarter__reloadModule_closure.prototype = {\n" |
| " call\$0() {\n" |
| " this.completer.complete\$0();\n" |
| " },\n" |
| " \$signature: 1\n" |
| " };\n" |
| " A.RequireRestarter__reloadModule_closure0.prototype = {\n" |
| " call\$1(e) {\n" |
| " this.completer.completeError\$2(new A.HotReloadFailedException(A._asString(type\$.JavaScriptObject._as(e).message)), this.stackTrace);\n" |
| " },\n" |
| " \$signature: 71\n" |
| " };\n" |
| " A._createScript_closure.prototype = {\n" |
| " call\$0() {\n" |
| " var nonce = A._findNonce();\n" |
| " if (nonce == null)\n" |
| " return new A._createScript__closure();\n" |
| " return new A._createScript__closure0(nonce);\n" |
| " },\n" |
| " \$signature: 72\n" |
| " };\n" |
| " A._createScript__closure.prototype = {\n" |
| " call\$0() {\n" |
| " return A._asJSObject(A._asJSObject(init.G.document).createElement(\"script\"));\n" |
| " },\n" |
| " \$signature: 7\n" |
| " };\n" |
| " A._createScript__closure0.prototype = {\n" |
| " call\$0() {\n" |
| " var scriptElement = A._asJSObject(A._asJSObject(init.G.document).createElement(\"script\"));\n" |
| " scriptElement.setAttribute(\"nonce\", this.nonce);\n" |
| " return scriptElement;\n" |
| " },\n" |
| " \$signature: 7\n" |
| " };\n" |
| " A.runMain_closure.prototype = {\n" |
| " call\$0() {\n" |
| " return this.scriptElement.remove();\n" |
| " },\n" |
| " \$signature: 0\n" |
| " };\n" |
| " A.JSArrayExtension_toDartIterable_closure.prototype = {\n" |
| " call\$1(e) {\n" |
| " return this.T._as(A.dartify(e));\n" |
| " },\n" |
| " \$signature() {\n" |
| " return this.T._eval\$1(\"0(Object?)\");\n" |
| " }\n" |
| " };\n" |
| " (function aliases() {\n" |
| " var _ = J.LegacyJavaScriptObject.prototype;\n" |
| " _.super\$LegacyJavaScriptObject\$toString = _.toString\$0;\n" |
| " _ = A.JsLinkedHashMap.prototype;\n" |
| " _.super\$JsLinkedHashMap\$internalContainsKey = _.internalContainsKey\$1;\n" |
| " _.super\$JsLinkedHashMap\$internalGet = _.internalGet\$1;\n" |
| " _.super\$JsLinkedHashMap\$internalSet = _.internalSet\$2;\n" |
| " _ = A._BufferingStreamSubscription.prototype;\n" |
| " _.super\$_BufferingStreamSubscription\$_add = _._add\$1;\n" |
| " _.super\$_BufferingStreamSubscription\$_addError = _._addError\$2;\n" |
| " _ = A.ListBase.prototype;\n" |
| " _.super\$ListBase\$setRange = _.setRange\$4;\n" |
| " _ = A.BaseRequest.prototype;\n" |
| " _.super\$BaseRequest\$finalize = _.finalize\$0;\n" |
| " _ = A.SourceSpanMixin.prototype;\n" |
| " _.super\$SourceSpanMixin\$compareTo = _.compareTo\$1;\n" |
| " _.super\$SourceSpanMixin\$\$eq = _.\$eq;\n" |
| " })();\n" |
| " (function installTearOffs() {\n" |
| " var _static_2 = hunkHelpers._static_2,\n" |
| " _instance_1_u = hunkHelpers._instance_1u,\n" |
| " _static_1 = hunkHelpers._static_1,\n" |
| " _static_0 = hunkHelpers._static_0,\n" |
| " _static = hunkHelpers.installStaticTearOff,\n" |
| " _instance = hunkHelpers.installInstanceTearOff,\n" |
| " _instance_2_u = hunkHelpers._instance_2u,\n" |
| " _instance_0_u = hunkHelpers._instance_0u,\n" |
| " _instance_1_i = hunkHelpers._instance_1i;\n" |
| " _static_2(J, \"_interceptors_JSArray__compareAny\$closure\", \"JSArray__compareAny\", 27);\n" |
| " _instance_1_u(A.CastStreamSubscription.prototype, \"get\$__internal\$_onData\", \"__internal\$_onData\$1\", 11);\n" |
| " _static_1(A, \"async__AsyncRun__scheduleImmediateJsOverride\$closure\", \"_AsyncRun__scheduleImmediateJsOverride\", 14);\n" |
| " _static_1(A, \"async__AsyncRun__scheduleImmediateWithSetImmediate\$closure\", \"_AsyncRun__scheduleImmediateWithSetImmediate\", 14);\n" |
| " _static_1(A, \"async__AsyncRun__scheduleImmediateWithTimer\$closure\", \"_AsyncRun__scheduleImmediateWithTimer\", 14);\n" |
| " _static_0(A, \"async___startMicrotaskLoop\$closure\", \"_startMicrotaskLoop\", 0);\n" |
| " _static_1(A, \"async___nullDataHandler\$closure\", \"_nullDataHandler\", 4);\n" |
| " _static_2(A, \"async___nullErrorHandler\$closure\", \"_nullErrorHandler\", 6);\n" |
| " _static_0(A, \"async___nullDoneHandler\$closure\", \"_nullDoneHandler\", 0);\n" |
| " _static(A, \"async___rootHandleUncaughtError\$closure\", 5, null, [\"call\$5\"], [\"_rootHandleUncaughtError\"], 75, 0);\n" |
| " _static(A, \"async___rootRun\$closure\", 4, null, [\"call\$1\$4\", \"call\$4\"], [\"_rootRun\", function(\$self, \$parent, zone, f) {\n" |
| " return A._rootRun(\$self, \$parent, zone, f, type\$.dynamic);\n" |
| " }], 76, 0);\n" |
| " _static(A, \"async___rootRunUnary\$closure\", 5, null, [\"call\$2\$5\", \"call\$5\"], [\"_rootRunUnary\", function(\$self, \$parent, zone, f, arg) {\n" |
| " var t1 = type\$.dynamic;\n" |
| " return A._rootRunUnary(\$self, \$parent, zone, f, arg, t1, t1);\n" |
| " }], 77, 0);\n" |
| " _static(A, \"async___rootRunBinary\$closure\", 6, null, [\"call\$3\$6\"], [\"_rootRunBinary\"], 78, 0);\n" |
| " _static(A, \"async___rootRegisterCallback\$closure\", 4, null, [\"call\$1\$4\", \"call\$4\"], [\"_rootRegisterCallback\", function(\$self, \$parent, zone, f) {\n" |
| " return A._rootRegisterCallback(\$self, \$parent, zone, f, type\$.dynamic);\n" |
| " }], 79, 0);\n" |
| " _static(A, \"async___rootRegisterUnaryCallback\$closure\", 4, null, [\"call\$2\$4\", \"call\$4\"], [\"_rootRegisterUnaryCallback\", function(\$self, \$parent, zone, f) {\n" |
| " var t1 = type\$.dynamic;\n" |
| " return A._rootRegisterUnaryCallback(\$self, \$parent, zone, f, t1, t1);\n" |
| " }], 80, 0);\n" |
| " _static(A, \"async___rootRegisterBinaryCallback\$closure\", 4, null, [\"call\$3\$4\", \"call\$4\"], [\"_rootRegisterBinaryCallback\", function(\$self, \$parent, zone, f) {\n" |
| " var t1 = type\$.dynamic;\n" |
| " return A._rootRegisterBinaryCallback(\$self, \$parent, zone, f, t1, t1, t1);\n" |
| " }], 81, 0);\n" |
| " _static(A, \"async___rootErrorCallback\$closure\", 5, null, [\"call\$5\"], [\"_rootErrorCallback\"], 82, 0);\n" |
| " _static(A, \"async___rootScheduleMicrotask\$closure\", 4, null, [\"call\$4\"], [\"_rootScheduleMicrotask\"], 83, 0);\n" |
| " _static(A, \"async___rootCreateTimer\$closure\", 5, null, [\"call\$5\"], [\"_rootCreateTimer\"], 84, 0);\n" |
| " _static(A, \"async___rootCreatePeriodicTimer\$closure\", 5, null, [\"call\$5\"], [\"_rootCreatePeriodicTimer\"], 85, 0);\n" |
| " _static(A, \"async___rootPrint\$closure\", 4, null, [\"call\$4\"], [\"_rootPrint\"], 86, 0);\n" |
| " _static_1(A, \"async___printToZone\$closure\", \"_printToZone0\", 87);\n" |
| " _static(A, \"async___rootFork\$closure\", 5, null, [\"call\$5\"], [\"_rootFork\"], 88, 0);\n" |
| " _instance(A._Completer.prototype, \"get\$completeError\", 0, 1, null, [\"call\$2\", \"call\$1\"], [\"completeError\$2\", \"completeError\$1\"], 53, 0, 0);\n" |
| " _instance_2_u(A._Future.prototype, \"get\$_completeError\", \"_completeError\$2\", 6);\n" |
| " var _;\n" |
| " _instance_0_u(_ = A._ControllerSubscription.prototype, \"get\$_onPause\", \"_onPause\$0\", 0);\n" |
| " _instance_0_u(_, \"get\$_onResume\", \"_onResume\$0\", 0);\n" |
| " _instance_0_u(_ = A._BufferingStreamSubscription.prototype, \"get\$_onPause\", \"_onPause\$0\", 0);\n" |
| " _instance_0_u(_, \"get\$_onResume\", \"_onResume\$0\", 0);\n" |
| " _instance_0_u(A._DoneStreamSubscription.prototype, \"get\$_onMicrotask\", \"_onMicrotask\$0\", 0);\n" |
| " _instance_0_u(_ = A._ForwardingStreamSubscription.prototype, \"get\$_onPause\", \"_onPause\$0\", 0);\n" |
| " _instance_0_u(_, \"get\$_onResume\", \"_onResume\$0\", 0);\n" |
| " _instance_1_u(_, \"get\$_handleData\", \"_handleData\$1\", 11);\n" |
| " _instance_2_u(_, \"get\$_handleError\", \"_handleError\$2\", 92);\n" |
| " _instance_0_u(_, \"get\$_handleDone\", \"_handleDone\$0\", 0);\n" |
| " _static_2(A, \"collection___defaultEquals\$closure\", \"_defaultEquals0\", 28);\n" |
| " _static_1(A, \"collection___defaultHashCode\$closure\", \"_defaultHashCode\", 15);\n" |
| " _static_2(A, \"collection_ListBase__compareAny\$closure\", \"ListBase__compareAny\", 27);\n" |
| " _static_1(A, \"convert___defaultToEncodable\$closure\", \"_defaultToEncodable\", 16);\n" |
| " _instance_1_i(_ = A._ByteCallbackSink.prototype, \"get\$add\", \"add\$1\", 11);\n" |
| " _instance_0_u(_, \"get\$close\", \"close\$0\", 0);\n" |
| " _static_1(A, \"core__identityHashCode\$closure\", \"identityHashCode\", 15);\n" |
| " _static_2(A, \"core__identical\$closure\", \"identical\", 28);\n" |
| " _static_1(A, \"core_Uri_decodeComponent\$closure\", \"Uri_decodeComponent\", 9);\n" |
| " _static(A, \"math__max\$closure\", 2, null, [\"call\$1\$2\", \"call\$2\"], [\"max\", function(a, b) {\n" |
| " return A.max(a, b, type\$.num);\n" |
| " }], 91, 0);\n" |
| " _instance_1_u(_ = A.PersistentWebSocket.prototype, \"get\$_writeToWebSocket\", \"_writeToWebSocket\$1\", 4);\n" |
| " _instance_0_u(_, \"get\$_listenWithRetry\", \"_listenWithRetry\$0\", 5);\n" |
| " _static_1(A, \"case_insensitive_map_CaseInsensitiveMap__canonicalizer\$closure\", \"CaseInsensitiveMap__canonicalizer\", 9);\n" |
| " _instance_1_u(_ = A.SseClient.prototype, \"get\$_onIncomingControlMessage\", \"_onIncomingControlMessage\$1\", 2);\n" |
| " _instance_1_u(_, \"get\$_onIncomingMessage\", \"_onIncomingMessage\$1\", 2);\n" |
| " _instance_0_u(_, \"get\$_onOutgoingDone\", \"_onOutgoingDone\$0\", 0);\n" |
| " _instance_1_u(_, \"get\$_onOutgoingMessage\", \"_onOutgoingMessage\$1\", 56);\n" |
| " _static_1(A, \"client__initializeConnection\$closure\", \"initializeConnection\", 61);\n" |
| " _static_1(A, \"client___handleAuthRequest\$closure\", \"_handleAuthRequest\", 2);\n" |
| " _instance_1_u(_ = A.RequireRestarter.prototype, \"get\$_moduleParents\", \"_moduleParents\$1\", 69);\n" |
| " _instance_2_u(_, \"get\$_moduleTopologicalCompare\", \"_moduleTopologicalCompare\$2\", 70);\n" |
| " })();\n" |
| " (function inheritance() {\n" |
| " var _mixin = hunkHelpers.mixin,\n" |
| " _inherit = hunkHelpers.inherit,\n" |
| " _inheritMany = hunkHelpers.inheritMany;\n" |
| " _inherit(A.Object, null);\n" |
| " _inheritMany(A.Object, [A.JS_CONST, J.Interceptor, A.SafeToStringHook, J.ArrayIterator, A.Stream, A.CastStreamSubscription, A.Iterable, A.CastIterator, A.Closure, A.MapBase, A.Error, A.ListBase, A.SentinelValue, A.ListIterator, A.MappedIterator, A.WhereIterator, A.ExpandIterator, A.TakeIterator, A.SkipIterator, A.EmptyIterator, A.WhereTypeIterator, A.FixedLengthListMixin, A.UnmodifiableListMixin, A._Record, A.ConstantMap, A._KeysOrValuesOrElementsIterator, A.TypeErrorDecoder, A.NullThrownFromJavaScriptException, A.ExceptionAndStackTrace, A._StackTrace, A.LinkedHashMapCell, A.LinkedHashMapKeyIterator, A.LinkedHashMapValueIterator, A.LinkedHashMapEntryIterator, A.JSSyntaxRegExp, A._MatchImplementation, A._AllMatchesIterator, A.StringMatch, A._StringAllMatchesIterator, A._Cell, A._UnmodifiableNativeByteBufferView, A.Rti, A._FunctionParameters, A._Type, A._TimerImpl, A._AsyncAwaitCompleter, A.AsyncError, A._Completer, A._FutureListener, A._Future, A._AsyncCallbackEntry, A._StreamController, A._AsyncStreamControllerDispatch, A._BufferingStreamSubscription, A._StreamSinkWrapper, A._DelayedEvent, A._DelayedDone, A._PendingEvents, A._DoneStreamSubscription, A._StreamIterator, A._ZoneFunction, A._Zone, A._ZoneDelegate, A._ZoneSpecification, A._HashMapKeyIterator, A.SetBase, A._HashSetIterator, A._UnmodifiableMapMixin, A.MapView, A._ListQueueIterator, A._SplayTreeNode, A._SplayTree, A._SplayTreeIterator, A.Codec, A.Converter, A.ByteConversionSink, A._JsonStringifier, A._Utf8Encoder, A._Utf8Decoder, A.DateTime, A.Duration, A._Enum, A.OutOfMemoryError, A.StackOverflowError, A._Exception, A.FormatException, A.MapEntry, A.Null, A._StringStackTrace, A.StringBuffer, A._Uri, A.UriData, A._SimpleUri, A.NullRejectionException, A._JSRandom, A._JSSecureRandom, A.AsyncMemoizer, A.ErrorResult, A.ValueResult, A.StreamQueue, A._NextRequest, A._HasNextRequest, A.CanonicalizedMap, A._QueueList_Object_ListMixin, A.BuildResult, A.ConnectRequest, A.DebugEvent, A.BatchedDebugEvents, A.DebugInfo, A.DevToolsRequest, A.DevToolsResponse, A.ErrorResponse, A.HotReloadRequest, A.HotReloadResponse, A.HotRestartRequest, A.HotRestartResponse, A.PingRequest, A.RegisterEvent, A.RunRequest, A.ServiceExtensionRequest, A.ServiceExtensionResponse, A.BatchedStreamController, A.SocketClient, A._PersistentWebSocket_Object_StreamChannelMixin, A.Uuid, A._StackState, A.ClientException, A.BaseClient, A.BaseRequest, A.BaseResponse, A.MediaType, A.Level, A.LogRecord, A.Logger, A.Context, A.Style, A.ParsedPath, A.PathException, A.Pool, A.PoolResource, A.SourceFile, A.SourceLocationMixin, A.SourceSpanMixin, A.Highlighter, A._Highlight, A._Line, A.SourceLocation, A.SourceSpanException, A.StreamChannelMixin, A.StringScanner, A.EventStreamProvider, A._EventStreamSubscription, A.BrowserWebSocket, A.WebSocketEvent, A.WebSocketException, A.DdcLibraryBundleRestarter, A.DdcRestarter, A.ReloadingManager, A.HotReloadFailedException, A.RequireRestarter]);\n" |
| " _inheritMany(J.Interceptor, [J.JSBool, J.JSNull, J.JavaScriptObject, J.JavaScriptBigInt, J.JavaScriptSymbol, J.JSNumber, J.JSString]);\n" |
| " _inheritMany(J.JavaScriptObject, [J.LegacyJavaScriptObject, J.JSArray, A.NativeByteBuffer, A.NativeTypedData]);\n" |
| " _inheritMany(J.LegacyJavaScriptObject, [J.PlainJavaScriptObject, J.UnknownJavaScriptObject, J.JavaScriptFunction]);\n" |
| " _inherit(J.JSArraySafeToStringHook, A.SafeToStringHook);\n" |
| " _inherit(J.JSUnmodifiableArray, J.JSArray);\n" |
| " _inheritMany(J.JSNumber, [J.JSInt, J.JSNumNotInt]);\n" |
| " _inheritMany(A.Stream, [A.CastStream, A.StreamView, A._StreamImpl, A._EmptyStream, A._MultiStream, A._ForwardingStream, A._EventStream]);\n" |
| " _inheritMany(A.Iterable, [A._CastIterableBase, A.EfficientLengthIterable, A.MappedIterable, A.WhereIterable, A.ExpandIterable, A.TakeIterable, A.SkipIterable, A.WhereTypeIterable, A._KeysOrValues, A._AllMatchesIterable, A._StringAllMatchesIterable]);\n" |
| " _inheritMany(A._CastIterableBase, [A.CastIterable, A.__CastListBase__CastIterableBase_ListMixin]);\n" |
| " _inherit(A._EfficientLengthCastIterable, A.CastIterable);\n" |
| " _inherit(A._CastListBase, A.__CastListBase__CastIterableBase_ListMixin);\n" |
| " _inheritMany(A.Closure, [A.Closure2Args, A.Closure0Args, A.Instantiation, A.TearOffClosure, A.initHooks_closure, A.initHooks_closure1, A._AsyncRun__initializeScheduleImmediate_internalCallback, A._AsyncRun__initializeScheduleImmediate_closure, A._awaitOnObject_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure, A._Future_timeout_closure0, A.Stream_length_closure, A.Stream_first_closure0, A._CustomZone_bindUnaryCallback_closure, A._CustomZone_bindUnaryCallbackGuarded_closure, A._RootZone_bindUnaryCallback_closure, A._RootZone_bindUnaryCallbackGuarded_closure, A.runZonedGuarded_closure, A._LinkedCustomHashMap_closure, A._Uri__makePath_closure, A.FutureOfJSAnyToJSPromise_get_toJS__closure, A.FutureOfVoidToJSPromise_get_toJS__closure, A.jsify__convert, A.promiseToFuture_closure, A.promiseToFuture_closure0, A.dartify_convert, A.StreamQueue__ensureListening_closure, A.CanonicalizedMap_keys_closure, A.BuildStatus_BuildStatus\$fromJson_closure, A.BatchedDebugEvents_toJson_closure, A.WebSocketClient_stream_closure, A.PersistentWebSocket_connect_closure, A.PersistentWebSocket__listenWithRetry_attemptRetry, A.PersistentWebSocket__listenWithRetry_closure, A.BaseRequest_closure0, A.BrowserClient_send_closure, A._bodyToStream_closure, A.ByteStream_toBytes_closure, A.MediaType_toString__closure, A.expectQuotedString_closure, A.Context_joinAll_closure, A.Context_split_closure, A._validateArgList_closure, A.Pool__runOnRelease_closure, A.Highlighter\$__closure, A.Highlighter\$___closure, A.Highlighter\$__closure0, A.Highlighter__collateLines_closure, A.Highlighter__collateLines_closure1, A.Highlighter__collateLines__closure, A.Highlighter_highlight_closure, A.SseClient_closure0, A.SseClient_closure1, A._EventStreamSubscription_closure, A._EventStreamSubscription_onData_closure, A.BrowserWebSocket_connect_closure, A.BrowserWebSocket_connect_closure0, A.BrowserWebSocket_connect_closure1, A.BrowserWebSocket_connect_closure2, A.main__closure1, A.main__closure2, A.main__closure4, A.main__closure6, A.main__closure8, A.main__closure9, A.main__closure10, A._handleAuthRequest_closure, A._sendHotReloadResponse_closure, A._sendHotRestartResponse_closure, A.DdcLibraryBundleRestarter_restart_closure, A.DdcLibraryBundleRestarter_hotReloadStart_closure, A.DdcRestarter_restart_closure0, A.DdcRestarter_restart_closure, A.RequireRestarter__reloadModule_closure0, A.JSArrayExtension_toDartIterable_closure]);\n" |
| " _inheritMany(A.Closure2Args, [A._CastListBase_sort_closure, A.CastMap_forEach_closure, A.initHooks_closure0, A._awaitOnObject_closure0, A._wrapJsFunctionForAsync_closure, A._Future__propagateToListeners_handleWhenCompleteCallback_closure0, A._Future_timeout_closure1, A._BufferingStreamSubscription_asFuture_closure0, A.MapBase_mapToString_closure, A._JsonStringifier_writeMap_closure, A.Uri_parseIPv6Address_error, A.FutureOfJSAnyToJSPromise_get_toJS_closure, A.FutureOfJSAnyToJSPromise_get_toJS__closure0, A.FutureOfVoidToJSPromise_get_toJS_closure, A.FutureOfVoidToJSPromise_get_toJS__closure0, A.StreamQueue__ensureListening_closure1, A.CanonicalizedMap_addAll_closure, A.CanonicalizedMap_forEach_closure, A.safeUnawaited_closure, A.BaseRequest_closure, A.MediaType_toString_closure, A.Pool__runOnRelease_closure0, A.Highlighter__collateLines_closure0, A.main__closure5, A.main_closure0]);\n" |
| " _inherit(A.CastList, A._CastListBase);\n" |
| " _inheritMany(A.MapBase, [A.CastMap, A.JsLinkedHashMap, A._HashMap, A._JsonMap]);\n" |
| " _inheritMany(A.Error, [A.LateError, A.TypeError, A.JsNoSuchMethodError, A.UnknownJsTypeError, A.RuntimeError, A._Error, A.JsonUnsupportedObjectError, A.AssertionError, A.ArgumentError, A.UnsupportedError, A.UnimplementedError, A.StateError, A.ConcurrentModificationError]);\n" |
| " _inherit(A.UnmodifiableListBase, A.ListBase);\n" |
| " _inherit(A.CodeUnits, A.UnmodifiableListBase);\n" |
| " _inheritMany(A.Closure0Args, [A.nullFuture_closure, A._AsyncRun__scheduleImmediateJsOverride_internalCallback, A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback, A._TimerImpl_internalCallback, A._TimerImpl\$periodic_closure, A.Future_Future\$microtask_closure, A.Future_Future\$delayed_closure, A._Future__addListener_closure, A._Future__prependListeners_closure, A._Future__chainCoreFuture_closure, A._Future__asyncCompleteWithValue_closure, A._Future__asyncCompleteErrorObject_closure, A._Future__propagateToListeners_handleWhenCompleteCallback, A._Future__propagateToListeners_handleValueCallback, A._Future__propagateToListeners_handleError, A._Future_timeout_closure, A.Stream_length_closure0, A.Stream_first_closure, A._StreamController__subscribe_closure, A._StreamController__recordCancel_complete, A._BufferingStreamSubscription_asFuture_closure, A._BufferingStreamSubscription_asFuture__closure, A._BufferingStreamSubscription__sendError_sendError, A._BufferingStreamSubscription__sendDone_sendDone, A._PendingEvents_schedule_closure, A._MultiStream_listen_closure, A._cancelAndValue_closure, A._CustomZone_bindCallback_closure, A._CustomZone_bindCallbackGuarded_closure, A._RootZone_bindCallback_closure, A._RootZone_bindCallbackGuarded_closure, A._rootHandleError_closure, A._Utf8Decoder__decoder_closure, A._Utf8Decoder__decoderNonfatal_closure, A.StreamQueue__ensureListening_closure0, A.BuildStatus_BuildStatus\$fromJson_closure0, A.BatchedStreamController__hasEventOrTimeOut_closure, A.BatchedStreamController__hasEventDuring_closure, A._readStreamBody_closure, A._readStreamBody_closure0, A.MediaType_MediaType\$parse_closure, A.Logger_Logger_closure, A.Highlighter_closure, A.Highlighter__writeFileStart_closure, A.Highlighter__writeMultilineHighlights_closure, A.Highlighter__writeMultilineHighlights_closure0, A.Highlighter__writeMultilineHighlights_closure1, A.Highlighter__writeMultilineHighlights_closure2, A.Highlighter__writeMultilineHighlights__closure, A.Highlighter__writeMultilineHighlights__closure0, A.Highlighter__writeHighlightedText_closure, A.Highlighter__writeIndicator_closure, A.Highlighter__writeIndicator_closure0, A.Highlighter__writeIndicator_closure1, A.Highlighter__writeSidebar_closure, A._Highlight_closure, A.SseClient_closure, A.SseClient__closure, A.SseClient__onOutgoingMessage_closure, A.main_closure, A.main__closure, A.main__closure0, A.main__closure3, A.main__closure7, A.DdcLibraryBundleRestarter__getSrcModuleLibraries_closure, A.RequireRestarter__reload_closure, A.RequireRestarter__reloadModule_closure, A._createScript_closure, A._createScript__closure, A._createScript__closure0, A.runMain_closure]);\n" |
| " _inheritMany(A.EfficientLengthIterable, [A.ListIterable, A.EmptyIterable, A.LinkedHashMapKeysIterable, A.LinkedHashMapValuesIterable, A.LinkedHashMapEntriesIterable, A._HashMapKeyIterable]);\n" |
| " _inheritMany(A.ListIterable, [A.SubListIterable, A.MappedListIterable, A.ReversedListIterable, A.ListQueue, A._JsonMapKeyIterable]);\n" |
| " _inherit(A.EfficientLengthMappedIterable, A.MappedIterable);\n" |
| " _inherit(A.EfficientLengthTakeIterable, A.TakeIterable);\n" |
| " _inherit(A.EfficientLengthSkipIterable, A.SkipIterable);\n" |
| " _inherit(A._Record2, A._Record);\n" |
| " _inherit(A._Record_2, A._Record2);\n" |
| " _inherit(A.ConstantStringMap, A.ConstantMap);\n" |
| " _inherit(A.Instantiation1, A.Instantiation);\n" |
| " _inherit(A.NullError, A.TypeError);\n" |
| " _inheritMany(A.TearOffClosure, [A.StaticClosure, A.BoundClosure]);\n" |
| " _inheritMany(A.JsLinkedHashMap, [A.JsIdentityLinkedHashMap, A._LinkedCustomHashMap]);\n" |
| " _inherit(A.NativeArrayBuffer, A.NativeByteBuffer);\n" |
| " _inheritMany(A.NativeTypedData, [A.NativeByteData, A.NativeTypedArray]);\n" |
| " _inheritMany(A.NativeTypedArray, [A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]);\n" |
| " _inherit(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin);\n" |
| " _inherit(A.NativeTypedArrayOfDouble, A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin);\n" |
| " _inherit(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin);\n" |
| " _inherit(A.NativeTypedArrayOfInt, A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin);\n" |
| " _inheritMany(A.NativeTypedArrayOfDouble, [A.NativeFloat32List, A.NativeFloat64List]);\n" |
| " _inheritMany(A.NativeTypedArrayOfInt, [A.NativeInt16List, A.NativeInt32List, A.NativeInt8List, A.NativeUint16List, A.NativeUint32List, A.NativeUint8ClampedList, A.NativeUint8List]);\n" |
| " _inherit(A._TypeError, A._Error);\n" |
| " _inheritMany(A._Completer, [A._AsyncCompleter, A._SyncCompleter]);\n" |
| " _inherit(A._AsyncStreamController, A._StreamController);\n" |
| " _inherit(A._ControllerStream, A._StreamImpl);\n" |
| " _inheritMany(A._BufferingStreamSubscription, [A._ControllerSubscription, A._ForwardingStreamSubscription]);\n" |
| " _inheritMany(A._DelayedEvent, [A._DelayedData, A._DelayedError]);\n" |
| " _inherit(A._MultiStreamController, A._AsyncStreamController);\n" |
| " _inherit(A._MapStream, A._ForwardingStream);\n" |
| " _inheritMany(A._Zone, [A._CustomZone, A._RootZone]);\n" |
| " _inherit(A._IdentityHashMap, A._HashMap);\n" |
| " _inherit(A._SetBase, A.SetBase);\n" |
| " _inherit(A._HashSet, A._SetBase);\n" |
| " _inherit(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A.MapView);\n" |
| " _inherit(A.UnmodifiableMapView, A._UnmodifiableMapView_MapView__UnmodifiableMapMixin);\n" |
| " _inherit(A._SplayTreeSetNode, A._SplayTreeNode);\n" |
| " _inherit(A._SplayTreeKeyIterator, A._SplayTreeIterator);\n" |
| " _inherit(A._SplayTreeSet__SplayTree_Iterable, A._SplayTree);\n" |
| " _inherit(A._SplayTreeSet__SplayTree_Iterable_SetMixin, A._SplayTreeSet__SplayTree_Iterable);\n" |
| " _inherit(A.SplayTreeSet, A._SplayTreeSet__SplayTree_Iterable_SetMixin);\n" |
| " _inheritMany(A.Codec, [A.Encoding, A.Base64Codec, A.JsonCodec]);\n" |
| " _inheritMany(A.Encoding, [A.AsciiCodec, A.Latin1Codec, A.Utf8Codec]);\n" |
| " _inheritMany(A.Converter, [A._UnicodeSubsetEncoder, A._UnicodeSubsetDecoder, A.Base64Encoder, A.JsonEncoder, A.JsonDecoder, A.Utf8Encoder, A.Utf8Decoder]);\n" |
| " _inheritMany(A._UnicodeSubsetEncoder, [A.AsciiEncoder, A.Latin1Encoder]);\n" |
| " _inheritMany(A._UnicodeSubsetDecoder, [A.AsciiDecoder, A.Latin1Decoder]);\n" |
| " _inherit(A._ByteCallbackSink, A.ByteConversionSink);\n" |
| " _inherit(A.JsonCyclicError, A.JsonUnsupportedObjectError);\n" |
| " _inherit(A._JsonStringStringifier, A._JsonStringifier);\n" |
| " _inheritMany(A.ArgumentError, [A.RangeError, A.IndexError]);\n" |
| " _inherit(A._DataUri, A._Uri);\n" |
| " _inherit(A.QueueList, A._QueueList_Object_ListMixin);\n" |
| " _inherit(A._CastQueueList, A.QueueList);\n" |
| " _inherit(A.BuildStatus, A._Enum);\n" |
| " _inheritMany(A.SocketClient, [A.SseSocketClient, A.WebSocketClient]);\n" |
| " _inherit(A.PersistentWebSocket, A._PersistentWebSocket_Object_StreamChannelMixin);\n" |
| " _inherit(A.RequestAbortedException, A.ClientException);\n" |
| " _inherit(A.BrowserClient, A.BaseClient);\n" |
| " _inherit(A.ByteStream, A.StreamView);\n" |
| " _inherit(A.Request, A.BaseRequest);\n" |
| " _inheritMany(A.BaseResponse, [A.Response, A.StreamedResponse]);\n" |
| " _inherit(A.StreamedResponseV2, A.StreamedResponse);\n" |
| " _inherit(A.CaseInsensitiveMap, A.CanonicalizedMap);\n" |
| " _inherit(A.InternalStyle, A.Style);\n" |
| " _inheritMany(A.InternalStyle, [A.PosixStyle, A.UrlStyle, A.WindowsStyle]);\n" |
| " _inherit(A.FileLocation, A.SourceLocationMixin);\n" |
| " _inheritMany(A.SourceSpanMixin, [A._FileSpan, A.SourceSpanBase]);\n" |
| " _inherit(A.SourceSpanFormatException, A.SourceSpanException);\n" |
| " _inherit(A.SourceSpanWithContext, A.SourceSpanBase);\n" |
| " _inherit(A.SseClient, A.StreamChannelMixin);\n" |
| " _inherit(A.StringScannerException, A.SourceSpanFormatException);\n" |
| " _inheritMany(A.WebSocketEvent, [A.TextDataReceived, A.BinaryDataReceived, A.CloseReceived]);\n" |
| " _inherit(A.WebSocketConnectionClosed, A.WebSocketException);\n" |
| " _mixin(A.UnmodifiableListBase, A.UnmodifiableListMixin);\n" |
| " _mixin(A.__CastListBase__CastIterableBase_ListMixin, A.ListBase);\n" |
| " _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin, A.ListBase);\n" |
| " _mixin(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);\n" |
| " _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin, A.ListBase);\n" |
| " _mixin(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin, A.FixedLengthListMixin);\n" |
| " _mixin(A._AsyncStreamController, A._AsyncStreamControllerDispatch);\n" |
| " _mixin(A._SplayTreeSet__SplayTree_Iterable, A.Iterable);\n" |
| " _mixin(A._SplayTreeSet__SplayTree_Iterable_SetMixin, A.SetBase);\n" |
| " _mixin(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin, A._UnmodifiableMapMixin);\n" |
| " _mixin(A._QueueList_Object_ListMixin, A.ListBase);\n" |
| " _mixin(A._PersistentWebSocket_Object_StreamChannelMixin, A.StreamChannelMixin);\n" |
| " })();\n" |
| " var init = {\n" |
| " G: typeof self != \"undefined\" ? self : globalThis,\n" |
| " typeUniverse: {eC: new Map(), tR: {}, eT: {}, tPV: {}, sEA: []},\n" |
| " mangledGlobalNames: {int: \"int\", double: \"double\", num: \"num\", String: \"String\", bool: \"bool\", Null: \"Null\", List: \"List\", Object: \"Object\", Map: \"Map\", JSObject: \"JSObject\"},\n" |
| " mangledNames: {},\n" |
| " types: [\"~()\", \"Null()\", \"~(JSObject)\", \"Null(Object,StackTrace)\", \"~(@)\", \"Future<~>()\", \"~(Object,StackTrace)\", \"JSObject()\", \"Null(@)\", \"String(String)\", \"Object?(Object?)\", \"~(Object?)\", \"bool(_Highlight)\", \"Null(JSObject)\", \"~(~())\", \"int(Object?)\", \"@(@)\", \"Null(String)\", \"~(Object?,Object?)\", \"@()\", \"Null(JavaScriptFunction,JavaScriptFunction)\", \"bool()\", \"Future<~>(String)\", \"String(Match)\", \"bool(String)\", \"int()\", \"Null(JavaScriptFunction)\", \"int(@,@)\", \"bool(Object?,Object?)\", \"PersistentWebSocket(WebSocket)\", \"String(@)\", \"~(Zone,ZoneDelegate,Zone,Object,StackTrace)\", \"bool(Object?)\", \"Future<~>(WebSocketEvent)\", \"bool(String,String)\", \"int(String)\", \"Null(String,String[Object?])\", \"~(MultiStreamController<List<int>>)\", \"~(List<int>)\", \"MediaType()\", \"~(String,String)\", \"Null(@,StackTrace)\", \"Logger()\", \"~(int,@)\", \"String(String?)\", \"Null(~)\", \"String?()\", \"int(_Line)\", \"0&(String,int?)\", \"Object(_Line)\", \"Object(_Highlight)\", \"int(_Highlight,_Highlight)\", \"List<_Line>(MapEntry<Object,List<_Highlight>>)\", \"~(Object[StackTrace?])\", \"SourceSpanWithContext()\", \"@(String)\", \"~(String?)\", \"Future<Null>()\", \"@(@,String)\", \"JSObject(Object,StackTrace)\", \"JSObject(String[bool?])\", \"~(StreamSink<@>)\", \"~(List<DebugEvent>)\", \"Null(String,String)\", \"~(bool)\", \"HotReloadResponse(String,bool,String?)\", \"HotRestartResponse(String,bool,String?)\", \"Object?(~)\", \"bool(bool)\", \"List<String>(String)\", \"int(String,String)\", \"Null(JavaScriptObject)\", \"JSObject()()\", \"bool(BuildStatus)\", \"0&()\", \"~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)\", \"0^(Zone?,ZoneDelegate?,Zone,0^())<Object?>\", \"0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)<Object?,Object?>\", \"0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)<Object?,Object?,Object?>\", \"0^()(Zone,ZoneDelegate,Zone,0^())<Object?>\", \"0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))<Object?,Object?>\", \"0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))<Object?,Object?,Object?>\", \"AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)\", \"~(Zone?,ZoneDelegate?,Zone,~())\", \"Timer(Zone,ZoneDelegate,Zone,Duration,~())\", \"Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))\", \"~(Zone,ZoneDelegate,Zone,String)\", \"~(String)\", \"Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map<Object?,Object?>?)\", \"Map<String,@>(DebugEvent)\", \"Null(~())\", \"0^(0^,0^)<num>\", \"~(@,StackTrace)\"],\n" |
| " interceptorsByTag: null,\n" |
| " leafTags: null,\n" |
| " arrayRti: Symbol(\"\$ti\"),\n" |
| " rttc: {\n" |
| " \"2;\": (t1, t2) => o => o instanceof A._Record_2 && t1._is(o._0) && t2._is(o._1)\n" |
| " }\n" |
| " };\n" |
| " A._Universe_addRules(init.typeUniverse, JSON.parse('{\"JavaScriptFunction\":\"LegacyJavaScriptObject\",\"PlainJavaScriptObject\":\"LegacyJavaScriptObject\",\"UnknownJavaScriptObject\":\"LegacyJavaScriptObject\",\"NativeSharedArrayBuffer\":\"NativeByteBuffer\",\"JavaScriptObject\":{\"JSObject\":[]},\"JSArray\":{\"List\":[\"1\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"1\"],\"JSObject\":[],\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"JSBool\":{\"bool\":[],\"TrustedGetRuntimeType\":[]},\"JSNull\":{\"Null\":[],\"TrustedGetRuntimeType\":[]},\"LegacyJavaScriptObject\":{\"JavaScriptObject\":[],\"JSObject\":[]},\"JSArraySafeToStringHook\":{\"SafeToStringHook\":[]},\"JSUnmodifiableArray\":{\"JSArray\":[\"1\"],\"List\":[\"1\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"1\"],\"JSObject\":[],\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"ArrayIterator\":{\"Iterator\":[\"1\"]},\"JSNumber\":{\"double\":[],\"num\":[],\"Comparable\":[\"num\"]},\"JSInt\":{\"double\":[],\"int\":[],\"num\":[],\"Comparable\":[\"num\"],\"TrustedGetRuntimeType\":[]},\"JSNumNotInt\":{\"double\":[],\"num\":[],\"Comparable\":[\"num\"],\"TrustedGetRuntimeType\":[]},\"JSString\":{\"String\":[],\"Comparable\":[\"String\"],\"Pattern\":[],\"TrustedGetRuntimeType\":[]},\"CastStream\":{\"Stream\":[\"2\"],\"Stream.T\":\"2\"},\"CastStreamSubscription\":{\"StreamSubscription\":[\"2\"]},\"_CastIterableBase\":{\"Iterable\":[\"2\"]},\"CastIterator\":{\"Iterator\":[\"2\"]},\"CastIterable\":{\"_CastIterableBase\":[\"1\",\"2\"],\"Iterable\":[\"2\"],\"Iterable.E\":\"2\"},\"_EfficientLengthCastIterable\":{\"CastIterable\":[\"1\",\"2\"],\"_CastIterableBase\":[\"1\",\"2\"],\"EfficientLengthIterable\":[\"2\"],\"Iterable\":[\"2\"],\"Iterable.E\":\"2\"},\"_CastListBase\":{\"ListBase\":[\"2\"],\"List\":[\"2\"],\"_CastIterableBase\":[\"1\",\"2\"],\"EfficientLengthIterable\":[\"2\"],\"Iterable\":[\"2\"]},\"CastList\":{\"_CastListBase\":[\"1\",\"2\"],\"ListBase\":[\"2\"],\"List\":[\"2\"],\"_CastIterableBase\":[\"1\",\"2\"],\"EfficientLengthIterable\":[\"2\"],\"Iterable\":[\"2\"],\"ListBase.E\":\"2\",\"Iterable.E\":\"2\"},\"CastMap\":{\"MapBase\":[\"3\",\"4\"],\"Map\":[\"3\",\"4\"],\"MapBase.K\":\"3\",\"MapBase.V\":\"4\"},\"LateError\":{\"Error\":[]},\"CodeUnits\":{\"ListBase\":[\"int\"],\"UnmodifiableListMixin\":[\"int\"],\"List\":[\"int\"],\"EfficientLengthIterable\":[\"int\"],\"Iterable\":[\"int\"],\"ListBase.E\":\"int\",\"Iterable.E\":\"int\",\"UnmodifiableListMixin.E\":\"int\"},\"EfficientLengthIterable\":{\"Iterable\":[\"1\"]},\"ListIterable\":{\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"]},\"SubListIterable\":{\"ListIterable\":[\"1\"],\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"],\"ListIterable.E\":\"1\",\"Iterable.E\":\"1\"},\"ListIterator\":{\"Iterator\":[\"1\"]},\"MappedIterable\":{\"Iterable\":[\"2\"],\"Iterable.E\":\"2\"},\"EfficientLengthMappedIterable\":{\"MappedIterable\":[\"1\",\"2\"],\"EfficientLengthIterable\":[\"2\"],\"Iterable\":[\"2\"],\"Iterable.E\":\"2\"},\"MappedIterator\":{\"Iterator\":[\"2\"]},\"MappedListIterable\":{\"ListIterable\":[\"2\"],\"EfficientLengthIterable\":[\"2\"],\"Iterable\":[\"2\"],\"ListIterable.E\":\"2\",\"Iterable.E\":\"2\"},\"WhereIterable\":{\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"WhereIterator\":{\"Iterator\":[\"1\"]},\"ExpandIterable\":{\"Iterable\":[\"2\"],\"Iterable.E\":\"2\"},\"ExpandIterator\":{\"Iterator\":[\"2\"]},\"TakeIterable\":{\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"EfficientLengthTakeIterable\":{\"TakeIterable\":[\"1\"],\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"TakeIterator\":{\"Iterator\":[\"1\"]},\"SkipIterable\":{\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"EfficientLengthSkipIterable\":{\"SkipIterable\":[\"1\"],\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"SkipIterator\":{\"Iterator\":[\"1\"]},\"EmptyIterable\":{\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"EmptyIterator\":{\"Iterator\":[\"1\"]},\"WhereTypeIterable\":{\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"WhereTypeIterator\":{\"Iterator\":[\"1\"]},\"UnmodifiableListBase\":{\"ListBase\":[\"1\"],\"UnmodifiableListMixin\":[\"1\"],\"List\":[\"1\"],\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"]},\"ReversedListIterable\":{\"ListIterable\":[\"1\"],\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"],\"ListIterable.E\":\"1\",\"Iterable.E\":\"1\"},\"_Record_2\":{\"_Record2\":[],\"_Record\":[]},\"ConstantMap\":{\"Map\":[\"1\",\"2\"]},\"ConstantStringMap\":{\"ConstantMap\":[\"1\",\"2\"],\"Map\":[\"1\",\"2\"]},\"_KeysOrValues\":{\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"_KeysOrValuesOrElementsIterator\":{\"Iterator\":[\"1\"]},\"Instantiation\":{\"Closure\":[],\"Function\":[]},\"Instantiation1\":{\"Closure\":[],\"Function\":[]},\"NullError\":{\"TypeError\":[],\"Error\":[]},\"JsNoSuchMethodError\":{\"Error\":[]},\"UnknownJsTypeError\":{\"Error\":[]},\"NullThrownFromJavaScriptException\":{\"Exception\":[]},\"_StackTrace\":{\"StackTrace\":[]},\"Closure\":{\"Function\":[]},\"Closure0Args\":{\"Closure\":[],\"Function\":[]},\"Closure2Args\":{\"Closure\":[],\"Function\":[]},\"TearOffClosure\":{\"Closure\":[],\"Function\":[]},\"StaticClosure\":{\"Closure\":[],\"Function\":[]},\"BoundClosure\":{\"Closure\":[],\"Function\":[]},\"RuntimeError\":{\"Error\":[]},\"JsLinkedHashMap\":{\"MapBase\":[\"1\",\"2\"],\"LinkedHashMap\":[\"1\",\"2\"],\"Map\":[\"1\",\"2\"],\"MapBase.K\":\"1\",\"MapBase.V\":\"2\"},\"LinkedHashMapKeysIterable\":{\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"LinkedHashMapKeyIterator\":{\"Iterator\":[\"1\"]},\"LinkedHashMapValuesIterable\":{\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"LinkedHashMapValueIterator\":{\"Iterator\":[\"1\"]},\"LinkedHashMapEntriesIterable\":{\"EfficientLengthIterable\":[\"MapEntry<1,2>\"],\"Iterable\":[\"MapEntry<1,2>\"],\"Iterable.E\":\"MapEntry<1,2>\"},\"LinkedHashMapEntryIterator\":{\"Iterator\":[\"MapEntry<1,2>\"]},\"JsIdentityLinkedHashMap\":{\"JsLinkedHashMap\":[\"1\",\"2\"],\"MapBase\":[\"1\",\"2\"],\"LinkedHashMap\":[\"1\",\"2\"],\"Map\":[\"1\",\"2\"],\"MapBase.K\":\"1\",\"MapBase.V\":\"2\"},\"_Record2\":{\"_Record\":[]},\"JSSyntaxRegExp\":{\"RegExp\":[],\"Pattern\":[]},\"_MatchImplementation\":{\"RegExpMatch\":[],\"Match\":[]},\"_AllMatchesIterable\":{\"Iterable\":[\"RegExpMatch\"],\"Iterable.E\":\"RegExpMatch\"},\"_AllMatchesIterator\":{\"Iterator\":[\"RegExpMatch\"]},\"StringMatch\":{\"Match\":[]},\"_StringAllMatchesIterable\":{\"Iterable\":[\"Match\"],\"Iterable.E\":\"Match\"},\"_StringAllMatchesIterator\":{\"Iterator\":[\"Match\"]},\"NativeByteBuffer\":{\"JavaScriptObject\":[],\"JSObject\":[],\"ByteBuffer\":[],\"TrustedGetRuntimeType\":[]},\"NativeArrayBuffer\":{\"NativeByteBuffer\":[],\"JavaScriptObject\":[],\"JSObject\":[],\"ByteBuffer\":[],\"TrustedGetRuntimeType\":[]},\"NativeTypedData\":{\"JavaScriptObject\":[],\"JSObject\":[]},\"_UnmodifiableNativeByteBufferView\":{\"ByteBuffer\":[]},\"NativeByteData\":{\"JavaScriptObject\":[],\"ByteData\":[],\"JSObject\":[],\"TrustedGetRuntimeType\":[]},\"NativeTypedArray\":{\"JavaScriptIndexingBehavior\":[\"1\"],\"JavaScriptObject\":[],\"JSObject\":[]},\"NativeTypedArrayOfDouble\":{\"ListBase\":[\"double\"],\"NativeTypedArray\":[\"double\"],\"List\":[\"double\"],\"JavaScriptIndexingBehavior\":[\"double\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"double\"],\"JSObject\":[],\"Iterable\":[\"double\"],\"FixedLengthListMixin\":[\"double\"]},\"NativeTypedArrayOfInt\":{\"ListBase\":[\"int\"],\"NativeTypedArray\":[\"int\"],\"List\":[\"int\"],\"JavaScriptIndexingBehavior\":[\"int\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"int\"],\"JSObject\":[],\"Iterable\":[\"int\"],\"FixedLengthListMixin\":[\"int\"]},\"NativeFloat32List\":{\"Float32List\":[],\"ListBase\":[\"double\"],\"NativeTypedArray\":[\"double\"],\"List\":[\"double\"],\"JavaScriptIndexingBehavior\":[\"double\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"double\"],\"JSObject\":[],\"Iterable\":[\"double\"],\"FixedLengthListMixin\":[\"double\"],\"TrustedGetRuntimeType\":[],\"ListBase.E\":\"double\",\"Iterable.E\":\"double\",\"FixedLengthListMixin.E\":\"double\"},\"NativeFloat64List\":{\"Float64List\":[],\"ListBase\":[\"double\"],\"NativeTypedArray\":[\"double\"],\"List\":[\"double\"],\"JavaScriptIndexingBehavior\":[\"double\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"double\"],\"JSObject\":[],\"Iterable\":[\"double\"],\"FixedLengthListMixin\":[\"double\"],\"TrustedGetRuntimeType\":[],\"ListBase.E\":\"double\",\"Iterable.E\":\"double\",\"FixedLengthListMixin.E\":\"double\"},\"NativeInt16List\":{\"NativeTypedArrayOfInt\":[],\"Int16List\":[],\"ListBase\":[\"int\"],\"NativeTypedArray\":[\"int\"],\"List\":[\"int\"],\"JavaScriptIndexingBehavior\":[\"int\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"int\"],\"JSObject\":[],\"Iterable\":[\"int\"],\"FixedLengthListMixin\":[\"int\"],\"TrustedGetRuntimeType\":[],\"ListBase.E\":\"int\",\"Iterable.E\":\"int\",\"FixedLengthListMixin.E\":\"int\"},\"NativeInt32List\":{\"NativeTypedArrayOfInt\":[],\"Int32List\":[],\"ListBase\":[\"int\"],\"NativeTypedArray\":[\"int\"],\"List\":[\"int\"],\"JavaScriptIndexingBehavior\":[\"int\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"int\"],\"JSObject\":[],\"Iterable\":[\"int\"],\"FixedLengthListMixin\":[\"int\"],\"TrustedGetRuntimeType\":[],\"ListBase.E\":\"int\",\"Iterable.E\":\"int\",\"FixedLengthListMixin.E\":\"int\"},\"NativeInt8List\":{\"NativeTypedArrayOfInt\":[],\"Int8List\":[],\"ListBase\":[\"int\"],\"NativeTypedArray\":[\"int\"],\"List\":[\"int\"],\"JavaScriptIndexingBehavior\":[\"int\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"int\"],\"JSObject\":[],\"Iterable\":[\"int\"],\"FixedLengthListMixin\":[\"int\"],\"TrustedGetRuntimeType\":[],\"ListBase.E\":\"int\",\"Iterable.E\":\"int\",\"FixedLengthListMixin.E\":\"int\"},\"NativeUint16List\":{\"NativeTypedArrayOfInt\":[],\"Uint16List\":[],\"ListBase\":[\"int\"],\"NativeTypedArray\":[\"int\"],\"List\":[\"int\"],\"JavaScriptIndexingBehavior\":[\"int\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"int\"],\"JSObject\":[],\"Iterable\":[\"int\"],\"FixedLengthListMixin\":[\"int\"],\"TrustedGetRuntimeType\":[],\"ListBase.E\":\"int\",\"Iterable.E\":\"int\",\"FixedLengthListMixin.E\":\"int\"},\"NativeUint32List\":{\"NativeTypedArrayOfInt\":[],\"Uint32List\":[],\"ListBase\":[\"int\"],\"NativeTypedArray\":[\"int\"],\"List\":[\"int\"],\"JavaScriptIndexingBehavior\":[\"int\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"int\"],\"JSObject\":[],\"Iterable\":[\"int\"],\"FixedLengthListMixin\":[\"int\"],\"TrustedGetRuntimeType\":[],\"ListBase.E\":\"int\",\"Iterable.E\":\"int\",\"FixedLengthListMixin.E\":\"int\"},\"NativeUint8ClampedList\":{\"NativeTypedArrayOfInt\":[],\"Uint8ClampedList\":[],\"ListBase\":[\"int\"],\"NativeTypedArray\":[\"int\"],\"List\":[\"int\"],\"JavaScriptIndexingBehavior\":[\"int\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"int\"],\"JSObject\":[],\"Iterable\":[\"int\"],\"FixedLengthListMixin\":[\"int\"],\"TrustedGetRuntimeType\":[],\"ListBase.E\":\"int\",\"Iterable.E\":\"int\",\"FixedLengthListMixin.E\":\"int\"},\"NativeUint8List\":{\"NativeTypedArrayOfInt\":[],\"Uint8List\":[],\"ListBase\":[\"int\"],\"NativeTypedArray\":[\"int\"],\"List\":[\"int\"],\"JavaScriptIndexingBehavior\":[\"int\"],\"JavaScriptObject\":[],\"EfficientLengthIterable\":[\"int\"],\"JSObject\":[],\"Iterable\":[\"int\"],\"FixedLengthListMixin\":[\"int\"],\"TrustedGetRuntimeType\":[],\"ListBase.E\":\"int\",\"Iterable.E\":\"int\",\"FixedLengthListMixin.E\":\"int\"},\"_Error\":{\"Error\":[]},\"_TypeError\":{\"TypeError\":[],\"Error\":[]},\"AsyncError\":{\"Error\":[]},\"MultiStreamController\":{\"StreamController\":[\"1\"],\"StreamSink\":[\"1\"]},\"_TimerImpl\":{\"Timer\":[]},\"_AsyncAwaitCompleter\":{\"Completer\":[\"1\"]},\"_Completer\":{\"Completer\":[\"1\"]},\"_AsyncCompleter\":{\"_Completer\":[\"1\"],\"Completer\":[\"1\"]},\"_SyncCompleter\":{\"_Completer\":[\"1\"],\"Completer\":[\"1\"]},\"_Future\":{\"Future\":[\"1\"]},\"StreamView\":{\"Stream\":[\"1\"]},\"_StreamController\":{\"StreamController\":[\"1\"],\"StreamSink\":[\"1\"],\"_StreamControllerLifecycle\":[\"1\"],\"_EventSink\":[\"1\"],\"_EventDispatch\":[\"1\"]},\"_AsyncStreamController\":{\"_AsyncStreamControllerDispatch\":[\"1\"],\"_StreamController\":[\"1\"],\"StreamController\":[\"1\"],\"StreamSink\":[\"1\"],\"_StreamControllerLifecycle\":[\"1\"],\"_EventSink\":[\"1\"],\"_EventDispatch\":[\"1\"]},\"_ControllerStream\":{\"_StreamImpl\":[\"1\"],\"Stream\":[\"1\"],\"Stream.T\":\"1\"},\"_ControllerSubscription\":{\"_BufferingStreamSubscription\":[\"1\"],\"StreamSubscription\":[\"1\"],\"_EventSink\":[\"1\"],\"_EventDispatch\":[\"1\"],\"_BufferingStreamSubscription.T\":\"1\"},\"_StreamSinkWrapper\":{\"StreamSink\":[\"1\"]},\"_BufferingStreamSubscription\":{\"StreamSubscription\":[\"1\"],\"_EventSink\":[\"1\"],\"_EventDispatch\":[\"1\"],\"_BufferingStreamSubscription.T\":\"1\"},\"_StreamImpl\":{\"Stream\":[\"1\"]},\"_DelayedData\":{\"_DelayedEvent\":[\"1\"]},\"_DelayedError\":{\"_DelayedEvent\":[\"@\"]},\"_DelayedDone\":{\"_DelayedEvent\":[\"@\"]},\"_DoneStreamSubscription\":{\"StreamSubscription\":[\"1\"]},\"_EmptyStream\":{\"Stream\":[\"1\"],\"Stream.T\":\"1\"},\"_MultiStream\":{\"Stream\":[\"1\"],\"Stream.T\":\"1\"},\"_MultiStreamController\":{\"_AsyncStreamController\":[\"1\"],\"_AsyncStreamControllerDispatch\":[\"1\"],\"_StreamController\":[\"1\"],\"MultiStreamController\":[\"1\"],\"StreamController\":[\"1\"],\"StreamSink\":[\"1\"],\"_StreamControllerLifecycle\":[\"1\"],\"_EventSink\":[\"1\"],\"_EventDispatch\":[\"1\"]},\"_ForwardingStream\":{\"Stream\":[\"2\"]},\"_ForwardingStreamSubscription\":{\"_BufferingStreamSubscription\":[\"2\"],\"StreamSubscription\":[\"2\"],\"_EventSink\":[\"2\"],\"_EventDispatch\":[\"2\"],\"_BufferingStreamSubscription.T\":\"2\"},\"_MapStream\":{\"_ForwardingStream\":[\"1\",\"2\"],\"Stream\":[\"2\"],\"Stream.T\":\"2\"},\"_Zone\":{\"Zone\":[]},\"_CustomZone\":{\"_Zone\":[],\"Zone\":[]},\"_RootZone\":{\"_Zone\":[],\"Zone\":[]},\"_ZoneDelegate\":{\"ZoneDelegate\":[]},\"_ZoneSpecification\":{\"ZoneSpecification\":[]},\"_SplayTreeSetNode\":{\"_SplayTreeNode\":[\"1\",\"_SplayTreeSetNode<1>\"],\"_SplayTreeNode.K\":\"1\",\"_SplayTreeNode.1\":\"_SplayTreeSetNode<1>\"},\"_HashMap\":{\"MapBase\":[\"1\",\"2\"],\"HashMap\":[\"1\",\"2\"],\"Map\":[\"1\",\"2\"],\"MapBase.K\":\"1\",\"MapBase.V\":\"2\"},\"_IdentityHashMap\":{\"_HashMap\":[\"1\",\"2\"],\"MapBase\":[\"1\",\"2\"],\"HashMap\":[\"1\",\"2\"],\"Map\":[\"1\",\"2\"],\"MapBase.K\":\"1\",\"MapBase.V\":\"2\"},\"_HashMapKeyIterable\":{\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"_HashMapKeyIterator\":{\"Iterator\":[\"1\"]},\"_LinkedCustomHashMap\":{\"JsLinkedHashMap\":[\"1\",\"2\"],\"MapBase\":[\"1\",\"2\"],\"LinkedHashMap\":[\"1\",\"2\"],\"Map\":[\"1\",\"2\"],\"MapBase.K\":\"1\",\"MapBase.V\":\"2\"},\"_HashSet\":{\"SetBase\":[\"1\"],\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"],\"Iterable.E\":\"1\"},\"_HashSetIterator\":{\"Iterator\":[\"1\"]},\"ListBase\":{\"List\":[\"1\"],\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"]},\"MapBase\":{\"Map\":[\"1\",\"2\"]},\"MapView\":{\"Map\":[\"1\",\"2\"]},\"UnmodifiableMapView\":{\"_UnmodifiableMapView_MapView__UnmodifiableMapMixin\":[\"1\",\"2\"],\"MapView\":[\"1\",\"2\"],\"_UnmodifiableMapMixin\":[\"1\",\"2\"],\"Map\":[\"1\",\"2\"]},\"ListQueue\":{\"Queue\":[\"1\"],\"ListIterable\":[\"1\"],\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"],\"ListIterable.E\":\"1\",\"Iterable.E\":\"1\"},\"_ListQueueIterator\":{\"Iterator\":[\"1\"]},\"SetBase\":{\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"]},\"_SetBase\":{\"SetBase\":[\"1\"],\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"]},\"_SplayTreeIterator\":{\"Iterator\":[\"3\"]},\"_SplayTreeKeyIterator\":{\"_SplayTreeIterator\":[\"1\",\"2\",\"1\"],\"Iterator\":[\"1\"],\"_SplayTreeIterator.K\":\"1\",\"_SplayTreeIterator.T\":\"1\",\"_SplayTreeIterator.1\":\"2\"},\"SplayTreeSet\":{\"SetBase\":[\"1\"],\"EfficientLengthIterable\":[\"1\"],\"_SplayTree\":[\"1\",\"_SplayTreeSetNode<1>\"],\"Iterable\":[\"1\"],\"Iterable.E\":\"1\",\"_SplayTree.1\":\"_SplayTreeSetNode<1>\",\"_SplayTree.K\":\"1\"},\"Encoding\":{\"Codec\":[\"String\",\"List<int>\"]},\"_JsonMap\":{\"MapBase\":[\"String\",\"@\"],\"Map\":[\"String\",\"@\"],\"MapBase.K\":\"String\",\"MapBase.V\":\"@\"},\"_JsonMapKeyIterable\":{\"ListIterable\":[\"String\"],\"EfficientLengthIterable\":[\"String\"],\"Iterable\":[\"String\"],\"ListIterable.E\":\"String\",\"Iterable.E\":\"String\"},\"AsciiCodec\":{\"Encoding\":[],\"Codec\":[\"String\",\"List<int>\"]},\"_UnicodeSubsetEncoder\":{\"Converter\":[\"String\",\"List<int>\"]},\"AsciiEncoder\":{\"Converter\":[\"String\",\"List<int>\"]},\"_UnicodeSubsetDecoder\":{\"Converter\":[\"List<int>\",\"String\"]},\"AsciiDecoder\":{\"Converter\":[\"List<int>\",\"String\"]},\"Base64Codec\":{\"Codec\":[\"List<int>\",\"String\"]},\"Base64Encoder\":{\"Converter\":[\"List<int>\",\"String\"]},\"JsonUnsupportedObjectError\":{\"Error\":[]},\"JsonCyclicError\":{\"Error\":[]},\"JsonCodec\":{\"Codec\":[\"Object?\",\"String\"]},\"JsonEncoder\":{\"Converter\":[\"Object?\",\"String\"]},\"JsonDecoder\":{\"Converter\":[\"String\",\"Object?\"]},\"Latin1Codec\":{\"Encoding\":[],\"Codec\":[\"String\",\"List<int>\"]},\"Latin1Encoder\":{\"Converter\":[\"String\",\"List<int>\"]},\"Latin1Decoder\":{\"Converter\":[\"List<int>\",\"String\"]},\"Utf8Codec\":{\"Encoding\":[],\"Codec\":[\"String\",\"List<int>\"]},\"Utf8Encoder\":{\"Converter\":[\"String\",\"List<int>\"]},\"Utf8Decoder\":{\"Converter\":[\"List<int>\",\"String\"]},\"DateTime\":{\"Comparable\":[\"DateTime\"]},\"double\":{\"num\":[],\"Comparable\":[\"num\"]},\"Duration\":{\"Comparable\":[\"Duration\"]},\"int\":{\"num\":[],\"Comparable\":[\"num\"]},\"List\":{\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"]},\"num\":{\"Comparable\":[\"num\"]},\"RegExpMatch\":{\"Match\":[]},\"String\":{\"Comparable\":[\"String\"],\"Pattern\":[]},\"AssertionError\":{\"Error\":[]},\"TypeError\":{\"Error\":[]},\"ArgumentError\":{\"Error\":[]},\"RangeError\":{\"Error\":[]},\"IndexError\":{\"Error\":[]},\"UnsupportedError\":{\"Error\":[]},\"UnimplementedError\":{\"Error\":[]},\"StateError\":{\"Error\":[]},\"ConcurrentModificationError\":{\"Error\":[]},\"OutOfMemoryError\":{\"Error\":[]},\"StackOverflowError\":{\"Error\":[]},\"_Exception\":{\"Exception\":[]},\"FormatException\":{\"Exception\":[]},\"_StringStackTrace\":{\"StackTrace\":[]},\"StringBuffer\":{\"StringSink\":[]},\"_Uri\":{\"Uri\":[]},\"_SimpleUri\":{\"Uri\":[]},\"_DataUri\":{\"Uri\":[]},\"NullRejectionException\":{\"Exception\":[]},\"ErrorResult\":{\"Result\":[\"0&\"]},\"ValueResult\":{\"Result\":[\"1\"]},\"_NextRequest\":{\"_EventRequest\":[\"1\"]},\"_HasNextRequest\":{\"_EventRequest\":[\"1\"]},\"CanonicalizedMap\":{\"Map\":[\"2\",\"3\"]},\"QueueList\":{\"ListBase\":[\"1\"],\"List\":[\"1\"],\"Queue\":[\"1\"],\"EfficientLengthIterable\":[\"1\"],\"Iterable\":[\"1\"],\"ListBase.E\":\"1\",\"QueueList.E\":\"1\",\"Iterable.E\":\"1\"},\"_CastQueueList\":{\"QueueList\":[\"2\"],\"ListBase\":[\"2\"],\"List\":[\"2\"],\"Queue\":[\"2\"],\"EfficientLengthIterable\":[\"2\"],\"Iterable\":[\"2\"],\"ListBase.E\":\"2\",\"QueueList.E\":\"2\",\"Iterable.E\":\"2\"},\"PersistentWebSocket\":{\"StreamChannelMixin\":[\"@\"]},\"SseSocketClient\":{\"SocketClient\":[]},\"WebSocketClient\":{\"SocketClient\":[]},\"RequestAbortedException\":{\"Exception\":[]},\"ByteStream\":{\"StreamView\":[\"List<int>\"],\"Stream\":[\"List<int>\"],\"Stream.T\":\"List<int>\",\"StreamView.T\":\"List<int>\"},\"ClientException\":{\"Exception\":[]},\"Request\":{\"BaseRequest\":[]},\"StreamedResponseV2\":{\"StreamedResponse\":[]},\"CaseInsensitiveMap\":{\"CanonicalizedMap\":[\"String\",\"String\",\"1\"],\"Map\":[\"String\",\"1\"],\"CanonicalizedMap.K\":\"String\",\"CanonicalizedMap.V\":\"1\",\"CanonicalizedMap.C\":\"String\"},\"Level\":{\"Comparable\":[\"Level\"]},\"PathException\":{\"Exception\":[]},\"PosixStyle\":{\"InternalStyle\":[]},\"UrlStyle\":{\"InternalStyle\":[]},\"WindowsStyle\":{\"InternalStyle\":[]},\"FileLocation\":{\"SourceLocation\":[],\"Comparable\":[\"SourceLocation\"]},\"_FileSpan\":{\"SourceSpanWithContext\":[],\"SourceSpan\":[],\"Comparable\":[\"SourceSpan\"]},\"SourceLocation\":{\"Comparable\":[\"SourceLocation\"]},\"SourceLocationMixin\":{\"SourceLocation\":[],\"Comparable\":[\"SourceLocation\"]},\"SourceSpan\":{\"Comparable\":[\"SourceSpan\"]},\"SourceSpanBase\":{\"SourceSpan\":[],\"Comparable\":[\"SourceSpan\"]},\"SourceSpanException\":{\"Exception\":[]},\"SourceSpanFormatException\":{\"FormatException\":[],\"Exception\":[]},\"SourceSpanMixin\":{\"SourceSpan\":[],\"Comparable\":[\"SourceSpan\"]},\"SourceSpanWithContext\":{\"SourceSpan\":[],\"Comparable\":[\"SourceSpan\"]},\"SseClient\":{\"StreamChannelMixin\":[\"String?\"]},\"StringScannerException\":{\"FormatException\":[],\"Exception\":[]},\"_EventStream\":{\"Stream\":[\"1\"],\"Stream.T\":\"1\"},\"_EventStreamSubscription\":{\"StreamSubscription\":[\"1\"]},\"BrowserWebSocket\":{\"WebSocket\":[]},\"TextDataReceived\":{\"WebSocketEvent\":[]},\"BinaryDataReceived\":{\"WebSocketEvent\":[]},\"CloseReceived\":{\"WebSocketEvent\":[]},\"WebSocketException\":{\"Exception\":[]},\"WebSocketConnectionClosed\":{\"Exception\":[]},\"DdcLibraryBundleRestarter\":{\"Restarter\":[]},\"DdcRestarter\":{\"Restarter\":[]},\"RequireRestarter\":{\"Restarter\":[]},\"HotReloadFailedException\":{\"Exception\":[]},\"Int8List\":{\"List\":[\"int\"],\"EfficientLengthIterable\":[\"int\"],\"Iterable\":[\"int\"]},\"Uint8List\":{\"List\":[\"int\"],\"EfficientLengthIterable\":[\"int\"],\"Iterable\":[\"int\"]},\"Uint8ClampedList\":{\"List\":[\"int\"],\"EfficientLengthIterable\":[\"int\"],\"Iterable\":[\"int\"]},\"Int16List\":{\"List\":[\"int\"],\"EfficientLengthIterable\":[\"int\"],\"Iterable\":[\"int\"]},\"Uint16List\":{\"List\":[\"int\"],\"EfficientLengthIterable\":[\"int\"],\"Iterable\":[\"int\"]},\"Int32List\":{\"List\":[\"int\"],\"EfficientLengthIterable\":[\"int\"],\"Iterable\":[\"int\"]},\"Uint32List\":{\"List\":[\"int\"],\"EfficientLengthIterable\":[\"int\"],\"Iterable\":[\"int\"]},\"Float32List\":{\"List\":[\"double\"],\"EfficientLengthIterable\":[\"double\"],\"Iterable\":[\"double\"]},\"Float64List\":{\"List\":[\"double\"],\"EfficientLengthIterable\":[\"double\"],\"Iterable\":[\"double\"]}}'));\n" |
| " A._Universe_addErasedTypes(init.typeUniverse, JSON.parse('{\"UnmodifiableListBase\":1,\"__CastListBase__CastIterableBase_ListMixin\":2,\"NativeTypedArray\":1,\"_DelayedEvent\":1,\"_SetBase\":1,\"_SplayTreeSet__SplayTree_Iterable\":1,\"_SplayTreeSet__SplayTree_Iterable_SetMixin\":1,\"_QueueList_Object_ListMixin\":1,\"StreamChannelMixin\":1}'));\n" |
| " var string\$ = {\n" |
| " x00_____: \"\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\u03f6\\x00\\u0404\\u03f4 \\u03f4\\u03f6\\u01f6\\u01f6\\u03f6\\u03fc\\u01f4\\u03ff\\u03ff\\u0584\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u05d4\\u01f4\\x00\\u01f4\\x00\\u0504\\u05c4\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u0400\\x00\\u0400\\u0200\\u03f7\\u0200\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u03ff\\u0200\\u0200\\u0200\\u03f7\\x00\",\n" |
| " x20must_: \" must not be greater than the number of characters in the file, \",\n" |
| " ABCDEF: \"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/\",\n" |
| " Cannotff: \"Cannot extract a file path from a URI with a fragment component\",\n" |
| " Cannotfq: \"Cannot extract a file path from a URI with a query component\",\n" |
| " Cannotn: \"Cannot extract a non-Windows file path from a file URI with an authority\",\n" |
| " Dart_e: \"Dart exception thrown from converted Future. Use the properties 'error' to fetch the boxed error and 'stack' to recover the stack trace.\",\n" |
| " Error_: \"Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type\",\n" |
| " Hot_reA: \"Hot reload is not supported for the AMD module format.\",\n" |
| " Hot_reD: \"Hot reload is not supported for the DDC module format.\",\n" |
| " handle: \"handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.\",\n" |
| " max_mu: \"max must be in range 0 < max \\u2264 2^32, was \"\n" |
| " };\n" |
| " var type\$ = (function rtii() {\n" |
| " var findType = A.findType;\n" |
| " return {\n" |
| " AsyncError: findType(\"AsyncError\"),\n" |
| " BatchedStreamController_DebugEvent: findType(\"BatchedStreamController<DebugEvent>\"),\n" |
| " BrowserWebSocket: findType(\"BrowserWebSocket\"),\n" |
| " BuildStatus: findType(\"BuildStatus\"),\n" |
| " ByteBuffer: findType(\"ByteBuffer\"),\n" |
| " ByteData: findType(\"ByteData\"),\n" |
| " CaseInsensitiveMap_String: findType(\"CaseInsensitiveMap<String>\"),\n" |
| " CodeUnits: findType(\"CodeUnits\"),\n" |
| " Comparable_dynamic: findType(\"Comparable<@>\"),\n" |
| " DateTime: findType(\"DateTime\"),\n" |
| " DebugEvent: findType(\"DebugEvent\"),\n" |
| " Duration: findType(\"Duration\"),\n" |
| " EfficientLengthIterable_dynamic: findType(\"EfficientLengthIterable<@>\"),\n" |
| " Error: findType(\"Error\"),\n" |
| " Exception: findType(\"Exception\"),\n" |
| " Float32List: findType(\"Float32List\"),\n" |
| " Float64List: findType(\"Float64List\"),\n" |
| " FormatException: findType(\"FormatException\"),\n" |
| " Function: findType(\"Function\"),\n" |
| " Future_void: findType(\"Future<~>\"),\n" |
| " HotReloadResponse: findType(\"HotReloadResponse\"),\n" |
| " HotRestartResponse: findType(\"HotRestartResponse\"),\n" |
| " Int16List: findType(\"Int16List\"),\n" |
| " Int32List: findType(\"Int32List\"),\n" |
| " Int8List: findType(\"Int8List\"),\n" |
| " Iterable_String: findType(\"Iterable<String>\"),\n" |
| " Iterable_dynamic: findType(\"Iterable<@>\"),\n" |
| " Iterable_int: findType(\"Iterable<int>\"),\n" |
| " JSArray_JSObject: findType(\"JSArray<JSObject>\"),\n" |
| " JSArray_Object: findType(\"JSArray<Object>\"),\n" |
| " JSArray_String: findType(\"JSArray<String>\"),\n" |
| " JSArray__Highlight: findType(\"JSArray<_Highlight>\"),\n" |
| " JSArray__Line: findType(\"JSArray<_Line>\"),\n" |
| " JSArray_dynamic: findType(\"JSArray<@>\"),\n" |
| " JSArray_int: findType(\"JSArray<int>\"),\n" |
| " JSArray_nullable_Object: findType(\"JSArray<Object?>\"),\n" |
| " JSArray_nullable_String: findType(\"JSArray<String?>\"),\n" |
| " JSNull: findType(\"JSNull\"),\n" |
| " JSObject: findType(\"JSObject\"),\n" |
| " JavaScriptFunction: findType(\"JavaScriptFunction\"),\n" |
| " JavaScriptIndexingBehavior_dynamic: findType(\"JavaScriptIndexingBehavior<@>\"),\n" |
| " JavaScriptObject: findType(\"JavaScriptObject\"),\n" |
| " Level: findType(\"Level\"),\n" |
| " List_DebugEvent: findType(\"List<DebugEvent>\"),\n" |
| " List_Map_dynamic_dynamic: findType(\"List<Map<@,@>>\"),\n" |
| " List_String: findType(\"List<String>\"),\n" |
| " List_dynamic: findType(\"List<@>\"),\n" |
| " List_int: findType(\"List<int>\"),\n" |
| " List_nullable__Highlight: findType(\"List<_Highlight?>\"),\n" |
| " Logger: findType(\"Logger\"),\n" |
| " MapEntry_String_String: findType(\"MapEntry<String,String>\"),\n" |
| " MapEntry_of_Object_and_List__Highlight: findType(\"MapEntry<Object,List<_Highlight>>\"),\n" |
| " Map_String_String: findType(\"Map<String,String>\"),\n" |
| " Map_String_dynamic: findType(\"Map<String,@>\"),\n" |
| " Map_dynamic_dynamic: findType(\"Map<@,@>\"),\n" |
| " MappedListIterable_String_dynamic: findType(\"MappedListIterable<String,@>\"),\n" |
| " MediaType: findType(\"MediaType\"),\n" |
| " MultiStreamController_List_int: findType(\"MultiStreamController<List<int>>\"),\n" |
| " NativeArrayBuffer: findType(\"NativeArrayBuffer\"),\n" |
| " NativeTypedArrayOfInt: findType(\"NativeTypedArrayOfInt\"),\n" |
| " NativeUint8List: findType(\"NativeUint8List\"),\n" |
| " Null: findType(\"Null\"),\n" |
| " Object: findType(\"Object\"),\n" |
| " PersistentWebSocket: findType(\"PersistentWebSocket\"),\n" |
| " PoolResource: findType(\"PoolResource\"),\n" |
| " QueueList_Result_DebugEvent: findType(\"QueueList<Result<DebugEvent>>\"),\n" |
| " Record: findType(\"Record\"),\n" |
| " Record_0: findType(\"+()\"),\n" |
| " Record_2_bool_and_JSArray_nullable_Object: findType(\"+(bool,JSArray<Object?>)\"),\n" |
| " Record_2_bool_and_nullable_JSArray_nullable_Object: findType(\"+(bool,JSArray<Object?>?)\"),\n" |
| " RegExpMatch: findType(\"RegExpMatch\"),\n" |
| " RequireRestarter: findType(\"RequireRestarter\"),\n" |
| " Response: findType(\"Response\"),\n" |
| " SourceLocation: findType(\"SourceLocation\"),\n" |
| " SourceSpan: findType(\"SourceSpan\"),\n" |
| " SourceSpanWithContext: findType(\"SourceSpanWithContext\"),\n" |
| " SplayTreeSet_String: findType(\"SplayTreeSet<String>\"),\n" |
| " StackTrace: findType(\"StackTrace\"),\n" |
| " StreamQueue_DebugEvent: findType(\"StreamQueue<DebugEvent>\"),\n" |
| " StreamedResponse: findType(\"StreamedResponse\"),\n" |
| " String: findType(\"String\"),\n" |
| " String_Function_Match: findType(\"String(Match)\"),\n" |
| " Timer: findType(\"Timer\"),\n" |
| " TrustedGetRuntimeType: findType(\"TrustedGetRuntimeType\"),\n" |
| " TypeError: findType(\"TypeError\"),\n" |
| " Uint16List: findType(\"Uint16List\"),\n" |
| " Uint32List: findType(\"Uint32List\"),\n" |
| " Uint8ClampedList: findType(\"Uint8ClampedList\"),\n" |
| " Uint8List: findType(\"Uint8List\"),\n" |
| " UnknownJavaScriptObject: findType(\"UnknownJavaScriptObject\"),\n" |
| " UnmodifiableMapView_String_String: findType(\"UnmodifiableMapView<String,String>\"),\n" |
| " Uri: findType(\"Uri\"),\n" |
| " WebSocket: findType(\"WebSocket\"),\n" |
| " WebSocketEvent: findType(\"WebSocketEvent\"),\n" |
| " WhereTypeIterable_String: findType(\"WhereTypeIterable<String>\"),\n" |
| " Zone: findType(\"Zone\"),\n" |
| " _AsyncCompleter_BrowserWebSocket: findType(\"_AsyncCompleter<BrowserWebSocket>\"),\n" |
| " _AsyncCompleter_PoolResource: findType(\"_AsyncCompleter<PoolResource>\"),\n" |
| " _AsyncCompleter_String: findType(\"_AsyncCompleter<String>\"),\n" |
| " _AsyncCompleter_Uint8List: findType(\"_AsyncCompleter<Uint8List>\"),\n" |
| " _AsyncCompleter_bool: findType(\"_AsyncCompleter<bool>\"),\n" |
| " _AsyncCompleter_dynamic: findType(\"_AsyncCompleter<@>\"),\n" |
| " _AsyncCompleter_void: findType(\"_AsyncCompleter<~>\"),\n" |
| " _AsyncStreamController_List_int: findType(\"_AsyncStreamController<List<int>>\"),\n" |
| " _EventRequest_dynamic: findType(\"_EventRequest<@>\"),\n" |
| " _EventStream_JSObject: findType(\"_EventStream<JSObject>\"),\n" |
| " _Future_BrowserWebSocket: findType(\"_Future<BrowserWebSocket>\"),\n" |
| " _Future_PoolResource: findType(\"_Future<PoolResource>\"),\n" |
| " _Future_String: findType(\"_Future<String>\"),\n" |
| " _Future_Uint8List: findType(\"_Future<Uint8List>\"),\n" |
| " _Future_bool: findType(\"_Future<bool>\"),\n" |
| " _Future_dynamic: findType(\"_Future<@>\"),\n" |
| " _Future_int: findType(\"_Future<int>\"),\n" |
| " _Future_void: findType(\"_Future<~>\"),\n" |
| " _Highlight: findType(\"_Highlight\"),\n" |
| " _IdentityHashMap_of_nullable_Object_and_nullable_Object: findType(\"_IdentityHashMap<Object?,Object?>\"),\n" |
| " _Line: findType(\"_Line\"),\n" |
| " _MultiStream_List_int: findType(\"_MultiStream<List<int>>\"),\n" |
| " _StreamControllerAddStreamState_nullable_Object: findType(\"_StreamControllerAddStreamState<Object?>\"),\n" |
| " _SyncCompleter_PoolResource: findType(\"_SyncCompleter<PoolResource>\"),\n" |
| " _ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace: findType(\"_ZoneFunction<~(Zone,ZoneDelegate,Zone,Object,StackTrace)>\"),\n" |
| " bool: findType(\"bool\"),\n" |
| " bool_Function_Object: findType(\"bool(Object)\"),\n" |
| " bool_Function__Highlight: findType(\"bool(_Highlight)\"),\n" |
| " double: findType(\"double\"),\n" |
| " dynamic: findType(\"@\"),\n" |
| " dynamic_Function: findType(\"@()\"),\n" |
| " dynamic_Function_Object: findType(\"@(Object)\"),\n" |
| " dynamic_Function_Object_StackTrace: findType(\"@(Object,StackTrace)\"),\n" |
| " dynamic_Function_String: findType(\"@(String)\"),\n" |
| " int: findType(\"int\"),\n" |
| " nullable_Future_Null: findType(\"Future<Null>?\"),\n" |
| " nullable_JSArray_nullable_Object: findType(\"JSArray<Object?>?\"),\n" |
| " nullable_JSObject: findType(\"JSObject?\"),\n" |
| " nullable_List_dynamic: findType(\"List<@>?\"),\n" |
| " nullable_Map_String_dynamic: findType(\"Map<String,@>?\"),\n" |
| " nullable_Map_dynamic_dynamic: findType(\"Map<@,@>?\"),\n" |
| " nullable_Map_of_nullable_Object_and_nullable_Object: findType(\"Map<Object?,Object?>?\"),\n" |
| " nullable_Object: findType(\"Object?\"),\n" |
| " nullable_Result_DebugEvent: findType(\"Result<DebugEvent>?\"),\n" |
| " nullable_StackTrace: findType(\"StackTrace?\"),\n" |
| " nullable_String: findType(\"String?\"),\n" |
| " nullable_String_Function_Match: findType(\"String(Match)?\"),\n" |
| " nullable_Zone: findType(\"Zone?\"),\n" |
| " nullable_ZoneDelegate: findType(\"ZoneDelegate?\"),\n" |
| " nullable_ZoneSpecification: findType(\"ZoneSpecification?\"),\n" |
| " nullable__DelayedEvent_dynamic: findType(\"_DelayedEvent<@>?\"),\n" |
| " nullable__FutureListener_dynamic_dynamic: findType(\"_FutureListener<@,@>?\"),\n" |
| " nullable__Highlight: findType(\"_Highlight?\"),\n" |
| " nullable_bool: findType(\"bool?\"),\n" |
| " nullable_double: findType(\"double?\"),\n" |
| " nullable_int: findType(\"int?\"),\n" |
| " nullable_num: findType(\"num?\"),\n" |
| " nullable_void_Function: findType(\"~()?\"),\n" |
| " nullable_void_Function_JSObject: findType(\"~(JSObject)?\"),\n" |
| " num: findType(\"num\"),\n" |
| " void: findType(\"~\"),\n" |
| " void_Function: findType(\"~()\"),\n" |
| " void_Function_List_int: findType(\"~(List<int>)\"),\n" |
| " void_Function_Object: findType(\"~(Object)\"),\n" |
| " void_Function_Object_StackTrace: findType(\"~(Object,StackTrace)\"),\n" |
| " void_Function_String_dynamic: findType(\"~(String,@)\"),\n" |
| " void_Function_Timer: findType(\"~(Timer)\")\n" |
| " };\n" |
| " })();\n" |
| " (function constants() {\n" |
| " var makeConstList = hunkHelpers.makeConstList;\n" |
| " B.Interceptor_methods = J.Interceptor.prototype;\n" |
| " B.JSArray_methods = J.JSArray.prototype;\n" |
| " B.JSInt_methods = J.JSInt.prototype;\n" |
| " B.JSNumber_methods = J.JSNumber.prototype;\n" |
| " B.JSString_methods = J.JSString.prototype;\n" |
| " B.JavaScriptFunction_methods = J.JavaScriptFunction.prototype;\n" |
| " B.JavaScriptObject_methods = J.JavaScriptObject.prototype;\n" |
| " B.NativeByteData_methods = A.NativeByteData.prototype;\n" |
| " B.NativeUint32List_methods = A.NativeUint32List.prototype;\n" |
| " B.NativeUint8List_methods = A.NativeUint8List.prototype;\n" |
| " B.PlainJavaScriptObject_methods = J.PlainJavaScriptObject.prototype;\n" |
| " B.UnknownJavaScriptObject_methods = J.UnknownJavaScriptObject.prototype;\n" |
| " B.AsciiDecoder_false_127 = new A.AsciiDecoder(false, 127);\n" |
| " B.AsciiEncoder_127 = new A.AsciiEncoder(127);\n" |
| " B.C__EmptyStream = new A._EmptyStream(A.findType(\"_EmptyStream<List<int>>\"));\n" |
| " B.ByteStream__EmptyStream = new A.ByteStream(B.C__EmptyStream);\n" |
| " B.CONSTANT = new A.Instantiation1(A.math__max\$closure(), A.findType(\"Instantiation1<int>\"));\n" |
| " B.C_Base64Encoder = new A.Base64Encoder();\n" |
| " B.C_Base64Codec = new A.Base64Codec();\n" |
| " B.C_EmptyIterator = new A.EmptyIterator(A.findType(\"EmptyIterator<0&>\"));\n" |
| " B.C_JS_CONST = function getTagFallback(o) {\n" |
| " var s = Object.prototype.toString.call(o);\n" |
| " return s.substring(8, s.length - 1);\n" |
| "};\n" |
| " B.C_JS_CONST0 = function() {\n" |
| " var toStringFunction = Object.prototype.toString;\n" |
| " function getTag(o) {\n" |
| " var s = toStringFunction.call(o);\n" |
| " return s.substring(8, s.length - 1);\n" |
| " }\n" |
| " function getUnknownTag(object, tag) {\n" |
| " if (/^HTML[A-Z].*Element\$/.test(tag)) {\n" |
| " var name = toStringFunction.call(object);\n" |
| " if (name == \"[object Object]\") return null;\n" |
| " return \"HTMLElement\";\n" |
| " }\n" |
| " }\n" |
| " function getUnknownTagGenericBrowser(object, tag) {\n" |
| " if (object instanceof HTMLElement) return \"HTMLElement\";\n" |
| " return getUnknownTag(object, tag);\n" |
| " }\n" |
| " function prototypeForTag(tag) {\n" |
| " if (typeof window == \"undefined\") return null;\n" |
| " if (typeof window[tag] == \"undefined\") return null;\n" |
| " var constructor = window[tag];\n" |
| " if (typeof constructor != \"function\") return null;\n" |
| " return constructor.prototype;\n" |
| " }\n" |
| " function discriminator(tag) { return null; }\n" |
| " var isBrowser = typeof HTMLElement == \"function\";\n" |
| " return {\n" |
| " getTag: getTag,\n" |
| " getUnknownTag: isBrowser ? getUnknownTagGenericBrowser : getUnknownTag,\n" |
| " prototypeForTag: prototypeForTag,\n" |
| " discriminator: discriminator };\n" |
| "};\n" |
| " B.C_JS_CONST6 = function(getTagFallback) {\n" |
| " return function(hooks) {\n" |
| " if (typeof navigator != \"object\") return hooks;\n" |
| " var userAgent = navigator.userAgent;\n" |
| " if (typeof userAgent != \"string\") return hooks;\n" |
| " if (userAgent.indexOf(\"DumpRenderTree\") >= 0) return hooks;\n" |
| " if (userAgent.indexOf(\"Chrome\") >= 0) {\n" |
| " function confirm(p) {\n" |
| " return typeof window == \"object\" && window[p] && window[p].name == p;\n" |
| " }\n" |
| " if (confirm(\"Window\") && confirm(\"HTMLElement\")) return hooks;\n" |
| " }\n" |
| " hooks.getTag = getTagFallback;\n" |
| " };\n" |
| "};\n" |
| " B.C_JS_CONST1 = function(hooks) {\n" |
| " if (typeof dartExperimentalFixupGetTag != \"function\") return hooks;\n" |
| " hooks.getTag = dartExperimentalFixupGetTag(hooks.getTag);\n" |
| "};\n" |
| " B.C_JS_CONST5 = function(hooks) {\n" |
| " if (typeof navigator != \"object\") return hooks;\n" |
| " var userAgent = navigator.userAgent;\n" |
| " if (typeof userAgent != \"string\") return hooks;\n" |
| " if (userAgent.indexOf(\"Firefox\") == -1) return hooks;\n" |
| " var getTag = hooks.getTag;\n" |
| " var quickMap = {\n" |
| " \"BeforeUnloadEvent\": \"Event\",\n" |
| " \"DataTransfer\": \"Clipboard\",\n" |
| " \"GeoGeolocation\": \"Geolocation\",\n" |
| " \"Location\": \"!Location\",\n" |
| " \"WorkerMessageEvent\": \"MessageEvent\",\n" |
| " \"XMLDocument\": \"!Document\"};\n" |
| " function getTagFirefox(o) {\n" |
| " var tag = getTag(o);\n" |
| " return quickMap[tag] || tag;\n" |
| " }\n" |
| " hooks.getTag = getTagFirefox;\n" |
| "};\n" |
| " B.C_JS_CONST4 = function(hooks) {\n" |
| " if (typeof navigator != \"object\") return hooks;\n" |
| " var userAgent = navigator.userAgent;\n" |
| " if (typeof userAgent != \"string\") return hooks;\n" |
| " if (userAgent.indexOf(\"Trident/\") == -1) return hooks;\n" |
| " var getTag = hooks.getTag;\n" |
| " var quickMap = {\n" |
| " \"BeforeUnloadEvent\": \"Event\",\n" |
| " \"DataTransfer\": \"Clipboard\",\n" |
| " \"HTMLDDElement\": \"HTMLElement\",\n" |
| " \"HTMLDTElement\": \"HTMLElement\",\n" |
| " \"HTMLPhraseElement\": \"HTMLElement\",\n" |
| " \"Position\": \"Geoposition\"\n" |
| " };\n" |
| " function getTagIE(o) {\n" |
| " var tag = getTag(o);\n" |
| " var newTag = quickMap[tag];\n" |
| " if (newTag) return newTag;\n" |
| " if (tag == \"Object\") {\n" |
| " if (window.DataView && (o instanceof window.DataView)) return \"DataView\";\n" |
| " }\n" |
| " return tag;\n" |
| " }\n" |
| " function prototypeForTagIE(tag) {\n" |
| " var constructor = window[tag];\n" |
| " if (constructor == null) return null;\n" |
| " return constructor.prototype;\n" |
| " }\n" |
| " hooks.getTag = getTagIE;\n" |
| " hooks.prototypeForTag = prototypeForTagIE;\n" |
| "};\n" |
| " B.C_JS_CONST2 = function(hooks) {\n" |
| " var getTag = hooks.getTag;\n" |
| " var prototypeForTag = hooks.prototypeForTag;\n" |
| " function getTagFixed(o) {\n" |
| " var tag = getTag(o);\n" |
| " if (tag == \"Document\") {\n" |
| " if (!!o.xmlVersion) return \"!Document\";\n" |
| " return \"!HTMLDocument\";\n" |
| " }\n" |
| " return tag;\n" |
| " }\n" |
| " function prototypeForTagFixed(tag) {\n" |
| " if (tag == \"Document\") return null;\n" |
| " return prototypeForTag(tag);\n" |
| " }\n" |
| " hooks.getTag = getTagFixed;\n" |
| " hooks.prototypeForTag = prototypeForTagFixed;\n" |
| "};\n" |
| " B.C_JS_CONST3 = function(hooks) { return hooks; }\n" |
| ";\n" |
| " B.C_JsonCodec = new A.JsonCodec();\n" |
| " B.C_Latin1Codec = new A.Latin1Codec();\n" |
| " B.C_OutOfMemoryError = new A.OutOfMemoryError();\n" |
| " B.C_SentinelValue = new A.SentinelValue();\n" |
| " B.C_Utf8Codec = new A.Utf8Codec();\n" |
| " B.C_Utf8Encoder = new A.Utf8Encoder();\n" |
| " B.C_Uuid = new A.Uuid();\n" |
| " B.C__DelayedDone = new A._DelayedDone();\n" |
| " B.C__JSRandom = new A._JSRandom();\n" |
| " B.C__RootZone = new A._RootZone();\n" |
| " B.Duration_0 = new A.Duration(0);\n" |
| " B.Duration_5000000 = new A.Duration(5000000);\n" |
| " B.JsonDecoder_null = new A.JsonDecoder(null);\n" |
| " B.JsonEncoder_null = new A.JsonEncoder(null);\n" |
| " B.Latin1Decoder_false_255 = new A.Latin1Decoder(false, 255);\n" |
| " B.Latin1Encoder_255 = new A.Latin1Encoder(255);\n" |
| " B.Level_INFO_800 = new A.Level(\"INFO\", 800);\n" |
| " B.Level_SEVERE_1000 = new A.Level(\"SEVERE\", 1000);\n" |
| " B.Level_WARNING_900 = new A.Level(\"WARNING\", 900);\n" |
| " B.BuildStatus_0 = new A.BuildStatus(0, \"started\");\n" |
| " B.BuildStatus_1 = new A.BuildStatus(1, \"succeeded\");\n" |
| " B.BuildStatus_2 = new A.BuildStatus(2, \"failed\");\n" |
| " B.List_crW = makeConstList([B.BuildStatus_0, B.BuildStatus_1, B.BuildStatus_2], A.findType(\"JSArray<BuildStatus>\"));\n" |
| " B.List_empty = makeConstList([], type\$.JSArray_String);\n" |
| " B.List_fAJ = makeConstList([\"d\", \"D\", \"\\u2202\", \"\\xce\"], type\$.JSArray_String);\n" |
| " B.Object_nT8 = {\"iso_8859-1:1987\": 0, \"iso-ir-100\": 1, \"iso_8859-1\": 2, \"iso-8859-1\": 3, latin1: 4, l1: 5, ibm819: 6, cp819: 7, csisolatin1: 8, \"iso-ir-6\": 9, \"ansi_x3.4-1968\": 10, \"ansi_x3.4-1986\": 11, \"iso_646.irv:1991\": 12, \"iso646-us\": 13, \"us-ascii\": 14, us: 15, ibm367: 16, cp367: 17, csascii: 18, ascii: 19, csutf8: 20, \"utf-8\": 21};\n" |
| " B.C_AsciiCodec = new A.AsciiCodec();\n" |
| " B.Map_YCg0U = new A.ConstantStringMap(B.Object_nT8, [B.C_Latin1Codec, B.C_Latin1Codec, B.C_Latin1Codec, B.C_Latin1Codec, B.C_Latin1Codec, B.C_Latin1Codec, B.C_Latin1Codec, B.C_Latin1Codec, B.C_Latin1Codec, B.C_AsciiCodec, B.C_AsciiCodec, B.C_AsciiCodec, B.C_AsciiCodec, B.C_AsciiCodec, B.C_AsciiCodec, B.C_AsciiCodec, B.C_AsciiCodec, B.C_AsciiCodec, B.C_AsciiCodec, B.C_AsciiCodec, B.C_Utf8Codec, B.C_Utf8Codec], A.findType(\"ConstantStringMap<String,Encoding>\"));\n" |
| " B.Object_empty = {};\n" |
| " B.Map_empty0 = new A.ConstantStringMap(B.Object_empty, [], A.findType(\"ConstantStringMap<String,String>\"));\n" |
| " B.Map_empty = new A.ConstantStringMap(B.Object_empty, [], A.findType(\"ConstantStringMap<String,@>\"));\n" |
| " B.Type_ByteBuffer_rqD = A.typeLiteral(\"ByteBuffer\");\n" |
| " B.Type_ByteData_9dB = A.typeLiteral(\"ByteData\");\n" |
| " B.Type_Float32List_9Kz = A.typeLiteral(\"Float32List\");\n" |
| " B.Type_Float64List_9Kz = A.typeLiteral(\"Float64List\");\n" |
| " B.Type_Int16List_s5h = A.typeLiteral(\"Int16List\");\n" |
| " B.Type_Int32List_O8Z = A.typeLiteral(\"Int32List\");\n" |
| " B.Type_Int8List_rFV = A.typeLiteral(\"Int8List\");\n" |
| " B.Type_JSObject_ttY = A.typeLiteral(\"JSObject\");\n" |
| " B.Type_Object_A4p = A.typeLiteral(\"Object\");\n" |
| " B.Type_Uint16List_kmP = A.typeLiteral(\"Uint16List\");\n" |
| " B.Type_Uint32List_kmP = A.typeLiteral(\"Uint32List\");\n" |
| " B.Type_Uint8ClampedList_04U = A.typeLiteral(\"Uint8ClampedList\");\n" |
| " B.Type_Uint8List_8Eb = A.typeLiteral(\"Uint8List\");\n" |
| " B.Utf8Decoder_false = new A.Utf8Decoder(false);\n" |
| " B._StringStackTrace_OdL = new A._StringStackTrace(\"\");\n" |
| " B._ZoneFunction_KjJ = new A._ZoneFunction(B.C__RootZone, A.async___rootHandleUncaughtError\$closure(), type\$._ZoneFunction_of_void_Function_Zone_ZoneDelegate_Zone_Object_StackTrace);\n" |
| " B._ZoneFunction_PAY = new A._ZoneFunction(B.C__RootZone, A.async___rootCreatePeriodicTimer\$closure(), A.findType(\"_ZoneFunction<Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))>\"));\n" |
| " B._ZoneFunction_Xkh = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterUnaryCallback\$closure(), A.findType(\"_ZoneFunction<0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))<Object?,Object?>>\"));\n" |
| " B._ZoneFunction__RootZone__rootCreateTimer = new A._ZoneFunction(B.C__RootZone, A.async___rootCreateTimer\$closure(), A.findType(\"_ZoneFunction<Timer(Zone,ZoneDelegate,Zone,Duration,~())>\"));\n" |
| " B._ZoneFunction__RootZone__rootErrorCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootErrorCallback\$closure(), A.findType(\"_ZoneFunction<AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)>\"));\n" |
| " B._ZoneFunction__RootZone__rootFork = new A._ZoneFunction(B.C__RootZone, A.async___rootFork\$closure(), A.findType(\"_ZoneFunction<Zone(Zone,ZoneDelegate,Zone,ZoneSpecification?,Map<Object?,Object?>?)>\"));\n" |
| " B._ZoneFunction__RootZone__rootPrint = new A._ZoneFunction(B.C__RootZone, A.async___rootPrint\$closure(), A.findType(\"_ZoneFunction<~(Zone,ZoneDelegate,Zone,String)>\"));\n" |
| " B._ZoneFunction__RootZone__rootRegisterCallback = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterCallback\$closure(), A.findType(\"_ZoneFunction<0^()(Zone,ZoneDelegate,Zone,0^())<Object?>>\"));\n" |
| " B._ZoneFunction__RootZone__rootRun = new A._ZoneFunction(B.C__RootZone, A.async___rootRun\$closure(), A.findType(\"_ZoneFunction<0^(Zone,ZoneDelegate,Zone,0^())<Object?>>\"));\n" |
| " B._ZoneFunction__RootZone__rootRunBinary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunBinary\$closure(), A.findType(\"_ZoneFunction<0^(Zone,ZoneDelegate,Zone,0^(1^,2^),1^,2^)<Object?,Object?,Object?>>\"));\n" |
| " B._ZoneFunction__RootZone__rootRunUnary = new A._ZoneFunction(B.C__RootZone, A.async___rootRunUnary\$closure(), A.findType(\"_ZoneFunction<0^(Zone,ZoneDelegate,Zone,0^(1^),1^)<Object?,Object?>>\"));\n" |
| " B._ZoneFunction__RootZone__rootScheduleMicrotask = new A._ZoneFunction(B.C__RootZone, A.async___rootScheduleMicrotask\$closure(), A.findType(\"_ZoneFunction<~(Zone,ZoneDelegate,Zone,~())>\"));\n" |
| " B._ZoneFunction_e9o = new A._ZoneFunction(B.C__RootZone, A.async___rootRegisterBinaryCallback\$closure(), A.findType(\"_ZoneFunction<0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))<Object?,Object?,Object?>>\"));\n" |
| " })();\n" |
| " (function staticFields() {\n" |
| " \$._JS_INTEROP_INTERCEPTOR_TAG = null;\n" |
| " \$._toStringVisiting = A._setArrayType([], type\$.JSArray_Object);\n" |
| " \$._printToZone = null;\n" |
| " \$.Primitives__identityHashCodeProperty = null;\n" |
| " \$.BoundClosure__receiverFieldNameCache = null;\n" |
| " \$.BoundClosure__interceptorFieldNameCache = null;\n" |
| " \$.getTagFunction = null;\n" |
| " \$.alternateTagFunction = null;\n" |
| " \$.prototypeForTagFunction = null;\n" |
| " \$.dispatchRecordsForInstanceTags = null;\n" |
| " \$.interceptorsForUncacheableTags = null;\n" |
| " \$.initNativeDispatchFlag = null;\n" |
| " \$._Record__computedFieldKeys = A._setArrayType([], A.findType(\"JSArray<List<Object>?>\"));\n" |
| " \$._nextCallback = null;\n" |
| " \$._lastCallback = null;\n" |
| " \$._lastPriorityCallback = null;\n" |
| " \$._isInCallbackLoop = false;\n" |
| " \$.Zone__current = B.C__RootZone;\n" |
| " \$._RootZone__rootDelegate = null;\n" |
| " \$.Uri__cachedBaseString = \"\";\n" |
| " \$.Uri__cachedBaseUri = null;\n" |
| " \$.LogRecord__nextNumber = 0;\n" |
| " \$.Logger__loggers = A.LinkedHashMap_LinkedHashMap\$_empty(type\$.String, type\$.Logger);\n" |
| " \$._currentUriBase = null;\n" |
| " \$._current = null;\n" |
| " \$.RequireRestarter____lastKnownDigests = A._Cell\$named(\"_lastKnownDigests\");\n" |
| " })();\n" |
| " (function lazyInitializers() {\n" |
| " var _lazyFinal = hunkHelpers.lazyFinal;\n" |
| " _lazyFinal(\$, \"DART_CLOSURE_PROPERTY_NAME\", \"\$get\$DART_CLOSURE_PROPERTY_NAME\", () => A.getIsolateAffinityTag(\"_\$dart_dartClosure\"));\n" |
| " _lazyFinal(\$, \"DART_CLOSURE_DART_JSINTEROP_PROPERTY_NAME\", \"\$get\$DART_CLOSURE_DART_JSINTEROP_PROPERTY_NAME\", () => A.getIsolateAffinityTag(\"_\$dart_dartClosure_dartJSInterop\"));\n" |
| " _lazyFinal(\$, \"nullFuture\", \"\$get\$nullFuture\", () => B.C__RootZone.run\$1\$1(new A.nullFuture_closure(), type\$.Future_void));\n" |
| " _lazyFinal(\$, \"_safeToStringHooks\", \"\$get\$_safeToStringHooks\", () => A._setArrayType([new J.JSArraySafeToStringHook()], A.findType(\"JSArray<SafeToStringHook>\")));\n" |
| " _lazyFinal(\$, \"TypeErrorDecoder_noSuchMethodPattern\", \"\$get\$TypeErrorDecoder_noSuchMethodPattern\", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({\n" |
| " toString: function() {\n" |
| " return \"\$receiver\$\";\n" |
| " }\n" |
| " })));\n" |
| " _lazyFinal(\$, \"TypeErrorDecoder_notClosurePattern\", \"\$get\$TypeErrorDecoder_notClosurePattern\", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({\$method\$: null,\n" |
| " toString: function() {\n" |
| " return \"\$receiver\$\";\n" |
| " }\n" |
| " })));\n" |
| " _lazyFinal(\$, \"TypeErrorDecoder_nullCallPattern\", \"\$get\$TypeErrorDecoder_nullCallPattern\", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null)));\n" |
| " _lazyFinal(\$, \"TypeErrorDecoder_nullLiteralCallPattern\", \"\$get\$TypeErrorDecoder_nullLiteralCallPattern\", () => A.TypeErrorDecoder_extractPattern(function() {\n" |
| " var \$argumentsExpr\$ = \"\$arguments\$\";\n" |
| " try {\n" |
| " null.\$method\$(\$argumentsExpr\$);\n" |
| " } catch (e) {\n" |
| " return e.message;\n" |
| " }\n" |
| " }()));\n" |
| " _lazyFinal(\$, \"TypeErrorDecoder_undefinedCallPattern\", \"\$get\$TypeErrorDecoder_undefinedCallPattern\", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0)));\n" |
| " _lazyFinal(\$, \"TypeErrorDecoder_undefinedLiteralCallPattern\", \"\$get\$TypeErrorDecoder_undefinedLiteralCallPattern\", () => A.TypeErrorDecoder_extractPattern(function() {\n" |
| " var \$argumentsExpr\$ = \"\$arguments\$\";\n" |
| " try {\n" |
| " (void 0).\$method\$(\$argumentsExpr\$);\n" |
| " } catch (e) {\n" |
| " return e.message;\n" |
| " }\n" |
| " }()));\n" |
| " _lazyFinal(\$, \"TypeErrorDecoder_nullPropertyPattern\", \"\$get\$TypeErrorDecoder_nullPropertyPattern\", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null)));\n" |
| " _lazyFinal(\$, \"TypeErrorDecoder_nullLiteralPropertyPattern\", \"\$get\$TypeErrorDecoder_nullLiteralPropertyPattern\", () => A.TypeErrorDecoder_extractPattern(function() {\n" |
| " try {\n" |
| " null.\$method\$;\n" |
| " } catch (e) {\n" |
| " return e.message;\n" |
| " }\n" |
| " }()));\n" |
| " _lazyFinal(\$, \"TypeErrorDecoder_undefinedPropertyPattern\", \"\$get\$TypeErrorDecoder_undefinedPropertyPattern\", () => A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0)));\n" |
| " _lazyFinal(\$, \"TypeErrorDecoder_undefinedLiteralPropertyPattern\", \"\$get\$TypeErrorDecoder_undefinedLiteralPropertyPattern\", () => A.TypeErrorDecoder_extractPattern(function() {\n" |
| " try {\n" |
| " (void 0).\$method\$;\n" |
| " } catch (e) {\n" |
| " return e.message;\n" |
| " }\n" |
| " }()));\n" |
| " _lazyFinal(\$, \"_AsyncRun__scheduleImmediateClosure\", \"\$get\$_AsyncRun__scheduleImmediateClosure\", () => A._AsyncRun__initializeScheduleImmediate());\n" |
| " _lazyFinal(\$, \"Future__nullFuture\", \"\$get\$Future__nullFuture\", () => \$.\$get\$nullFuture());\n" |
| " _lazyFinal(\$, \"_RootZone__rootMap\", \"\$get\$_RootZone__rootMap\", () => {\n" |
| " var t1 = type\$.dynamic;\n" |
| " return A.HashMap_HashMap(null, null, t1, t1);\n" |
| " });\n" |
| " _lazyFinal(\$, \"_Utf8Decoder__reusableBuffer\", \"\$get\$_Utf8Decoder__reusableBuffer\", () => A.NativeUint8List_NativeUint8List(4096));\n" |
| " _lazyFinal(\$, \"_Utf8Decoder__decoder\", \"\$get\$_Utf8Decoder__decoder\", () => new A._Utf8Decoder__decoder_closure().call\$0());\n" |
| " _lazyFinal(\$, \"_Utf8Decoder__decoderNonfatal\", \"\$get\$_Utf8Decoder__decoderNonfatal\", () => new A._Utf8Decoder__decoderNonfatal_closure().call\$0());\n" |
| " _lazyFinal(\$, \"_Base64Decoder__inverseAlphabet\", \"\$get\$_Base64Decoder__inverseAlphabet\", () => A.NativeInt8List__create1(A._ensureNativeList(A._setArrayType([-2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -2, -1, -2, -2, -2, -2, -2, 62, -2, 62, -2, 63, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, -2, -2, -2, -1, -2, -2, -2, 0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, -2, -2, -2, -2, 63, -2, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, -2, -2, -2, -2, -2], type\$.JSArray_int))));\n" |
| " _lazyFinal(\$, \"_Uri__needsNoEncoding\", \"\$get\$_Uri__needsNoEncoding\", () => A.RegExp_RegExp(\"^[\\\\-\\\\.0-9A-Z_a-z~]*\$\", false));\n" |
| " _lazyFinal(\$, \"_hashSeed\", \"\$get\$_hashSeed\", () => A.objectHashCode(B.Type_Object_A4p));\n" |
| " _lazyFinal(\$, \"_jsBoxedDartObjectProperty\", \"\$get\$_jsBoxedDartObjectProperty\", () => Symbol(\"jsBoxedDartObjectProperty\"));\n" |
| " _lazyFinal(\$, \"Random__secureRandom\", \"\$get\$Random__secureRandom\", () => {\n" |
| " var t1 = new A._JSSecureRandom(new DataView(new ArrayBuffer(A._checkLength(8))));\n" |
| " t1._JSSecureRandom\$0();\n" |
| " return t1;\n" |
| " });\n" |
| " _lazyFinal(\$, \"_logger\", \"\$get\$_logger\", () => A.Logger_Logger(\"Utilities\"));\n" |
| " _lazyFinal(\$, \"Uuid__random\", \"\$get\$Uuid__random\", () => \$.\$get\$Random__secureRandom());\n" |
| " _lazyFinal(\$, \"Uuid__hex\", \"\$get\$Uuid__hex\", () => {\n" |
| " var i,\n" |
| " _list = J.JSArray_JSArray\$allocateGrowable(256, type\$.String);\n" |
| " for (i = 0; i < 256; ++i)\n" |
| " _list[i] = B.JSString_methods.padLeft\$2(B.JSInt_methods.toRadixString\$1(i, 16), 2, \"0\");\n" |
| " return _list;\n" |
| " });\n" |
| " _lazyFinal(\$, \"BaseRequest__tokenRE\", \"\$get\$BaseRequest__tokenRE\", () => A.RegExp_RegExp(\"^[\\\\w!#%&'*+\\\\-.^`|~]+\$\", false));\n" |
| " _lazyFinal(\$, \"_escapedChar\", \"\$get\$_escapedChar\", () => A.RegExp_RegExp('[\"\\\\x00-\\\\x1F\\\\x7F]', false));\n" |
| " _lazyFinal(\$, \"token\", \"\$get\$token\", () => A.RegExp_RegExp('[^()<>@,;:\"\\\\\\\\/[\\\\]?={} \\\\t\\\\x00-\\\\x1F\\\\x7F]+', false));\n" |
| " _lazyFinal(\$, \"_lws\", \"\$get\$_lws\", () => A.RegExp_RegExp(\"(?:\\\\r\\\\n)?[ \\\\t]+\", false));\n" |
| " _lazyFinal(\$, \"_quotedString\", \"\$get\$_quotedString\", () => A.RegExp_RegExp('\"(?:[^\"\\\\x00-\\\\x1F\\\\x7F\\\\\\\\]|\\\\\\\\.)*\"', false));\n" |
| " _lazyFinal(\$, \"_quotedPair\", \"\$get\$_quotedPair\", () => A.RegExp_RegExp(\"\\\\\\\\(.)\", false));\n" |
| " _lazyFinal(\$, \"nonToken\", \"\$get\$nonToken\", () => A.RegExp_RegExp('[()<>@,;:\"\\\\\\\\/\\\\[\\\\]?={} \\\\t\\\\x00-\\\\x1F\\\\x7F]', false));\n" |
| " _lazyFinal(\$, \"whitespace\", \"\$get\$whitespace\", () => A.RegExp_RegExp(\"(?:\" + \$.\$get\$_lws().pattern + \")*\", false));\n" |
| " _lazyFinal(\$, \"Logger_root\", \"\$get\$Logger_root\", () => A.Logger_Logger(\"\"));\n" |
| " _lazyFinal(\$, \"context\", \"\$get\$context\", () => new A.Context(\$.\$get\$Style_platform(), null));\n" |
| " _lazyFinal(\$, \"Style_posix\", \"\$get\$Style_posix\", () => new A.PosixStyle(A.RegExp_RegExp(\"/\", false), A.RegExp_RegExp(\"[^/]\$\", false), A.RegExp_RegExp(\"^/\", false)));\n" |
| " _lazyFinal(\$, \"Style_windows\", \"\$get\$Style_windows\", () => new A.WindowsStyle(A.RegExp_RegExp(\"[/\\\\\\\\]\", false), A.RegExp_RegExp(\"[^/\\\\\\\\]\$\", false), A.RegExp_RegExp(\"^(\\\\\\\\\\\\\\\\[^\\\\\\\\]+\\\\\\\\[^\\\\\\\\/]+|[a-zA-Z]:[/\\\\\\\\])\", false), A.RegExp_RegExp(\"^[/\\\\\\\\](?![/\\\\\\\\])\", false)));\n" |
| " _lazyFinal(\$, \"Style_url\", \"\$get\$Style_url\", () => new A.UrlStyle(A.RegExp_RegExp(\"/\", false), A.RegExp_RegExp(\"(^[a-zA-Z][-+.a-zA-Z\\\\d]*://|[^/])\$\", false), A.RegExp_RegExp(\"[a-zA-Z][-+.a-zA-Z\\\\d]*://[^/]*\", false), A.RegExp_RegExp(\"^/\", false)));\n" |
| " _lazyFinal(\$, \"Style_platform\", \"\$get\$Style_platform\", () => A.Style__getPlatformStyle());\n" |
| " _lazyFinal(\$, \"_requestPool\", \"\$get\$_requestPool\", () => {\n" |
| " var t4,\n" |
| " t1 = A.findType(\"Completer<PoolResource>\"),\n" |
| " t2 = A.ListQueue\$(t1),\n" |
| " t3 = A.ListQueue\$(type\$.void_Function);\n" |
| " t1 = A.ListQueue\$(t1);\n" |
| " t4 = A.Completer_Completer(type\$.void);\n" |
| " return new A.Pool(t2, t3, t1, 1000, new A.AsyncMemoizer(t4, A.findType(\"AsyncMemoizer<~>\")));\n" |
| " });\n" |
| " _lazyFinal(\$, \"_noncePattern\", \"\$get\$_noncePattern\", () => A.RegExp_RegExp(\"^[\\\\w+/_-]+[=]{0,2}\$\", false));\n" |
| " _lazyFinal(\$, \"_createScript\", \"\$get\$_createScript\", () => new A._createScript_closure().call\$0());\n" |
| " })();\n" |
| " (function nativeSupport() {\n" |
| " !function() {\n" |
| " var intern = function(s) {\n" |
| " var o = {};\n" |
| " o[s] = 1;\n" |
| " return Object.keys(hunkHelpers.convertToFastObject(o))[0];\n" |
| " };\n" |
| " init.getIsolateTag = function(name) {\n" |
| " return intern(\"___dart_\" + name + init.isolateTag);\n" |
| " };\n" |
| " var tableProperty = \"___dart_isolate_tags_\";\n" |
| " var usedProperties = Object[tableProperty] || (Object[tableProperty] = Object.create(null));\n" |
| " var rootProperty = \"_ZxYxX\";\n" |
| " for (var i = 0;; i++) {\n" |
| " var property = intern(rootProperty + \"_\" + i + \"_\");\n" |
| " if (!(property in usedProperties)) {\n" |
| " usedProperties[property] = 1;\n" |
| " init.isolateTag = property;\n" |
| " break;\n" |
| " }\n" |
| " }\n" |
| " init.dispatchPropertyName = init.getIsolateTag(\"dispatch_record\");\n" |
| " }();\n" |
| " hunkHelpers.setOrUpdateInterceptorsByTag({SharedArrayBuffer: A.NativeByteBuffer, ArrayBuffer: A.NativeArrayBuffer, ArrayBufferView: A.NativeTypedData, DataView: A.NativeByteData, Float32Array: A.NativeFloat32List, Float64Array: A.NativeFloat64List, Int16Array: A.NativeInt16List, Int32Array: A.NativeInt32List, Int8Array: A.NativeInt8List, Uint16Array: A.NativeUint16List, Uint32Array: A.NativeUint32List, Uint8ClampedArray: A.NativeUint8ClampedList, CanvasPixelArray: A.NativeUint8ClampedList, Uint8Array: A.NativeUint8List});\n" |
| " hunkHelpers.setOrUpdateLeafTags({SharedArrayBuffer: true, ArrayBuffer: true, ArrayBufferView: false, DataView: true, Float32Array: true, Float64Array: true, Int16Array: true, Int32Array: true, Int8Array: true, Uint16Array: true, Uint32Array: true, Uint8ClampedArray: true, CanvasPixelArray: true, Uint8Array: false});\n" |
| " A.NativeTypedArray.\$nativeSuperclassTag = \"ArrayBufferView\";\n" |
| " A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.\$nativeSuperclassTag = \"ArrayBufferView\";\n" |
| " A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.\$nativeSuperclassTag = \"ArrayBufferView\";\n" |
| " A.NativeTypedArrayOfDouble.\$nativeSuperclassTag = \"ArrayBufferView\";\n" |
| " A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.\$nativeSuperclassTag = \"ArrayBufferView\";\n" |
| " A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.\$nativeSuperclassTag = \"ArrayBufferView\";\n" |
| " A.NativeTypedArrayOfInt.\$nativeSuperclassTag = \"ArrayBufferView\";\n" |
| " })();\n" |
| " Function.prototype.call\$1 = function(a) {\n" |
| " return this(a);\n" |
| " };\n" |
| " Function.prototype.call\$2 = function(a, b) {\n" |
| " return this(a, b);\n" |
| " };\n" |
| " Function.prototype.call\$0 = function() {\n" |
| " return this();\n" |
| " };\n" |
| " Function.prototype.call\$1\$1 = function(a) {\n" |
| " return this(a);\n" |
| " };\n" |
| " Function.prototype.call\$3\$3 = function(a, b, c) {\n" |
| " return this(a, b, c);\n" |
| " };\n" |
| " Function.prototype.call\$5 = function(a, b, c, d, e) {\n" |
| " return this(a, b, c, d, e);\n" |
| " };\n" |
| " Function.prototype.call\$3 = function(a, b, c) {\n" |
| " return this(a, b, c);\n" |
| " };\n" |
| " Function.prototype.call\$4 = function(a, b, c, d) {\n" |
| " return this(a, b, c, d);\n" |
| " };\n" |
| " Function.prototype.call\$3\$6 = function(a, b, c, d, e, f) {\n" |
| " return this(a, b, c, d, e, f);\n" |
| " };\n" |
| " Function.prototype.call\$1\$4 = function(a, b, c, d) {\n" |
| " return this(a, b, c, d);\n" |
| " };\n" |
| " Function.prototype.call\$2\$1 = function(a) {\n" |
| " return this(a);\n" |
| " };\n" |
| " Function.prototype.call\$2\$5 = function(a, b, c, d, e) {\n" |
| " return this(a, b, c, d, e);\n" |
| " };\n" |
| " Function.prototype.call\$2\$4 = function(a, b, c, d) {\n" |
| " return this(a, b, c, d);\n" |
| " };\n" |
| " Function.prototype.call\$3\$1 = function(a) {\n" |
| " return this(a);\n" |
| " };\n" |
| " Function.prototype.call\$3\$4 = function(a, b, c, d) {\n" |
| " return this(a, b, c, d);\n" |
| " };\n" |
| " Function.prototype.call\$2\$2 = function(a, b) {\n" |
| " return this(a, b);\n" |
| " };\n" |
| " Function.prototype.call\$2\$3 = function(a, b, c) {\n" |
| " return this(a, b, c);\n" |
| " };\n" |
| " Function.prototype.call\$1\$2 = function(a, b) {\n" |
| " return this(a, b);\n" |
| " };\n" |
| " Function.prototype.call\$2\$0 = function() {\n" |
| " return this();\n" |
| " };\n" |
| " Function.prototype.call\$1\$0 = function() {\n" |
| " return this();\n" |
| " };\n" |
| " convertAllToFastObject(holders);\n" |
| " convertToFastObject(\$);\n" |
| " (function(callback) {\n" |
| " if (typeof document === \"undefined\") {\n" |
| " callback(null);\n" |
| " return;\n" |
| " }\n" |
| " if (typeof document.currentScript != \"undefined\") {\n" |
| " callback(document.currentScript);\n" |
| " return;\n" |
| " }\n" |
| " var scripts = document.scripts;\n" |
| " function onLoad(event) {\n" |
| " for (var i = 0; i < scripts.length; ++i) {\n" |
| " scripts[i].removeEventListener(\"load\", onLoad, false);\n" |
| " }\n" |
| " callback(event.target);\n" |
| " }\n" |
| " for (var i = 0; i < scripts.length; ++i) {\n" |
| " scripts[i].addEventListener(\"load\", onLoad, false);\n" |
| " }\n" |
| " })(function(currentScript) {\n" |
| " init.currentScript = currentScript;\n" |
| " var callMain = A.main;\n" |
| " if (typeof dartMainRunner === \"function\") {\n" |
| " dartMainRunner(callMain, []);\n" |
| " } else {\n" |
| " callMain([]);\n" |
| " }\n" |
| " });\n" |
| "})();\n" |
| ""; |
| |
| const clientDartHash = 'fca4b3f5a690b875dcb1a66b1f52617a7a7bb23e65cf16ca141766220b0c683c'; |