OLD | NEW |
1 // Generated by dart2js, the Dart to JavaScript compiler version: 1.10.0-edge.45
075. | 1 // Generated by dart2js, the Dart to JavaScript compiler version: 1.10.1. |
2 // The code supports the following hooks: | 2 // The code supports the following hooks: |
3 // dartPrint(message): | 3 // dartPrint(message): |
4 // if this function is defined it is called instead of the Dart [print] | 4 // if this function is defined it is called instead of the Dart [print] |
5 // method. | 5 // method. |
6 // | 6 // |
7 // dartMainRunner(main, args): | 7 // dartMainRunner(main, args): |
8 // if this function is defined, the Dart [main] method will not be invoked | 8 // if this function is defined, the Dart [main] method will not be invoked |
9 // directly. Instead, a closure that will invoke [main], and its arguments | 9 // directly. Instead, a closure that will invoke [main], and its arguments |
10 // [args] is passed to [dartMainRunner]. | 10 // [args] is passed to [dartMainRunner]. |
11 // | 11 // |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 var X = map(); | 54 var X = map(); |
55 var Y = map(); | 55 var Y = map(); |
56 var Z = map(); | 56 var Z = map(); |
57 function Isolate() {} | 57 function Isolate() {} |
58 init(); | 58 init(); |
59 | 59 |
60 $ = Isolate.$isolateProperties; | 60 $ = Isolate.$isolateProperties; |
61 $.functionThatReturnsNull = function() { | 61 $.functionThatReturnsNull = function() { |
62 }; | 62 }; |
63 ; | 63 ; |
64 function setupProgram(programData, typesOffset) { | 64 function setupProgram(programData) { |
65 "use strict"; | 65 "use strict"; |
66 function generateAccessor(fieldDescriptor, accessors, cls) { | 66 function generateAccessor(fieldDescriptor, accessors, cls) { |
67 var fieldInformation = fieldDescriptor.split("-"); | 67 var fieldInformation = fieldDescriptor.split("-"); |
68 var field = fieldInformation[0]; | 68 var field = fieldInformation[0]; |
69 var len = field.length; | 69 var len = field.length; |
70 var code = field.charCodeAt(len - 1); | 70 var code = field.charCodeAt(len - 1); |
71 var reflectable; | 71 var reflectable; |
72 if (fieldInformation.length > 1) | 72 if (fieldInformation.length > 1) |
73 reflectable = true; | 73 reflectable = true; |
74 else | 74 else |
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
424 var requiredParameterInfo = array[0]; | 424 var requiredParameterInfo = array[0]; |
425 var requiredParameterCount = requiredParameterInfo >> 1; | 425 var requiredParameterCount = requiredParameterInfo >> 1; |
426 var isAccessor = (requiredParameterInfo & 1) === 1; | 426 var isAccessor = (requiredParameterInfo & 1) === 1; |
427 var isSetter = requiredParameterInfo === 3; | 427 var isSetter = requiredParameterInfo === 3; |
428 var isGetter = requiredParameterInfo === 1; | 428 var isGetter = requiredParameterInfo === 1; |
429 var optionalParameterInfo = array[1]; | 429 var optionalParameterInfo = array[1]; |
430 var optionalParameterCount = optionalParameterInfo >> 1; | 430 var optionalParameterCount = optionalParameterInfo >> 1; |
431 var optionalParametersAreNamed = (optionalParameterInfo & 1) === 1; | 431 var optionalParametersAreNamed = (optionalParameterInfo & 1) === 1; |
432 var isIntercepted = requiredParameterCount + optionalParameterCount != funcs
[0].length; | 432 var isIntercepted = requiredParameterCount + optionalParameterCount != funcs
[0].length; |
433 var functionTypeIndex = array[2]; | 433 var functionTypeIndex = array[2]; |
434 if (typeof functionTypeIndex == "number") | |
435 array[2] = functionTypeIndex + typesOffset; | |
436 var unmangledNameIndex = 2 * optionalParameterCount + requiredParameterCount
+ 3; | 434 var unmangledNameIndex = 2 * optionalParameterCount + requiredParameterCount
+ 3; |
437 if (getterStubName) { | 435 if (getterStubName) { |
438 f = tearOff(funcs, array, isStatic, name, isIntercepted); | 436 f = tearOff(funcs, array, isStatic, name, isIntercepted); |
439 prototype[name].$getter = f; | 437 prototype[name].$getter = f; |
440 f.$getterStub = true; | 438 f.$getterStub = true; |
441 if (isStatic) { | 439 if (isStatic) { |
442 init.globalFunctions[name] = f; | 440 init.globalFunctions[name] = f; |
443 functions.push(getterStubName); | 441 functions.push(getterStubName); |
444 } | 442 } |
445 prototype[getterStubName] = f; | 443 prototype[getterStubName] = f; |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
574 return receiver === other; | 572 return receiver === other; |
575 }, | 573 }, |
576 get$hashCode: function(receiver) { | 574 get$hashCode: function(receiver) { |
577 return H.Primitives_objectHashCode(receiver); | 575 return H.Primitives_objectHashCode(receiver); |
578 }, | 576 }, |
579 toString$0: ["super$Interceptor$toString$0", function(receiver) { | 577 toString$0: ["super$Interceptor$toString$0", function(receiver) { |
580 return H.Primitives_objectToString(receiver); | 578 return H.Primitives_objectToString(receiver); |
581 }], | 579 }], |
582 noSuchMethod$1: ["super$Interceptor$noSuchMethod$1", function(receiver, invo
cation) { | 580 noSuchMethod$1: ["super$Interceptor$noSuchMethod$1", function(receiver, invo
cation) { |
583 throw H.wrapException(P.NoSuchMethodError$(receiver, invocation.get$member
Name(), invocation.get$positionalArguments(), invocation.get$namedArguments(), n
ull)); | 581 throw H.wrapException(P.NoSuchMethodError$(receiver, invocation.get$member
Name(), invocation.get$positionalArguments(), invocation.get$namedArguments(), n
ull)); |
584 }], | 582 }, null, "get$noSuchMethod", 2, 0, null, 0], |
585 "%": "MediaError|MediaKeyError|SVGAnimatedLength|SVGAnimatedLengthList|SVGAn
imatedNumber|SVGAnimatedNumberList|SVGAnimatedString" | 583 "%": "MediaError|MediaKeyError|SVGAnimatedLength|SVGAnimatedLengthList|SVGAn
imatedNumber|SVGAnimatedNumberList|SVGAnimatedString" |
586 }, | 584 }, |
587 JSBool: { | 585 JSBool: { |
588 "^": "Interceptor;", | 586 "^": "Interceptor;", |
589 toString$0: function(receiver) { | 587 toString$0: function(receiver) { |
590 return String(receiver); | 588 return String(receiver); |
591 }, | 589 }, |
592 get$hashCode: function(receiver) { | 590 get$hashCode: function(receiver) { |
593 return receiver ? 519018 : 218159; | 591 return receiver ? 519018 : 218159; |
594 }, | 592 }, |
595 $isbool: 1 | 593 $isbool: 1 |
596 }, | 594 }, |
597 JSNull: { | 595 JSNull: { |
598 "^": "Interceptor;", | 596 "^": "Interceptor;", |
599 $eq: function(receiver, other) { | 597 $eq: function(receiver, other) { |
600 return null == other; | 598 return null == other; |
601 }, | 599 }, |
602 toString$0: function(receiver) { | 600 toString$0: function(receiver) { |
603 return "null"; | 601 return "null"; |
604 }, | 602 }, |
605 get$hashCode: function(receiver) { | 603 get$hashCode: function(receiver) { |
606 return 0; | 604 return 0; |
607 }, | 605 }, |
608 noSuchMethod$1: function(receiver, invocation) { | 606 noSuchMethod$1: [function(receiver, invocation) { |
609 return this.super$Interceptor$noSuchMethod$1(receiver, invocation); | 607 return this.super$Interceptor$noSuchMethod$1(receiver, invocation); |
610 } | 608 }, null, "get$noSuchMethod", 2, 0, null, 0] |
611 }, | 609 }, |
612 JavaScriptObject: { | 610 JavaScriptObject: { |
613 "^": "Interceptor;", | 611 "^": "Interceptor;", |
614 get$hashCode: function(_) { | 612 get$hashCode: function(_) { |
615 return 0; | 613 return 0; |
616 }, | 614 }, |
617 $isJSObject: 1 | 615 $isJSObject: 1 |
618 }, | 616 }, |
619 PlainJavaScriptObject: { | 617 PlainJavaScriptObject: { |
620 "^": "JavaScriptObject;" | 618 "^": "JavaScriptObject;" |
(...skipping 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1483 t2 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "print", "msg"
, msg], null, null); | 1481 t2 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "print", "msg"
, msg], null, null); |
1484 t2 = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu
ll, P.$int)).serialize$1(t2); | 1482 t2 = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu
ll, P.$int)).serialize$1(t2); |
1485 t1.toString; | 1483 t1.toString; |
1486 self.postMessage(t2); | 1484 self.postMessage(t2); |
1487 } else | 1485 } else |
1488 P.print(t1.$index(msg, "msg")); | 1486 P.print(t1.$index(msg, "msg")); |
1489 break; | 1487 break; |
1490 case "error": | 1488 case "error": |
1491 throw H.wrapException(t1.$index(msg, "msg")); | 1489 throw H.wrapException(t1.$index(msg, "msg")); |
1492 } | 1490 } |
1493 }, null, null, 4, 0, null, 1, 2], | 1491 }, null, null, 4, 0, null, 2, 3], |
1494 IsolateNatives__log: function(msg) { | 1492 IsolateNatives__log: function(msg) { |
1495 var trace, t1, t2, exception; | 1493 var trace, t1, t2, exception; |
1496 if (init.globalState.isWorker === true) { | 1494 if (init.globalState.isWorker === true) { |
1497 t1 = init.globalState.mainManager; | 1495 t1 = init.globalState.mainManager; |
1498 t2 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "log", "msg", msg]
, null, null); | 1496 t2 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "log", "msg", msg]
, null, null); |
1499 t2 = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(null,
P.$int)).serialize$1(t2); | 1497 t2 = new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(null,
P.$int)).serialize$1(t2); |
1500 t1.toString; | 1498 t1.toString; |
1501 self.postMessage(t2); | 1499 self.postMessage(t2); |
1502 } else | 1500 } else |
1503 try { | 1501 try { |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1569 if (self.console && self.console.log) | 1567 if (self.console && self.console.log) |
1570 self.console.log(object); | 1568 self.console.log(object); |
1571 else | 1569 else |
1572 self.postMessage(serialize(object)); | 1570 self.postMessage(serialize(object)); |
1573 }; | 1571 }; |
1574 }(H._Manager__serializePrintMessage); | 1572 }(H._Manager__serializePrintMessage); |
1575 }, | 1573 }, |
1576 static: {_Manager__serializePrintMessage: [function(object) { | 1574 static: {_Manager__serializePrintMessage: [function(object) { |
1577 var t1 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "print", "ms
g", object], null, null); | 1575 var t1 = P.LinkedHashMap_LinkedHashMap$_literal(["command", "print", "ms
g", object], null, null); |
1578 return new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu
ll, P.$int)).serialize$1(t1); | 1576 return new H._Serializer(true, P.LinkedHashMap_LinkedHashMap$identity(nu
ll, P.$int)).serialize$1(t1); |
1579 }, null, null, 2, 0, null, 0]} | 1577 }, null, null, 2, 0, null, 1]} |
1580 }, | 1578 }, |
1581 _IsolateContext: { | 1579 _IsolateContext: { |
1582 "^": "Object;id,ports,weakPorts,isolateStatics<,controlPort<,pauseCapability
,terminateCapability,initialized?,isPaused<,delayedEvents<,pauseTokens,doneHandl
ers,_scheduledControlEvents,_isExecutingEvent,errorsAreFatal,errorPorts", | 1580 "^": "Object;id,ports,weakPorts,isolateStatics<,controlPort<,pauseCapability
,terminateCapability,initialized?,isPaused<,delayedEvents<,pauseTokens,doneHandl
ers,_scheduledControlEvents,_isExecutingEvent,errorsAreFatal,errorPorts", |
1583 addPause$2: function(authentification, resume) { | 1581 addPause$2: function(authentification, resume) { |
1584 if (!this.pauseCapability.$eq(0, authentification)) | 1582 if (!this.pauseCapability.$eq(0, authentification)) |
1585 return; | 1583 return; |
1586 if (this.pauseTokens.add$1(0, resume) && !this.isPaused) | 1584 if (this.pauseTokens.add$1(0, resume) && !this.isPaused) |
1587 this.isPaused = true; | 1585 this.isPaused = true; |
1588 this._updateGlobalState$0(); | 1586 this._updateGlobalState$0(); |
1589 }, | 1587 }, |
(...skipping 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2126 return this.serializeJsSendPort$1(x); | 2124 return this.serializeJsSendPort$1(x); |
2127 if (!!t1.$is_WorkerSendPort) | 2125 if (!!t1.$is_WorkerSendPort) |
2128 return this.serializeWorkerSendPort$1(x); | 2126 return this.serializeWorkerSendPort$1(x); |
2129 if (!!t1.$isClosure) { | 2127 if (!!t1.$isClosure) { |
2130 $name = x.$name; | 2128 $name = x.$name; |
2131 if ($name == null) | 2129 if ($name == null) |
2132 this.unsupported$2(x, "Closures can't be transmitted:"); | 2130 this.unsupported$2(x, "Closures can't be transmitted:"); |
2133 return ["function", $name]; | 2131 return ["function", $name]; |
2134 } | 2132 } |
2135 return ["dart", init.classIdExtractor(x), this.serializeArrayInPlace$1(ini
t.classFieldsExtractor(x))]; | 2133 return ["dart", init.classIdExtractor(x), this.serializeArrayInPlace$1(ini
t.classFieldsExtractor(x))]; |
2136 }, "call$1", "get$serialize", 2, 0, 3, 3], | 2134 }, "call$1", "get$serialize", 2, 0, 3, 4], |
2137 unsupported$2: function(x, message) { | 2135 unsupported$2: function(x, message) { |
2138 throw H.wrapException(P.UnsupportedError$(H.S(message == null ? "Can't tra
nsmit:" : message) + " " + H.S(x))); | 2136 throw H.wrapException(P.UnsupportedError$(H.S(message == null ? "Can't tra
nsmit:" : message) + " " + H.S(x))); |
2139 }, | 2137 }, |
2140 unsupported$1: function(x) { | 2138 unsupported$1: function(x) { |
2141 return this.unsupported$2(x, null); | 2139 return this.unsupported$2(x, null); |
2142 }, | 2140 }, |
2143 serializeJSIndexable$1: function(indexable) { | 2141 serializeJSIndexable$1: function(indexable) { |
2144 var serialized = this.serializeArray$1(indexable); | 2142 var serialized = this.serializeArray$1(indexable); |
2145 if (!!indexable.fixed$length) | 2143 if (!!indexable.fixed$length) |
2146 return ["fixed", serialized]; | 2144 return ["fixed", serialized]; |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2283 if (2 >= t1) | 2281 if (2 >= t1) |
2284 return H.ioore(x, 2); | 2282 return H.ioore(x, 2); |
2285 fields = x[2]; | 2283 fields = x[2]; |
2286 emptyInstance = init.instanceFromClassId(classId); | 2284 emptyInstance = init.instanceFromClassId(classId); |
2287 this.deserializedObjects.push(emptyInstance); | 2285 this.deserializedObjects.push(emptyInstance); |
2288 this.deserializeArrayInPlace$1(fields); | 2286 this.deserializeArrayInPlace$1(fields); |
2289 return init.initializeEmptyInstance(classId, emptyInstance, fields); | 2287 return init.initializeEmptyInstance(classId, emptyInstance, fields); |
2290 default: | 2288 default: |
2291 throw H.wrapException("couldn't deserialize: " + H.S(x)); | 2289 throw H.wrapException("couldn't deserialize: " + H.S(x)); |
2292 } | 2290 } |
2293 }, "call$1", "get$deserialize", 2, 0, 3, 3], | 2291 }, "call$1", "get$deserialize", 2, 0, 3, 4], |
2294 deserializeArrayInPlace$1: function(x) { | 2292 deserializeArrayInPlace$1: function(x) { |
2295 var t1, i, t2; | 2293 var t1, i, t2; |
2296 t1 = J.getInterceptor$asx(x); | 2294 t1 = J.getInterceptor$asx(x); |
2297 i = 0; | 2295 i = 0; |
2298 while (true) { | 2296 while (true) { |
2299 t2 = t1.get$length(x); | 2297 t2 = t1.get$length(x); |
2300 if (typeof t2 !== "number") | 2298 if (typeof t2 !== "number") |
2301 return H.iae(t2); | 2299 return H.iae(t2); |
2302 if (!(i < t2)) | 2300 if (!(i < t2)) |
2303 break; | 2301 break; |
(...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2624 return J.toString$0(this.dartException); | 2622 return J.toString$0(this.dartException); |
2625 }, null, null, 0, 0, null], | 2623 }, null, null, 0, 0, null], |
2626 throwExpression: function(ex) { | 2624 throwExpression: function(ex) { |
2627 throw H.wrapException(ex); | 2625 throw H.wrapException(ex); |
2628 }, | 2626 }, |
2629 unwrapException: function(ex) { | 2627 unwrapException: function(ex) { |
2630 var t1, message, number, ieErrorCode, t2, t3, t4, nullLiteralCall, t5, t6, t
7, t8, t9, match; | 2628 var t1, message, number, ieErrorCode, t2, t3, t4, nullLiteralCall, t5, t6, t
7, t8, t9, match; |
2631 t1 = new H.unwrapException_saveStackTrace(ex); | 2629 t1 = new H.unwrapException_saveStackTrace(ex); |
2632 if (ex == null) | 2630 if (ex == null) |
2633 return; | 2631 return; |
| 2632 if (ex instanceof H.ExceptionAndStackTrace) |
| 2633 return t1.call$1(ex.dartException); |
2634 if (typeof ex !== "object") | 2634 if (typeof ex !== "object") |
2635 return ex; | 2635 return ex; |
2636 if ("dartException" in ex) | 2636 if ("dartException" in ex) |
2637 return t1.call$1(ex.dartException); | 2637 return t1.call$1(ex.dartException); |
2638 else if (!("message" in ex)) | 2638 else if (!("message" in ex)) |
2639 return ex; | 2639 return ex; |
2640 message = ex.message; | 2640 message = ex.message; |
2641 if ("number" in ex && typeof ex.number == "number") { | 2641 if ("number" in ex && typeof ex.number == "number") { |
2642 number = ex.number; | 2642 number = ex.number; |
2643 ieErrorCode = number & 65535; | 2643 ieErrorCode = number & 65535; |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2711 if (typeof message === "string" && message.indexOf("call stack") !== -1) | 2711 if (typeof message === "string" && message.indexOf("call stack") !== -1) |
2712 return new P.StackOverflowError(); | 2712 return new P.StackOverflowError(); |
2713 return t1.call$1(new P.ArgumentError(false, null, null, null)); | 2713 return t1.call$1(new P.ArgumentError(false, null, null, null)); |
2714 } | 2714 } |
2715 if (typeof InternalError == "function" && ex instanceof InternalError) | 2715 if (typeof InternalError == "function" && ex instanceof InternalError) |
2716 if (typeof message === "string" && message === "too much recursion") | 2716 if (typeof message === "string" && message === "too much recursion") |
2717 return new P.StackOverflowError(); | 2717 return new P.StackOverflowError(); |
2718 return ex; | 2718 return ex; |
2719 }, | 2719 }, |
2720 getTraceFromException: function(exception) { | 2720 getTraceFromException: function(exception) { |
| 2721 if (exception instanceof H.ExceptionAndStackTrace) |
| 2722 return exception.stackTrace; |
2721 return new H._StackTrace(exception, null); | 2723 return new H._StackTrace(exception, null); |
2722 }, | 2724 }, |
2723 objectHashCode: function(object) { | 2725 objectHashCode: function(object) { |
2724 if (object == null || typeof object != 'object') | 2726 if (object == null || typeof object != 'object') |
2725 return J.get$hashCode$(object); | 2727 return J.get$hashCode$(object); |
2726 else | 2728 else |
2727 return H.Primitives_objectHashCode(object); | 2729 return H.Primitives_objectHashCode(object); |
2728 }, | 2730 }, |
2729 fillLiteralMap: function(keyValuePairs, result) { | 2731 fillLiteralMap: function(keyValuePairs, result) { |
2730 var $length, index, index0, index1; | 2732 var $length, index, index0, index1; |
(...skipping 12 matching lines...) Expand all Loading... |
2743 else if (t1.$eq(numberOfArguments, 1)) | 2745 else if (t1.$eq(numberOfArguments, 1)) |
2744 return H._callInIsolate(isolate, new H.invokeClosure_closure0(closure, arg
1)); | 2746 return H._callInIsolate(isolate, new H.invokeClosure_closure0(closure, arg
1)); |
2745 else if (t1.$eq(numberOfArguments, 2)) | 2747 else if (t1.$eq(numberOfArguments, 2)) |
2746 return H._callInIsolate(isolate, new H.invokeClosure_closure1(closure, arg
1, arg2)); | 2748 return H._callInIsolate(isolate, new H.invokeClosure_closure1(closure, arg
1, arg2)); |
2747 else if (t1.$eq(numberOfArguments, 3)) | 2749 else if (t1.$eq(numberOfArguments, 3)) |
2748 return H._callInIsolate(isolate, new H.invokeClosure_closure2(closure, arg
1, arg2, arg3)); | 2750 return H._callInIsolate(isolate, new H.invokeClosure_closure2(closure, arg
1, arg2, arg3)); |
2749 else if (t1.$eq(numberOfArguments, 4)) | 2751 else if (t1.$eq(numberOfArguments, 4)) |
2750 return H._callInIsolate(isolate, new H.invokeClosure_closure3(closure, arg
1, arg2, arg3, arg4)); | 2752 return H._callInIsolate(isolate, new H.invokeClosure_closure3(closure, arg
1, arg2, arg3, arg4)); |
2751 else | 2753 else |
2752 throw H.wrapException(P.Exception_Exception("Unsupported number of argumen
ts for wrapped closure")); | 2754 throw H.wrapException(P.Exception_Exception("Unsupported number of argumen
ts for wrapped closure")); |
2753 }, null, null, 14, 0, null, 4, 5, 6, 7, 8, 9, 10], | 2755 }, null, null, 14, 0, null, 5, 6, 7, 8, 9, 10, 11], |
2754 convertDartClosureToJS: function(closure, arity) { | 2756 convertDartClosureToJS: function(closure, arity) { |
2755 var $function; | 2757 var $function; |
2756 if (closure == null) | 2758 if (closure == null) |
2757 return; | 2759 return; |
2758 $function = closure.$identity; | 2760 $function = closure.$identity; |
2759 if (!!$function) | 2761 if (!!$function) |
2760 return $function; | 2762 return $function; |
2761 $function = function(closure, arity, context, invoke) { | 2763 $function = function(closure, arity, context, invoke) { |
2762 return function(a1, a2, a3, a4) { | 2764 return function(a1, a2, a3, a4) { |
2763 return invoke(closure, context, arity, a1, a2, a3, a4); | 2765 return invoke(closure, context, arity, a1, a2, a3, a4); |
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3028 }, | 3030 }, |
3029 getDynamicRuntimeType: function() { | 3031 getDynamicRuntimeType: function() { |
3030 return C.C_DynamicRuntimeType; | 3032 return C.C_DynamicRuntimeType; |
3031 }, | 3033 }, |
3032 random64: function() { | 3034 random64: function() { |
3033 return (Math.random() * 0x100000000 >>> 0) + (Math.random() * 0x100000000 >>
> 0) * 4294967296; | 3035 return (Math.random() * 0x100000000 >>> 0) + (Math.random() * 0x100000000 >>
> 0) * 4294967296; |
3034 }, | 3036 }, |
3035 getIsolateAffinityTag: function($name) { | 3037 getIsolateAffinityTag: function($name) { |
3036 return init.getIsolateTag($name); | 3038 return init.getIsolateTag($name); |
3037 }, | 3039 }, |
| 3040 asyncHelper: function(object, bodyFunctionOrErrorCode, completer) { |
| 3041 var future; |
| 3042 if (bodyFunctionOrErrorCode === 0) { |
| 3043 J.complete$1$x(completer, object); |
| 3044 return; |
| 3045 } else if (bodyFunctionOrErrorCode === 1) { |
| 3046 completer.completeError$2(H.unwrapException(object), H.getTraceFromExcepti
on(object)); |
| 3047 return; |
| 3048 } |
| 3049 if (!!J.getInterceptor(object).$isFuture) |
| 3050 future = object; |
| 3051 else { |
| 3052 future = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [nu
ll]); |
| 3053 future._asyncComplete$1(object); |
| 3054 } |
| 3055 future.then$2$onError(H._wrapJsFunctionForAsync(bodyFunctionOrErrorCode, 0),
new H.asyncHelper_closure(bodyFunctionOrErrorCode)); |
| 3056 return completer.get$future(); |
| 3057 }, |
| 3058 _wrapJsFunctionForAsync: function($function, errorCode) { |
| 3059 return new H._wrapJsFunctionForAsync_closure(errorCode, function(errorCode,
result) { |
| 3060 while (true) |
| 3061 try { |
| 3062 $function(errorCode, result); |
| 3063 break; |
| 3064 } catch (error) { |
| 3065 result = error; |
| 3066 errorCode = 1; |
| 3067 } |
| 3068 }); |
| 3069 }, |
3038 setRuntimeTypeInfo: function(target, typeInfo) { | 3070 setRuntimeTypeInfo: function(target, typeInfo) { |
3039 if (target != null) | 3071 if (target != null) |
3040 target.$builtinTypeInfo = typeInfo; | 3072 target.$builtinTypeInfo = typeInfo; |
3041 return target; | 3073 return target; |
3042 }, | 3074 }, |
3043 getRuntimeTypeInfo: function(target) { | 3075 getRuntimeTypeInfo: function(target) { |
3044 if (target == null) | 3076 if (target == null) |
3045 return; | 3077 return; |
3046 return target.$builtinTypeInfo; | 3078 return target.$builtinTypeInfo; |
3047 }, | 3079 }, |
(...skipping 832 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3880 }, | 3912 }, |
3881 DynamicRuntimeType: { | 3913 DynamicRuntimeType: { |
3882 "^": "RuntimeType;", | 3914 "^": "RuntimeType;", |
3883 toString$0: function(_) { | 3915 toString$0: function(_) { |
3884 return "dynamic"; | 3916 return "dynamic"; |
3885 }, | 3917 }, |
3886 toRti$0: function() { | 3918 toRti$0: function() { |
3887 return; | 3919 return; |
3888 } | 3920 } |
3889 }, | 3921 }, |
| 3922 ExceptionAndStackTrace: { |
| 3923 "^": "Object;dartException,stackTrace<" |
| 3924 }, |
| 3925 asyncHelper_closure: { |
| 3926 "^": "Closure:5;_captured_bodyFunctionOrErrorCode_0", |
| 3927 call$2: [function(error, stackTrace) { |
| 3928 H._wrapJsFunctionForAsync(this._captured_bodyFunctionOrErrorCode_0, 1).cal
l$1(new H.ExceptionAndStackTrace(error, stackTrace)); |
| 3929 }, null, null, 4, 0, null, 12, 13, "call"] |
| 3930 }, |
| 3931 _wrapJsFunctionForAsync_closure: { |
| 3932 "^": "Closure:3;_captured_errorCode_0,_captured_protected_1", |
| 3933 call$1: [function(result) { |
| 3934 this._captured_protected_1(this._captured_errorCode_0, result); |
| 3935 }, null, null, 2, 0, null, 14, "call"] |
| 3936 }, |
3890 JsLinkedHashMap: { | 3937 JsLinkedHashMap: { |
3891 "^": "Object;__js_helper$_length,_strings,_nums,_rest,_first,_last,_modifica
tions", | 3938 "^": "Object;__js_helper$_length,_strings,_nums,_rest,_first,_last,_modifica
tions", |
3892 get$length: function(_) { | 3939 get$length: function(_) { |
3893 return this.__js_helper$_length; | 3940 return this.__js_helper$_length; |
3894 }, | 3941 }, |
3895 get$isEmpty: function(_) { | 3942 get$isEmpty: function(_) { |
3896 return this.__js_helper$_length === 0; | 3943 return this.__js_helper$_length === 0; |
3897 }, | 3944 }, |
3898 get$isNotEmpty: function(_) { | 3945 get$isNotEmpty: function(_) { |
3899 return this.__js_helper$_length !== 0; | 3946 return this.__js_helper$_length !== 0; |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4105 var table = Object.create(null); | 4152 var table = Object.create(null); |
4106 table["<non-identifier-key>"] = table; | 4153 table["<non-identifier-key>"] = table; |
4107 delete table["<non-identifier-key>"]; | 4154 delete table["<non-identifier-key>"]; |
4108 return table; | 4155 return table; |
4109 }} | 4156 }} |
4110 }, | 4157 }, |
4111 JsLinkedHashMap_values_closure: { | 4158 JsLinkedHashMap_values_closure: { |
4112 "^": "Closure:3;__js_helper$_captured_this_0", | 4159 "^": "Closure:3;__js_helper$_captured_this_0", |
4113 call$1: [function(each) { | 4160 call$1: [function(each) { |
4114 return this.__js_helper$_captured_this_0.$index(0, each); | 4161 return this.__js_helper$_captured_this_0.$index(0, each); |
4115 }, null, null, 2, 0, null, 11, "call"] | 4162 }, null, null, 2, 0, null, 15, "call"] |
4116 }, | 4163 }, |
4117 LinkedHashMapCell: { | 4164 LinkedHashMapCell: { |
4118 "^": "Object;hashMapCellKey<,hashMapCellValue@,_next<,_previous<" | 4165 "^": "Object;hashMapCellKey<,hashMapCellValue@,_next<,_previous<" |
4119 }, | 4166 }, |
4120 LinkedHashMapKeyIterable: { | 4167 LinkedHashMapKeyIterable: { |
4121 "^": "IterableBase;__js_helper$_map", | 4168 "^": "IterableBase;__js_helper$_map", |
4122 get$length: function(_) { | 4169 get$length: function(_) { |
4123 return this.__js_helper$_map.__js_helper$_length; | 4170 return this.__js_helper$_map.__js_helper$_length; |
4124 }, | 4171 }, |
4125 get$isEmpty: function(_) { | 4172 get$isEmpty: function(_) { |
(...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4171 } | 4218 } |
4172 } | 4219 } |
4173 }, | 4220 }, |
4174 initHooks_closure: { | 4221 initHooks_closure: { |
4175 "^": "Closure:3;_captured_getTag_0", | 4222 "^": "Closure:3;_captured_getTag_0", |
4176 call$1: function(o) { | 4223 call$1: function(o) { |
4177 return this._captured_getTag_0(o); | 4224 return this._captured_getTag_0(o); |
4178 } | 4225 } |
4179 }, | 4226 }, |
4180 initHooks_closure0: { | 4227 initHooks_closure0: { |
4181 "^": "Closure:5;_captured_getUnknownTag_1", | 4228 "^": "Closure:6;_captured_getUnknownTag_1", |
4182 call$2: function(o, tag) { | 4229 call$2: function(o, tag) { |
4183 return this._captured_getUnknownTag_1(o, tag); | 4230 return this._captured_getUnknownTag_1(o, tag); |
4184 } | 4231 } |
4185 }, | 4232 }, |
4186 initHooks_closure1: { | 4233 initHooks_closure1: { |
4187 "^": "Closure:6;_captured_prototypeForTag_2", | 4234 "^": "Closure:7;_captured_prototypeForTag_2", |
4188 call$1: function(tag) { | 4235 call$1: function(tag) { |
4189 return this._captured_prototypeForTag_2(tag); | 4236 return this._captured_prototypeForTag_2(tag); |
4190 } | 4237 } |
4191 }, | 4238 }, |
4192 JSSyntaxRegExp: { | 4239 JSSyntaxRegExp: { |
4193 "^": "Object;pattern,_nativeRegExp,_nativeGlobalRegExp,_nativeAnchoredRegExp
", | 4240 "^": "Object;pattern,_nativeRegExp,_nativeGlobalRegExp,_nativeAnchoredRegExp
", |
4194 toString$0: function(_) { | 4241 toString$0: function(_) { |
4195 return "RegExp/" + this.pattern + "/"; | 4242 return "RegExp/" + this.pattern + "/"; |
4196 }, | 4243 }, |
4197 get$_nativeGlobalVersion: function() { | 4244 get$_nativeGlobalVersion: function() { |
(...skipping 631 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4829 P.Timer__createTimer(C.Duration_0, callback); | 4876 P.Timer__createTimer(C.Duration_0, callback); |
4830 }, "call$1", "_AsyncRun__scheduleImmediateWithTimer$closure", 2, 0, 36], | 4877 }, "call$1", "_AsyncRun__scheduleImmediateWithTimer$closure", 2, 0, 36], |
4831 _registerErrorHandler: function(errorHandler, zone) { | 4878 _registerErrorHandler: function(errorHandler, zone) { |
4832 var t1 = H.getDynamicRuntimeType(); | 4879 var t1 = H.getDynamicRuntimeType(); |
4833 t1 = H.buildFunctionType(t1, [t1, t1])._isTest$1(errorHandler); | 4880 t1 = H.buildFunctionType(t1, [t1, t1])._isTest$1(errorHandler); |
4834 if (t1) | 4881 if (t1) |
4835 return zone.registerBinaryCallback$1(errorHandler); | 4882 return zone.registerBinaryCallback$1(errorHandler); |
4836 else | 4883 else |
4837 return zone.registerUnaryCallback$1(errorHandler); | 4884 return zone.registerUnaryCallback$1(errorHandler); |
4838 }, | 4885 }, |
| 4886 Future_Future$value: function(value, $T) { |
| 4887 var t1 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [$T])
; |
| 4888 t1._asyncComplete$1(value); |
| 4889 return t1; |
| 4890 }, |
| 4891 Completer_Completer: function($T) { |
| 4892 return H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeTypeInfo(new P
._Future(0, $.Zone__current, null), [$T])), [$T]); |
| 4893 }, |
4839 _completeWithErrorCallback: function(result, error, stackTrace) { | 4894 _completeWithErrorCallback: function(result, error, stackTrace) { |
4840 var replacement = $.Zone__current.errorCallback$2(error, stackTrace); | 4895 var replacement = $.Zone__current.errorCallback$2(error, stackTrace); |
4841 if (replacement != null) { | 4896 if (replacement != null) { |
4842 error = J.get$error$x(replacement); | 4897 error = J.get$error$x(replacement); |
4843 error = error != null ? error : new P.NullThrownError(); | 4898 error = error != null ? error : new P.NullThrownError(); |
4844 stackTrace = replacement.get$stackTrace(); | 4899 stackTrace = replacement.get$stackTrace(); |
4845 } | 4900 } |
4846 result._completeError$2(error, stackTrace); | 4901 result._completeError$2(error, stackTrace); |
4847 }, | 4902 }, |
4848 _asyncRunCallbackLoop: function() { | 4903 _asyncRunCallbackLoop: function() { |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4882 } | 4937 } |
4883 }, | 4938 }, |
4884 scheduleMicrotask: function(callback) { | 4939 scheduleMicrotask: function(callback) { |
4885 var t1 = $.Zone__current; | 4940 var t1 = $.Zone__current; |
4886 if (C.C__RootZone === t1) { | 4941 if (C.C__RootZone === t1) { |
4887 P._rootScheduleMicrotask(null, null, C.C__RootZone, callback); | 4942 P._rootScheduleMicrotask(null, null, C.C__RootZone, callback); |
4888 return; | 4943 return; |
4889 } | 4944 } |
4890 t1.scheduleMicrotask$1(t1.bindCallback$2$runGuarded(callback, true)); | 4945 t1.scheduleMicrotask$1(t1.bindCallback$2$runGuarded(callback, true)); |
4891 }, | 4946 }, |
| 4947 StreamIterator_StreamIterator: function(stream, $T) { |
| 4948 var t1, t2, t3; |
| 4949 t1 = H.setRuntimeTypeInfo(new P._StreamIteratorImpl(null, null, null, 0), [$
T]); |
| 4950 t2 = t1.get$_onData(); |
| 4951 t3 = t1.get$_onError(); |
| 4952 t1._subscription = stream.listen$4$cancelOnError$onDone$onError(t2, true, t1
.get$_onDone(), t3); |
| 4953 return t1; |
| 4954 }, |
4892 StreamController_StreamController: function(onCancel, onListen, onPause, onRes
ume, sync, $T) { | 4955 StreamController_StreamController: function(onCancel, onListen, onPause, onRes
ume, sync, $T) { |
4893 if (onCancel == null) | 4956 if (onCancel == null) |
4894 return sync ? new P._NoCallbackSyncStreamController(null, 0, null) : new P
._NoCallbackAsyncStreamController(null, 0, null); | 4957 return sync ? new P._NoCallbackSyncStreamController(null, 0, null) : new P
._NoCallbackAsyncStreamController(null, 0, null); |
4895 return sync ? H.setRuntimeTypeInfo(new P._SyncStreamController(onListen, onP
ause, onResume, onCancel, null, 0, null), [$T]) : H.setRuntimeTypeInfo(new P._As
yncStreamController(onListen, onPause, onResume, onCancel, null, 0, null), [$T])
; | 4958 return sync ? H.setRuntimeTypeInfo(new P._SyncStreamController(onListen, onP
ause, onResume, onCancel, null, 0, null), [$T]) : H.setRuntimeTypeInfo(new P._As
yncStreamController(onListen, onPause, onResume, onCancel, null, 0, null), [$T])
; |
4896 }, | 4959 }, |
4897 _runGuarded: function(notificationHandler) { | 4960 _runGuarded: function(notificationHandler) { |
4898 var result, e, s, exception, t1; | 4961 var result, e, s, exception, t1; |
4899 if (notificationHandler == null) | 4962 if (notificationHandler == null) |
4900 return; | 4963 return; |
4901 try { | 4964 try { |
4902 result = notificationHandler.call$0(); | 4965 result = notificationHandler.call$0(); |
4903 if (!!J.getInterceptor(result).$isFuture) | 4966 if (!!J.getInterceptor(result).$isFuture) |
4904 return result; | 4967 return result; |
4905 return; | 4968 return; |
4906 } catch (exception) { | 4969 } catch (exception) { |
4907 t1 = H.unwrapException(exception); | 4970 t1 = H.unwrapException(exception); |
4908 e = t1; | 4971 e = t1; |
4909 s = H.getTraceFromException(exception); | 4972 s = H.getTraceFromException(exception); |
4910 $.Zone__current.handleUncaughtError$2(e, s); | 4973 $.Zone__current.handleUncaughtError$2(e, s); |
4911 } | 4974 } |
4912 }, | 4975 }, |
4913 _AddStreamState_makeErrorHandler: function(controller) { | 4976 _AddStreamState_makeErrorHandler: function(controller) { |
4914 return new P._AddStreamState_makeErrorHandler_closure(controller); | 4977 return new P._AddStreamState_makeErrorHandler_closure(controller); |
4915 }, | 4978 }, |
4916 _nullDataHandler: [function(value) { | 4979 _nullDataHandler: [function(value) { |
4917 }, "call$1", "_nullDataHandler$closure", 2, 0, 53, 12], | 4980 }, "call$1", "_nullDataHandler$closure", 2, 0, 54, 16], |
4918 _nullErrorHandler: [function(error, stackTrace) { | 4981 _nullErrorHandler: [function(error, stackTrace) { |
4919 $.Zone__current.handleUncaughtError$2(error, stackTrace); | 4982 $.Zone__current.handleUncaughtError$2(error, stackTrace); |
4920 }, function(error) { | 4983 }, function(error) { |
4921 return P._nullErrorHandler(error, null); | 4984 return P._nullErrorHandler(error, null); |
4922 }, null, "call$2", "call$1", "_nullErrorHandler$closure", 2, 2, 8, 13, 14, 15]
, | 4985 }, null, "call$2", "call$1", "_nullErrorHandler$closure", 2, 2, 9, 17, 12, 13]
, |
4923 _nullDoneHandler: [function() { | 4986 _nullDoneHandler: [function() { |
4924 }, "call$0", "_nullDoneHandler$closure", 0, 0, 2], | 4987 }, "call$0", "_nullDoneHandler$closure", 0, 0, 2], |
4925 _runUserCode: function(userCode, onSuccess, onError) { | 4988 _runUserCode: function(userCode, onSuccess, onError) { |
4926 var e, s, replacement, error, stackTrace, exception, t1, error0; | 4989 var e, s, replacement, error, stackTrace, exception, t1, error0; |
4927 try { | 4990 try { |
4928 onSuccess.call$1(userCode.call$0()); | 4991 onSuccess.call$1(userCode.call$0()); |
4929 } catch (exception) { | 4992 } catch (exception) { |
4930 t1 = H.unwrapException(exception); | 4993 t1 = H.unwrapException(exception); |
4931 e = t1; | 4994 e = t1; |
4932 s = H.getTraceFromException(exception); | 4995 s = H.getTraceFromException(exception); |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5007 $._lastPriorityCallback = entry; | 5070 $._lastPriorityCallback = entry; |
5008 $._nextCallback = entry; | 5071 $._nextCallback = entry; |
5009 } else { | 5072 } else { |
5010 entry.next = t1.next; | 5073 entry.next = t1.next; |
5011 t1.next = entry; | 5074 t1.next = entry; |
5012 $._lastPriorityCallback = entry; | 5075 $._lastPriorityCallback = entry; |
5013 if (entry.next == null) | 5076 if (entry.next == null) |
5014 $._lastCallback = entry; | 5077 $._lastCallback = entry; |
5015 } | 5078 } |
5016 } | 5079 } |
5017 }, "call$5", "_rootHandleUncaughtError$closure", 10, 0, 54, 16, 17, 18, 14, 15
], | 5080 }, "call$5", "_rootHandleUncaughtError$closure", 10, 0, 55, 18, 19, 20, 12, 13
], |
5018 _rootRun: [function($self, $parent, zone, f) { | 5081 _rootRun: [function($self, $parent, zone, f) { |
5019 var old, t1; | 5082 var old, t1; |
5020 if (J.$eq($.Zone__current, zone)) | 5083 if (J.$eq($.Zone__current, zone)) |
5021 return f.call$0(); | 5084 return f.call$0(); |
5022 old = P.Zone__enter(zone); | 5085 old = P.Zone__enter(zone); |
5023 try { | 5086 try { |
5024 t1 = f.call$0(); | 5087 t1 = f.call$0(); |
5025 return t1; | 5088 return t1; |
5026 } finally { | 5089 } finally { |
5027 $.Zone__current = old; | 5090 $.Zone__current = old; |
5028 } | 5091 } |
5029 }, "call$4", "_rootRun$closure", 8, 0, 55, 16, 17, 18, 19], | 5092 }, "call$4", "_rootRun$closure", 8, 0, 56, 18, 19, 20, 21], |
5030 _rootRunUnary: [function($self, $parent, zone, f, arg) { | 5093 _rootRunUnary: [function($self, $parent, zone, f, arg) { |
5031 var old, t1; | 5094 var old, t1; |
5032 if (J.$eq($.Zone__current, zone)) | 5095 if (J.$eq($.Zone__current, zone)) |
5033 return f.call$1(arg); | 5096 return f.call$1(arg); |
5034 old = P.Zone__enter(zone); | 5097 old = P.Zone__enter(zone); |
5035 try { | 5098 try { |
5036 t1 = f.call$1(arg); | 5099 t1 = f.call$1(arg); |
5037 return t1; | 5100 return t1; |
5038 } finally { | 5101 } finally { |
5039 $.Zone__current = old; | 5102 $.Zone__current = old; |
5040 } | 5103 } |
5041 }, "call$5", "_rootRunUnary$closure", 10, 0, 56, 16, 17, 18, 19, 20], | 5104 }, "call$5", "_rootRunUnary$closure", 10, 0, 57, 18, 19, 20, 21, 22], |
5042 _rootRunBinary: [function($self, $parent, zone, f, arg1, arg2) { | 5105 _rootRunBinary: [function($self, $parent, zone, f, arg1, arg2) { |
5043 var old, t1; | 5106 var old, t1; |
5044 if (J.$eq($.Zone__current, zone)) | 5107 if (J.$eq($.Zone__current, zone)) |
5045 return f.call$2(arg1, arg2); | 5108 return f.call$2(arg1, arg2); |
5046 old = P.Zone__enter(zone); | 5109 old = P.Zone__enter(zone); |
5047 try { | 5110 try { |
5048 t1 = f.call$2(arg1, arg2); | 5111 t1 = f.call$2(arg1, arg2); |
5049 return t1; | 5112 return t1; |
5050 } finally { | 5113 } finally { |
5051 $.Zone__current = old; | 5114 $.Zone__current = old; |
5052 } | 5115 } |
5053 }, "call$6", "_rootRunBinary$closure", 12, 0, 57, 16, 17, 18, 19, 7, 8], | 5116 }, "call$6", "_rootRunBinary$closure", 12, 0, 58, 18, 19, 20, 21, 8, 9], |
5054 _rootRegisterCallback: [function($self, $parent, zone, f) { | 5117 _rootRegisterCallback: [function($self, $parent, zone, f) { |
5055 return f; | 5118 return f; |
5056 }, "call$4", "_rootRegisterCallback$closure", 8, 0, 58, 16, 17, 18, 19], | 5119 }, "call$4", "_rootRegisterCallback$closure", 8, 0, 59, 18, 19, 20, 21], |
5057 _rootRegisterUnaryCallback: [function($self, $parent, zone, f) { | 5120 _rootRegisterUnaryCallback: [function($self, $parent, zone, f) { |
5058 return f; | 5121 return f; |
5059 }, "call$4", "_rootRegisterUnaryCallback$closure", 8, 0, 59, 16, 17, 18, 19], | 5122 }, "call$4", "_rootRegisterUnaryCallback$closure", 8, 0, 60, 18, 19, 20, 21], |
5060 _rootRegisterBinaryCallback: [function($self, $parent, zone, f) { | 5123 _rootRegisterBinaryCallback: [function($self, $parent, zone, f) { |
5061 return f; | 5124 return f; |
5062 }, "call$4", "_rootRegisterBinaryCallback$closure", 8, 0, 60, 16, 17, 18, 19], | 5125 }, "call$4", "_rootRegisterBinaryCallback$closure", 8, 0, 61, 18, 19, 20, 21], |
5063 _rootErrorCallback: [function($self, $parent, zone, error, stackTrace) { | 5126 _rootErrorCallback: [function($self, $parent, zone, error, stackTrace) { |
5064 return; | 5127 return; |
5065 }, "call$5", "_rootErrorCallback$closure", 10, 0, 61, 16, 17, 18, 14, 15], | 5128 }, "call$5", "_rootErrorCallback$closure", 10, 0, 62, 18, 19, 20, 12, 13], |
5066 _rootScheduleMicrotask: [function($self, $parent, zone, f) { | 5129 _rootScheduleMicrotask: [function($self, $parent, zone, f) { |
5067 var t1 = C.C__RootZone !== zone; | 5130 var t1 = C.C__RootZone !== zone; |
5068 if (t1) | 5131 if (t1) |
5069 f = zone.bindCallback$2$runGuarded(f, !(!t1 || C.C__RootZone.get$errorZone
() === zone.get$errorZone())); | 5132 f = zone.bindCallback$2$runGuarded(f, !(!t1 || C.C__RootZone.get$errorZone
() === zone.get$errorZone())); |
5070 P._scheduleAsyncCallback(f); | 5133 P._scheduleAsyncCallback(f); |
5071 }, "call$4", "_rootScheduleMicrotask$closure", 8, 0, 62, 16, 17, 18, 19], | 5134 }, "call$4", "_rootScheduleMicrotask$closure", 8, 0, 63, 18, 19, 20, 21], |
5072 _rootCreateTimer: [function($self, $parent, zone, duration, callback) { | 5135 _rootCreateTimer: [function($self, $parent, zone, duration, callback) { |
5073 return P.Timer__createTimer(duration, C.C__RootZone !== zone ? zone.bindCall
back$1(callback) : callback); | 5136 return P.Timer__createTimer(duration, C.C__RootZone !== zone ? zone.bindCall
back$1(callback) : callback); |
5074 }, "call$5", "_rootCreateTimer$closure", 10, 0, 63, 16, 17, 18, 21, 22], | 5137 }, "call$5", "_rootCreateTimer$closure", 10, 0, 64, 18, 19, 20, 23, 24], |
5075 _rootCreatePeriodicTimer: [function($self, $parent, zone, duration, callback)
{ | 5138 _rootCreatePeriodicTimer: [function($self, $parent, zone, duration, callback)
{ |
5076 return P.Timer__createPeriodicTimer(duration, C.C__RootZone !== zone ? zone.
bindUnaryCallback$1(callback) : callback); | 5139 return P.Timer__createPeriodicTimer(duration, C.C__RootZone !== zone ? zone.
bindUnaryCallback$1(callback) : callback); |
5077 }, "call$5", "_rootCreatePeriodicTimer$closure", 10, 0, 64, 16, 17, 18, 21, 22
], | 5140 }, "call$5", "_rootCreatePeriodicTimer$closure", 10, 0, 65, 18, 19, 20, 23, 24
], |
5078 _rootPrint: [function($self, $parent, zone, line) { | 5141 _rootPrint: [function($self, $parent, zone, line) { |
5079 H.printString(H.S(line)); | 5142 H.printString(H.S(line)); |
5080 }, "call$4", "_rootPrint$closure", 8, 0, 65, 16, 17, 18, 23], | 5143 }, "call$4", "_rootPrint$closure", 8, 0, 66, 18, 19, 20, 25], |
5081 _printToZone: [function(line) { | 5144 _printToZone: [function(line) { |
5082 J.print$1$x($.Zone__current, line); | 5145 J.print$1$x($.Zone__current, line); |
5083 }, "call$1", "_printToZone$closure", 2, 0, 39], | 5146 }, "call$1", "_printToZone$closure", 2, 0, 39], |
5084 _rootFork: [function($self, $parent, zone, specification, zoneValues) { | 5147 _rootFork: [function($self, $parent, zone, specification, zoneValues) { |
5085 var valueMap, t1; | 5148 var valueMap, t1; |
5086 $.printToZone = P._printToZone$closure(); | 5149 $.printToZone = P._printToZone$closure(); |
5087 if (specification == null) | 5150 if (specification == null) |
5088 specification = C._ZoneSpecification_ALf; | 5151 specification = C._ZoneSpecification_ALf; |
5089 else if (!(specification instanceof P._ZoneSpecification)) | 5152 else if (!(specification instanceof P._ZoneSpecification)) |
5090 throw H.wrapException(P.ArgumentError$("ZoneSpecifications must be instant
iated with the provided constructor.")); | 5153 throw H.wrapException(P.ArgumentError$("ZoneSpecifications must be instant
iated with the provided constructor.")); |
(...skipping 21 matching lines...) Expand all Loading... |
5112 specification.get$createTimer(); | 5175 specification.get$createTimer(); |
5113 t1._createTimer = zone.get$_createTimer(); | 5176 t1._createTimer = zone.get$_createTimer(); |
5114 specification.get$createPeriodicTimer(); | 5177 specification.get$createPeriodicTimer(); |
5115 t1._createPeriodicTimer = zone.get$_createPeriodicTimer(); | 5178 t1._createPeriodicTimer = zone.get$_createPeriodicTimer(); |
5116 J.get$print$x(specification); | 5179 J.get$print$x(specification); |
5117 t1._print = zone.get$_print(); | 5180 t1._print = zone.get$_print(); |
5118 specification.get$fork(); | 5181 specification.get$fork(); |
5119 t1._fork = zone.get$_fork(); | 5182 t1._fork = zone.get$_fork(); |
5120 t1._handleUncaughtError = specification.get$handleUncaughtError() != null ?
new P._ZoneFunction(t1, specification.get$handleUncaughtError()) : zone.get$_han
dleUncaughtError(); | 5183 t1._handleUncaughtError = specification.get$handleUncaughtError() != null ?
new P._ZoneFunction(t1, specification.get$handleUncaughtError()) : zone.get$_han
dleUncaughtError(); |
5121 return t1; | 5184 return t1; |
5122 }, "call$5", "_rootFork$closure", 10, 0, 66, 16, 17, 18, 24, 25], | 5185 }, "call$5", "_rootFork$closure", 10, 0, 67, 18, 19, 20, 26, 27], |
5123 runZoned: function(body, onError, zoneSpecification, zoneValues) { | 5186 runZoned: function(body, onError, zoneSpecification, zoneValues) { |
5124 var errorHandler, zone; | 5187 var errorHandler, zone; |
5125 errorHandler = new P.runZoned_closure(onError); | 5188 errorHandler = new P.runZoned_closure(onError); |
5126 zoneSpecification = new P._ZoneSpecification(errorHandler, null, null, null,
null, null, null, null, null, null, null, null, null); | 5189 zoneSpecification = new P._ZoneSpecification(errorHandler, null, null, null,
null, null, null, null, null, null, null, null, null); |
5127 zone = $.Zone__current.fork$2$specification$zoneValues(zoneSpecification, zo
neValues); | 5190 zone = $.Zone__current.fork$2$specification$zoneValues(zoneSpecification, zo
neValues); |
5128 return zone.runGuarded$1(body); | 5191 return zone.runGuarded$1(body); |
5129 }, | 5192 }, |
5130 _AsyncRun__initializeScheduleImmediate_internalCallback: { | 5193 _AsyncRun__initializeScheduleImmediate_internalCallback: { |
5131 "^": "Closure:3;_async$_box_0", | 5194 "^": "Closure:3;_async$_box_0", |
5132 call$1: [function(_) { | 5195 call$1: [function(_) { |
5133 var t1, f; | 5196 var t1, f; |
5134 H.leaveJsAsync(); | 5197 H.leaveJsAsync(); |
5135 t1 = this._async$_box_0; | 5198 t1 = this._async$_box_0; |
5136 f = t1._captured_storedCallback_0; | 5199 f = t1._captured_storedCallback_0; |
5137 t1._captured_storedCallback_0 = null; | 5200 t1._captured_storedCallback_0 = null; |
5138 f.call$0(); | 5201 f.call$0(); |
5139 }, null, null, 2, 0, null, 26, "call"] | 5202 }, null, null, 2, 0, null, 28, "call"] |
5140 }, | 5203 }, |
5141 _AsyncRun__initializeScheduleImmediate_closure: { | 5204 _AsyncRun__initializeScheduleImmediate_closure: { |
5142 "^": "Closure:7;_async$_box_0,_captured_div_1,_captured_span_2", | 5205 "^": "Closure:8;_async$_box_0,_captured_div_1,_captured_span_2", |
5143 call$1: function(callback) { | 5206 call$1: function(callback) { |
5144 var t1, t2; | 5207 var t1, t2; |
5145 ++init.globalState.topEventLoop._activeJsAsyncCount; | 5208 ++init.globalState.topEventLoop._activeJsAsyncCount; |
5146 this._async$_box_0._captured_storedCallback_0 = callback; | 5209 this._async$_box_0._captured_storedCallback_0 = callback; |
5147 t1 = this._captured_div_1; | 5210 t1 = this._captured_div_1; |
5148 t2 = this._captured_span_2; | 5211 t2 = this._captured_span_2; |
5149 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); | 5212 t1.firstChild ? t1.removeChild(t2) : t1.appendChild(t2); |
5150 } | 5213 } |
5151 }, | 5214 }, |
5152 _AsyncRun__scheduleImmediateJsOverride_internalCallback: { | 5215 _AsyncRun__scheduleImmediateJsOverride_internalCallback: { |
(...skipping 23 matching lines...) Expand all Loading... |
5176 return stackTrace; | 5239 return stackTrace; |
5177 if (!!J.getInterceptor(error).$isError) | 5240 if (!!J.getInterceptor(error).$isError) |
5178 return error.get$stackTrace(); | 5241 return error.get$stackTrace(); |
5179 return; | 5242 return; |
5180 }} | 5243 }} |
5181 }, | 5244 }, |
5182 Future: { | 5245 Future: { |
5183 "^": "Object;" | 5246 "^": "Object;" |
5184 }, | 5247 }, |
5185 _Completer: { | 5248 _Completer: { |
5186 "^": "Object;" | 5249 "^": "Object;future<", |
| 5250 completeError$2: function(error, stackTrace) { |
| 5251 var replacement; |
| 5252 error = error != null ? error : new P.NullThrownError(); |
| 5253 if (this.future._state !== 0) |
| 5254 throw H.wrapException(P.StateError$("Future already completed")); |
| 5255 replacement = $.Zone__current.errorCallback$2(error, stackTrace); |
| 5256 if (replacement != null) { |
| 5257 error = J.get$error$x(replacement); |
| 5258 error = error != null ? error : new P.NullThrownError(); |
| 5259 stackTrace = replacement.get$stackTrace(); |
| 5260 } |
| 5261 this._completeError$2(error, stackTrace); |
| 5262 } |
5187 }, | 5263 }, |
5188 _AsyncCompleter: { | 5264 _AsyncCompleter: { |
5189 "^": "_Completer;future", | 5265 "^": "_Completer;future", |
5190 complete$1: function(_, value) { | 5266 complete$1: function(_, value) { |
5191 var t1 = this.future; | 5267 var t1 = this.future; |
5192 if (t1._state !== 0) | 5268 if (t1._state !== 0) |
5193 throw H.wrapException(P.StateError$("Future already completed")); | 5269 throw H.wrapException(P.StateError$("Future already completed")); |
5194 t1._asyncComplete$1(value); | 5270 t1._asyncComplete$1(value); |
5195 }, | 5271 }, |
5196 complete$0: function($receiver) { | 5272 complete$0: function($receiver) { |
5197 return this.complete$1($receiver, null); | 5273 return this.complete$1($receiver, null); |
| 5274 }, |
| 5275 _completeError$2: function(error, stackTrace) { |
| 5276 this.future._asyncCompleteError$2(error, stackTrace); |
5198 } | 5277 } |
5199 }, | 5278 }, |
5200 _FutureListener: { | 5279 _FutureListener: { |
5201 "^": "Object;_nextListener@,result>,state,callback,errorCallback<", | 5280 "^": "Object;_nextListener@,result>,state,callback,errorCallback<", |
5202 get$_zone: function() { | 5281 get$_zone: function() { |
5203 return this.result.get$_zone(); | 5282 return this.result.get$_zone(); |
5204 }, | 5283 }, |
5205 get$handlesValue: function() { | 5284 get$handlesValue: function() { |
5206 return (this.state & 1) !== 0; | 5285 return (this.state & 1) !== 0; |
5207 }, | 5286 }, |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5322 var listeners = this._removeListeners$0(); | 5401 var listeners = this._removeListeners$0(); |
5323 this._setValue$1(value); | 5402 this._setValue$1(value); |
5324 P._Future__propagateToListeners(this, listeners); | 5403 P._Future__propagateToListeners(this, listeners); |
5325 }, | 5404 }, |
5326 _completeError$2: [function(error, stackTrace) { | 5405 _completeError$2: [function(error, stackTrace) { |
5327 var listeners = this._removeListeners$0(); | 5406 var listeners = this._removeListeners$0(); |
5328 this._setErrorObject$1(new P.AsyncError(error, stackTrace)); | 5407 this._setErrorObject$1(new P.AsyncError(error, stackTrace)); |
5329 P._Future__propagateToListeners(this, listeners); | 5408 P._Future__propagateToListeners(this, listeners); |
5330 }, function(error) { | 5409 }, function(error) { |
5331 return this._completeError$2(error, null); | 5410 return this._completeError$2(error, null); |
5332 }, "_completeError$1", "call$2", "call$1", "get$_completeError", 2, 2, 8, 13
, 14, 15], | 5411 }, "_completeError$1", "call$2", "call$1", "get$_completeError", 2, 2, 9, 17
, 12, 13], |
5333 _asyncComplete$1: function(value) { | 5412 _asyncComplete$1: function(value) { |
5334 var t1; | 5413 var t1; |
5335 if (value == null) | 5414 if (value == null) |
5336 ; | 5415 ; |
5337 else { | 5416 else { |
5338 t1 = J.getInterceptor(value); | 5417 t1 = J.getInterceptor(value); |
5339 if (!!t1.$isFuture) { | 5418 if (!!t1.$isFuture) { |
5340 if (!!t1.$is_Future) { | 5419 if (!!t1.$is_Future) { |
5341 t1 = value._state; | 5420 t1 = value._state; |
5342 if (t1 >= 4 && t1 === 8) { | 5421 if (t1 >= 4 && t1 === 8) { |
5343 this._markPendingCompletion$0(); | 5422 this._markPendingCompletion$0(); |
5344 this._zone.scheduleMicrotask$1(new P._Future__asyncComplete_closur
e(this, value)); | 5423 this._zone.scheduleMicrotask$1(new P._Future__asyncComplete_closur
e(this, value)); |
5345 } else | 5424 } else |
5346 P._Future__chainCoreFuture(value, this); | 5425 P._Future__chainCoreFuture(value, this); |
5347 } else | 5426 } else |
5348 P._Future__chainForeignFuture(value, this); | 5427 P._Future__chainForeignFuture(value, this); |
5349 return; | 5428 return; |
5350 } | 5429 } |
5351 } | 5430 } |
5352 this._markPendingCompletion$0(); | 5431 this._markPendingCompletion$0(); |
5353 this._zone.scheduleMicrotask$1(new P._Future__asyncComplete_closure0(this,
value)); | 5432 this._zone.scheduleMicrotask$1(new P._Future__asyncComplete_closure0(this,
value)); |
5354 }, | 5433 }, |
5355 _asyncCompleteError$2: function(error, stackTrace) { | 5434 _asyncCompleteError$2: function(error, stackTrace) { |
5356 this._markPendingCompletion$0(); | 5435 this._markPendingCompletion$0(); |
5357 this._zone.scheduleMicrotask$1(new P._Future__asyncCompleteError_closure(t
his, error, stackTrace)); | 5436 this._zone.scheduleMicrotask$1(new P._Future__asyncCompleteError_closure(t
his, error, stackTrace)); |
5358 }, | 5437 }, |
5359 $isFuture: 1, | 5438 $isFuture: 1, |
5360 static: {_Future$immediate: function(value, $T) { | 5439 static: {_Future__chainForeignFuture: function(source, target) { |
5361 var t1 = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current, null), [
$T]); | |
5362 t1._asyncComplete$1(value); | |
5363 return t1; | |
5364 }, _Future__chainForeignFuture: function(source, target) { | |
5365 var e, s, exception, t1; | 5440 var e, s, exception, t1; |
5366 target.set$_isChained(true); | 5441 target.set$_isChained(true); |
5367 try { | 5442 try { |
5368 source.then$2$onError(new P._Future__chainForeignFuture_closure(target
), new P._Future__chainForeignFuture_closure0(target)); | 5443 source.then$2$onError(new P._Future__chainForeignFuture_closure(target
), new P._Future__chainForeignFuture_closure0(target)); |
5369 } catch (exception) { | 5444 } catch (exception) { |
5370 t1 = H.unwrapException(exception); | 5445 t1 = H.unwrapException(exception); |
5371 e = t1; | 5446 e = t1; |
5372 s = H.getTraceFromException(exception); | 5447 s = H.getTraceFromException(exception); |
5373 P.scheduleMicrotask(new P._Future__chainForeignFuture_closure1(target,
e, s)); | 5448 P.scheduleMicrotask(new P._Future__chainForeignFuture_closure1(target,
e, s)); |
5374 } | 5449 } |
(...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5465 _Future__addListener_closure: { | 5540 _Future__addListener_closure: { |
5466 "^": "Closure:0;_async$_captured_this_0,_captured_listener_1", | 5541 "^": "Closure:0;_async$_captured_this_0,_captured_listener_1", |
5467 call$0: [function() { | 5542 call$0: [function() { |
5468 P._Future__propagateToListeners(this._async$_captured_this_0, this._captur
ed_listener_1); | 5543 P._Future__propagateToListeners(this._async$_captured_this_0, this._captur
ed_listener_1); |
5469 }, null, null, 0, 0, null, "call"] | 5544 }, null, null, 0, 0, null, "call"] |
5470 }, | 5545 }, |
5471 _Future__chainForeignFuture_closure: { | 5546 _Future__chainForeignFuture_closure: { |
5472 "^": "Closure:3;_captured_target_0", | 5547 "^": "Closure:3;_captured_target_0", |
5473 call$1: [function(value) { | 5548 call$1: [function(value) { |
5474 this._captured_target_0._completeWithValue$1(value); | 5549 this._captured_target_0._completeWithValue$1(value); |
5475 }, null, null, 2, 0, null, 12, "call"] | 5550 }, null, null, 2, 0, null, 16, "call"] |
5476 }, | 5551 }, |
5477 _Future__chainForeignFuture_closure0: { | 5552 _Future__chainForeignFuture_closure0: { |
5478 "^": "Closure:9;_captured_target_1", | 5553 "^": "Closure:10;_captured_target_1", |
5479 call$2: [function(error, stackTrace) { | 5554 call$2: [function(error, stackTrace) { |
5480 this._captured_target_1._completeError$2(error, stackTrace); | 5555 this._captured_target_1._completeError$2(error, stackTrace); |
5481 }, function(error) { | 5556 }, function(error) { |
5482 return this.call$2(error, null); | 5557 return this.call$2(error, null); |
5483 }, "call$1", null, null, null, 2, 2, null, 13, 14, 15, "call"] | 5558 }, "call$1", null, null, null, 2, 2, null, 17, 12, 13, "call"] |
5484 }, | 5559 }, |
5485 _Future__chainForeignFuture_closure1: { | 5560 _Future__chainForeignFuture_closure1: { |
5486 "^": "Closure:0;_captured_target_2,_captured_e_3,_captured_s_4", | 5561 "^": "Closure:0;_captured_target_2,_captured_e_3,_captured_s_4", |
5487 call$0: [function() { | 5562 call$0: [function() { |
5488 this._captured_target_2._completeError$2(this._captured_e_3, this._capture
d_s_4); | 5563 this._captured_target_2._completeError$2(this._captured_e_3, this._capture
d_s_4); |
5489 }, null, null, 0, 0, null, "call"] | 5564 }, null, null, 0, 0, null, "call"] |
5490 }, | 5565 }, |
5491 _Future__asyncComplete_closure: { | 5566 _Future__asyncComplete_closure: { |
5492 "^": "Closure:0;_async$_captured_this_0,_captured_coreFuture_1", | 5567 "^": "Closure:0;_async$_captured_this_0,_captured_coreFuture_1", |
5493 call$0: [function() { | 5568 call$0: [function() { |
5494 P._Future__chainCoreFuture(this._captured_coreFuture_1, this._async$_captu
red_this_0); | 5569 P._Future__chainCoreFuture(this._captured_coreFuture_1, this._async$_captu
red_this_0); |
5495 }, null, null, 0, 0, null, "call"] | 5570 }, null, null, 0, 0, null, "call"] |
5496 }, | 5571 }, |
5497 _Future__asyncComplete_closure0: { | 5572 _Future__asyncComplete_closure0: { |
5498 "^": "Closure:0;_async$_captured_this_2,_captured_value_3", | 5573 "^": "Closure:0;_async$_captured_this_2,_captured_value_3", |
5499 call$0: [function() { | 5574 call$0: [function() { |
5500 this._async$_captured_this_2._completeWithValue$1(this._captured_value_3); | 5575 this._async$_captured_this_2._completeWithValue$1(this._captured_value_3); |
5501 }, null, null, 0, 0, null, "call"] | 5576 }, null, null, 0, 0, null, "call"] |
5502 }, | 5577 }, |
5503 _Future__asyncCompleteError_closure: { | 5578 _Future__asyncCompleteError_closure: { |
5504 "^": "Closure:0;_async$_captured_this_0,_captured_error_1,_captured_stackTra
ce_2", | 5579 "^": "Closure:0;_async$_captured_this_0,_captured_error_1,_captured_stackTra
ce_2", |
5505 call$0: [function() { | 5580 call$0: [function() { |
5506 this._async$_captured_this_0._completeError$2(this._captured_error_1, this
._captured_stackTrace_2); | 5581 this._async$_captured_this_0._completeError$2(this._captured_error_1, this
._captured_stackTrace_2); |
5507 }, null, null, 0, 0, null, "call"] | 5582 }, null, null, 0, 0, null, "call"] |
5508 }, | 5583 }, |
5509 _Future__propagateToListeners_handleValueCallback: { | 5584 _Future__propagateToListeners_handleValueCallback: { |
5510 "^": "Closure:10;_box_1,_captured_listener_3,_captured_sourceValue_4,_captur
ed_zone_5", | 5585 "^": "Closure:11;_box_1,_captured_listener_3,_captured_sourceValue_4,_captur
ed_zone_5", |
5511 call$0: function() { | 5586 call$0: function() { |
5512 var e, s, exception, t1; | 5587 var e, s, exception, t1; |
5513 try { | 5588 try { |
5514 this._box_1._captured_listenerValueOrError_2 = this._captured_zone_5.run
Unary$2(this._captured_listener_3.get$_onValue(), this._captured_sourceValue_4); | 5589 this._box_1._captured_listenerValueOrError_2 = this._captured_zone_5.run
Unary$2(this._captured_listener_3.get$_onValue(), this._captured_sourceValue_4); |
5515 return true; | 5590 return true; |
5516 } catch (exception) { | 5591 } catch (exception) { |
5517 t1 = H.unwrapException(exception); | 5592 t1 = H.unwrapException(exception); |
5518 e = t1; | 5593 e = t1; |
5519 s = H.getTraceFromException(exception); | 5594 s = H.getTraceFromException(exception); |
5520 this._box_1._captured_listenerValueOrError_2 = new P.AsyncError(e, s); | 5595 this._box_1._captured_listenerValueOrError_2 = new P.AsyncError(e, s); |
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5612 result.set$_isChained(true); | 5687 result.set$_isChained(true); |
5613 this._box_1._captured_isPropagationAborted_3 = true; | 5688 this._box_1._captured_isPropagationAborted_3 = true; |
5614 t1._captured_completeResult_0.then$2$onError(new P._Future__propagateToL
isteners_handleWhenCompleteCallback_closure(this._box_2, result), new P._Future_
_propagateToListeners_handleWhenCompleteCallback_closure0(t1, result)); | 5689 t1._captured_completeResult_0.then$2$onError(new P._Future__propagateToL
isteners_handleWhenCompleteCallback_closure(this._box_2, result), new P._Future_
_propagateToListeners_handleWhenCompleteCallback_closure0(t1, result)); |
5615 } | 5690 } |
5616 } | 5691 } |
5617 }, | 5692 }, |
5618 _Future__propagateToListeners_handleWhenCompleteCallback_closure: { | 5693 _Future__propagateToListeners_handleWhenCompleteCallback_closure: { |
5619 "^": "Closure:3;_box_2,_captured_result_11", | 5694 "^": "Closure:3;_box_2,_captured_result_11", |
5620 call$1: [function(ignored) { | 5695 call$1: [function(ignored) { |
5621 P._Future__propagateToListeners(this._box_2._captured_source_4, new P._Fut
ureListener(null, this._captured_result_11, 0, null, null)); | 5696 P._Future__propagateToListeners(this._box_2._captured_source_4, new P._Fut
ureListener(null, this._captured_result_11, 0, null, null)); |
5622 }, null, null, 2, 0, null, 27, "call"] | 5697 }, null, null, 2, 0, null, 29, "call"] |
5623 }, | 5698 }, |
5624 _Future__propagateToListeners_handleWhenCompleteCallback_closure0: { | 5699 _Future__propagateToListeners_handleWhenCompleteCallback_closure0: { |
5625 "^": "Closure:9;_async$_box_0,_captured_result_12", | 5700 "^": "Closure:10;_async$_box_0,_captured_result_12", |
5626 call$2: [function(error, stackTrace) { | 5701 call$2: [function(error, stackTrace) { |
5627 var t1, completeResult; | 5702 var t1, completeResult; |
5628 t1 = this._async$_box_0; | 5703 t1 = this._async$_box_0; |
5629 if (!(t1._captured_completeResult_0 instanceof P._Future)) { | 5704 if (!(t1._captured_completeResult_0 instanceof P._Future)) { |
5630 completeResult = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current,
null), [null]); | 5705 completeResult = H.setRuntimeTypeInfo(new P._Future(0, $.Zone__current,
null), [null]); |
5631 t1._captured_completeResult_0 = completeResult; | 5706 t1._captured_completeResult_0 = completeResult; |
5632 completeResult._setError$2(error, stackTrace); | 5707 completeResult._setError$2(error, stackTrace); |
5633 } | 5708 } |
5634 P._Future__propagateToListeners(t1._captured_completeResult_0, new P._Futu
reListener(null, this._captured_result_12, 0, null, null)); | 5709 P._Future__propagateToListeners(t1._captured_completeResult_0, new P._Futu
reListener(null, this._captured_result_12, 0, null, null)); |
5635 }, function(error) { | 5710 }, function(error) { |
5636 return this.call$2(error, null); | 5711 return this.call$2(error, null); |
5637 }, "call$1", null, null, null, 2, 2, null, 13, 14, 15, "call"] | 5712 }, "call$1", null, null, null, 2, 2, null, 17, 12, 13, "call"] |
5638 }, | 5713 }, |
5639 _AsyncCallbackEntry: { | 5714 _AsyncCallbackEntry: { |
5640 "^": "Object;callback,next@", | 5715 "^": "Object;callback,next@", |
5641 callback$0: function() { | 5716 callback$0: function() { |
5642 return this.callback.call$0(); | 5717 return this.callback.call$0(); |
5643 } | 5718 } |
5644 }, | 5719 }, |
5645 Stream: { | 5720 Stream: { |
5646 "^": "Object;", | 5721 "^": "Object;", |
5647 map$1: function(_, convert) { | 5722 map$1: function(_, convert) { |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5696 t1._captured_result_0 = null; | 5771 t1._captured_result_0 = null; |
5697 t1._captured_foundResult_1 = false; | 5772 t1._captured_foundResult_1 = false; |
5698 this.listen$4$cancelOnError$onDone$onError(new P.Stream_last_closure(t1, t
his), true, new P.Stream_last_closure0(t1, future), future.get$_completeError())
; | 5773 this.listen$4$cancelOnError$onDone$onError(new P.Stream_last_closure(t1, t
his), true, new P.Stream_last_closure0(t1, future), future.get$_completeError())
; |
5699 return future; | 5774 return future; |
5700 } | 5775 } |
5701 }, | 5776 }, |
5702 Stream_pipe_closure: { | 5777 Stream_pipe_closure: { |
5703 "^": "Closure:3;_captured_streamConsumer_0", | 5778 "^": "Closure:3;_captured_streamConsumer_0", |
5704 call$1: [function(_) { | 5779 call$1: [function(_) { |
5705 return this._captured_streamConsumer_0._async$_target.close$0(0); | 5780 return this._captured_streamConsumer_0._async$_target.close$0(0); |
5706 }, null, null, 2, 0, null, 26, "call"] | 5781 }, null, null, 2, 0, null, 28, "call"] |
5707 }, | 5782 }, |
5708 Stream_contains_closure: { | 5783 Stream_contains_closure: { |
5709 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_needle_2,_capt
ured_future_3", | 5784 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_needle_2,_capt
ured_future_3", |
5710 call$1: [function(element) { | 5785 call$1: [function(element) { |
5711 var t1, t2; | 5786 var t1, t2; |
5712 t1 = this._async$_box_0; | 5787 t1 = this._async$_box_0; |
5713 t2 = this._captured_future_3; | 5788 t2 = this._captured_future_3; |
5714 P._runUserCode(new P.Stream_contains__closure(this._captured_needle_2, ele
ment), new P.Stream_contains__closure0(t1, t2), P._cancelAndErrorClosure(t1._cap
tured_subscription_0, t2)); | 5789 P._runUserCode(new P.Stream_contains__closure(this._captured_needle_2, ele
ment), new P.Stream_contains__closure0(t1, t2), P._cancelAndErrorClosure(t1._cap
tured_subscription_0, t2)); |
5715 }, null, null, 2, 0, null, 28, "call"], | 5790 }, null, null, 2, 0, null, 30, "call"], |
5716 $signature: function() { | 5791 $signature: function() { |
5717 return H.computeSignature(function(T) { | 5792 return H.computeSignature(function(T) { |
5718 return {func: 1, args: [T]}; | 5793 return {func: "", args: [T]}; |
5719 }, this._async$_captured_this_1, "Stream"); | 5794 }, this._async$_captured_this_1, "Stream"); |
5720 } | 5795 } |
5721 }, | 5796 }, |
5722 Stream_contains__closure: { | 5797 Stream_contains__closure: { |
5723 "^": "Closure:0;_captured_needle_4,_captured_element_5", | 5798 "^": "Closure:0;_captured_needle_4,_captured_element_5", |
5724 call$0: function() { | 5799 call$0: function() { |
5725 return J.$eq(this._captured_element_5, this._captured_needle_4); | 5800 return J.$eq(this._captured_element_5, this._captured_needle_4); |
5726 } | 5801 } |
5727 }, | 5802 }, |
5728 Stream_contains__closure0: { | 5803 Stream_contains__closure0: { |
5729 "^": "Closure:11;_async$_box_0,_captured_future_6", | 5804 "^": "Closure:12;_async$_box_0,_captured_future_6", |
5730 call$1: function(isMatch) { | 5805 call$1: function(isMatch) { |
5731 if (isMatch === true) | 5806 if (isMatch === true) |
5732 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._cap
tured_future_6, true); | 5807 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._cap
tured_future_6, true); |
5733 } | 5808 } |
5734 }, | 5809 }, |
5735 Stream_contains_closure0: { | 5810 Stream_contains_closure0: { |
5736 "^": "Closure:0;_captured_future_7", | 5811 "^": "Closure:0;_captured_future_7", |
5737 call$0: [function() { | 5812 call$0: [function() { |
5738 this._captured_future_7._complete$1(false); | 5813 this._captured_future_7._complete$1(false); |
5739 }, null, null, 0, 0, null, "call"] | 5814 }, null, null, 0, 0, null, "call"] |
5740 }, | 5815 }, |
5741 Stream_forEach_closure: { | 5816 Stream_forEach_closure: { |
5742 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_action_2,_capt
ured_future_3", | 5817 "^": "Closure;_async$_box_0,_async$_captured_this_1,_captured_action_2,_capt
ured_future_3", |
5743 call$1: [function(element) { | 5818 call$1: [function(element) { |
5744 P._runUserCode(new P.Stream_forEach__closure(this._captured_action_2, elem
ent), new P.Stream_forEach__closure0(), P._cancelAndErrorClosure(this._async$_bo
x_0._captured_subscription_0, this._captured_future_3)); | 5819 P._runUserCode(new P.Stream_forEach__closure(this._captured_action_2, elem
ent), new P.Stream_forEach__closure0(), P._cancelAndErrorClosure(this._async$_bo
x_0._captured_subscription_0, this._captured_future_3)); |
5745 }, null, null, 2, 0, null, 28, "call"], | 5820 }, null, null, 2, 0, null, 30, "call"], |
5746 $signature: function() { | 5821 $signature: function() { |
5747 return H.computeSignature(function(T) { | 5822 return H.computeSignature(function(T) { |
5748 return {func: 1, args: [T]}; | 5823 return {func: "", args: [T]}; |
5749 }, this._async$_captured_this_1, "Stream"); | 5824 }, this._async$_captured_this_1, "Stream"); |
5750 } | 5825 } |
5751 }, | 5826 }, |
5752 Stream_forEach__closure: { | 5827 Stream_forEach__closure: { |
5753 "^": "Closure:0;_captured_action_4,_captured_element_5", | 5828 "^": "Closure:0;_captured_action_4,_captured_element_5", |
5754 call$0: function() { | 5829 call$0: function() { |
5755 return this._captured_action_4.call$1(this._captured_element_5); | 5830 return this._captured_action_4.call$1(this._captured_element_5); |
5756 } | 5831 } |
5757 }, | 5832 }, |
5758 Stream_forEach__closure0: { | 5833 Stream_forEach__closure0: { |
5759 "^": "Closure:3;", | 5834 "^": "Closure:3;", |
5760 call$1: function(_) { | 5835 call$1: function(_) { |
5761 } | 5836 } |
5762 }, | 5837 }, |
5763 Stream_forEach_closure0: { | 5838 Stream_forEach_closure0: { |
5764 "^": "Closure:0;_captured_future_6", | 5839 "^": "Closure:0;_captured_future_6", |
5765 call$0: [function() { | 5840 call$0: [function() { |
5766 this._captured_future_6._complete$1(null); | 5841 this._captured_future_6._complete$1(null); |
5767 }, null, null, 0, 0, null, "call"] | 5842 }, null, null, 0, 0, null, "call"] |
5768 }, | 5843 }, |
5769 Stream_length_closure: { | 5844 Stream_length_closure: { |
5770 "^": "Closure:3;_async$_box_0", | 5845 "^": "Closure:3;_async$_box_0", |
5771 call$1: [function(_) { | 5846 call$1: [function(_) { |
5772 ++this._async$_box_0._captured_count_0; | 5847 ++this._async$_box_0._captured_count_0; |
5773 }, null, null, 2, 0, null, 26, "call"] | 5848 }, null, null, 2, 0, null, 28, "call"] |
5774 }, | 5849 }, |
5775 Stream_length_closure0: { | 5850 Stream_length_closure0: { |
5776 "^": "Closure:0;_async$_box_0,_captured_future_1", | 5851 "^": "Closure:0;_async$_box_0,_captured_future_1", |
5777 call$0: [function() { | 5852 call$0: [function() { |
5778 this._captured_future_1._complete$1(this._async$_box_0._captured_count_0); | 5853 this._captured_future_1._complete$1(this._async$_box_0._captured_count_0); |
5779 }, null, null, 0, 0, null, "call"] | 5854 }, null, null, 0, 0, null, "call"] |
5780 }, | 5855 }, |
5781 Stream_isEmpty_closure: { | 5856 Stream_isEmpty_closure: { |
5782 "^": "Closure:3;_async$_box_0,_captured_future_1", | 5857 "^": "Closure:3;_async$_box_0,_captured_future_1", |
5783 call$1: [function(_) { | 5858 call$1: [function(_) { |
5784 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._captu
red_future_1, false); | 5859 P._cancelAndValue(this._async$_box_0._captured_subscription_0, this._captu
red_future_1, false); |
5785 }, null, null, 2, 0, null, 26, "call"] | 5860 }, null, null, 2, 0, null, 28, "call"] |
5786 }, | 5861 }, |
5787 Stream_isEmpty_closure0: { | 5862 Stream_isEmpty_closure0: { |
5788 "^": "Closure:0;_captured_future_2", | 5863 "^": "Closure:0;_captured_future_2", |
5789 call$0: [function() { | 5864 call$0: [function() { |
5790 this._captured_future_2._complete$1(true); | 5865 this._captured_future_2._complete$1(true); |
5791 }, null, null, 0, 0, null, "call"] | 5866 }, null, null, 0, 0, null, "call"] |
5792 }, | 5867 }, |
5793 Stream_toList_closure: { | 5868 Stream_toList_closure: { |
5794 "^": "Closure;_async$_captured_this_0,_async$_captured_result_1", | 5869 "^": "Closure;_async$_captured_this_0,_async$_captured_result_1", |
5795 call$1: [function(data) { | 5870 call$1: [function(data) { |
5796 this._async$_captured_result_1.push(data); | 5871 this._async$_captured_result_1.push(data); |
5797 }, null, null, 2, 0, null, 29, "call"], | 5872 }, null, null, 2, 0, null, 31, "call"], |
5798 $signature: function() { | 5873 $signature: function() { |
5799 return H.computeSignature(function(T) { | 5874 return H.computeSignature(function(T) { |
5800 return {func: 1, args: [T]}; | 5875 return {func: "", args: [T]}; |
5801 }, this._async$_captured_this_0, "Stream"); | 5876 }, this._async$_captured_this_0, "Stream"); |
5802 } | 5877 } |
5803 }, | 5878 }, |
5804 Stream_toList_closure0: { | 5879 Stream_toList_closure0: { |
5805 "^": "Closure:0;_captured_result_2,_captured_future_3", | 5880 "^": "Closure:0;_captured_result_2,_captured_future_3", |
5806 call$0: [function() { | 5881 call$0: [function() { |
5807 this._captured_future_3._complete$1(this._captured_result_2); | 5882 this._captured_future_3._complete$1(this._captured_result_2); |
5808 }, null, null, 0, 0, null, "call"] | 5883 }, null, null, 0, 0, null, "call"] |
5809 }, | 5884 }, |
5810 Stream_last_closure: { | 5885 Stream_last_closure: { |
5811 "^": "Closure;_async$_box_0,_async$_captured_this_1", | 5886 "^": "Closure;_async$_box_0,_async$_captured_this_1", |
5812 call$1: [function(value) { | 5887 call$1: [function(value) { |
5813 var t1 = this._async$_box_0; | 5888 var t1 = this._async$_box_0; |
5814 t1._captured_foundResult_1 = true; | 5889 t1._captured_foundResult_1 = true; |
5815 t1._captured_result_0 = value; | 5890 t1._captured_result_0 = value; |
5816 }, null, null, 2, 0, null, 12, "call"], | 5891 }, null, null, 2, 0, null, 16, "call"], |
5817 $signature: function() { | 5892 $signature: function() { |
5818 return H.computeSignature(function(T) { | 5893 return H.computeSignature(function(T) { |
5819 return {func: 1, args: [T]}; | 5894 return {func: "", args: [T]}; |
5820 }, this._async$_captured_this_1, "Stream"); | 5895 }, this._async$_captured_this_1, "Stream"); |
5821 } | 5896 } |
5822 }, | 5897 }, |
5823 Stream_last_closure0: { | 5898 Stream_last_closure0: { |
5824 "^": "Closure:0;_async$_box_0,_captured_future_2", | 5899 "^": "Closure:0;_async$_box_0,_captured_future_2", |
5825 call$0: [function() { | 5900 call$0: [function() { |
5826 var e, s, t1, exception; | 5901 var e, s, t1, exception; |
5827 t1 = this._async$_box_0; | 5902 t1 = this._async$_box_0; |
5828 if (t1._captured_foundResult_1) { | 5903 if (t1._captured_foundResult_1) { |
5829 this._captured_future_2._complete$1(t1._captured_result_0); | 5904 this._captured_future_2._complete$1(t1._captured_result_0); |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5924 error = error != null ? error : new P.NullThrownError(); | 5999 error = error != null ? error : new P.NullThrownError(); |
5925 replacement = $.Zone__current.errorCallback$2(error, stackTrace); | 6000 replacement = $.Zone__current.errorCallback$2(error, stackTrace); |
5926 if (replacement != null) { | 6001 if (replacement != null) { |
5927 error = J.get$error$x(replacement); | 6002 error = J.get$error$x(replacement); |
5928 error = error != null ? error : new P.NullThrownError(); | 6003 error = error != null ? error : new P.NullThrownError(); |
5929 stackTrace = replacement.get$stackTrace(); | 6004 stackTrace = replacement.get$stackTrace(); |
5930 } | 6005 } |
5931 this._addError$2(error, stackTrace); | 6006 this._addError$2(error, stackTrace); |
5932 }, function(error) { | 6007 }, function(error) { |
5933 return this.addError$2(error, null); | 6008 return this.addError$2(error, null); |
5934 }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 12, 13, 14, 15], | 6009 }, "addError$1", "call$2", "call$1", "get$addError", 2, 2, 13, 17, 12, 13], |
5935 close$0: function(_) { | 6010 close$0: function(_) { |
5936 var t1 = this._state; | 6011 var t1 = this._state; |
5937 if ((t1 & 4) !== 0) | 6012 if ((t1 & 4) !== 0) |
5938 return this._ensureDoneFuture$0(); | 6013 return this._ensureDoneFuture$0(); |
5939 if (t1 >= 4) | 6014 if (t1 >= 4) |
5940 throw H.wrapException(this._badEventState$0()); | 6015 throw H.wrapException(this._badEventState$0()); |
5941 t1 |= 4; | 6016 t1 |= 4; |
5942 this._state = t1; | 6017 this._state = t1; |
5943 if ((t1 & 1) !== 0) | 6018 if ((t1 & 1) !== 0) |
5944 this._sendDone$0(); | 6019 this._sendDone$0(); |
5945 else if ((t1 & 3) === 0) | 6020 else if ((t1 & 3) === 0) |
5946 this._ensurePendingEvents$0().add$1(0, C.C__DelayedDone); | 6021 this._ensurePendingEvents$0().add$1(0, C.C__DelayedDone); |
5947 return this._ensureDoneFuture$0(); | 6022 return this._ensureDoneFuture$0(); |
5948 }, | 6023 }, |
5949 _async$_add$1: [function(value) { | 6024 _async$_add$1: [function(value) { |
5950 var t1 = this._state; | 6025 var t1 = this._state; |
5951 if ((t1 & 1) !== 0) | 6026 if ((t1 & 1) !== 0) |
5952 this._sendData$1(value); | 6027 this._sendData$1(value); |
5953 else if ((t1 & 3) === 0) | 6028 else if ((t1 & 3) === 0) |
5954 this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, null)); | 6029 this._ensurePendingEvents$0().add$1(0, new P._DelayedData(value, null)); |
5955 }, "call$1", "get$_async$_add", 2, 0, function() { | 6030 }, "call$1", "get$_async$_add", 2, 0, function() { |
5956 return H.computeSignature(function(T) { | 6031 return H.computeSignature(function(T) { |
5957 return {func: 1, void: true, args: [T]}; | 6032 return {func: "", void: true, args: [T]}; |
5958 }, this.$receiver, "_StreamController"); | 6033 }, this.$receiver, "_StreamController"); |
5959 }, 12], | 6034 }, 16], |
5960 _addError$2: [function(error, stackTrace) { | 6035 _addError$2: [function(error, stackTrace) { |
5961 var t1 = this._state; | 6036 var t1 = this._state; |
5962 if ((t1 & 1) !== 0) | 6037 if ((t1 & 1) !== 0) |
5963 this._sendError$2(error, stackTrace); | 6038 this._sendError$2(error, stackTrace); |
5964 else if ((t1 & 3) === 0) | 6039 else if ((t1 & 3) === 0) |
5965 this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackT
race, null)); | 6040 this._ensurePendingEvents$0().add$1(0, new P._DelayedError(error, stackT
race, null)); |
5966 }, "call$2", "get$_addError", 4, 0, 13, 14, 15], | 6041 }, "call$2", "get$_addError", 4, 0, 14, 12, 13], |
5967 _close$0: [function() { | 6042 _close$0: [function() { |
5968 var addState = this._varData; | 6043 var addState = this._varData; |
5969 this._varData = addState.get$varData(); | 6044 this._varData = addState.get$varData(); |
5970 this._state &= 4294967287; | 6045 this._state &= 4294967287; |
5971 addState.complete$0(0); | 6046 addState.complete$0(0); |
5972 }, "call$0", "get$_close", 0, 0, 2], | 6047 }, "call$0", "get$_close", 0, 0, 2], |
5973 _subscribe$4: function(onData, onError, onDone, cancelOnError) { | 6048 _subscribe$4: function(onData, onError, onDone, cancelOnError) { |
5974 var t1, subscription, pendingEvents, addState; | 6049 var t1, subscription, pendingEvents, addState; |
5975 if ((this._state & 3) !== 0) | 6050 if ((this._state & 3) !== 0) |
5976 throw H.wrapException(P.StateError$("Stream has already been listened to
.")); | 6051 throw H.wrapException(P.StateError$("Stream has already been listened to
.")); |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6168 this.addStreamFuture._asyncComplete$1(null); | 6243 this.addStreamFuture._asyncComplete$1(null); |
6169 return; | 6244 return; |
6170 } | 6245 } |
6171 return cancel.whenComplete$1(new P._AddStreamState_cancel_closure(this)); | 6246 return cancel.whenComplete$1(new P._AddStreamState_cancel_closure(this)); |
6172 }, | 6247 }, |
6173 complete$0: function(_) { | 6248 complete$0: function(_) { |
6174 this.addStreamFuture._asyncComplete$1(null); | 6249 this.addStreamFuture._asyncComplete$1(null); |
6175 } | 6250 } |
6176 }, | 6251 }, |
6177 _AddStreamState_makeErrorHandler_closure: { | 6252 _AddStreamState_makeErrorHandler_closure: { |
6178 "^": "Closure:14;_captured_controller_0", | 6253 "^": "Closure:5;_captured_controller_0", |
6179 call$2: [function(e, s) { | 6254 call$2: [function(e, s) { |
6180 var t1 = this._captured_controller_0; | 6255 var t1 = this._captured_controller_0; |
6181 t1._addError$2(e, s); | 6256 t1._addError$2(e, s); |
6182 t1._close$0(); | 6257 t1._close$0(); |
6183 }, null, null, 4, 0, null, 2, 30, "call"] | 6258 }, null, null, 4, 0, null, 3, 32, "call"] |
6184 }, | 6259 }, |
6185 _AddStreamState_cancel_closure: { | 6260 _AddStreamState_cancel_closure: { |
6186 "^": "Closure:0;_async$_captured_this_0", | 6261 "^": "Closure:0;_async$_captured_this_0", |
6187 call$0: [function() { | 6262 call$0: [function() { |
6188 this._async$_captured_this_0.addStreamFuture._asyncComplete$1(null); | 6263 this._async$_captured_this_0.addStreamFuture._asyncComplete$1(null); |
6189 }, null, null, 0, 0, null, "call"] | 6264 }, null, null, 0, 0, null, "call"] |
6190 }, | 6265 }, |
6191 _StreamControllerAddStreamState: { | 6266 _StreamControllerAddStreamState: { |
6192 "^": "_AddStreamState;varData@,addStreamFuture,addSubscription" | 6267 "^": "_AddStreamState;varData@,addStreamFuture,addSubscription" |
6193 }, | 6268 }, |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6544 handleNext$1: function(dispatch) { | 6619 handleNext$1: function(dispatch) { |
6545 var $event, t1; | 6620 var $event, t1; |
6546 $event = this.firstPendingEvent; | 6621 $event = this.firstPendingEvent; |
6547 t1 = $event.get$next(); | 6622 t1 = $event.get$next(); |
6548 this.firstPendingEvent = t1; | 6623 this.firstPendingEvent = t1; |
6549 if (t1 == null) | 6624 if (t1 == null) |
6550 this.lastPendingEvent = null; | 6625 this.lastPendingEvent = null; |
6551 $event.perform$1(dispatch); | 6626 $event.perform$1(dispatch); |
6552 } | 6627 } |
6553 }, | 6628 }, |
| 6629 _StreamIteratorImpl: { |
| 6630 "^": "Object;_subscription,_async$_current,_futureOrPrefetch,_state", |
| 6631 _clear$0: function(_) { |
| 6632 this._subscription = null; |
| 6633 this._futureOrPrefetch = null; |
| 6634 this._async$_current = null; |
| 6635 this._state = 1; |
| 6636 }, |
| 6637 _onData$1: [function(data) { |
| 6638 var hasNext; |
| 6639 if (this._state === 2) { |
| 6640 this._async$_current = data; |
| 6641 hasNext = this._futureOrPrefetch; |
| 6642 this._futureOrPrefetch = null; |
| 6643 this._state = 0; |
| 6644 hasNext._complete$1(true); |
| 6645 return; |
| 6646 } |
| 6647 this._subscription.pause$0(0); |
| 6648 this._futureOrPrefetch = data; |
| 6649 this._state = 3; |
| 6650 }, "call$1", "get$_onData", 2, 0, function() { |
| 6651 return H.computeSignature(function(T) { |
| 6652 return {func: "", void: true, args: [T]}; |
| 6653 }, this.$receiver, "_StreamIteratorImpl"); |
| 6654 }, 31], |
| 6655 _onError$2: [function(error, stackTrace) { |
| 6656 var hasNext; |
| 6657 if (this._state === 2) { |
| 6658 hasNext = this._futureOrPrefetch; |
| 6659 this._clear$0(0); |
| 6660 hasNext._completeError$2(error, stackTrace); |
| 6661 return; |
| 6662 } |
| 6663 this._subscription.pause$0(0); |
| 6664 this._futureOrPrefetch = new P.AsyncError(error, stackTrace); |
| 6665 this._state = 4; |
| 6666 }, function(error) { |
| 6667 return this._onError$2(error, null); |
| 6668 }, "_onError$1", "call$2", "call$1", "get$_onError", 2, 2, 13, 17, 12, 13], |
| 6669 _onDone$0: [function() { |
| 6670 if (this._state === 2) { |
| 6671 var hasNext = this._futureOrPrefetch; |
| 6672 this._clear$0(0); |
| 6673 hasNext._complete$1(false); |
| 6674 return; |
| 6675 } |
| 6676 this._subscription.pause$0(0); |
| 6677 this._futureOrPrefetch = null; |
| 6678 this._state = 5; |
| 6679 }, "call$0", "get$_onDone", 0, 0, 2] |
| 6680 }, |
6554 _cancelAndError_closure: { | 6681 _cancelAndError_closure: { |
6555 "^": "Closure:0;_captured_future_0,_captured_error_1,_captured_stackTrace_2"
, | 6682 "^": "Closure:0;_captured_future_0,_captured_error_1,_captured_stackTrace_2"
, |
6556 call$0: [function() { | 6683 call$0: [function() { |
6557 return this._captured_future_0._completeError$2(this._captured_error_1, th
is._captured_stackTrace_2); | 6684 return this._captured_future_0._completeError$2(this._captured_error_1, th
is._captured_stackTrace_2); |
6558 }, null, null, 0, 0, null, "call"] | 6685 }, null, null, 0, 0, null, "call"] |
6559 }, | 6686 }, |
6560 _cancelAndErrorClosure_closure: { | 6687 _cancelAndErrorClosure_closure: { |
6561 "^": "Closure:14;_captured_subscription_0,_captured_future_1", | 6688 "^": "Closure:5;_captured_subscription_0,_captured_future_1", |
6562 call$2: function(error, stackTrace) { | 6689 call$2: function(error, stackTrace) { |
6563 return P._cancelAndError(this._captured_subscription_0, this._captured_fut
ure_1, error, stackTrace); | 6690 return P._cancelAndError(this._captured_subscription_0, this._captured_fut
ure_1, error, stackTrace); |
6564 } | 6691 } |
6565 }, | 6692 }, |
6566 _cancelAndValue_closure: { | 6693 _cancelAndValue_closure: { |
6567 "^": "Closure:0;_captured_future_0,_captured_value_1", | 6694 "^": "Closure:0;_captured_future_0,_captured_value_1", |
6568 call$0: [function() { | 6695 call$0: [function() { |
6569 return this._captured_future_0._complete$1(this._captured_value_1); | 6696 return this._captured_future_0._complete$1(this._captured_value_1); |
6570 }, null, null, 0, 0, null, "call"] | 6697 }, null, null, 0, 0, null, "call"] |
6571 }, | 6698 }, |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6616 if (t1 != null) { | 6743 if (t1 != null) { |
6617 this._subscription = null; | 6744 this._subscription = null; |
6618 t1.cancel$0(); | 6745 t1.cancel$0(); |
6619 } | 6746 } |
6620 return; | 6747 return; |
6621 }, | 6748 }, |
6622 _handleData$1: [function(data) { | 6749 _handleData$1: [function(data) { |
6623 this._stream._handleData$2(data, this); | 6750 this._stream._handleData$2(data, this); |
6624 }, "call$1", "get$_handleData", 2, 0, function() { | 6751 }, "call$1", "get$_handleData", 2, 0, function() { |
6625 return H.computeSignature(function(S, T) { | 6752 return H.computeSignature(function(S, T) { |
6626 return {func: 1, void: true, args: [S]}; | 6753 return {func: "", void: true, args: [S]}; |
6627 }, this.$receiver, "_ForwardingStreamSubscription"); | 6754 }, this.$receiver, "_ForwardingStreamSubscription"); |
6628 }, 29], | 6755 }, 31], |
6629 _handleError$2: [function(error, stackTrace) { | 6756 _handleError$2: [function(error, stackTrace) { |
6630 this._addError$2(error, stackTrace); | 6757 this._addError$2(error, stackTrace); |
6631 }, "call$2", "get$_handleError", 4, 0, 1, 14, 15], | 6758 }, "call$2", "get$_handleError", 4, 0, 1, 12, 13], |
6632 _handleDone$0: [function() { | 6759 _handleDone$0: [function() { |
6633 this._close$0(); | 6760 this._close$0(); |
6634 }, "call$0", "get$_handleDone", 0, 0, 2], | 6761 }, "call$0", "get$_handleDone", 0, 0, 2], |
6635 _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone,
cancelOnError, $S, $T) { | 6762 _ForwardingStreamSubscription$5: function(_stream, onData, onError, onDone,
cancelOnError, $S, $T) { |
6636 var t1, t2; | 6763 var t1, t2; |
6637 t1 = this.get$_handleData(); | 6764 t1 = this.get$_handleData(); |
6638 t2 = this.get$_handleError(); | 6765 t2 = this.get$_handleError(); |
6639 this._subscription = this._stream._async$_source.listen$3$onDone$onError(t
1, this.get$_handleDone(), t2); | 6766 this._subscription = this._stream._async$_source.listen$3$onDone$onError(t
1, this.get$_handleDone(), t2); |
6640 }, | 6767 }, |
6641 $as_BufferingStreamSubscription: function($S, $T) { | 6768 $as_BufferingStreamSubscription: function($S, $T) { |
(...skipping 263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6905 return value; | 7032 return value; |
6906 } | 7033 } |
6907 return; | 7034 return; |
6908 }, | 7035 }, |
6909 handleUncaughtError$2: [function(error, stackTrace) { | 7036 handleUncaughtError$2: [function(error, stackTrace) { |
6910 var implementation, t1, parentDelegate; | 7037 var implementation, t1, parentDelegate; |
6911 implementation = this._handleUncaughtError; | 7038 implementation = this._handleUncaughtError; |
6912 t1 = implementation.zone; | 7039 t1 = implementation.zone; |
6913 parentDelegate = P._parentDelegate(t1); | 7040 parentDelegate = P._parentDelegate(t1); |
6914 return implementation.$function.call$5(t1, parentDelegate, this, error, st
ackTrace); | 7041 return implementation.$function.call$5(t1, parentDelegate, this, error, st
ackTrace); |
6915 }, "call$2", "get$handleUncaughtError", 4, 0, 14], | 7042 }, "call$2", "get$handleUncaughtError", 4, 0, 5], |
6916 fork$2$specification$zoneValues: [function(specification, zoneValues) { | 7043 fork$2$specification$zoneValues: [function(specification, zoneValues) { |
6917 var implementation, t1, parentDelegate; | 7044 var implementation, t1, parentDelegate; |
6918 implementation = this._fork; | 7045 implementation = this._fork; |
6919 t1 = implementation.zone; | 7046 t1 = implementation.zone; |
6920 parentDelegate = P._parentDelegate(t1); | 7047 parentDelegate = P._parentDelegate(t1); |
6921 return implementation.$function.call$5(t1, parentDelegate, this, specifica
tion, zoneValues); | 7048 return implementation.$function.call$5(t1, parentDelegate, this, specifica
tion, zoneValues); |
6922 }, function() { | 7049 }, function() { |
6923 return this.fork$2$specification$zoneValues(null, null); | 7050 return this.fork$2$specification$zoneValues(null, null); |
6924 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5,
28, 13, 13], | 7051 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5,
28, 17, 17], |
6925 run$1: [function(f) { | 7052 run$1: [function(f) { |
6926 var implementation, t1, parentDelegate; | 7053 var implementation, t1, parentDelegate; |
6927 implementation = this._run; | 7054 implementation = this._run; |
6928 t1 = implementation.zone; | 7055 t1 = implementation.zone; |
6929 parentDelegate = P._parentDelegate(t1); | 7056 parentDelegate = P._parentDelegate(t1); |
6930 return implementation.$function.call$4(t1, parentDelegate, this, f); | 7057 return implementation.$function.call$4(t1, parentDelegate, this, f); |
6931 }, "call$1", "get$run", 2, 0, 29], | 7058 }, "call$1", "get$run", 2, 0, 29], |
6932 runUnary$2: [function(f, arg) { | 7059 runUnary$2: [function(f, arg) { |
6933 var implementation, t1, parentDelegate; | 7060 var implementation, t1, parentDelegate; |
6934 implementation = this._runUnary; | 7061 implementation = this._runUnary; |
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7011 _CustomZone_bindCallback_closure0: { | 7138 _CustomZone_bindCallback_closure0: { |
7012 "^": "Closure:0;_async$_captured_this_2,_captured_registered_3", | 7139 "^": "Closure:0;_async$_captured_this_2,_captured_registered_3", |
7013 call$0: [function() { | 7140 call$0: [function() { |
7014 return this._async$_captured_this_2.run$1(this._captured_registered_3); | 7141 return this._async$_captured_this_2.run$1(this._captured_registered_3); |
7015 }, null, null, 0, 0, null, "call"] | 7142 }, null, null, 0, 0, null, "call"] |
7016 }, | 7143 }, |
7017 _CustomZone_bindUnaryCallback_closure: { | 7144 _CustomZone_bindUnaryCallback_closure: { |
7018 "^": "Closure:3;_async$_captured_this_0,_captured_registered_1", | 7145 "^": "Closure:3;_async$_captured_this_0,_captured_registered_1", |
7019 call$1: [function(arg) { | 7146 call$1: [function(arg) { |
7020 return this._async$_captured_this_0.runUnaryGuarded$2(this._captured_regis
tered_1, arg); | 7147 return this._async$_captured_this_0.runUnaryGuarded$2(this._captured_regis
tered_1, arg); |
7021 }, null, null, 2, 0, null, 20, "call"] | 7148 }, null, null, 2, 0, null, 22, "call"] |
7022 }, | 7149 }, |
7023 _CustomZone_bindUnaryCallback_closure0: { | 7150 _CustomZone_bindUnaryCallback_closure0: { |
7024 "^": "Closure:3;_async$_captured_this_2,_captured_registered_3", | 7151 "^": "Closure:3;_async$_captured_this_2,_captured_registered_3", |
7025 call$1: [function(arg) { | 7152 call$1: [function(arg) { |
7026 return this._async$_captured_this_2.runUnary$2(this._captured_registered_3
, arg); | 7153 return this._async$_captured_this_2.runUnary$2(this._captured_registered_3
, arg); |
7027 }, null, null, 2, 0, null, 20, "call"] | 7154 }, null, null, 2, 0, null, 22, "call"] |
7028 }, | 7155 }, |
7029 _rootHandleUncaughtError_closure: { | 7156 _rootHandleUncaughtError_closure: { |
7030 "^": "Closure:0;_captured_error_0,_captured_stackTrace_1", | 7157 "^": "Closure:0;_captured_error_0,_captured_stackTrace_1", |
7031 call$0: function() { | 7158 call$0: function() { |
7032 var t1 = this._captured_error_0; | 7159 var t1 = this._captured_error_0; |
7033 throw H.wrapException(new P._UncaughtAsyncError(t1, P._UncaughtAsyncError_
_getBestStackTrace(t1, this._captured_stackTrace_1))); | 7160 throw H.wrapException(new P._UncaughtAsyncError(t1, P._UncaughtAsyncError_
_getBestStackTrace(t1, this._captured_stackTrace_1))); |
7034 } | 7161 } |
7035 }, | 7162 }, |
7036 _RootZone: { | 7163 _RootZone: { |
7037 "^": "_Zone;", | 7164 "^": "_Zone;", |
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7155 return new P._RootZone_bindUnaryCallback_closure0(this, f); | 7282 return new P._RootZone_bindUnaryCallback_closure0(this, f); |
7156 }, | 7283 }, |
7157 bindUnaryCallback$1: function(f) { | 7284 bindUnaryCallback$1: function(f) { |
7158 return this.bindUnaryCallback$2$runGuarded(f, true); | 7285 return this.bindUnaryCallback$2$runGuarded(f, true); |
7159 }, | 7286 }, |
7160 $index: function(_, key) { | 7287 $index: function(_, key) { |
7161 return; | 7288 return; |
7162 }, | 7289 }, |
7163 handleUncaughtError$2: [function(error, stackTrace) { | 7290 handleUncaughtError$2: [function(error, stackTrace) { |
7164 return P._rootHandleUncaughtError(null, null, this, error, stackTrace); | 7291 return P._rootHandleUncaughtError(null, null, this, error, stackTrace); |
7165 }, "call$2", "get$handleUncaughtError", 4, 0, 14], | 7292 }, "call$2", "get$handleUncaughtError", 4, 0, 5], |
7166 fork$2$specification$zoneValues: [function(specification, zoneValues) { | 7293 fork$2$specification$zoneValues: [function(specification, zoneValues) { |
7167 return P._rootFork(null, null, this, specification, zoneValues); | 7294 return P._rootFork(null, null, this, specification, zoneValues); |
7168 }, function() { | 7295 }, function() { |
7169 return this.fork$2$specification$zoneValues(null, null); | 7296 return this.fork$2$specification$zoneValues(null, null); |
7170 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5,
28, 13, 13], | 7297 }, "fork$0", "call$2$specification$zoneValues", "call$0", "get$fork", 0, 5,
28, 17, 17], |
7171 run$1: [function(f) { | 7298 run$1: [function(f) { |
7172 if ($.Zone__current === C.C__RootZone) | 7299 if ($.Zone__current === C.C__RootZone) |
7173 return f.call$0(); | 7300 return f.call$0(); |
7174 return P._rootRun(null, null, this, f); | 7301 return P._rootRun(null, null, this, f); |
7175 }, "call$1", "get$run", 2, 0, 29], | 7302 }, "call$1", "get$run", 2, 0, 29], |
7176 runUnary$2: [function(f, arg) { | 7303 runUnary$2: [function(f, arg) { |
7177 if ($.Zone__current === C.C__RootZone) | 7304 if ($.Zone__current === C.C__RootZone) |
7178 return f.call$1(arg); | 7305 return f.call$1(arg); |
7179 return P._rootRunUnary(null, null, this, f, arg); | 7306 return P._rootRunUnary(null, null, this, f, arg); |
7180 }, "call$2", "get$runUnary", 4, 0, 30], | 7307 }, "call$2", "get$runUnary", 4, 0, 30], |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7217 _RootZone_bindCallback_closure0: { | 7344 _RootZone_bindCallback_closure0: { |
7218 "^": "Closure:0;_async$_captured_this_2,_captured_f_3", | 7345 "^": "Closure:0;_async$_captured_this_2,_captured_f_3", |
7219 call$0: [function() { | 7346 call$0: [function() { |
7220 return this._async$_captured_this_2.run$1(this._captured_f_3); | 7347 return this._async$_captured_this_2.run$1(this._captured_f_3); |
7221 }, null, null, 0, 0, null, "call"] | 7348 }, null, null, 0, 0, null, "call"] |
7222 }, | 7349 }, |
7223 _RootZone_bindUnaryCallback_closure: { | 7350 _RootZone_bindUnaryCallback_closure: { |
7224 "^": "Closure:3;_async$_captured_this_0,_captured_f_1", | 7351 "^": "Closure:3;_async$_captured_this_0,_captured_f_1", |
7225 call$1: [function(arg) { | 7352 call$1: [function(arg) { |
7226 return this._async$_captured_this_0.runUnaryGuarded$2(this._captured_f_1,
arg); | 7353 return this._async$_captured_this_0.runUnaryGuarded$2(this._captured_f_1,
arg); |
7227 }, null, null, 2, 0, null, 20, "call"] | 7354 }, null, null, 2, 0, null, 22, "call"] |
7228 }, | 7355 }, |
7229 _RootZone_bindUnaryCallback_closure0: { | 7356 _RootZone_bindUnaryCallback_closure0: { |
7230 "^": "Closure:3;_async$_captured_this_2,_captured_f_3", | 7357 "^": "Closure:3;_async$_captured_this_2,_captured_f_3", |
7231 call$1: [function(arg) { | 7358 call$1: [function(arg) { |
7232 return this._async$_captured_this_2.runUnary$2(this._captured_f_3, arg); | 7359 return this._async$_captured_this_2.runUnary$2(this._captured_f_3, arg); |
7233 }, null, null, 2, 0, null, 20, "call"] | 7360 }, null, null, 2, 0, null, 22, "call"] |
7234 }, | 7361 }, |
7235 runZoned_closure: { | 7362 runZoned_closure: { |
7236 "^": "Closure:40;_captured_onError_0", | 7363 "^": "Closure:40;_captured_onError_0", |
7237 call$5: [function($self, $parent, zone, error, stackTrace) { | 7364 call$5: [function($self, $parent, zone, error, stackTrace) { |
7238 var e, s, t1, t2, exception; | 7365 var e, s, t1, t2, exception; |
7239 try { | 7366 try { |
7240 t1 = this._captured_onError_0; | 7367 t1 = this._captured_onError_0; |
7241 t2 = H.getDynamicRuntimeType(); | 7368 t2 = H.getDynamicRuntimeType(); |
7242 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); | 7369 t2 = H.buildFunctionType(t2, [t2, t2])._isTest$1(t1); |
7243 if (t2) { | 7370 if (t2) { |
7244 t1 = J.get$parent$x($self).runBinary$3(t1, error, stackTrace); | 7371 t1 = J.get$parent$x($self).runBinary$3(t1, error, stackTrace); |
7245 return t1; | 7372 return t1; |
7246 } | 7373 } |
7247 t1 = J.get$parent$x($self).runUnary$2(t1, error); | 7374 t1 = J.get$parent$x($self).runUnary$2(t1, error); |
7248 return t1; | 7375 return t1; |
7249 } catch (exception) { | 7376 } catch (exception) { |
7250 t1 = H.unwrapException(exception); | 7377 t1 = H.unwrapException(exception); |
7251 e = t1; | 7378 e = t1; |
7252 s = H.getTraceFromException(exception); | 7379 s = H.getTraceFromException(exception); |
7253 t1 = e; | 7380 t1 = e; |
7254 t2 = error; | 7381 t2 = error; |
7255 if (t1 == null ? t2 == null : t1 === t2) | 7382 if (t1 == null ? t2 == null : t1 === t2) |
7256 return $parent.handleUncaughtError$3(zone, error, stackTrace); | 7383 return $parent.handleUncaughtError$3(zone, error, stackTrace); |
7257 else | 7384 else |
7258 return $parent.handleUncaughtError$3(zone, e, s); | 7385 return $parent.handleUncaughtError$3(zone, e, s); |
7259 } | 7386 } |
7260 }, null, null, 10, 0, null, 16, 17, 18, 14, 15, "call"] | 7387 }, null, null, 10, 0, null, 18, 19, 20, 12, 13, "call"] |
7261 } | 7388 } |
7262 }], | 7389 }], |
7263 ["dart.collection", "dart:collection", , P, { | 7390 ["dart.collection", "dart:collection", , P, { |
7264 "^": "", | 7391 "^": "", |
7265 LinkedHashMap_LinkedHashMap$_literal: function(keyValuePairs, $K, $V) { | 7392 LinkedHashMap_LinkedHashMap$_literal: function(keyValuePairs, $K, $V) { |
7266 return H.fillLiteralMap(keyValuePairs, H.setRuntimeTypeInfo(new H.JsLinkedHa
shMap(0, null, null, null, null, null, 0), [$K, $V])); | 7393 return H.fillLiteralMap(keyValuePairs, H.setRuntimeTypeInfo(new H.JsLinkedHa
shMap(0, null, null, null, null, null, 0), [$K, $V])); |
7267 }, | 7394 }, |
7268 LinkedHashMap_LinkedHashMap$_empty: function($K, $V) { | 7395 LinkedHashMap_LinkedHashMap$_empty: function($K, $V) { |
7269 return H.setRuntimeTypeInfo(new H.JsLinkedHashMap(0, null, null, null, null,
null, 0), [$K, $V]); | 7396 return H.setRuntimeTypeInfo(new H.JsLinkedHashMap(0, null, null, null, null,
null, 0), [$K, $V]); |
7270 }, | 7397 }, |
7271 _defaultEquals: [function(a, b) { | 7398 _defaultEquals: [function(a, b) { |
7272 return J.$eq(a, b); | 7399 return J.$eq(a, b); |
7273 }, "call$2", "_defaultEquals$closure", 4, 0, 67], | 7400 }, "call$2", "_defaultEquals$closure", 4, 0, 68], |
7274 _defaultHashCode: [function(a) { | 7401 _defaultHashCode: [function(a) { |
7275 return J.get$hashCode$(a); | 7402 return J.get$hashCode$(a); |
7276 }, "call$1", "_defaultHashCode$closure", 2, 0, 50, 31], | 7403 }, "call$1", "_defaultHashCode$closure", 2, 0, 50, 33], |
7277 HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) { | 7404 HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) { |
7278 return H.setRuntimeTypeInfo(new P._HashMap(0, null, null, null, null), [$K,
$V]); | 7405 return H.setRuntimeTypeInfo(new P._HashMap(0, null, null, null, null), [$K,
$V]); |
7279 }, | 7406 }, |
7280 HashMap_HashMap$from: function(other, $K, $V) { | 7407 HashMap_HashMap$from: function(other, $K, $V) { |
7281 var result = P.HashMap_HashMap(null, null, null, $K, $V); | 7408 var result = P.HashMap_HashMap(null, null, null, $K, $V); |
7282 J.forEach$1$ax(other, new P.HashMap_HashMap$from_closure(result)); | 7409 J.forEach$1$ax(other, new P.HashMap_HashMap$from_closure(result)); |
7283 return result; | 7410 return result; |
7284 }, | 7411 }, |
7285 IterableBase_iterableToShortString: function(iterable, leftDelimiter, rightDel
imiter) { | 7412 IterableBase_iterableToShortString: function(iterable, leftDelimiter, rightDel
imiter) { |
7286 var parts, t1; | 7413 var parts, t1; |
(...skipping 618 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7905 var t1 = this._collection$_source; | 8032 var t1 = this._collection$_source; |
7906 if (index >>> 0 !== index || index >= t1.length) | 8033 if (index >>> 0 !== index || index >= t1.length) |
7907 return H.ioore(t1, index); | 8034 return H.ioore(t1, index); |
7908 return t1[index]; | 8035 return t1[index]; |
7909 } | 8036 } |
7910 }, | 8037 }, |
7911 HashMap_HashMap$from_closure: { | 8038 HashMap_HashMap$from_closure: { |
7912 "^": "Closure:41;_captured_result_0", | 8039 "^": "Closure:41;_captured_result_0", |
7913 call$2: [function(k, v) { | 8040 call$2: [function(k, v) { |
7914 this._captured_result_0.$indexSet(0, k, v); | 8041 this._captured_result_0.$indexSet(0, k, v); |
7915 }, null, null, 4, 0, null, 32, 33, "call"] | 8042 }, null, null, 4, 0, null, 34, 35, "call"] |
7916 }, | 8043 }, |
7917 _HashSetBase: { | 8044 _HashSetBase: { |
7918 "^": "SetBase;" | 8045 "^": "SetBase;" |
7919 }, | 8046 }, |
7920 IterableBase: { | 8047 IterableBase: { |
7921 "^": "Object;", | 8048 "^": "Object;", |
7922 map$1: function(_, f) { | 8049 map$1: function(_, f) { |
7923 return H.MappedIterable_MappedIterable(this, f, H.getRuntimeTypeArgument(t
his, "IterableBase", 0), null); | 8050 return H.MappedIterable_MappedIterable(this, f, H.getRuntimeTypeArgument(t
his, "IterableBase", 0), null); |
7924 }, | 8051 }, |
7925 contains$1: function(_, element) { | 8052 contains$1: function(_, element) { |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8057 if (skipCount + $length > t1.get$length(iterable)) | 8184 if (skipCount + $length > t1.get$length(iterable)) |
8058 throw H.wrapException(H.IterableElementError_tooFew()); | 8185 throw H.wrapException(H.IterableElementError_tooFew()); |
8059 if (skipCount < start) | 8186 if (skipCount < start) |
8060 for (i = $length - 1; i >= 0; --i) | 8187 for (i = $length - 1; i >= 0; --i) |
8061 this.$indexSet(receiver, start + i, t1.$index(iterable, skipCount + i)
); | 8188 this.$indexSet(receiver, start + i, t1.$index(iterable, skipCount + i)
); |
8062 else | 8189 else |
8063 for (i = 0; i < $length; ++i) | 8190 for (i = 0; i < $length; ++i) |
8064 this.$indexSet(receiver, start + i, t1.$index(iterable, skipCount + i)
); | 8191 this.$indexSet(receiver, start + i, t1.$index(iterable, skipCount + i)
); |
8065 }, function($receiver, start, end, iterable) { | 8192 }, function($receiver, start, end, iterable) { |
8066 return this.setRange$4($receiver, start, end, iterable, 0); | 8193 return this.setRange$4($receiver, start, end, iterable, 0); |
8067 }, "setRange$3", null, null, "get$setRange", 6, 2, null, 34], | 8194 }, "setRange$3", null, null, "get$setRange", 6, 2, null, 36], |
8068 replaceRange$3: function(receiver, start, end, newContents) { | 8195 replaceRange$3: function(receiver, start, end, newContents) { |
8069 var removeLength, insertLength, insertEnd, newLength; | 8196 var removeLength, insertLength, insertEnd, newLength; |
8070 P.RangeError_checkValidRange(start, end, this.get$length(receiver), null,
null, null); | 8197 P.RangeError_checkValidRange(start, end, this.get$length(receiver), null,
null, null); |
8071 newContents = C.JSString_methods.toList$0(newContents); | 8198 newContents = C.JSString_methods.toList$0(newContents); |
8072 removeLength = end - start; | 8199 removeLength = end - start; |
8073 insertLength = newContents.length; | 8200 insertLength = newContents.length; |
8074 insertEnd = start + insertLength; | 8201 insertEnd = start + insertLength; |
8075 if (removeLength >= insertLength) { | 8202 if (removeLength >= insertLength) { |
8076 newLength = this.get$length(receiver) - (removeLength - insertLength); | 8203 newLength = this.get$length(receiver) - (removeLength - insertLength); |
8077 this.setRange$3(receiver, start, insertEnd, newContents); | 8204 this.setRange$3(receiver, start, insertEnd, newContents); |
(...skipping 276 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8354 parsed = JSON.parse(source); | 8481 parsed = JSON.parse(source); |
8355 } catch (exception) { | 8482 } catch (exception) { |
8356 t1 = H.unwrapException(exception); | 8483 t1 = H.unwrapException(exception); |
8357 e = t1; | 8484 e = t1; |
8358 throw H.wrapException(P.FormatException$(String(e), null, null)); | 8485 throw H.wrapException(P.FormatException$(String(e), null, null)); |
8359 } | 8486 } |
8360 return P._convertJsonToDartLazy(parsed); | 8487 return P._convertJsonToDartLazy(parsed); |
8361 }, | 8488 }, |
8362 _defaultToEncodable: [function(object) { | 8489 _defaultToEncodable: [function(object) { |
8363 return object.toJson$0(); | 8490 return object.toJson$0(); |
8364 }, "call$1", "_defaultToEncodable$closure", 2, 0, 68, 0], | 8491 }, "call$1", "_defaultToEncodable$closure", 2, 0, 69, 1], |
8365 _JsonMap: { | 8492 _JsonMap: { |
8366 "^": "Object;_original,_processed,_data", | 8493 "^": "Object;_original,_processed,_data", |
8367 $index: function(_, key) { | 8494 $index: function(_, key) { |
8368 var t1, result; | 8495 var t1, result; |
8369 t1 = this._processed; | 8496 t1 = this._processed; |
8370 if (t1 == null) | 8497 if (t1 == null) |
8371 return this._data.$index(0, key); | 8498 return this._data.$index(0, key); |
8372 else if (typeof key !== "string") | 8499 else if (typeof key !== "string") |
8373 return; | 8500 return; |
8374 else { | 8501 else { |
(...skipping 319 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
8694 "^": "Closure:4;_convert$_box_0,_convert$_captured_this_1", | 8821 "^": "Closure:4;_convert$_box_0,_convert$_captured_this_1", |
8695 call$2: [function(key, value) { | 8822 call$2: [function(key, value) { |
8696 var t1, t2; | 8823 var t1, t2; |
8697 t1 = this._convert$_captured_this_1; | 8824 t1 = this._convert$_captured_this_1; |
8698 t2 = this._convert$_box_0; | 8825 t2 = this._convert$_box_0; |
8699 t1.writeString$1(t2._captured_separator_0); | 8826 t1.writeString$1(t2._captured_separator_0); |
8700 t2._captured_separator_0 = ",\""; | 8827 t2._captured_separator_0 = ",\""; |
8701 t1.writeStringContent$1(key); | 8828 t1.writeStringContent$1(key); |
8702 t1.writeString$1("\":"); | 8829 t1.writeString$1("\":"); |
8703 t1.writeObject$1(value); | 8830 t1.writeObject$1(value); |
8704 }, null, null, 4, 0, null, 35, 12, "call"] | 8831 }, null, null, 4, 0, null, 37, 16, "call"] |
8705 }, | 8832 }, |
8706 _JsonStringStringifier: { | 8833 _JsonStringStringifier: { |
8707 "^": "_JsonStringifier;_sink,_seen,_toEncodable", | 8834 "^": "_JsonStringifier;_sink,_seen,_toEncodable", |
8708 writeNumber$1: function(number) { | 8835 writeNumber$1: function(number) { |
8709 this._sink._contents += C.JSNumber_methods.toString$0(number); | 8836 this._sink._contents += C.JSNumber_methods.toString$0(number); |
8710 }, | 8837 }, |
8711 writeString$1: function(string) { | 8838 writeString$1: function(string) { |
8712 this._sink._contents += H.S(string); | 8839 this._sink._contents += H.S(string); |
8713 }, | 8840 }, |
8714 writeStringSlice$3: function(string, start, end) { | 8841 writeStringSlice$3: function(string, start, end) { |
(...skipping 347 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
9062 return J.toString$0(object); | 9189 return J.toString$0(object); |
9063 if (typeof object === "string") | 9190 if (typeof object === "string") |
9064 return JSON.stringify(object); | 9191 return JSON.stringify(object); |
9065 return "Instance of '" + H.Primitives_objectTypeName(object) + "'"; | 9192 return "Instance of '" + H.Primitives_objectTypeName(object) + "'"; |
9066 }, | 9193 }, |
9067 Exception_Exception: function(message) { | 9194 Exception_Exception: function(message) { |
9068 return new P._ExceptionImplementation(message); | 9195 return new P._ExceptionImplementation(message); |
9069 }, | 9196 }, |
9070 identical: [function(a, b) { | 9197 identical: [function(a, b) { |
9071 return a == null ? b == null : a === b; | 9198 return a == null ? b == null : a === b; |
9072 }, "call$2", "identical$closure", 4, 0, 69], | 9199 }, "call$2", "identical$closure", 4, 0, 70], |
9073 identityHashCode: [function(object) { | 9200 identityHashCode: [function(object) { |
9074 return H.objectHashCode(object); | 9201 return H.objectHashCode(object); |
9075 }, "call$1", "identityHashCode$closure", 2, 0, 70], | 9202 }, "call$1", "identityHashCode$closure", 2, 0, 71], |
9076 List_List$filled: function($length, fill, $E) { | 9203 List_List$filled: function($length, fill, $E) { |
9077 var result, t1, i; | 9204 var result, t1, i; |
9078 result = J.JSArray_JSArray$fixed($length, $E); | 9205 result = J.JSArray_JSArray$fixed($length, $E); |
9079 if ($length !== 0 && true) | 9206 if ($length !== 0 && true) |
9080 for (t1 = result.length, i = 0; i < t1; ++i) | 9207 for (t1 = result.length, i = 0; i < t1; ++i) |
9081 result[i] = fill; | 9208 result[i] = fill; |
9082 return result; | 9209 return result; |
9083 }, | 9210 }, |
9084 List_List$from: function(elements, growable, $E) { | 9211 List_List$from: function(elements, growable, $E) { |
9085 var list, t1; | 9212 var list, t1; |
(...skipping 1404 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10490 } | 10617 } |
10491 } | 10618 } |
10492 if (buffer == null) | 10619 if (buffer == null) |
10493 return t1.substring$2(component, start, end); | 10620 return t1.substring$2(component, start, end); |
10494 if (J.$lt$n(sectionStart, end)) | 10621 if (J.$lt$n(sectionStart, end)) |
10495 buffer._contents += t1.substring$2(component, sectionStart, end); | 10622 buffer._contents += t1.substring$2(component, sectionStart, end); |
10496 t1 = buffer._contents; | 10623 t1 = buffer._contents; |
10497 return t1.charCodeAt(0) == 0 ? t1 : t1; | 10624 return t1.charCodeAt(0) == 0 ? t1 : t1; |
10498 }, Uri_decodeComponent: [function(encodedComponent) { | 10625 }, Uri_decodeComponent: [function(encodedComponent) { |
10499 return P.Uri__uriDecode(encodedComponent, C.Utf8Codec_false, false); | 10626 return P.Uri__uriDecode(encodedComponent, C.Utf8Codec_false, false); |
10500 }, "call$1", "Uri_decodeComponent$closure", 2, 0, 71, 36], Uri_splitQueryS
tring: function(query, encoding) { | 10627 }, "call$1", "Uri_decodeComponent$closure", 2, 0, 72, 38], Uri_splitQueryS
tring: function(query, encoding) { |
10501 return C.JSArray_methods.fold$2(query.split("&"), P.LinkedHashMap_Linked
HashMap$_empty(null, null), new P.Uri_splitQueryString_closure(encoding)); | 10628 return C.JSArray_methods.fold$2(query.split("&"), P.LinkedHashMap_Linked
HashMap$_empty(null, null), new P.Uri_splitQueryString_closure(encoding)); |
10502 }, Uri_parseIPv4Address: function(host) { | 10629 }, Uri_parseIPv4Address: function(host) { |
10503 var t1, bytes; | 10630 var t1, bytes; |
10504 t1 = new P.Uri_parseIPv4Address_error(); | 10631 t1 = new P.Uri_parseIPv4Address_error(); |
10505 bytes = host.split("."); | 10632 bytes = host.split("."); |
10506 if (bytes.length !== 4) | 10633 if (bytes.length !== 4) |
10507 t1.call$1("IPv4 address should contain exactly 4 parts"); | 10634 t1.call$1("IPv4 address should contain exactly 4 parts"); |
10508 return H.setRuntimeTypeInfo(new H.MappedListIterable(bytes, new P.Uri_pa
rseIPv4Address_closure(t1)), [null, null]).toList$0(0); | 10635 return H.setRuntimeTypeInfo(new H.MappedListIterable(bytes, new P.Uri_pa
rseIPv4Address_closure(t1)), [null, null]).toList$0(0); |
10509 }, Uri_parseIPv6Address: function(host, start, end) { | 10636 }, Uri_parseIPv6Address: function(host, start, end) { |
10510 var error, parseHex, parts, partStart, last, i, wildcardSeen, t1, atEnd,
isLastWildcard, exception, t2, bytes, index, value, wildCardLength, j; | 10637 var error, parseHex, parts, partStart, last, i, wildcardSeen, t1, atEnd,
isLastWildcard, exception, t2, bytes, index, value, wildCardLength, j; |
(...skipping 272 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10783 if (this._captured_argumentError_0) | 10910 if (this._captured_argumentError_0) |
10784 throw H.wrapException(P.ArgumentError$("Illegal character in path")); | 10911 throw H.wrapException(P.ArgumentError$("Illegal character in path")); |
10785 else | 10912 else |
10786 throw H.wrapException(P.UnsupportedError$("Illegal character in path")
); | 10913 throw H.wrapException(P.UnsupportedError$("Illegal character in path")
); |
10787 } | 10914 } |
10788 }, | 10915 }, |
10789 Uri__makePath_closure: { | 10916 Uri__makePath_closure: { |
10790 "^": "Closure:3;", | 10917 "^": "Closure:3;", |
10791 call$1: [function(s) { | 10918 call$1: [function(s) { |
10792 return P.Uri__uriEncode(C.List_qg40, s, C.Utf8Codec_false, false); | 10919 return P.Uri__uriEncode(C.List_qg40, s, C.Utf8Codec_false, false); |
10793 }, null, null, 2, 0, null, 30, "call"] | 10920 }, null, null, 2, 0, null, 32, "call"] |
10794 }, | 10921 }, |
10795 Uri__makeQuery_closure: { | 10922 Uri__makeQuery_closure: { |
10796 "^": "Closure:41;_box_0,_core$_captured_result_1", | 10923 "^": "Closure:41;_box_0,_core$_captured_result_1", |
10797 call$2: function(key, value) { | 10924 call$2: function(key, value) { |
10798 var t1 = this._box_0; | 10925 var t1 = this._box_0; |
10799 if (!t1._captured_first_0) | 10926 if (!t1._captured_first_0) |
10800 this._core$_captured_result_1._contents += "&"; | 10927 this._core$_captured_result_1._contents += "&"; |
10801 t1._captured_first_0 = false; | 10928 t1._captured_first_0 = false; |
10802 t1 = this._core$_captured_result_1; | 10929 t1 = this._core$_captured_result_1; |
10803 t1._contents += P.Uri__uriEncode(C.List_nxB, key, C.Utf8Codec_false, true)
; | 10930 t1._contents += P.Uri__uriEncode(C.List_nxB, key, C.Utf8Codec_false, true)
; |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
10839 }, | 10966 }, |
10840 Uri_parseIPv4Address_closure: { | 10967 Uri_parseIPv4Address_closure: { |
10841 "^": "Closure:3;_core$_captured_error_0", | 10968 "^": "Closure:3;_core$_captured_error_0", |
10842 call$1: [function(byteString) { | 10969 call$1: [function(byteString) { |
10843 var $byte, t1; | 10970 var $byte, t1; |
10844 $byte = H.Primitives_parseInt(byteString, null, null); | 10971 $byte = H.Primitives_parseInt(byteString, null, null); |
10845 t1 = J.getInterceptor$n($byte); | 10972 t1 = J.getInterceptor$n($byte); |
10846 if (t1.$lt($byte, 0) || t1.$gt($byte, 255)) | 10973 if (t1.$lt($byte, 0) || t1.$gt($byte, 255)) |
10847 this._core$_captured_error_0.call$1("each part must be in the range of `
0..255`"); | 10974 this._core$_captured_error_0.call$1("each part must be in the range of `
0..255`"); |
10848 return $byte; | 10975 return $byte; |
10849 }, null, null, 2, 0, null, 37, "call"] | 10976 }, null, null, 2, 0, null, 39, "call"] |
10850 }, | 10977 }, |
10851 Uri_parseIPv6Address_error: { | 10978 Uri_parseIPv6Address_error: { |
10852 "^": "Closure:48;_captured_host_0", | 10979 "^": "Closure:48;_captured_host_0", |
10853 call$2: function(msg, position) { | 10980 call$2: function(msg, position) { |
10854 throw H.wrapException(P.FormatException$("Illegal IPv6 address, " + msg, t
his._captured_host_0, position)); | 10981 throw H.wrapException(P.FormatException$("Illegal IPv6 address, " + msg, t
his._captured_host_0, position)); |
10855 }, | 10982 }, |
10856 call$1: function(msg) { | 10983 call$1: function(msg) { |
10857 return this.call$2(msg, null); | 10984 return this.call$2(msg, null); |
10858 } | 10985 } |
10859 }, | 10986 }, |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11137 $asList: function() { | 11264 $asList: function() { |
11138 return [W.Node]; | 11265 return [W.Node]; |
11139 }, | 11266 }, |
11140 $isEfficientLength: 1 | 11267 $isEfficientLength: 1 |
11141 }, | 11268 }, |
11142 IFrameElement: { | 11269 IFrameElement: { |
11143 "^": "HtmlElement;src%", | 11270 "^": "HtmlElement;src%", |
11144 get$contentWindow: function(receiver) { | 11271 get$contentWindow: function(receiver) { |
11145 return W._convertNativeToDart_Window(receiver.contentWindow); | 11272 return W._convertNativeToDart_Window(receiver.contentWindow); |
11146 }, | 11273 }, |
| 11274 $isHtmlElement: 1, |
| 11275 $isElement: 1, |
| 11276 $isNode: 1, |
| 11277 $isObject: 1, |
11147 "%": "HTMLIFrameElement" | 11278 "%": "HTMLIFrameElement" |
11148 }, | 11279 }, |
11149 ImageData: { | 11280 ImageData: { |
11150 "^": "Interceptor;data=", | 11281 "^": "Interceptor;data=", |
11151 $isImageData: 1, | 11282 $isImageData: 1, |
11152 "%": "ImageData" | 11283 "%": "ImageData" |
11153 }, | 11284 }, |
11154 ImageElement: { | 11285 ImageElement: { |
11155 "^": "HtmlElement;src%", | 11286 "^": "HtmlElement;src%", |
| 11287 complete$1: function($receiver, arg0) { |
| 11288 return $receiver.complete.call$1(arg0); |
| 11289 }, |
11156 "%": "HTMLImageElement" | 11290 "%": "HTMLImageElement" |
11157 }, | 11291 }, |
11158 InputElement: { | 11292 InputElement: { |
11159 "^": "HtmlElement;src%", | 11293 "^": "HtmlElement;src%", |
11160 $isInterceptor: 1, | 11294 $isInterceptor: 1, |
11161 $isNode: 1, | 11295 $isNode: 1, |
11162 "%": "HTMLInputElement" | 11296 "%": "HTMLInputElement" |
11163 }, | 11297 }, |
11164 KeyboardEvent: { | 11298 KeyboardEvent: { |
11165 "^": "UIEvent;location=", | 11299 "^": "UIEvent;location=", |
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11218 "^": "Interceptor;", | 11352 "^": "Interceptor;", |
11219 $isInterceptor: 1, | 11353 $isInterceptor: 1, |
11220 "%": "Navigator" | 11354 "%": "Navigator" |
11221 }, | 11355 }, |
11222 NavigatorUserMediaError: { | 11356 NavigatorUserMediaError: { |
11223 "^": "Interceptor;message=", | 11357 "^": "Interceptor;message=", |
11224 "%": "NavigatorUserMediaError" | 11358 "%": "NavigatorUserMediaError" |
11225 }, | 11359 }, |
11226 Node: { | 11360 Node: { |
11227 "^": "EventTarget;parent:parentElement=", | 11361 "^": "EventTarget;parent:parentElement=", |
| 11362 remove$0: function(receiver) { |
| 11363 var t1 = receiver.parentNode; |
| 11364 if (t1 != null) |
| 11365 t1.removeChild(receiver); |
| 11366 }, |
11228 toString$0: function(receiver) { | 11367 toString$0: function(receiver) { |
11229 var value = receiver.nodeValue; | 11368 var value = receiver.nodeValue; |
11230 return value == null ? this.super$Interceptor$toString$0(receiver) : value
; | 11369 return value == null ? this.super$Interceptor$toString$0(receiver) : value
; |
11231 }, | 11370 }, |
11232 contains$1: function(receiver, other) { | 11371 contains$1: function(receiver, other) { |
11233 return receiver.contains(other); | 11372 return receiver.contains(other); |
11234 }, | 11373 }, |
11235 $isNode: 1, | 11374 $isNode: 1, |
11236 $isObject: 1, | 11375 $isObject: 1, |
11237 "%": "Attr|Document|HTMLDocument|XMLDocument;Node" | 11376 "%": "Attr|Document|HTMLDocument|XMLDocument;Node" |
(...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
11803 "^": "", | 11942 "^": "", |
11804 _callDartFunction: [function(callback, captureThis, $self, $arguments) { | 11943 _callDartFunction: [function(callback, captureThis, $self, $arguments) { |
11805 var arguments0, dartArgs; | 11944 var arguments0, dartArgs; |
11806 if (captureThis === true) { | 11945 if (captureThis === true) { |
11807 arguments0 = [$self]; | 11946 arguments0 = [$self]; |
11808 C.JSArray_methods.addAll$1(arguments0, $arguments); | 11947 C.JSArray_methods.addAll$1(arguments0, $arguments); |
11809 $arguments = arguments0; | 11948 $arguments = arguments0; |
11810 } | 11949 } |
11811 dartArgs = P.List_List$from(J.map$1$ax($arguments, P._convertToDart$closure(
)), true, null); | 11950 dartArgs = P.List_List$from(J.map$1$ax($arguments, P._convertToDart$closure(
)), true, null); |
11812 return P._convertToJS(H.Primitives_applyFunctionWithPositionalArguments(call
back, dartArgs)); | 11951 return P._convertToJS(H.Primitives_applyFunctionWithPositionalArguments(call
back, dartArgs)); |
11813 }, null, null, 8, 0, null, 22, 38, 16, 39], | 11952 }, null, null, 8, 0, null, 24, 40, 18, 41], |
11814 _defineProperty: function(o, $name, value) { | 11953 _defineProperty: function(o, $name, value) { |
11815 var exception; | 11954 var exception; |
11816 if (Object.isExtensible(o) && !Object.prototype.hasOwnProperty.call(o, $name
)) | 11955 if (Object.isExtensible(o) && !Object.prototype.hasOwnProperty.call(o, $name
)) |
11817 try { | 11956 try { |
11818 Object.defineProperty(o, $name, {value: value}); | 11957 Object.defineProperty(o, $name, {value: value}); |
11819 return true; | 11958 return true; |
11820 } catch (exception) { | 11959 } catch (exception) { |
11821 H.unwrapException(exception); | 11960 H.unwrapException(exception); |
11822 } | 11961 } |
11823 return false; | 11962 return false; |
(...skipping 13 matching lines...) Expand all Loading... |
11837 return o; | 11976 return o; |
11838 else if (!!t1.$isDateTime) | 11977 else if (!!t1.$isDateTime) |
11839 return H.Primitives_lazyAsJsDate(o); | 11978 return H.Primitives_lazyAsJsDate(o); |
11840 else if (!!t1.$isJsObject) | 11979 else if (!!t1.$isJsObject) |
11841 return o._jsObject; | 11980 return o._jsObject; |
11842 else if (!!t1.$isFunction) | 11981 else if (!!t1.$isFunction) |
11843 return P._getJsProxy(o, "$dart_jsFunction", new P._convertToJS_closure()
); | 11982 return P._getJsProxy(o, "$dart_jsFunction", new P._convertToJS_closure()
); |
11844 else | 11983 else |
11845 return P._getJsProxy(o, "_$dart_jsObject", new P._convertToJS_closure0($
.get$_dartProxyCtor())); | 11984 return P._getJsProxy(o, "_$dart_jsObject", new P._convertToJS_closure0($
.get$_dartProxyCtor())); |
11846 } | 11985 } |
11847 }, "call$1", "_convertToJS$closure", 2, 0, 3, 40], | 11986 }, "call$1", "_convertToJS$closure", 2, 0, 3, 42], |
11848 _getJsProxy: function(o, propertyName, createProxy) { | 11987 _getJsProxy: function(o, propertyName, createProxy) { |
11849 var jsProxy = P._getOwnProperty(o, propertyName); | 11988 var jsProxy = P._getOwnProperty(o, propertyName); |
11850 if (jsProxy == null) { | 11989 if (jsProxy == null) { |
11851 jsProxy = createProxy.call$1(o); | 11990 jsProxy = createProxy.call$1(o); |
11852 P._defineProperty(o, propertyName, jsProxy); | 11991 P._defineProperty(o, propertyName, jsProxy); |
11853 } | 11992 } |
11854 return jsProxy; | 11993 return jsProxy; |
11855 }, | 11994 }, |
11856 _convertToDart: [function(o) { | 11995 _convertToDart: [function(o) { |
11857 var t1; | 11996 var t1; |
11858 if (o == null || typeof o == "string" || typeof o == "number" || typeof o ==
"boolean") | 11997 if (o == null || typeof o == "string" || typeof o == "number" || typeof o ==
"boolean") |
11859 return o; | 11998 return o; |
11860 else { | 11999 else { |
11861 if (o instanceof Object) { | 12000 if (o instanceof Object) { |
11862 t1 = J.getInterceptor(o); | 12001 t1 = J.getInterceptor(o); |
11863 t1 = !!t1.$isBlob || !!t1.$isEvent || !!t1.$isKeyRange || !!t1.$isImageD
ata || !!t1.$isNode || !!t1.$isTypedData || !!t1.$isWindow; | 12002 t1 = !!t1.$isBlob || !!t1.$isEvent || !!t1.$isKeyRange || !!t1.$isImageD
ata || !!t1.$isNode || !!t1.$isTypedData || !!t1.$isWindow; |
11864 } else | 12003 } else |
11865 t1 = false; | 12004 t1 = false; |
11866 if (t1) | 12005 if (t1) |
11867 return o; | 12006 return o; |
11868 else if (o instanceof Date) | 12007 else if (o instanceof Date) |
11869 return P.DateTime$fromMillisecondsSinceEpoch(o.getTime(), false); | 12008 return P.DateTime$fromMillisecondsSinceEpoch(o.getTime(), false); |
11870 else if (o.constructor === $.get$_dartProxyCtor()) | 12009 else if (o.constructor === $.get$_dartProxyCtor()) |
11871 return o.o; | 12010 return o.o; |
11872 else | 12011 else |
11873 return P._wrapToDart(o); | 12012 return P._wrapToDart(o); |
11874 } | 12013 } |
11875 }, "call$1", "_convertToDart$closure", 2, 0, 68, 40], | 12014 }, "call$1", "_convertToDart$closure", 2, 0, 69, 42], |
11876 _wrapToDart: function(o) { | 12015 _wrapToDart: function(o) { |
11877 if (typeof o == "function") | 12016 if (typeof o == "function") |
11878 return P._getDartProxy(o, $.get$_DART_CLOSURE_PROPERTY_NAME(), new P._wrap
ToDart_closure()); | 12017 return P._getDartProxy(o, $.get$_DART_CLOSURE_PROPERTY_NAME(), new P._wrap
ToDart_closure()); |
11879 else if (o instanceof Array) | 12018 else if (o instanceof Array) |
11880 return P._getDartProxy(o, $.get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapT
oDart_closure0()); | 12019 return P._getDartProxy(o, $.get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapT
oDart_closure0()); |
11881 else | 12020 else |
11882 return P._getDartProxy(o, $.get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapT
oDart_closure1()); | 12021 return P._getDartProxy(o, $.get$_DART_OBJECT_PROPERTY_NAME(), new P._wrapT
oDart_closure1()); |
11883 }, | 12022 }, |
11884 _getDartProxy: function(o, propertyName, createProxy) { | 12023 _getDartProxy: function(o, propertyName, createProxy) { |
11885 var dartProxy = P._getOwnProperty(o, propertyName); | 12024 var dartProxy = P._getOwnProperty(o, propertyName); |
(...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12057 if (typeof a === "number") | 12196 if (typeof a === "number") |
12058 if (a === 0) | 12197 if (a === 0) |
12059 return a + b; | 12198 return a + b; |
12060 if (C.JSDouble_methods.get$isNaN(b)) | 12199 if (C.JSDouble_methods.get$isNaN(b)) |
12061 return b; | 12200 return b; |
12062 return a; | 12201 return a; |
12063 } | 12202 } |
12064 if (b === 0 && C.JSNumber_methods.get$isNegative(a)) | 12203 if (b === 0 && C.JSNumber_methods.get$isNegative(a)) |
12065 return b; | 12204 return b; |
12066 return a; | 12205 return a; |
12067 }, "call$2", "max$closure", 4, 0, 72] | 12206 }, "call$2", "max$closure", 4, 0, 73] |
12068 }], | 12207 }], |
12069 ["dart.typed_data.implementation", "dart:_native_typed_data", , H, { | 12208 ["dart.typed_data.implementation", "dart:_native_typed_data", , H, { |
12070 "^": "", | 12209 "^": "", |
12071 NativeByteBuffer: { | 12210 NativeByteBuffer: { |
12072 "^": "Interceptor;", | 12211 "^": "Interceptor;", |
12073 $isNativeByteBuffer: 1, | 12212 $isNativeByteBuffer: 1, |
12074 "%": "ArrayBuffer" | 12213 "%": "ArrayBuffer" |
12075 }, | 12214 }, |
12076 NativeTypedData: { | 12215 NativeTypedData: { |
12077 "^": "Interceptor;", | 12216 "^": "Interceptor;", |
(...skipping 504 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
12582 } | 12721 } |
12583 return copy; | 12722 return copy; |
12584 } | 12723 } |
12585 throw H.wrapException(P.UnimplementedError$("structured clone of other typ
e")); | 12724 throw H.wrapException(P.UnimplementedError$("structured clone of other typ
e")); |
12586 } | 12725 } |
12587 }, | 12726 }, |
12588 _convertDartToNative_PrepareForStructuredClone_walk_closure: { | 12727 _convertDartToNative_PrepareForStructuredClone_walk_closure: { |
12589 "^": "Closure:41;_html_common$_box_0,_captured_walk_8", | 12728 "^": "Closure:41;_html_common$_box_0,_captured_walk_8", |
12590 call$2: [function(key, value) { | 12729 call$2: [function(key, value) { |
12591 this._html_common$_box_0._captured_copy_0[key] = this._captured_walk_8.cal
l$1(value); | 12730 this._html_common$_box_0._captured_copy_0[key] = this._captured_walk_8.cal
l$1(value); |
12592 }, null, null, 4, 0, null, 35, 12, "call"] | 12731 }, null, null, 4, 0, null, 37, 16, "call"] |
12593 }, | 12732 }, |
12594 convertNativeToDart_AcceptStructuredClone_findSlot: { | 12733 convertNativeToDart_AcceptStructuredClone_findSlot: { |
12595 "^": "Closure:50;_captured_values_0,_captured_copies_1", | 12734 "^": "Closure:50;_captured_values_0,_captured_copies_1", |
12596 call$1: function(value) { | 12735 call$1: function(value) { |
12597 var t1, $length, i, t2; | 12736 var t1, $length, i, t2; |
12598 t1 = this._captured_values_0; | 12737 t1 = this._captured_values_0; |
12599 $length = t1.length; | 12738 $length = t1.length; |
12600 for (i = 0; i < $length; ++i) { | 12739 for (i = 0; i < $length; ++i) { |
12601 t2 = t1[i]; | 12740 t2 = t1[i]; |
12602 if (t2 == null ? value == null : t2 === value) | 12741 if (t2 == null ? value == null : t2 === value) |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13017 Context_split_closure: { | 13156 Context_split_closure: { |
13018 "^": "Closure:3;", | 13157 "^": "Closure:3;", |
13019 call$1: function(part) { | 13158 call$1: function(part) { |
13020 return J.get$isEmpty$asx(part) !== true; | 13159 return J.get$isEmpty$asx(part) !== true; |
13021 } | 13160 } |
13022 }, | 13161 }, |
13023 _validateArgList_closure: { | 13162 _validateArgList_closure: { |
13024 "^": "Closure:3;", | 13163 "^": "Closure:3;", |
13025 call$1: [function(arg) { | 13164 call$1: [function(arg) { |
13026 return arg == null ? "null" : "\"" + H.S(arg) + "\""; | 13165 return arg == null ? "null" : "\"" + H.S(arg) + "\""; |
13027 }, null, null, 2, 0, null, 20, "call"] | 13166 }, null, null, 2, 0, null, 22, "call"] |
13028 } | 13167 } |
13029 }], | 13168 }], |
13030 ["path.internal_style", "package:path/src/internal_style.dart", , E, { | 13169 ["path.internal_style", "package:path/src/internal_style.dart", , E, { |
13031 "^": "", | 13170 "^": "", |
13032 InternalStyle: { | 13171 InternalStyle: { |
13033 "^": "Style;", | 13172 "^": "Style;", |
13034 getRoot$1: function(path) { | 13173 getRoot$1: function(path) { |
13035 var $length = this.rootLength$1(path); | 13174 var $length = this.rootLength$1(path); |
13036 if (J.$gt$n($length, 0)) | 13175 if (J.$gt$n($length, 0)) |
13037 return J.substring$2$s(path, 0, $length); | 13176 return J.substring$2$s(path, 0, $length); |
(...skipping 368 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13406 result._contents = H.S(string); | 13545 result._contents = H.S(string); |
13407 for (i = 0; i < $length - t1.get$length(string); ++i) | 13546 for (i = 0; i < $length - t1.get$length(string); ++i) |
13408 result._contents += " "; | 13547 result._contents += " "; |
13409 t1 = result._contents; | 13548 t1 = result._contents; |
13410 return t1.charCodeAt(0) == 0 ? t1 : t1; | 13549 return t1.charCodeAt(0) == 0 ? t1 : t1; |
13411 } | 13550 } |
13412 }], | 13551 }], |
13413 ["test.multi_channel", "package:test/src/util/multi_channel.dart", , V, { | 13552 ["test.multi_channel", "package:test/src/util/multi_channel.dart", , V, { |
13414 "^": "", | 13553 "^": "", |
13415 _MultiChannel: { | 13554 _MultiChannel: { |
13416 "^": "StreamChannelMixin;_innerStream,_innerSink,_innerStreamSubscription,_c
losed,_streamController,_sinkController,_streamControllers,_sinkControllers,_nex
tId", | 13555 "^": "StreamChannelMixin;_innerStream,_innerSink,_innerStreamSubscription,_s
treamController,_sinkController,_streamControllers,_sinkControllers,_nextId", |
13417 virtualChannel$1: function(id) { | 13556 virtualChannel$1: function(id) { |
13418 var t1, t2, inputId, t3, streamController, sinkController; | 13557 var t1, t2, inputId, t3, streamController, sinkController; |
13419 t1 = {}; | 13558 t1 = {}; |
13420 if (this._innerStream == null) | 13559 if (this._innerStream == null) |
13421 throw H.wrapException(P.StateError$("The underlying channel is closed.")
); | 13560 throw H.wrapException(P.StateError$("The underlying channel is closed.")
); |
13422 t1._captured_inputId_0 = null; | 13561 t1._captured_inputId_0 = null; |
13423 t1._captured_outputId_1 = null; | 13562 t1._captured_outputId_1 = null; |
13424 if (id != null) { | 13563 if (id != null) { |
13425 t1._captured_inputId_0 = id; | 13564 t1._captured_inputId_0 = id; |
13426 t1._captured_outputId_1 = H.intTypeCast(id) + 1; | 13565 t1._captured_outputId_1 = H.intTypeCast(id) + 1; |
(...skipping 11 matching lines...) Expand all Loading... |
13438 throw H.wrapException(P.ArgumentError$("A virtual channel with id " + H.
S(id) + " already exists.")); | 13577 throw H.wrapException(P.ArgumentError$("A virtual channel with id " + H.
S(id) + " already exists.")); |
13439 streamController = P.StreamController_StreamController(null, null, null, n
ull, true, null); | 13578 streamController = P.StreamController_StreamController(null, null, null, n
ull, true, null); |
13440 sinkController = P.StreamController_StreamController(null, null, null, nul
l, true, null); | 13579 sinkController = P.StreamController_StreamController(null, null, null, nul
l, true, null); |
13441 t3.$indexSet(0, t1._captured_inputId_0, streamController); | 13580 t3.$indexSet(0, t1._captured_inputId_0, streamController); |
13442 this._sinkControllers.$indexSet(0, t1._captured_inputId_0, sinkController)
; | 13581 this._sinkControllers.$indexSet(0, t1._captured_inputId_0, sinkController)
; |
13443 H.setRuntimeTypeInfo(new P._ControllerStream(sinkController), [null]).list
en$2$onDone(new V._MultiChannel_virtualChannel_closure(t1, this), new V._MultiCh
annel_virtualChannel_closure0(t1, this)); | 13582 H.setRuntimeTypeInfo(new P._ControllerStream(sinkController), [null]).list
en$2$onDone(new V._MultiChannel_virtualChannel_closure(t1, this), new V._MultiCh
annel_virtualChannel_closure0(t1, this)); |
13444 return new V.VirtualChannel(this, t1._captured_outputId_1, H.setRuntimeTyp
eInfo(new P._ControllerStream(streamController), [null]), H.setRuntimeTypeInfo(n
ew P._StreamSinkWrapper(sinkController), [H.getRuntimeTypeArgument(sinkControlle
r, "_StreamController", 0)])); | 13583 return new V.VirtualChannel(this, t1._captured_outputId_1, H.setRuntimeTyp
eInfo(new P._ControllerStream(streamController), [null]), H.setRuntimeTypeInfo(n
ew P._StreamSinkWrapper(sinkController), [H.getRuntimeTypeArgument(sinkControlle
r, "_StreamController", 0)])); |
13445 }, | 13584 }, |
13446 _closeChannel$2: function(inputId, outputId) { | 13585 _closeChannel$2: function(inputId, outputId) { |
13447 var t1, t2; | 13586 var t1, t2; |
13448 if (this._closed) | |
13449 return; | |
13450 this._closed = true; | |
13451 t1 = this._streamControllers; | 13587 t1 = this._streamControllers; |
13452 J.close$0$x(t1.remove$1(0, inputId)); | 13588 J.close$0$x(t1.remove$1(0, inputId)); |
13453 J.close$0$x(this._sinkControllers.remove$1(0, inputId)); | 13589 J.close$0$x(this._sinkControllers.remove$1(0, inputId)); |
13454 t2 = this._innerSink; | 13590 t2 = this._innerSink; |
13455 if (t2 == null) | 13591 if (t2 == null) |
13456 return; | 13592 return; |
13457 t2 = t2._async$_target; | 13593 t2 = t2._async$_target; |
13458 if (t2._state >= 4) | 13594 if (t2._state >= 4) |
13459 H.throwExpression(t2._badEventState$0()); | 13595 H.throwExpression(t2._badEventState$0()); |
13460 t2._async$_add$1([outputId]); | 13596 t2._async$_add$1([outputId]); |
(...skipping 11 matching lines...) Expand all Loading... |
13472 _MultiChannel$2: function(_innerStream, _innerSink) { | 13608 _MultiChannel$2: function(_innerStream, _innerSink) { |
13473 var t1, t2; | 13609 var t1, t2; |
13474 t1 = this._streamController; | 13610 t1 = this._streamController; |
13475 this._streamControllers.$indexSet(0, 0, t1); | 13611 this._streamControllers.$indexSet(0, 0, t1); |
13476 t2 = this._sinkController; | 13612 t2 = this._sinkController; |
13477 this._sinkControllers.$indexSet(0, 0, t2); | 13613 this._sinkControllers.$indexSet(0, 0, t2); |
13478 H.setRuntimeTypeInfo(new P._ControllerStream(t2), [null]).listen$2$onDone(
new V._MultiChannel_closure(this), new V._MultiChannel_closure0(this)); | 13614 H.setRuntimeTypeInfo(new P._ControllerStream(t2), [null]).listen$2$onDone(
new V._MultiChannel_closure(this), new V._MultiChannel_closure0(this)); |
13479 this._innerStreamSubscription = this._innerStream.listen$3$onDone$onError(
new V._MultiChannel_closure1(this), this.get$_closeInnerChannel(), t1.get$addErr
or()); | 13615 this._innerStreamSubscription = this._innerStream.listen$3$onDone$onError(
new V._MultiChannel_closure1(this), this.get$_closeInnerChannel(), t1.get$addErr
or()); |
13480 }, | 13616 }, |
13481 static: {_MultiChannel$: function(_innerStream, _innerSink) { | 13617 static: {_MultiChannel$: function(_innerStream, _innerSink) { |
13482 var t1 = new V._MultiChannel(_innerStream, _innerSink, null, false, P.St
reamController_StreamController(null, null, null, null, true, null), P.StreamCon
troller_StreamController(null, null, null, null, true, null), P.LinkedHashMap_Li
nkedHashMap(null, null, null, P.$int, P.StreamController), P.LinkedHashMap_Linke
dHashMap(null, null, null, P.$int, P.StreamController), 1); | 13618 var t1 = new V._MultiChannel(_innerStream, _innerSink, null, P.StreamCon
troller_StreamController(null, null, null, null, true, null), P.StreamController
_StreamController(null, null, null, null, true, null), P.LinkedHashMap_LinkedHas
hMap(null, null, null, P.$int, P.StreamController), P.LinkedHashMap_LinkedHashMa
p(null, null, null, P.$int, P.StreamController), 1); |
13483 t1._MultiChannel$2(_innerStream, _innerSink); | 13619 t1._MultiChannel$2(_innerStream, _innerSink); |
13484 return t1; | 13620 return t1; |
13485 }} | 13621 }} |
13486 }, | 13622 }, |
13487 _MultiChannel_closure: { | 13623 _MultiChannel_closure: { |
13488 "^": "Closure:3;_multi_channel$_captured_this_0", | 13624 "^": "Closure:3;_multi_channel$_captured_this_0", |
13489 call$1: [function(message) { | 13625 call$1: [function(message) { |
13490 var t1 = this._multi_channel$_captured_this_0._innerSink._async$_target; | 13626 var t1 = this._multi_channel$_captured_this_0._innerSink._async$_target; |
13491 if (t1._state >= 4) | 13627 if (t1._state >= 4) |
13492 H.throwExpression(t1._badEventState$0()); | 13628 H.throwExpression(t1._badEventState$0()); |
13493 t1._async$_add$1([0, message]); | 13629 t1._async$_add$1([0, message]); |
13494 return; | 13630 return; |
13495 }, null, null, 2, 0, null, 41, "call"] | 13631 }, null, null, 2, 0, null, 43, "call"] |
13496 }, | 13632 }, |
13497 _MultiChannel_closure0: { | 13633 _MultiChannel_closure0: { |
13498 "^": "Closure:0;_captured_this_1", | 13634 "^": "Closure:0;_captured_this_1", |
13499 call$0: [function() { | 13635 call$0: [function() { |
13500 return this._captured_this_1._closeChannel$2(0, 0); | 13636 return this._captured_this_1._closeChannel$2(0, 0); |
13501 }, null, null, 0, 0, null, "call"] | 13637 }, null, null, 0, 0, null, "call"] |
13502 }, | 13638 }, |
13503 _MultiChannel_closure1: { | 13639 _MultiChannel_closure1: { |
13504 "^": "Closure:3;_multi_channel$_captured_this_2", | 13640 "^": "Closure:3;_multi_channel$_captured_this_2", |
13505 call$1: [function(message) { | 13641 call$1: [function(message) { |
13506 var t1, id, t2, sink; | 13642 var t1, id, t2, sink; |
13507 t1 = J.getInterceptor$asx(message); | 13643 t1 = J.getInterceptor$asx(message); |
13508 id = t1.$index(message, 0); | 13644 id = t1.$index(message, 0); |
13509 t2 = this._multi_channel$_captured_this_2; | 13645 t2 = this._multi_channel$_captured_this_2; |
13510 sink = t2._streamControllers.$index(0, id); | 13646 sink = t2._streamControllers.$index(0, id); |
13511 if (sink == null) | 13647 if (sink == null) |
13512 return; | 13648 return; |
13513 if (J.$gt$n(t1.get$length(message), 1)) { | 13649 if (J.$gt$n(t1.get$length(message), 1)) { |
13514 J.add$1$ax(sink, t1.$index(message, 1)); | 13650 J.add$1$ax(sink, t1.$index(message, 1)); |
13515 return; | 13651 return; |
13516 } | 13652 } |
13517 J.close$0$x(t2._sinkControllers.$index(0, id)); | 13653 J.close$0$x(t2._sinkControllers.$index(0, id)); |
13518 }, null, null, 2, 0, null, 41, "call"] | 13654 }, null, null, 2, 0, null, 43, "call"] |
13519 }, | 13655 }, |
13520 _MultiChannel_virtualChannel_closure: { | 13656 _MultiChannel_virtualChannel_closure: { |
13521 "^": "Closure:3;_multi_channel$_box_0,_captured_this_1", | 13657 "^": "Closure:3;_multi_channel$_box_0,_captured_this_1", |
13522 call$1: [function(message) { | 13658 call$1: [function(message) { |
13523 var t1, t2; | 13659 var t1, t2; |
13524 t1 = this._captured_this_1._innerSink; | 13660 t1 = this._captured_this_1._innerSink; |
13525 t2 = this._multi_channel$_box_0._captured_outputId_1; | 13661 t2 = this._multi_channel$_box_0._captured_outputId_1; |
13526 t1 = t1._async$_target; | 13662 t1 = t1._async$_target; |
13527 if (t1._state >= 4) | 13663 if (t1._state >= 4) |
13528 H.throwExpression(t1._badEventState$0()); | 13664 H.throwExpression(t1._badEventState$0()); |
13529 t1._async$_add$1([t2, message]); | 13665 t1._async$_add$1([t2, message]); |
13530 return; | 13666 return; |
13531 }, null, null, 2, 0, null, 41, "call"] | 13667 }, null, null, 2, 0, null, 43, "call"] |
13532 }, | 13668 }, |
13533 _MultiChannel_virtualChannel_closure0: { | 13669 _MultiChannel_virtualChannel_closure0: { |
13534 "^": "Closure:0;_multi_channel$_box_0,_multi_channel$_captured_this_2", | 13670 "^": "Closure:0;_multi_channel$_box_0,_multi_channel$_captured_this_2", |
13535 call$0: [function() { | 13671 call$0: [function() { |
13536 var t1 = this._multi_channel$_box_0; | 13672 var t1 = this._multi_channel$_box_0; |
13537 return this._multi_channel$_captured_this_2._closeChannel$2(t1._captured_i
nputId_0, t1._captured_outputId_1); | 13673 return this._multi_channel$_captured_this_2._closeChannel$2(t1._captured_i
nputId_0, t1._captured_outputId_1); |
13538 }, null, null, 0, 0, null, "call"] | 13674 }, null, null, 0, 0, null, "call"] |
13539 }, | 13675 }, |
13540 VirtualChannel: { | 13676 VirtualChannel: { |
13541 "^": "StreamChannelMixin;_parent,id,stream,sink" | 13677 "^": "StreamChannelMixin;_parent,id,stream,sink" |
(...skipping 17 matching lines...) Expand all Loading... |
13559 currentUrl._queryParameters = t1; | 13695 currentUrl._queryParameters = t1; |
13560 } | 13696 } |
13561 webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._collection$_map, "manager
Url"), null); | 13697 webSocket = W.WebSocket_WebSocket(J.$index$asx(t1._collection$_map, "manager
Url"), null); |
13562 inputController = P.StreamController_StreamController(null, null, null, null
, true, null); | 13698 inputController = P.StreamController_StreamController(null, null, null, null
, true, null); |
13563 t1 = H.setRuntimeTypeInfo(new W._EventStream(webSocket, "message", false), [
null]); | 13699 t1 = H.setRuntimeTypeInfo(new W._EventStream(webSocket, "message", false), [
null]); |
13564 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._target, t1._event
Type, W._wrapZone(new R._connectToServer_closure(inputController)), t1._useCaptu
re), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); | 13700 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._target, t1._event
Type, W._wrapZone(new R._connectToServer_closure(inputController)), t1._useCaptu
re), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
13565 outputController = P.StreamController_StreamController(null, null, null, nul
l, true, null); | 13701 outputController = P.StreamController_StreamController(null, null, null, nul
l, true, null); |
13566 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list
en$1(new R._connectToServer_closure0(webSocket)); | 13702 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list
en$1(new R._connectToServer_closure0(webSocket)); |
13567 return V._MultiChannel$(H.setRuntimeTypeInfo(new P._ControllerStream(inputCo
ntroller), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputControll
er), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)])); | 13703 return V._MultiChannel$(H.setRuntimeTypeInfo(new P._ControllerStream(inputCo
ntroller), [null]), H.setRuntimeTypeInfo(new P._StreamSinkWrapper(outputControll
er), [H.getRuntimeTypeArgument(outputController, "_StreamController", 0)])); |
13568 }, | 13704 }, |
13569 _connectToIframe: function(url) { | 13705 _connectToIframe: function(url, id) { |
13570 var iframe, inputController, outputController, readyCompleter, t1; | 13706 var iframe, inputController, outputController, readyCompleter, t1; |
13571 iframe = document.createElement("iframe", null); | 13707 iframe = document.createElement("iframe", null); |
| 13708 $.get$_iframes().$indexSet(0, id, iframe); |
13572 J.set$src$x(iframe, url); | 13709 J.set$src$x(iframe, url); |
13573 document.body.appendChild(iframe); | 13710 document.body.appendChild(iframe); |
13574 inputController = P.StreamController_StreamController(null, null, null, null
, true, null); | 13711 inputController = P.StreamController_StreamController(null, null, null, null
, true, null); |
13575 outputController = P.StreamController_StreamController(null, null, null, nul
l, true, null); | 13712 outputController = P.StreamController_StreamController(null, null, null, nul
l, true, null); |
13576 readyCompleter = H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeType
Info(new P._Future(0, $.Zone__current, null), [null])), [null]); | 13713 readyCompleter = H.setRuntimeTypeInfo(new P._AsyncCompleter(H.setRuntimeType
Info(new P._Future(0, $.Zone__current, null), [null])), [null]); |
13577 t1 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [nul
l]); | 13714 t1 = H.setRuntimeTypeInfo(new W._EventStream(window, "message", false), [nul
l]); |
13578 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._target, t1._event
Type, W._wrapZone(new R._connectToIframe_closure(iframe, inputController, readyC
ompleter)), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); | 13715 H.setRuntimeTypeInfo(new W._EventStreamSubscription(0, t1._target, t1._event
Type, W._wrapZone(new R._connectToIframe_closure(iframe, inputController, readyC
ompleter)), t1._useCapture), [H.getTypeArgumentByIndex(t1, 0)])._tryResume$0(); |
13579 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list
en$1(new R._connectToIframe_closure0(iframe, readyCompleter)); | 13716 H.setRuntimeTypeInfo(new P._ControllerStream(outputController), [null]).list
en$1(new R._connectToIframe_closure0(iframe, readyCompleter)); |
13580 return H.setRuntimeTypeInfo(new A._StreamChannel(H.setRuntimeTypeInfo(new P.
_ControllerStream(inputController), [null]), H.setRuntimeTypeInfo(new P._StreamS
inkWrapper(outputController), [H.getRuntimeTypeArgument(outputController, "_Stre
amController", 0)])), [null]); | 13717 return H.setRuntimeTypeInfo(new A._StreamChannel(H.setRuntimeTypeInfo(new P.
_ControllerStream(inputController), [null]), H.setRuntimeTypeInfo(new P._StreamS
inkWrapper(outputController), [H.getRuntimeTypeArgument(outputController, "_Stre
amController", 0)])), [null]); |
13581 }, | 13718 }, |
13582 main_closure: { | 13719 main_closure: { |
13583 "^": "Closure:0;", | 13720 "^": "Closure:0;", |
13584 call$0: [function() { | 13721 call$0: [function() { |
13585 var serverChannel = R._connectToServer(); | 13722 var serverChannel = R._connectToServer(); |
13586 H.setRuntimeTypeInfo(new P._ControllerStream(serverChannel._streamControll
er), [null]).listen$1(new R.main__closure(serverChannel)); | 13723 H.setRuntimeTypeInfo(new P._ControllerStream(serverChannel._streamControll
er), [null]).listen$1(new R.main__closure(serverChannel)); |
13587 }, null, null, 0, 0, null, "call"] | 13724 }, null, null, 0, 0, null, "call"] |
13588 }, | 13725 }, |
13589 main__closure: { | 13726 main__closure: { |
13590 "^": "Closure:3;_captured_serverChannel_0", | 13727 "^": "Closure:3;_captured_serverChannel_0", |
13591 call$1: [function(message) { | 13728 call$1: [function(message) { |
13592 var t1, suiteChannel, iframeChannel; | 13729 var t1, suiteChannel, iframeChannel; |
13593 t1 = J.getInterceptor$asx(message); | 13730 t1 = J.getInterceptor$asx(message); |
13594 suiteChannel = this._captured_serverChannel_0.virtualChannel$1(t1.$index(m
essage, "channel")); | 13731 if (J.$eq(t1.$index(message, "command"), "loadSuite")) { |
13595 iframeChannel = R._connectToIframe(t1.$index(message, "url")); | 13732 suiteChannel = this._captured_serverChannel_0.virtualChannel$1(t1.$index
(message, "channel")); |
13596 suiteChannel.stream.pipe$1(iframeChannel.sink); | 13733 iframeChannel = R._connectToIframe(t1.$index(message, "url"), t1.$index(
message, "id")); |
13597 iframeChannel.stream.pipe$1(suiteChannel.sink); | 13734 suiteChannel.stream.pipe$1(iframeChannel.sink); |
13598 }, null, null, 2, 0, null, 41, "call"] | 13735 iframeChannel.stream.pipe$1(suiteChannel.sink); |
| 13736 } else |
| 13737 J.remove$0$ax($.get$_iframes().$index(0, t1.$index(message, "id"))); |
| 13738 }, null, null, 2, 0, null, 43, "call"] |
13599 }, | 13739 }, |
13600 main_closure0: { | 13740 main_closure0: { |
13601 "^": "Closure:41;", | 13741 "^": "Closure:41;", |
13602 call$2: [function(error, stackTrace) { | 13742 call$2: [function(error, stackTrace) { |
13603 P.print(H.S(error) + "\n" + H.S(R.Trace_Trace$from(stackTrace).get$terse()
)); | 13743 P.print(H.S(error) + "\n" + H.S(R.Trace_Trace$from(stackTrace).get$terse()
)); |
13604 }, null, null, 4, 0, null, 14, 15, "call"] | 13744 }, null, null, 4, 0, null, 12, 13, "call"] |
13605 }, | 13745 }, |
13606 _connectToServer_closure: { | 13746 _connectToServer_closure: { |
13607 "^": "Closure:3;_captured_inputController_0", | 13747 "^": "Closure:3;_captured_inputController_0", |
13608 call$1: [function(message) { | 13748 call$1: [function(message) { |
13609 var t1, t2; | 13749 var t1, t2; |
13610 t1 = this._captured_inputController_0; | 13750 t1 = this._captured_inputController_0; |
13611 t2 = C.JsonCodec_null_null.decode$1(J.get$data$x(message)); | 13751 t2 = C.JsonCodec_null_null.decode$1(J.get$data$x(message)); |
13612 if (t1._state >= 4) | 13752 if (t1._state >= 4) |
13613 H.throwExpression(t1._badEventState$0()); | 13753 H.throwExpression(t1._badEventState$0()); |
13614 t1._async$_add$1(t2); | 13754 t1._async$_add$1(t2); |
13615 return; | 13755 return; |
13616 }, null, null, 2, 0, null, 41, "call"] | 13756 }, null, null, 2, 0, null, 43, "call"] |
13617 }, | 13757 }, |
13618 _connectToServer_closure0: { | 13758 _connectToServer_closure0: { |
13619 "^": "Closure:3;_captured_webSocket_1", | 13759 "^": "Closure:3;_captured_webSocket_1", |
13620 call$1: [function(message) { | 13760 call$1: [function(message) { |
13621 return this._captured_webSocket_1.send(C.JsonCodec_null_null.encode$1(mess
age)); | 13761 return this._captured_webSocket_1.send(C.JsonCodec_null_null.encode$1(mess
age)); |
13622 }, null, null, 2, 0, null, 41, "call"] | 13762 }, null, null, 2, 0, null, 43, "call"] |
13623 }, | 13763 }, |
13624 _connectToIframe_closure: { | 13764 _connectToIframe_closure: { |
13625 "^": "Closure:3;_captured_iframe_0,_captured_inputController_1,_captured_rea
dyCompleter_2", | 13765 "^": "Closure:3;_captured_iframe_0,_captured_inputController_1,_captured_rea
dyCompleter_2", |
13626 call$1: [function(message) { | 13766 call$1: [function(message) { |
13627 var t1, t2, t3; | 13767 var t1, t2, t3; |
13628 t1 = J.getInterceptor$x(message); | 13768 t1 = J.getInterceptor$x(message); |
13629 t2 = t1.get$origin(message); | 13769 t2 = t1.get$origin(message); |
13630 t3 = window.location; | 13770 t3 = window.location; |
13631 if (t2 !== (t3 && C.Location_methods).get$origin(t3)) | 13771 if (t2 !== (t3 && C.Location_methods).get$origin(t3)) |
13632 return; | 13772 return; |
13633 if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), J.get$src$x(this._c
aptured_iframe_0))) | 13773 if (!J.$eq(J.$index$asx(t1.get$data(message), "href"), J.get$src$x(this._c
aptured_iframe_0))) |
13634 return; | 13774 return; |
13635 t1.stopPropagation$0(message); | 13775 t1.stopPropagation$0(message); |
13636 t2 = this._captured_inputController_1; | 13776 t2 = this._captured_inputController_1; |
13637 t1 = J.$index$asx(t1.get$data(message), "data"); | 13777 t1 = J.$index$asx(t1.get$data(message), "data"); |
13638 if (t2._state >= 4) | 13778 if (t2._state >= 4) |
13639 H.throwExpression(t2._badEventState$0()); | 13779 H.throwExpression(t2._badEventState$0()); |
13640 t2._async$_add$1(t1); | 13780 t2._async$_add$1(t1); |
13641 t1 = this._captured_readyCompleter_2; | 13781 t1 = this._captured_readyCompleter_2; |
13642 if (t1.future._state === 0) | 13782 if (t1.future._state === 0) |
13643 t1.complete$0(0); | 13783 t1.complete$0(0); |
13644 }, null, null, 2, 0, null, 41, "call"] | 13784 }, null, null, 2, 0, null, 43, "call"] |
13645 }, | 13785 }, |
13646 _connectToIframe_closure0: { | 13786 _connectToIframe_closure0: { |
13647 "^": "Closure:3;_captured_iframe_3,_captured_readyCompleter_4", | 13787 "^": "Closure:53;_captured_iframe_3,_captured_readyCompleter_4", |
13648 call$1: [function(message) { | 13788 call$1: [function(message) { |
13649 this._captured_readyCompleter_4.future.then$1(new R._connectToIframe__clos
ure(this._captured_iframe_3, message)); | 13789 var $goto = 0, completer = new P.Completer_Completer(), handler = 1, curre
ntError, $self = this, t1, t2; |
13650 }, null, null, 2, 0, null, 41, "call"] | 13790 function call$1(errorCode, result) { |
13651 }, | 13791 if (errorCode === 1) { |
13652 _connectToIframe__closure: { | 13792 currentError = result; |
13653 "^": "Closure:3;_captured_iframe_5,_captured_message_6", | 13793 $goto = handler; |
13654 call$1: [function(_) { | 13794 } |
13655 var t1, t2; | 13795 while (true) |
13656 t1 = J.get$contentWindow$x(this._captured_iframe_5); | 13796 switch ($goto) { |
13657 t2 = window.location; | 13797 case 0: |
13658 return J.postMessage$2$x(t1, this._captured_message_6, (t2 && C.Location_m
ethods).get$origin(t2)); | 13798 // Function start |
13659 }, null, null, 2, 0, null, 26, "call"] | 13799 $goto = 2; |
| 13800 return H.asyncHelper($self._captured_readyCompleter_4.future, call
$1, completer); |
| 13801 case 2: |
| 13802 // returning from await. |
| 13803 t1 = J.get$contentWindow$x($self._captured_iframe_3); |
| 13804 t2 = window.location; |
| 13805 J.postMessage$2$x(t1, message, (t2 && C.Location_methods).get$orig
in(t2)); |
| 13806 // implicit return |
| 13807 return H.asyncHelper(null, 0, completer, null); |
| 13808 case 1: |
| 13809 // rethrow |
| 13810 return H.asyncHelper(currentError, 1, completer); |
| 13811 } |
| 13812 } |
| 13813 return H.asyncHelper(null, call$1, completer, null); |
| 13814 }, null, null, 2, 0, null, 43, "call"] |
13660 } | 13815 } |
13661 }, | 13816 }, |
13662 1], | 13817 1], |
13663 ["test.stream_channel", "package:test/src/util/stream_channel.dart", , A, { | 13818 ["test.stream_channel", "package:test/src/util/stream_channel.dart", , A, { |
13664 "^": "", | 13819 "^": "", |
13665 _StreamChannel: { | 13820 _StreamChannel: { |
13666 "^": "StreamChannelMixin;stream,sink" | 13821 "^": "StreamChannelMixin;stream,sink" |
13667 }, | 13822 }, |
13668 StreamChannelMixin: { | 13823 StreamChannelMixin: { |
13669 "^": "Object;" | 13824 "^": "Object;" |
(...skipping 15 matching lines...) Expand all Loading... |
13685 newFrames = []; | 13840 newFrames = []; |
13686 for (t2 = this.frames, t2 = t2.get$reversed(t2), t2 = new H.ListIterator(t
2, t2.get$length(t2), 0, null); t2.moveNext$0();) { | 13841 for (t2 = this.frames, t2 = t2.get$reversed(t2), t2 = new H.ListIterator(t
2, t2.get$length(t2), 0, null); t2.moveNext$0();) { |
13687 frame = t2.__internal$_current; | 13842 frame = t2.__internal$_current; |
13688 if (t1._captured_predicate_0.call$1(frame) !== true) | 13843 if (t1._captured_predicate_0.call$1(frame) !== true) |
13689 newFrames.push(frame); | 13844 newFrames.push(frame); |
13690 else if (newFrames.length === 0 || t1._captured_predicate_0.call$1(C.JSA
rray_methods.get$last(newFrames)) !== true) | 13845 else if (newFrames.length === 0 || t1._captured_predicate_0.call$1(C.JSA
rray_methods.get$last(newFrames)) !== true) |
13691 newFrames.push(new S.Frame(frame.get$uri(), frame.get$line(), frame.ge
t$column(), frame.get$member())); | 13846 newFrames.push(new S.Frame(frame.get$uri(), frame.get$line(), frame.ge
t$column(), frame.get$member())); |
13692 } | 13847 } |
13693 if (terse) { | 13848 if (terse) { |
13694 newFrames = H.setRuntimeTypeInfo(new H.MappedListIterable(newFrames, new
R.Trace_foldFrames_closure0(t1)), [null, null]).toList$0(0); | 13849 newFrames = H.setRuntimeTypeInfo(new H.MappedListIterable(newFrames, new
R.Trace_foldFrames_closure0(t1)), [null, null]).toList$0(0); |
13695 if (C.JSArray_methods.get$first(newFrames).get$isCore() && newFrames.len
gth > 1) | 13850 if (newFrames.length > 1 && C.JSArray_methods.get$first(newFrames).get$i
sCore()) |
13696 C.JSArray_methods.removeAt$1(newFrames, 0); | 13851 C.JSArray_methods.removeAt$1(newFrames, 0); |
13697 } | 13852 } |
13698 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.setRu
ntimeTypeInfo(new H.ReversedListIterable(newFrames), [H.getTypeArgumentByIndex(n
ewFrames, 0)]).toList$0(0)), [S.Frame])); | 13853 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.setRu
ntimeTypeInfo(new H.ReversedListIterable(newFrames), [H.getTypeArgumentByIndex(n
ewFrames, 0)]).toList$0(0)), [S.Frame])); |
13699 }, | 13854 }, |
13700 toString$0: function(_) { | 13855 toString$0: function(_) { |
13701 var t1 = this.frames; | 13856 var t1 = this.frames; |
13702 return t1.map$1(t1, new R.Trace_toString_closure(t1.map$1(t1, new R.Trace_
toString_closure0()).fold$2(0, 0, P.max$closure()))).join$0(0); | 13857 return t1.map$1(t1, new R.Trace_toString_closure(t1.map$1(t1, new R.Trace_
toString_closure0()).fold$2(0, 0, P.max$closure()))).join$0(0); |
13703 }, | 13858 }, |
13704 static: {Trace_Trace$from: function(trace) { | 13859 static: {Trace_Trace$from: function(trace) { |
13705 if (trace == null) | 13860 if (trace == null) |
(...skipping 17 matching lines...) Expand all Loading... |
13723 return t1; | 13878 return t1; |
13724 } | 13879 } |
13725 if (J.contains$1$asx(trace, $.get$_firefoxSafariTrace()) === true) { | 13880 if (J.contains$1$asx(trace, $.get$_firefoxSafariTrace()) === true) { |
13726 t1 = R.Trace$parseFirefox(trace); | 13881 t1 = R.Trace$parseFirefox(trace); |
13727 return t1; | 13882 return t1; |
13728 } | 13883 } |
13729 if (J.contains$1$asx(trace, $.get$_friendlyTrace()) === true) { | 13884 if (J.contains$1$asx(trace, $.get$_friendlyTrace()) === true) { |
13730 t1 = R.Trace$parseFriendly(trace); | 13885 t1 = R.Trace$parseFriendly(trace); |
13731 return t1; | 13886 return t1; |
13732 } | 13887 } |
13733 t1 = R.Trace$parseVM(trace); | 13888 t1 = H.setRuntimeTypeInfo(new P.UnmodifiableListView(C.JSArray_methods
.toList$0(R.Trace__parseVM(trace))), [S.Frame]); |
13734 return t1; | 13889 return new R.Trace(t1); |
13735 } catch (exception) { | 13890 } catch (exception) { |
13736 t1 = H.unwrapException(exception); | 13891 t1 = H.unwrapException(exception); |
13737 if (t1 instanceof P.FormatException) { | 13892 if (t1 instanceof P.FormatException) { |
13738 error = t1; | 13893 error = t1; |
13739 throw H.wrapException(P.FormatException$(H.S(J.get$message$x(error))
+ "\nStack trace:\n" + H.S(trace), null, null)); | 13894 throw H.wrapException(P.FormatException$(H.S(J.get$message$x(error))
+ "\nStack trace:\n" + H.S(trace), null, null)); |
13740 } else | 13895 } else |
13741 throw exception; | 13896 throw exception; |
13742 } | 13897 } |
13743 }, Trace$parseVM: function(trace) { | 13898 }, Trace__parseVM: function(trace) { |
13744 var t1 = J.trim$0$s(trace).split("\n"); | 13899 var lines, $frames; |
13745 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseVM_cl
osure()), [H.getTypeArgumentByIndex(t1, 0)]); | 13900 lines = J.trim$0$s(trace).split("\n"); |
13746 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map
pedIterable_MappedIterable(t1, new R.Trace$parseVM_closure0(), H.getRuntimeTypeA
rgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame])); | 13901 $frames = H.setRuntimeTypeInfo(new H.MappedListIterable(H.SubListIterabl
e$(lines, 0, lines.length - 1, H.getTypeArgumentByIndex(lines, 0)), new R.Trace_
_parseVM_closure()), [null, null]).toList$0(0); |
| 13902 if (!J.endsWith$1$s(C.JSArray_methods.get$last(lines), ".da")) |
| 13903 C.JSArray_methods.add$1($frames, S.Frame_Frame$parseVM(C.JSArray_metho
ds.get$last(lines))); |
| 13904 return $frames; |
13747 }, Trace$parseV8: function(trace) { | 13905 }, Trace$parseV8: function(trace) { |
13748 var t1 = J.split$1$s(trace, "\n"); | 13906 var t1 = J.split$1$s(trace, "\n"); |
13749 t1 = H.SubListIterable$(t1, 1, null, H.getTypeArgumentByIndex(t1, 0)); | 13907 t1 = H.SubListIterable$(t1, 1, null, H.getTypeArgumentByIndex(t1, 0)); |
13750 t1 = t1.super$IterableBase$skipWhile$1(t1, new R.Trace$parseV8_closure()
); | 13908 t1 = t1.super$IterableBase$skipWhile$1(t1, new R.Trace$parseV8_closure()
); |
13751 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map
pedIterable_MappedIterable(t1, new R.Trace$parseV8_closure0(), H.getRuntimeTypeA
rgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame])); | 13909 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map
pedIterable_MappedIterable(t1, new R.Trace$parseV8_closure0(), H.getRuntimeTypeA
rgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame])); |
13752 }, Trace$parseJSCore: function(trace) { | 13910 }, Trace$parseJSCore: function(trace) { |
13753 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.set
RuntimeTypeInfo(new H.MappedListIterable(J.split$1$s(trace, "\n"), new R.Trace$p
arseJSCore_closure()), [null, null]).toList$0(0)), [S.Frame])); | 13911 var t1 = J.split$1$s(trace, "\n"); |
| 13912 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseJSCor
e_closure()), [H.getTypeArgumentByIndex(t1, 0)]); |
| 13913 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map
pedIterable_MappedIterable(t1, new R.Trace$parseJSCore_closure0(), H.getRuntimeT
ypeArgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame])); |
13754 }, Trace$parseFirefox: function(trace) { | 13914 }, Trace$parseFirefox: function(trace) { |
13755 var t1 = J.trim$0$s(trace).split("\n"); | 13915 var t1 = J.trim$0$s(trace).split("\n"); |
13756 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseFiref
ox_closure()), [H.getTypeArgumentByIndex(t1, 0)]); | 13916 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseFiref
ox_closure()), [H.getTypeArgumentByIndex(t1, 0)]); |
13757 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map
pedIterable_MappedIterable(t1, new R.Trace$parseFirefox_closure0(), H.getRuntime
TypeArgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame])); | 13917 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map
pedIterable_MappedIterable(t1, new R.Trace$parseFirefox_closure0(), H.getRuntime
TypeArgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame])); |
13758 }, Trace$parseFriendly: function(trace) { | 13918 }, Trace$parseFriendly: function(trace) { |
13759 var t1 = J.trim$0$s(trace).split("\n"); | 13919 var t1 = J.getInterceptor$asx(trace); |
13760 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseFrien
dly_closure()), [H.getTypeArgumentByIndex(t1, 0)]); | 13920 if (t1.get$isEmpty(trace) === true) |
13761 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(H.Map
pedIterable_MappedIterable(t1, new R.Trace$parseFriendly_closure0(), H.getRuntim
eTypeArgument(t1, "IterableBase", 0), null).toList$0(0)), [S.Frame])); | 13921 t1 = []; |
| 13922 else { |
| 13923 t1 = t1.trim$0(trace).split("\n"); |
| 13924 t1 = H.setRuntimeTypeInfo(new H.WhereIterable(t1, new R.Trace$parseFri
endly_closure()), [H.getTypeArgumentByIndex(t1, 0)]); |
| 13925 t1 = H.MappedIterable_MappedIterable(t1, new R.Trace$parseFriendly_clo
sure0(), H.getRuntimeTypeArgument(t1, "IterableBase", 0), null); |
| 13926 } |
| 13927 return new R.Trace(H.setRuntimeTypeInfo(new P.UnmodifiableListView(J.toL
ist$0$ax(t1)), [S.Frame])); |
13762 }} | 13928 }} |
13763 }, | 13929 }, |
13764 Trace_Trace$from_closure: { | 13930 Trace_Trace$from_closure: { |
13765 "^": "Closure:0;_captured_trace_0", | 13931 "^": "Closure:0;_captured_trace_0", |
13766 call$0: function() { | 13932 call$0: function() { |
13767 return R.Trace_Trace$parse(J.toString$0(this._captured_trace_0)); | 13933 return R.Trace_Trace$parse(J.toString$0(this._captured_trace_0)); |
13768 } | 13934 } |
13769 }, | 13935 }, |
13770 Trace$parseVM_closure: { | 13936 Trace__parseVM_closure: { |
13771 "^": "Closure:3;", | |
13772 call$1: function(line) { | |
13773 return J.get$isNotEmpty$asx(line); | |
13774 } | |
13775 }, | |
13776 Trace$parseVM_closure0: { | |
13777 "^": "Closure:3;", | 13937 "^": "Closure:3;", |
13778 call$1: [function(line) { | 13938 call$1: [function(line) { |
13779 return S.Frame_Frame$parseVM(line); | 13939 return S.Frame_Frame$parseVM(line); |
13780 }, null, null, 2, 0, null, 23, "call"] | 13940 }, null, null, 2, 0, null, 25, "call"] |
13781 }, | 13941 }, |
13782 Trace$parseV8_closure: { | 13942 Trace$parseV8_closure: { |
13783 "^": "Closure:3;", | 13943 "^": "Closure:3;", |
13784 call$1: function(line) { | 13944 call$1: function(line) { |
13785 return !J.startsWith$1$s(line, $.get$_v8TraceLine()); | 13945 return !J.startsWith$1$s(line, $.get$_v8TraceLine()); |
13786 } | 13946 } |
13787 }, | 13947 }, |
13788 Trace$parseV8_closure0: { | 13948 Trace$parseV8_closure0: { |
13789 "^": "Closure:3;", | 13949 "^": "Closure:3;", |
13790 call$1: [function(line) { | 13950 call$1: [function(line) { |
13791 return S.Frame_Frame$parseV8(line); | 13951 return S.Frame_Frame$parseV8(line); |
13792 }, null, null, 2, 0, null, 23, "call"] | 13952 }, null, null, 2, 0, null, 25, "call"] |
13793 }, | 13953 }, |
13794 Trace$parseJSCore_closure: { | 13954 Trace$parseJSCore_closure: { |
13795 "^": "Closure:3;", | 13955 "^": "Closure:3;", |
| 13956 call$1: function(line) { |
| 13957 return !J.$eq(line, "\tat "); |
| 13958 } |
| 13959 }, |
| 13960 Trace$parseJSCore_closure0: { |
| 13961 "^": "Closure:3;", |
13796 call$1: [function(line) { | 13962 call$1: [function(line) { |
13797 return S.Frame_Frame$parseV8(line); | 13963 return S.Frame_Frame$parseV8(line); |
13798 }, null, null, 2, 0, null, 23, "call"] | 13964 }, null, null, 2, 0, null, 25, "call"] |
13799 }, | 13965 }, |
13800 Trace$parseFirefox_closure: { | 13966 Trace$parseFirefox_closure: { |
13801 "^": "Closure:3;", | 13967 "^": "Closure:3;", |
13802 call$1: function(line) { | 13968 call$1: function(line) { |
13803 var t1 = J.getInterceptor$asx(line); | 13969 var t1 = J.getInterceptor$asx(line); |
13804 return t1.get$isNotEmpty(line) && !t1.$eq(line, "[native code]"); | 13970 return t1.get$isNotEmpty(line) && !t1.$eq(line, "[native code]"); |
13805 } | 13971 } |
13806 }, | 13972 }, |
13807 Trace$parseFirefox_closure0: { | 13973 Trace$parseFirefox_closure0: { |
13808 "^": "Closure:3;", | 13974 "^": "Closure:3;", |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
13841 return H.ioore(t1, 5); | 14007 return H.ioore(t1, 5); |
13842 t2 = t1[5]; | 14008 t2 = t1[5]; |
13843 if (t2 == null || J.$eq(t2, "")) | 14009 if (t2 == null || J.$eq(t2, "")) |
13844 column = null; | 14010 column = null; |
13845 else { | 14011 else { |
13846 if (5 >= t1.length) | 14012 if (5 >= t1.length) |
13847 return H.ioore(t1, 5); | 14013 return H.ioore(t1, 5); |
13848 column = H.Primitives_parseInt(t1[5], null, null); | 14014 column = H.Primitives_parseInt(t1[5], null, null); |
13849 } | 14015 } |
13850 return new S.Frame(uri, line, column, member); | 14016 return new S.Frame(uri, line, column, member); |
13851 }, null, null, 2, 0, null, 23, "call"] | 14017 }, null, null, 2, 0, null, 25, "call"] |
13852 }, | 14018 }, |
13853 Trace$parseFriendly_closure: { | 14019 Trace$parseFriendly_closure: { |
13854 "^": "Closure:3;", | 14020 "^": "Closure:3;", |
13855 call$1: function(line) { | 14021 call$1: function(line) { |
13856 return !J.startsWith$1$s(line, "====="); | 14022 return !J.startsWith$1$s(line, "====="); |
13857 } | 14023 } |
13858 }, | 14024 }, |
13859 Trace$parseFriendly_closure0: { | 14025 Trace$parseFriendly_closure0: { |
13860 "^": "Closure:3;", | 14026 "^": "Closure:3;", |
13861 call$1: [function(line) { | 14027 call$1: [function(line) { |
(...skipping 15 matching lines...) Expand all Loading... |
13877 return H.ioore(t1, 2); | 14043 return H.ioore(t1, 2); |
13878 t2 = t1[2]; | 14044 t2 = t1[2]; |
13879 line = t2 == null ? null : H.Primitives_parseInt(t2, null, null); | 14045 line = t2 == null ? null : H.Primitives_parseInt(t2, null, null); |
13880 if (3 >= t1.length) | 14046 if (3 >= t1.length) |
13881 return H.ioore(t1, 3); | 14047 return H.ioore(t1, 3); |
13882 t2 = t1[3]; | 14048 t2 = t1[3]; |
13883 column = t2 == null ? null : H.Primitives_parseInt(t2, null, null); | 14049 column = t2 == null ? null : H.Primitives_parseInt(t2, null, null); |
13884 if (4 >= t1.length) | 14050 if (4 >= t1.length) |
13885 return H.ioore(t1, 4); | 14051 return H.ioore(t1, 4); |
13886 return new S.Frame(uri, line, column, t1[4]); | 14052 return new S.Frame(uri, line, column, t1[4]); |
13887 }, null, null, 2, 0, null, 23, "call"] | 14053 }, null, null, 2, 0, null, 25, "call"] |
13888 }, | 14054 }, |
13889 Trace_terse_closure: { | 14055 Trace_terse_closure: { |
13890 "^": "Closure:3;", | 14056 "^": "Closure:3;", |
13891 call$1: function(_) { | 14057 call$1: function(_) { |
13892 return false; | 14058 return false; |
13893 } | 14059 } |
13894 }, | 14060 }, |
13895 Trace_foldFrames_closure: { | 14061 Trace_foldFrames_closure: { |
13896 "^": "Closure:3;_captured_oldPredicate_1", | 14062 "^": "Closure:3;_captured_oldPredicate_1", |
13897 call$1: function(frame) { | 14063 call$1: function(frame) { |
(...skipping 11 matching lines...) Expand all Loading... |
13909 Trace_foldFrames_closure0: { | 14075 Trace_foldFrames_closure0: { |
13910 "^": "Closure:3;_trace$_box_0", | 14076 "^": "Closure:3;_trace$_box_0", |
13911 call$1: [function(frame) { | 14077 call$1: [function(frame) { |
13912 var t1, t2; | 14078 var t1, t2; |
13913 if (this._trace$_box_0._captured_predicate_0.call$1(frame) !== true) | 14079 if (this._trace$_box_0._captured_predicate_0.call$1(frame) !== true) |
13914 return frame; | 14080 return frame; |
13915 t1 = frame.get$library(); | 14081 t1 = frame.get$library(); |
13916 t2 = $.get$_terseRegExp(); | 14082 t2 = $.get$_terseRegExp(); |
13917 H.checkString(""); | 14083 H.checkString(""); |
13918 return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, ""), 0,
null), null, null, frame.get$member()); | 14084 return new S.Frame(P.Uri_parse(H.stringReplaceAllUnchecked(t1, t2, ""), 0,
null), null, null, frame.get$member()); |
13919 }, null, null, 2, 0, null, 42, "call"] | 14085 }, null, null, 2, 0, null, 44, "call"] |
13920 }, | 14086 }, |
13921 Trace_toString_closure0: { | 14087 Trace_toString_closure0: { |
13922 "^": "Closure:3;", | 14088 "^": "Closure:3;", |
13923 call$1: [function(frame) { | 14089 call$1: [function(frame) { |
13924 return J.get$length$asx(J.get$location$x(frame)); | 14090 return J.get$length$asx(J.get$location$x(frame)); |
13925 }, null, null, 2, 0, null, 42, "call"] | 14091 }, null, null, 2, 0, null, 44, "call"] |
13926 }, | 14092 }, |
13927 Trace_toString_closure: { | 14093 Trace_toString_closure: { |
13928 "^": "Closure:3;_captured_longest_0", | 14094 "^": "Closure:3;_captured_longest_0", |
13929 call$1: [function(frame) { | 14095 call$1: [function(frame) { |
13930 return H.S(N.padRight(J.get$location$x(frame), this._captured_longest_0))
+ " " + H.S(frame.get$member()) + "\n"; | 14096 return H.S(N.padRight(J.get$location$x(frame), this._captured_longest_0))
+ " " + H.S(frame.get$member()) + "\n"; |
13931 }, null, null, 2, 0, null, 42, "call"] | 14097 }, null, null, 2, 0, null, 44, "call"] |
13932 } | 14098 } |
13933 }], | 14099 }], |
13934 ]; | 14100 ]; |
13935 setupProgram(dart, 0); | 14101 setupProgram(dart); |
13936 // getInterceptor methods | 14102 // getInterceptor methods |
13937 J.getInterceptor = function(receiver) { | 14103 J.getInterceptor = function(receiver) { |
13938 if (typeof receiver == "number") { | 14104 if (typeof receiver == "number") { |
13939 if (Math.floor(receiver) == receiver) | 14105 if (Math.floor(receiver) == receiver) |
13940 return J.JSInt.prototype; | 14106 return J.JSInt.prototype; |
13941 return J.JSDouble.prototype; | 14107 return J.JSDouble.prototype; |
13942 } | 14108 } |
13943 if (typeof receiver == "string") | 14109 if (typeof receiver == "string") |
13944 return J.JSString.prototype; | 14110 return J.JSString.prototype; |
13945 if (receiver == null) | 14111 if (receiver == null) |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14075 }; | 14241 }; |
14076 J.add$1$ax = function(receiver, a0) { | 14242 J.add$1$ax = function(receiver, a0) { |
14077 return J.getInterceptor$ax(receiver).add$1(receiver, a0); | 14243 return J.getInterceptor$ax(receiver).add$1(receiver, a0); |
14078 }; | 14244 }; |
14079 J.close$0$x = function(receiver) { | 14245 J.close$0$x = function(receiver) { |
14080 return J.getInterceptor$x(receiver).close$0(receiver); | 14246 return J.getInterceptor$x(receiver).close$0(receiver); |
14081 }; | 14247 }; |
14082 J.codeUnitAt$1$s = function(receiver, a0) { | 14248 J.codeUnitAt$1$s = function(receiver, a0) { |
14083 return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); | 14249 return J.getInterceptor$s(receiver).codeUnitAt$1(receiver, a0); |
14084 }; | 14250 }; |
| 14251 J.complete$1$x = function(receiver, a0) { |
| 14252 return J.getInterceptor$x(receiver).complete$1(receiver, a0); |
| 14253 }; |
14085 J.contains$1$asx = function(receiver, a0) { | 14254 J.contains$1$asx = function(receiver, a0) { |
14086 return J.getInterceptor$asx(receiver).contains$1(receiver, a0); | 14255 return J.getInterceptor$asx(receiver).contains$1(receiver, a0); |
14087 }; | 14256 }; |
14088 J.elementAt$1$ax = function(receiver, a0) { | 14257 J.elementAt$1$ax = function(receiver, a0) { |
14089 return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); | 14258 return J.getInterceptor$ax(receiver).elementAt$1(receiver, a0); |
14090 }; | 14259 }; |
| 14260 J.endsWith$1$s = function(receiver, a0) { |
| 14261 return J.getInterceptor$s(receiver).endsWith$1(receiver, a0); |
| 14262 }; |
14091 J.forEach$1$ax = function(receiver, a0) { | 14263 J.forEach$1$ax = function(receiver, a0) { |
14092 return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); | 14264 return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); |
14093 }; | 14265 }; |
14094 J.get$contentWindow$x = function(receiver) { | 14266 J.get$contentWindow$x = function(receiver) { |
14095 return J.getInterceptor$x(receiver).get$contentWindow(receiver); | 14267 return J.getInterceptor$x(receiver).get$contentWindow(receiver); |
14096 }; | 14268 }; |
14097 J.get$data$x = function(receiver) { | 14269 J.get$data$x = function(receiver) { |
14098 return J.getInterceptor$x(receiver).get$data(receiver); | 14270 return J.getInterceptor$x(receiver).get$data(receiver); |
14099 }; | 14271 }; |
14100 J.get$error$x = function(receiver) { | 14272 J.get$error$x = function(receiver) { |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14147 }; | 14319 }; |
14148 J.noSuchMethod$1 = function(receiver, a0) { | 14320 J.noSuchMethod$1 = function(receiver, a0) { |
14149 return J.getInterceptor(receiver).noSuchMethod$1(receiver, a0); | 14321 return J.getInterceptor(receiver).noSuchMethod$1(receiver, a0); |
14150 }; | 14322 }; |
14151 J.postMessage$2$x = function(receiver, a0, a1) { | 14323 J.postMessage$2$x = function(receiver, a0, a1) { |
14152 return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); | 14324 return J.getInterceptor$x(receiver).postMessage$2(receiver, a0, a1); |
14153 }; | 14325 }; |
14154 J.print$1$x = function(receiver, a0) { | 14326 J.print$1$x = function(receiver, a0) { |
14155 return J.getInterceptor$x(receiver).print$1(receiver, a0); | 14327 return J.getInterceptor$x(receiver).print$1(receiver, a0); |
14156 }; | 14328 }; |
| 14329 J.remove$0$ax = function(receiver) { |
| 14330 return J.getInterceptor$ax(receiver).remove$0(receiver); |
| 14331 }; |
14157 J.replaceAll$2$s = function(receiver, a0, a1) { | 14332 J.replaceAll$2$s = function(receiver, a0, a1) { |
14158 return J.getInterceptor$s(receiver).replaceAll$2(receiver, a0, a1); | 14333 return J.getInterceptor$s(receiver).replaceAll$2(receiver, a0, a1); |
14159 }; | 14334 }; |
14160 J.replaceFirst$2$s = function(receiver, a0, a1) { | 14335 J.replaceFirst$2$s = function(receiver, a0, a1) { |
14161 return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1); | 14336 return J.getInterceptor$s(receiver).replaceFirst$2(receiver, a0, a1); |
14162 }; | 14337 }; |
14163 J.send$1$x = function(receiver, a0) { | 14338 J.send$1$x = function(receiver, a0) { |
14164 return J.getInterceptor$x(receiver).send$1(receiver, a0); | 14339 return J.getInterceptor$x(receiver).send$1(receiver, a0); |
14165 }; | 14340 }; |
14166 J.set$src$x = function(receiver, value) { | 14341 J.set$src$x = function(receiver, value) { |
14167 return J.getInterceptor$x(receiver).set$src(receiver, value); | 14342 return J.getInterceptor$x(receiver).set$src(receiver, value); |
14168 }; | 14343 }; |
14169 J.skip$1$ax = function(receiver, a0) { | 14344 J.skip$1$ax = function(receiver, a0) { |
14170 return J.getInterceptor$ax(receiver).skip$1(receiver, a0); | 14345 return J.getInterceptor$ax(receiver).skip$1(receiver, a0); |
14171 }; | 14346 }; |
14172 J.split$1$s = function(receiver, a0) { | 14347 J.split$1$s = function(receiver, a0) { |
14173 return J.getInterceptor$s(receiver).split$1(receiver, a0); | 14348 return J.getInterceptor$s(receiver).split$1(receiver, a0); |
14174 }; | 14349 }; |
14175 J.startsWith$1$s = function(receiver, a0) { | 14350 J.startsWith$1$s = function(receiver, a0) { |
14176 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); | 14351 return J.getInterceptor$s(receiver).startsWith$1(receiver, a0); |
14177 }; | 14352 }; |
14178 J.substring$1$s = function(receiver, a0) { | 14353 J.substring$1$s = function(receiver, a0) { |
14179 return J.getInterceptor$s(receiver).substring$1(receiver, a0); | 14354 return J.getInterceptor$s(receiver).substring$1(receiver, a0); |
14180 }; | 14355 }; |
14181 J.substring$2$s = function(receiver, a0, a1) { | 14356 J.substring$2$s = function(receiver, a0, a1) { |
14182 return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1); | 14357 return J.getInterceptor$s(receiver).substring$2(receiver, a0, a1); |
14183 }; | 14358 }; |
| 14359 J.toList$0$ax = function(receiver) { |
| 14360 return J.getInterceptor$ax(receiver).toList$0(receiver); |
| 14361 }; |
14184 J.toLowerCase$0$s = function(receiver) { | 14362 J.toLowerCase$0$s = function(receiver) { |
14185 return J.getInterceptor$s(receiver).toLowerCase$0(receiver); | 14363 return J.getInterceptor$s(receiver).toLowerCase$0(receiver); |
14186 }; | 14364 }; |
14187 J.toRadixString$1$n = function(receiver, a0) { | 14365 J.toRadixString$1$n = function(receiver, a0) { |
14188 return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0); | 14366 return J.getInterceptor$n(receiver).toRadixString$1(receiver, a0); |
14189 }; | 14367 }; |
14190 J.toString$0 = function(receiver) { | 14368 J.toString$0 = function(receiver) { |
14191 return J.getInterceptor(receiver).toString$0(receiver); | 14369 return J.getInterceptor(receiver).toString$0(receiver); |
14192 }; | 14370 }; |
14193 J.trim$0$s = function(receiver) { | 14371 J.trim$0$s = function(receiver) { |
(...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14481 return H.TypeErrorDecoder_extractPattern(function() { | 14659 return H.TypeErrorDecoder_extractPattern(function() { |
14482 try { | 14660 try { |
14483 (void 0).$method$; | 14661 (void 0).$method$; |
14484 } catch (e) { | 14662 } catch (e) { |
14485 return e.message; | 14663 return e.message; |
14486 } | 14664 } |
14487 }()); | 14665 }()); |
14488 }, "undefinedLiteralPropertyPattern", "_AsyncRun_scheduleImmediateClosure", "get
$_AsyncRun_scheduleImmediateClosure", function() { | 14666 }, "undefinedLiteralPropertyPattern", "_AsyncRun_scheduleImmediateClosure", "get
$_AsyncRun_scheduleImmediateClosure", function() { |
14489 return P._AsyncRun__initializeScheduleImmediate(); | 14667 return P._AsyncRun__initializeScheduleImmediate(); |
14490 }, "scheduleImmediateClosure", "Future__nullFuture", "get$Future__nullFuture", f
unction() { | 14668 }, "scheduleImmediateClosure", "Future__nullFuture", "get$Future__nullFuture", f
unction() { |
14491 return P._Future$immediate(null, null); | 14669 return P.Future_Future$value(null, null); |
14492 }, "_nullFuture", "_RootZone__rootMap", "get$_RootZone__rootMap", function() { | 14670 }, "_nullFuture", "_RootZone__rootMap", "get$_RootZone__rootMap", function() { |
14493 return P.HashMap_HashMap(null, null, null, null, null); | 14671 return P.HashMap_HashMap(null, null, null, null, null); |
14494 }, "_rootMap", "IterableBase__toStringVisiting", "get$IterableBase__toStringVisi
ting", function() { | 14672 }, "_rootMap", "IterableBase__toStringVisiting", "get$IterableBase__toStringVisi
ting", function() { |
14495 return []; | 14673 return []; |
14496 }, "_toStringVisiting", "context", "get$context", function() { | 14674 }, "_toStringVisiting", "context", "get$context", function() { |
14497 return P._wrapToDart(self); | 14675 return P._wrapToDart(self); |
14498 }, "context", "_DART_OBJECT_PROPERTY_NAME", "get$_DART_OBJECT_PROPERTY_NAME", fu
nction() { | 14676 }, "context", "_DART_OBJECT_PROPERTY_NAME", "get$_DART_OBJECT_PROPERTY_NAME", fu
nction() { |
14499 return H.getIsolateAffinityTag("_$dart_dartObject"); | 14677 return H.getIsolateAffinityTag("_$dart_dartObject"); |
14500 }, "_DART_OBJECT_PROPERTY_NAME", "_DART_CLOSURE_PROPERTY_NAME", "get$_DART_CLOSU
RE_PROPERTY_NAME", function() { | 14678 }, "_DART_OBJECT_PROPERTY_NAME", "_DART_CLOSURE_PROPERTY_NAME", "get$_DART_CLOSU
RE_PROPERTY_NAME", function() { |
14501 return H.getIsolateAffinityTag("_$dart_dartClosure"); | 14679 return H.getIsolateAffinityTag("_$dart_dartClosure"); |
(...skipping 26 matching lines...) Expand all Loading... |
14528 }, "windows", "context0", "get$context0", function() { | 14706 }, "windows", "context0", "get$context0", function() { |
14529 return new F.Context($.get$Style_platform(), null); | 14707 return new F.Context($.get$Style_platform(), null); |
14530 }, "context", "Style_posix", "get$Style_posix", function() { | 14708 }, "context", "Style_posix", "get$Style_posix", function() { |
14531 return new Z.PosixStyle("posix", "/", C.List_cSk, P.RegExp_RegExp("/", true, f
alse), P.RegExp_RegExp("[^/]$", true, false), P.RegExp_RegExp("^/", true, false)
, null); | 14709 return new Z.PosixStyle("posix", "/", C.List_cSk, P.RegExp_RegExp("/", true, f
alse), P.RegExp_RegExp("[^/]$", true, false), P.RegExp_RegExp("^/", true, false)
, null); |
14532 }, "posix", "Style_windows", "get$Style_windows", function() { | 14710 }, "posix", "Style_windows", "get$Style_windows", function() { |
14533 return new T.WindowsStyle("windows", "\\", C.List_WnV, P.RegExp_RegExp("[/\\\\
]", true, false), P.RegExp_RegExp("[^/\\\\]$", true, false), P.RegExp_RegExp("^(
\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", true, false), P.RegExp_RegExp(
"^[/\\\\](?![/\\\\])", true, false)); | 14711 return new T.WindowsStyle("windows", "\\", C.List_WnV, P.RegExp_RegExp("[/\\\\
]", true, false), P.RegExp_RegExp("[^/\\\\]$", true, false), P.RegExp_RegExp("^(
\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])", true, false), P.RegExp_RegExp(
"^[/\\\\](?![/\\\\])", true, false)); |
14534 }, "windows", "Style_url", "get$Style_url", function() { | 14712 }, "windows", "Style_url", "get$Style_url", function() { |
14535 return new E.UrlStyle("url", "/", C.List_cSk, P.RegExp_RegExp("/", true, false
), P.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", true, false), P.RegExp
_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", true, false), P.RegExp_RegExp("^/", t
rue, false)); | 14713 return new E.UrlStyle("url", "/", C.List_cSk, P.RegExp_RegExp("/", true, false
), P.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$", true, false), P.RegExp
_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*", true, false), P.RegExp_RegExp("^/", t
rue, false)); |
14536 }, "url", "Style_platform", "get$Style_platform", function() { | 14714 }, "url", "Style_platform", "get$Style_platform", function() { |
14537 return S.Style__getPlatformStyle(); | 14715 return S.Style__getPlatformStyle(); |
14538 }, "platform", "_terseRegExp", "get$_terseRegExp", function() { | 14716 }, "platform", "_iframes", "get$_iframes", function() { |
| 14717 return P.LinkedHashMap_LinkedHashMap(null, null, null, P.$int, W.IFrameElement
); |
| 14718 }, "_iframes", "_terseRegExp", "get$_terseRegExp", function() { |
14539 return P.RegExp_RegExp("(-patch)?(/.*)?$", true, false); | 14719 return P.RegExp_RegExp("(-patch)?(/.*)?$", true, false); |
14540 }, "_terseRegExp", "_v8Trace", "get$_v8Trace", function() { | 14720 }, "_terseRegExp", "_v8Trace", "get$_v8Trace", function() { |
14541 return P.RegExp_RegExp("\\n ?at ", true, false); | 14721 return P.RegExp_RegExp("\\n ?at ", true, false); |
14542 }, "_v8Trace", "_v8TraceLine", "get$_v8TraceLine", function() { | 14722 }, "_v8Trace", "_v8TraceLine", "get$_v8TraceLine", function() { |
14543 return P.RegExp_RegExp(" ?at ", true, false); | 14723 return P.RegExp_RegExp(" ?at ", true, false); |
14544 }, "_v8TraceLine", "_firefoxSafariTrace", "get$_firefoxSafariTrace", function()
{ | 14724 }, "_v8TraceLine", "_firefoxSafariTrace", "get$_firefoxSafariTrace", function()
{ |
14545 return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true,
true); | 14725 return P.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$", true,
true); |
14546 }, "_firefoxSafariTrace", "_friendlyTrace", "get$_friendlyTrace", function() { | 14726 }, "_firefoxSafariTrace", "_friendlyTrace", "get$_friendlyTrace", function() { |
14547 return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true); | 14727 return P.RegExp_RegExp("^[^\\s]+( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$", true, true); |
14548 }, "_friendlyTrace"]); | 14728 }, "_friendlyTrace"]); |
14549 ; | 14729 ; |
14550 | 14730 |
14551 { | 14731 init.metadata = ["invocation", |
14552 init.metadata = ["object", "sender", "e", "x", "closure", "isolate", "numberOf
Arguments", "arg1", "arg2", "arg3", "arg4", "each", "value", null, "error", "sta
ckTrace", "self", "parent", "zone", "f", "arg", "duration", "callback", "line",
"specification", "zoneValues", "_", "ignored", "element", "data", "s", "a", "k",
"v", 0, "key", "encodedComponent", "byteString", "captureThis", "arguments", "o
", "message", "frame"]; | 14732 "object", |
14553 init.types = [{func: 1}, {func: 1, void: true, args: [, P.StackTrace]}, {func:
1, void: true}, {func: 1, args: [,]}, {func: 1, args: [P.String,,]}, {func: 1,
args: [, P.String]}, {func: 1, args: [P.String]}, {func: 1, args: [{func: 1, voi
d: true}]}, {func: 1, void: true, args: [,], opt: [P.StackTrace]}, {func: 1, arg
s: [,], opt: [,]}, {func: 1, ret: P.bool}, {func: 1, args: [P.bool]}, {func: 1,
void: true, args: [P.Object], opt: [P.StackTrace]}, {func: 1, void: true, args:
[P.Object, P.StackTrace]}, {func: 1, args: [, P.StackTrace]}, {func: 1, args: [P
.Zone,, P.StackTrace]}, {func: 1, args: [P.Zone, {func: 1}]}, {func: 1, args: [P
.Zone, {func: 1, args: [,]},,]}, {func: 1, args: [P.Zone, {func: 1, args: [,,]},
,,]}, {func: 1, ret: {func: 1}, args: [P.Zone, {func: 1}]}, {func: 1, ret: {func
: 1, args: [,]}, args: [P.Zone, {func: 1, args: [,]}]}, {func: 1, ret: {func: 1,
args: [,,]}, args: [P.Zone, {func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncErro
r, args: [P.Zone, P.Object, P.StackTrace]}, {func: 1, void: true, args: [P.Zone,
{func: 1}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.Duration, {func: 1, void:
true}]}, {func: 1, ret: P.Timer, args: [P.Zone, P.Duration, {func: 1, void: tru
e, args: [P.Timer]}]}, {func: 1, void: true, args: [P.Zone, P.String]}, {func: 1
, ret: P.Zone, args: [P.Zone, P.ZoneSpecification, P.Map]}, {func: 1, ret: P.Zon
e, named: {specification: P.ZoneSpecification, zoneValues: P.Map}}, {func: 1, ar
gs: [{func: 1}]}, {func: 1, args: [{func: 1, args: [,]},,]}, {func: 1, args: [{f
unc: 1, args: [,,]},,,]}, {func: 1, ret: {func: 1}, args: [{func: 1}]}, {func: 1
, ret: {func: 1, args: [,]}, args: [{func: 1, args: [,]}]}, {func: 1, ret: {func
: 1, args: [,,]}, args: [{func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, a
rgs: [P.Object, P.StackTrace]}, {func: 1, void: true, args: [{func: 1, void: tru
e}]}, {func: 1, ret: P.Timer, args: [P.Duration, {func: 1, void: true}]}, {func:
1, ret: P.Timer, args: [P.Duration, {func: 1, void: true, args: [P.Timer]}]}, {
func: 1, void: true, args: [P.String]}, {func: 1, args: [P.Zone, P.ZoneDelegate,
P.Zone,, P.StackTrace]}, {func: 1, args: [,,]}, {func: 1, ret: P.$int, args: [,
P.$int]}, {func: 1, void: true, args: [P.$int, P.$int]}, {func: 1, args: [P.Sym
bol,,]}, {func: 1, ret: P.String, args: [P.$int]}, {func: 1, ret: P.bool, args:
[P.$int]}, {func: 1, ret: P.$int, args: [,,]}, {func: 1, void: true, args: [P.St
ring], opt: [,]}, {func: 1, ret: P.$int, args: [P.$int, P.$int]}, {func: 1, ret:
P.$int, args: [,]}, {func: 1, args: [P.$int]}, {func: 1, args: [P.$int,,]}, {fu
nc: 1, void: true, args: [,]}, {func: 1, void: true, args: [P.Zone, P.ZoneDelega
te, P.Zone,, P.StackTrace]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {f
unc: 1}]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,]}
,,]}, {func: 1, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1, args: [,,]},,,]
}, {func: 1, ret: {func: 1}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]},
{func: 1, ret: {func: 1, args: [,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {fu
nc: 1, args: [,]}]}, {func: 1, ret: {func: 1, args: [,,]}, args: [P.Zone, P.Zone
Delegate, P.Zone, {func: 1, args: [,,]}]}, {func: 1, ret: P.AsyncError, args: [P
.Zone, P.ZoneDelegate, P.Zone, P.Object, P.StackTrace]}, {func: 1, void: true, a
rgs: [P.Zone, P.ZoneDelegate, P.Zone, {func: 1}]}, {func: 1, ret: P.Timer, args:
[P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, void: true}]}, {func: 1,
ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {func: 1, void
: true, args: [P.Timer]}]}, {func: 1, void: true, args: [P.Zone, P.ZoneDelegate,
P.Zone, P.String]}, {func: 1, ret: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zon
e, P.ZoneSpecification, P.Map]}, {func: 1, ret: P.bool, args: [,,]}, {func: 1, r
et: P.Object, args: [,]}, {func: 1, ret: P.bool, args: [P.Object, P.Object]}, {f
unc: 1, ret: P.$int, args: [P.Object]}, {func: 1, ret: P.String, args: [P.String
]}, {func: 1, ret: P.num, args: [P.num, P.num]}]; | 14733 "sender", |
14554 } | 14734 "e", |
14555 | 14735 "x", |
| 14736 "closure", |
| 14737 "isolate", |
| 14738 "numberOfArguments", |
| 14739 "arg1", |
| 14740 "arg2", |
| 14741 "arg3", |
| 14742 "arg4", |
| 14743 "error", |
| 14744 "stackTrace", |
| 14745 "result", |
| 14746 "each", |
| 14747 "value", |
| 14748 , |
| 14749 "self", |
| 14750 "parent", |
| 14751 "zone", |
| 14752 "f", |
| 14753 "arg", |
| 14754 "duration", |
| 14755 "callback", |
| 14756 "line", |
| 14757 "specification", |
| 14758 "zoneValues", |
| 14759 "_", |
| 14760 "ignored", |
| 14761 "element", |
| 14762 "data", |
| 14763 "s", |
| 14764 "a", |
| 14765 "k", |
| 14766 "v", |
| 14767 0, |
| 14768 "key", |
| 14769 "encodedComponent", |
| 14770 "byteString", |
| 14771 "captureThis", |
| 14772 "arguments", |
| 14773 "o", |
| 14774 "message", |
| 14775 "frame", |
| 14776 ]; |
| 14777 init.types = [{func: ""}, |
| 14778 {func: "", void: true, args: [, P.StackTrace]}, |
| 14779 {func: "", void: true}, |
| 14780 {func: "", args: [,]}, |
| 14781 {func: "", args: [P.String,,]}, |
| 14782 {func: "", args: [, P.StackTrace]}, |
| 14783 {func: "", args: [, P.String]}, |
| 14784 {func: "", args: [P.String]}, |
| 14785 {func: "", args: [{func: "", void: true}]}, |
| 14786 {func: "", void: true, args: [,], opt: [P.StackTrace]}, |
| 14787 {func: "", args: [,], opt: [,]}, |
| 14788 {func: "", ret: P.bool}, |
| 14789 {func: "", args: [P.bool]}, |
| 14790 {func: "", void: true, args: [P.Object], opt: [P.StackTrace]}, |
| 14791 {func: "", void: true, args: [P.Object, P.StackTrace]}, |
| 14792 {func: "", args: [P.Zone,, P.StackTrace]}, |
| 14793 {func: "", args: [P.Zone, {func: ""}]}, |
| 14794 {func: "", args: [P.Zone, {func: "", args: [,]},,]}, |
| 14795 {func: "", args: [P.Zone, {func: "", args: [,,]},,,]}, |
| 14796 {func: "", ret: {func: ""}, args: [P.Zone, {func: ""}]}, |
| 14797 {func: "", ret: {func: "", args: [,]}, args: [P.Zone, {func: "", args: [,]}]}, |
| 14798 {func: "", ret: {func: "", args: [,,]}, args: [P.Zone, {func: "", args: [,,]}]}, |
| 14799 {func: "", ret: P.AsyncError, args: [P.Zone, P.Object, P.StackTrace]}, |
| 14800 {func: "", void: true, args: [P.Zone, {func: ""}]}, |
| 14801 {func: "", ret: P.Timer, args: [P.Zone, P.Duration, {func: "", void: true}]}, |
| 14802 {func: "", ret: P.Timer, args: [P.Zone, P.Duration, {func: "", void: true, args:
[P.Timer]}]}, |
| 14803 {func: "", void: true, args: [P.Zone, P.String]}, |
| 14804 {func: "", ret: P.Zone, args: [P.Zone, P.ZoneSpecification, P.Map]}, |
| 14805 {func: "", ret: P.Zone, named: {specification: P.ZoneSpecification, zoneValues:
P.Map}}, |
| 14806 {func: "", args: [{func: ""}]}, |
| 14807 {func: "", args: [{func: "", args: [,]},,]}, |
| 14808 {func: "", args: [{func: "", args: [,,]},,,]}, |
| 14809 {func: "", ret: {func: ""}, args: [{func: ""}]}, |
| 14810 {func: "", ret: {func: "", args: [,]}, args: [{func: "", args: [,]}]}, |
| 14811 {func: "", ret: {func: "", args: [,,]}, args: [{func: "", args: [,,]}]}, |
| 14812 {func: "", ret: P.AsyncError, args: [P.Object, P.StackTrace]}, |
| 14813 {func: "", void: true, args: [{func: "", void: true}]}, |
| 14814 {func: "", ret: P.Timer, args: [P.Duration, {func: "", void: true}]}, |
| 14815 {func: "", ret: P.Timer, args: [P.Duration, {func: "", void: true, args: [P.Time
r]}]}, |
| 14816 {func: "", void: true, args: [P.String]}, |
| 14817 {func: "", args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, |
| 14818 {func: "", args: [,,]}, |
| 14819 {func: "", ret: P.$int, args: [, P.$int]}, |
| 14820 {func: "", void: true, args: [P.$int, P.$int]}, |
| 14821 {func: "", args: [P.Symbol,,]}, |
| 14822 {func: "", ret: P.String, args: [P.$int]}, |
| 14823 {func: "", ret: P.bool, args: [P.$int]}, |
| 14824 {func: "", ret: P.$int, args: [,,]}, |
| 14825 {func: "", void: true, args: [P.String], opt: [,]}, |
| 14826 {func: "", ret: P.$int, args: [P.$int, P.$int]}, |
| 14827 {func: "", ret: P.$int, args: [,]}, |
| 14828 {func: "", args: [P.$int]}, |
| 14829 {func: "", args: [P.$int,,]}, |
| 14830 {func: "", ret: P.Future, args: [,]}, |
| 14831 {func: "", void: true, args: [,]}, |
| 14832 {func: "", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone,, P.StackTrace]}, |
| 14833 {func: "", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: ""}]}, |
| 14834 {func: "", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "", args: [,]},,]}, |
| 14835 {func: "", args: [P.Zone, P.ZoneDelegate, P.Zone, {func: "", args: [,,]},,,]}, |
| 14836 {func: "", ret: {func: ""}, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: ""}]}, |
| 14837 {func: "", ret: {func: "", args: [,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {f
unc: "", args: [,]}]}, |
| 14838 {func: "", ret: {func: "", args: [,,]}, args: [P.Zone, P.ZoneDelegate, P.Zone, {
func: "", args: [,,]}]}, |
| 14839 {func: "", ret: P.AsyncError, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Object, P
.StackTrace]}, |
| 14840 {func: "", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, {func: ""}]}, |
| 14841 {func: "", ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {fun
c: "", void: true}]}, |
| 14842 {func: "", ret: P.Timer, args: [P.Zone, P.ZoneDelegate, P.Zone, P.Duration, {fun
c: "", void: true, args: [P.Timer]}]}, |
| 14843 {func: "", void: true, args: [P.Zone, P.ZoneDelegate, P.Zone, P.String]}, |
| 14844 {func: "", ret: P.Zone, args: [P.Zone, P.ZoneDelegate, P.Zone, P.ZoneSpecificati
on, P.Map]}, |
| 14845 {func: "", ret: P.bool, args: [,,]}, |
| 14846 {func: "", ret: P.Object, args: [,]}, |
| 14847 {func: "", ret: P.bool, args: [P.Object, P.Object]}, |
| 14848 {func: "", ret: P.$int, args: [P.Object]}, |
| 14849 {func: "", ret: P.String, args: [P.String]}, |
| 14850 {func: "", ret: P.num, args: [P.num, P.num]}, |
| 14851 ]; |
14556 $ = null; | 14852 $ = null; |
14557 Isolate = Isolate.$finishIsolateConstructor(Isolate); | 14853 Isolate = Isolate.$finishIsolateConstructor(Isolate); |
14558 $ = new Isolate(); | 14854 $ = new Isolate(); |
14559 function convertToFastObject(properties) { | 14855 function convertToFastObject(properties) { |
14560 function MyClass() { | 14856 function MyClass() { |
14561 } | 14857 } |
14562 MyClass.prototype = properties; | 14858 MyClass.prototype = properties; |
14563 new MyClass(); | 14859 new MyClass(); |
14564 return properties; | 14860 return properties; |
14565 } | 14861 } |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
14711 else | 15007 else |
14712 (function(a) { | 15008 (function(a) { |
14713 H.startRootIsolate(R.main$closure(), a); | 15009 H.startRootIsolate(R.main$closure(), a); |
14714 })([]); | 15010 })([]); |
14715 }); | 15011 }); |
14716 ; | 15012 ; |
14717 // END invoke [main]. | 15013 // END invoke [main]. |
14718 })() | 15014 })() |
14719 | 15015 |
14720 //# sourceMappingURL=host.dart.js.map | 15016 //# sourceMappingURL=host.dart.js.map |
OLD | NEW |