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

Side by Side Diff: src/site/codelabs/darrrt/examples/6-piratebadge_json/piratebadge.dart.precompiled.js

Issue 35913002: Try Dart 1 hour experience first draft (Closed) Base URL: https://github.com/dart-lang/dartlang.org.git@master
Patch Set: updated image of dart editor with new directory name Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Generated by dart2js, the Dart to JavaScript compiler. 1 // Generated by dart2js, the Dart to JavaScript compiler.
2 // The code supports the following hooks: 2 // The code supports the following hooks:
3 // dartPrint(message) - if this function is defined it is called 3 // dartPrint(message) - if this function is defined it is called
4 // instead of the Dart [print] method. 4 // instead of the Dart [print] method.
5 // dartMainRunner(main) - if this function is defined, the Dart [main] 5 // dartMainRunner(main) - if this function is defined, the Dart [main]
6 // method will not be invoked directly. 6 // method will not be invoked directly.
7 // Instead, a closure that will invoke [main] is 7 // Instead, a closure that will invoke [main] is
8 // passed to [dartMainRunner]. 8 // passed to [dartMainRunner].
9 (function($) { 9 (function($) {
10 var A = {}; 10 var A = {};
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 var Z = {}; 58 var Z = {};
59 delete Z.x; 59 delete Z.x;
60 function Isolate() {} 60 function Isolate() {}
61 init(); 61 init();
62 62
63 $ = Isolate.$isolateProperties; 63 $ = Isolate.$isolateProperties;
64 var $$ = {}; 64 var $$ = {};
65 65
66 // Native classes 66 // Native classes
67 // Method closures 67 // Method closures
68 $$.BoundClosure$2 = [P, {"": "BoundClosure;_self,_target,_receiver,__js_helper$_ name", 68 $$.BoundClosure$i0 = [H, {"": "BoundClosure;_self,__js_helper$_target,_receiver, __js_helper$_name",
69 call$0: function() {
70 return this.__js_helper$_target.call(this._self, this._receiver);
71 }
72 }];
73
74 $$.BoundClosure$1 = [H, {"": "BoundClosure;_self,__js_helper$_target,_receiver,_ _js_helper$_name",
75 call$1: function(p0) {
76 return this.__js_helper$_target.call(this._self, p0);
77 },
78 $is_args1: true
79 }];
80
81 $$.BoundClosure$2 = [P, {"": "BoundClosure;_self,__js_helper$_target,_receiver,_ _js_helper$_name",
69 call$2: function(p0, p1) { 82 call$2: function(p0, p1) {
70 return this._target.call(this._self, p0, p1); 83 return this.__js_helper$_target.call(this._self, p0, p1);
71 }, 84 },
72 call$1: function(p0) { 85 call$1: function(p0) {
73 return this.call$2(p0, null); 86 return this.call$2(p0, null);
74 }, 87 },
75 $is_args2: true 88 $is_args2: true,
89 $is_args1: true
76 }]; 90 }];
77 91
78 $$.BoundClosure$0 = [P, {"": "BoundClosure;_self,_target,_receiver,__js_helper$_ name", 92 $$.BoundClosure$0 = [P, {"": "BoundClosure;_self,__js_helper$_target,_receiver,_ _js_helper$_name",
79 call$0: function() { 93 call$0: function() {
80 return this._target.call(this._self); 94 return this.__js_helper$_target.call(this._self);
81 } 95 }
82 }]; 96 }];
83 97
84 $$.Closure$2 = [H, {"": "Closure;call$2,$name", $is_args2: true}]; 98 $$.Closure$2 = [H, {"": "Closure;call$2,$name", $is_args2: true}];
85 99
86 $$.Closure$0 = [H, {"": "Closure;call$0,$name"}]; 100 $$.Closure$0 = [H, {"": "Closure;call$0,$name"}];
87 101
88 $$.Closure$7 = [H, {"": "Closure;call$7,$name"}]; 102 $$.Closure$7 = [H, {"": "Closure;call$7,$name"}];
89 103
90 $$.Closure$1 = [H, {"": "Closure;call$1,$name"}]; 104 $$.Closure$1 = [H, {"": "Closure;call$1,$name", $is_args1: true}];
91 105
92 $$.Closure$21 = [P, {"": "Closure;call$2,$name", 106 $$.Closure$21 = [P, {"": "Closure;call$2,$name",
93 call$1: function(p0) { 107 call$1: function(p0) {
94 return this.call$2(p0, null); 108 return this.call$2(p0, null);
95 }, 109 },
96 $is_args2: true 110 $is_args2: true,
111 $is_args1: true
97 }]; 112 }];
98 113
99 (function (reflectionData) { 114 (function (reflectionData) {
100 function map(x){x={x:x};delete x.x;return x} 115 function map(x){x={x:x};delete x.x;return x}
101 if (!init.libraries) init.libraries = []; 116 if (!init.libraries) init.libraries = [];
102 if (!init.mangledNames) init.mangledNames = map(); 117 if (!init.mangledNames) init.mangledNames = map();
103 if (!init.mangledGlobalNames) init.mangledGlobalNames = map(); 118 if (!init.mangledGlobalNames) init.mangledGlobalNames = map();
104 if (!init.statics) init.statics = map(); 119 if (!init.statics) init.statics = map();
105 if (!init.interfaces) init.interfaces = map(); 120 if (!init.interfaces) init.interfaces = map();
106 if (!init.globalFunctions) init.globalFunctions = map(); 121 if (!init.globalFunctions) init.globalFunctions = map();
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 classes.push(property); 189 classes.push(property);
175 } 190 }
176 } 191 }
177 } 192 }
178 processStatics(descriptor); 193 processStatics(descriptor);
179 libraries.push([name, uri, classes, functions, metadata, fields, isRoot, 194 libraries.push([name, uri, classes, functions, metadata, fields, isRoot,
180 globalObject]); 195 globalObject]);
181 } 196 }
182 })([ 197 })([
183 ["_foreign_helper", "dart:_foreign_helper", , H, { 198 ["_foreign_helper", "dart:_foreign_helper", , H, {
184 JS_CONST: {"": "Object;code>"}}], 199 JS_CONST: {"": "Object;code"}}],
185 ["_interceptors", "dart:_interceptors", , J, { 200 ["_interceptors", "dart:_interceptors", , J, {
186 getInterceptor: function(object) { 201 getInterceptor: function(object) {
187 return void 0; 202 return void 0;
188 }, 203 },
189 204
190 makeDispatchRecord: function(interceptor, proto, extension, indexability) { 205 makeDispatchRecord: function(interceptor, proto, extension, indexability) {
191 return {i: interceptor, p: proto, e: extension, x: indexability}; 206 return {i: interceptor, p: proto, e: extension, x: indexability};
192 }, 207 },
193 208
194 getNativeInterceptor: function(object) { 209 getNativeInterceptor: function(object) {
195 var record, proto, objectProto; 210 var record, proto, objectProto;
196 record = object[init.dispatchPropertyName]; 211 record = object[init.dispatchPropertyName];
212 if (record == null)
213 if ($.initNativeDispatchFlag == null) {
214 H.initNativeDispatch();
215 record = object[init.dispatchPropertyName];
216 }
197 if (record != null) { 217 if (record != null) {
198 proto = record.p; 218 proto = record.p;
199 if (false === proto) 219 if (false === proto)
200 return record.i; 220 return record.i;
201 if (true === proto) 221 if (true === proto)
202 return object; 222 return object;
203 objectProto = Object.getPrototypeOf(object); 223 objectProto = Object.getPrototypeOf(object);
204 if (proto === objectProto) 224 if (proto === objectProto)
205 return record.i; 225 return record.i;
206 if (record.e === objectProto) 226 if (record.e === objectProto)
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
251 get$hashCode: function(_) { 271 get$hashCode: function(_) {
252 return 0; 272 return 0;
253 } 273 }
254 }, 274 },
255 275
256 PlainJavaScriptObject: {"": "JavaScriptObject;"}, 276 PlainJavaScriptObject: {"": "JavaScriptObject;"},
257 277
258 UnknownJavaScriptObject: {"": "JavaScriptObject;"}, 278 UnknownJavaScriptObject: {"": "JavaScriptObject;"},
259 279
260 JSArray: {"": "List/Interceptor;", 280 JSArray: {"": "List/Interceptor;",
261 add$1: function(receiver, value) {
262 if (!!receiver.fixed$length)
263 H.throwExpression(P.UnsupportedError$("add"));
264 receiver.push(value);
265 },
266 removeLast$0: function(receiver) {
267 if (!!receiver.fixed$length)
268 H.throwExpression(P.UnsupportedError$("removeLast"));
269 if (receiver.length === 0)
270 throw H.wrapException(P.RangeError$value(-1));
271 return receiver.pop();
272 },
273 forEach$1: function(receiver, f) { 281 forEach$1: function(receiver, f) {
274 return H.IterableMixinWorkaround_forEach(receiver, f); 282 return H.IterableMixinWorkaround_forEach(receiver, f);
275 }, 283 },
276 elementAt$1: function(receiver, index) { 284 elementAt$1: function(receiver, index) {
277 if (index < 0 || index >= receiver.length) 285 if (index < 0 || index >= receiver.length)
278 throw H.ioore(receiver, index); 286 throw H.ioore(receiver, index);
279 return receiver[index]; 287 return receiver[index];
280 }, 288 },
289 get$isEmpty: function(receiver) {
290 return receiver.length === 0;
291 },
281 toString$0: function(receiver) { 292 toString$0: function(receiver) {
282 return H.IterableMixinWorkaround_toStringIterable(receiver, "[", "]"); 293 return H.IterableMixinWorkaround_toStringIterable(receiver, "[", "]");
283 }, 294 },
295 toList$1$growable: function(receiver, growable) {
296 return P.List_List$from(receiver, growable, H.getRuntimeTypeArgument(receive r, "JSArray", 0));
297 },
298 toList$0: function($receiver) {
299 return this.toList$1$growable($receiver, true);
300 },
284 get$iterator: function(receiver) { 301 get$iterator: function(receiver) {
285 return new H.ListIterator(receiver, receiver.length, 0, null); 302 return new H.ListIterator(receiver, receiver.length, 0, null);
286 }, 303 },
287 get$hashCode: function(receiver) { 304 get$hashCode: function(receiver) {
288 return H.Primitives_objectHashCode(receiver); 305 return H.Primitives_objectHashCode(receiver);
289 }, 306 },
290 get$length: function(receiver) { 307 get$length: function(receiver) {
291 return receiver.length; 308 return receiver.length;
292 }, 309 },
293 $index: function(receiver, index) { 310 $index: function(receiver, index) {
(...skipping 22 matching lines...) Expand all
316 $asJSArray: function() { 333 $asJSArray: function() {
317 return [null]; 334 return [null];
318 }, 335 },
319 $asList: function() { 336 $asList: function() {
320 return [null]; 337 return [null];
321 } 338 }
322 }, 339 },
323 340
324 JSFixedArray: {"": "JSMutableArray;"}, 341 JSFixedArray: {"": "JSMutableArray;"},
325 342
326 JSExtendableArray: {"": "JSMutableArray;", $isJSExtendableArray: true}, 343 JSExtendableArray: {"": "JSMutableArray;"},
327 344
328 JSNumber: {"": "num/Interceptor;", 345 JSNumber: {"": "num/Interceptor;",
329 remainder$1: function(receiver, b) { 346 remainder$1: function(receiver, b) {
330 return receiver % b; 347 return receiver % b;
331 }, 348 },
332 toInt$0: function(receiver) { 349 toInt$0: function(receiver) {
333 var t1; 350 var t1;
351 if (receiver >= -2147483648 && receiver <= 2147483647)
352 return receiver | 0;
334 if (isFinite(receiver)) { 353 if (isFinite(receiver)) {
335 t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver); 354 t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver);
336 return t1 + 0; 355 return t1 + 0;
337 } 356 }
338 throw H.wrapException(P.UnsupportedError$('' + receiver)); 357 throw H.wrapException(P.UnsupportedError$('' + receiver));
339 }, 358 },
340 toString$0: function(receiver) { 359 toString$0: function(receiver) {
341 if (receiver === 0 && 1 / receiver < 0) 360 if (receiver === 0 && 1 / receiver < 0)
342 return "-0.0"; 361 return "-0.0";
343 else 362 else
344 return "" + receiver; 363 return "" + receiver;
345 }, 364 },
346 get$hashCode: function(receiver) { 365 get$hashCode: function(receiver) {
347 return receiver & 0x1FFFFFFF; 366 return receiver & 0x1FFFFFFF;
348 }, 367 },
349 $tdiv: function(receiver, other) { 368 $tdiv: function(receiver, other) {
369 if ((receiver | 0) === receiver && (other | 0) === other && 0 !== other && - 1 !== other)
370 return receiver / other | 0;
371 else
372 return this._slowTdiv$1(receiver, other);
373 },
374 _slowTdiv$1: function(receiver, other) {
350 return this.toInt$0(receiver / other); 375 return this.toInt$0(receiver / other);
351 }, 376 },
352 $shr: function(receiver, other) { 377 $shr: function(receiver, other) {
353 if (other < 0) 378 if (other < 0)
354 throw H.wrapException(P.ArgumentError$(other)); 379 throw H.wrapException(new P.ArgumentError(other));
355 if (receiver > 0) { 380 if (receiver > 0) {
356 if (other > 31) 381 if (other > 31)
357 return 0; 382 return 0;
358 return receiver >>> other; 383 return receiver >>> other;
359 } 384 }
360 if (other > 31) 385 if (other > 31)
361 other = 31; 386 other = 31;
362 return receiver >> other >>> 0; 387 return receiver >> other >>> 0;
363 }, 388 },
364 $lt: function(receiver, other) { 389 $lt: function(receiver, other) {
365 if (typeof other !== "number") 390 if (typeof other !== "number")
366 throw H.wrapException(P.ArgumentError$(other)); 391 throw H.wrapException(new P.ArgumentError(other));
367 return receiver < other; 392 return receiver < other;
368 }, 393 },
369 $gt: function(receiver, other) { 394 $gt: function(receiver, other) {
370 if (typeof other !== "number") 395 if (typeof other !== "number")
371 throw H.wrapException(new P.ArgumentError(other)); 396 throw H.wrapException(new P.ArgumentError(other));
372 return receiver > other; 397 return receiver > other;
373 }, 398 },
374 $ge: function(receiver, other) { 399 $ge: function(receiver, other) {
375 if (typeof other !== "number") 400 if (typeof other !== "number")
376 throw H.wrapException(P.ArgumentError$(other)); 401 throw H.wrapException(new P.ArgumentError(other));
377 return receiver >= other; 402 return receiver >= other;
378 }, 403 },
379 $isnum: true 404 $isnum: true,
405 static: {
406 "": "JSNumber__MIN_INT32,JSNumber__MAX_INT32",
407 }
408
380 }, 409 },
381 410
382 JSInt: {"": "int/JSNumber;", $isdouble: true, $isnum: true, $isint: true}, 411 JSInt: {"": "int/JSNumber;", $isdouble: true, $isnum: true, $isint: true},
383 412
384 JSDouble: {"": "double/JSNumber;", $isdouble: true, $isnum: true}, 413 JSDouble: {"": "double/JSNumber;", $isdouble: true, $isnum: true},
385 414
386 JSString: {"": "String/Interceptor;", 415 JSString: {"": "String/Interceptor;",
387 codeUnitAt$1: function(receiver, index) { 416 codeUnitAt$1: function(receiver, index) {
388 if (index < 0) 417 if (index < 0)
389 throw H.wrapException(P.RangeError$value(index)); 418 throw H.wrapException(P.RangeError$value(index));
(...skipping 12 matching lines...) Expand all
402 throw H.iae(endIndex); 431 throw H.iae(endIndex);
403 if (startIndex > endIndex) 432 if (startIndex > endIndex)
404 throw H.wrapException(P.RangeError$value(startIndex)); 433 throw H.wrapException(P.RangeError$value(startIndex));
405 if (endIndex > receiver.length) 434 if (endIndex > receiver.length)
406 throw H.wrapException(P.RangeError$value(endIndex)); 435 throw H.wrapException(P.RangeError$value(endIndex));
407 return receiver.substring(startIndex, endIndex); 436 return receiver.substring(startIndex, endIndex);
408 }, 437 },
409 substring$1: function($receiver, startIndex) { 438 substring$1: function($receiver, startIndex) {
410 return this.substring$2($receiver, startIndex, null); 439 return this.substring$2($receiver, startIndex, null);
411 }, 440 },
441 trim$0: function(receiver) {
442 var endIndex, startIndex, codeUnit, endIndex0, endIndex1;
443 for (endIndex = receiver.length, startIndex = 0; startIndex < endIndex;) {
444 if (startIndex >= endIndex)
445 H.throwExpression(P.RangeError$value(startIndex));
446 codeUnit = receiver.charCodeAt(startIndex);
447 if (codeUnit === 32 || codeUnit === 13 || J.JSString__isWhitespace(codeUni t))
448 ++startIndex;
449 else
450 break;
451 }
452 if (startIndex === endIndex)
453 return "";
454 for (endIndex0 = endIndex; true; endIndex0 = endIndex1) {
455 endIndex1 = endIndex0 - 1;
456 if (endIndex1 < 0)
457 H.throwExpression(P.RangeError$value(endIndex1));
458 if (endIndex1 >= endIndex)
459 H.throwExpression(P.RangeError$value(endIndex1));
460 codeUnit = receiver.charCodeAt(endIndex1);
461 if (codeUnit === 32 || codeUnit === 13 || J.JSString__isWhitespace(codeUni t))
462 ;
463 else
464 break;
465 }
466 if (startIndex === 0 && endIndex0 === endIndex)
467 return receiver;
468 return receiver.substring(startIndex, endIndex0);
469 },
412 get$isEmpty: function(receiver) { 470 get$isEmpty: function(receiver) {
413 return receiver.length === 0; 471 return receiver.length === 0;
414 }, 472 },
415 toString$0: function(receiver) { 473 toString$0: function(receiver) {
416 return receiver; 474 return receiver;
417 }, 475 },
418 get$hashCode: function(receiver) { 476 get$hashCode: function(receiver) {
419 var t1, hash, i; 477 var t1, hash, i;
420 for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) { 478 for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
421 hash = 536870911 & hash + receiver.charCodeAt(i); 479 hash = 536870911 & hash + receiver.charCodeAt(i);
422 hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0); 480 hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0);
423 hash ^= hash >> 6; 481 hash ^= hash >> 6;
424 } 482 }
425 hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0); 483 hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0);
426 hash ^= hash >> 11; 484 hash ^= hash >> 11;
427 return 536870911 & hash + ((16383 & hash) << 15 >>> 0); 485 return 536870911 & hash + ((16383 & hash) << 15 >>> 0);
428 }, 486 },
429 get$length: function(receiver) { 487 get$length: function(receiver) {
430 return receiver.length; 488 return receiver.length;
431 }, 489 },
432 $index: function(receiver, index) { 490 $index: function(receiver, index) {
433 if (typeof index !== "number" || Math.floor(index) !== index) 491 if (typeof index !== "number" || Math.floor(index) !== index)
434 throw H.wrapException(new P.ArgumentError(index)); 492 throw H.wrapException(new P.ArgumentError(index));
435 if (index >= receiver.length || index < 0) 493 if (index >= receiver.length || index < 0)
436 throw H.wrapException(P.RangeError$value(index)); 494 throw H.wrapException(P.RangeError$value(index));
437 return receiver[index]; 495 return receiver[index];
438 }, 496 },
439 $isString: true 497 $isString: true,
498 static: {
499 JSString__isWhitespace: function(codeUnit) {
500 if (codeUnit < 256)
501 switch (codeUnit) {
502 case 9:
503 case 10:
504 case 11:
505 case 12:
506 case 13:
507 case 32:
508 case 133:
509 case 160:
510 return true;
511 default:
512 return false;
513 }
514 switch (codeUnit) {
515 case 5760:
516 case 6158:
517 case 8192:
518 case 8193:
519 case 8194:
520 case 8195:
521 case 8196:
522 case 8197:
523 case 8198:
524 case 8199:
525 case 8200:
526 case 8201:
527 case 8202:
528 case 8232:
529 case 8233:
530 case 8239:
531 case 8287:
532 case 12288:
533 case 65279:
534 return true;
535 default:
536 return false;
537 }
538 }}
539
440 }}], 540 }}],
441 ["_isolate_helper", "dart:_isolate_helper", , H, { 541 ["_isolate_helper", "dart:_isolate_helper", , H, {
442 _callInIsolate: function(isolate, $function) { 542 _callInIsolate: function(isolate, $function) {
443 var result = isolate.eval$1($function); 543 var result = isolate.eval$1($function);
444 $globalState.topEventLoop.run$0(); 544 $globalState.topEventLoop.run$0();
445 return result; 545 return result;
446 }, 546 },
447 547
448 startRootIsolate: function(entry) { 548 startRootIsolate: function(entry) {
449 var rootContext; 549 var rootContext, t1;
450 $globalState = H._Manager$(entry); 550 $globalState = H._Manager$(entry);
451 if ($globalState.isWorker === true) 551 if ($globalState.isWorker === true)
452 return; 552 return;
453 rootContext = H._IsolateContext$(); 553 rootContext = H._IsolateContext$();
454 $globalState.rootContext = rootContext; 554 $globalState.rootContext = rootContext;
455 $globalState.currentContext = rootContext; 555 $globalState.currentContext = rootContext;
456 rootContext.eval$1(entry); 556 t1 = J.getInterceptor(entry);
557 if (!!t1.$is_args1)
558 rootContext.eval$1(new H.startRootIsolate_closure(entry));
559 else if (!!t1.$is_args2)
560 rootContext.eval$1(new H.startRootIsolate_closure0(entry));
561 else
562 rootContext.eval$1(entry);
457 $globalState.topEventLoop.run$0(); 563 $globalState.topEventLoop.run$0();
458 }, 564 },
459 565
460 IsolateNatives_computeThisScript: function() { 566 IsolateNatives_computeThisScript: function() {
461 var currentScript = init.currentScript; 567 var currentScript = init.currentScript;
462 if (currentScript != null) 568 if (currentScript != null)
463 return String(currentScript.src); 569 return String(currentScript.src);
464 if (typeof version == "function" && typeof os == "object" && "system" in os) 570 if (typeof version == "function" && typeof os == "object" && "system" in os)
465 return H.IsolateNatives_computeThisScriptD8(); 571 return H.IsolateNatives_computeThisScriptD8();
466 if (typeof version == "function" && typeof system == "function") 572 if (typeof version == "function" && typeof system == "function")
(...skipping 12 matching lines...) Expand all
479 matches = stack.match(new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "m")) ; 585 matches = stack.match(new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "m")) ;
480 if (matches != null) 586 if (matches != null)
481 return matches[1]; 587 return matches[1];
482 matches = stack.match(new RegExp("^[^@]*@(.*):[0-9]*$", "m")); 588 matches = stack.match(new RegExp("^[^@]*@(.*):[0-9]*$", "m"));
483 if (matches != null) 589 if (matches != null)
484 return matches[1]; 590 return matches[1];
485 throw H.wrapException(P.UnsupportedError$("Cannot extract URI from \"" + stack + "\"")); 591 throw H.wrapException(P.UnsupportedError$("Cannot extract URI from \"" + stack + "\""));
486 }, 592 },
487 593
488 IsolateNatives__processWorkerMessage: function(sender, e) { 594 IsolateNatives__processWorkerMessage: function(sender, e) {
489 var msg, t1, functionName, entryPoint, replyTo, context, t2; 595 var msg, t1, functionName, entryPoint, args, message, isSpawnUri, replyTo, con text, t2;
490 msg = H._deserializeMessage(e.data); 596 msg = H._deserializeMessage(e.data);
491 t1 = J.getInterceptor$asx(msg); 597 t1 = J.getInterceptor$asx(msg);
492 switch (t1.$index(msg, "command")) { 598 switch (t1.$index(msg, "command")) {
493 case "start": 599 case "start":
494 $globalState.currentManagerId = t1.$index(msg, "id"); 600 $globalState.currentManagerId = t1.$index(msg, "id");
495 functionName = t1.$index(msg, "functionName"); 601 functionName = t1.$index(msg, "functionName");
496 entryPoint = functionName == null ? $globalState.entry : init.globalFuncti ons[functionName]; 602 entryPoint = functionName == null ? $globalState.entry : init.globalFuncti ons[functionName];
603 args = t1.$index(msg, "args");
604 message = H._deserializeMessage(t1.$index(msg, "msg"));
605 isSpawnUri = t1.$index(msg, "isSpawnUri");
497 replyTo = H._deserializeMessage(t1.$index(msg, "replyTo")); 606 replyTo = H._deserializeMessage(t1.$index(msg, "replyTo"));
498 context = H._IsolateContext$(); 607 context = H._IsolateContext$();
499 $globalState.topEventLoop.events._add$1(new H._IsolateEvent(context, new H .IsolateNatives__processWorkerMessage_closure(entryPoint, replyTo), "worker-star t")); 608 $globalState.topEventLoop.events._add$1(new H._IsolateEvent(context, new H .IsolateNatives__processWorkerMessage_closure(entryPoint, args, message, isSpawn Uri, replyTo), "worker-start"));
500 $globalState.currentContext = context; 609 $globalState.currentContext = context;
501 $globalState.topEventLoop.run$0(); 610 $globalState.topEventLoop.run$0();
502 break; 611 break;
503 case "spawn-worker": 612 case "spawn-worker":
504 H.IsolateNatives__spawnWorker(t1.$index(msg, "functionName"), t1.$index(ms g, "uri"), t1.$index(msg, "replyPort")); 613 H.IsolateNatives__spawnWorker(t1.$index(msg, "functionName"), t1.$index(ms g, "uri"), t1.$index(msg, "args"), t1.$index(msg, "msg"), t1.$index(msg, "isSpaw nUri"), t1.$index(msg, "replyPort"));
505 break; 614 break;
506 case "message": 615 case "message":
507 if (t1.$index(msg, "port") != null) 616 if (t1.$index(msg, "port") != null)
508 t1.$index(msg, "port").send$2(t1.$index(msg, "msg"), t1.$index(msg, "rep lyTo")); 617 J.send$1$x(t1.$index(msg, "port"), t1.$index(msg, "msg"));
509 $globalState.topEventLoop.run$0(); 618 $globalState.topEventLoop.run$0();
510 break; 619 break;
511 case "close": 620 case "close":
512 t1 = $globalState.managers; 621 t1 = $globalState.managers;
513 t2 = $.get$IsolateNatives_workerIds(); 622 t2 = $.get$IsolateNatives_workerIds();
514 t1.remove$1(t1, t2.$index(t2, sender)); 623 t1.remove$1(t1, t2.$index(t2, sender));
515 sender.terminate(); 624 sender.terminate();
516 $globalState.topEventLoop.run$0(); 625 $globalState.topEventLoop.run$0();
517 break; 626 break;
518 case "log": 627 case "log":
(...skipping 25 matching lines...) Expand all
544 try { 653 try {
545 $.get$globalThis().console.log(msg); 654 $.get$globalThis().console.log(msg);
546 } catch (exception) { 655 } catch (exception) {
547 H.unwrapException(exception); 656 H.unwrapException(exception);
548 trace = new H._StackTrace(exception, null); 657 trace = new H._StackTrace(exception, null);
549 throw H.wrapException(P.Exception_Exception(trace)); 658 throw H.wrapException(P.Exception_Exception(trace));
550 } 659 }
551 660
552 }, 661 },
553 662
554 IsolateNatives__startIsolate: function(topLevel, replyTo) { 663 IsolateNatives__startIsolate: function(topLevel, args, message, isSpawnUri, repl yTo) {
555 var t1; 664 var t1;
556 H.Primitives_initializeStatics($globalState.currentContext.id); 665 H.Primitives_initializeStatics($globalState.currentContext.id);
557 $.lazyPort = H.ReceivePortImpl$(); 666 $.lazyPort = H.ReceivePortImpl$();
558 t1 = P._Isolate_port(); 667 t1 = $.lazyPort;
559 t1.toString; 668 t1.toString;
560 replyTo.send$2("spawned", new H._NativeJsSendPort(t1, $globalState.currentCont ext.id)); 669 J.send$1$x(replyTo, ["spawned", new H._NativeJsSendPort(t1, $globalState.curre ntContext.id)]);
561 topLevel.call$0(); 670 if (isSpawnUri !== true)
671 topLevel.call$1(message);
672 else {
673 t1 = J.getInterceptor(topLevel);
674 if (!!t1.$is_args2)
675 topLevel.call$2(args, message);
676 else if (!!t1.$is_args1)
677 topLevel.call$1(args);
678 else
679 topLevel.call$0();
680 }
562 }, 681 },
563 682
564 IsolateNatives__spawnWorker: function(functionName, uri, replyPort) { 683 IsolateNatives__spawnWorker: function(functionName, uri, args, message, isSpawnU ri, replyPort) {
565 var worker, t1, workerId; 684 var worker, t1, workerId;
566 if (uri == null) 685 if (uri == null)
567 uri = $.get$IsolateNatives_thisScript(); 686 uri = $.get$IsolateNatives_thisScript();
568 worker = new Worker(uri); 687 worker = new Worker(uri);
569 worker.onmessage = function(e) { H.IsolateNatives__processWorkerMessage$closur e.call$2(worker, e); }; 688 worker.onmessage = function(e) { H.IsolateNatives__processWorkerMessage$closur e.call$2(worker, e); };
570 t1 = $globalState; 689 t1 = $globalState;
571 workerId = t1.nextManagerId; 690 workerId = t1.nextManagerId;
572 t1.nextManagerId = workerId + 1; 691 t1.nextManagerId = workerId + 1;
573 t1 = $.get$IsolateNatives_workerIds(); 692 t1 = $.get$IsolateNatives_workerIds();
574 t1.$indexSet(t1, worker, workerId); 693 t1.$indexSet(t1, worker, workerId);
575 t1 = $globalState.managers; 694 t1 = $globalState.managers;
576 t1.$indexSet(t1, workerId, worker); 695 t1.$indexSet(t1, workerId, worker);
577 worker.postMessage(H._serializeMessage(H.fillLiteralMap(["command", "start", " id", workerId, "replyTo", H._serializeMessage(replyPort), "functionName", functi onName], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null)))); 696 worker.postMessage(H._serializeMessage(H.fillLiteralMap(["command", "start", " id", workerId, "replyTo", H._serializeMessage(replyPort), "args", args, "msg", H ._serializeMessage(message), "isSpawnUri", isSpawnUri, "functionName", functionN ame], P.LinkedHashMap_LinkedHashMap(null, null, null, null, null))));
578 }, 697 },
579 698
580 _waitForPendingPorts: function(message, callback) { 699 _waitForPendingPorts: function(message, callback) {
581 var finder = H._PendingSendPortFinder$(); 700 var finder = H._PendingSendPortFinder$();
582 finder.traverse$1(message); 701 finder.traverse$1(message);
583 P.Future_wait(finder.ports).then$1(new H._waitForPendingPorts_closure(callback )); 702 P.Future_wait(finder.ports).then$1(new H._waitForPendingPorts_closure(callback ));
584 }, 703 },
585 704
586 _serializeMessage: function(message) { 705 _serializeMessage: function(message) {
587 var t1; 706 var t1;
(...skipping 16 matching lines...) Expand all
604 }, 723 },
605 724
606 _MessageTraverser_isPrimitive: function(x) { 725 _MessageTraverser_isPrimitive: function(x) {
607 return x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean"; 726 return x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean";
608 }, 727 },
609 728
610 _Deserializer_isPrimitive: function(x) { 729 _Deserializer_isPrimitive: function(x) {
611 return x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean"; 730 return x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean";
612 }, 731 },
613 732
614 CloseToken: {"": "Object;", $isCloseToken: true}, 733 startRootIsolate_closure: {"": "Closure;entry_0",
734 call$0: function() {
735 this.entry_0.call$1([]);
736 }
737 },
615 738
616 JsIsolateSink: {"": "EventSink;_isClosed,_port<", 739 startRootIsolate_closure0: {"": "Closure;entry_1",
617 add$1: function(_, message) { 740 call$0: function() {
618 this._port.send$1(message); 741 this.entry_1.call$2([], null);
619 }, 742 }
620 $eq: function(_, other) {
621 var t1;
622 if (other == null)
623 return false;
624 t1 = J.getInterceptor(other);
625 return typeof other === "object" && other !== null && !!t1.$isIsolateSink && J.$eq(this._port, other.get$_port());
626 },
627 get$hashCode: function(_) {
628 return J.get$hashCode$(this._port) + 499;
629 },
630 $isJsIsolateSink: true,
631 $isIsolateSink: true
632 }, 743 },
633 744
634 _Manager: {"": "Object;nextIsolateId,currentManagerId,nextManagerId,currentConte xt,rootContext,topEventLoop,fromCommandLine,isWorker,supportsWorkers,isolates,ma inManager,managers,entry", 745 _Manager: {"": "Object;nextIsolateId,currentManagerId,nextManagerId,currentConte xt,rootContext,topEventLoop,fromCommandLine,isWorker,supportsWorkers,isolates,ma inManager,managers,entry",
635 _nativeDetectEnvironment$0: function() { 746 _nativeDetectEnvironment$0: function() {
636 var t1, t2; 747 var t1, t2;
637 t1 = $.get$globalWindow() == null; 748 t1 = $.get$globalWindow() == null;
638 t2 = $.get$globalWorker(); 749 t2 = $.get$globalWorker();
639 this.isWorker = t1 && $.get$globalPostMessageDefined() === true; 750 this.isWorker = t1 && $.get$globalPostMessageDefined() === true;
640 if (this.isWorker !== true) 751 if (this.isWorker !== true)
641 t2 = t2 != null && $.get$IsolateNatives_thisScript() != null; 752 t2 = t2 != null && $.get$IsolateNatives_thisScript() != null;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
682 if (old != null) 793 if (old != null)
683 $ = old.get$isolateStatics(); 794 $ = old.get$isolateStatics();
684 } 795 }
685 return result; 796 return result;
686 }, 797 },
687 lookup$1: function(portId) { 798 lookup$1: function(portId) {
688 var t1 = this.ports; 799 var t1 = this.ports;
689 return t1.$index(t1, portId); 800 return t1.$index(t1, portId);
690 }, 801 },
691 register$2: function(_, portId, port) { 802 register$2: function(_, portId, port) {
692 var t1; 803 var t1 = this.ports;
693 if (this.ports.containsKey$1(portId)) 804 if (t1.containsKey$1(t1, portId))
694 throw H.wrapException(P.Exception_Exception("Registry: ports must be regis tered only once.")); 805 throw H.wrapException(P.Exception_Exception("Registry: ports must be regis tered only once."));
695 t1 = this.ports; 806 t1 = this.ports;
696 t1.$indexSet(t1, portId, port); 807 t1.$indexSet(t1, portId, port);
697 t1 = $globalState.isolates; 808 t1 = $globalState.isolates;
698 t1.$indexSet(t1, this.id, this); 809 t1.$indexSet(t1, this.id, this);
699 }, 810 },
700 unregister$1: function(portId) { 811 unregister$1: function(portId) {
701 var t1 = this.ports; 812 var t1 = this.ports;
702 t1.remove$1(t1, portId); 813 t1.remove$1(t1, portId);
703 if (this.ports._collection$_length === 0) { 814 if (this.ports._collection$_length === 0) {
(...skipping 20 matching lines...) Expand all
724 }, 835 },
725 836
726 _EventLoop: {"": "Object;events,activeTimerCount", 837 _EventLoop: {"": "Object;events,activeTimerCount",
727 dequeue$0: function() { 838 dequeue$0: function() {
728 var t1 = this.events; 839 var t1 = this.events;
729 if (t1._head === t1._tail) 840 if (t1._head === t1._tail)
730 return; 841 return;
731 return t1.removeFirst$0(); 842 return t1.removeFirst$0();
732 }, 843 },
733 checkOpenReceivePortsFromCommandLine$0: function() { 844 checkOpenReceivePortsFromCommandLine$0: function() {
734 if ($globalState.rootContext != null && $globalState.isolates.containsKey$1( $globalState.rootContext.id) && $globalState.fromCommandLine === true && $global State.rootContext.ports._collection$_length === 0) 845 if ($globalState.rootContext != null) {
846 var t1 = $globalState.isolates;
847 t1 = t1.containsKey$1(t1, $globalState.rootContext.id) && $globalState.fro mCommandLine === true && $globalState.rootContext.ports._collection$_length === 0;
848 } else
849 t1 = false;
850 if (t1)
735 throw H.wrapException(P.Exception_Exception("Program exited with open Rece ivePorts.")); 851 throw H.wrapException(P.Exception_Exception("Program exited with open Rece ivePorts."));
736 }, 852 },
737 runIteration$0: function() { 853 runIteration$0: function() {
738 var $event, t1, t2; 854 var $event, t1, t2;
739 $event = this.dequeue$0(); 855 $event = this.dequeue$0();
740 if ($event == null) { 856 if ($event == null) {
741 this.checkOpenReceivePortsFromCommandLine$0(); 857 this.checkOpenReceivePortsFromCommandLine$0();
742 t1 = $globalState; 858 t1 = $globalState;
743 if (t1.isWorker === true && t1.isolates._collection$_length === 0 && t1.to pEventLoop.activeTimerCount === 0) { 859 if (t1.isWorker === true && t1.isolates._collection$_length === 0 && t1.to pEventLoop.activeTimerCount === 0) {
744 t1 = t1.mainManager; 860 t1 = t1.mainManager;
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 }, 903 },
788 904
789 _IsolateEvent: {"": "Object;isolate,fn,message", 905 _IsolateEvent: {"": "Object;isolate,fn,message",
790 process$0: function() { 906 process$0: function() {
791 this.isolate.eval$1(this.fn); 907 this.isolate.eval$1(this.fn);
792 } 908 }
793 }, 909 },
794 910
795 _MainManagerStub: {"": "Object;"}, 911 _MainManagerStub: {"": "Object;"},
796 912
797 IsolateNatives__processWorkerMessage_closure: {"": "Closure;entryPoint_0,replyTo _1", 913 IsolateNatives__processWorkerMessage_closure: {"": "Closure;entryPoint_0,args_1, message_2,isSpawnUri_3,replyTo_4",
798 call$0: function() { 914 call$0: function() {
799 H.IsolateNatives__startIsolate(this.entryPoint_0, this.replyTo_1); 915 H.IsolateNatives__startIsolate(this.entryPoint_0, this.args_1, this.message_ 2, this.isSpawnUri_3, this.replyTo_4);
800 } 916 }
801 }, 917 },
802 918
803 _BaseSendPort: {"": "Object;", 919 _BaseSendPort: {"": "Object;", $isSendPort: true},
804 _checkReplyTo$1: function(replyTo) {
805 var t1;
806 if (replyTo != null) {
807 t1 = J.getInterceptor(replyTo);
808 t1 = (typeof replyTo !== "object" || replyTo === null || !t1.$is_NativeJsS endPort) && (typeof replyTo !== "object" || replyTo === null || !t1.$is_WorkerSe ndPort) && true;
809 } else
810 t1 = false;
811 if (t1)
812 throw H.wrapException(P.Exception_Exception("SendPort.send: Illegal replyT o port type"));
813 },
814 call$1: function(message) {
815 var t1, completer, port;
816 t1 = null;
817 completer = new P._AsyncCompleter(P._Future$(t1));
818 H.setRuntimeTypeInfo(completer, [t1]);
819 port = H.ReceivePortImpl$();
820 this.send$2(message, new H._NativeJsSendPort(port, $globalState.currentConte xt.id));
821 port._callback = new H._BaseSendPort_call_closure(completer, port);
822 return completer.future;
823 },
824 $isSendPort: true
825 },
826
827 _BaseSendPort_call_closure: {"": "Closure;completer_0,port_1",
828 call$2: function(value, ignoreReplyTo) {
829 var t1, t2;
830 t1 = this.port_1;
831 t1._callback = null;
832 $globalState.currentContext.unregister$1(t1._id);
833 t1 = J.getInterceptor(value);
834 t2 = this.completer_0;
835 if (typeof value === "object" && value !== null && !!t1.$isException) {
836 t1 = t2.future;
837 if (t1._state !== 0)
838 H.throwExpression(new P.StateError("Future already completed"));
839 t1._asyncCompleteError$2(value, null);
840 } else {
841 t1 = t2.future;
842 if (t1._state !== 0)
843 H.throwExpression(new P.StateError("Future already completed"));
844 t1._asyncComplete$1(value);
845 }
846 },
847 $is_args2: true
848 },
849 920
850 _NativeJsSendPort: {"": "_BaseSendPort;_receivePort,_isolateId", 921 _NativeJsSendPort: {"": "_BaseSendPort;_receivePort,_isolateId",
851 send$2: function(message, replyTo) { 922 send$2: function(_, message, replyTo) {
852 H._waitForPendingPorts([message, replyTo], new H._NativeJsSendPort_send_clos ure(this, message, replyTo)); 923 H._waitForPendingPorts(message, new H._NativeJsSendPort_send_closure(this, m essage));
853 }, 924 },
854 send$1: function(message) { 925 send$1: function($receiver, message) {
855 return this.send$2(message, null); 926 return this.send$2($receiver, message, null);
856 }, 927 },
857 $eq: function(_, other) { 928 $eq: function(_, other) {
858 var t1; 929 var t1;
859 if (other == null) 930 if (other == null)
860 return false; 931 return false;
861 t1 = J.getInterceptor(other); 932 t1 = J.getInterceptor(other);
862 return typeof other === "object" && other !== null && !!t1.$is_NativeJsSendP ort && J.$eq(this._receivePort, other._receivePort); 933 return typeof other === "object" && other !== null && !!t1.$is_NativeJsSendP ort && J.$eq(this._receivePort, other._receivePort);
863 }, 934 },
864 get$hashCode: function(_) { 935 get$hashCode: function(_) {
865 return this._receivePort.get$_id(); 936 return this._receivePort.get$_id();
866 }, 937 },
867 $is_NativeJsSendPort: true, 938 $is_NativeJsSendPort: true,
868 $isSendPort: true 939 $isSendPort: true
869 }, 940 },
870 941
871 _NativeJsSendPort_send_closure: {"": "Closure;this_1,message_2,replyTo_3", 942 _NativeJsSendPort_send_closure: {"": "Closure;this_1,message_2",
872 call$0: function() { 943 call$0: function() {
873 var t1, t2, t3, t4, t5, isolate, shouldSerialize, msg; 944 var t1, t2, t3, t4, isolate, shouldSerialize, msg;
874 t1 = {}; 945 t1 = {};
875 t2 = this.this_1; 946 t2 = $globalState.isolates;
876 t3 = this.replyTo_3; 947 t3 = this.this_1;
877 t2._checkReplyTo$1(t3); 948 t4 = t3._isolateId;
878 t4 = $globalState.isolates; 949 isolate = t2.$index(t2, t4);
879 t5 = t2._isolateId;
880 isolate = t4.$index(t4, t5);
881 if (isolate == null) 950 if (isolate == null)
882 return; 951 return;
883 if (t2._receivePort.get$_callback() == null) 952 if ((t3._receivePort.get$_controller()._state & 4) !== 0)
884 return; 953 return;
885 shouldSerialize = $globalState.currentContext != null && $globalState.curren tContext.id !== t5; 954 shouldSerialize = $globalState.currentContext != null && $globalState.curren tContext.id !== t4;
886 msg = this.message_2; 955 msg = this.message_2;
887 t1.msg_0 = msg; 956 t1.msg_0 = msg;
888 t1.reply_1 = t3; 957 if (shouldSerialize)
889 if (shouldSerialize) {
890 t1.msg_0 = H._serializeMessage(t1.msg_0); 958 t1.msg_0 = H._serializeMessage(t1.msg_0);
891 t1.reply_1 = H._serializeMessage(t1.reply_1); 959 t2 = $globalState.topEventLoop;
892 }
893 t3 = $globalState.topEventLoop;
894 t4 = "receive " + H.S(msg); 960 t4 = "receive " + H.S(msg);
895 t3.events._add$1(new H._IsolateEvent(isolate, new H._NativeJsSendPort_send__ closure(t1, t2, shouldSerialize), t4)); 961 t2.events._add$1(new H._IsolateEvent(isolate, new H._NativeJsSendPort_send__ closure(t1, t3, shouldSerialize), t4));
896 } 962 }
897 }, 963 },
898 964
899 _NativeJsSendPort_send__closure: {"": "Closure;box_0,this_4,shouldSerialize_5", 965 _NativeJsSendPort_send__closure: {"": "Closure;box_0,this_3,shouldSerialize_4",
900 call$0: function() { 966 call$0: function() {
901 var t1, t2; 967 var t1, t2;
902 t1 = this.this_4._receivePort; 968 t1 = this.this_3._receivePort;
903 if (t1.get$_callback() != null) { 969 if ((t1.get$_controller()._state & 4) === 0) {
904 if (this.shouldSerialize_5) { 970 if (this.shouldSerialize_4) {
905 t2 = this.box_0; 971 t2 = this.box_0;
906 t2.msg_0 = H._deserializeMessage(t2.msg_0); 972 t2.msg_0 = H._deserializeMessage(t2.msg_0);
907 t2.reply_1 = H._deserializeMessage(t2.reply_1);
908 } 973 }
909 t2 = this.box_0; 974 t1 = t1.get$_controller();
910 t1._callback$2(t2.msg_0, t2.reply_1); 975 t2 = this.box_0.msg_0;
976 if (t1._state >= 4)
977 H.throwExpression(t1._badEventState$0());
978 t1._async$_add$1(t2);
911 } 979 }
912 } 980 }
913 }, 981 },
914 982
915 _WorkerSendPort: {"": "_BaseSendPort;_workerId,_receivePortId,_isolateId", 983 _WorkerSendPort: {"": "_BaseSendPort;_workerId,_receivePortId,_isolateId",
916 send$2: function(message, replyTo) { 984 send$2: function(_, message, replyTo) {
917 H._waitForPendingPorts([message, replyTo], new H._WorkerSendPort_send_closur e(this, message, replyTo)); 985 H._waitForPendingPorts(message, new H._WorkerSendPort_send_closure(this, mes sage));
918 }, 986 },
919 send$1: function(message) { 987 send$1: function($receiver, message) {
920 return this.send$2(message, null); 988 return this.send$2($receiver, message, null);
921 }, 989 },
922 $eq: function(_, other) { 990 $eq: function(_, other) {
923 var t1; 991 var t1;
924 if (other == null) 992 if (other == null)
925 return false; 993 return false;
926 t1 = J.getInterceptor(other); 994 t1 = J.getInterceptor(other);
927 if (typeof other === "object" && other !== null && !!t1.$is_WorkerSendPort) 995 if (typeof other === "object" && other !== null && !!t1.$is_WorkerSendPort)
928 t1 = J.$eq(this._workerId, other._workerId) && J.$eq(this._isolateId, othe r._isolateId) && J.$eq(this._receivePortId, other._receivePortId); 996 t1 = J.$eq(this._workerId, other._workerId) && J.$eq(this._isolateId, othe r._isolateId) && J.$eq(this._receivePortId, other._receivePortId);
929 else 997 else
930 t1 = false; 998 t1 = false;
931 return t1; 999 return t1;
932 }, 1000 },
933 get$hashCode: function(_) { 1001 get$hashCode: function(_) {
934 var t1, t2, t3; 1002 var t1, t2, t3;
935 t1 = this._workerId; 1003 t1 = this._workerId;
936 if (typeof t1 !== "number") 1004 if (typeof t1 !== "number")
937 throw t1.$shl(); 1005 throw t1.$shl();
938 t2 = this._isolateId; 1006 t2 = this._isolateId;
939 if (typeof t2 !== "number") 1007 if (typeof t2 !== "number")
940 throw t2.$shl(); 1008 throw t2.$shl();
941 t3 = this._receivePortId; 1009 t3 = this._receivePortId;
942 if (typeof t3 !== "number") 1010 if (typeof t3 !== "number")
943 throw H.iae(t3); 1011 throw H.iae(t3);
944 return (t1 << 16 ^ t2 << 8 ^ t3) >>> 0; 1012 return (t1 << 16 ^ t2 << 8 ^ t3) >>> 0;
945 }, 1013 },
946 $is_WorkerSendPort: true, 1014 $is_WorkerSendPort: true,
947 $isSendPort: true 1015 $isSendPort: true
948 }, 1016 },
949 1017
950 _WorkerSendPort_send_closure: {"": "Closure;this_0,message_1,replyTo_2", 1018 _WorkerSendPort_send_closure: {"": "Closure;this_0,message_1",
951 call$0: function() { 1019 call$0: function() {
952 var t1, t2, workerMessage, manager; 1020 var t1, workerMessage, t2, manager;
953 t1 = this.this_0; 1021 t1 = this.this_0;
954 t2 = this.replyTo_2; 1022 workerMessage = H._serializeMessage(H.fillLiteralMap(["command", "message", "port", t1, "msg", this.message_1], P.LinkedHashMap_LinkedHashMap(null, null, nu ll, null, null)));
955 t1._checkReplyTo$1(t2);
956 workerMessage = H._serializeMessage(H.fillLiteralMap(["command", "message", "port", t1, "msg", this.message_1, "replyTo", t2], P.LinkedHashMap_LinkedHashMap (null, null, null, null, null)));
957 if ($globalState.isWorker === true) { 1023 if ($globalState.isWorker === true) {
958 $globalState.mainManager.toString; 1024 $globalState.mainManager.toString;
959 self.postMessage(workerMessage); 1025 self.postMessage(workerMessage);
960 } else { 1026 } else {
961 t2 = $globalState.managers; 1027 t2 = $globalState.managers;
962 manager = t2.$index(t2, t1._workerId); 1028 manager = t2.$index(t2, t1._workerId);
963 if (manager != null) 1029 if (manager != null)
964 manager.postMessage(workerMessage); 1030 manager.postMessage(workerMessage);
965 } 1031 }
966 } 1032 }
967 }, 1033 },
968 1034
969 ReceivePortImpl: {"": "Object;_id<,_callback<", 1035 ReceivePortImpl: {"": "Stream;_id<,_controller<",
970 _callback$2: function(arg0, arg1) { 1036 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) {
971 return this._callback.call$2(arg0, arg1); 1037 var t1 = this._controller;
1038 t1.toString;
1039 t1 = new P._ControllerStream(t1);
1040 H.setRuntimeTypeInfo(t1, [null]);
1041 return t1.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDon e, onError);
1042 },
1043 close$0: function(_) {
1044 var t1 = this._controller;
1045 if ((t1._state & 4) !== 0)
1046 return;
1047 t1.close$0(t1);
1048 $globalState.currentContext.unregister$1(this._id);
1049 },
1050 get$close: function(_receiver) {
1051 return new H.BoundClosure$i0(this, H.ReceivePortImpl.prototype.close$0, _rec eiver, "close$0");
972 }, 1052 },
973 ReceivePortImpl$0: function() { 1053 ReceivePortImpl$0: function() {
1054 this._controller = P.StreamController_StreamController(this.get$close(this), null, null, null, true, null);
974 var t1 = $globalState.currentContext; 1055 var t1 = $globalState.currentContext;
975 t1.register$2(t1, this._id, this); 1056 t1.register$2(t1, this._id, this);
976 }, 1057 },
977 static: { 1058 static: {
978 "": "ReceivePortImpl__nextFreeId", 1059 "": "ReceivePortImpl__nextFreeId",
979 ReceivePortImpl$: function() { 1060 ReceivePortImpl$: function() {
980 var t1 = $.ReceivePortImpl__nextFreeId; 1061 var t1 = $.ReceivePortImpl__nextFreeId;
981 $.ReceivePortImpl__nextFreeId = t1 + 1; 1062 $.ReceivePortImpl__nextFreeId = t1 + 1;
982 t1 = new H.ReceivePortImpl(t1, null); 1063 t1 = new H.ReceivePortImpl(t1, null);
983 t1.ReceivePortImpl$0(); 1064 t1.ReceivePortImpl$0();
984 return t1; 1065 return t1;
985 }} 1066 }}
986 1067
987 }, 1068 },
988 1069
989 _waitForPendingPorts_closure: {"": "Closure;callback_0", 1070 _waitForPendingPorts_closure: {"": "Closure;callback_0",
990 call$1: function(_) { 1071 call$1: function(_) {
991 return this.callback_0.call$0(); 1072 return this.callback_0.call$0();
992 } 1073 },
1074 $is_args1: true
993 }, 1075 },
994 1076
995 _PendingSendPortFinder: {"": "_MessageTraverser;ports,_visited", 1077 _PendingSendPortFinder: {"": "_MessageTraverser;ports,_visited",
996 visitPrimitive$1: function(x) { 1078 visitPrimitive$1: function(x) {
997 }, 1079 },
998 visitList$1: function(list) { 1080 visitList$1: function(list) {
999 var t1 = this._visited; 1081 var t1 = this._visited;
1000 if (t1.$index(t1, list) != null) 1082 if (t1.$index(t1, list) != null)
1001 return; 1083 return;
1002 t1 = this._visited; 1084 t1 = this._visited;
1003 t1.$indexSet(t1, list, true); 1085 t1.$indexSet(t1, list, true);
1004 J.forEach$1$ax(list, new H._PendingSendPortFinder_visitList_closure(this)); 1086 J.forEach$1$ax(list, this.get$_dispatch());
1005 }, 1087 },
1006 visitMap$1: function(map) { 1088 visitMap$1: function(map) {
1007 var t1 = this._visited; 1089 var t1 = this._visited;
1008 if (t1.$index(t1, map) != null) 1090 if (t1.$index(t1, map) != null)
1009 return; 1091 return;
1010 t1 = this._visited; 1092 t1 = this._visited;
1011 t1.$indexSet(t1, map, true); 1093 t1.$indexSet(t1, map, true);
1012 t1 = map.get$values(map); 1094 J.forEach$1$ax(J.get$values$x(map), this.get$_dispatch());
1013 t1.forEach$1(t1, new H._PendingSendPortFinder_visitMap_closure(this));
1014 }, 1095 },
1015 visitSendPort$1: function(port) { 1096 visitSendPort$1: function(port) {
1016 }, 1097 },
1017 visitIsolateSink$1: function(sink) {
1018 this.visitSendPort$1(sink._port);
1019 },
1020 visitCloseToken$1: function(token) {
1021 },
1022 _PendingSendPortFinder$0: function() { 1098 _PendingSendPortFinder$0: function() {
1023 this._visited = new H._JsVisitedMap(null); 1099 this._visited = new H._JsVisitedMap(null);
1024 }, 1100 },
1025 static: { 1101 static: {
1026 _PendingSendPortFinder$: function() { 1102 _PendingSendPortFinder$: function() {
1027 var t1 = new H._PendingSendPortFinder([], new H._MessageTraverserVisitedMap()) ; 1103 var t1 = new H._PendingSendPortFinder([], new H._MessageTraverserVisitedMap()) ;
1028 t1._PendingSendPortFinder$0(); 1104 t1._PendingSendPortFinder$0();
1029 return t1; 1105 return t1;
1030 }} 1106 }}
1031 1107
1032 }, 1108 },
1033 1109
1034 _PendingSendPortFinder_visitList_closure: {"": "Closure;this_0",
1035 call$1: function(e) {
1036 return this.this_0._dispatch$1(e);
1037 }
1038 },
1039
1040 _PendingSendPortFinder_visitMap_closure: {"": "Closure;this_0",
1041 call$1: function(e) {
1042 return this.this_0._dispatch$1(e);
1043 }
1044 },
1045
1046 _JsSerializer: {"": "_Serializer;_nextFreeRefId,_visited", 1110 _JsSerializer: {"": "_Serializer;_nextFreeRefId,_visited",
1047 visitSendPort$1: function(x) { 1111 visitSendPort$1: function(x) {
1048 var t1 = J.getInterceptor(x); 1112 if (!!x.$is_NativeJsSendPort)
1049 if (typeof x === "object" && x !== null && !!t1.$is_NativeJsSendPort)
1050 return ["sendport", $globalState.currentManagerId, x._isolateId, x._receiv ePort.get$_id()]; 1113 return ["sendport", $globalState.currentManagerId, x._isolateId, x._receiv ePort.get$_id()];
1051 if (typeof x === "object" && x !== null && !!t1.$is_WorkerSendPort) 1114 if (!!x.$is_WorkerSendPort)
1052 return ["sendport", x._workerId, x._isolateId, x._receivePortId]; 1115 return ["sendport", x._workerId, x._isolateId, x._receivePortId];
1053 throw H.wrapException("Illegal underlying port " + H.S(x)); 1116 throw H.wrapException("Illegal underlying port " + H.S(x));
1054 },
1055 visitIsolateSink$1: function(sink) {
1056 var isClosed = sink._isClosed;
1057 return ["isolateSink", this.visitSendPort$1(sink._port), isClosed];
1058 },
1059 visitCloseToken$1: function(token) {
1060 return ["closeToken"];
1061 } 1117 }
1062 }, 1118 },
1063 1119
1064 _JsCopier: {"": "_Copier;_visited", 1120 _JsCopier: {"": "_Copier;_visited",
1065 visitSendPort$1: function(x) { 1121 visitSendPort$1: function(x) {
1066 var t1 = J.getInterceptor(x); 1122 if (!!x.$is_NativeJsSendPort)
1067 if (typeof x === "object" && x !== null && !!t1.$is_NativeJsSendPort)
1068 return new H._NativeJsSendPort(x._receivePort, x._isolateId); 1123 return new H._NativeJsSendPort(x._receivePort, x._isolateId);
1069 if (typeof x === "object" && x !== null && !!t1.$is_WorkerSendPort) 1124 if (!!x.$is_WorkerSendPort)
1070 return new H._WorkerSendPort(x._workerId, x._receivePortId, x._isolateId); 1125 return new H._WorkerSendPort(x._workerId, x._receivePortId, x._isolateId);
1071 throw H.wrapException("Illegal underlying port " + H.S(x)); 1126 throw H.wrapException("Illegal underlying port " + H.S(x));
1072 },
1073 visitIsolateSink$1: function(sink) {
1074 var result = new H.JsIsolateSink(false, this.visitSendPort$1(sink._port));
1075 result._isClosed = sink._isClosed;
1076 return result;
1077 },
1078 visitCloseToken$1: function(token) {
1079 return token;
1080 } 1127 }
1081 }, 1128 },
1082 1129
1083 _JsDeserializer: {"": "_Deserializer;_deserialized", 1130 _JsDeserializer: {"": "_Deserializer;_deserialized",
1084 deserializeSendPort$1: function(list) { 1131 deserializeSendPort$1: function(list) {
1085 var t1, managerId, isolateId, receivePortId, isolate, receivePort; 1132 var t1, managerId, isolateId, receivePortId, isolate, receivePort;
1086 t1 = J.getInterceptor$asx(list); 1133 t1 = J.getInterceptor$asx(list);
1087 managerId = t1.$index(list, 1); 1134 managerId = t1.$index(list, 1);
1088 isolateId = t1.$index(list, 2); 1135 isolateId = t1.$index(list, 2);
1089 receivePortId = t1.$index(list, 3); 1136 receivePortId = t1.$index(list, 3);
1090 if (J.$eq(managerId, $globalState.currentManagerId)) { 1137 if (J.$eq(managerId, $globalState.currentManagerId)) {
1091 t1 = $globalState.isolates; 1138 t1 = $globalState.isolates;
1092 isolate = t1.$index(t1, isolateId); 1139 isolate = t1.$index(t1, isolateId);
1093 if (isolate == null) 1140 if (isolate == null)
1094 return; 1141 return;
1095 receivePort = isolate.lookup$1(receivePortId); 1142 receivePort = isolate.lookup$1(receivePortId);
1096 if (receivePort == null) 1143 if (receivePort == null)
1097 return; 1144 return;
1098 return new H._NativeJsSendPort(receivePort, isolateId); 1145 return new H._NativeJsSendPort(receivePort, isolateId);
1099 } else 1146 } else
1100 return new H._WorkerSendPort(managerId, receivePortId, isolateId); 1147 return new H._WorkerSendPort(managerId, receivePortId, isolateId);
1101 },
1102 deserializeIsolateSink$1: function(list) {
1103 var t1, port, result;
1104 t1 = J.getInterceptor$asx(list);
1105 port = this.deserializeSendPort$1(t1.$index(list, 1));
1106 result = new H.JsIsolateSink(false, port);
1107 result._isClosed = t1.$index(list, 2);
1108 return result;
1109 },
1110 deserializeCloseToken$1: function(list) {
1111 return C.C_CloseToken;
1112 } 1148 }
1113 }, 1149 },
1114 1150
1115 _JsVisitedMap: {"": "Object;tagged", 1151 _JsVisitedMap: {"": "Object;tagged",
1116 $index: function(_, object) { 1152 $index: function(_, object) {
1117 return object.__MessageTraverser__attached_info__; 1153 return object.__MessageTraverser__attached_info__;
1118 }, 1154 },
1119 $indexSet: function(_, object, info) { 1155 $indexSet: function(_, object, info) {
1120 this.tagged.push(object); 1156 this.tagged.push(object);
1121 object.__MessageTraverser__attached_info__ = info; 1157 object.__MessageTraverser__attached_info__ = info;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 var t1; 1202 var t1;
1167 if (x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean") 1203 if (x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean")
1168 return this.visitPrimitive$1(x); 1204 return this.visitPrimitive$1(x);
1169 t1 = J.getInterceptor(x); 1205 t1 = J.getInterceptor(x);
1170 if (typeof x === "object" && x !== null && (x.constructor === Array || !!t1. $isList)) 1206 if (typeof x === "object" && x !== null && (x.constructor === Array || !!t1. $isList))
1171 return this.visitList$1(x); 1207 return this.visitList$1(x);
1172 if (typeof x === "object" && x !== null && !!t1.$isMap) 1208 if (typeof x === "object" && x !== null && !!t1.$isMap)
1173 return this.visitMap$1(x); 1209 return this.visitMap$1(x);
1174 if (typeof x === "object" && x !== null && !!t1.$isSendPort) 1210 if (typeof x === "object" && x !== null && !!t1.$isSendPort)
1175 return this.visitSendPort$1(x); 1211 return this.visitSendPort$1(x);
1176 if (typeof x === "object" && x !== null && !!t1.$isJsIsolateSink)
1177 return this.visitIsolateSink$1(x);
1178 if (typeof x === "object" && x !== null && !!t1.$isCloseToken)
1179 return this.visitCloseToken$1(x);
1180 return this.visitObject$1(x); 1212 return this.visitObject$1(x);
1181 }, 1213 },
1214 get$_dispatch: function() {
1215 return new H.BoundClosure$1(this, H._MessageTraverser.prototype._dispatch$1, null, "_dispatch$1");
1216 },
1182 visitObject$1: function(x) { 1217 visitObject$1: function(x) {
1183 throw H.wrapException("Message serialization: Illegal value " + H.S(x) + " p assed"); 1218 throw H.wrapException("Message serialization: Illegal value " + H.S(x) + " p assed");
1184 } 1219 }
1185 }, 1220 },
1186 1221
1187 _Copier: {"": "_MessageTraverser;", 1222 _Copier: {"": "_MessageTraverser;",
1188 visitPrimitive$1: function(x) { 1223 visitPrimitive$1: function(x) {
1189 return x; 1224 return x;
1190 }, 1225 },
1191 visitList$1: function(list) { 1226 visitList$1: function(list) {
1192 var t1, copy, len, i, t2;
1193 if (typeof list !== "string" && (typeof list !== "object" || list === null | | list.constructor !== Array && !H.isJsIndexable(list, list[init.dispatchPropert yName])))
1194 return this.visitList$1$bailout1(1, list);
1195 t1 = this._visited;
1196 copy = t1.$index(t1, list);
1197 if (copy != null)
1198 return copy;
1199 len = list.length;
1200 copy = P.List_List(len, null);
1201 t1 = this._visited;
1202 t1.$indexSet(t1, list, copy);
1203 for (t1 = copy.length, i = 0; i < len; ++i) {
1204 if (i >= list.length)
1205 throw H.ioore(list, i);
1206 t2 = this._dispatch$1(list[i]);
1207 if (i >= t1)
1208 throw H.ioore(copy, i);
1209 copy[i] = t2;
1210 }
1211 return copy;
1212 },
1213 visitList$1$bailout1: function(state0, list) {
1214 var t1, copy, len, t2, i, t3; 1227 var t1, copy, len, t2, i, t3;
1215 t1 = this._visited; 1228 t1 = this._visited;
1216 copy = t1.$index(t1, list); 1229 copy = t1.$index(t1, list);
1217 if (copy != null) 1230 if (copy != null)
1218 return copy; 1231 return copy;
1219 t1 = J.getInterceptor$asx(list); 1232 t1 = J.getInterceptor$asx(list);
1220 len = t1.get$length(list); 1233 len = t1.get$length(list);
1221 copy = P.List_List(len, null); 1234 copy = P.List_List(len, null);
1222 t2 = this._visited; 1235 t2 = this._visited;
1223 t2.$indexSet(t2, list, copy); 1236 t2.$indexSet(t2, list, copy);
1224 for (t2 = copy.length, i = 0; i < len; ++i) { 1237 for (t2 = copy.length, i = 0; i < len; ++i) {
1225 t3 = this._dispatch$1(t1.$index(list, i)); 1238 t3 = this._dispatch$1(t1.$index(list, i));
1226 if (i >= t2) 1239 if (i >= t2)
1227 throw H.ioore(copy, i); 1240 throw H.ioore(copy, i);
1228 copy[i] = t3; 1241 copy[i] = t3;
1229 } 1242 }
1230 return copy; 1243 return copy;
1231 }, 1244 },
1232 visitMap$1: function(map) { 1245 visitMap$1: function(map) {
1233 var t1, t2; 1246 var t1, t2;
1234 t1 = {}; 1247 t1 = {};
1235 t2 = this._visited; 1248 t2 = this._visited;
1236 t1.copy_0 = t2.$index(t2, map); 1249 t1.copy_0 = t2.$index(t2, map);
1237 t2 = t1.copy_0; 1250 t2 = t1.copy_0;
1238 if (t2 != null) 1251 if (t2 != null)
1239 return t2; 1252 return t2;
1240 t1.copy_0 = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null); 1253 t1.copy_0 = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null);
1241 t2 = this._visited; 1254 t2 = this._visited;
1242 t2.$indexSet(t2, map, t1.copy_0); 1255 t2.$indexSet(t2, map, t1.copy_0);
1243 map.forEach$1(map, new H._Copier_visitMap_closure(t1, this)); 1256 J.forEach$1$ax(map, new H._Copier_visitMap_closure(t1, this));
1244 return t1.copy_0; 1257 return t1.copy_0;
1245 } 1258 }
1246 }, 1259 },
1247 1260
1248 _Copier_visitMap_closure: {"": "Closure;box_0,this_1", 1261 _Copier_visitMap_closure: {"": "Closure;box_0,this_1",
1249 call$2: function(key, val) { 1262 call$2: function(key, val) {
1250 var t1 = this.this_1; 1263 var t1 = this.this_1;
1251 J.$indexSet$ax(this.box_0.copy_0, t1._dispatch$1(key), t1._dispatch$1(val)); 1264 J.$indexSet$ax(this.box_0.copy_0, t1._dispatch$1(key), t1._dispatch$1(val));
1252 }, 1265 },
1253 $is_args2: true 1266 $is_args2: true
1254 }, 1267 },
1255 1268
1256 _Serializer: {"": "_MessageTraverser;", 1269 _Serializer: {"": "_MessageTraverser;",
1257 visitPrimitive$1: function(x) { 1270 visitPrimitive$1: function(x) {
1258 return x; 1271 return x;
1259 }, 1272 },
1260 visitList$1: function(list) { 1273 visitList$1: function(list) {
1261 var t1, copyId, id; 1274 var t1, copyId, id;
1262 t1 = this._visited; 1275 t1 = this._visited;
1263 copyId = t1.$index(t1, list); 1276 copyId = t1.$index(t1, list);
1264 if (copyId != null) 1277 if (copyId != null)
1265 return ["ref", copyId]; 1278 return ["ref", copyId];
1266 id = this._nextFreeRefId; 1279 id = this._nextFreeRefId;
1267 this._nextFreeRefId = id + 1; 1280 this._nextFreeRefId = id + 1;
1268 t1 = this._visited; 1281 t1 = this._visited;
1269 t1.$indexSet(t1, list, id); 1282 t1.$indexSet(t1, list, id);
1270 return ["list", id, this._serializeList$1(list)]; 1283 return ["list", id, this._serializeList$1(list)];
1271 }, 1284 },
1272 visitMap$1: function(map) { 1285 visitMap$1: function(map) {
1273 var t1, copyId, id, keys; 1286 var t1, copyId, id;
1274 t1 = this._visited; 1287 t1 = this._visited;
1275 copyId = t1.$index(t1, map); 1288 copyId = t1.$index(t1, map);
1276 if (copyId != null) 1289 if (copyId != null)
1277 return ["ref", copyId]; 1290 return ["ref", copyId];
1278 id = this._nextFreeRefId; 1291 id = this._nextFreeRefId;
1279 this._nextFreeRefId = id + 1; 1292 this._nextFreeRefId = id + 1;
1280 t1 = this._visited; 1293 t1 = this._visited;
1281 t1.$indexSet(t1, map, id); 1294 t1.$indexSet(t1, map, id);
1282 t1 = map.get$keys(); 1295 t1 = J.getInterceptor$x(map);
1283 keys = this._serializeList$1(P.List_List$from(t1, true, H.getRuntimeTypeArgu ment(t1, "IterableBase", 0))); 1296 return ["map", id, this._serializeList$1(J.toList$0$ax(t1.get$keys(map))), t his._serializeList$1(J.toList$0$ax(t1.get$values(map)))];
1284 t1 = map.get$values(map);
1285 return ["map", id, keys, this._serializeList$1(P.List_List$from(t1, true, H. getRuntimeTypeArgument(t1, "IterableBase", 0)))];
1286 }, 1297 },
1287 _serializeList$1: function(list) { 1298 _serializeList$1: function(list) {
1288 var len, result, t1, i, t2;
1289 if (typeof list !== "string" && (typeof list !== "object" || list === null | | list.constructor !== Array && !H.isJsIndexable(list, list[init.dispatchPropert yName])))
1290 return this._serializeList$1$bailout(1, list);
1291 len = list.length;
1292 result = P.List_List(len, null);
1293 for (t1 = result.length, i = 0; i < len; ++i) {
1294 if (i >= list.length)
1295 throw H.ioore(list, i);
1296 t2 = this._dispatch$1(list[i]);
1297 if (i >= t1)
1298 throw H.ioore(result, i);
1299 result[i] = t2;
1300 }
1301 return result;
1302 },
1303 _serializeList$1$bailout: function(state0, list) {
1304 var t1, len, result, t2, i, t3; 1299 var t1, len, result, t2, i, t3;
1305 t1 = J.getInterceptor$asx(list); 1300 t1 = J.getInterceptor$asx(list);
1306 len = t1.get$length(list); 1301 len = t1.get$length(list);
1307 result = P.List_List(len, null); 1302 result = P.List_List(len, null);
1308 for (t2 = result.length, i = 0; i < len; ++i) { 1303 for (t2 = result.length, i = 0; i < len; ++i) {
1309 t3 = this._dispatch$1(t1.$index(list, i)); 1304 t3 = this._dispatch$1(t1.$index(list, i));
1310 if (i >= t2) 1305 if (i >= t2)
1311 throw H.ioore(result, i); 1306 throw H.ioore(result, i);
1312 result[i] = t3; 1307 result[i] = t3;
1313 } 1308 }
(...skipping 17 matching lines...) Expand all
1331 case "ref": 1326 case "ref":
1332 id = t1.$index(x, 1); 1327 id = t1.$index(x, 1);
1333 t1 = this._deserialized; 1328 t1 = this._deserialized;
1334 return t1.$index(t1, id); 1329 return t1.$index(t1, id);
1335 case "list": 1330 case "list":
1336 return this._deserializeList$1(x); 1331 return this._deserializeList$1(x);
1337 case "map": 1332 case "map":
1338 return this._deserializeMap$1(x); 1333 return this._deserializeMap$1(x);
1339 case "sendport": 1334 case "sendport":
1340 return this.deserializeSendPort$1(x); 1335 return this.deserializeSendPort$1(x);
1341 case "isolateSink":
1342 return this.deserializeIsolateSink$1(x);
1343 case "closeToken":
1344 return this.deserializeCloseToken$1(x);
1345 default: 1336 default:
1346 return this.deserializeObject$1(x); 1337 return this.deserializeObject$1(x);
1347 } 1338 }
1348 }, 1339 },
1349 _deserializeList$1: function(x) { 1340 _deserializeList$1: function(x) {
1350 var t1, id, dartList, len, i; 1341 var t1, id, dartList, len, i;
1351 t1 = J.getInterceptor$asx(x); 1342 t1 = J.getInterceptor$asx(x);
1352 id = t1.$index(x, 1); 1343 id = t1.$index(x, 1);
1353 dartList = t1.$index(x, 2); 1344 dartList = t1.$index(x, 2);
1354 if (typeof dartList !== "object" || dartList === null || (dartList.construct or !== Array || !!dartList.immutable$list) && !H.isJsIndexable(dartList, dartLis t[init.dispatchPropertyName]))
1355 return this._deserializeList$1$bailout(1, dartList, id);
1356 t1 = this._deserialized;
1357 t1.$indexSet(t1, id, dartList);
1358 len = dartList.length;
1359 for (i = 0; i < len; ++i) {
1360 if (i >= dartList.length)
1361 throw H.ioore(dartList, i);
1362 t1 = this._deserializeHelper$1(dartList[i]);
1363 if (i >= dartList.length)
1364 throw H.ioore(dartList, i);
1365 dartList[i] = t1;
1366 }
1367 return dartList;
1368 },
1369 _deserializeList$1$bailout: function(state0, dartList, id) {
1370 var t1, len, i;
1371 t1 = this._deserialized; 1345 t1 = this._deserialized;
1372 t1.$indexSet(t1, id, dartList); 1346 t1.$indexSet(t1, id, dartList);
1373 t1 = J.getInterceptor$asx(dartList); 1347 t1 = J.getInterceptor$asx(dartList);
1374 len = t1.get$length(dartList); 1348 len = t1.get$length(dartList);
1375 if (typeof len !== "number") 1349 if (typeof len !== "number")
1376 throw H.iae(len); 1350 throw H.iae(len);
1377 i = 0; 1351 i = 0;
1378 for (; i < len; ++i) 1352 for (; i < len; ++i)
1379 t1.$indexSet(dartList, i, this._deserializeHelper$1(t1.$index(dartList, i) )); 1353 t1.$indexSet(dartList, i, this._deserializeHelper$1(t1.$index(dartList, i) ));
1380 return dartList; 1354 return dartList;
1381 }, 1355 },
1382 _deserializeMap$1: function(x) { 1356 _deserializeMap$1: function(x) {
1383 var result, t1, id, t2, keys, values, len, i, key; 1357 var result, t1, id, t2, keys, values, len, i;
1384 result = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null); 1358 result = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null);
1385 t1 = J.getInterceptor$asx(x); 1359 t1 = J.getInterceptor$asx(x);
1386 id = t1.$index(x, 1); 1360 id = t1.$index(x, 1);
1387 t2 = this._deserialized; 1361 t2 = this._deserialized;
1388 t2.$indexSet(t2, id, result); 1362 t2.$indexSet(t2, id, result);
1389 keys = t1.$index(x, 2); 1363 keys = t1.$index(x, 2);
1390 if (typeof keys !== "string" && (typeof keys !== "object" || keys === null | | keys.constructor !== Array && !H.isJsIndexable(keys, keys[init.dispatchPropert yName])))
1391 return this._deserializeMap$1$bailout(1, result, keys, t1, x);
1392 values = t1.$index(x, 3); 1364 values = t1.$index(x, 3);
1393 if (typeof values !== "string" && (typeof values !== "object" || values === null || values.constructor !== Array && !H.isJsIndexable(values, values[init.dis patchPropertyName]))) 1365 t1 = J.getInterceptor$asx(keys);
1394 return this._deserializeMap$1$bailout(2, result, keys, 0, 0, values); 1366 len = t1.get$length(keys);
1395 len = keys.length; 1367 if (typeof len !== "number")
1396 for (i = 0; i < len; ++i) { 1368 throw H.iae(len);
1397 if (i >= keys.length) 1369 t2 = J.getInterceptor$asx(values);
1398 throw H.ioore(keys, i); 1370 i = 0;
1399 key = this._deserializeHelper$1(keys[i]); 1371 for (; i < len; ++i)
1400 if (i >= values.length) 1372 result.$indexSet(result, this._deserializeHelper$1(t1.$index(keys, i)), th is._deserializeHelper$1(t2.$index(values, i)));
1401 throw H.ioore(values, i);
1402 result.$indexSet(result, key, this._deserializeHelper$1(values[i]));
1403 }
1404 return result; 1373 return result;
1405 }, 1374 },
1406 _deserializeMap$1$bailout: function(state0, result, keys, t1, x, values) {
1407 switch (state0) {
1408 case 0:
1409 result = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null);
1410 t1 = J.getInterceptor$asx(x);
1411 id = t1.$index(x, 1);
1412 t2 = this._deserialized;
1413 t2.$indexSet(t2, id, result);
1414 keys = t1.$index(x, 2);
1415 case 1:
1416 state0 = 0;
1417 values = t1.$index(x, 3);
1418 case 2:
1419 var id, t2, len, i;
1420 state0 = 0;
1421 t1 = J.getInterceptor$asx(keys);
1422 len = t1.get$length(keys);
1423 if (typeof len !== "number")
1424 throw H.iae(len);
1425 t2 = J.getInterceptor$asx(values);
1426 i = 0;
1427 for (; i < len; ++i)
1428 result.$indexSet(result, this._deserializeHelper$1(t1.$index(keys, i)) , this._deserializeHelper$1(t2.$index(values, i)));
1429 return result;
1430 }
1431 },
1432 deserializeObject$1: function(x) { 1375 deserializeObject$1: function(x) {
1433 throw H.wrapException("Unexpected serialized object"); 1376 throw H.wrapException("Unexpected serialized object");
1434 } 1377 }
1435 }, 1378 },
1436 1379
1437 TimerImpl: {"": "Object;_once,_inEventLoop,_handle", 1380 TimerImpl: {"": "Object;_once,_inEventLoop,_handle",
1438 TimerImpl$2: function(milliseconds, callback) { 1381 TimerImpl$2: function(milliseconds, callback) {
1439 var t1, t2; 1382 var t1, t2;
1440 if (milliseconds === 0) 1383 if (milliseconds === 0)
1441 t1 = $.get$globalThis().setTimeout == null || $globalState.isWorker === tr ue; 1384 t1 = $.get$globalThis().setTimeout == null || $globalState.isWorker === tr ue;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1563 } 1506 }
1564 return result; 1507 return result;
1565 }, 1508 },
1566 1509
1567 Primitives_stringFromCodePoints: function(codePoints) { 1510 Primitives_stringFromCodePoints: function(codePoints) {
1568 var a, t1, i; 1511 var a, t1, i;
1569 a = []; 1512 a = [];
1570 for (t1 = new H.ListIterator(codePoints, codePoints.length, 0, null); t1.moveN ext$0();) { 1513 for (t1 = new H.ListIterator(codePoints, codePoints.length, 0, null); t1.moveN ext$0();) {
1571 i = t1._current; 1514 i = t1._current;
1572 if (typeof i !== "number" || Math.floor(i) !== i) 1515 if (typeof i !== "number" || Math.floor(i) !== i)
1573 throw H.wrapException(P.ArgumentError$(i)); 1516 throw H.wrapException(new P.ArgumentError(i));
1574 if (i <= 65535) 1517 if (i <= 65535)
1575 a.push(i); 1518 a.push(i);
1576 else if (i <= 1114111) { 1519 else if (i <= 1114111) {
1577 a.push(55296 + (C.JSInt_methods.$shr(i - 65536, 10) & 1023)); 1520 a.push(55296 + (C.JSInt_methods.$shr(i - 65536, 10) & 1023));
1578 a.push(56320 + (i & 1023)); 1521 a.push(56320 + (i & 1023));
1579 } else 1522 } else
1580 throw H.wrapException(P.ArgumentError$(i)); 1523 throw H.wrapException(new P.ArgumentError(i));
1581 } 1524 }
1582 return H.Primitives__fromCharCodeApply(a); 1525 return H.Primitives__fromCharCodeApply(a);
1583 }, 1526 },
1584 1527
1585 Primitives_stringFromCharCodes: function(charCodes) { 1528 Primitives_stringFromCharCodes: function(charCodes) {
1586 var t1, i; 1529 var t1, i;
1587 for (t1 = new H.ListIterator(charCodes, charCodes.length, 0, null); t1.moveNex t$0();) { 1530 for (t1 = new H.ListIterator(charCodes, charCodes.length, 0, null); t1.moveNex t$0();) {
1588 i = t1._current; 1531 i = t1._current;
1589 if (typeof i !== "number" || Math.floor(i) !== i) 1532 if (typeof i !== "number" || Math.floor(i) !== i)
1590 throw H.wrapException(P.ArgumentError$(i)); 1533 throw H.wrapException(new P.ArgumentError(i));
1591 if (i < 0) 1534 if (i < 0)
1592 throw H.wrapException(P.ArgumentError$(i)); 1535 throw H.wrapException(new P.ArgumentError(i));
1593 if (i > 65535) 1536 if (i > 65535)
1594 return H.Primitives_stringFromCodePoints(charCodes); 1537 return H.Primitives_stringFromCodePoints(charCodes);
1595 } 1538 }
1596 return H.Primitives__fromCharCodeApply(charCodes); 1539 return H.Primitives__fromCharCodeApply(charCodes);
1597 }, 1540 },
1598 1541
1599 Primitives_getProperty: function(object, key) { 1542 Primitives_getProperty: function(object, key) {
1600 if (object == null || typeof object === "boolean" || typeof object === "number " || typeof object === "string") 1543 if (object == null || typeof object === "boolean" || typeof object === "number " || typeof object === "string")
1601 throw H.wrapException(new P.ArgumentError(object)); 1544 throw H.wrapException(new P.ArgumentError(object));
1602 return object[key]; 1545 return object[key];
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 if (closure == null) 1720 if (closure == null)
1778 return; 1721 return;
1779 $function = closure.$identity; 1722 $function = closure.$identity;
1780 if (!!$function) 1723 if (!!$function)
1781 return $function; 1724 return $function;
1782 $function = (function(closure, arity, context, invoke) { return function(a1, a2, a3, a4) { return invoke(closure, context, arity, a1, a2, a3, a4); };})( closure,arity,$globalState.currentContext,H.invokeClosure$closure.call$7); 1725 $function = (function(closure, arity, context, invoke) { return function(a1, a2, a3, a4) { return invoke(closure, context, arity, a1, a2, a3, a4); };})( closure,arity,$globalState.currentContext,H.invokeClosure$closure.call$7);
1783 closure.$identity = $function; 1726 closure.$identity = $function;
1784 return $function; 1727 return $function;
1785 }, 1728 },
1786 1729
1730 propertyTypeCastError: function(value, property) {
1731 var t1 = J.getInterceptor$asx(property);
1732 throw H.wrapException(H.CastErrorImplementation$(H.Primitives_objectTypeName(v alue), t1.substring$2(property, 3, t1.get$length(property))));
1733 },
1734
1735 interceptedTypeCast: function(value, property) {
1736 var t1;
1737 if (value != null)
1738 t1 = typeof value === "object" && J.getInterceptor(value)[property];
1739 else
1740 t1 = true;
1741 if (t1)
1742 return value;
1743 H.propertyTypeCastError(value, property);
1744 },
1745
1787 throwCyclicInit: function(staticName) { 1746 throwCyclicInit: function(staticName) {
1788 throw H.wrapException(P.CyclicInitializationError$("Cyclic initialization for static " + H.S(staticName))); 1747 throw H.wrapException(P.CyclicInitializationError$("Cyclic initialization for static " + H.S(staticName)));
1789 }, 1748 },
1790 1749
1791 setRuntimeTypeInfo: function(target, typeInfo) { 1750 setRuntimeTypeInfo: function(target, typeInfo) {
1792 if (target != null) 1751 if (target != null)
1793 target.$builtinTypeInfo = typeInfo; 1752 target.$builtinTypeInfo = typeInfo;
1794 return target; 1753 return target;
1795 }, 1754 },
1796 1755
(...skipping 12 matching lines...) Expand all
1809 return $arguments == null ? null : $arguments[index]; 1768 return $arguments == null ? null : $arguments[index];
1810 }, 1769 },
1811 1770
1812 runtimeTypeToString: function(type) { 1771 runtimeTypeToString: function(type) {
1813 if (type == null) 1772 if (type == null)
1814 return "dynamic"; 1773 return "dynamic";
1815 else if (typeof type === "object" && type !== null && type.constructor === Arr ay) 1774 else if (typeof type === "object" && type !== null && type.constructor === Arr ay)
1816 return type[0].builtin$cls + H.joinArguments(type, 1); 1775 return type[0].builtin$cls + H.joinArguments(type, 1);
1817 else if (typeof type == "function") 1776 else if (typeof type == "function")
1818 return type.builtin$cls; 1777 return type.builtin$cls;
1778 else if (typeof type === "number" && Math.floor(type) === type)
1779 return C.JSInt_methods.toString$0(type);
1819 else 1780 else
1820 return; 1781 return;
1821 }, 1782 },
1822 1783
1823 joinArguments: function(types, startIndex) { 1784 joinArguments: function(types, startIndex) {
1824 var buffer, index, firstArgument, allDynamic, argument, str; 1785 var buffer, index, firstArgument, allDynamic, argument, str;
1825 if (types == null) 1786 if (types == null)
1826 return ""; 1787 return "";
1827 buffer = P.StringBuffer$(""); 1788 buffer = P.StringBuffer$("");
1828 for (index = startIndex, firstArgument = true, allDynamic = true; index < type s.length; ++index) { 1789 for (index = startIndex, firstArgument = true, allDynamic = true; index < type s.length; ++index) {
(...skipping 17 matching lines...) Expand all
1846 else if (typeof substitution == "function") { 1807 else if (typeof substitution == "function") {
1847 substitution = H.invokeOn(substitution, null, $arguments); 1808 substitution = H.invokeOn(substitution, null, $arguments);
1848 if (typeof substitution === "object" && substitution !== null && substitutio n.constructor === Array) 1809 if (typeof substitution === "object" && substitution !== null && substitutio n.constructor === Array)
1849 $arguments = substitution; 1810 $arguments = substitution;
1850 else if (typeof substitution == "function") 1811 else if (typeof substitution == "function")
1851 $arguments = H.invokeOn(substitution, null, $arguments); 1812 $arguments = H.invokeOn(substitution, null, $arguments);
1852 } 1813 }
1853 return $arguments; 1814 return $arguments;
1854 }, 1815 },
1855 1816
1817 computeSignature: function(signature, context, contextName) {
1818 return H.invokeOn(signature, context, H.getRuntimeTypeArguments(context, conte xtName));
1819 },
1820
1856 invokeOn: function($function, receiver, $arguments) { 1821 invokeOn: function($function, receiver, $arguments) {
1857 return $function.apply(receiver, $arguments); 1822 return $function.apply(receiver, $arguments);
1858 }, 1823 },
1859 1824
1860 typeNameInChrome: function(obj) { 1825 typeNameInChrome: function(obj) {
1861 return obj.constructor.name; 1826 return obj.constructor.name;
1862 }, 1827 },
1863 1828
1864 typeNameInSafari: function(obj) { 1829 typeNameInSafari: function(obj) {
1865 return H.constructorNameFallback(obj); 1830 return H.constructorNameFallback(obj);
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1995 tag = $.get$getTypeNameOf().call$1(obj); 1960 tag = $.get$getTypeNameOf().call$1(obj);
1996 interceptorClass = H.lookupInterceptor(hasOwnPropertyFunction, tag); 1961 interceptorClass = H.lookupInterceptor(hasOwnPropertyFunction, tag);
1997 if (interceptorClass == null) { 1962 if (interceptorClass == null) {
1998 secondTag = H.alternateTag(obj, tag); 1963 secondTag = H.alternateTag(obj, tag);
1999 if (secondTag != null) 1964 if (secondTag != null)
2000 interceptorClass = H.lookupInterceptor(hasOwnPropertyFunction, secondTag); 1965 interceptorClass = H.lookupInterceptor(hasOwnPropertyFunction, secondTag);
2001 } 1966 }
2002 if (interceptorClass == null) 1967 if (interceptorClass == null)
2003 return; 1968 return;
2004 interceptor = interceptorClass.prototype; 1969 interceptor = interceptorClass.prototype;
2005 init.leafTags;
2006 if (init.leafTags[tag] === true) 1970 if (init.leafTags[tag] === true)
2007 return H.makeLeafDispatchRecord(interceptor); 1971 return H.makeLeafDispatchRecord(interceptor);
2008 else 1972 else
2009 return J.makeDispatchRecord(interceptor, Object.getPrototypeOf(obj), null, n ull); 1973 return J.makeDispatchRecord(interceptor, Object.getPrototypeOf(obj), null, n ull);
2010 }, 1974 },
2011 1975
2012 makeLeafDispatchRecord: function(interceptor) { 1976 makeLeafDispatchRecord: function(interceptor) {
2013 return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScr iptIndexingBehavior); 1977 return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScr iptIndexingBehavior);
2014 }, 1978 },
2015 1979
1980 makeDefaultDispatchRecord: function(tag, interceptorClass, proto) {
1981 var interceptor = interceptorClass.prototype;
1982 if (init.leafTags[tag] === true)
1983 return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaS criptIndexingBehavior);
1984 else
1985 return J.makeDispatchRecord(interceptor, proto, null, null);
1986 },
1987
1988 initNativeDispatch: function() {
1989 var context, map, tags, i, tag, proto, record;
1990 $.initNativeDispatchFlag = true;
1991 if (typeof window != "undefined") {
1992 context = window;
1993 map = init.interceptorsByTag;
1994 tags = Object.getOwnPropertyNames(map);
1995 for (i = 0; i < tags.length; ++i) {
1996 tag = tags[i];
1997 if (typeof context[tag] == "function") {
1998 proto = context[tag].prototype;
1999 if (proto != null) {
2000 record = H.makeDefaultDispatchRecord(tag, map[tag], proto);
2001 if (record != null)
2002 Object.defineProperty(proto, init.dispatchPropertyName, {value: reco rd, enumerable: false, writable: true, configurable: true});
2003 }
2004 }
2005 }
2006 }
2007 },
2008
2016 TypeErrorDecoder: {"": "Object;_pattern,_arguments,_argumentsExpr,_expr,_method, _receiver", 2009 TypeErrorDecoder: {"": "Object;_pattern,_arguments,_argumentsExpr,_expr,_method, _receiver",
2017 matchTypeError$1: function(message) { 2010 matchTypeError$1: function(message) {
2018 var match, result, t1; 2011 var match, result, t1;
2019 match = new RegExp(this._pattern).exec(message); 2012 match = new RegExp(this._pattern).exec(message);
2020 if (match == null) 2013 if (match == null)
2021 return; 2014 return;
2022 result = {}; 2015 result = {};
2023 t1 = this._arguments; 2016 t1 = this._arguments;
2024 if (t1 !== -1) 2017 if (t1 !== -1)
2025 result.arguments = match[t1 + 1]; 2018 result.arguments = match[t1 + 1];
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
2158 } 2151 }
2159 }, 2152 },
2160 2153
2161 unwrapException_saveStackTrace: {"": "Closure;ex_0", 2154 unwrapException_saveStackTrace: {"": "Closure;ex_0",
2162 call$1: function(error) { 2155 call$1: function(error) {
2163 var t1 = J.getInterceptor(error); 2156 var t1 = J.getInterceptor(error);
2164 if (typeof error === "object" && error !== null && !!t1.$isError) 2157 if (typeof error === "object" && error !== null && !!t1.$isError)
2165 if (error.$thrownJsError == null) 2158 if (error.$thrownJsError == null)
2166 error.$thrownJsError = this.ex_0; 2159 error.$thrownJsError = this.ex_0;
2167 return error; 2160 return error;
2168 } 2161 },
2162 $is_args1: true
2169 }, 2163 },
2170 2164
2171 _StackTrace: {"": "Object;_exception,_trace", 2165 _StackTrace: {"": "Object;_exception,_trace",
2172 toString$0: function(_) { 2166 toString$0: function(_) {
2173 var t1, trace; 2167 var t1, trace;
2174 t1 = this._trace; 2168 t1 = this._trace;
2175 if (t1 != null) 2169 if (t1 != null)
2176 return t1; 2170 return t1;
2177 t1 = this._exception; 2171 t1 = this._exception;
2178 trace = typeof t1 === "object" ? t1.stack : null; 2172 trace = typeof t1 === "object" ? t1.stack : null;
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
2211 return this.closure_10.call$4(this.arg1_11, this.arg2_12, this.arg3_13, this .arg4_14); 2205 return this.closure_10.call$4(this.arg1_11, this.arg2_12, this.arg3_13, this .arg4_14);
2212 } 2206 }
2213 }, 2207 },
2214 2208
2215 Closure: {"": "Object;", 2209 Closure: {"": "Object;",
2216 toString$0: function(_) { 2210 toString$0: function(_) {
2217 return "Closure"; 2211 return "Closure";
2218 } 2212 }
2219 }, 2213 },
2220 2214
2221 BoundClosure: {"": "Closure;_self,_target,_receiver,__js_helper$_name", 2215 BoundClosure: {"": "Closure;_self,__js_helper$_target,_receiver,__js_helper$_nam e",
2222 $eq: function(_, other) { 2216 $eq: function(_, other) {
2223 var t1; 2217 var t1;
2224 if (other == null) 2218 if (other == null)
2225 return false; 2219 return false;
2226 if (this === other) 2220 if (this === other)
2227 return true; 2221 return true;
2228 t1 = J.getInterceptor(other); 2222 t1 = J.getInterceptor(other);
2229 if (typeof other !== "object" || other === null || !t1.$isBoundClosure) 2223 if (typeof other !== "object" || other === null || !t1.$isBoundClosure)
2230 return false; 2224 return false;
2231 return this._self === other._self && this._target === other._target && this. _receiver === other._receiver; 2225 return this._self === other._self && this.__js_helper$_target === other.__js _helper$_target && this._receiver === other._receiver;
2232 }, 2226 },
2233 get$hashCode: function(_) { 2227 get$hashCode: function(_) {
2234 var t1, receiverHashCode; 2228 var t1, receiverHashCode;
2235 t1 = this._receiver; 2229 t1 = this._receiver;
2236 if (t1 == null) 2230 if (t1 == null)
2237 receiverHashCode = H.Primitives_objectHashCode(this._self); 2231 receiverHashCode = H.Primitives_objectHashCode(this._self);
2238 else 2232 else
2239 receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Primit ives_objectHashCode(t1); 2233 receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Primit ives_objectHashCode(t1);
2240 return (receiverHashCode ^ H.Primitives_objectHashCode(this._target)) >>> 0; 2234 return (receiverHashCode ^ H.Primitives_objectHashCode(this.__js_helper$_tar get)) >>> 0;
2241 }, 2235 },
2242 $isBoundClosure: true 2236 $isBoundClosure: true
2243 }, 2237 },
2244 2238
2239 CastErrorImplementation: {"": "Error;message",
2240 toString$0: function(_) {
2241 return this.message;
2242 },
2243 $isError: true,
2244 static: {
2245 CastErrorImplementation$: function(actualType, expectedType) {
2246 return new H.CastErrorImplementation("CastError: Casting value of type " + act ualType + " to incompatible type " + H.S(expectedType));
2247 }}
2248
2249 },
2250
2245 applyExperimentalFixup_newGetTagDartFunction: {"": "Closure;newGetTagJSFunction_ 0", 2251 applyExperimentalFixup_newGetTagDartFunction: {"": "Closure;newGetTagJSFunction_ 0",
2246 call$1: function(object) { 2252 call$1: function(object) {
2247 return this.newGetTagJSFunction_0(object); 2253 return this.newGetTagJSFunction_0(object);
2248 } 2254 },
2255 $is_args1: true
2249 }}], 2256 }}],
2250 ["dart._collection.dev", "dart:_collection-dev", , H, { 2257 ["dart._collection.dev", "dart:_collection-dev", , H, {
2251 Arrays_copy: function(src, srcStart, dst, dstStart, count) { 2258 Arrays_copy: function(src, srcStart, dst, dstStart, count) {
2252 var i, j, t1, t2, t3, t4;
2253 if (typeof dst !== "object" || dst === null || (dst.constructor !== Array || ! !dst.immutable$list) && !H.isJsIndexable(dst, dst[init.dispatchPropertyName]))
2254 return H.Arrays_copy$bailout(1, dst, src, srcStart, dstStart, count);
2255 if (srcStart < dstStart)
2256 for (i = srcStart + count - 1, j = dstStart + count - 1, t1 = src.length, t2 = dst.length; i >= srcStart; --i, --j) {
2257 if (i < 0 || i >= t1)
2258 throw H.ioore(src, i);
2259 t3 = src[i];
2260 if (j < 0 || j >= t2)
2261 throw H.ioore(dst, j);
2262 dst[j] = t3;
2263 }
2264 else
2265 for (t1 = srcStart + count, t2 = src.length, t3 = dst.length, j = dstStart, i = srcStart; i < t1; ++i, ++j) {
2266 if (i < 0 || i >= t2)
2267 throw H.ioore(src, i);
2268 t4 = src[i];
2269 if (j < 0 || j >= t3)
2270 throw H.ioore(dst, j);
2271 dst[j] = t4;
2272 }
2273 },
2274
2275 Arrays_copy$bailout: function(state0, dst, src, srcStart, dstStart, count) {
2276 var i, j, t1; 2259 var i, j, t1;
2277 if (srcStart < dstStart) 2260 if (srcStart < dstStart)
2278 for (i = srcStart + count - 1, j = dstStart + count - 1; i >= srcStart; --i, --j) { 2261 for (i = srcStart + count - 1, j = dstStart + count - 1; i >= srcStart; --i, --j) {
2279 if (i < 0 || i >= src.length) 2262 if (i < 0 || i >= src.length)
2280 throw H.ioore(src, i); 2263 throw H.ioore(src, i);
2281 C.JSArray_methods.$indexSet(dst, j, src[i]); 2264 C.JSArray_methods.$indexSet(dst, j, src[i]);
2282 } 2265 }
2283 else 2266 else
2284 for (t1 = srcStart + count, j = dstStart, i = srcStart; i < t1; ++i, ++j) { 2267 for (t1 = srcStart + count, j = dstStart, i = srcStart; i < t1; ++i, ++j) {
2285 if (i < 0 || i >= src.length) 2268 if (i < 0 || i >= src.length)
(...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after
2387 var t1 = this._iterable; 2370 var t1 = this._iterable;
2388 t1 = t1.get$iterator(t1); 2371 t1 = t1.get$iterator(t1);
2389 t1 = new H.MappedIterator(null, t1, this._f); 2372 t1 = new H.MappedIterator(null, t1, this._f);
2390 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "MappedIterable", 0 ), H.getRuntimeTypeArgument(this, "MappedIterable", 1)]); 2373 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "MappedIterable", 0 ), H.getRuntimeTypeArgument(this, "MappedIterable", 1)]);
2391 return t1; 2374 return t1;
2392 }, 2375 },
2393 get$length: function(_) { 2376 get$length: function(_) {
2394 var t1 = this._iterable; 2377 var t1 = this._iterable;
2395 return t1.get$length(t1); 2378 return t1.get$length(t1);
2396 }, 2379 },
2380 get$isEmpty: function(_) {
2381 var t1 = this._iterable;
2382 return t1.get$isEmpty(t1);
2383 },
2397 $asIterableBase: function($S, $T) { 2384 $asIterableBase: function($S, $T) {
2398 return [$T]; 2385 return [$T];
2399 }, 2386 },
2400 static: { 2387 static: {
2401 MappedIterable_MappedIterable: function(iterable, $function, $S, $T) { 2388 MappedIterable_MappedIterable: function(iterable, $function, $S, $T) {
2402 var t1; 2389 var t1;
2403 if (!!iterable.$isEfficientLength) { 2390 if (!!iterable.$isEfficientLength) {
2404 t1 = new H.EfficientLengthMappedIterable(iterable, $function); 2391 t1 = new H.EfficientLengthMappedIterable(iterable, $function);
2405 H.setRuntimeTypeInfo(t1, [$S, $T]); 2392 H.setRuntimeTypeInfo(t1, [$S, $T]);
2406 return t1; 2393 return t1;
(...skipping 21 matching lines...) Expand all
2428 return false; 2415 return false;
2429 }, 2416 },
2430 get$current: function() { 2417 get$current: function() {
2431 return this._current; 2418 return this._current;
2432 }, 2419 },
2433 $asIterator: function($S, $T) { 2420 $asIterator: function($S, $T) {
2434 return [$T]; 2421 return [$T];
2435 } 2422 }
2436 }, 2423 },
2437 2424
2438 FixedLengthListMixin: {"": "Object;", 2425 FixedLengthListMixin: {"": "Object;"}}],
2439 set$length: function(receiver, newLength) {
2440 throw H.wrapException(P.UnsupportedError$("Cannot change the length of a fix ed-length list"));
2441 },
2442 add$1: function(receiver, value) {
2443 throw H.wrapException(P.UnsupportedError$("Cannot add to a fixed-length list "));
2444 },
2445 removeLast$0: function(receiver) {
2446 throw H.wrapException(P.UnsupportedError$("Cannot remove from a fixed-length list"));
2447 }
2448 }}],
2449 ["dart.async", "dart:async", , P, { 2426 ["dart.async", "dart:async", , P, {
2450 _attachStackTrace: function(o, st) { 2427 _attachStackTrace: function(o, st) {
2451 var t1; 2428 var t1;
2452 if (o == null || typeof o === "boolean" || typeof o === "number" || typeof o = == "string") 2429 if (o == null || typeof o === "boolean" || typeof o === "number" || typeof o = == "string")
2453 return; 2430 return;
2454 t1 = $.get$_stackTraceExpando(); 2431 t1 = $.get$_stackTraceExpando();
2455 t1.$indexSet(t1, o, st); 2432 t1.$indexSet(t1, o, st);
2456 }, 2433 },
2457 2434
2458 _invokeErrorHandler: function(errorHandler, error, stackTrace) { 2435 _invokeErrorHandler: function(errorHandler, error, stackTrace) {
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after
2553 t1 = new P._SyncStreamController(onListen, onPause, onResume, onCancel, null , 0, null); 2530 t1 = new P._SyncStreamController(onListen, onPause, onResume, onCancel, null , 0, null);
2554 H.setRuntimeTypeInfo(t1, [$T]); 2531 H.setRuntimeTypeInfo(t1, [$T]);
2555 } else { 2532 } else {
2556 t1 = new P._AsyncStreamController(onListen, onPause, onResume, onCancel, nul l, 0, null); 2533 t1 = new P._AsyncStreamController(onListen, onPause, onResume, onCancel, nul l, 0, null);
2557 H.setRuntimeTypeInfo(t1, [$T]); 2534 H.setRuntimeTypeInfo(t1, [$T]);
2558 } 2535 }
2559 return t1; 2536 return t1;
2560 }, 2537 },
2561 2538
2562 _runGuarded: function(notificationHandler) { 2539 _runGuarded: function(notificationHandler) {
2563 var e, s, exception, t1, t2; 2540 var result, e, s, t1, t2, exception;
2564 if (notificationHandler == null) 2541 if (notificationHandler == null)
2565 return; 2542 return;
2566 try { 2543 try {
2567 notificationHandler.call$0(); 2544 result = notificationHandler.call$0();
2545 t1 = result;
2546 t2 = J.getInterceptor(t1);
2547 if (typeof t1 === "object" && t1 !== null && !!t2.$isFuture)
2548 return result;
2549 return;
2568 } catch (exception) { 2550 } catch (exception) {
2569 t1 = H.unwrapException(exception); 2551 t1 = H.unwrapException(exception);
2570 e = t1; 2552 e = t1;
2571 s = new H._StackTrace(exception, null); 2553 s = new H._StackTrace(exception, null);
2572 t1 = $.Zone__current; 2554 t1 = $.Zone__current;
2573 t2 = P._asyncError(e, s); 2555 t2 = P._asyncError(e, s);
2574 t1.toString; 2556 t1.toString;
2575 P._rootHandleUncaughtError(t1, null, t1, t2, s); 2557 P._rootHandleUncaughtError(t1, null, t1, t2, s);
2576 } 2558 }
2577 2559
(...skipping 26 matching lines...) Expand all
2604 onSuccess.call$1(userCode.call$0()); 2586 onSuccess.call$1(userCode.call$0());
2605 } catch (exception) { 2587 } catch (exception) {
2606 t1 = H.unwrapException(exception); 2588 t1 = H.unwrapException(exception);
2607 e = t1; 2589 e = t1;
2608 s = new H._StackTrace(exception, null); 2590 s = new H._StackTrace(exception, null);
2609 onError.call$2(P._asyncError(e, s), s); 2591 onError.call$2(P._asyncError(e, s), s);
2610 } 2592 }
2611 2593
2612 }, 2594 },
2613 2595
2614 _cancelAndError: function(subscription, future) { 2596 _cancelAndError: function(subscription, future, error, stackTrace) {
2615 return new P._cancelAndError_closure(subscription, future); 2597 var cancelFuture, t1;
2598 cancelFuture = subscription.cancel$0();
2599 t1 = J.getInterceptor(cancelFuture);
2600 if (typeof cancelFuture === "object" && cancelFuture !== null && !!t1.$isFutur e)
2601 cancelFuture.whenComplete$1(new P._cancelAndError_closure(future, error, sta ckTrace));
2602 else
2603 future._completeError$2(error, stackTrace);
2604 },
2605
2606 _cancelAndErrorClosure: function(subscription, future) {
2607 return new P._cancelAndErrorClosure_closure(subscription, future);
2608 },
2609
2610 _cancelAndValue: function(subscription, future, value) {
2611 var cancelFuture, t1;
2612 cancelFuture = subscription.cancel$0();
2613 t1 = J.getInterceptor(cancelFuture);
2614 if (typeof cancelFuture === "object" && cancelFuture !== null && !!t1.$isFutur e)
2615 cancelFuture.whenComplete$1(new P._cancelAndValue_closure(future, value));
2616 else
2617 future._complete$1(value);
2616 }, 2618 },
2617 2619
2618 Timer_Timer: function(duration, callback) { 2620 Timer_Timer: function(duration, callback) {
2619 var t1, t2; 2621 var t1, t2;
2620 t1 = $.Zone__current; 2622 t1 = $.Zone__current;
2621 if (t1 === C.C__RootZone) { 2623 if (t1 === C.C__RootZone) {
2622 t1.toString; 2624 t1.toString;
2623 return P._createTimer(duration, callback); 2625 return P._createTimer(duration, callback);
2624 } 2626 }
2625 t2 = t1.bindCallback$2$runGuarded(callback, true); 2627 t2 = t1.bindCallback$2$runGuarded(callback, true);
2626 t1.toString; 2628 t1.toString;
2627 return P._createTimer(duration, t2); 2629 return P._createTimer(duration, t2);
2628 }, 2630 },
2629 2631
2630 _createTimer: function(duration, callback) { 2632 _createTimer: function(duration, callback) {
2631 var milliseconds = C.JSNumber_methods.$tdiv(duration._duration, 1000); 2633 var milliseconds = C.JSNumber_methods.$tdiv(duration._duration, 1000);
2632 return H.TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback); 2634 return H.TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
2633 }, 2635 },
2634 2636
2635 _rootHandleUncaughtError: function($self, $parent, zone, error, stackTrace) { 2637 _rootHandleUncaughtError: function($self, $parent, zone, error, stackTrace) {
2636 P._scheduleAsyncCallback(new P._rootHandleUncaughtError_closure(error, stackTr ace)); 2638 P._rootRun($self, null, $self, new P._rootHandleUncaughtError_closure(error, s tackTrace));
2637 }, 2639 },
2638 2640
2639 _rootRun: function($self, $parent, zone, f) { 2641 _rootRun: function($self, $parent, zone, f) {
2640 var old, t1, t2; 2642 var old, t1, t2;
2641 t1 = $.Zone__current; 2643 t1 = $.Zone__current;
2642 t2 = zone; 2644 t2 = zone;
2643 if (t1 == null ? t2 == null : t1 === t2) 2645 if (t1 == null ? t2 == null : t1 === t2)
2644 return f.call$0(); 2646 return f.call$0();
2645 old = t1; 2647 old = t1;
2646 try { 2648 try {
(...skipping 14 matching lines...) Expand all
2661 old = t1; 2663 old = t1;
2662 try { 2664 try {
2663 $.Zone__current = zone; 2665 $.Zone__current = zone;
2664 t1 = f.call$1(arg); 2666 t1 = f.call$1(arg);
2665 return t1; 2667 return t1;
2666 } finally { 2668 } finally {
2667 $.Zone__current = old; 2669 $.Zone__current = old;
2668 } 2670 }
2669 }, 2671 },
2670 2672
2671 _rootRunBinary: function($self, $parent, zone, f, arg1, arg2) {
2672 var old, t1, t2;
2673 t1 = $.Zone__current;
2674 t2 = zone;
2675 if (t1 == null ? t2 == null : t1 === t2)
2676 return f.call$2(arg1, arg2);
2677 old = t1;
2678 try {
2679 $.Zone__current = zone;
2680 t1 = f.call$2(arg1, arg2);
2681 return t1;
2682 } finally {
2683 $.Zone__current = old;
2684 }
2685 },
2686
2687 _AsyncError: {"": "Object;error>,stackTrace<", $isError: true}, 2673 _AsyncError: {"": "Object;error>,stackTrace<", $isError: true},
2688 2674
2689 Future: {"": "Object;", $isFuture: true}, 2675 Future: {"": "Object;", $isFuture: true},
2690 2676
2691 Future_wait_handleError: {"": "Closure;box_0", 2677 Future_wait_handleError: {"": "Closure;box_0",
2692 call$1: function(error) { 2678 call$1: function(error) {
2693 var t1 = this.box_0; 2679 var t1 = this.box_0;
2694 if (t1.values_1 != null) { 2680 if (t1.values_1 != null) {
2695 t1.values_1 = null; 2681 t1.values_1 = null;
2696 t1 = t1.completer_0.future; 2682 t1 = t1.completer_0.future;
2697 if (t1._state !== 0) 2683 if (t1._state !== 0)
2698 H.throwExpression(new P.StateError("Future already completed")); 2684 H.throwExpression(P.StateError$("Future already completed"));
2699 t1._asyncCompleteError$2(error, null); 2685 t1._asyncCompleteError$2(error, null);
2700 } 2686 }
2701 return; 2687 return;
2702 } 2688 },
2689 $is_args1: true
2703 }, 2690 },
2704 2691
2705 Future_wait_closure: {"": "Closure;box_0,pos_1", 2692 Future_wait_closure: {"": "Closure;box_0,pos_1",
2706 call$1: function(value) { 2693 call$1: function(value) {
2707 var t1, t2, t3; 2694 var t1, t2, t3;
2708 t1 = this.box_0; 2695 t1 = this.box_0;
2709 t2 = t1.values_1; 2696 t2 = t1.values_1;
2710 if (t2 == null) 2697 if (t2 == null)
2711 return; 2698 return;
2712 t3 = this.pos_1; 2699 t3 = this.pos_1;
2713 if (t3 < 0 || t3 >= t2.length) 2700 if (t3 < 0 || t3 >= t2.length)
2714 throw H.ioore(t2, t3); 2701 throw H.ioore(t2, t3);
2715 t2[t3] = value; 2702 t2[t3] = value;
2716 t1.remaining_2 = t1.remaining_2 - 1; 2703 t1.remaining_2 = t1.remaining_2 - 1;
2717 if (t1.remaining_2 === 0) { 2704 if (t1.remaining_2 === 0) {
2718 t2 = t1.completer_0; 2705 t2 = t1.completer_0;
2719 t1 = t1.values_1; 2706 t1 = t1.values_1;
2720 t2 = t2.future; 2707 t2 = t2.future;
2721 if (t2._state !== 0) 2708 if (t2._state !== 0)
2722 H.throwExpression(new P.StateError("Future already completed")); 2709 H.throwExpression(P.StateError$("Future already completed"));
2723 t2._asyncComplete$1(t1); 2710 t2._asyncComplete$1(t1);
2724 } 2711 }
2725 } 2712 },
2713 $is_args1: true
2726 }, 2714 },
2727 2715
2728 _Completer: {"": "Object;future<"}, 2716 _Completer: {"": "Object;"},
2729 2717
2730 _AsyncCompleter: {"": "_Completer;future", $as_Completer: null}, 2718 _AsyncCompleter: {"": "_Completer;future",
2719 completeError$2: function(error, stackTrace) {
2720 var t1 = this.future;
2721 if (t1._state !== 0)
2722 throw H.wrapException(P.StateError$("Future already completed"));
2723 t1._asyncCompleteError$2(error, stackTrace);
2724 },
2725 get$completeError: function() {
2726 return new P.BoundClosure$2(this, P._AsyncCompleter.prototype.completeError$ 2, null, "completeError$2");
2727 },
2728 $as_Completer: null
2729 },
2731 2730
2732 _Future: {"": "Object;_state,_zone<,_resultOrListeners,_nextListener@,_onValueCa llback,_errorTestCallback,_onErrorCallback,_whenCompleteActionCallback", 2731 _Future: {"": "Object;_state,_zone<,_resultOrListeners,_nextListener@,_onValueCa llback,_errorTestCallback,_onErrorCallback,_whenCompleteActionCallback",
2733 get$_isComplete: function() { 2732 get$_isComplete: function() {
2734 return this._state >= 4; 2733 return this._state >= 4;
2735 }, 2734 },
2736 get$_hasError: function() { 2735 get$_hasError: function() {
2737 return this._state === 8; 2736 return this._state === 8;
2738 }, 2737 },
2739 set$_isChained: function(value) { 2738 set$_isChained: function(value) {
2740 if (value) 2739 if (value)
(...skipping 22 matching lines...) Expand all
2763 return this.then$2$onError(f, null); 2762 return this.then$2$onError(f, null);
2764 }, 2763 },
2765 catchError$2$test: function(onError, test) { 2764 catchError$2$test: function(onError, test) {
2766 var result = P._Future$_catchError(onError, test, null); 2765 var result = P._Future$_catchError(onError, test, null);
2767 this._addListener$1(result); 2766 this._addListener$1(result);
2768 return result; 2767 return result;
2769 }, 2768 },
2770 catchError$1: function(onError) { 2769 catchError$1: function(onError) {
2771 return this.catchError$2$test(onError, null); 2770 return this.catchError$2$test(onError, null);
2772 }, 2771 },
2772 whenComplete$1: function(action) {
2773 var result = P._Future$_whenComplete(action, H.getRuntimeTypeArgument(this, "_Future", 0));
2774 this._addListener$1(result);
2775 return result;
2776 },
2773 get$_value: function() { 2777 get$_value: function() {
2774 return this._resultOrListeners; 2778 return this._resultOrListeners;
2775 }, 2779 },
2776 get$_error: function() { 2780 get$_error: function() {
2777 return this._resultOrListeners; 2781 return this._resultOrListeners;
2778 }, 2782 },
2779 _setValue$1: function(value) { 2783 _setValue$1: function(value) {
2780 this._state = 4; 2784 this._state = 4;
2781 this._resultOrListeners = value; 2785 this._resultOrListeners = value;
2782 }, 2786 },
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2819 if (stackTrace != null) 2823 if (stackTrace != null)
2820 P._attachStackTrace(error, stackTrace); 2824 P._attachStackTrace(error, stackTrace);
2821 listeners = this._state === 2 ? null : this._removeListeners$0(); 2825 listeners = this._state === 2 ? null : this._removeListeners$0();
2822 this._setError$2(error, stackTrace); 2826 this._setError$2(error, stackTrace);
2823 P._Future__propagateToListeners(this, listeners); 2827 P._Future__propagateToListeners(this, listeners);
2824 }, 2828 },
2825 get$_completeError: function() { 2829 get$_completeError: function() {
2826 return new P.BoundClosure$2(this, P._Future.prototype._completeError$2, null , "_completeError$2"); 2830 return new P.BoundClosure$2(this, P._Future.prototype._completeError$2, null , "_completeError$2");
2827 }, 2831 },
2828 _asyncComplete$1: function(value) { 2832 _asyncComplete$1: function(value) {
2829 var t1, t2;
2830 t1 = J.getInterceptor(value);
2831 t2 = typeof value === "object" && value !== null && !!t1.$isFuture;
2832 if (t2)
2833 ;
2834 if (t2)
2835 t1 = !t1.$is_Future || value._state < 4;
2836 else
2837 t1 = false;
2838 if (t1) {
2839 this._complete$1(value);
2840 return;
2841 }
2842 if (this._state !== 0) 2833 if (this._state !== 0)
2843 H.throwExpression(P.StateError$("Future already completed")); 2834 H.throwExpression(P.StateError$("Future already completed"));
2844 this._state = 1; 2835 this._state = 1;
2845 this._zone.toString; 2836 this._zone.toString;
2846 P._scheduleAsyncCallback(new P._Future__asyncComplete_closure(this, value)); 2837 P._scheduleAsyncCallback(new P._Future__asyncComplete_closure(this, value));
2847 }, 2838 },
2848 _asyncCompleteError$2: function(error, stackTrace) { 2839 _asyncCompleteError$2: function(error, stackTrace) {
2849 if (this._state !== 0) 2840 if (this._state !== 0)
2850 H.throwExpression(new P.StateError("Future already completed")); 2841 H.throwExpression(P.StateError$("Future already completed"));
2851 this._state = 1; 2842 this._state = 1;
2852 this._zone.toString; 2843 this._zone.toString;
2853 P._scheduleAsyncCallback(new P._Future__asyncCompleteError_closure(this, err or, stackTrace)); 2844 P._scheduleAsyncCallback(new P._Future__asyncCompleteError_closure(this, err or, stackTrace));
2854 }, 2845 },
2855 _async$_Future$immediate$1: function(value, $T) { 2846 _async$_Future$immediate$1: function(value, $T) {
2856 this._asyncComplete$1(value); 2847 this._asyncComplete$1(value);
2857 }, 2848 },
2858 $is_Future: true, 2849 $is_Future: true,
2859 $isFuture: true, 2850 $isFuture: true,
2860 static: { 2851 static: {
(...skipping 22 matching lines...) Expand all
2883 _Future$_catchError: function(onErrorCallback, errorTestCallback, $T) { 2874 _Future$_catchError: function(onErrorCallback, errorTestCallback, $T) {
2884 var t1, t2; 2875 var t1, t2;
2885 t1 = $.Zone__current; 2876 t1 = $.Zone__current;
2886 t2 = P._registerErrorHandler(onErrorCallback, t1); 2877 t2 = P._registerErrorHandler(onErrorCallback, t1);
2887 t1.toString; 2878 t1.toString;
2888 t2 = new P._Future(0, t1, null, null, null, errorTestCallback, t2, null); 2879 t2 = new P._Future(0, t1, null, null, null, errorTestCallback, t2, null);
2889 H.setRuntimeTypeInfo(t2, [$T]); 2880 H.setRuntimeTypeInfo(t2, [$T]);
2890 return t2; 2881 return t2;
2891 }, 2882 },
2892 2883
2884 _Future$_whenComplete: function(whenCompleteActionCallback, $T) {
2885 var t1 = $.Zone__current;
2886 t1.toString;
2887 t1 = new P._Future(0, t1, null, null, null, null, null, whenCompleteActionCall back);
2888 H.setRuntimeTypeInfo(t1, [$T]);
2889 return t1;
2890 },
2891
2893 _Future__chainFutures: function(source, target) { 2892 _Future__chainFutures: function(source, target) {
2894 var t1; 2893 var t1;
2895 target._state = 2; 2894 target._state = 2;
2896 t1 = J.getInterceptor(source); 2895 t1 = J.getInterceptor(source);
2897 if (typeof source === "object" && source !== null && !!t1.$is_Future) 2896 if (typeof source === "object" && source !== null && !!t1.$is_Future)
2898 if (source._state >= 4) 2897 if (source._state >= 4)
2899 P._Future__propagateToListeners(source, target); 2898 P._Future__propagateToListeners(source, target);
2900 else 2899 else
2901 source._addListener$1(target); 2900 source._addListener$1(target);
2902 else 2901 else
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
3015 3014
3016 _Future__addListener_closure: {"": "Closure;this_0,listener_1", 3015 _Future__addListener_closure: {"": "Closure;this_0,listener_1",
3017 call$0: function() { 3016 call$0: function() {
3018 P._Future__propagateToListeners(this.this_0, this.listener_1); 3017 P._Future__propagateToListeners(this.this_0, this.listener_1);
3019 } 3018 }
3020 }, 3019 },
3021 3020
3022 _Future__chainFutures_closure: {"": "Closure;target_0", 3021 _Future__chainFutures_closure: {"": "Closure;target_0",
3023 call$1: function(value) { 3022 call$1: function(value) {
3024 this.target_0._complete$1(value); 3023 this.target_0._complete$1(value);
3025 } 3024 },
3025 $is_args1: true
3026 }, 3026 },
3027 3027
3028 _Future__chainFutures_closure0: {"": "Closure;target_1", 3028 _Future__chainFutures_closure0: {"": "Closure;target_1",
3029 call$2: function(error, stackTrace) { 3029 call$2: function(error, stackTrace) {
3030 this.target_1._completeError$2(error, stackTrace); 3030 this.target_1._completeError$2(error, stackTrace);
3031 }, 3031 },
3032 call$1: function(error) { 3032 call$1: function(error) {
3033 return this.call$2(error, null); 3033 return this.call$2(error, null);
3034 }, 3034 },
3035 $is_args2: true 3035 $is_args2: true,
3036 $is_args1: true
3036 }, 3037 },
3037 3038
3038 _Future__asyncComplete_closure: {"": "Closure;this_0,value_1", 3039 _Future__asyncComplete_closure: {"": "Closure;this_0,value_1",
3039 call$0: function() { 3040 call$0: function() {
3040 this.this_0._complete$1(this.value_1); 3041 this.this_0._complete$1(this.value_1);
3041 } 3042 }
3042 }, 3043 },
3043 3044
3044 _Future__asyncCompleteError_closure: {"": "Closure;this_0,error_1,stackTrace_2", 3045 _Future__asyncCompleteError_closure: {"": "Closure;this_0,error_1,stackTrace_2",
3045 call$0: function() { 3046 call$0: function() {
(...skipping 76 matching lines...) Expand 10 before | Expand all | Expand 10 after
3122 t2.listenerValueOrError_2 = new P._AsyncError(P._asyncError(e, s), s); 3123 t2.listenerValueOrError_2 = new P._AsyncError(P._asyncError(e, s), s);
3123 this.box_1.listenerHasValue_1 = false; 3124 this.box_1.listenerHasValue_1 = false;
3124 } 3125 }
3125 3126
3126 } 3127 }
3127 }, 3128 },
3128 3129
3129 _Future__propagateToListeners__closure: {"": "Closure;box_2,listener_6", 3130 _Future__propagateToListeners__closure: {"": "Closure;box_2,listener_6",
3130 call$1: function(ignored) { 3131 call$1: function(ignored) {
3131 P._Future__propagateToListeners(this.box_2.source_4, this.listener_6); 3132 P._Future__propagateToListeners(this.box_2.source_4, this.listener_6);
3132 } 3133 },
3134 $is_args1: true
3133 }, 3135 },
3134 3136
3135 _Future__propagateToListeners__closure0: {"": "Closure;box_0,listener_7", 3137 _Future__propagateToListeners__closure0: {"": "Closure;box_0,listener_7",
3136 call$2: function(error, stackTrace) { 3138 call$2: function(error, stackTrace) {
3137 var t1, t2, t3; 3139 var t1, t2, t3;
3138 t1 = this.box_0; 3140 t1 = this.box_0;
3139 t2 = t1.completeResult_0; 3141 t2 = t1.completeResult_0;
3140 t3 = J.getInterceptor(t2); 3142 t3 = J.getInterceptor(t2);
3141 if (typeof t2 !== "object" || t2 === null || !t3.$is_Future) { 3143 if (typeof t2 !== "object" || t2 === null || !t3.$is_Future) {
3142 t1.completeResult_0 = P._Future$(null); 3144 t1.completeResult_0 = P._Future$(null);
3143 t1.completeResult_0._setError$2(error, stackTrace); 3145 t1.completeResult_0._setError$2(error, stackTrace);
3144 } 3146 }
3145 P._Future__propagateToListeners(t1.completeResult_0, this.listener_7); 3147 P._Future__propagateToListeners(t1.completeResult_0, this.listener_7);
3146 }, 3148 },
3147 call$1: function(error) { 3149 call$1: function(error) {
3148 return this.call$2(error, null); 3150 return this.call$2(error, null);
3149 }, 3151 },
3150 $is_args2: true 3152 $is_args2: true,
3153 $is_args1: true
3151 }, 3154 },
3152 3155
3153 Stream: {"": "Object;", 3156 Stream: {"": "Object;",
3154 forEach$1: function(_, action) { 3157 forEach$1: function(_, action) {
3155 var t1, future; 3158 var t1, future;
3156 t1 = {}; 3159 t1 = {};
3157 future = P._Future$(null); 3160 future = P._Future$(null);
3158 t1.subscription_0 = null; 3161 t1.subscription_0 = null;
3159 t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Stream_ forEach_closure(t1, this, action, future), true, new P.Stream_forEach_closure0(f uture), future.get$_completeError()); 3162 t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Stream_ forEach_closure(t1, this, action, future), true, new P.Stream_forEach_closure0(f uture), future.get$_completeError());
3160 return future; 3163 return future;
3161 }, 3164 },
3162 get$length: function(_) { 3165 get$length: function(_) {
3163 var t1, future; 3166 var t1, future;
3164 t1 = {}; 3167 t1 = {};
3165 future = P._Future$(J.JSInt); 3168 future = P._Future$(J.JSInt);
3166 t1.count_0 = 0; 3169 t1.count_0 = 0;
3167 this.listen$4$cancelOnError$onDone$onError(new P.Stream_length_closure(t1), true, new P.Stream_length_closure0(t1, future), future.get$_completeError()); 3170 this.listen$4$cancelOnError$onDone$onError(new P.Stream_length_closure(t1), true, new P.Stream_length_closure0(t1, future), future.get$_completeError());
3168 return future; 3171 return future;
3172 },
3173 get$isEmpty: function(_) {
3174 var t1, future;
3175 t1 = {};
3176 future = P._Future$(J.JSBool);
3177 t1.subscription_0 = null;
3178 t1.subscription_0 = this.listen$4$cancelOnError$onDone$onError(new P.Stream_ isEmpty_closure(t1, future), true, new P.Stream_isEmpty_closure0(future), future .get$_completeError());
3179 return future;
3169 } 3180 }
3170 }, 3181 },
3171 3182
3172 Stream_forEach_closure: {"": "Closure;box_0,this_1,action_2,future_3", 3183 Stream_forEach_closure: {"": "Closure;box_0,this_1,action_2,future_3",
3173 call$1: function(element) { 3184 call$1: function(element) {
3174 P._runUserCode(new P.Stream_forEach__closure(this.action_2, element), new P. Stream_forEach__closure0(), P._cancelAndError(this.box_0.subscription_0, this.fu ture_3)); 3185 P._runUserCode(new P.Stream_forEach__closure(this.action_2, element), new P. Stream_forEach__closure0(), P._cancelAndErrorClosure(this.box_0.subscription_0, this.future_3));
3175 } 3186 },
3187 $is_args1: true
3176 }, 3188 },
3177 3189
3178 Stream_forEach__closure: {"": "Closure;action_4,element_5", 3190 Stream_forEach__closure: {"": "Closure;action_4,element_5",
3179 call$0: function() { 3191 call$0: function() {
3180 return this.action_4.call$1(this.element_5); 3192 return this.action_4.call$1(this.element_5);
3181 } 3193 }
3182 }, 3194 },
3183 3195
3184 Stream_forEach__closure0: {"": "Closure;", 3196 Stream_forEach__closure0: {"": "Closure;",
3185 call$1: function(_) { 3197 call$1: function(_) {
3186 } 3198 },
3199 $is_args1: true
3187 }, 3200 },
3188 3201
3189 Stream_forEach_closure0: {"": "Closure;future_6", 3202 Stream_forEach_closure0: {"": "Closure;future_6",
3190 call$0: function() { 3203 call$0: function() {
3191 this.future_6._complete$1(null); 3204 this.future_6._complete$1(null);
3192 } 3205 }
3193 }, 3206 },
3194 3207
3195 Stream_length_closure: {"": "Closure;box_0", 3208 Stream_length_closure: {"": "Closure;box_0",
3196 call$1: function(_) { 3209 call$1: function(_) {
3197 var t1 = this.box_0; 3210 var t1 = this.box_0;
3198 t1.count_0 = t1.count_0 + 1; 3211 t1.count_0 = t1.count_0 + 1;
3199 } 3212 },
3213 $is_args1: true
3200 }, 3214 },
3201 3215
3202 Stream_length_closure0: {"": "Closure;box_0,future_1", 3216 Stream_length_closure0: {"": "Closure;box_0,future_1",
3203 call$0: function() { 3217 call$0: function() {
3204 this.future_1._complete$1(this.box_0.count_0); 3218 this.future_1._complete$1(this.box_0.count_0);
3205 } 3219 }
3206 }, 3220 },
3207 3221
3222 Stream_isEmpty_closure: {"": "Closure;box_0,future_1",
3223 call$1: function(_) {
3224 P._cancelAndValue(this.box_0.subscription_0, this.future_1, false);
3225 },
3226 $is_args1: true
3227 },
3228
3229 Stream_isEmpty_closure0: {"": "Closure;future_2",
3230 call$0: function() {
3231 this.future_2._complete$1(true);
3232 }
3233 },
3234
3208 StreamSubscription: {"": "Object;"}, 3235 StreamSubscription: {"": "Object;"},
3209 3236
3210 EventSink: {"": "Object;"},
3211
3212 _StreamController: {"": "Object;", 3237 _StreamController: {"": "Object;",
3213 get$_pendingEvents: function() { 3238 get$_pendingEvents: function() {
3214 if ((this._state & 8) === 0) 3239 if ((this._state & 8) === 0)
3215 return this._varData; 3240 return this._varData;
3216 return this._varData.get$varData(); 3241 return this._varData.get$varData();
3217 }, 3242 },
3218 _ensurePendingEvents$0: function() { 3243 _ensurePendingEvents$0: function() {
3219 if ((this._state & 8) === 0) { 3244 if ((this._state & 8) === 0) {
3220 if (this._varData == null) 3245 if (this._varData == null)
3221 this._varData = new P._StreamImplEvents(null, null, 0); 3246 this._varData = new P._StreamImplEvents(null, null, 0);
3222 return this._varData; 3247 return this._varData;
3223 } 3248 }
3224 var t1 = this._varData.get$varData(); 3249 var t1 = this._varData.get$varData();
3225 return t1; 3250 return t1;
3226 }, 3251 },
3227 get$_subscription: function() { 3252 get$_subscription: function() {
3228 if ((this._state & 8) !== 0) 3253 if ((this._state & 8) !== 0)
3229 return this._varData.get$varData(); 3254 return this._varData.get$varData();
3230 return this._varData; 3255 return this._varData;
3231 }, 3256 },
3232 _badEventState$0: function() { 3257 _badEventState$0: function() {
3233 if ((this._state & 4) !== 0) 3258 if ((this._state & 4) !== 0)
3234 return new P.StateError("Cannot add event after closing"); 3259 return new P.StateError("Cannot add event after closing");
3235 return new P.StateError("Cannot add event while adding a stream"); 3260 return new P.StateError("Cannot add event while adding a stream");
3236 }, 3261 },
3237 add$1: function(_, value) { 3262 _ensureDoneFuture$0: function() {
3238 if (this._state >= 4) 3263 if (this._doneFuture == null) {
3264 this._doneFuture = P._Future$(null);
3265 if ((this._state & 2) !== 0)
3266 this._doneFuture._complete$1(null);
3267 }
3268 return this._doneFuture;
3269 },
3270 close$0: function(_) {
3271 var t1 = this._state;
3272 if ((t1 & 4) !== 0)
3273 return this._doneFuture;
3274 if (t1 >= 4)
3239 throw H.wrapException(this._badEventState$0()); 3275 throw H.wrapException(this._badEventState$0());
3240 this._async$_add$1(value); 3276 this._state = (t1 | 4) >>> 0;
3241 }, 3277 this._ensureDoneFuture$0();
3242 addError$2: function(error, stackTrace) { 3278 t1 = this._state;
3243 if (this._state >= 4) 3279 if ((t1 & 1) !== 0)
3244 throw H.wrapException(this._badEventState$0()); 3280 this._sendDone$0();
3245 this._addError$2(error, stackTrace); 3281 else if ((t1 & 3) === 0) {
3246 }, 3282 t1 = this._ensurePendingEvents$0();
3247 addError$1: function(error) { 3283 t1.add$1(t1, C.C__DelayedDone);
3248 return this.addError$2(error, null); 3284 }
3285 return this._doneFuture;
3249 }, 3286 },
3250 _async$_add$1: function(value) { 3287 _async$_add$1: function(value) {
3251 var t1 = this._state; 3288 var t1 = this._state;
3252 if ((t1 & 1) !== 0) 3289 if ((t1 & 1) !== 0)
3253 this._sendData$1(value); 3290 this._sendData$1(value);
3254 else if ((t1 & 3) === 0) { 3291 else if ((t1 & 3) === 0) {
3255 t1 = this._ensurePendingEvents$0(); 3292 t1 = this._ensurePendingEvents$0();
3256 t1.add$1(t1, new P._DelayedData(value, null)); 3293 t1.add$1(t1, new P._DelayedData(value, null));
3257 } 3294 }
3258 }, 3295 },
3259 _addError$2: function(error, stackTrace) {
3260 var t1 = this._state;
3261 if ((t1 & 1) !== 0)
3262 this._sendError$2(error, stackTrace);
3263 else if ((t1 & 3) === 0) {
3264 t1 = this._ensurePendingEvents$0();
3265 t1.add$1(t1, new P._DelayedError(error, stackTrace, null));
3266 }
3267 },
3268 _subscribe$1: function(cancelOnError) { 3296 _subscribe$1: function(cancelOnError) {
3269 var t1, t2, subscription, pendingEvents; 3297 var t1, t2, subscription, pendingEvents;
3270 if ((this._state & 3) !== 0) 3298 if ((this._state & 3) !== 0)
3271 throw H.wrapException(P.StateError$("Stream has already been listened to." )); 3299 throw H.wrapException(P.StateError$("Stream has already been listened to." ));
3272 t1 = $.Zone__current; 3300 t1 = $.Zone__current;
3273 t2 = cancelOnError ? 1 : 0; 3301 t2 = cancelOnError ? 1 : 0;
3274 subscription = new P._ControllerSubscription(this, null, null, null, t1, t2, null); 3302 subscription = new P._ControllerSubscription(this, null, null, null, t1, t2, null, null);
3275 H.setRuntimeTypeInfo(subscription, [null]); 3303 H.setRuntimeTypeInfo(subscription, [null]);
3276 pendingEvents = this.get$_pendingEvents(); 3304 pendingEvents = this.get$_pendingEvents();
3277 this._state = (this._state | 1) >>> 0; 3305 this._state = (this._state | 1) >>> 0;
3278 if ((this._state & 8) !== 0) 3306 if ((this._state & 8) !== 0)
3279 this._varData.set$varData(subscription); 3307 this._varData.set$varData(subscription);
3280 else 3308 else
3281 this._varData = subscription; 3309 this._varData = subscription;
3282 subscription._setPendingEvents$1(pendingEvents); 3310 subscription._setPendingEvents$1(pendingEvents);
3283 subscription._guardCallback$1(new P._StreamController__subscribe_closure(thi s)); 3311 subscription._guardCallback$1(new P._StreamController__subscribe_closure(thi s));
3284 return subscription; 3312 return subscription;
3285 }, 3313 },
3286 _recordCancel$1: function(subscription) { 3314 _recordCancel$1: function(subscription) {
3287 var t1; 3315 var t1, future;
3288 if ((this._state & 8) !== 0) 3316 if ((this._state & 8) !== 0)
3289 this._varData.cancel$0(); 3317 this._varData.cancel$0();
3290 this._varData = null; 3318 this._varData = null;
3291 this._state = (this._state & 4294967286 | 2) >>> 0; 3319 this._state = (this._state & 4294967286 | 2) >>> 0;
3292 P._runGuarded(this.get$_onCancel()); 3320 t1 = new P._StreamController__recordCancel_complete(this);
3293 t1 = this._doneFuture; 3321 future = P._runGuarded(this.get$_onCancel());
3294 if (t1 != null && t1._state === 0) 3322 if (future != null)
3295 t1._asyncComplete$1(null); 3323 future = future.whenComplete$1(t1);
3324 else
3325 t1.call$0();
3326 return future;
3296 } 3327 }
3297 }, 3328 },
3298 3329
3299 _StreamController__subscribe_closure: {"": "Closure;this_0", 3330 _StreamController__subscribe_closure: {"": "Closure;this_0",
3300 call$0: function() { 3331 call$0: function() {
3301 P._runGuarded(this.this_0.get$_onListen()); 3332 P._runGuarded(this.this_0.get$_onListen());
3302 } 3333 }
3303 }, 3334 },
3304 3335
3336 _StreamController__recordCancel_complete: {"": "Closure;this_0",
3337 call$0: function() {
3338 var t1 = this.this_0._doneFuture;
3339 if (t1 != null && t1._state === 0)
3340 t1._asyncComplete$1(null);
3341 }
3342 },
3343
3305 _SyncStreamControllerDispatch: {"": "Object;", 3344 _SyncStreamControllerDispatch: {"": "Object;",
3306 _sendData$1: function(data) { 3345 _sendData$1: function(data) {
3307 this.get$_subscription()._async$_add$1(data); 3346 this.get$_subscription()._async$_add$1(data);
3308 }, 3347 },
3309 _sendError$2: function(error, stackTrace) { 3348 _sendDone$0: function() {
3310 this.get$_subscription()._addError$2(error, stackTrace); 3349 this.get$_subscription()._close$0();
3311 } 3350 }
3312 }, 3351 },
3313 3352
3314 _AsyncStreamControllerDispatch: {"": "Object;", 3353 _AsyncStreamControllerDispatch: {"": "Object;",
3315 _sendData$1: function(data) { 3354 _sendData$1: function(data) {
3316 this.get$_subscription()._addPending$1(new P._DelayedData(data, null)); 3355 this.get$_subscription()._addPending$1(new P._DelayedData(data, null));
3317 }, 3356 },
3318 _sendError$2: function(error, stackTrace) { 3357 _sendDone$0: function() {
3319 this.get$_subscription()._addPending$1(new P._DelayedError(error, stackTrace , null)); 3358 this.get$_subscription()._addPending$1(C.C__DelayedDone);
3320 } 3359 }
3321 }, 3360 },
3322 3361
3323 _AsyncStreamController: {"": "_StreamController__AsyncStreamControllerDispatch;_ onListen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture"}, 3362 _AsyncStreamController: {"": "_StreamController__AsyncStreamControllerDispatch;_ onListen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture"},
3324 3363
3325 _StreamController__AsyncStreamControllerDispatch: {"": "_StreamController+_Async StreamControllerDispatch;"}, 3364 _StreamController__AsyncStreamControllerDispatch: {"": "_StreamController+_Async StreamControllerDispatch;"},
3326 3365
3327 _SyncStreamController: {"": "_StreamController__SyncStreamControllerDispatch;_on Listen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture"}, 3366 _SyncStreamController: {"": "_StreamController__SyncStreamControllerDispatch;_on Listen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture"},
3328 3367
3329 _StreamController__SyncStreamControllerDispatch: {"": "_StreamController+_SyncSt reamControllerDispatch;"}, 3368 _StreamController__SyncStreamControllerDispatch: {"": "_StreamController+_SyncSt reamControllerDispatch;"},
3330 3369
3331 _ControllerStream: {"": "_StreamImpl;_controller", 3370 _ControllerStream: {"": "_StreamImpl;_async$_controller",
3332 _createSubscription$1: function(cancelOnError) { 3371 _createSubscription$1: function(cancelOnError) {
3333 return this._controller._subscribe$1(cancelOnError); 3372 return this._async$_controller._subscribe$1(cancelOnError);
3334 }, 3373 },
3335 get$hashCode: function(_) { 3374 get$hashCode: function(_) {
3336 return (H.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0; 3375 return (H.Primitives_objectHashCode(this._async$_controller) ^ 892482866) >> > 0;
3337 }, 3376 },
3338 $eq: function(_, other) { 3377 $eq: function(_, other) {
3339 var t1; 3378 var t1;
3340 if (other == null) 3379 if (other == null)
3341 return false; 3380 return false;
3342 if (this === other) 3381 if (this === other)
3343 return true; 3382 return true;
3344 t1 = J.getInterceptor(other); 3383 t1 = J.getInterceptor(other);
3345 if (typeof other !== "object" || other === null || !t1.$is_ControllerStream) 3384 if (typeof other !== "object" || other === null || !t1.$is_ControllerStream)
3346 return false; 3385 return false;
3347 return other._controller === this._controller; 3386 return other._async$_controller === this._async$_controller;
3348 }, 3387 },
3349 $is_ControllerStream: true, 3388 $is_ControllerStream: true,
3350 $as_StreamImpl: null 3389 $as_StreamImpl: null
3351 }, 3390 },
3352 3391
3353 _ControllerSubscription: {"": "_BufferingStreamSubscription;_controller,_onData, _onError,_onDone,_zone,_state,_pending", 3392 _ControllerSubscription: {"": "_BufferingStreamSubscription;_async$_controller,_ async$_onData,_onError,_onDone,_zone,_state,_cancelFuture,_pending",
3354 _onCancel$0: function() { 3393 _onCancel$0: function() {
3355 this._controller._recordCancel$1(this); 3394 return this._async$_controller._recordCancel$1(this);
3356 }, 3395 },
3357 _onPause$0: function() { 3396 _onPause$0: function() {
3358 var t1, addState; 3397 var t1, addState;
3359 t1 = this._controller; 3398 t1 = this._async$_controller;
3360 if ((t1._state & 8) !== 0) { 3399 if ((t1._state & 8) !== 0) {
3361 addState = t1._varData; 3400 addState = t1._varData;
3362 addState.pause$0(addState); 3401 addState.pause$0(addState);
3363 } 3402 }
3364 P._runGuarded(t1.get$_onPause()); 3403 P._runGuarded(t1.get$_onPause());
3365 }, 3404 },
3366 get$_onPause: function() { 3405 get$_onPause: function() {
3367 return new P.BoundClosure$0(this, P._ControllerSubscription.prototype._onPau se$0, null, "_onPause$0"); 3406 return new P.BoundClosure$0(this, P._ControllerSubscription.prototype._onPau se$0, null, "_onPause$0");
3368 }, 3407 },
3369 _onResume$0: function() { 3408 _onResume$0: function() {
3370 var t1 = this._controller; 3409 var t1 = this._async$_controller;
3371 if ((t1._state & 8) !== 0) 3410 if ((t1._state & 8) !== 0)
3372 t1._varData.resume$0(); 3411 t1._varData.resume$0();
3373 P._runGuarded(t1.get$_onResume()); 3412 P._runGuarded(t1.get$_onResume());
3374 }, 3413 },
3375 get$_onResume: function() { 3414 get$_onResume: function() {
3376 return new P.BoundClosure$0(this, P._ControllerSubscription.prototype._onRes ume$0, null, "_onResume$0"); 3415 return new P.BoundClosure$0(this, P._ControllerSubscription.prototype._onRes ume$0, null, "_onResume$0");
3377 }, 3416 },
3378 $as_BufferingStreamSubscription: null 3417 $as_BufferingStreamSubscription: null
3379 }, 3418 },
3380 3419
3381 _EventSink: {"": "Object;"}, 3420 _EventSink: {"": "Object;"},
3382 3421
3383 _BufferingStreamSubscription: {"": "Object;_onData,_onError,_onDone,_zone<,_stat e,_pending", 3422 _BufferingStreamSubscription: {"": "Object;_async$_onData,_onError,_onDone,_zone <,_state,_cancelFuture,_pending",
3384 _setPendingEvents$1: function(pendingEvents) { 3423 _setPendingEvents$1: function(pendingEvents) {
3385 if (pendingEvents == null) 3424 if (pendingEvents == null)
3386 return; 3425 return;
3387 this._pending = pendingEvents; 3426 this._pending = pendingEvents;
3388 if (!pendingEvents.get$isEmpty(pendingEvents)) { 3427 if (!pendingEvents.get$isEmpty(pendingEvents)) {
3389 this._state = (this._state | 32) >>> 0; 3428 this._state = (this._state | 64) >>> 0;
3390 this._pending.schedule$1(this); 3429 this._pending.schedule$1(this);
3391 } 3430 }
3392 }, 3431 },
3393 onData$1: function(handleData) { 3432 onData$1: function(handleData) {
3394 $.Zone__current.toString; 3433 $.Zone__current.toString;
3395 this._onData = handleData; 3434 this._async$_onData = handleData;
3396 }, 3435 },
3397 onError$1: function(_, handleError) { 3436 onError$1: function(_, handleError) {
3398 this._onError = P._registerErrorHandler(handleError, $.Zone__current); 3437 this._onError = P._registerErrorHandler(handleError, $.Zone__current);
3399 }, 3438 },
3400 onDone$1: function(handleDone) { 3439 onDone$1: function(handleDone) {
3401 if (handleDone == null)
3402 handleDone = P._nullDoneHandler$closure;
3403 $.Zone__current.toString; 3440 $.Zone__current.toString;
3404 this._onDone = handleDone; 3441 this._onDone = handleDone;
3405 }, 3442 },
3406 pause$1: function(_, resumeSignal) { 3443 pause$1: function(_, resumeSignal) {
3407 var t1 = this._state; 3444 var t1 = this._state;
3408 if ((t1 & 8) !== 0) 3445 if ((t1 & 8) !== 0)
3409 return; 3446 return;
3410 this._state = (t1 + 64 | 4) >>> 0; 3447 this._state = (t1 + 128 | 4) >>> 0;
3411 if (t1 < 64 && this._pending != null) 3448 if (t1 < 128 && this._pending != null)
3412 this._pending.cancelSchedule$0(); 3449 this._pending.cancelSchedule$0();
3413 if ((t1 & 4) === 0 && (this._state & 16) === 0) 3450 if ((t1 & 4) === 0 && (this._state & 32) === 0)
3414 this._guardCallback$1(this.get$_onPause()); 3451 this._guardCallback$1(this.get$_onPause());
3415 }, 3452 },
3416 pause$0: function($receiver) { 3453 pause$0: function($receiver) {
3417 return this.pause$1($receiver, null); 3454 return this.pause$1($receiver, null);
3418 }, 3455 },
3419 resume$0: function() { 3456 resume$0: function() {
3420 var t1, t2; 3457 var t1, t2;
3421 t1 = this._state; 3458 t1 = this._state;
3422 if ((t1 & 8) !== 0) 3459 if ((t1 & 8) !== 0)
3423 return; 3460 return;
3424 if (t1 >= 64) { 3461 if (t1 >= 128) {
3425 this._state = t1 - 64; 3462 this._state = t1 - 128;
3426 t1 = this._state; 3463 t1 = this._state;
3427 if (t1 < 64) { 3464 if (t1 < 128) {
3428 if ((t1 & 32) !== 0) { 3465 if ((t1 & 64) !== 0) {
3429 t2 = this._pending; 3466 t2 = this._pending;
3430 t2 = !t2.get$isEmpty(t2); 3467 t2 = !t2.get$isEmpty(t2);
3431 } else 3468 } else
3432 t2 = false; 3469 t2 = false;
3433 if (t2) 3470 if (t2)
3434 this._pending.schedule$1(this); 3471 this._pending.schedule$1(this);
3435 else { 3472 else {
3436 this._state = (t1 & 4294967291) >>> 0; 3473 this._state = (t1 & 4294967291) >>> 0;
3437 if ((this._state & 16) === 0) 3474 if ((this._state & 32) === 0)
3438 this._guardCallback$1(this.get$_onResume()); 3475 this._guardCallback$1(this.get$_onResume());
3439 } 3476 }
3440 } 3477 }
3441 } 3478 }
3442 }, 3479 },
3443 cancel$0: function() { 3480 cancel$0: function() {
3481 this._state = (this._state & 4294967279) >>> 0;
3444 if ((this._state & 8) !== 0) 3482 if ((this._state & 8) !== 0)
3445 return; 3483 return this._cancelFuture;
3446 this._cancel$0(); 3484 this._cancel$0();
3447 var t1 = this._state; 3485 return this._cancelFuture;
3448 if ((t1 & 16) === 0) {
3449 this._state = (t1 | 16) >>> 0;
3450 this._onCancel$0();
3451 this._pending = null;
3452 this._state = (this._state & 4294967279) >>> 0;
3453 }
3454 }, 3486 },
3455 get$_mayResumeInput: function() { 3487 get$_mayResumeInput: function() {
3456 if (this._state < 64) { 3488 if (this._state < 128) {
3457 var t1 = this._pending; 3489 var t1 = this._pending;
3458 t1 = t1 == null || t1.get$isEmpty(t1); 3490 t1 = t1 == null || t1.get$isEmpty(t1);
3459 } else 3491 } else
3460 t1 = false; 3492 t1 = false;
3461 return t1; 3493 return t1;
3462 }, 3494 },
3463 _cancel$0: function() { 3495 _cancel$0: function() {
3464 this._state = (this._state | 8) >>> 0; 3496 this._state = (this._state | 8) >>> 0;
3465 if ((this._state & 32) !== 0) 3497 if ((this._state & 64) !== 0)
3466 this._pending.cancelSchedule$0(); 3498 this._pending.cancelSchedule$0();
3499 if ((this._state & 32) === 0)
3500 this._pending = null;
3501 this._cancelFuture = this._onCancel$0();
3467 }, 3502 },
3468 _async$_add$1: function(data) { 3503 _async$_add$1: function(data) {
3469 var t1 = this._state; 3504 var t1 = this._state;
3470 if ((t1 & 8) !== 0) 3505 if ((t1 & 8) !== 0)
3471 return; 3506 return;
3472 if (t1 < 16) 3507 if (t1 < 32)
3473 this._sendData$1(data); 3508 this._sendData$1(data);
3474 else 3509 else
3475 this._addPending$1(new P._DelayedData(data, null)); 3510 this._addPending$1(new P._DelayedData(data, null));
3476 }, 3511 },
3477 _addError$2: function(error, stackTrace) { 3512 _close$0: function() {
3478 var t1 = this._state; 3513 var t1 = this._state;
3479 if ((t1 & 8) !== 0) 3514 if ((t1 & 8) !== 0)
3480 return; 3515 return;
3481 if (t1 < 16) 3516 this._state = (t1 | 2) >>> 0;
3482 this._sendError$2(error, stackTrace); 3517 if (this._state < 32)
3518 this._sendDone$0();
3483 else 3519 else
3484 this._addPending$1(new P._DelayedError(error, stackTrace, null)); 3520 this._addPending$1(C.C__DelayedDone);
3485 }, 3521 },
3486 _onPause$0: function() { 3522 _onPause$0: function() {
3487 }, 3523 },
3488 get$_onPause: function() { 3524 get$_onPause: function() {
3489 return new P.BoundClosure$0(this, P._BufferingStreamSubscription.prototype._ onPause$0, null, "_onPause$0"); 3525 return new P.BoundClosure$0(this, P._BufferingStreamSubscription.prototype._ onPause$0, null, "_onPause$0");
3490 }, 3526 },
3491 _onResume$0: function() { 3527 _onResume$0: function() {
3492 }, 3528 },
3493 get$_onResume: function() { 3529 get$_onResume: function() {
3494 return new P.BoundClosure$0(this, P._BufferingStreamSubscription.prototype._ onResume$0, null, "_onResume$0"); 3530 return new P.BoundClosure$0(this, P._BufferingStreamSubscription.prototype._ onResume$0, null, "_onResume$0");
3495 }, 3531 },
3496 _onCancel$0: function() { 3532 _onCancel$0: function() {
3497 }, 3533 },
3498 _addPending$1: function($event) { 3534 _addPending$1: function($event) {
3499 var pending, t1; 3535 var pending, t1;
3500 pending = this._pending; 3536 pending = this._pending;
3501 if (pending == null) { 3537 if (pending == null) {
3502 pending = new P._StreamImplEvents(null, null, 0); 3538 pending = new P._StreamImplEvents(null, null, 0);
3503 this._pending = pending; 3539 this._pending = pending;
3504 } 3540 }
3505 pending.add$1(pending, $event); 3541 pending.add$1(pending, $event);
3506 t1 = this._state; 3542 t1 = this._state;
3507 if ((t1 & 32) === 0) { 3543 if ((t1 & 64) === 0) {
3508 this._state = (t1 | 32) >>> 0; 3544 this._state = (t1 | 64) >>> 0;
3509 if (this._state < 64) 3545 if (this._state < 128)
3510 this._pending.schedule$1(this); 3546 this._pending.schedule$1(this);
3511 } 3547 }
3512 }, 3548 },
3513 _sendData$1: function(data) { 3549 _sendData$1: function(data) {
3514 var t1 = this._state; 3550 var t1 = this._state;
3515 this._state = (t1 | 16) >>> 0; 3551 this._state = (t1 | 32) >>> 0;
3516 this._zone.runUnaryGuarded$2(this._onData, data); 3552 this._zone.runUnaryGuarded$2(this._async$_onData, data);
3517 this._state = (this._state & 4294967279) >>> 0; 3553 this._state = (this._state & 4294967263) >>> 0;
3518 this._checkState$1((t1 & 4) !== 0); 3554 this._checkState$1((t1 & 4) !== 0);
3519 }, 3555 },
3520 _sendError$2: function(error, stackTrace) { 3556 _sendDone$0: function() {
3521 var t1, t2, t3, t4; 3557 var t1, t2, t3;
3522 t1 = this._state; 3558 t1 = new P._BufferingStreamSubscription__sendDone_sendDone(this);
3523 this._state = (t1 | 16) >>> 0; 3559 this._cancel$0();
3524 t2 = this._zone; 3560 this._state = (this._state | 16) >>> 0;
3525 t3 = $.Zone__current; 3561 t2 = this._cancelFuture;
3526 t2.toString; 3562 t3 = J.getInterceptor(t2);
3527 t3.toString; 3563 if (typeof t2 === "object" && t2 !== null && !!t3.$isFuture)
3528 if (t3 == null ? t2 != null : t3 !== t2) 3564 t2.whenComplete$1(t1);
3529 P._rootHandleUncaughtError(t3, null, t3, error, stackTrace); 3565 else
3530 else { 3566 t1.call$0();
3531 t3 = this._onError;
3532 t4 = J.getInterceptor(t3);
3533 if (!!t4.$is_args2)
3534 t2.runBinaryGuarded$3(t3, error, stackTrace);
3535 else
3536 t2.runUnaryGuarded$2(t3, error);
3537 }
3538 this._state = (this._state & 4294967279) >>> 0;
3539 if ((this._state & 1) !== 0)
3540 this._cancel$0();
3541 this._checkState$1((t1 & 4) !== 0);
3542 }, 3567 },
3543 _guardCallback$1: function(callback) { 3568 _guardCallback$1: function(callback) {
3544 var t1 = this._state; 3569 var t1 = this._state;
3545 this._state = (t1 | 16) >>> 0; 3570 this._state = (t1 | 32) >>> 0;
3546 callback.call$0(); 3571 callback.call$0();
3547 this._state = (this._state & 4294967279) >>> 0; 3572 this._state = (this._state & 4294967263) >>> 0;
3548 this._checkState$1((t1 & 4) !== 0); 3573 this._checkState$1((t1 & 4) !== 0);
3549 }, 3574 },
3550 _checkState$1: function(wasInputPaused) { 3575 _checkState$1: function(wasInputPaused) {
3551 var t1, t2, isInputPaused; 3576 var t1, t2, isInputPaused;
3552 t1 = this._state; 3577 t1 = this._state;
3553 if ((t1 & 32) !== 0) { 3578 if ((t1 & 64) !== 0) {
3554 t2 = this._pending; 3579 t2 = this._pending;
3555 t2 = t2.get$isEmpty(t2); 3580 t2 = t2.get$isEmpty(t2);
3556 } else 3581 } else
3557 t2 = false; 3582 t2 = false;
3558 if (t2) { 3583 if (t2) {
3559 this._state = (t1 & 4294967263) >>> 0; 3584 this._state = (t1 & 4294967231) >>> 0;
3560 if ((this._state & 4) !== 0 && this.get$_mayResumeInput()) 3585 if ((this._state & 4) !== 0 && this.get$_mayResumeInput())
3561 this._state = (this._state & 4294967291) >>> 0; 3586 this._state = (this._state & 4294967291) >>> 0;
3562 } 3587 }
3563 for (; true; wasInputPaused = isInputPaused) { 3588 for (; true; wasInputPaused = isInputPaused) {
3564 t1 = this._state; 3589 t1 = this._state;
3565 if ((t1 & 8) !== 0) { 3590 if ((t1 & 8) !== 0) {
3566 this._onCancel$0();
3567 this._pending = null; 3591 this._pending = null;
3568 return; 3592 return;
3569 } 3593 }
3570 isInputPaused = (t1 & 4) !== 0; 3594 isInputPaused = (t1 & 4) !== 0;
3571 if (wasInputPaused === isInputPaused) 3595 if (wasInputPaused === isInputPaused)
3572 break; 3596 break;
3573 this._state = (t1 ^ 16) >>> 0; 3597 this._state = (t1 ^ 32) >>> 0;
3574 if (isInputPaused) 3598 if (isInputPaused)
3575 this._onPause$0(); 3599 this._onPause$0();
3576 else 3600 else
3577 this._onResume$0(); 3601 this._onResume$0();
3578 this._state = (this._state & 4294967279) >>> 0; 3602 this._state = (this._state & 4294967263) >>> 0;
3579 } 3603 }
3580 t1 = this._state; 3604 t1 = this._state;
3581 if ((t1 & 32) !== 0 && t1 < 64) 3605 if ((t1 & 64) !== 0 && t1 < 128)
3582 this._pending.schedule$1(this); 3606 this._pending.schedule$1(this);
3583 }, 3607 },
3584 static: { 3608 static: {
3585 "": "_BufferingStreamSubscription__STATE_CANCEL_ON_ERROR,_BufferingStreamSubscri ption__STATE_CLOSED,_BufferingStreamSubscription__STATE_INPUT_PAUSED,_BufferingS treamSubscription__STATE_CANCELED,_BufferingStreamSubscription__STATE_IN_CALLBAC K,_BufferingStreamSubscription__STATE_HAS_PENDING,_BufferingStreamSubscription__ STATE_PAUSE_COUNT,_BufferingStreamSubscription__STATE_PAUSE_COUNT_SHIFT", 3609 "": "_BufferingStreamSubscription__STATE_CANCEL_ON_ERROR,_BufferingStreamSubscri ption__STATE_CLOSED,_BufferingStreamSubscription__STATE_INPUT_PAUSED,_BufferingS treamSubscription__STATE_CANCELED,_BufferingStreamSubscription__STATE_WAIT_FOR_C ANCEL,_BufferingStreamSubscription__STATE_IN_CALLBACK,_BufferingStreamSubscripti on__STATE_HAS_PENDING,_BufferingStreamSubscription__STATE_PAUSE_COUNT,_Buffering StreamSubscription__STATE_PAUSE_COUNT_SHIFT",
3586 } 3610 }
3587 3611
3588 }, 3612 },
3589 3613
3614 _BufferingStreamSubscription__sendDone_sendDone: {"": "Closure;this_0",
3615 call$0: function() {
3616 var t1, t2;
3617 t1 = this.this_0;
3618 t2 = t1._state;
3619 if ((t2 & 16) === 0)
3620 return;
3621 t1._state = (t2 | 42) >>> 0;
3622 t1._zone.runGuarded$1(t1._onDone);
3623 t1._state = (t1._state & 4294967263) >>> 0;
3624 }
3625 },
3626
3590 _StreamImpl: {"": "Stream;", 3627 _StreamImpl: {"": "Stream;",
3591 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { 3628 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) {
3592 var subscription = this._createSubscription$1(true === cancelOnError); 3629 var subscription = this._createSubscription$1(true === cancelOnError);
3593 subscription.onData$1(onData); 3630 subscription.onData$1(onData);
3594 subscription.onError$1(subscription, onError); 3631 subscription.onError$1(subscription, onError);
3595 subscription.onDone$1(onDone); 3632 subscription.onDone$1(onDone);
3596 return subscription; 3633 return subscription;
3597 }, 3634 },
3598 listen$2$onError: function(onData, onError) {
3599 return this.listen$4$cancelOnError$onDone$onError(onData, null, null, onErro r);
3600 },
3601 _createSubscription$1: function(cancelOnError) { 3635 _createSubscription$1: function(cancelOnError) {
3602 var t1, t2; 3636 var t1, t2;
3603 t1 = $.Zone__current; 3637 t1 = $.Zone__current;
3604 t2 = cancelOnError ? 1 : 0; 3638 t2 = cancelOnError ? 1 : 0;
3605 return new P._BufferingStreamSubscription(null, null, null, t1, t2, null); 3639 return new P._BufferingStreamSubscription(null, null, null, t1, t2, null, nu ll);
3606 }, 3640 },
3607 $asStream: null 3641 $asStream: null
3608 }, 3642 },
3609 3643
3610 _DelayedEvent: {"": "Object;next@"}, 3644 _DelayedEvent: {"": "Object;next@"},
3611 3645
3612 _DelayedData: {"": "_DelayedEvent;value,next", 3646 _DelayedData: {"": "_DelayedEvent;value,next",
3613 perform$1: function(dispatch) { 3647 perform$1: function(dispatch) {
3614 dispatch._sendData$1(this.value); 3648 dispatch._sendData$1(this.value);
3615 } 3649 }
3616 }, 3650 },
3617 3651
3618 _DelayedError: {"": "_DelayedEvent;error>,stackTrace<,next", 3652 _DelayedDone: {"": "Object;",
3619 perform$1: function(dispatch) { 3653 perform$1: function(dispatch) {
3620 dispatch._sendError$2(this.error, this.stackTrace); 3654 dispatch._sendDone$0();
3655 },
3656 get$next: function() {
3657 return;
3658 },
3659 set$next: function(_) {
3660 throw H.wrapException(P.StateError$("No events after a done."));
3621 } 3661 }
3622 }, 3662 },
3623 3663
3624 _PendingEvents: {"": "Object;", 3664 _PendingEvents: {"": "Object;",
3625 schedule$1: function(dispatch) { 3665 schedule$1: function(dispatch) {
3626 var t1 = this._state; 3666 var t1 = this._state;
3627 if (t1 === 1) 3667 if (t1 === 1)
3628 return; 3668 return;
3629 if (t1 >= 1) { 3669 if (t1 >= 1) {
3630 this._state = 1; 3670 this._state = 1;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
3667 }, 3707 },
3668 handleNext$1: function(dispatch) { 3708 handleNext$1: function(dispatch) {
3669 var $event = this.firstPendingEvent; 3709 var $event = this.firstPendingEvent;
3670 this.firstPendingEvent = $event.get$next(); 3710 this.firstPendingEvent = $event.get$next();
3671 if (this.firstPendingEvent == null) 3711 if (this.firstPendingEvent == null)
3672 this.lastPendingEvent = null; 3712 this.lastPendingEvent = null;
3673 $event.perform$1(dispatch); 3713 $event.perform$1(dispatch);
3674 } 3714 }
3675 }, 3715 },
3676 3716
3677 _cancelAndError_closure: {"": "Closure;subscription_0,future_1", 3717 _cancelAndError_closure: {"": "Closure;future_0,error_1,stackTrace_2",
3718 call$0: function() {
3719 return this.future_0._completeError$2(this.error_1, this.stackTrace_2);
3720 }
3721 },
3722
3723 _cancelAndErrorClosure_closure: {"": "Closure;subscription_0,future_1",
3678 call$2: function(error, stackTrace) { 3724 call$2: function(error, stackTrace) {
3679 this.subscription_0.cancel$0(); 3725 return P._cancelAndError(this.subscription_0, this.future_1, error, stackTra ce);
3680 this.future_1._completeError$2(error, stackTrace);
3681 }, 3726 },
3682 $is_args2: true 3727 $is_args2: true
3683 }, 3728 },
3684 3729
3730 _cancelAndValue_closure: {"": "Closure;future_0,value_1",
3731 call$0: function() {
3732 return this.future_0._complete$1(this.value_1);
3733 }
3734 },
3735
3685 _BaseZone: {"": "Object;", 3736 _BaseZone: {"": "Object;",
3686 runGuarded$1: function(f) { 3737 runGuarded$1: function(f) {
3687 var e, s, t1, exception; 3738 var e, s, t1, exception;
3688 try { 3739 try {
3689 t1 = this.run$1(f); 3740 t1 = this.run$1(f);
3690 return t1; 3741 return t1;
3691 } catch (exception) { 3742 } catch (exception) {
3692 t1 = H.unwrapException(exception); 3743 t1 = H.unwrapException(exception);
3693 e = t1; 3744 e = t1;
3694 s = new H._StackTrace(exception, null); 3745 s = new H._StackTrace(exception, null);
3695 return this.handleUncaughtError$2(e, s); 3746 return this.handleUncaughtError$2(e, s);
3696 } 3747 }
3697 3748
3698 }, 3749 },
3699 runUnaryGuarded$2: function(f, arg) { 3750 runUnaryGuarded$2: function(f, arg) {
3700 var e, s, t1, exception; 3751 var e, s, t1, exception;
3701 try { 3752 try {
3702 t1 = this.runUnary$2(f, arg); 3753 t1 = this.runUnary$2(f, arg);
3703 return t1; 3754 return t1;
3704 } catch (exception) { 3755 } catch (exception) {
3705 t1 = H.unwrapException(exception); 3756 t1 = H.unwrapException(exception);
3706 e = t1; 3757 e = t1;
3707 s = new H._StackTrace(exception, null); 3758 s = new H._StackTrace(exception, null);
3708 return this.handleUncaughtError$2(e, s); 3759 return this.handleUncaughtError$2(e, s);
3709 } 3760 }
3710 3761
3711 }, 3762 },
3712 runBinaryGuarded$3: function(f, arg1, arg2) {
3713 var e, s, t1, exception;
3714 try {
3715 t1 = this.runBinary$3(f, arg1, arg2);
3716 return t1;
3717 } catch (exception) {
3718 t1 = H.unwrapException(exception);
3719 e = t1;
3720 s = new H._StackTrace(exception, null);
3721 return this.handleUncaughtError$2(e, s);
3722 }
3723
3724 },
3725 bindCallback$2$runGuarded: function(f, runGuarded) { 3763 bindCallback$2$runGuarded: function(f, runGuarded) {
3726 var registered = this.registerCallback$1(f); 3764 var registered = this.registerCallback$1(f);
3727 if (runGuarded) 3765 if (runGuarded)
3728 return new P._BaseZone_bindCallback_closure(this, registered); 3766 return new P._BaseZone_bindCallback_closure(this, registered);
3729 else 3767 else
3730 return new P._BaseZone_bindCallback_closure0(this, registered); 3768 return new P._BaseZone_bindCallback_closure0(this, registered);
3769 },
3770 bindUnaryCallback$2$runGuarded: function(f, runGuarded) {
3771 var registered = this.registerUnaryCallback$1(f);
3772 if (runGuarded)
3773 return new P._BaseZone_bindUnaryCallback_closure(this, registered);
3774 else
3775 return new P._BaseZone_bindUnaryCallback_closure0(this, registered);
3731 } 3776 }
3732 }, 3777 },
3733 3778
3734 _BaseZone_bindCallback_closure: {"": "Closure;this_0,registered_1", 3779 _BaseZone_bindCallback_closure: {"": "Closure;this_0,registered_1",
3735 call$0: function() { 3780 call$0: function() {
3736 return this.this_0.runGuarded$1(this.registered_1); 3781 return this.this_0.runGuarded$1(this.registered_1);
3737 } 3782 }
3738 }, 3783 },
3739 3784
3740 _BaseZone_bindCallback_closure0: {"": "Closure;this_2,registered_3", 3785 _BaseZone_bindCallback_closure0: {"": "Closure;this_2,registered_3",
3741 call$0: function() { 3786 call$0: function() {
3742 return this.this_2.run$1(this.registered_3); 3787 return this.this_2.run$1(this.registered_3);
3743 } 3788 }
3744 }, 3789 },
3745 3790
3791 _BaseZone_bindUnaryCallback_closure: {"": "Closure;this_0,registered_1",
3792 call$1: function(arg) {
3793 return this.this_0.runUnaryGuarded$2(this.registered_1, arg);
3794 },
3795 $is_args1: true
3796 },
3797
3798 _BaseZone_bindUnaryCallback_closure0: {"": "Closure;this_2,registered_3",
3799 call$1: function(arg) {
3800 return this.this_2.runUnary$2(this.registered_3, arg);
3801 },
3802 $is_args1: true
3803 },
3804
3746 _rootHandleUncaughtError_closure: {"": "Closure;error_0,stackTrace_1", 3805 _rootHandleUncaughtError_closure: {"": "Closure;error_0,stackTrace_1",
3747 call$0: function() { 3806 call$0: function() {
3807 P._scheduleAsyncCallback(new P._rootHandleUncaughtError__closure(this.error_ 0, this.stackTrace_1));
3808 }
3809 },
3810
3811 _rootHandleUncaughtError__closure: {"": "Closure;error_2,stackTrace_3",
3812 call$0: function() {
3748 var t1, trace; 3813 var t1, trace;
3749 t1 = this.error_0; 3814 t1 = this.error_2;
3750 P.print("Uncaught Error: " + H.S(t1)); 3815 P.print("Uncaught Error: " + H.S(t1));
3751 trace = this.stackTrace_1; 3816 trace = this.stackTrace_3;
3752 if (trace == null) 3817 if (trace == null)
3753 trace = P.getAttachedStackTrace(t1); 3818 trace = P.getAttachedStackTrace(t1);
3754 P._attachStackTrace(t1, null); 3819 P._attachStackTrace(t1, null);
3755 if (trace != null) 3820 if (trace != null)
3756 P.print("Stack Trace: \n" + H.S(trace) + "\n"); 3821 P.print("Stack Trace: \n" + H.S(trace) + "\n");
3757 throw H.wrapException(t1); 3822 throw H.wrapException(t1);
3758 } 3823 }
3759 }, 3824 },
3760 3825
3761 _RootZone: {"": "_BaseZone;", 3826 _RootZone: {"": "_BaseZone;",
3762 $index: function(_, key) { 3827 $index: function(_, key) {
3763 return; 3828 return;
3764 }, 3829 },
3765 handleUncaughtError$2: function(error, stackTrace) { 3830 handleUncaughtError$2: function(error, stackTrace) {
3766 return P._rootHandleUncaughtError(this, null, this, error, stackTrace); 3831 return P._rootHandleUncaughtError(this, null, this, error, stackTrace);
3767 }, 3832 },
3768 run$1: function(f) { 3833 run$1: function(f) {
3769 return P._rootRun(this, null, this, f); 3834 return P._rootRun(this, null, this, f);
3770 }, 3835 },
3771 runUnary$2: function(f, arg) { 3836 runUnary$2: function(f, arg) {
3772 return P._rootRunUnary(this, null, this, f, arg); 3837 return P._rootRunUnary(this, null, this, f, arg);
3773 }, 3838 },
3774 runBinary$3: function(f, arg1, arg2) { 3839 registerCallback$1: function(f) {
3775 return P._rootRunBinary(this, null, this, f, arg1, arg2); 3840 return f;
3776 }, 3841 },
3777 registerCallback$1: function(f) { 3842 registerUnaryCallback$1: function(f) {
3778 return f; 3843 return f;
3779 } 3844 }
3780 }}], 3845 }}],
3781 ["dart.collection", "dart:collection", , P, { 3846 ["dart.collection", "dart:collection", , P, {
3782 _HashSet__newHashTable: function() { 3847 _HashSet__newHashTable: function() {
3783 var table = Object.create(null); 3848 var table = Object.create(null);
3784 table["<non-identifier-key>"] = table; 3849 table["<non-identifier-key>"] = table;
3785 delete table["<non-identifier-key>"]; 3850 delete table["<non-identifier-key>"];
3786 return table; 3851 return table;
3787 }, 3852 },
3788 3853
3789 _defaultEquals: function(a, b) { 3854 _defaultEquals: function(a, b) {
3790 return J.$eq(a, b); 3855 return J.$eq(a, b);
3791 }, 3856 },
3792 3857
3793 _defaultHashCode: function(a) { 3858 _defaultHashCode: function(a) {
3794 return J.get$hashCode$(a); 3859 return J.get$hashCode$(a);
3795 }, 3860 },
3796 3861
3797 HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) { 3862 HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) {
3798 var t1 = new P._HashMap(0, null, null, null, null); 3863 var t1 = new P._HashMap(0, null, null, null, null);
3799 H.setRuntimeTypeInfo(t1, [$K, $V]); 3864 H.setRuntimeTypeInfo(t1, [$K, $V]);
3800 return t1; 3865 return t1;
3801 }, 3866 },
3802 3867
3803 _iterableToString: function(iterable) { 3868 _iterableToString: function(iterable) {
3804 var LENGTH_LIMIT, MIN_COUNT, MAX_COUNT, OVERHEAD, ELLIPSIS_SIZE, result, $leng th, count, it, next, penultimateString, ultimateString, penultimate, ultimate, e lision, t1, t2, t3, t4; 3869 var parts, t1;
3805 LENGTH_LIMIT = 80;
3806 MIN_COUNT = 3;
3807 MAX_COUNT = 100;
3808 OVERHEAD = 2;
3809 ELLIPSIS_SIZE = 3;
3810 t1 = $.get$_toStringVisiting(); 3870 t1 = $.get$_toStringVisiting();
3811 if (t1.contains$1(t1, iterable)) 3871 if (t1.contains$1(t1, iterable))
3812 return "(...)"; 3872 return "(...)";
3813 t1 = $.get$_toStringVisiting(); 3873 t1 = $.get$_toStringVisiting();
3814 t1.add$1(t1, iterable); 3874 t1.add$1(t1, iterable);
3815 result = []; 3875 parts = [];
3816 try { 3876 try {
3817 $building$0: { 3877 P._iterablePartsToStrings(iterable, parts);
3818 $length = 0;
3819 count = 0;
3820 it = J.get$iterator$ax(iterable);
3821 while (true) {
3822 t1 = count;
3823 t2 = MIN_COUNT;
3824 if (typeof t1 !== "number")
3825 throw t1.$lt();
3826 if (typeof t2 !== "number")
3827 throw H.iae(t2);
3828 if (!(t1 < t2)) {
3829 t1 = $length;
3830 t2 = LENGTH_LIMIT;
3831 if (typeof t1 !== "number")
3832 throw t1.$lt();
3833 if (typeof t2 !== "number")
3834 throw H.iae(t2);
3835 t2 = t1 < t2;
3836 t1 = t2;
3837 } else
3838 t1 = true;
3839 if (!t1)
3840 break;
3841 if (!it.moveNext$0())
3842 break $building$0;
3843 next = H.S(it.get$current());
3844 J.add$1$ax(result, next);
3845 t1 = $length;
3846 t2 = J.get$length$asx(next);
3847 t3 = OVERHEAD;
3848 if (typeof t2 !== "number")
3849 throw t2.$add();
3850 if (typeof t3 !== "number")
3851 throw H.iae(t3);
3852 if (typeof t1 !== "number")
3853 throw t1.$add();
3854 $length = t1 + (t2 + t3);
3855 t3 = count;
3856 if (typeof t3 !== "number")
3857 throw t3.$add();
3858 count = t3 + 1;
3859 }
3860 penultimateString = null;
3861 ultimateString = null;
3862 penultimate = null;
3863 ultimate = null;
3864 if (!it.moveNext$0()) {
3865 t1 = count;
3866 t2 = MIN_COUNT;
3867 if (typeof t2 !== "number")
3868 throw t2.$add();
3869 if (typeof t1 !== "number")
3870 throw t1.$le();
3871 if (t1 <= t2 + 2)
3872 break $building$0;
3873 ultimateString = J.removeLast$0$ax(result);
3874 penultimateString = J.removeLast$0$ax(result);
3875 } else {
3876 penultimate = it.get$current();
3877 t1 = count;
3878 if (typeof t1 !== "number")
3879 throw t1.$add();
3880 count = t1 + 1;
3881 if (!it.moveNext$0()) {
3882 t1 = count;
3883 t2 = MIN_COUNT;
3884 if (typeof t2 !== "number")
3885 throw t2.$add();
3886 if (typeof t1 !== "number")
3887 throw t1.$le();
3888 if (t1 <= t2 + 1) {
3889 J.add$1$ax(result, H.S(penultimate));
3890 break $building$0;
3891 }
3892 ultimateString = H.S(penultimate);
3893 penultimateString = J.removeLast$0$ax(result);
3894 t1 = $length;
3895 t2 = J.get$length$asx(ultimateString);
3896 t3 = OVERHEAD;
3897 if (typeof t2 !== "number")
3898 throw t2.$add();
3899 if (typeof t3 !== "number")
3900 throw H.iae(t3);
3901 if (typeof t1 !== "number")
3902 throw t1.$add();
3903 $length = t1 + (t2 + t3);
3904 } else {
3905 ultimate = it.get$current();
3906 t1 = count;
3907 if (typeof t1 !== "number")
3908 throw t1.$add();
3909 count = t1 + 1;
3910 for (; it.moveNext$0();) {
3911 penultimate = ultimate;
3912 ultimate = it.get$current();
3913 t1 = count;
3914 if (typeof t1 !== "number")
3915 throw t1.$add();
3916 count = t1 + 1;
3917 t1 = count;
3918 t2 = MAX_COUNT;
3919 if (typeof t1 !== "number")
3920 throw t1.$gt();
3921 if (typeof t2 !== "number")
3922 throw H.iae(t2);
3923 if (t1 > t2) {
3924 while (true) {
3925 t1 = $length;
3926 t2 = LENGTH_LIMIT;
3927 t3 = ELLIPSIS_SIZE;
3928 if (typeof t2 !== "number")
3929 throw t2.$sub();
3930 if (typeof t3 !== "number")
3931 throw H.iae(t3);
3932 t4 = OVERHEAD;
3933 if (typeof t4 !== "number")
3934 throw H.iae(t4);
3935 if (typeof t1 !== "number")
3936 throw t1.$gt();
3937 if (t1 > t2 - t3 - t4) {
3938 t1 = count;
3939 t2 = MIN_COUNT;
3940 if (typeof t1 !== "number")
3941 throw t1.$gt();
3942 if (typeof t2 !== "number")
3943 throw H.iae(t2);
3944 t2 = t1 > t2;
3945 t1 = t2;
3946 } else
3947 t1 = false;
3948 if (!t1)
3949 break;
3950 t1 = $length;
3951 t2 = J.get$length$asx(J.removeLast$0$ax(result));
3952 t3 = OVERHEAD;
3953 if (typeof t2 !== "number")
3954 throw t2.$add();
3955 if (typeof t3 !== "number")
3956 throw H.iae(t3);
3957 if (typeof t1 !== "number")
3958 throw t1.$sub();
3959 $length = t1 - (t2 + t3);
3960 t3 = count;
3961 if (typeof t3 !== "number")
3962 throw t3.$sub();
3963 count = t3 - 1;
3964 }
3965 J.add$1$ax(result, "...");
3966 break $building$0;
3967 }
3968 }
3969 penultimateString = H.S(penultimate);
3970 ultimateString = H.S(ultimate);
3971 t1 = $length;
3972 t2 = J.get$length$asx(ultimateString);
3973 t3 = J.get$length$asx(penultimateString);
3974 if (typeof t2 !== "number")
3975 throw t2.$add();
3976 if (typeof t3 !== "number")
3977 throw H.iae(t3);
3978 t4 = OVERHEAD;
3979 if (typeof t4 !== "number")
3980 throw H.iae(t4);
3981 if (typeof t1 !== "number")
3982 throw t1.$add();
3983 $length = t1 + (t2 + t3 + 2 * t4);
3984 }
3985 }
3986 elision = null;
3987 t1 = count;
3988 t2 = J.get$length$asx(result);
3989 if (typeof t2 !== "number")
3990 throw t2.$add();
3991 if (typeof t1 !== "number")
3992 throw t1.$gt();
3993 if (t1 > t2 + 2) {
3994 elision = "...";
3995 t1 = $length;
3996 t2 = ELLIPSIS_SIZE;
3997 t3 = OVERHEAD;
3998 if (typeof t2 !== "number")
3999 throw t2.$add();
4000 if (typeof t3 !== "number")
4001 throw H.iae(t3);
4002 if (typeof t1 !== "number")
4003 throw t1.$add();
4004 $length = t1 + (t2 + t3);
4005 }
4006 while (true) {
4007 t1 = $length;
4008 t2 = LENGTH_LIMIT;
4009 if (typeof t1 !== "number")
4010 throw t1.$gt();
4011 if (typeof t2 !== "number")
4012 throw H.iae(t2);
4013 if (t1 > t2) {
4014 t1 = J.get$length$asx(result);
4015 t2 = MIN_COUNT;
4016 if (typeof t1 !== "number")
4017 throw t1.$gt();
4018 if (typeof t2 !== "number")
4019 throw H.iae(t2);
4020 t2 = t1 > t2;
4021 t1 = t2;
4022 } else
4023 t1 = false;
4024 if (!t1)
4025 break;
4026 t1 = $length;
4027 t2 = J.get$length$asx(J.removeLast$0$ax(result));
4028 t3 = OVERHEAD;
4029 if (typeof t2 !== "number")
4030 throw t2.$add();
4031 if (typeof t3 !== "number")
4032 throw H.iae(t3);
4033 if (typeof t1 !== "number")
4034 throw t1.$sub();
4035 $length = t1 - (t2 + t3);
4036 if (elision == null) {
4037 elision = "...";
4038 t1 = $length;
4039 t2 = ELLIPSIS_SIZE;
4040 t3 = OVERHEAD;
4041 if (typeof t2 !== "number")
4042 throw t2.$add();
4043 if (typeof t3 !== "number")
4044 throw H.iae(t3);
4045 if (typeof t1 !== "number")
4046 throw t1.$add();
4047 $length = t1 + (t2 + t3);
4048 }
4049 }
4050 if (elision != null)
4051 J.add$1$ax(result, elision);
4052 J.add$1$ax(result, penultimateString);
4053 J.add$1$ax(result, ultimateString);
4054 }
4055 } finally { 3878 } finally {
4056 t1 = $.get$_toStringVisiting(); 3879 t1 = $.get$_toStringVisiting();
4057 t1.remove$1(t1, iterable); 3880 t1.remove$1(t1, iterable);
4058 } 3881 }
4059 t1 = P.StringBuffer$("("); 3882 t1 = P.StringBuffer$("(");
4060 t1.writeAll$2(result, ", "); 3883 t1.writeAll$2(parts, ", ");
4061 t1.write$1(")"); 3884 t1.write$1(")");
4062 return t1._contents; 3885 return t1._contents;
4063 }, 3886 },
4064 3887
3888 _iterablePartsToStrings: function(iterable, parts) {
3889 var it, $length, count, next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision;
3890 it = iterable.get$iterator(iterable);
3891 $length = 0;
3892 count = 0;
3893 while (true) {
3894 if (!($length < 80 || count < 3))
3895 break;
3896 if (!it.moveNext$0())
3897 return;
3898 next = H.S(it.get$current());
3899 parts.push(next);
3900 $length += next.length + 2;
3901 ++count;
3902 }
3903 if (!it.moveNext$0()) {
3904 if (count <= 5)
3905 return;
3906 if (0 >= parts.length)
3907 throw H.ioore(parts, 0);
3908 ultimateString = parts.pop();
3909 if (0 >= parts.length)
3910 throw H.ioore(parts, 0);
3911 penultimateString = parts.pop();
3912 } else {
3913 penultimate = it.get$current();
3914 ++count;
3915 if (!it.moveNext$0()) {
3916 if (count <= 4) {
3917 parts.push(H.S(penultimate));
3918 return;
3919 }
3920 ultimateString = H.S(penultimate);
3921 if (0 >= parts.length)
3922 throw H.ioore(parts, 0);
3923 penultimateString = parts.pop();
3924 $length += ultimateString.length + 2;
3925 } else {
3926 ultimate = it.get$current();
3927 ++count;
3928 for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
3929 ultimate0 = it.get$current();
3930 ++count;
3931 if (count > 100) {
3932 while (true) {
3933 if (!($length > 75 && count > 3))
3934 break;
3935 if (0 >= parts.length)
3936 throw H.ioore(parts, 0);
3937 $length -= parts.pop().length + 2;
3938 --count;
3939 }
3940 parts.push("...");
3941 return;
3942 }
3943 }
3944 penultimateString = H.S(penultimate);
3945 ultimateString = H.S(ultimate);
3946 $length += ultimateString.length + penultimateString.length + 4;
3947 }
3948 }
3949 if (count > parts.length + 2) {
3950 $length += 5;
3951 elision = "...";
3952 } else
3953 elision = null;
3954 while (true) {
3955 if (!($length > 80 && parts.length > 3))
3956 break;
3957 if (0 >= parts.length)
3958 throw H.ioore(parts, 0);
3959 $length -= parts.pop().length + 2;
3960 if (elision == null) {
3961 $length += 5;
3962 elision = "...";
3963 }
3964 }
3965 if (elision != null)
3966 parts.push(elision);
3967 parts.push(penultimateString);
3968 parts.push(ultimateString);
3969 },
3970
4065 LinkedHashMap_LinkedHashMap: function(equals, hashCode, isValidKey, $K, $V) { 3971 LinkedHashMap_LinkedHashMap: function(equals, hashCode, isValidKey, $K, $V) {
4066 var t1 = new P._LinkedHashMap(0, null, null, null, null, null, 0); 3972 var t1 = new P._LinkedHashMap(0, null, null, null, null, null, 0);
4067 H.setRuntimeTypeInfo(t1, [$K, $V]); 3973 H.setRuntimeTypeInfo(t1, [$K, $V]);
4068 return t1; 3974 return t1;
4069 }, 3975 },
4070 3976
4071 Maps_mapToString: function(m) { 3977 Maps_mapToString: function(m) {
4072 var t1, result, i, t2; 3978 var t1, result, i, t2;
4073 t1 = {}; 3979 t1 = {};
4074 for (i = 0; i < $.get$Maps__toStringList().length; ++i) { 3980 for (i = 0; i < $.get$Maps__toStringList().length; ++i) {
(...skipping 16 matching lines...) Expand all
4091 throw H.ioore(t1, 0); 3997 throw H.ioore(t1, 0);
4092 t1.pop(); 3998 t1.pop();
4093 } 3999 }
4094 return result.get$_contents(); 4000 return result.get$_contents();
4095 }, 4001 },
4096 4002
4097 _HashMap: {"": "Object;_collection$_length,_strings,_nums,_rest,_keys", 4003 _HashMap: {"": "Object;_collection$_length,_strings,_nums,_rest,_keys",
4098 get$length: function(_) { 4004 get$length: function(_) {
4099 return this._collection$_length; 4005 return this._collection$_length;
4100 }, 4006 },
4101 get$keys: function() { 4007 get$isEmpty: function(_) {
4008 return this._collection$_length === 0;
4009 },
4010 get$keys: function(_) {
4102 var t1 = new P.HashMapKeyIterable(this); 4011 var t1 = new P.HashMapKeyIterable(this);
4103 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_HashMap", 0)]); 4012 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_HashMap", 0)]);
4104 return t1; 4013 return t1;
4105 }, 4014 },
4106 get$values: function(_) { 4015 get$values: function(_) {
4107 var t1 = new P.HashMapKeyIterable(this); 4016 var t1 = new P.HashMapKeyIterable(this);
4108 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_HashMap", 0)]); 4017 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_HashMap", 0)]);
4109 return H.MappedIterable_MappedIterable(t1, new P._HashMap_values_closure(thi s), H.getRuntimeTypeArgument(t1, "IterableBase", 0), null); 4018 return H.MappedIterable_MappedIterable(t1, new P._HashMap_values_closure(thi s), H.getRuntimeTypeArgument(t1, "IterableBase", 0), null);
4110 }, 4019 },
4111 $index: function(_, key) { 4020 $index: function(_, key) {
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after
4242 var $length, i; 4151 var $length, i;
4243 if (bucket == null) 4152 if (bucket == null)
4244 return -1; 4153 return -1;
4245 $length = bucket.length; 4154 $length = bucket.length;
4246 for (i = 0; i < $length; i += 2) 4155 for (i = 0; i < $length; i += 2)
4247 if (J.$eq(bucket[i], key)) 4156 if (J.$eq(bucket[i], key))
4248 return i; 4157 return i;
4249 return -1; 4158 return -1;
4250 }, 4159 },
4251 $isMap: true, 4160 $isMap: true,
4161 $asMap: null,
4252 static: { 4162 static: {
4253 _HashMap__setTableEntry: function(table, key, value) { 4163 _HashMap__setTableEntry: function(table, key, value) {
4254 if (value == null) 4164 if (value == null)
4255 table[key] = table; 4165 table[key] = table;
4256 else 4166 else
4257 table[key] = value; 4167 table[key] = value;
4258 }, 4168 },
4259 4169
4260 _HashMap__newHashTable: function() { 4170 _HashMap__newHashTable: function() {
4261 var table = Object.create(null); 4171 var table = Object.create(null);
4262 P._HashMap__setTableEntry(table, "<non-identifier-key>", table); 4172 P._HashMap__setTableEntry(table, "<non-identifier-key>", table);
4263 delete table["<non-identifier-key>"]; 4173 delete table["<non-identifier-key>"];
4264 return table; 4174 return table;
4265 }} 4175 }}
4266 4176
4267 }, 4177 },
4268 4178
4269 _HashMap_values_closure: {"": "Closure;this_0", 4179 _HashMap_values_closure: {"": "Closure;this_0",
4270 call$1: function(each) { 4180 call$1: function(each) {
4271 var t1 = this.this_0; 4181 var t1 = this.this_0;
4272 return t1.$index(t1, each); 4182 return t1.$index(t1, each);
4273 } 4183 },
4184 $is_args1: true
4274 }, 4185 },
4275 4186
4276 HashMapKeyIterable: {"": "IterableBase;_map", 4187 HashMapKeyIterable: {"": "IterableBase;_map",
4277 get$length: function(_) { 4188 get$length: function(_) {
4278 return this._map._collection$_length; 4189 return this._map._collection$_length;
4279 }, 4190 },
4191 get$isEmpty: function(_) {
4192 return this._map._collection$_length === 0;
4193 },
4280 get$iterator: function(_) { 4194 get$iterator: function(_) {
4281 var t1 = this._map; 4195 var t1 = this._map;
4282 return new P.HashMapKeyIterator(t1, t1._computeKeys$0(), 0, null); 4196 return new P.HashMapKeyIterator(t1, t1._computeKeys$0(), 0, null);
4283 }, 4197 },
4284 forEach$1: function(_, f) { 4198 forEach$1: function(_, f) {
4285 var t1, keys, $length, i; 4199 var t1, keys, $length, i;
4286 t1 = this._map; 4200 t1 = this._map;
4287 keys = t1._computeKeys$0(); 4201 keys = t1._computeKeys$0();
4288 for ($length = keys.length, i = 0; i < $length; ++i) { 4202 for ($length = keys.length, i = 0; i < $length; ++i) {
4289 f.call$1(keys[i]); 4203 f.call$1(keys[i]);
(...skipping 24 matching lines...) Expand all
4314 this._offset = offset + 1; 4228 this._offset = offset + 1;
4315 return true; 4229 return true;
4316 } 4230 }
4317 } 4231 }
4318 }, 4232 },
4319 4233
4320 _LinkedHashMap: {"": "Object;_collection$_length,_strings,_nums,_rest,_first,_la st,_modifications", 4234 _LinkedHashMap: {"": "Object;_collection$_length,_strings,_nums,_rest,_first,_la st,_modifications",
4321 get$length: function(_) { 4235 get$length: function(_) {
4322 return this._collection$_length; 4236 return this._collection$_length;
4323 }, 4237 },
4324 get$keys: function() { 4238 get$isEmpty: function(_) {
4239 return this._collection$_length === 0;
4240 },
4241 get$keys: function(_) {
4325 var t1 = new P.LinkedHashMapKeyIterable(this); 4242 var t1 = new P.LinkedHashMapKeyIterable(this);
4326 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_LinkedHashMap", 0 )]); 4243 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_LinkedHashMap", 0 )]);
4327 return t1; 4244 return t1;
4328 }, 4245 },
4329 get$values: function(_) { 4246 get$values: function(_) {
4330 var t1 = new P.LinkedHashMapKeyIterable(this); 4247 var t1 = new P.LinkedHashMapKeyIterable(this);
4331 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_LinkedHashMap", 0 )]); 4248 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_LinkedHashMap", 0 )]);
4332 return H.MappedIterable_MappedIterable(t1, new P._LinkedHashMap_values_closu re(this), H.getRuntimeTypeArgument(t1, "IterableBase", 0), null); 4249 return H.MappedIterable_MappedIterable(t1, new P._LinkedHashMap_values_closu re(this), H.getRuntimeTypeArgument(t1, "IterableBase", 0), null);
4333 }, 4250 },
4334 containsKey$1: function(key) { 4251 containsKey$1: function(_, key) {
4335 var nums, rest; 4252 var nums, rest;
4336 if ((key & 0x3ffffff) === key) { 4253 if ((key & 0x3ffffff) === key) {
4337 nums = this._nums; 4254 nums = this._nums;
4338 if (nums == null) 4255 if (nums == null)
4339 return false; 4256 return false;
4340 return nums[key] != null; 4257 return nums[key] != null;
4341 } else { 4258 } else {
4342 rest = this._rest; 4259 rest = this._rest;
4343 if (rest == null) 4260 if (rest == null)
4344 return false; 4261 return false;
(...skipping 141 matching lines...) Expand 10 before | Expand all | Expand 10 after
4486 }, 4403 },
4487 _computeHashCode$1: function(key) { 4404 _computeHashCode$1: function(key) {
4488 return J.get$hashCode$(key) & 0x3ffffff; 4405 return J.get$hashCode$(key) & 0x3ffffff;
4489 }, 4406 },
4490 _findBucketIndex$2: function(bucket, key) { 4407 _findBucketIndex$2: function(bucket, key) {
4491 var $length, i; 4408 var $length, i;
4492 if (bucket == null) 4409 if (bucket == null)
4493 return -1; 4410 return -1;
4494 $length = bucket.length; 4411 $length = bucket.length;
4495 for (i = 0; i < $length; ++i) 4412 for (i = 0; i < $length; ++i)
4496 if (J.$eq(bucket[i].get$_key(), key)) 4413 if (J.$eq(J.get$_key$x(bucket[i]), key))
4497 return i; 4414 return i;
4498 return -1; 4415 return -1;
4499 }, 4416 },
4500 toString$0: function(_) { 4417 toString$0: function(_) {
4501 return P.Maps_mapToString(this); 4418 return P.Maps_mapToString(this);
4502 }, 4419 },
4503 $isMap: true, 4420 $isMap: true,
4421 $asMap: null,
4504 static: { 4422 static: {
4505 _LinkedHashMap__newHashTable: function() { 4423 _LinkedHashMap__newHashTable: function() {
4506 var table = Object.create(null); 4424 var table = Object.create(null);
4507 table["<non-identifier-key>"] = table; 4425 table["<non-identifier-key>"] = table;
4508 delete table["<non-identifier-key>"]; 4426 delete table["<non-identifier-key>"];
4509 return table; 4427 return table;
4510 }} 4428 }}
4511 4429
4512 }, 4430 },
4513 4431
4514 _LinkedHashMap_values_closure: {"": "Closure;this_0", 4432 _LinkedHashMap_values_closure: {"": "Closure;this_0",
4515 call$1: function(each) { 4433 call$1: function(each) {
4516 var t1 = this.this_0; 4434 var t1 = this.this_0;
4517 return t1.$index(t1, each); 4435 return t1.$index(t1, each);
4518 } 4436 },
4437 $is_args1: true
4519 }, 4438 },
4520 4439
4521 LinkedHashMapCell: {"": "Object;_key<,_collection$_value@,_next<,_previous<"}, 4440 LinkedHashMapCell: {"": "Object;_key>,_collection$_value@,_next<,_previous<"},
4522 4441
4523 LinkedHashMapKeyIterable: {"": "IterableBase;_map", 4442 LinkedHashMapKeyIterable: {"": "IterableBase;_map",
4524 get$length: function(_) { 4443 get$length: function(_) {
4525 return this._map._collection$_length; 4444 return this._map._collection$_length;
4526 }, 4445 },
4446 get$isEmpty: function(_) {
4447 return this._map._collection$_length === 0;
4448 },
4527 get$iterator: function(_) { 4449 get$iterator: function(_) {
4528 var t1 = this._map; 4450 var t1 = this._map;
4529 t1 = new P.LinkedHashMapKeyIterator(t1, t1._modifications, null, null); 4451 t1 = new P.LinkedHashMapKeyIterator(t1, t1._modifications, null, null);
4530 t1._cell = t1._map._first; 4452 t1._cell = t1._map._first;
4531 return t1; 4453 return t1;
4532 }, 4454 },
4533 forEach$1: function(_, f) { 4455 forEach$1: function(_, f) {
4534 var t1, cell, modifications; 4456 var t1, cell, modifications;
4535 t1 = this._map; 4457 t1 = this._map;
4536 cell = t1._first; 4458 cell = t1._first;
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after
4568 } 4490 }
4569 }, 4491 },
4570 4492
4571 _HashSet: {"": "_HashSetBase;", 4493 _HashSet: {"": "_HashSetBase;",
4572 get$iterator: function(_) { 4494 get$iterator: function(_) {
4573 return new P.HashSetIterator(this, this._computeElements$0(), 0, null); 4495 return new P.HashSetIterator(this, this._computeElements$0(), 0, null);
4574 }, 4496 },
4575 get$length: function(_) { 4497 get$length: function(_) {
4576 return this._collection$_length; 4498 return this._collection$_length;
4577 }, 4499 },
4500 get$isEmpty: function(_) {
4501 return this._collection$_length === 0;
4502 },
4578 contains$1: function(_, object) { 4503 contains$1: function(_, object) {
4579 var strings, nums, rest; 4504 var strings, nums, rest;
4580 if (typeof object === "string" && object !== "__proto__") { 4505 if (typeof object === "string" && object !== "__proto__") {
4581 strings = this._strings; 4506 strings = this._strings;
4582 return strings == null ? false : strings[object] != null; 4507 return strings == null ? false : strings[object] != null;
4583 } else if (typeof object === "number" && (object & 0x3ffffff) === object) { 4508 } else if (typeof object === "number" && (object & 0x3ffffff) === object) {
4584 nums = this._nums; 4509 nums = this._nums;
4585 return nums == null ? false : nums[object] != null; 4510 return nums == null ? false : nums[object] != null;
4586 } else { 4511 } else {
4587 rest = this._rest; 4512 rest = this._rest;
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
4755 return t1; 4680 return t1;
4756 }} 4681 }}
4757 }, 4682 },
4758 4683
4759 IterableBase: {"": "Object;", 4684 IterableBase: {"": "Object;",
4760 forEach$1: function(_, f) { 4685 forEach$1: function(_, f) {
4761 var t1; 4686 var t1;
4762 for (t1 = this.get$iterator(this); t1.moveNext$0();) 4687 for (t1 = this.get$iterator(this); t1.moveNext$0();)
4763 f.call$1(t1.get$current()); 4688 f.call$1(t1.get$current());
4764 }, 4689 },
4690 toList$1$growable: function(_, growable) {
4691 return P.List_List$from(this, growable, H.getRuntimeTypeArgument(this, "Iter ableBase", 0));
4692 },
4693 toList$0: function($receiver) {
4694 return this.toList$1$growable($receiver, true);
4695 },
4765 get$length: function(_) { 4696 get$length: function(_) {
4766 var it, count; 4697 var it, count;
4767 it = this.get$iterator(this); 4698 it = this.get$iterator(this);
4768 for (count = 0; it.moveNext$0();) 4699 for (count = 0; it.moveNext$0();)
4769 ++count; 4700 ++count;
4770 return count; 4701 return count;
4771 }, 4702 },
4703 get$isEmpty: function(_) {
4704 return !this.get$iterator(this).moveNext$0();
4705 },
4772 elementAt$1: function(_, index) { 4706 elementAt$1: function(_, index) {
4773 var t1, remaining, element; 4707 var t1, remaining, element;
4774 if (index < 0) 4708 if (index < 0)
4775 throw H.wrapException(P.RangeError$value(index)); 4709 throw H.wrapException(P.RangeError$value(index));
4776 for (t1 = this.get$iterator(this), remaining = index; t1.moveNext$0();) { 4710 for (t1 = this.get$iterator(this), remaining = index; t1.moveNext$0();) {
4777 element = t1.get$current(); 4711 element = t1.get$current();
4778 if (remaining === 0) 4712 if (remaining === 0)
4779 return element; 4713 return element;
4780 --remaining; 4714 --remaining;
4781 } 4715 }
4782 throw H.wrapException(P.RangeError$value(index)); 4716 throw H.wrapException(P.RangeError$value(index));
4783 }, 4717 },
4784 toString$0: function(_) { 4718 toString$0: function(_) {
4785 return P._iterableToString(this); 4719 return P._iterableToString(this);
4786 } 4720 }
4787 }, 4721 },
4788 4722
4789 ListMixin: {"": "Object;", 4723 ListMixin: {"": "Object;",
4790 get$iterator: function(receiver) { 4724 get$iterator: function(receiver) {
4791 return new H.ListIterator(receiver, this.get$length(receiver), 0, null); 4725 return new H.ListIterator(receiver, this.get$length(receiver), 0, null);
4792 }, 4726 },
4793 elementAt$1: function(receiver, index) { 4727 elementAt$1: function(receiver, index) {
4794 return this.$index(receiver, index); 4728 return this.$index(receiver, index);
4795 }, 4729 },
4796 forEach$1: function(receiver, action) { 4730 forEach$1: function(receiver, action) {
4797 var $length, i; 4731 var $length, i;
4798 if (typeof receiver !== "string" && (typeof receiver !== "object" || receive r === null || receiver.constructor !== Array && !H.isJsIndexable(receiver, recei ver[init.dispatchPropertyName])))
4799 return this.forEach$1$bailout(1, receiver, action);
4800 $length = C.JS_CONST_ZYJ(receiver);
4801 for (i = 0; i < $length; ++i) {
4802 if (i >= C.JS_CONST_ZYJ(receiver))
4803 throw H.ioore(receiver, i);
4804 action.call$1(receiver[i]);
4805 if ($length !== C.JS_CONST_ZYJ(receiver))
4806 throw H.wrapException(P.ConcurrentModificationError$(receiver));
4807 }
4808 },
4809 forEach$1$bailout: function(state0, receiver, action) {
4810 var $length, i;
4811 $length = this.get$length(receiver); 4732 $length = this.get$length(receiver);
4812 for (i = 0; i < $length; ++i) { 4733 for (i = 0; i < $length; ++i) {
4813 action.call$1(this.$index(receiver, i)); 4734 action.call$1(this.$index(receiver, i));
4814 if ($length !== this.get$length(receiver)) 4735 if ($length !== this.get$length(receiver))
4815 throw H.wrapException(P.ConcurrentModificationError$(receiver)); 4736 throw H.wrapException(P.ConcurrentModificationError$(receiver));
4816 } 4737 }
4817 }, 4738 },
4818 add$1: function(receiver, element) { 4739 get$isEmpty: function(receiver) {
4819 var t1 = this.get$length(receiver); 4740 return this.get$length(receiver) === 0;
4820 this.set$length(receiver, t1 + 1);
4821 this.$indexSet(receiver, t1, element);
4822 },
4823 removeLast$0: function(receiver) {
4824 var result;
4825 if (this.get$length(receiver) === 0)
4826 throw H.wrapException(P.StateError$("No elements"));
4827 result = this.$index(receiver, this.get$length(receiver) - 1);
4828 this.set$length(receiver, this.get$length(receiver) - 1);
4829 return result;
4830 }, 4741 },
4831 toString$0: function(receiver) { 4742 toString$0: function(receiver) {
4832 var result, t1; 4743 var result, t1;
4833 t1 = $.get$_toStringVisiting(); 4744 t1 = $.get$_toStringVisiting();
4834 if (t1.contains$1(t1, receiver)) 4745 if (t1.contains$1(t1, receiver))
4835 return "[...]"; 4746 return "[...]";
4836 result = P.StringBuffer$(""); 4747 result = P.StringBuffer$("");
4837 try { 4748 try {
4838 t1 = $.get$_toStringVisiting(); 4749 t1 = $.get$_toStringVisiting();
4839 t1.add$1(t1, receiver); 4750 t1.add$1(t1, receiver);
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
4874 modificationCount = this._modificationCount; 4785 modificationCount = this._modificationCount;
4875 for (i = this._head; i !== this._tail; i = (i + 1 & this._table.length - 1) >>> 0) { 4786 for (i = this._head; i !== this._tail; i = (i + 1 & this._table.length - 1) >>> 0) {
4876 t1 = this._table; 4787 t1 = this._table;
4877 if (i < 0 || i >= t1.length) 4788 if (i < 0 || i >= t1.length)
4878 throw H.ioore(t1, i); 4789 throw H.ioore(t1, i);
4879 action.call$1(t1[i]); 4790 action.call$1(t1[i]);
4880 if (modificationCount !== this._modificationCount) 4791 if (modificationCount !== this._modificationCount)
4881 H.throwExpression(P.ConcurrentModificationError$(this)); 4792 H.throwExpression(P.ConcurrentModificationError$(this));
4882 } 4793 }
4883 }, 4794 },
4795 get$isEmpty: function(_) {
4796 return this._head === this._tail;
4797 },
4884 get$length: function(_) { 4798 get$length: function(_) {
4885 return (this._tail - this._head & this._table.length - 1) >>> 0; 4799 return (this._tail - this._head & this._table.length - 1) >>> 0;
4886 }, 4800 },
4887 add$1: function(_, element) {
4888 this._add$1(element);
4889 },
4890 toString$0: function(_) { 4801 toString$0: function(_) {
4891 return H.IterableMixinWorkaround_toStringIterable(this, "{", "}"); 4802 return H.IterableMixinWorkaround_toStringIterable(this, "{", "}");
4892 }, 4803 },
4893 removeFirst$0: function() { 4804 removeFirst$0: function() {
4894 var t1, t2, t3, result; 4805 var t1, t2, t3, result;
4895 if (this._head === this._tail) 4806 if (this._head === this._tail)
4896 throw H.wrapException(P.StateError$("No elements")); 4807 throw H.wrapException(P.StateError$("No elements"));
4897 this._modificationCount = this._modificationCount + 1; 4808 this._modificationCount = this._modificationCount + 1;
4898 t1 = this._table; 4809 t1 = this._table;
4899 t2 = this._head; 4810 t2 = this._head;
4900 t3 = t1.length; 4811 t3 = t1.length;
4901 if (t2 < 0 || t2 >= t3) 4812 if (t2 < 0 || t2 >= t3)
4902 throw H.ioore(t1, t2); 4813 throw H.ioore(t1, t2);
4903 result = t1[t2]; 4814 result = t1[t2];
4904 this._head = (t2 + 1 & t3 - 1) >>> 0; 4815 this._head = (t2 + 1 & t3 - 1) >>> 0;
4905 return result; 4816 return result;
4906 }, 4817 },
4907 removeLast$0: function(_) {
4908 var t1, t2;
4909 if (this._head === this._tail)
4910 throw H.wrapException(P.StateError$("No elements"));
4911 this._modificationCount = this._modificationCount + 1;
4912 this._tail = (this._tail - 1 & this._table.length - 1) >>> 0;
4913 t1 = this._table;
4914 t2 = this._tail;
4915 if (t2 < 0 || t2 >= t1.length)
4916 throw H.ioore(t1, t2);
4917 return t1[t2];
4918 },
4919 _add$1: function(element) { 4818 _add$1: function(element) {
4920 var t1, t2, t3; 4819 var t1, t2, t3;
4921 t1 = this._table; 4820 t1 = this._table;
4922 t2 = this._tail; 4821 t2 = this._tail;
4923 t3 = t1.length; 4822 t3 = t1.length;
4924 if (t2 < 0 || t2 >= t3) 4823 if (t2 < 0 || t2 >= t3)
4925 throw H.ioore(t1, t2); 4824 throw H.ioore(t1, t2);
4926 t1[t2] = element; 4825 t1[t2] = element;
4927 this._tail = (t2 + 1 & t3 - 1) >>> 0; 4826 this._tail = (t2 + 1 & t3 - 1) >>> 0;
4928 if (this._head === this._tail) 4827 if (this._head === this._tail)
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
4982 this._collection$_current = t3[t2]; 4881 this._collection$_current = t3[t2];
4983 this._position = (this._position + 1 & t1._table.length - 1) >>> 0; 4882 this._position = (this._position + 1 & t1._table.length - 1) >>> 0;
4984 return true; 4883 return true;
4985 }, 4884 },
4986 static: { 4885 static: {
4987 _ListQueueIterator$: function(queue) { 4886 _ListQueueIterator$: function(queue) {
4988 return new P._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head, null); 4887 return new P._ListQueueIterator(queue, queue._tail, queue._modificationCount, queue._head, null);
4989 }} 4888 }}
4990 4889
4991 }}], 4890 }}],
4891 ["dart.convert", "dart:convert", , P, {
4892 _convertJsonToDart: function(json, reviver) {
4893 var revive = new P._convertJsonToDart_closure();
4894 return revive.call$2(null, new P._convertJsonToDart_walk(revive).call$1(json)) ;
4895 },
4896
4897 _parseJson: function(source, reviver) {
4898 var parsed, e, t1, exception;
4899 t1 = source;
4900 if (typeof t1 !== "string")
4901 throw H.wrapException(new P.ArgumentError(source));
4902 parsed = null;
4903 try {
4904 parsed = JSON.parse(source);
4905 } catch (exception) {
4906 t1 = H.unwrapException(exception);
4907 e = t1;
4908 throw H.wrapException(P.FormatException$(String(e)));
4909 }
4910
4911 return P._convertJsonToDart(parsed, reviver);
4912 },
4913
4914 _convertJsonToDart_closure: {"": "Closure;",
4915 call$2: function(key, value) {
4916 return value;
4917 },
4918 $is_args2: true
4919 },
4920
4921 _convertJsonToDart_walk: {"": "Closure;revive_0",
4922 call$1: function(e) {
4923 var list, t1, i, keys, map, key, proto;
4924 if (e == null || typeof e != "object")
4925 return e;
4926 if (Object.getPrototypeOf(e) === Array.prototype) {
4927 list = e;
4928 for (t1 = this.revive_0, i = 0; i < list.length; ++i)
4929 list[i] = t1.call$2(i, this.call$1(list[i]));
4930 return list;
4931 }
4932 keys = Object.keys(e);
4933 map = H.fillLiteralMap([], P.LinkedHashMap_LinkedHashMap(null, null, null, n ull, null));
4934 for (t1 = this.revive_0, i = 0; i < keys.length; ++i) {
4935 key = keys[i];
4936 map.$indexSet(map, key, t1.call$2(key, this.call$1(e[key])));
4937 }
4938 proto = e.__proto__;
4939 if (typeof proto !== "undefined" && proto !== Object.prototype)
4940 map.$indexSet(map, "__proto__", t1.call$2("__proto__", this.call$1(proto)) );
4941 return map;
4942 },
4943 $is_args1: true
4944 },
4945
4946 Codec: {"": "Object;"},
4947
4948 Converter: {"": "Object;"},
4949
4950 JsonCodec: {"": "Codec;",
4951 decode$2$reviver: function(source, reviver) {
4952 return P._parseJson(source, C.JsonDecoder_null._reviver);
4953 },
4954 decode$1: function(source) {
4955 return this.decode$2$reviver(source, null);
4956 }
4957 },
4958
4959 JsonDecoder: {"": "Converter;_reviver"}}],
4992 ["dart.core", "dart:core", , P, { 4960 ["dart.core", "dart:core", , P, {
4993 _symbolToString: function(symbol) { 4961 _symbolToString: function(symbol) {
4994 return H.Symbol_getName(symbol); 4962 return H.Symbol_getName(symbol);
4995 }, 4963 },
4996 4964
4997 Error_safeToString: function(object) { 4965 Error_safeToString: function(object) {
4998 var buffer, t1, i, codeUnit, t2, charCodes; 4966 var buffer, t1, i, codeUnit, t2, charCodes;
4999 if (typeof object === "number" && Math.floor(object) === object || typeof obje ct === "number" || typeof object === "boolean" || null == object) 4967 if (typeof object === "number" && Math.floor(object) === object || typeof obje ct === "number" || typeof object === "boolean" || null == object)
5000 return J.toString$0(object); 4968 return J.toString$0(object);
5001 if (typeof object === "string") { 4969 if (typeof object === "string") {
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
5050 }, 5018 },
5051 5019
5052 identityHashCode: function(object) { 5020 identityHashCode: function(object) {
5053 return H.objectHashCode(object); 5021 return H.objectHashCode(object);
5054 }, 5022 },
5055 5023
5056 List_List: function($length, $E) { 5024 List_List: function($length, $E) {
5057 if ($length == null) 5025 if ($length == null)
5058 return new Array(0); 5026 return new Array(0);
5059 if (typeof $length !== "number" || Math.floor($length) !== $length || $length < 0) 5027 if (typeof $length !== "number" || Math.floor($length) !== $length || $length < 0)
5060 throw H.wrapException(P.ArgumentError$("Length must be a positive integer: " + H.S($length) + ".")); 5028 throw H.wrapException(new P.ArgumentError("Length must be a positive integer : " + H.S($length) + "."));
5061 return H.Primitives_newFixedList($length); 5029 return H.Primitives_newFixedList($length);
5062 }, 5030 },
5063 5031
5064 List_List$filled: function($length, fill, $E) { 5032 List_List$filled: function($length, fill, $E) {
5065 var result, t1, i; 5033 var result, t1, i;
5066 if ($length < 0) 5034 if ($length < 0)
5067 throw H.wrapException(P.ArgumentError$("Length must be a positive integer: " + $length + ".")); 5035 throw H.wrapException(new P.ArgumentError("Length must be a positive integer : " + $length + "."));
5068 result = H.Primitives_newFixedList($length); 5036 result = H.Primitives_newFixedList($length);
5069 if ($length !== 0 && true) 5037 if ($length !== 0 && true)
5070 for (t1 = result.length, i = 0; i < t1; ++i) 5038 for (t1 = result.length, i = 0; i < t1; ++i)
5071 result[i] = fill; 5039 result[i] = fill;
5072 return result; 5040 return result;
5073 }, 5041 },
5074 5042
5075 List_List$from: function(other, growable, $E) { 5043 List_List$from: function(other, growable, $E) {
5076 var list, t1, $length, fixedList, t2, i, t3; 5044 var list, t1, $length, fixedList, t2, i, t3;
5077 list = P.List_List(null, $E); 5045 list = P.List_List(null, $E);
(...skipping 26 matching lines...) Expand all
5104 var t1 = this.box_0; 5072 var t1 = this.box_0;
5105 if (t1.i_1 > 0) 5073 if (t1.i_1 > 0)
5106 t1.sb_0.write$1(", "); 5074 t1.sb_0.write$1(", ");
5107 t1.sb_0.write$1(P._symbolToString(key)); 5075 t1.sb_0.write$1(P._symbolToString(key));
5108 }, 5076 },
5109 $is_args2: true 5077 $is_args2: true
5110 }, 5078 },
5111 5079
5112 Duration: {"": "Object;_duration", 5080 Duration: {"": "Object;_duration",
5113 $lt: function(_, other) { 5081 $lt: function(_, other) {
5114 var t1 = other.get$_duration(); 5082 return C.JSNumber_methods.$lt(this._duration, other.get$_duration());
5115 if (typeof t1 !== "number")
5116 throw H.iae(t1);
5117 return C.JSNumber_methods.$lt(this._duration, t1);
5118 }, 5083 },
5119 $gt: function(_, other) { 5084 $gt: function(_, other) {
5120 var t1 = other.get$_duration(); 5085 return C.JSNumber_methods.$gt(this._duration, other.get$_duration());
5121 if (typeof t1 !== "number")
5122 throw H.iae(t1);
5123 return C.JSNumber_methods.$gt(this._duration, t1);
5124 }, 5086 },
5125 $ge: function(_, other) { 5087 $ge: function(_, other) {
5126 var t1 = other.get$_duration(); 5088 return C.JSNumber_methods.$ge(this._duration, other.get$_duration());
5127 if (typeof t1 !== "number")
5128 throw H.iae(t1);
5129 return C.JSNumber_methods.$ge(this._duration, t1);
5130 }, 5089 },
5131 $eq: function(_, other) { 5090 $eq: function(_, other) {
5132 var t1; 5091 var t1;
5133 if (other == null) 5092 if (other == null)
5134 return false; 5093 return false;
5135 t1 = J.getInterceptor(other); 5094 t1 = J.getInterceptor(other);
5136 if (typeof other !== "object" || other === null || !t1.$isDuration) 5095 if (typeof other !== "object" || other === null || !t1.$isDuration)
5137 return false; 5096 return false;
5138 return this._duration === other._duration; 5097 return this._duration === other._duration;
5139 }, 5098 },
(...skipping 27 matching lines...) Expand all
5167 return H.S(n); 5126 return H.S(n);
5168 if (t1.$ge(n, 10000)) 5127 if (t1.$ge(n, 10000))
5169 return "0" + H.S(n); 5128 return "0" + H.S(n);
5170 if (t1.$ge(n, 1000)) 5129 if (t1.$ge(n, 1000))
5171 return "00" + H.S(n); 5130 return "00" + H.S(n);
5172 if (t1.$ge(n, 100)) 5131 if (t1.$ge(n, 100))
5173 return "000" + H.S(n); 5132 return "000" + H.S(n);
5174 if (t1.$gt(n, 10)) 5133 if (t1.$gt(n, 10))
5175 return "0000" + H.S(n); 5134 return "0000" + H.S(n);
5176 return "00000" + H.S(n); 5135 return "00000" + H.S(n);
5177 } 5136 },
5137 $is_args1: true
5178 }, 5138 },
5179 5139
5180 Duration_toString_twoDigits: {"": "Closure;", 5140 Duration_toString_twoDigits: {"": "Closure;",
5181 call$1: function(n) { 5141 call$1: function(n) {
5182 if (J.$ge$n(n, 10)) 5142 if (J.$ge$n(n, 10))
5183 return H.S(n); 5143 return H.S(n);
5184 return "0" + H.S(n); 5144 return "0" + H.S(n);
5185 } 5145 },
5146 $is_args1: true
5186 }, 5147 },
5187 5148
5188 Error: {"": "Object;", 5149 Error: {"": "Object;",
5189 get$stackTrace: function() { 5150 get$stackTrace: function() {
5190 return new H._StackTrace(this.$thrownJsError, null); 5151 return new H._StackTrace(this.$thrownJsError, null);
5191 }, 5152 },
5192 $isError: true 5153 $isError: true
5193 }, 5154 },
5194 5155
5195 NullThrownError: {"": "Error;", 5156 NullThrownError: {"": "Error;",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
5247 return new P.StateError(message); 5208 return new P.StateError(message);
5248 }} 5209 }}
5249 5210
5250 }, 5211 },
5251 5212
5252 ConcurrentModificationError: {"": "Error;modifiedObject", 5213 ConcurrentModificationError: {"": "Error;modifiedObject",
5253 toString$0: function(_) { 5214 toString$0: function(_) {
5254 var t1 = this.modifiedObject; 5215 var t1 = this.modifiedObject;
5255 if (t1 == null) 5216 if (t1 == null)
5256 return "Concurrent modification during iteration."; 5217 return "Concurrent modification during iteration.";
5257 return "Concurrent modification during iteration: " + H.S(P.Error_safeToStri ng(t1)) + "."; 5218 return "Concurrent modification during iteration: " + P.Error_safeToString(t 1) + ".";
5258 }, 5219 },
5259 static: { 5220 static: {
5260 ConcurrentModificationError$: function(modifiedObject) { 5221 ConcurrentModificationError$: function(modifiedObject) {
5261 return new P.ConcurrentModificationError(modifiedObject); 5222 return new P.ConcurrentModificationError(modifiedObject);
5262 }} 5223 }}
5263 5224
5264 }, 5225 },
5265 5226
5266 StackOverflowError: {"": "Object;", 5227 StackOverflowError: {"": "Object;",
5267 toString$0: function(_) { 5228 toString$0: function(_) {
(...skipping 15 matching lines...) Expand all
5283 }} 5244 }}
5284 5245
5285 }, 5246 },
5286 5247
5287 _ExceptionImplementation: {"": "Object;message", 5248 _ExceptionImplementation: {"": "Object;message",
5288 toString$0: function(_) { 5249 toString$0: function(_) {
5289 var t1 = this.message; 5250 var t1 = this.message;
5290 if (t1 == null) 5251 if (t1 == null)
5291 return "Exception"; 5252 return "Exception";
5292 return "Exception: " + H.S(t1); 5253 return "Exception: " + H.S(t1);
5254 }
5255 },
5256
5257 FormatException: {"": "Object;message",
5258 toString$0: function(_) {
5259 return "FormatException: " + this.message;
5293 }, 5260 },
5294 $isException: true 5261 static: {
5262 FormatException$: function(message) {
5263 return new P.FormatException(message);
5264 }}
5265
5295 }, 5266 },
5296 5267
5297 Expando: {"": "Object;name", 5268 Expando: {"": "Object;name",
5298 toString$0: function(_) { 5269 toString$0: function(_) {
5299 return "Expando:" + this.name; 5270 return "Expando:" + this.name;
5300 }, 5271 },
5301 $index: function(_, object) { 5272 $index: function(_, object) {
5302 var values = H.Primitives_getProperty(object, "expando$values"); 5273 var values = H.Primitives_getProperty(object, "expando$values");
5303 return values == null ? null : H.Primitives_getProperty(values, this._getKey $0()); 5274 return values == null ? null : H.Primitives_getProperty(values, this._getKey $0());
5304 }, 5275 },
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
5348 return H.Primitives_objectToString(this); 5319 return H.Primitives_objectToString(this);
5349 } 5320 }
5350 }, 5321 },
5351 5322
5352 StackTrace: {"": "Object;"}, 5323 StackTrace: {"": "Object;"},
5353 5324
5354 StringBuffer: {"": "Object;_contents<", 5325 StringBuffer: {"": "Object;_contents<",
5355 get$length: function(_) { 5326 get$length: function(_) {
5356 return this._contents.length; 5327 return this._contents.length;
5357 }, 5328 },
5329 get$isEmpty: function(_) {
5330 return this._contents.length === 0;
5331 },
5358 write$1: function(obj) { 5332 write$1: function(obj) {
5359 if (typeof obj !== "string")
5360 return this.write$1$bailout(1, obj);
5361 this._contents = this._contents + obj;
5362 },
5363 write$1$bailout: function(state0, obj) {
5364 var str = typeof obj === "string" ? obj : H.S(obj); 5333 var str = typeof obj === "string" ? obj : H.S(obj);
5365 this._contents = this._contents + str; 5334 this._contents = this._contents + str;
5366 }, 5335 },
5367 writeAll$2: function(objects, separator) { 5336 writeAll$2: function(objects, separator) {
5368 var iterator, str; 5337 var iterator, str;
5369 iterator = J.get$iterator$ax(objects); 5338 iterator = J.get$iterator$ax(objects);
5370 if (!iterator.moveNext$0()) 5339 if (!iterator.moveNext$0())
5371 return; 5340 return;
5372 if (separator.length === 0) 5341 if (separator.length === 0)
5373 do { 5342 do {
(...skipping 21 matching lines...) Expand all
5395 StringBuffer$: function($content) { 5364 StringBuffer$: function($content) {
5396 var t1 = new P.StringBuffer(""); 5365 var t1 = new P.StringBuffer("");
5397 t1.StringBuffer$1($content); 5366 t1.StringBuffer$1($content);
5398 return t1; 5367 return t1;
5399 }} 5368 }}
5400 5369
5401 }, 5370 },
5402 5371
5403 Symbol: {"": "Object;"}}], 5372 Symbol: {"": "Object;"}}],
5404 ["dart.dom.html", "dart:html", , W, { 5373 ["dart.dom.html", "dart:html", , W, {
5405 Geolocation_getCurrentPosition_closure: {"": "Closure;this_0,completer_1", 5374 HttpRequest_getString: function(url, onProgress, withCredentials) {
5406 call$1: function(position) { 5375 return W.HttpRequest_request(url, null, null, onProgress, null, null, null, wi thCredentials).then$1(new W.HttpRequest_getString_closure());
5407 var t1, t2;
5408 t1 = C.Geolocation_methods._ensurePosition$1(this.this_0, position);
5409 t2 = this.completer_1.future;
5410 if (t2._state !== 0)
5411 H.throwExpression(new P.StateError("Future already completed"));
5412 t2._asyncComplete$1(t1);
5413 }
5414 }, 5376 },
5415 5377
5416 Geolocation_getCurrentPosition_closure0: {"": "Closure;completer_2", 5378 HttpRequest_request: function(url, method, mimeType, onProgress, requestHeaders, responseType, sendData, withCredentials) {
5417 call$1: function(error) { 5379 var t1, completer, xhr, t2;
5418 var t1 = this.completer_2.future; 5380 t1 = W.HttpRequest;
5419 if (t1._state !== 0) 5381 completer = new P._AsyncCompleter(P._Future$(t1));
5420 H.throwExpression(new P.StateError("Future already completed")); 5382 H.setRuntimeTypeInfo(completer, [t1]);
5421 t1._asyncCompleteError$2(error, null); 5383 xhr = new XMLHttpRequest();
5422 } 5384 C.HttpRequest_methods.open$3$async(xhr, "GET", url, true);
5385 t1 = new W._EventStream(xhr, C.EventStreamProvider_load._eventType, false);
5386 H.setRuntimeTypeInfo(t1, [null]);
5387 t2 = new W._EventStreamSubscription(0, t1._target, t1._eventType, W._wrapZone( new W.HttpRequest_request_closure(completer, xhr)), t1._useCapture);
5388 H.setRuntimeTypeInfo(t2, [H.getRuntimeTypeArgument(t1, "_EventStream", 0)]);
5389 t2._tryResume$0();
5390 t2 = new W._EventStream(xhr, C.EventStreamProvider_error._eventType, false);
5391 H.setRuntimeTypeInfo(t2, [null]);
5392 t1 = completer.get$completeError();
5393 t1 = new W._EventStreamSubscription(0, t2._target, t2._eventType, W._wrapZone( t1), t2._useCapture);
5394 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(t2, "_EventStream", 0)]);
5395 t1._tryResume$0();
5396 xhr.send();
5397 return completer.future;
5423 }, 5398 },
5424 5399
5425 Geolocation_watchPosition_closure0: {"": "Closure;box_0,this_1,options_2", 5400 _convertNativeToDart_EventTarget: function(e) {
5426 call$0: function() { 5401 var $window, t1;
5427 var t1, t2; 5402 if (e == null)
5428 t1 = this.this_1; 5403 return;
5429 t2 = this.box_0; 5404 if ("setInterval" in e) {
5430 t2.watchId_0 = C.Geolocation_methods._watchPosition$3(t1, new W.Geolocation_ watchPosition__closure(t2, t1), new W.Geolocation_watchPosition__closure0(t2), t his.options_2); 5405 $window = W._DOMWindowCrossFrame__createSafe(e);
5431 } 5406 t1 = J.getInterceptor($window);
5407 if (typeof $window === "object" && $window !== null && !!t1.$isEventTarget)
5408 return $window;
5409 return;
5410 } else
5411 return e;
5432 }, 5412 },
5433 5413
5434 Geolocation_watchPosition__closure: {"": "Closure;box_0,this_3", 5414 _wrapZone: function(callback) {
5435 call$1: function(position) { 5415 var t1 = $.Zone__current;
5436 var t1, t2; 5416 if (t1 === C.C__RootZone)
5437 t1 = this.box_0.controller_1; 5417 return callback;
5438 t2 = C.Geolocation_methods._ensurePosition$1(this.this_3, position); 5418 return t1.bindUnaryCallback$2$runGuarded(callback, true);
5439 if (t1._state >= 4)
5440 H.throwExpression(t1._badEventState$0());
5441 t1._async$_add$1(t2);
5442 }
5443 }, 5419 },
5444 5420
5445 Geolocation_watchPosition__closure0: {"": "Closure;box_0", 5421 HttpRequest_getString_closure: {"": "Closure;",
5446 call$1: function(error) { 5422 call$1: function(xhr) {
5447 this.box_0.controller_1.addError$1(error); 5423 return J.get$responseText$x(xhr);
5448 } 5424 },
5425 $is_args1: true
5449 }, 5426 },
5450 5427
5451 Geolocation_watchPosition_closure: {"": "Closure;box_0,this_4", 5428 HttpRequest_request_closure0: {"": "Closure;xhr_0",
5452 call$0: function() { 5429 call$2: function(header, value) {
5453 this.this_4.clearWatch(this.box_0.watchId_0); 5430 this.xhr_0.setRequestHeader(header, value);
5454 } 5431 },
5432 $is_args2: true
5455 }, 5433 },
5456 5434
5457 _GeopositionWrapper: {"": "Object;_ptr", 5435 HttpRequest_request_closure: {"": "Closure;completer_1,xhr_2",
5458 get$coords: function(_) { 5436 call$1: function(e) {
5459 return this._ptr.coords; 5437 var t1, t2, t3;
5438 t1 = this.xhr_2;
5439 t2 = t1.status;
5440 if (typeof t2 !== "number")
5441 throw t2.$ge();
5442 t2 = t2 >= 200 && t2 < 300 || t2 === 0 || t2 === 304;
5443 t3 = this.completer_1;
5444 if (t2) {
5445 t2 = t3.future;
5446 if (t2._state !== 0)
5447 H.throwExpression(P.StateError$("Future already completed"));
5448 t2._asyncComplete$1(t1);
5449 } else {
5450 t1 = t3.future;
5451 if (t1._state !== 0)
5452 H.throwExpression(P.StateError$("Future already completed"));
5453 t1._asyncCompleteError$2(e, null);
5454 }
5460 }, 5455 },
5461 $isGeoposition: true 5456 $is_args1: true
5462 }, 5457 },
5463 5458
5464 HtmlElement: {"": "Element;", "%": "HTMLAppletElement|HTMLBRElement|HTMLBaseElem ent|HTMLBaseFontElement|HTMLBodyElement|HTMLButtonElement|HTMLCanvasElement|HTML ContentElement|HTMLDListElement|HTMLDataListElement|HTMLDetailsElement|HTMLDialo gElement|HTMLDirectoryElement|HTMLDivElement|HTMLEmbedElement|HTMLFieldSetElemen t|HTMLFontElement|HTMLFrameElement|HTMLFrameSetElement|HTMLHRElement|HTMLHeadEle ment|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElement|HTMLImageElement|HTMLI nputElement|HTMLKeygenElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElement|H TMLLinkElement|HTMLMapElement|HTMLMarqueeElement|HTMLMenuElement|HTMLMetaElement |HTMLMeterElement|HTMLModElement|HTMLOListElement|HTMLOptGroupElement|HTMLOption Element|HTMLOutputElement|HTMLParagraphElement|HTMLParamElement|HTMLPreElement|H TMLProgressElement|HTMLQuoteElement|HTMLScriptElement|HTMLShadowElement|HTMLSour ceElement|HTMLSpanElement|HTMLStyleElement|HTMLTableCaptionElement|HTMLTableCell Element|HTMLTableColElement|HTMLTableDataCellElement|HTMLTableElement|HTMLTableH eaderCellElement|HTMLTableRowElement|HTMLTableSectionElement|HTMLTemplateElement |HTMLTextAreaElement|HTMLTitleElement|HTMLTrackElement|HTMLUListElement|HTMLUnkn ownElement;HTMLElement"}, 5459 Storage_keys_closure: {"": "Closure;keys_0",
5460 call$2: function(k, v) {
5461 return this.keys_0.push(k);
5462 },
5463 $is_args2: true
5464 },
5465 5465
5466 AnchorElement: {"": "HtmlElement;", 5466 Storage_values_closure: {"": "Closure;values_0",
5467 call$2: function(k, v) {
5468 return this.values_0.push(v);
5469 },
5470 $is_args2: true
5471 },
5472
5473 _EventStream: {"": "Stream;_target,_eventType,_useCapture",
5474 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) {
5475 var t1 = new W._EventStreamSubscription(0, this._target, this._eventType, W. _wrapZone(onData), this._useCapture);
5476 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_EventStream", 0)] );
5477 t1._tryResume$0();
5478 return t1;
5479 },
5480 $asStream: null
5481 },
5482
5483 _ElementEventStreamImpl: {"": "_EventStream;_target,_eventType,_useCapture", $as _EventStream: null},
5484
5485 _EventStreamSubscription: {"": "StreamSubscription;_pauseCount,_target,_eventTyp e,_onData,_useCapture",
5486 cancel$0: function() {
5487 if (this._target == null)
5488 return;
5489 this._unlisten$0();
5490 this._target = null;
5491 this._onData = null;
5492 },
5493 _tryResume$0: function() {
5494 var t1 = this._onData;
5495 if (t1 != null && this._pauseCount <= 0)
5496 J.addEventListener$3$x(this._target, this._eventType, t1, this._useCapture );
5497 },
5498 _unlisten$0: function() {
5499 var t1 = this._onData;
5500 if (t1 != null)
5501 J.removeEventListener$3$x(this._target, this._eventType, t1, this._useCapt ure);
5502 },
5503 $asStreamSubscription: null
5504 },
5505
5506 EventStreamProvider: {"": "Object;_eventType"},
5507
5508 _DOMWindowCrossFrame: {"": "Object;_window", $isEventTarget: true, static: {
5509 _DOMWindowCrossFrame__createSafe: function(w) {
5510 if (w === window)
5511 return w;
5512 else
5513 return new W._DOMWindowCrossFrame(w);
5514 }}
5515 },
5516
5517 HtmlElement: {"": "Element;", "%": "HTMLAppletElement|HTMLBRElement|HTMLBaseFont Element|HTMLBodyElement|HTMLCanvasElement|HTMLContentElement|HTMLDListElement|HT MLDataListElement|HTMLDetailsElement|HTMLDialogElement|HTMLDirectoryElement|HTML DivElement|HTMLEmbedElement|HTMLFontElement|HTMLFrameElement|HTMLFrameSetElement |HTMLHRElement|HTMLHeadElement|HTMLHeadingElement|HTMLHtmlElement|HTMLIFrameElem ent|HTMLImageElement|HTMLLIElement|HTMLLabelElement|HTMLLegendElement|HTMLMapEle ment|HTMLMarqueeElement|HTMLMenuElement|HTMLMetaElement|HTMLMeterElement|HTMLMod Element|HTMLOListElement|HTMLObjectElement|HTMLOutputElement|HTMLParagraphElemen t|HTMLParamElement|HTMLPreElement|HTMLProgressElement|HTMLQuoteElement|HTMLScrip tElement|HTMLShadowElement|HTMLSourceElement|HTMLSpanElement|HTMLTableCaptionEle ment|HTMLTableCellElement|HTMLTableColElement|HTMLTableDataCellElement|HTMLTable Element|HTMLTableHeaderCellElement|HTMLTableRowElement|HTMLTableSectionElement|H TMLTemplateElement|HTMLTitleElement|HTMLTrackElement|HTMLUListElement|HTMLUnknow nElement;HTMLElement"},
5518
5519 AnchorElement: {"": "HtmlElement;target=",
5467 toString$0: function(receiver) { 5520 toString$0: function(receiver) {
5468 return receiver.toString(); 5521 return receiver.toString();
5469 }, 5522 },
5470 "%": "HTMLAnchorElement" 5523 "%": "HTMLAnchorElement"
5471 }, 5524 },
5472 5525
5473 AreaElement: {"": "HtmlElement;coords=", "%": "HTMLAreaElement"}, 5526 AreaElement: {"": "HtmlElement;target=", "%": "HTMLAreaElement"},
5474 5527
5475 CloseEvent: {"": "Event;code=", "%": "CloseEvent"}, 5528 BaseElement: {"": "HtmlElement;target=", "%": "HTMLBaseElement"},
5476 5529
5477 Coordinates: {"": "Interceptor;latitude=,longitude=", "%": "Coordinates"}, 5530 ButtonElement: {"": "HtmlElement;disabled}", "%": "HTMLButtonElement"},
5478 5531
5479 CssFontFaceLoadEvent: {"": "Event;error=", "%": "CSSFontFaceLoadEvent"}, 5532 CharacterData: {"": "Node;length=", "%": "CDATASection|Comment|Text;CharacterDat a"},
5480
5481 DomError: {"": "Interceptor;", "%": ";DOMError"},
5482 5533
5483 DomException: {"": "Interceptor;", 5534 DomException: {"": "Interceptor;",
5484 toString$0: function(receiver) { 5535 toString$0: function(receiver) {
5485 return receiver.toString(); 5536 return receiver.toString();
5486 }, 5537 },
5487 "%": "DOMException" 5538 "%": "DOMException"
5488 }, 5539 },
5489 5540
5490 Element: {"": "Node;", 5541 Element: {"": "Node;",
5491 toString$0: function(receiver) { 5542 toString$0: function(receiver) {
5492 return receiver.localName; 5543 return receiver.localName;
5493 }, 5544 },
5494 "%": "SVGAElement|SVGAltGlyphDefElement|SVGAltGlyphElement|SVGAltGlyphItemElem ent|SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateT ransformElement|SVGAnimationElement|SVGCircleElement|SVGClipPathElement|SVGCompo nentTransferFunctionElement|SVGCursorElement|SVGDefsElement|SVGDescElement|SVGEl ement|SVGEllipseElement|SVGFEBlendElement|SVGFEColorMatrixElement|SVGFEComponent TransferElement|SVGFECompositeElement|SVGFEConvolveMatrixElement|SVGFEDiffuseLig htingElement|SVGFEDisplacementMapElement|SVGFEDistantLightElement|SVGFEDropShado wElement|SVGFEFloodElement|SVGFEFuncAElement|SVGFEFuncBElement|SVGFEFuncGElement |SVGFEFuncRElement|SVGFEGaussianBlurElement|SVGFEImageElement|SVGFEMergeElement| SVGFEMergeNodeElement|SVGFEMorphologyElement|SVGFEOffsetElement|SVGFEPointLightE lement|SVGFESpecularLightingElement|SVGFESpotLightElement|SVGFETileElement|SVGFE TurbulenceElement|SVGFilterElement|SVGFontElement|SVGFontFaceElement|SVGFontFace FormatElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement |SVGForeignObjectElement|SVGGElement|SVGGlyphElement|SVGGlyphRefElement|SVGGradi entElement|SVGGraphicsElement|SVGHKernElement|SVGImageElement|SVGLineElement|SVG LinearGradientElement|SVGMPathElement|SVGMarkerElement|SVGMaskElement|SVGMetadat aElement|SVGMissingGlyphElement|SVGPathElement|SVGPatternElement|SVGPolygonEleme nt|SVGPolylineElement|SVGRadialGradientElement|SVGRectElement|SVGSVGElement|SVGS criptElement|SVGSetElement|SVGStopElement|SVGStyleElement|SVGSwitchElement|SVGSy mbolElement|SVGTRefElement|SVGTSpanElement|SVGTextContentElement|SVGTextElement| SVGTextPathElement|SVGTextPositioningElement|SVGTitleElement|SVGUseElement|SVGVK ernElement|SVGViewElement;Element" 5545 "%": ";Element"
5495 }, 5546 },
5496 5547
5497 ErrorEvent: {"": "Event;error=", "%": "ErrorEvent"}, 5548 ErrorEvent: {"": "Event;error=", "%": "ErrorEvent"},
5498 5549
5499 Event: {"": "Interceptor;", "%": "AudioProcessingEvent|AutocompleteErrorEvent|Be foreLoadEvent|CompositionEvent|CustomEvent|DeviceMotionEvent|DeviceOrientationEv ent|DragEvent|FocusEvent|HashChangeEvent|IDBVersionChangeEvent|KeyboardEvent|MID IConnectionEvent|MIDIMessageEvent|MSPointerEvent|MediaKeyEvent|MediaKeyMessageEv ent|MediaKeyNeededEvent|MediaStreamEvent|MediaStreamTrackEvent|MessageEvent|Mous eEvent|MouseScrollEvent|MouseWheelEvent|MutationEvent|OfflineAudioCompletionEven t|OverflowEvent|PageTransitionEvent|PointerEvent|PopStateEvent|ProgressEvent|RTC DTMFToneChangeEvent|RTCDataChannelEvent|RTCIceCandidateEvent|ResourceProgressEve nt|SVGZoomEvent|SecurityPolicyViolationEvent|SpeechInputEvent|SpeechRecognitionE vent|SpeechSynthesisEvent|StorageEvent|TextEvent|TouchEvent|TrackEvent|Transitio nEvent|UIEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent|Whee lEvent|XMLHttpRequestProgressEvent;Event"}, 5550 Event: {"": "Interceptor;",
5500 5551 get$target: function(receiver) {
5501 EventTarget: {"": "Interceptor;", "%": "MediaStream;EventTarget"}, 5552 return W._convertNativeToDart_EventTarget(receiver.target);
5502
5503 FileError: {"": "DomError;code=", "%": "FileError"},
5504
5505 FormElement: {"": "HtmlElement;length=", "%": "HTMLFormElement"},
5506
5507 Geolocation: {"": "Interceptor;",
5508 getCurrentPosition$3$enableHighAccuracy$maximumAge$timeout: function(receiver, enableHighAccuracy, maximumAge, timeout) {
5509 var options, completer, e, stacktrace, t1, completer0, exception;
5510 options = H.fillLiteralMap([], P.LinkedHashMap_LinkedHashMap(null, null, nul l, null, null));
5511 t1 = W.Geoposition;
5512 completer0 = new P._AsyncCompleter(P._Future$(t1));
5513 H.setRuntimeTypeInfo(completer0, [t1]);
5514 completer = completer0;
5515 try {
5516 this._getCurrentPosition$3(receiver, new W.Geolocation_getCurrentPosition_ closure(receiver, completer), new W.Geolocation_getCurrentPosition_closure0(comp leter), options);
5517 } catch (exception) {
5518 t1 = H.unwrapException(exception);
5519 e = t1;
5520 stacktrace = new H._StackTrace(exception, null);
5521 t1 = completer.get$future();
5522 if (t1._state !== 0)
5523 H.throwExpression(new P.StateError("Future already completed"));
5524 t1._asyncCompleteError$2(e, stacktrace);
5525 }
5526
5527 return completer.get$future();
5528 }, 5553 },
5529 getCurrentPosition$0: function($receiver) { 5554 "%": "AudioProcessingEvent|AutocompleteErrorEvent|BeforeLoadEvent|BeforeUnload Event|CSSFontFaceLoadEvent|CloseEvent|CustomEvent|DeviceMotionEvent|DeviceOrient ationEvent|HashChangeEvent|IDBVersionChangeEvent|MIDIConnectionEvent|MIDIMessage Event|MediaKeyEvent|MediaKeyMessageEvent|MediaKeyNeededEvent|MediaStreamEvent|Me diaStreamTrackEvent|MessageEvent|MutationEvent|OfflineAudioCompletionEvent|Overf lowEvent|PageTransitionEvent|PopStateEvent|RTCDTMFToneChangeEvent|RTCDataChannel Event|RTCIceCandidateEvent|SecurityPolicyViolationEvent|SpeechInputEvent|SpeechR ecognitionEvent|SpeechSynthesisEvent|StorageEvent|TrackEvent|TransitionEvent|Web GLContextEvent|WebKitAnimationEvent|WebKitTransitionEvent;Event"
5530 return this.getCurrentPosition$3$enableHighAccuracy$maximumAge$timeout($rece iver, null, null, null);
5531 },
5532 watchPosition$3$enableHighAccuracy$maximumAge$timeout: function(receiver, enab leHighAccuracy, maximumAge, timeout) {
5533 var t1, options;
5534 t1 = {};
5535 options = H.fillLiteralMap([], P.LinkedHashMap_LinkedHashMap(null, null, nul l, null, null));
5536 t1.watchId_0 = null;
5537 t1.controller_1 = null;
5538 t1.controller_1 = P.StreamController_StreamController(new W.Geolocation_watc hPosition_closure(t1, receiver), new W.Geolocation_watchPosition_closure0(t1, re ceiver, options), null, null, true, W.Geoposition);
5539 t1 = t1.controller_1;
5540 t1.toString;
5541 t1 = new P._ControllerStream(t1);
5542 H.setRuntimeTypeInfo(t1, [null]);
5543 return t1;
5544 },
5545 watchPosition$0: function($receiver) {
5546 return this.watchPosition$3$enableHighAccuracy$maximumAge$timeout($receiver, null, null, null);
5547 },
5548 _ensurePosition$1: function(receiver, domPosition) {
5549 var t1, t2, exception;
5550 try {
5551 t1 = domPosition;
5552 t2 = J.getInterceptor(t1);
5553 if (typeof t1 === "object" && t1 !== null && !!t2.$isGeoposition)
5554 return domPosition;
5555 } catch (exception) {
5556 H.unwrapException(exception);
5557 }
5558
5559 return new W._GeopositionWrapper(domPosition);
5560 },
5561 _getCurrentPosition$3: function(receiver, successCallback, errorCallback, opti ons) {
5562 return receiver.getCurrentPosition(H.convertDartClosureToJS(successCallback, 1), H.convertDartClosureToJS(errorCallback, 1), options);
5563 },
5564 _watchPosition$3: function(receiver, successCallback, errorCallback, options) {
5565 return receiver.watchPosition(H.convertDartClosureToJS(successCallback, 1), H.convertDartClosureToJS(errorCallback, 1), options);
5566 },
5567 "%": "Geolocation"
5568 }, 5555 },
5569 5556
5570 Geoposition: {"": "Interceptor;coords=", $isGeoposition: true, "%": "Geoposition "}, 5557 EventTarget: {"": "Interceptor;",
5558 addEventListener$3: function(receiver, type, listener, useCapture) {
5559 return receiver.addEventListener(type, H.convertDartClosureToJS(listener, 1) , useCapture);
5560 },
5561 removeEventListener$3: function(receiver, type, listener, useCapture) {
5562 return receiver.removeEventListener(type, H.convertDartClosureToJS(listener, 1), useCapture);
5563 },
5564 $isEventTarget: true,
5565 "%": "MediaStream;EventTarget"
5566 },
5567
5568 FieldSetElement: {"": "HtmlElement;disabled}", "%": "HTMLFieldSetElement"},
5569
5570 FormElement: {"": "HtmlElement;length=,target=", "%": "HTMLFormElement"},
5571
5572 HttpRequest: {"": "XmlHttpRequestEventTarget;responseText=",
5573 open$5$async$password$user: function(receiver, method, url, async, password, u ser) {
5574 return receiver.open(method, url, async, user, password);
5575 },
5576 open$3$async: function($receiver, method, url, async) {
5577 return $receiver.open(method, url, async);
5578 },
5579 send$1: function(receiver, data) {
5580 return receiver.send(data);
5581 },
5582 "%": "XMLHttpRequest"
5583 },
5584
5585 InputElement: {"": "HtmlElement;disabled}", $isInputElement: true, $isEventTarge t: true, "%": "HTMLInputElement"},
5586
5587 KeygenElement: {"": "HtmlElement;disabled}", "%": "HTMLKeygenElement"},
5588
5589 LinkElement: {"": "HtmlElement;disabled}", "%": "HTMLLinkElement"},
5571 5590
5572 MediaElement: {"": "HtmlElement;error=", "%": "HTMLAudioElement|HTMLMediaElement |HTMLVideoElement"}, 5591 MediaElement: {"": "HtmlElement;error=", "%": "HTMLAudioElement|HTMLMediaElement |HTMLVideoElement"},
5573 5592
5574 MediaError: {"": "Interceptor;code=", "%": "MediaError"}, 5593 MouseEvent: {"": "UIEvent;", "%": "DragEvent|MSPointerEvent|MouseEvent|MouseScro llEvent|MouseWheelEvent|PointerEvent|WheelEvent"},
5575
5576 MediaKeyError: {"": "Interceptor;code=", "%": "MediaKeyError"},
5577 5594
5578 Node: {"": "EventTarget;", 5595 Node: {"": "EventTarget;",
5579 toString$0: function(receiver) { 5596 toString$0: function(receiver) {
5580 var t1 = receiver.nodeValue; 5597 var t1 = receiver.nodeValue;
5581 return t1 == null ? J.Interceptor.prototype.toString$0.call(this, receiver) : t1; 5598 return t1 == null ? J.Interceptor.prototype.toString$0.call(this, receiver) : t1;
5582 }, 5599 },
5583 "%": "Document|HTMLDocument;Node" 5600 "%": "Attr|Document|DocumentFragment|DocumentType|Entity|HTMLDocument|Notation |SVGDocument|ShadowRoot;Node"
5584 }, 5601 },
5585 5602
5586 ObjectElement: {"": "HtmlElement;code=", "%": "HTMLObjectElement"}, 5603 OptGroupElement: {"": "HtmlElement;disabled}", "%": "HTMLOptGroupElement"},
5587 5604
5588 PositionError: {"": "Interceptor;code=", "%": "PositionError"}, 5605 OptionElement: {"": "HtmlElement;disabled}", "%": "HTMLOptionElement"},
5589 5606
5590 SelectElement: {"": "HtmlElement;length=", "%": "HTMLSelectElement"}, 5607 ProcessingInstruction: {"": "CharacterData;target=", "%": "ProcessingInstruction "},
5608
5609 ProgressEvent: {"": "Event;", "%": "ProgressEvent|ResourceProgressEvent|XMLHttpR equestProgressEvent"},
5610
5611 SelectElement: {"": "HtmlElement;disabled},length=", "%": "HTMLSelectElement"},
5591 5612
5592 SpeechRecognitionError: {"": "Event;error=", "%": "SpeechRecognitionError"}, 5613 SpeechRecognitionError: {"": "Event;error=", "%": "SpeechRecognitionError"},
5593 5614
5615 Storage: {"": "Interceptor;",
5616 $index: function(receiver, key) {
5617 return receiver.getItem(key);
5618 },
5619 $indexSet: function(receiver, key, value) {
5620 receiver.setItem(key, value);
5621 },
5622 forEach$1: function(receiver, f) {
5623 var i, key;
5624 for (i = 0; true; ++i) {
5625 key = receiver.key(i);
5626 if (key == null)
5627 return;
5628 f.call$2(key, receiver.getItem(key));
5629 }
5630 },
5631 get$keys: function(receiver) {
5632 var keys = [];
5633 this.forEach$1(receiver, new W.Storage_keys_closure(keys));
5634 return keys;
5635 },
5636 get$values: function(receiver) {
5637 var values = [];
5638 this.forEach$1(receiver, new W.Storage_values_closure(values));
5639 return values;
5640 },
5641 get$length: function(receiver) {
5642 return receiver.length;
5643 },
5644 get$isEmpty: function(receiver) {
5645 return receiver.key(0) == null;
5646 },
5647 $isMap: true,
5648 $asMap: function() {
5649 return [J.JSString, J.JSString];
5650 },
5651 "%": "Storage"
5652 },
5653
5654 StyleElement: {"": "HtmlElement;disabled}", "%": "HTMLStyleElement"},
5655
5656 TextAreaElement: {"": "HtmlElement;disabled}", "%": "HTMLTextAreaElement"},
5657
5658 UIEvent: {"": "Event;", "%": "CompositionEvent|FocusEvent|KeyboardEvent|SVGZoomE vent|TextEvent|TouchEvent;UIEvent"},
5659
5594 Window: {"": "EventTarget;", 5660 Window: {"": "EventTarget;",
5595 toString$0: function(receiver) { 5661 toString$0: function(receiver) {
5596 return receiver.toString(); 5662 return receiver.toString();
5597 }, 5663 },
5664 $isEventTarget: true,
5598 "%": "DOMWindow|Window" 5665 "%": "DOMWindow|Window"
5599 }}],
5600 ["dart.dom.web_sql", "dart:web_sql", , P, {
5601 SqlError: {"": "Interceptor;code=", "%": "SQLError"}}],
5602 ["dart.isolate", "dart:isolate", , P, {
5603 _Isolate_port: function() {
5604 if ($.lazyPort == null)
5605 $.lazyPort = H.ReceivePortImpl$();
5606 return $.lazyPort;
5607 }, 5666 },
5608 5667
5668 XmlHttpRequestEventTarget: {"": "EventTarget;", "%": ";XMLHttpRequestEventTarget "}}],
5669 ["dart.dom.svg", "dart:svg", , P, {
5670 AElement: {"": "GraphicsElement;target=", "%": "SVGAElement"},
5671
5672 GraphicsElement: {"": "SvgElement;", "%": "SVGAltGlyphElement|SVGCircleElement|S VGClipPathElement|SVGDefsElement|SVGEllipseElement|SVGForeignObjectElement|SVGGE lement|SVGImageElement|SVGLineElement|SVGPathElement|SVGPolygonElement|SVGPolyli neElement|SVGRectElement|SVGSVGElement|SVGSwitchElement|SVGTSpanElement|SVGTextC ontentElement|SVGTextElement|SVGTextPathElement|SVGTextPositioningElement|SVGUse Element;SVGGraphicsElement"},
5673
5674 StyleElement0: {"": "SvgElement;disabled}", "%": "SVGStyleElement"},
5675
5676 SvgElement: {"": "Element;", "%": "SVGAltGlyphDefElement|SVGAltGlyphItemElement| SVGAnimateColorElement|SVGAnimateElement|SVGAnimateMotionElement|SVGAnimateTrans formElement|SVGAnimationElement|SVGComponentTransferFunctionElement|SVGCursorEle ment|SVGDescElement|SVGFEBlendElement|SVGFEColorMatrixElement|SVGFEComponentTran sferElement|SVGFECompositeElement|SVGFEConvolveMatrixElement|SVGFEDiffuseLightin gElement|SVGFEDisplacementMapElement|SVGFEDistantLightElement|SVGFEDropShadowEle ment|SVGFEFloodElement|SVGFEFuncAElement|SVGFEFuncBElement|SVGFEFuncGElement|SVG FEFuncRElement|SVGFEGaussianBlurElement|SVGFEImageElement|SVGFEMergeElement|SVGF EMergeNodeElement|SVGFEMorphologyElement|SVGFEOffsetElement|SVGFEPointLightEleme nt|SVGFESpecularLightingElement|SVGFESpotLightElement|SVGFETileElement|SVGFETurb ulenceElement|SVGFilterElement|SVGFontElement|SVGFontFaceElement|SVGFontFaceForm atElement|SVGFontFaceNameElement|SVGFontFaceSrcElement|SVGFontFaceUriElement|SVG GlyphElement|SVGGlyphRefElement|SVGGradientElement|SVGHKernElement|SVGLinearGrad ientElement|SVGMPathElement|SVGMarkerElement|SVGMaskElement|SVGMetadataElement|S VGMissingGlyphElement|SVGPatternElement|SVGRadialGradientElement|SVGScriptElemen t|SVGSetElement|SVGStopElement|SVGSymbolElement|SVGTitleElement|SVGVKernElement| SVGViewElement;SVGElement"}}],
5677 ["dart.isolate", "dart:isolate", , P, {
5609 ReceivePort: {"": "Object;"}}], 5678 ReceivePort: {"": "Object;"}}],
5679 ["dart.math", "dart:math", , P, {
5680 _Random: {"": "Object;",
5681 nextInt$1: function(max) {
5682 if (typeof max !== "number")
5683 throw max.$lt();
5684 if (max < 0)
5685 throw H.wrapException(new P.ArgumentError("negative max: " + max));
5686 if (max > 4294967295)
5687 max = 4294967295;
5688 return Math.random() * max >>> 0;
5689 }
5690 }}],
5610 ["dart.typed_data", "dart:typed_data", , P, { 5691 ["dart.typed_data", "dart:typed_data", , P, {
5611 TypedData_ListMixin: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true}, 5692 TypedData_ListMixin: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true},
5612 5693
5613 TypedData_ListMixin_FixedLengthListMixin: {"": "TypedData_ListMixin+FixedLengthL istMixin;", $asList: null}, 5694 TypedData_ListMixin_FixedLengthListMixin: {"": "TypedData_ListMixin+FixedLengthL istMixin;", $asList: null},
5614 5695
5615 TypedData: {"": "Interceptor;", 5696 TypedData: {"": "Interceptor;",
5616 _invalidIndex$2: function(receiver, index, $length) { 5697 _invalidIndex$2: function(receiver, index, $length) {
5617 var t1 = J.getInterceptor$n(index); 5698 var t1 = J.getInterceptor$n(index);
5618 if (t1.$lt(index, 0) || t1.$ge(index, $length)) 5699 if (t1.$lt(index, 0) || t1.$ge(index, $length))
5619 throw H.wrapException(P.RangeError$range(index, 0, $length)); 5700 throw H.wrapException(P.RangeError$range(index, 0, $length));
5620 else 5701 else
5621 throw H.wrapException(P.ArgumentError$("Invalid list index " + H.S(index)) ); 5702 throw H.wrapException(P.ArgumentError$("Invalid list index " + H.S(index)) );
5622 }, 5703 },
5623 "%": ";ArrayBufferView;TypedData_ListMixin|TypedData_ListMixin_FixedLengthList Mixin" 5704 "%": ";ArrayBufferView;TypedData_ListMixin|TypedData_ListMixin_FixedLengthList Mixin"
5624 }, 5705 },
5625 5706
5626 Uint8List: {"": "TypedData_ListMixin_FixedLengthListMixin;", 5707 Uint8List: {"": "TypedData_ListMixin_FixedLengthListMixin;",
5627 get$length: function(receiver) { 5708 get$length: function(receiver) {
5628 return C.JS_CONST_ZYJ(receiver); 5709 return C.JS_CONST_ZYJ(receiver);
5629 }, 5710 },
5630 $index: function(receiver, index) { 5711 $index: function(receiver, index) {
5631 var t1;
5632 if (typeof index !== "number")
5633 return this.$$index$bailout(1, receiver, index);
5634 t1 = C.JS_CONST_ZYJ(receiver);
5635 if (index >>> 0 != index || index >= t1)
5636 this._invalidIndex$2(receiver, index, t1);
5637 return receiver[index];
5638 },
5639 $$index$bailout: function(state0, receiver, index) {
5640 var t1 = C.JS_CONST_ZYJ(receiver); 5712 var t1 = C.JS_CONST_ZYJ(receiver);
5641 if (index >>> 0 != index || J.$ge$n(index, t1)) 5713 if (index >>> 0 != index || J.$ge$n(index, t1))
5642 this._invalidIndex$2(receiver, index, t1); 5714 this._invalidIndex$2(receiver, index, t1);
5643 return receiver[index]; 5715 return receiver[index];
5644 }, 5716 },
5645 $indexSet: function(receiver, index, value) { 5717 $indexSet: function(receiver, index, value) {
5646 var t1;
5647 if (typeof index !== "number")
5648 return this.$$indexSet$bailout(1, receiver, index, value);
5649 t1 = C.JS_CONST_ZYJ(receiver);
5650 if (index >>> 0 != index || index >= t1)
5651 this._invalidIndex$2(receiver, index, t1);
5652 receiver[index] = value;
5653 },
5654 $$indexSet$bailout: function(state0, receiver, index, value) {
5655 var t1 = C.JS_CONST_ZYJ(receiver); 5718 var t1 = C.JS_CONST_ZYJ(receiver);
5656 if (index >>> 0 != index || J.$ge$n(index, t1)) 5719 if (index >>> 0 != index || J.$ge$n(index, t1))
5657 this._invalidIndex$2(receiver, index, t1); 5720 this._invalidIndex$2(receiver, index, t1);
5658 receiver[index] = value; 5721 receiver[index] = value;
5659 }, 5722 },
5660 $asList: function() { 5723 $asList: function() {
5661 return [J.JSInt]; 5724 return [J.JSInt];
5662 }, 5725 },
5663 $isList: true, 5726 $isList: true,
5664 $isEfficientLength: true, 5727 $isEfficientLength: true,
5665 $isJavaScriptIndexingBehavior: true, 5728 $isJavaScriptIndexingBehavior: true,
5666 "%": ";Uint8Array" 5729 "%": ";Uint8Array"
5667 }}], 5730 }}],
5668 ["trip_meter.dart", "trip_meter.dart", , E, { 5731 ["", "piratebadge.dart", , A, {
5669 calculateDistance: function(lat1, lon1, lat2, lon2) { 5732 main: function() {
5670 var t1, t2, t3, t4, a; 5733 var inputField, t1, t2;
5671 if (typeof lat2 !== "number") 5734 inputField = document.querySelector("#inputName");
5672 throw lat2.$sub(); 5735 inputField.toString;
5673 if (typeof lat1 !== "number") 5736 t1 = new W._ElementEventStreamImpl(inputField, C.EventStreamProvider_input._ev entType, false);
5674 throw H.iae(lat1); 5737 H.setRuntimeTypeInfo(t1, [null]);
5675 if (typeof lon2 !== "number") 5738 t2 = new W._EventStreamSubscription(0, t1._target, t1._eventType, W._wrapZone( A.updateBadge$closure), t1._useCapture);
5676 throw lon2.$sub(); 5739 H.setRuntimeTypeInfo(t2, [H.getRuntimeTypeArgument(t1, "_EventStream", 0)]);
5677 if (typeof lon1 !== "number") 5740 t2._tryResume$0();
5678 throw H.iae(lon1); 5741 $.genButton = document.querySelector("#generateButton");
5679 t1 = Math.sin((lat2 - lat1) / 2); 5742 t2 = $.genButton;
5680 t1 = Math.pow(t1, 2); 5743 t2.toString;
5681 t2 = Math.cos(lat1); 5744 t2 = new W._ElementEventStreamImpl(t2, C.EventStreamProvider_click._eventType, false);
5682 t3 = Math.cos(lat2); 5745 H.setRuntimeTypeInfo(t2, [null]);
5683 t4 = Math.sin((lon2 - lon1) / 2); 5746 t1 = new W._EventStreamSubscription(0, t2._target, t2._eventType, W._wrapZone( A.generateBadge$closure), t2._useCapture);
5684 a = t1 + t2 * t3 * Math.pow(t4, 2); 5747 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(t2, "_EventStream", 0)]);
5685 t1 = Math.sqrt(a); 5748 t1._tryResume$0();
5686 t2 = Math.sqrt(1 - a); 5749 $.badgeNameElement = document.querySelector("#badgeName");
5687 return 6371 * (2 * Math.atan2(t1, t2)); 5750 A.PirateName_readyThePirates().then$1(new A.main_closure(inputField)).catchErr or$1(new A.main_closure0());
5688 }, 5751 },
5689 5752
5690 main: function() { 5753 updateBadge: function(e) {
5691 var t1 = {}; 5754 var inputName, t1, t2;
5692 t1.startPosition_0 = null; 5755 inputName = H.interceptedTypeCast(J.get$target$x(e), "$isInputElement").value;
5693 J.getCurrentPosition$0$x(window.navigator.geolocation).then$2$onError(new E.ma in_closure(t1), new E.main_closure0()); 5756 A.setBadgeName(A.PirateName$(null, inputName));
5694 J.watchPosition$0$x(window.navigator.geolocation).listen$2$onError(new E.main_ closure1(t1), new E.main_closure2()); 5757 t1 = J.trim$0$s(inputName);
5695 }, 5758 t2 = $.genButton;
5696 5759 if (t1.length === 0) {
5697 main_closure: {"": "Closure;box_0", 5760 J.set$disabled$x(t2, false);
5698 call$1: function(position) { 5761 t2.textContent = "Aye! Gimme a name!";
5699 var t1 = this.box_0; 5762 } else {
5700 t1.startPosition_0 = position; 5763 J.set$disabled$x(t2, true);
5701 document.querySelector("#start-lat").textContent = H.S(J.get$latitude$x(J.ge t$coords$x(t1.startPosition_0))); 5764 t2.textContent = "Arrr! Write yer name!";
5702 document.querySelector("#start-lon").textContent = H.S(J.get$longitude$x(J.g et$coords$x(t1.startPosition_0)));
5703 } 5765 }
5704 }, 5766 },
5705 5767
5706 main_closure0: {"": "Closure;", 5768 generateBadge: function(e) {
5707 call$1: function(error) { 5769 A.setBadgeName(A.PirateName$(null, null));
5708 window.alert("Error occurred. Error code: " + H.S(J.get$code$x(error)));
5709 return;
5710 }
5711 }, 5770 },
5712 5771
5713 main_closure1: {"": "Closure;box_0", 5772 setBadgeName: function(newName) {
5714 call$1: function(position) { 5773 var t1;
5715 var t1, t2, distance; 5774 if (newName == null)
5716 t1 = J.getInterceptor$x(position); 5775 return;
5717 document.querySelector("#current-lat").textContent = H.S(J.get$latitude$x(t1 .get$coords(position))); 5776 t1 = $.badgeNameElement;
5718 document.querySelector("#current-lon").textContent = H.S(J.get$longitude$x(t 1.get$coords(position))); 5777 t1.textContent = J.get$isEmpty$asx(newName._firstName) === true ? "" : H.S(new Name._firstName) + " the " + H.S(newName._appellation);
5719 t2 = this.box_0; 5778 window.localStorage.setItem("pirateName", "{ \"f\": \"" + H.S(newName._firstNa me) + "\", \"a\": \"" + H.S(newName._appellation) + "\" } ");
5720 distance = E.calculateDistance(J.get$latitude$x(J.get$coords$x(t2.startPosit ion_0)), J.get$longitude$x(J.get$coords$x(t2.startPosition_0)), J.get$latitude$x (t1.get$coords(position)), J.get$longitude$x(t1.get$coords(position)));
5721 document.querySelector("#distance").textContent = H.S(distance);
5722 }
5723 }, 5779 },
5724 5780
5725 main_closure2: {"": "Closure;", 5781 getBadgeNameFromStorage: function() {
5726 call$1: function(error) { 5782 var storedName = window.localStorage.getItem("pirateName");
5727 window.alert("Error occurred. Error code: " + H.S(J.get$code$x(error))); 5783 if (storedName != null)
5784 return A.PirateName$fromJSON(storedName);
5785 else
5728 return; 5786 return;
5729 } 5787 },
5788
5789 main_closure: {"": "Closure;inputField_0",
5790 call$1: function(_) {
5791 J.set$disabled$x(this.inputField_0, false);
5792 J.set$disabled$x($.genButton, false);
5793 A.setBadgeName(A.getBadgeNameFromStorage());
5794 },
5795 $is_args1: true
5796 },
5797
5798 main_closure0: {"": "Closure;",
5799 call$1: function(arrr) {
5800 P.print("Error initializing pirate names: " + H.S(arrr));
5801 $.badgeNameElement.textContent = "Arrr! No names.";
5802 },
5803 $is_args1: true
5804 },
5805
5806 PirateName: {"": "Object;_firstName,_appellation",
5807 toString$0: function(_) {
5808 return J.get$isEmpty$asx(this._firstName) === true ? "" : H.S(this._firstNam e) + " the " + H.S(this._appellation);
5809 },
5810 PirateName$2$appellation$firstName: function(appellation, firstName) {
5811 if (firstName == null)
5812 this._firstName = J.$index$asx($.get$PirateName_names(), $.get$PirateName_ indexGen().nextInt$1(J.get$length$asx($.get$PirateName_names())));
5813 else
5814 this._firstName = firstName;
5815 this._appellation = J.$index$asx($.get$PirateName_appellations(), $.get$Pira teName_indexGen().nextInt$1(J.get$length$asx($.get$PirateName_appellations())));
5816 },
5817 PirateName$fromJSON$1: function(jsonString) {
5818 var storedName, t1;
5819 storedName = C.C_JsonCodec.decode$1(jsonString);
5820 t1 = J.getInterceptor$asx(storedName);
5821 this._firstName = t1.$index(storedName, "f");
5822 this._appellation = t1.$index(storedName, "a");
5823 },
5824 static: {
5825 "": "PirateName_indexGen,PirateName_names,PirateName_appellations",
5826 PirateName$: function(appellation, firstName) {
5827 var t1 = new A.PirateName(null, null);
5828 t1.PirateName$2$appellation$firstName(appellation, firstName);
5829 return t1;
5830 },
5831
5832 PirateName$fromJSON: function(jsonString) {
5833 var t1 = new A.PirateName(null, null);
5834 t1.PirateName$fromJSON$1(jsonString);
5835 return t1;
5836 },
5837
5838 PirateName_readyThePirates: function() {
5839 return W.HttpRequest_getString("piratenames.json", null, null).then$1(A.Pirate Name__parsePirateNamesFromJSON$closure);
5840 },
5841
5842 PirateName__parsePirateNamesFromJSON: function(jsonString) {
5843 var pirateNames, t1;
5844 pirateNames = C.C_JsonCodec.decode$1(jsonString);
5845 t1 = J.getInterceptor$asx(pirateNames);
5846 $.PirateName_names = t1.$index(pirateNames, "names");
5847 $.PirateName_appellations = t1.$index(pirateNames, "appellations");
5848 }}
5849
5730 }}, 5850 }},
5731 1], 5851 1],
5732 ]); 5852 ]);
5733 Isolate.$finishClasses($$, $, null); 5853 Isolate.$finishClasses($$, $, null);
5734 $$ = null; 5854 $$ = null;
5735 5855
5736 // Static function getters 5856 // Static function getters
5737 init.globalFunctions.IsolateNatives__processWorkerMessage$closure = H.IsolateNat ives__processWorkerMessage$closure = new H.Closure$2(H.IsolateNatives__processWo rkerMessage, "IsolateNatives__processWorkerMessage$closure"); 5857 init.globalFunctions.IsolateNatives__processWorkerMessage$closure = H.IsolateNat ives__processWorkerMessage$closure = new H.Closure$2(H.IsolateNatives__processWo rkerMessage, "IsolateNatives__processWorkerMessage$closure");
5738 init.globalFunctions.toStringWrapper$closure = H.toStringWrapper$closure = new H .Closure$0(H.toStringWrapper, "toStringWrapper$closure"); 5858 init.globalFunctions.toStringWrapper$closure = H.toStringWrapper$closure = new H .Closure$0(H.toStringWrapper, "toStringWrapper$closure");
5739 init.globalFunctions.invokeClosure$closure = H.invokeClosure$closure = new H.Clo sure$7(H.invokeClosure, "invokeClosure$closure"); 5859 init.globalFunctions.invokeClosure$closure = H.invokeClosure$closure = new H.Clo sure$7(H.invokeClosure, "invokeClosure$closure");
5740 init.globalFunctions.typeNameInChrome$closure = H.typeNameInChrome$closure = new H.Closure$1(H.typeNameInChrome, "typeNameInChrome$closure"); 5860 init.globalFunctions.typeNameInChrome$closure = H.typeNameInChrome$closure = new H.Closure$1(H.typeNameInChrome, "typeNameInChrome$closure");
5741 init.globalFunctions.typeNameInSafari$closure = H.typeNameInSafari$closure = new H.Closure$1(H.typeNameInSafari, "typeNameInSafari$closure"); 5861 init.globalFunctions.typeNameInSafari$closure = H.typeNameInSafari$closure = new H.Closure$1(H.typeNameInSafari, "typeNameInSafari$closure");
5742 init.globalFunctions.typeNameInOpera$closure = H.typeNameInOpera$closure = new H .Closure$1(H.typeNameInOpera, "typeNameInOpera$closure"); 5862 init.globalFunctions.typeNameInOpera$closure = H.typeNameInOpera$closure = new H .Closure$1(H.typeNameInOpera, "typeNameInOpera$closure");
5743 init.globalFunctions.typeNameInFirefox$closure = H.typeNameInFirefox$closure = n ew H.Closure$1(H.typeNameInFirefox, "typeNameInFirefox$closure"); 5863 init.globalFunctions.typeNameInFirefox$closure = H.typeNameInFirefox$closure = n ew H.Closure$1(H.typeNameInFirefox, "typeNameInFirefox$closure");
5744 init.globalFunctions.typeNameInIE$closure = H.typeNameInIE$closure = new H.Closu re$1(H.typeNameInIE, "typeNameInIE$closure"); 5864 init.globalFunctions.typeNameInIE$closure = H.typeNameInIE$closure = new H.Closu re$1(H.typeNameInIE, "typeNameInIE$closure");
5745 init.globalFunctions.constructorNameFallback$closure = H.constructorNameFallback $closure = new H.Closure$1(H.constructorNameFallback, "constructorNameFallback$c losure"); 5865 init.globalFunctions.constructorNameFallback$closure = H.constructorNameFallback $closure = new H.Closure$1(H.constructorNameFallback, "constructorNameFallback$c losure");
5746 init.globalFunctions.callDartFunctionWith1Arg$closure = H.callDartFunctionWith1A rg$closure = new H.Closure$2(H.callDartFunctionWith1Arg, "callDartFunctionWith1A rg$closure"); 5866 init.globalFunctions.callDartFunctionWith1Arg$closure = H.callDartFunctionWith1A rg$closure = new H.Closure$2(H.callDartFunctionWith1Arg, "callDartFunctionWith1A rg$closure");
5747 init.globalFunctions._asyncRunCallback$closure = P._asyncRunCallback$closure = n ew H.Closure$0(P._asyncRunCallback, "_asyncRunCallback$closure"); 5867 init.globalFunctions._asyncRunCallback$closure = P._asyncRunCallback$closure = n ew H.Closure$0(P._asyncRunCallback, "_asyncRunCallback$closure");
5748 init.globalFunctions._nullDataHandler$closure = P._nullDataHandler$closure = new H.Closure$1(P._nullDataHandler, "_nullDataHandler$closure"); 5868 init.globalFunctions._nullDataHandler$closure = P._nullDataHandler$closure = new H.Closure$1(P._nullDataHandler, "_nullDataHandler$closure");
5749 init.globalFunctions._nullErrorHandler$closure = P._nullErrorHandler$closure = n ew P.Closure$21(P._nullErrorHandler, "_nullErrorHandler$closure"); 5869 init.globalFunctions._nullErrorHandler$closure = P._nullErrorHandler$closure = n ew P.Closure$21(P._nullErrorHandler, "_nullErrorHandler$closure");
5750 init.globalFunctions._nullDoneHandler$closure = P._nullDoneHandler$closure = new H.Closure$0(P._nullDoneHandler, "_nullDoneHandler$closure"); 5870 init.globalFunctions._nullDoneHandler$closure = P._nullDoneHandler$closure = new H.Closure$0(P._nullDoneHandler, "_nullDoneHandler$closure");
5751 init.globalFunctions._defaultEquals$closure = P._defaultEquals$closure = new H.C losure$2(P._defaultEquals, "_defaultEquals$closure"); 5871 init.globalFunctions._defaultEquals$closure = P._defaultEquals$closure = new H.C losure$2(P._defaultEquals, "_defaultEquals$closure");
5752 init.globalFunctions._defaultHashCode$closure = P._defaultHashCode$closure = new H.Closure$1(P._defaultHashCode, "_defaultHashCode$closure"); 5872 init.globalFunctions._defaultHashCode$closure = P._defaultHashCode$closure = new H.Closure$1(P._defaultHashCode, "_defaultHashCode$closure");
5753 init.globalFunctions.identical$closure = P.identical$closure = new H.Closure$2(P .identical, "identical$closure"); 5873 init.globalFunctions.identical$closure = P.identical$closure = new H.Closure$2(P .identical, "identical$closure");
5754 init.globalFunctions.identityHashCode$closure = P.identityHashCode$closure = new H.Closure$1(P.identityHashCode, "identityHashCode$closure"); 5874 init.globalFunctions.identityHashCode$closure = P.identityHashCode$closure = new H.Closure$1(P.identityHashCode, "identityHashCode$closure");
5755 init.globalFunctions.main$closure = E.main$closure = new H.Closure$0(E.main, "ma in$closure"); 5875 init.globalFunctions.main$closure = A.main$closure = new H.Closure$0(A.main, "ma in$closure");
5876 init.globalFunctions.updateBadge$closure = A.updateBadge$closure = new H.Closure $1(A.updateBadge, "updateBadge$closure");
5877 init.globalFunctions.generateBadge$closure = A.generateBadge$closure = new H.Clo sure$1(A.generateBadge, "generateBadge$closure");
5878 init.globalFunctions.PirateName__parsePirateNamesFromJSON$closure = A.PirateName __parsePirateNamesFromJSON$closure = new H.Closure$1(A.PirateName__parsePirateNa mesFromJSON, "PirateName__parsePirateNamesFromJSON$closure");
5756 // Runtime type support 5879 // Runtime type support
5880 J.JSString.$isString = true;
5881 J.JSString.$isObject = true;
5757 J.JSInt.$isint = true; 5882 J.JSInt.$isint = true;
5758 J.JSInt.$isObject = true; 5883 J.JSInt.$isObject = true;
5759 J.JSString.$isString = true;
5760 J.JSString.$isObject = true;
5761 J.JSNumber.$isObject = true; 5884 J.JSNumber.$isObject = true;
5885 P.Object.$isObject = true;
5762 P.Duration.$isObject = true; 5886 P.Duration.$isObject = true;
5763 W.Geoposition.$isGeoposition = true; 5887 W.Event.$isEvent = true;
5764 W.Geoposition.$isObject = true; 5888 W.Event.$isObject = true;
5889 W.MouseEvent.$isEvent = true;
5890 W.MouseEvent.$isObject = true;
5891 J.JSBool.$isbool = true;
5892 J.JSBool.$isObject = true;
5893 W.HttpRequest.$isObject = true;
5894 W.ProgressEvent.$isEvent = true;
5895 W.ProgressEvent.$isObject = true;
5765 P.ReceivePort.$isObject = true; 5896 P.ReceivePort.$isObject = true;
5766 H._IsolateEvent.$isObject = true; 5897 H._IsolateEvent.$isObject = true;
5767 H._IsolateContext.$isObject = true; 5898 H._IsolateContext.$isObject = true;
5768 J.JSArray.$isObject = true; 5899 J.JSArray.$isObject = true;
5769 P.Symbol.$isSymbol = true; 5900 P.Symbol.$isSymbol = true;
5770 P.Symbol.$isObject = true; 5901 P.Symbol.$isObject = true;
5771 P.StackTrace.$isStackTrace = true; 5902 P.StackTrace.$isStackTrace = true;
5772 P.StackTrace.$isObject = true; 5903 P.StackTrace.$isObject = true;
5904 P.Function.$isFunction = true;
5905 P.Function.$isObject = true;
5906 P._EventSink.$is_EventSink = true;
5907 P._EventSink.$isObject = true;
5773 P.Future.$isFuture = true; 5908 P.Future.$isFuture = true;
5774 P.Future.$isObject = true; 5909 P.Future.$isObject = true;
5775 P.Object.$isObject = true;
5776 P.Function.$isFunction = true;
5777 P.Function.$isObject = true;
5778 J.JSBool.$isbool = true;
5779 J.JSBool.$isObject = true;
5780 P.StreamSubscription.$isStreamSubscription = true; 5910 P.StreamSubscription.$isStreamSubscription = true;
5781 P.StreamSubscription.$isObject = true; 5911 P.StreamSubscription.$isObject = true;
5782 P._EventSink.$is_EventSink = true;
5783 P._EventSink.$isObject = true;
5784 // getInterceptor methods 5912 // getInterceptor methods
5785 J.getInterceptor = function(receiver) { 5913 J.getInterceptor = function(receiver) {
5786 if (typeof receiver == "number") { 5914 if (typeof receiver == "number") {
5787 if (Math.floor(receiver) == receiver) 5915 if (Math.floor(receiver) == receiver)
5788 return J.JSInt.prototype; 5916 return J.JSInt.prototype;
5789 return J.JSDouble.prototype; 5917 return J.JSDouble.prototype;
5790 } 5918 }
5791 if (typeof receiver == "string") 5919 if (typeof receiver == "string")
5792 return J.JSString.prototype; 5920 return J.JSString.prototype;
5793 if (receiver == null) 5921 if (receiver == null)
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
5846 }; 5974 };
5847 J.getInterceptor$x = function(receiver) { 5975 J.getInterceptor$x = function(receiver) {
5848 if (receiver == null) 5976 if (receiver == null)
5849 return receiver; 5977 return receiver;
5850 if (typeof receiver != "object") 5978 if (typeof receiver != "object")
5851 return receiver; 5979 return receiver;
5852 if (receiver instanceof P.Object) 5980 if (receiver instanceof P.Object)
5853 return receiver; 5981 return receiver;
5854 return J.getNativeInterceptor(receiver); 5982 return J.getNativeInterceptor(receiver);
5855 }; 5983 };
5856 C.C_CloseToken = new H.CloseToken(); 5984 C.C_JsonCodec = new P.JsonCodec();
5857 C.C_UnknownJavaScriptObject = new J.UnknownJavaScriptObject(); 5985 C.C_UnknownJavaScriptObject = new J.UnknownJavaScriptObject();
5986 C.C__DelayedDone = new P._DelayedDone();
5987 C.C__Random = new P._Random();
5858 C.C__RootZone = new P._RootZone(); 5988 C.C__RootZone = new P._RootZone();
5859 C.Duration_0 = new P.Duration(0); 5989 C.Duration_0 = new P.Duration(0);
5860 C.Geolocation_methods = W.Geolocation.prototype; 5990 C.EventStreamProvider_click = new W.EventStreamProvider("click");
5991 C.EventStreamProvider_error = new W.EventStreamProvider("error");
5992 C.EventStreamProvider_input = new W.EventStreamProvider("input");
5993 C.EventStreamProvider_load = new W.EventStreamProvider("load");
5994 C.HttpRequest_methods = W.HttpRequest.prototype;
5861 C.JSArray_methods = J.JSArray.prototype; 5995 C.JSArray_methods = J.JSArray.prototype;
5862 C.JSInt_methods = J.JSInt.prototype; 5996 C.JSInt_methods = J.JSInt.prototype;
5863 C.JSNumber_methods = J.JSNumber.prototype; 5997 C.JSNumber_methods = J.JSNumber.prototype;
5864 C.JSString_methods = J.JSString.prototype; 5998 C.JSString_methods = J.JSString.prototype;
5865 C.JS_CONST_ZYJ = ((typeof version == "function" && typeof os == "object" && "system" in os) 5999 C.JS_CONST_ZYJ = ((typeof version == "function" && typeof os == "object" && "system" in os)
5866 || (typeof navigator == "object" 6000 || (typeof navigator == "object"
5867 && navigator.userAgent.indexOf('Chrome') != -1)) 6001 && navigator.userAgent.indexOf('Chrome') != -1))
5868 ? function(x) { return x.$dartCachedLength || x.length; } 6002 ? function(x) { return x.$dartCachedLength || x.length; }
5869 : function(x) { return x.length; }; 6003 : function(x) { return x.length; };
5870 ; 6004 ;
6005 C.JsonDecoder_null = new P.JsonDecoder(null);
5871 Isolate.makeConstantList = function(list) { 6006 Isolate.makeConstantList = function(list) {
5872 list.immutable$list = true; 6007 list.immutable$list = true;
5873 list.fixed$length = true; 6008 list.fixed$length = true;
5874 return list; 6009 return list;
5875 }; 6010 };
5876 C.List_empty = Isolate.makeConstantList([]); 6011 C.List_empty = Isolate.makeConstantList([]);
5877 $.lazyPort = null; 6012 $.lazyPort = null;
5878 $.ReceivePortImpl__nextFreeId = 1; 6013 $.ReceivePortImpl__nextFreeId = 1;
5879 $.Primitives_mirrorFunctionCacheName = "$cachedFunction"; 6014 $.Primitives_mirrorFunctionCacheName = "$cachedFunction";
5880 $.Primitives_mirrorInvokeCacheName = "$cachedInvocation"; 6015 $.Primitives_mirrorInvokeCacheName = "$cachedInvocation";
6016 $.initNativeDispatchFlag = null;
5881 $.printToZone = null; 6017 $.printToZone = null;
5882 $._callbacksAreEnqueued = false; 6018 $._callbacksAreEnqueued = false;
5883 $.Zone__current = C.C__RootZone; 6019 $.Zone__current = C.C__RootZone;
5884 $.Expando__keyCount = 0; 6020 $.Expando__keyCount = 0;
5885 $.Device__isOpera = null; 6021 $.Device__isOpera = null;
5886 $.Device__isWebKit = null; 6022 $.Device__isWebKit = null;
6023 $.genButton = null;
6024 $.badgeNameElement = null;
5887 J.$eq = function(receiver, a0) { 6025 J.$eq = function(receiver, a0) {
5888 if (receiver == null) 6026 if (receiver == null)
5889 return a0 == null; 6027 return a0 == null;
5890 if (typeof receiver != "object") 6028 if (typeof receiver != "object")
5891 return a0 != null && receiver === a0; 6029 return a0 != null && receiver === a0;
5892 return J.getInterceptor(receiver).$eq(receiver, a0); 6030 return J.getInterceptor(receiver).$eq(receiver, a0);
5893 }; 6031 };
5894 J.$ge$n = function(receiver, a0) { 6032 J.$ge$n = function(receiver, a0) {
5895 if (typeof receiver == "number" && typeof a0 == "number") 6033 if (typeof receiver == "number" && typeof a0 == "number")
5896 return receiver >= a0; 6034 return receiver >= a0;
5897 return J.getInterceptor$n(receiver).$ge(receiver, a0); 6035 return J.getInterceptor$n(receiver).$ge(receiver, a0);
5898 }; 6036 };
5899 J.$index$asx = function(receiver, a0) { 6037 J.$index$asx = function(receiver, a0) {
5900 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsInde xable(receiver, receiver[init.dispatchPropertyName])) 6038 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsInde xable(receiver, receiver[init.dispatchPropertyName]))
5901 if (a0 >>> 0 === a0 && a0 < receiver.length) 6039 if (a0 >>> 0 === a0 && a0 < receiver.length)
5902 return receiver[a0]; 6040 return receiver[a0];
5903 return J.getInterceptor$asx(receiver).$index(receiver, a0); 6041 return J.getInterceptor$asx(receiver).$index(receiver, a0);
5904 }; 6042 };
5905 J.$indexSet$ax = function(receiver, a0, a1) { 6043 J.$indexSet$ax = function(receiver, a0, a1) {
5906 if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[init. dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < r eceiver.length) 6044 if ((receiver.constructor == Array || H.isJsIndexable(receiver, receiver[init. dispatchPropertyName])) && !receiver.immutable$list && a0 >>> 0 === a0 && a0 < r eceiver.length)
5907 return receiver[a0] = a1; 6045 return receiver[a0] = a1;
5908 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); 6046 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
5909 }; 6047 };
5910 J.add$1$ax = function(receiver, a0) { 6048 J.addEventListener$3$x = function(receiver, a0, a1, a2) {
5911 return J.getInterceptor$ax(receiver).add$1(receiver, a0); 6049 return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2);
5912 }; 6050 };
5913 J.forEach$1$ax = function(receiver, a0) { 6051 J.forEach$1$ax = function(receiver, a0) {
5914 return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); 6052 return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
5915 }; 6053 };
5916 J.get$code$x = function(receiver) { 6054 J.get$_key$x = function(receiver) {
5917 return J.getInterceptor$x(receiver).get$code(receiver); 6055 return J.getInterceptor$x(receiver).get$_key(receiver);
5918 };
5919 J.get$coords$x = function(receiver) {
5920 return J.getInterceptor$x(receiver).get$coords(receiver);
5921 }; 6056 };
5922 J.get$error$x = function(receiver) { 6057 J.get$error$x = function(receiver) {
5923 return J.getInterceptor$x(receiver).get$error(receiver); 6058 return J.getInterceptor$x(receiver).get$error(receiver);
5924 }; 6059 };
5925 J.get$hashCode$ = function(receiver) { 6060 J.get$hashCode$ = function(receiver) {
5926 return J.getInterceptor(receiver).get$hashCode(receiver); 6061 return J.getInterceptor(receiver).get$hashCode(receiver);
5927 }; 6062 };
6063 J.get$isEmpty$asx = function(receiver) {
6064 return J.getInterceptor$asx(receiver).get$isEmpty(receiver);
6065 };
5928 J.get$iterator$ax = function(receiver) { 6066 J.get$iterator$ax = function(receiver) {
5929 return J.getInterceptor$ax(receiver).get$iterator(receiver); 6067 return J.getInterceptor$ax(receiver).get$iterator(receiver);
5930 }; 6068 };
5931 J.get$latitude$x = function(receiver) {
5932 return J.getInterceptor$x(receiver).get$latitude(receiver);
5933 };
5934 J.get$length$asx = function(receiver) { 6069 J.get$length$asx = function(receiver) {
5935 return J.getInterceptor$asx(receiver).get$length(receiver); 6070 return J.getInterceptor$asx(receiver).get$length(receiver);
5936 }; 6071 };
5937 J.get$longitude$x = function(receiver) { 6072 J.get$responseText$x = function(receiver) {
5938 return J.getInterceptor$x(receiver).get$longitude(receiver); 6073 return J.getInterceptor$x(receiver).get$responseText(receiver);
5939 }; 6074 };
5940 J.getCurrentPosition$0$x = function(receiver) { 6075 J.get$target$x = function(receiver) {
5941 return J.getInterceptor$x(receiver).getCurrentPosition$0(receiver); 6076 return J.getInterceptor$x(receiver).get$target(receiver);
5942 }; 6077 };
5943 J.removeLast$0$ax = function(receiver) { 6078 J.get$values$x = function(receiver) {
5944 return J.getInterceptor$ax(receiver).removeLast$0(receiver); 6079 return J.getInterceptor$x(receiver).get$values(receiver);
6080 };
6081 J.removeEventListener$3$x = function(receiver, a0, a1, a2) {
6082 return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2 );
6083 };
6084 J.send$1$x = function(receiver, a0) {
6085 return J.getInterceptor$x(receiver).send$1(receiver, a0);
6086 };
6087 J.set$disabled$x = function(receiver, value) {
6088 return J.getInterceptor$x(receiver).set$disabled(receiver, value);
6089 };
6090 J.toList$0$ax = function(receiver) {
6091 return J.getInterceptor$ax(receiver).toList$0(receiver);
5945 }; 6092 };
5946 J.toString$0 = function(receiver) { 6093 J.toString$0 = function(receiver) {
5947 return J.getInterceptor(receiver).toString$0(receiver); 6094 return J.getInterceptor(receiver).toString$0(receiver);
5948 }; 6095 };
5949 J.watchPosition$0$x = function(receiver) { 6096 J.trim$0$s = function(receiver) {
5950 return J.getInterceptor$x(receiver).watchPosition$0(receiver); 6097 return J.getInterceptor$s(receiver).trim$0(receiver);
5951 }; 6098 };
5952 Isolate.$lazy($, "globalThis", "globalThis", "get$globalThis", function() { 6099 Isolate.$lazy($, "globalThis", "globalThis", "get$globalThis", function() {
5953 return function() { return this; }(); 6100 return function() { return this; }();
5954 }); 6101 });
5955 Isolate.$lazy($, "globalWindow", "globalWindow", "get$globalWindow", function() { 6102 Isolate.$lazy($, "globalWindow", "globalWindow", "get$globalWindow", function() {
5956 return $.get$globalThis().window; 6103 return $.get$globalThis().window;
5957 }); 6104 });
5958 Isolate.$lazy($, "globalWorker", "globalWorker", "get$globalWorker", function() { 6105 Isolate.$lazy($, "globalWorker", "globalWorker", "get$globalWorker", function() {
5959 return $.get$globalThis().Worker; 6106 return $.get$globalThis().Worker;
5960 }); 6107 });
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
6008 }); 6155 });
6009 Isolate.$lazy($, "_asyncCallbacks", "_asyncCallbacks", "get$_asyncCallbacks", fu nction() { 6156 Isolate.$lazy($, "_asyncCallbacks", "_asyncCallbacks", "get$_asyncCallbacks", fu nction() {
6010 return P.ListQueue$(null, {func: "void_", void: true}); 6157 return P.ListQueue$(null, {func: "void_", void: true});
6011 }); 6158 });
6012 Isolate.$lazy($, "_toStringVisiting", "_toStringVisiting", "get$_toStringVisitin g", function() { 6159 Isolate.$lazy($, "_toStringVisiting", "_toStringVisiting", "get$_toStringVisitin g", function() {
6013 return P.HashSet_HashSet$identity(null); 6160 return P.HashSet_HashSet$identity(null);
6014 }); 6161 });
6015 Isolate.$lazy($, "_toStringList", "Maps__toStringList", "get$Maps__toStringList" , function() { 6162 Isolate.$lazy($, "_toStringList", "Maps__toStringList", "get$Maps__toStringList" , function() {
6016 return P.List_List(null, null); 6163 return P.List_List(null, null);
6017 }); 6164 });
6165 Isolate.$lazy($, "indexGen", "PirateName_indexGen", "get$PirateName_indexGen", f unction() {
6166 return C.C__Random;
6167 });
6168 Isolate.$lazy($, "names", "PirateName_names", "get$PirateName_names", function() {
6169 return [];
6170 });
6171 Isolate.$lazy($, "appellations", "PirateName_appellations", "get$PirateName_appe llations", function() {
6172 return [];
6173 });
6018 // Native classes 6174 // Native classes
6019 J.Interceptor["%"] = "Navigator|NavigatorUserMediaError|SVGAnimatedNumberList"; 6175 J.Interceptor["%"] = "DOMError|FileError|MediaError|MediaKeyError|Navigator|Navi gatorUserMediaError|PositionError|SQLError|SVGAnimatedNumberList|SVGAnimatedStri ng";
6020 6176
6021 6177
6022 init.functionAliases = {}; 6178 init.functionAliases = {};
6023 ; 6179 ;
6024 init.metadata = []; 6180 init.metadata = [];
6025 $ = null; 6181 $ = null;
6026 Isolate = Isolate.$finishIsolateConstructor(Isolate); 6182 Isolate = Isolate.$finishIsolateConstructor(Isolate);
6027 $ = new Isolate(); 6183 $ = new Isolate();
6028 function convertToFastObject(properties) { 6184 function convertToFastObject(properties) {
6029 function MyClass() {}; 6185 function MyClass() {};
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
6084 } 6240 }
6085 callback(event.target); 6241 callback(event.target);
6086 } 6242 }
6087 for (var i = 0; i < scripts.length; ++i) { 6243 for (var i = 0; i < scripts.length; ++i) {
6088 scripts[i].addEventListener("load", onLoad, false); 6244 scripts[i].addEventListener("load", onLoad, false);
6089 } 6245 }
6090 })(function(currentScript) { 6246 })(function(currentScript) {
6091 init.currentScript = currentScript; 6247 init.currentScript = currentScript;
6092 6248
6093 if (typeof dartMainRunner === "function") { 6249 if (typeof dartMainRunner === "function") {
6094 dartMainRunner(function() { H.startRootIsolate(E.main$closure); }); 6250 dartMainRunner(function() { H.startRootIsolate(A.main$closure); });
6095 } else { 6251 } else {
6096 H.startRootIsolate(E.main$closure); 6252 H.startRootIsolate(A.main$closure);
6097 } 6253 }
6098 }); 6254 });
6099 // END invoke [main]. 6255 // END invoke [main].
6100 function init() { 6256 function init() {
6101 Isolate.$isolateProperties = {}; 6257 Isolate.$isolateProperties = {};
6102 function generateAccessor(field, accessors, cls) { 6258 function generateAccessor(field, accessors, cls) {
6103 var len = field.length; 6259 var len = field.length;
6104 var code = field.charCodeAt(len - 1); 6260 var code = field.charCodeAt(len - 1);
6105 var reflectable = false; 6261 var reflectable = false;
6106 if (code == 45) { 6262 if (code == 45) {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
6350 function JS_CONST(code) { 6506 function JS_CONST(code) {
6351 this.code = code; 6507 this.code = code;
6352 } 6508 }
6353 JS_CONST.builtin$cls = "JS_CONST"; 6509 JS_CONST.builtin$cls = "JS_CONST";
6354 if (!"name" in JS_CONST) 6510 if (!"name" in JS_CONST)
6355 JS_CONST.name = "JS_CONST"; 6511 JS_CONST.name = "JS_CONST";
6356 $desc = $collectedClasses.JS_CONST; 6512 $desc = $collectedClasses.JS_CONST;
6357 if ($desc instanceof Array) 6513 if ($desc instanceof Array)
6358 $desc = $desc[1]; 6514 $desc = $desc[1];
6359 JS_CONST.prototype = $desc; 6515 JS_CONST.prototype = $desc;
6360 JS_CONST.prototype.get$code = function(receiver) {
6361 return this.code;
6362 };
6363 function Interceptor() { 6516 function Interceptor() {
6364 } 6517 }
6365 Interceptor.builtin$cls = "Interceptor"; 6518 Interceptor.builtin$cls = "Interceptor";
6366 if (!"name" in Interceptor) 6519 if (!"name" in Interceptor)
6367 Interceptor.name = "Interceptor"; 6520 Interceptor.name = "Interceptor";
6368 $desc = $collectedClasses.Interceptor; 6521 $desc = $collectedClasses.Interceptor;
6369 if ($desc instanceof Array) 6522 if ($desc instanceof Array)
6370 $desc = $desc[1]; 6523 $desc = $desc[1];
6371 Interceptor.prototype = $desc; 6524 Interceptor.prototype = $desc;
6372 function JSBool() { 6525 function JSBool() {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
6479 JSDouble.prototype = $desc; 6632 JSDouble.prototype = $desc;
6480 function JSString() { 6633 function JSString() {
6481 } 6634 }
6482 JSString.builtin$cls = "String"; 6635 JSString.builtin$cls = "String";
6483 if (!"name" in JSString) 6636 if (!"name" in JSString)
6484 JSString.name = "JSString"; 6637 JSString.name = "JSString";
6485 $desc = $collectedClasses.JSString; 6638 $desc = $collectedClasses.JSString;
6486 if ($desc instanceof Array) 6639 if ($desc instanceof Array)
6487 $desc = $desc[1]; 6640 $desc = $desc[1];
6488 JSString.prototype = $desc; 6641 JSString.prototype = $desc;
6489 function CloseToken() { 6642 function startRootIsolate_closure(entry_0) {
6643 this.entry_0 = entry_0;
6490 } 6644 }
6491 CloseToken.builtin$cls = "CloseToken"; 6645 startRootIsolate_closure.builtin$cls = "startRootIsolate_closure";
6492 if (!"name" in CloseToken) 6646 if (!"name" in startRootIsolate_closure)
6493 CloseToken.name = "CloseToken"; 6647 startRootIsolate_closure.name = "startRootIsolate_closure";
6494 $desc = $collectedClasses.CloseToken; 6648 $desc = $collectedClasses.startRootIsolate_closure;
6495 if ($desc instanceof Array) 6649 if ($desc instanceof Array)
6496 $desc = $desc[1]; 6650 $desc = $desc[1];
6497 CloseToken.prototype = $desc; 6651 startRootIsolate_closure.prototype = $desc;
6498 function JsIsolateSink(_isClosed, _port) { 6652 function startRootIsolate_closure0(entry_1) {
6499 this._isClosed = _isClosed; 6653 this.entry_1 = entry_1;
6500 this._port = _port;
6501 } 6654 }
6502 JsIsolateSink.builtin$cls = "JsIsolateSink"; 6655 startRootIsolate_closure0.builtin$cls = "startRootIsolate_closure0";
6503 if (!"name" in JsIsolateSink) 6656 if (!"name" in startRootIsolate_closure0)
6504 JsIsolateSink.name = "JsIsolateSink"; 6657 startRootIsolate_closure0.name = "startRootIsolate_closure0";
6505 $desc = $collectedClasses.JsIsolateSink; 6658 $desc = $collectedClasses.startRootIsolate_closure0;
6506 if ($desc instanceof Array) 6659 if ($desc instanceof Array)
6507 $desc = $desc[1]; 6660 $desc = $desc[1];
6508 JsIsolateSink.prototype = $desc; 6661 startRootIsolate_closure0.prototype = $desc;
6509 JsIsolateSink.prototype.get$_port = function() {
6510 return this._port;
6511 };
6512 function _Manager(nextIsolateId, currentManagerId, nextManagerId, currentConte xt, rootContext, topEventLoop, fromCommandLine, isWorker, supportsWorkers, isola tes, mainManager, managers, entry) { 6662 function _Manager(nextIsolateId, currentManagerId, nextManagerId, currentConte xt, rootContext, topEventLoop, fromCommandLine, isWorker, supportsWorkers, isola tes, mainManager, managers, entry) {
6513 this.nextIsolateId = nextIsolateId; 6663 this.nextIsolateId = nextIsolateId;
6514 this.currentManagerId = currentManagerId; 6664 this.currentManagerId = currentManagerId;
6515 this.nextManagerId = nextManagerId; 6665 this.nextManagerId = nextManagerId;
6516 this.currentContext = currentContext; 6666 this.currentContext = currentContext;
6517 this.rootContext = rootContext; 6667 this.rootContext = rootContext;
6518 this.topEventLoop = topEventLoop; 6668 this.topEventLoop = topEventLoop;
6519 this.fromCommandLine = fromCommandLine; 6669 this.fromCommandLine = fromCommandLine;
6520 this.isWorker = isWorker; 6670 this.isWorker = isWorker;
6521 this.supportsWorkers = supportsWorkers; 6671 this.supportsWorkers = supportsWorkers;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
6581 _IsolateEvent.prototype = $desc; 6731 _IsolateEvent.prototype = $desc;
6582 function _MainManagerStub() { 6732 function _MainManagerStub() {
6583 } 6733 }
6584 _MainManagerStub.builtin$cls = "_MainManagerStub"; 6734 _MainManagerStub.builtin$cls = "_MainManagerStub";
6585 if (!"name" in _MainManagerStub) 6735 if (!"name" in _MainManagerStub)
6586 _MainManagerStub.name = "_MainManagerStub"; 6736 _MainManagerStub.name = "_MainManagerStub";
6587 $desc = $collectedClasses._MainManagerStub; 6737 $desc = $collectedClasses._MainManagerStub;
6588 if ($desc instanceof Array) 6738 if ($desc instanceof Array)
6589 $desc = $desc[1]; 6739 $desc = $desc[1];
6590 _MainManagerStub.prototype = $desc; 6740 _MainManagerStub.prototype = $desc;
6591 function IsolateNatives__processWorkerMessage_closure(entryPoint_0, replyTo_1) { 6741 function IsolateNatives__processWorkerMessage_closure(entryPoint_0, args_1, me ssage_2, isSpawnUri_3, replyTo_4) {
6592 this.entryPoint_0 = entryPoint_0; 6742 this.entryPoint_0 = entryPoint_0;
6593 this.replyTo_1 = replyTo_1; 6743 this.args_1 = args_1;
6744 this.message_2 = message_2;
6745 this.isSpawnUri_3 = isSpawnUri_3;
6746 this.replyTo_4 = replyTo_4;
6594 } 6747 }
6595 IsolateNatives__processWorkerMessage_closure.builtin$cls = "IsolateNatives__pr ocessWorkerMessage_closure"; 6748 IsolateNatives__processWorkerMessage_closure.builtin$cls = "IsolateNatives__pr ocessWorkerMessage_closure";
6596 if (!"name" in IsolateNatives__processWorkerMessage_closure) 6749 if (!"name" in IsolateNatives__processWorkerMessage_closure)
6597 IsolateNatives__processWorkerMessage_closure.name = "IsolateNatives__process WorkerMessage_closure"; 6750 IsolateNatives__processWorkerMessage_closure.name = "IsolateNatives__process WorkerMessage_closure";
6598 $desc = $collectedClasses.IsolateNatives__processWorkerMessage_closure; 6751 $desc = $collectedClasses.IsolateNatives__processWorkerMessage_closure;
6599 if ($desc instanceof Array) 6752 if ($desc instanceof Array)
6600 $desc = $desc[1]; 6753 $desc = $desc[1];
6601 IsolateNatives__processWorkerMessage_closure.prototype = $desc; 6754 IsolateNatives__processWorkerMessage_closure.prototype = $desc;
6602 function _BaseSendPort() { 6755 function _BaseSendPort() {
6603 } 6756 }
6604 _BaseSendPort.builtin$cls = "_BaseSendPort"; 6757 _BaseSendPort.builtin$cls = "_BaseSendPort";
6605 if (!"name" in _BaseSendPort) 6758 if (!"name" in _BaseSendPort)
6606 _BaseSendPort.name = "_BaseSendPort"; 6759 _BaseSendPort.name = "_BaseSendPort";
6607 $desc = $collectedClasses._BaseSendPort; 6760 $desc = $collectedClasses._BaseSendPort;
6608 if ($desc instanceof Array) 6761 if ($desc instanceof Array)
6609 $desc = $desc[1]; 6762 $desc = $desc[1];
6610 _BaseSendPort.prototype = $desc; 6763 _BaseSendPort.prototype = $desc;
6611 function _BaseSendPort_call_closure(completer_0, port_1) {
6612 this.completer_0 = completer_0;
6613 this.port_1 = port_1;
6614 }
6615 _BaseSendPort_call_closure.builtin$cls = "_BaseSendPort_call_closure";
6616 if (!"name" in _BaseSendPort_call_closure)
6617 _BaseSendPort_call_closure.name = "_BaseSendPort_call_closure";
6618 $desc = $collectedClasses._BaseSendPort_call_closure;
6619 if ($desc instanceof Array)
6620 $desc = $desc[1];
6621 _BaseSendPort_call_closure.prototype = $desc;
6622 function _NativeJsSendPort(_receivePort, _isolateId) { 6764 function _NativeJsSendPort(_receivePort, _isolateId) {
6623 this._receivePort = _receivePort; 6765 this._receivePort = _receivePort;
6624 this._isolateId = _isolateId; 6766 this._isolateId = _isolateId;
6625 } 6767 }
6626 _NativeJsSendPort.builtin$cls = "_NativeJsSendPort"; 6768 _NativeJsSendPort.builtin$cls = "_NativeJsSendPort";
6627 if (!"name" in _NativeJsSendPort) 6769 if (!"name" in _NativeJsSendPort)
6628 _NativeJsSendPort.name = "_NativeJsSendPort"; 6770 _NativeJsSendPort.name = "_NativeJsSendPort";
6629 $desc = $collectedClasses._NativeJsSendPort; 6771 $desc = $collectedClasses._NativeJsSendPort;
6630 if ($desc instanceof Array) 6772 if ($desc instanceof Array)
6631 $desc = $desc[1]; 6773 $desc = $desc[1];
6632 _NativeJsSendPort.prototype = $desc; 6774 _NativeJsSendPort.prototype = $desc;
6633 function _NativeJsSendPort_send_closure(this_1, message_2, replyTo_3) { 6775 function _NativeJsSendPort_send_closure(this_1, message_2) {
6634 this.this_1 = this_1; 6776 this.this_1 = this_1;
6635 this.message_2 = message_2; 6777 this.message_2 = message_2;
6636 this.replyTo_3 = replyTo_3;
6637 } 6778 }
6638 _NativeJsSendPort_send_closure.builtin$cls = "_NativeJsSendPort_send_closure"; 6779 _NativeJsSendPort_send_closure.builtin$cls = "_NativeJsSendPort_send_closure";
6639 if (!"name" in _NativeJsSendPort_send_closure) 6780 if (!"name" in _NativeJsSendPort_send_closure)
6640 _NativeJsSendPort_send_closure.name = "_NativeJsSendPort_send_closure"; 6781 _NativeJsSendPort_send_closure.name = "_NativeJsSendPort_send_closure";
6641 $desc = $collectedClasses._NativeJsSendPort_send_closure; 6782 $desc = $collectedClasses._NativeJsSendPort_send_closure;
6642 if ($desc instanceof Array) 6783 if ($desc instanceof Array)
6643 $desc = $desc[1]; 6784 $desc = $desc[1];
6644 _NativeJsSendPort_send_closure.prototype = $desc; 6785 _NativeJsSendPort_send_closure.prototype = $desc;
6645 function _NativeJsSendPort_send__closure(box_0, this_4, shouldSerialize_5) { 6786 function _NativeJsSendPort_send__closure(box_0, this_3, shouldSerialize_4) {
6646 this.box_0 = box_0; 6787 this.box_0 = box_0;
6647 this.this_4 = this_4; 6788 this.this_3 = this_3;
6648 this.shouldSerialize_5 = shouldSerialize_5; 6789 this.shouldSerialize_4 = shouldSerialize_4;
6649 } 6790 }
6650 _NativeJsSendPort_send__closure.builtin$cls = "_NativeJsSendPort_send__closure "; 6791 _NativeJsSendPort_send__closure.builtin$cls = "_NativeJsSendPort_send__closure ";
6651 if (!"name" in _NativeJsSendPort_send__closure) 6792 if (!"name" in _NativeJsSendPort_send__closure)
6652 _NativeJsSendPort_send__closure.name = "_NativeJsSendPort_send__closure"; 6793 _NativeJsSendPort_send__closure.name = "_NativeJsSendPort_send__closure";
6653 $desc = $collectedClasses._NativeJsSendPort_send__closure; 6794 $desc = $collectedClasses._NativeJsSendPort_send__closure;
6654 if ($desc instanceof Array) 6795 if ($desc instanceof Array)
6655 $desc = $desc[1]; 6796 $desc = $desc[1];
6656 _NativeJsSendPort_send__closure.prototype = $desc; 6797 _NativeJsSendPort_send__closure.prototype = $desc;
6657 function _WorkerSendPort(_workerId, _receivePortId, _isolateId) { 6798 function _WorkerSendPort(_workerId, _receivePortId, _isolateId) {
6658 this._workerId = _workerId; 6799 this._workerId = _workerId;
6659 this._receivePortId = _receivePortId; 6800 this._receivePortId = _receivePortId;
6660 this._isolateId = _isolateId; 6801 this._isolateId = _isolateId;
6661 } 6802 }
6662 _WorkerSendPort.builtin$cls = "_WorkerSendPort"; 6803 _WorkerSendPort.builtin$cls = "_WorkerSendPort";
6663 if (!"name" in _WorkerSendPort) 6804 if (!"name" in _WorkerSendPort)
6664 _WorkerSendPort.name = "_WorkerSendPort"; 6805 _WorkerSendPort.name = "_WorkerSendPort";
6665 $desc = $collectedClasses._WorkerSendPort; 6806 $desc = $collectedClasses._WorkerSendPort;
6666 if ($desc instanceof Array) 6807 if ($desc instanceof Array)
6667 $desc = $desc[1]; 6808 $desc = $desc[1];
6668 _WorkerSendPort.prototype = $desc; 6809 _WorkerSendPort.prototype = $desc;
6669 function _WorkerSendPort_send_closure(this_0, message_1, replyTo_2) { 6810 function _WorkerSendPort_send_closure(this_0, message_1) {
6670 this.this_0 = this_0; 6811 this.this_0 = this_0;
6671 this.message_1 = message_1; 6812 this.message_1 = message_1;
6672 this.replyTo_2 = replyTo_2;
6673 } 6813 }
6674 _WorkerSendPort_send_closure.builtin$cls = "_WorkerSendPort_send_closure"; 6814 _WorkerSendPort_send_closure.builtin$cls = "_WorkerSendPort_send_closure";
6675 if (!"name" in _WorkerSendPort_send_closure) 6815 if (!"name" in _WorkerSendPort_send_closure)
6676 _WorkerSendPort_send_closure.name = "_WorkerSendPort_send_closure"; 6816 _WorkerSendPort_send_closure.name = "_WorkerSendPort_send_closure";
6677 $desc = $collectedClasses._WorkerSendPort_send_closure; 6817 $desc = $collectedClasses._WorkerSendPort_send_closure;
6678 if ($desc instanceof Array) 6818 if ($desc instanceof Array)
6679 $desc = $desc[1]; 6819 $desc = $desc[1];
6680 _WorkerSendPort_send_closure.prototype = $desc; 6820 _WorkerSendPort_send_closure.prototype = $desc;
6681 function ReceivePortImpl(_id, _callback) { 6821 function ReceivePortImpl(_id, _controller) {
6682 this._id = _id; 6822 this._id = _id;
6683 this._callback = _callback; 6823 this._controller = _controller;
6684 } 6824 }
6685 ReceivePortImpl.builtin$cls = "ReceivePortImpl"; 6825 ReceivePortImpl.builtin$cls = "ReceivePortImpl";
6686 if (!"name" in ReceivePortImpl) 6826 if (!"name" in ReceivePortImpl)
6687 ReceivePortImpl.name = "ReceivePortImpl"; 6827 ReceivePortImpl.name = "ReceivePortImpl";
6688 $desc = $collectedClasses.ReceivePortImpl; 6828 $desc = $collectedClasses.ReceivePortImpl;
6689 if ($desc instanceof Array) 6829 if ($desc instanceof Array)
6690 $desc = $desc[1]; 6830 $desc = $desc[1];
6691 ReceivePortImpl.prototype = $desc; 6831 ReceivePortImpl.prototype = $desc;
6692 ReceivePortImpl.prototype.get$_id = function() { 6832 ReceivePortImpl.prototype.get$_id = function() {
6693 return this._id; 6833 return this._id;
6694 }; 6834 };
6695 ReceivePortImpl.prototype.get$_callback = function() { 6835 ReceivePortImpl.prototype.get$_controller = function() {
6696 return this._callback; 6836 return this._controller;
6697 }; 6837 };
6838 function BoundClosure$i0(_self, __js_helper$_target, _receiver, __js_helper$_n ame) {
6839 this._self = _self;
6840 this.__js_helper$_target = __js_helper$_target;
6841 this._receiver = _receiver;
6842 this.__js_helper$_name = __js_helper$_name;
6843 }
6844 BoundClosure$i0.builtin$cls = "BoundClosure$i0";
6845 $desc = $collectedClasses.BoundClosure$i0;
6846 if ($desc instanceof Array)
6847 $desc = $desc[1];
6848 BoundClosure$i0.prototype = $desc;
6698 function _waitForPendingPorts_closure(callback_0) { 6849 function _waitForPendingPorts_closure(callback_0) {
6699 this.callback_0 = callback_0; 6850 this.callback_0 = callback_0;
6700 } 6851 }
6701 _waitForPendingPorts_closure.builtin$cls = "_waitForPendingPorts_closure"; 6852 _waitForPendingPorts_closure.builtin$cls = "_waitForPendingPorts_closure";
6702 if (!"name" in _waitForPendingPorts_closure) 6853 if (!"name" in _waitForPendingPorts_closure)
6703 _waitForPendingPorts_closure.name = "_waitForPendingPorts_closure"; 6854 _waitForPendingPorts_closure.name = "_waitForPendingPorts_closure";
6704 $desc = $collectedClasses._waitForPendingPorts_closure; 6855 $desc = $collectedClasses._waitForPendingPorts_closure;
6705 if ($desc instanceof Array) 6856 if ($desc instanceof Array)
6706 $desc = $desc[1]; 6857 $desc = $desc[1];
6707 _waitForPendingPorts_closure.prototype = $desc; 6858 _waitForPendingPorts_closure.prototype = $desc;
6708 function _PendingSendPortFinder(ports, _visited) { 6859 function _PendingSendPortFinder(ports, _visited) {
6709 this.ports = ports; 6860 this.ports = ports;
6710 this._visited = _visited; 6861 this._visited = _visited;
6711 } 6862 }
6712 _PendingSendPortFinder.builtin$cls = "_PendingSendPortFinder"; 6863 _PendingSendPortFinder.builtin$cls = "_PendingSendPortFinder";
6713 if (!"name" in _PendingSendPortFinder) 6864 if (!"name" in _PendingSendPortFinder)
6714 _PendingSendPortFinder.name = "_PendingSendPortFinder"; 6865 _PendingSendPortFinder.name = "_PendingSendPortFinder";
6715 $desc = $collectedClasses._PendingSendPortFinder; 6866 $desc = $collectedClasses._PendingSendPortFinder;
6716 if ($desc instanceof Array) 6867 if ($desc instanceof Array)
6717 $desc = $desc[1]; 6868 $desc = $desc[1];
6718 _PendingSendPortFinder.prototype = $desc; 6869 _PendingSendPortFinder.prototype = $desc;
6719 function _PendingSendPortFinder_visitList_closure(this_0) {
6720 this.this_0 = this_0;
6721 }
6722 _PendingSendPortFinder_visitList_closure.builtin$cls = "_PendingSendPortFinder _visitList_closure";
6723 if (!"name" in _PendingSendPortFinder_visitList_closure)
6724 _PendingSendPortFinder_visitList_closure.name = "_PendingSendPortFinder_visi tList_closure";
6725 $desc = $collectedClasses._PendingSendPortFinder_visitList_closure;
6726 if ($desc instanceof Array)
6727 $desc = $desc[1];
6728 _PendingSendPortFinder_visitList_closure.prototype = $desc;
6729 function _PendingSendPortFinder_visitMap_closure(this_0) {
6730 this.this_0 = this_0;
6731 }
6732 _PendingSendPortFinder_visitMap_closure.builtin$cls = "_PendingSendPortFinder_ visitMap_closure";
6733 if (!"name" in _PendingSendPortFinder_visitMap_closure)
6734 _PendingSendPortFinder_visitMap_closure.name = "_PendingSendPortFinder_visit Map_closure";
6735 $desc = $collectedClasses._PendingSendPortFinder_visitMap_closure;
6736 if ($desc instanceof Array)
6737 $desc = $desc[1];
6738 _PendingSendPortFinder_visitMap_closure.prototype = $desc;
6739 function _JsSerializer(_nextFreeRefId, _visited) { 6870 function _JsSerializer(_nextFreeRefId, _visited) {
6740 this._nextFreeRefId = _nextFreeRefId; 6871 this._nextFreeRefId = _nextFreeRefId;
6741 this._visited = _visited; 6872 this._visited = _visited;
6742 } 6873 }
6743 _JsSerializer.builtin$cls = "_JsSerializer"; 6874 _JsSerializer.builtin$cls = "_JsSerializer";
6744 if (!"name" in _JsSerializer) 6875 if (!"name" in _JsSerializer)
6745 _JsSerializer.name = "_JsSerializer"; 6876 _JsSerializer.name = "_JsSerializer";
6746 $desc = $collectedClasses._JsSerializer; 6877 $desc = $collectedClasses._JsSerializer;
6747 if ($desc instanceof Array) 6878 if ($desc instanceof Array)
6748 $desc = $desc[1]; 6879 $desc = $desc[1];
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
6788 _MessageTraverserVisitedMap.prototype = $desc; 6919 _MessageTraverserVisitedMap.prototype = $desc;
6789 function _MessageTraverser() { 6920 function _MessageTraverser() {
6790 } 6921 }
6791 _MessageTraverser.builtin$cls = "_MessageTraverser"; 6922 _MessageTraverser.builtin$cls = "_MessageTraverser";
6792 if (!"name" in _MessageTraverser) 6923 if (!"name" in _MessageTraverser)
6793 _MessageTraverser.name = "_MessageTraverser"; 6924 _MessageTraverser.name = "_MessageTraverser";
6794 $desc = $collectedClasses._MessageTraverser; 6925 $desc = $collectedClasses._MessageTraverser;
6795 if ($desc instanceof Array) 6926 if ($desc instanceof Array)
6796 $desc = $desc[1]; 6927 $desc = $desc[1];
6797 _MessageTraverser.prototype = $desc; 6928 _MessageTraverser.prototype = $desc;
6929 function BoundClosure$1(_self, __js_helper$_target, _receiver, __js_helper$_na me) {
6930 this._self = _self;
6931 this.__js_helper$_target = __js_helper$_target;
6932 this._receiver = _receiver;
6933 this.__js_helper$_name = __js_helper$_name;
6934 }
6935 BoundClosure$1.builtin$cls = "BoundClosure$1";
6936 $desc = $collectedClasses.BoundClosure$1;
6937 if ($desc instanceof Array)
6938 $desc = $desc[1];
6939 BoundClosure$1.prototype = $desc;
6798 function _Copier() { 6940 function _Copier() {
6799 } 6941 }
6800 _Copier.builtin$cls = "_Copier"; 6942 _Copier.builtin$cls = "_Copier";
6801 if (!"name" in _Copier) 6943 if (!"name" in _Copier)
6802 _Copier.name = "_Copier"; 6944 _Copier.name = "_Copier";
6803 $desc = $collectedClasses._Copier; 6945 $desc = $collectedClasses._Copier;
6804 if ($desc instanceof Array) 6946 if ($desc instanceof Array)
6805 $desc = $desc[1]; 6947 $desc = $desc[1];
6806 _Copier.prototype = $desc; 6948 _Copier.prototype = $desc;
6807 function _Copier_visitMap_closure(box_0, this_1) { 6949 function _Copier_visitMap_closure(box_0, this_1) {
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
6998 invokeClosure_closure3.prototype = $desc; 7140 invokeClosure_closure3.prototype = $desc;
6999 function Closure() { 7141 function Closure() {
7000 } 7142 }
7001 Closure.builtin$cls = "Closure"; 7143 Closure.builtin$cls = "Closure";
7002 if (!"name" in Closure) 7144 if (!"name" in Closure)
7003 Closure.name = "Closure"; 7145 Closure.name = "Closure";
7004 $desc = $collectedClasses.Closure; 7146 $desc = $collectedClasses.Closure;
7005 if ($desc instanceof Array) 7147 if ($desc instanceof Array)
7006 $desc = $desc[1]; 7148 $desc = $desc[1];
7007 Closure.prototype = $desc; 7149 Closure.prototype = $desc;
7008 function BoundClosure(_self, _target, _receiver, __js_helper$_name) { 7150 function BoundClosure(_self, __js_helper$_target, _receiver, __js_helper$_name ) {
7009 this._self = _self; 7151 this._self = _self;
7010 this._target = _target; 7152 this.__js_helper$_target = __js_helper$_target;
7011 this._receiver = _receiver; 7153 this._receiver = _receiver;
7012 this.__js_helper$_name = __js_helper$_name; 7154 this.__js_helper$_name = __js_helper$_name;
7013 } 7155 }
7014 BoundClosure.builtin$cls = "BoundClosure"; 7156 BoundClosure.builtin$cls = "BoundClosure";
7015 if (!"name" in BoundClosure) 7157 if (!"name" in BoundClosure)
7016 BoundClosure.name = "BoundClosure"; 7158 BoundClosure.name = "BoundClosure";
7017 $desc = $collectedClasses.BoundClosure; 7159 $desc = $collectedClasses.BoundClosure;
7018 if ($desc instanceof Array) 7160 if ($desc instanceof Array)
7019 $desc = $desc[1]; 7161 $desc = $desc[1];
7020 BoundClosure.prototype = $desc; 7162 BoundClosure.prototype = $desc;
7163 function CastErrorImplementation(message) {
7164 this.message = message;
7165 }
7166 CastErrorImplementation.builtin$cls = "CastErrorImplementation";
7167 if (!"name" in CastErrorImplementation)
7168 CastErrorImplementation.name = "CastErrorImplementation";
7169 $desc = $collectedClasses.CastErrorImplementation;
7170 if ($desc instanceof Array)
7171 $desc = $desc[1];
7172 CastErrorImplementation.prototype = $desc;
7021 function applyExperimentalFixup_newGetTagDartFunction(newGetTagJSFunction_0) { 7173 function applyExperimentalFixup_newGetTagDartFunction(newGetTagJSFunction_0) {
7022 this.newGetTagJSFunction_0 = newGetTagJSFunction_0; 7174 this.newGetTagJSFunction_0 = newGetTagJSFunction_0;
7023 } 7175 }
7024 applyExperimentalFixup_newGetTagDartFunction.builtin$cls = "applyExperimentalF ixup_newGetTagDartFunction"; 7176 applyExperimentalFixup_newGetTagDartFunction.builtin$cls = "applyExperimentalF ixup_newGetTagDartFunction";
7025 if (!"name" in applyExperimentalFixup_newGetTagDartFunction) 7177 if (!"name" in applyExperimentalFixup_newGetTagDartFunction)
7026 applyExperimentalFixup_newGetTagDartFunction.name = "applyExperimentalFixup_ newGetTagDartFunction"; 7178 applyExperimentalFixup_newGetTagDartFunction.name = "applyExperimentalFixup_ newGetTagDartFunction";
7027 $desc = $collectedClasses.applyExperimentalFixup_newGetTagDartFunction; 7179 $desc = $collectedClasses.applyExperimentalFixup_newGetTagDartFunction;
7028 if ($desc instanceof Array) 7180 if ($desc instanceof Array)
7029 $desc = $desc[1]; 7181 $desc = $desc[1];
7030 applyExperimentalFixup_newGetTagDartFunction.prototype = $desc; 7182 applyExperimentalFixup_newGetTagDartFunction.prototype = $desc;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
7124 this.box_0 = box_0; 7276 this.box_0 = box_0;
7125 this.pos_1 = pos_1; 7277 this.pos_1 = pos_1;
7126 } 7278 }
7127 Future_wait_closure.builtin$cls = "Future_wait_closure"; 7279 Future_wait_closure.builtin$cls = "Future_wait_closure";
7128 if (!"name" in Future_wait_closure) 7280 if (!"name" in Future_wait_closure)
7129 Future_wait_closure.name = "Future_wait_closure"; 7281 Future_wait_closure.name = "Future_wait_closure";
7130 $desc = $collectedClasses.Future_wait_closure; 7282 $desc = $collectedClasses.Future_wait_closure;
7131 if ($desc instanceof Array) 7283 if ($desc instanceof Array)
7132 $desc = $desc[1]; 7284 $desc = $desc[1];
7133 Future_wait_closure.prototype = $desc; 7285 Future_wait_closure.prototype = $desc;
7134 function _Completer(future) { 7286 function _Completer() {
7135 this.future = future;
7136 } 7287 }
7137 _Completer.builtin$cls = "_Completer"; 7288 _Completer.builtin$cls = "_Completer";
7138 if (!"name" in _Completer) 7289 if (!"name" in _Completer)
7139 _Completer.name = "_Completer"; 7290 _Completer.name = "_Completer";
7140 $desc = $collectedClasses._Completer; 7291 $desc = $collectedClasses._Completer;
7141 if ($desc instanceof Array) 7292 if ($desc instanceof Array)
7142 $desc = $desc[1]; 7293 $desc = $desc[1];
7143 _Completer.prototype = $desc; 7294 _Completer.prototype = $desc;
7144 _Completer.prototype.get$future = function() {
7145 return this.future;
7146 };
7147 function _AsyncCompleter(future) { 7295 function _AsyncCompleter(future) {
7148 this.future = future; 7296 this.future = future;
7149 } 7297 }
7150 _AsyncCompleter.builtin$cls = "_AsyncCompleter"; 7298 _AsyncCompleter.builtin$cls = "_AsyncCompleter";
7151 if (!"name" in _AsyncCompleter) 7299 if (!"name" in _AsyncCompleter)
7152 _AsyncCompleter.name = "_AsyncCompleter"; 7300 _AsyncCompleter.name = "_AsyncCompleter";
7153 $desc = $collectedClasses._AsyncCompleter; 7301 $desc = $collectedClasses._AsyncCompleter;
7154 if ($desc instanceof Array) 7302 if ($desc instanceof Array)
7155 $desc = $desc[1]; 7303 $desc = $desc[1];
7156 _AsyncCompleter.prototype = $desc; 7304 _AsyncCompleter.prototype = $desc;
7305 function BoundClosure$2(_self, __js_helper$_target, _receiver, __js_helper$_na me) {
7306 this._self = _self;
7307 this.__js_helper$_target = __js_helper$_target;
7308 this._receiver = _receiver;
7309 this.__js_helper$_name = __js_helper$_name;
7310 }
7311 BoundClosure$2.builtin$cls = "BoundClosure$2";
7312 $desc = $collectedClasses.BoundClosure$2;
7313 if ($desc instanceof Array)
7314 $desc = $desc[1];
7315 BoundClosure$2.prototype = $desc;
7157 function _Future(_state, _zone, _resultOrListeners, _nextListener, _onValueCal lback, _errorTestCallback, _onErrorCallback, _whenCompleteActionCallback) { 7316 function _Future(_state, _zone, _resultOrListeners, _nextListener, _onValueCal lback, _errorTestCallback, _onErrorCallback, _whenCompleteActionCallback) {
7158 this._state = _state; 7317 this._state = _state;
7159 this._zone = _zone; 7318 this._zone = _zone;
7160 this._resultOrListeners = _resultOrListeners; 7319 this._resultOrListeners = _resultOrListeners;
7161 this._nextListener = _nextListener; 7320 this._nextListener = _nextListener;
7162 this._onValueCallback = _onValueCallback; 7321 this._onValueCallback = _onValueCallback;
7163 this._errorTestCallback = _errorTestCallback; 7322 this._errorTestCallback = _errorTestCallback;
7164 this._onErrorCallback = _onErrorCallback; 7323 this._onErrorCallback = _onErrorCallback;
7165 this._whenCompleteActionCallback = _whenCompleteActionCallback; 7324 this._whenCompleteActionCallback = _whenCompleteActionCallback;
7166 } 7325 }
7167 _Future.builtin$cls = "_Future"; 7326 _Future.builtin$cls = "_Future";
7168 if (!"name" in _Future) 7327 if (!"name" in _Future)
7169 _Future.name = "_Future"; 7328 _Future.name = "_Future";
7170 $desc = $collectedClasses._Future; 7329 $desc = $collectedClasses._Future;
7171 if ($desc instanceof Array) 7330 if ($desc instanceof Array)
7172 $desc = $desc[1]; 7331 $desc = $desc[1];
7173 _Future.prototype = $desc; 7332 _Future.prototype = $desc;
7174 _Future.prototype.get$_zone = function() { 7333 _Future.prototype.get$_zone = function() {
7175 return this._zone; 7334 return this._zone;
7176 }; 7335 };
7177 _Future.prototype.get$_nextListener = function() { 7336 _Future.prototype.get$_nextListener = function() {
7178 return this._nextListener; 7337 return this._nextListener;
7179 }; 7338 };
7180 _Future.prototype.set$_nextListener = function(v) { 7339 _Future.prototype.set$_nextListener = function(v) {
7181 return this._nextListener = v; 7340 return this._nextListener = v;
7182 }; 7341 };
7183 function BoundClosure$2(_self, _target, _receiver, __js_helper$_name) {
7184 this._self = _self;
7185 this._target = _target;
7186 this._receiver = _receiver;
7187 this.__js_helper$_name = __js_helper$_name;
7188 }
7189 BoundClosure$2.builtin$cls = "BoundClosure$2";
7190 $desc = $collectedClasses.BoundClosure$2;
7191 if ($desc instanceof Array)
7192 $desc = $desc[1];
7193 BoundClosure$2.prototype = $desc;
7194 function _Future__addListener_closure(this_0, listener_1) { 7342 function _Future__addListener_closure(this_0, listener_1) {
7195 this.this_0 = this_0; 7343 this.this_0 = this_0;
7196 this.listener_1 = listener_1; 7344 this.listener_1 = listener_1;
7197 } 7345 }
7198 _Future__addListener_closure.builtin$cls = "_Future__addListener_closure"; 7346 _Future__addListener_closure.builtin$cls = "_Future__addListener_closure";
7199 if (!"name" in _Future__addListener_closure) 7347 if (!"name" in _Future__addListener_closure)
7200 _Future__addListener_closure.name = "_Future__addListener_closure"; 7348 _Future__addListener_closure.name = "_Future__addListener_closure";
7201 $desc = $collectedClasses._Future__addListener_closure; 7349 $desc = $collectedClasses._Future__addListener_closure;
7202 if ($desc instanceof Array) 7350 if ($desc instanceof Array)
7203 $desc = $desc[1]; 7351 $desc = $desc[1];
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after
7357 this.box_0 = box_0; 7505 this.box_0 = box_0;
7358 this.future_1 = future_1; 7506 this.future_1 = future_1;
7359 } 7507 }
7360 Stream_length_closure0.builtin$cls = "Stream_length_closure0"; 7508 Stream_length_closure0.builtin$cls = "Stream_length_closure0";
7361 if (!"name" in Stream_length_closure0) 7509 if (!"name" in Stream_length_closure0)
7362 Stream_length_closure0.name = "Stream_length_closure0"; 7510 Stream_length_closure0.name = "Stream_length_closure0";
7363 $desc = $collectedClasses.Stream_length_closure0; 7511 $desc = $collectedClasses.Stream_length_closure0;
7364 if ($desc instanceof Array) 7512 if ($desc instanceof Array)
7365 $desc = $desc[1]; 7513 $desc = $desc[1];
7366 Stream_length_closure0.prototype = $desc; 7514 Stream_length_closure0.prototype = $desc;
7515 function Stream_isEmpty_closure(box_0, future_1) {
7516 this.box_0 = box_0;
7517 this.future_1 = future_1;
7518 }
7519 Stream_isEmpty_closure.builtin$cls = "Stream_isEmpty_closure";
7520 if (!"name" in Stream_isEmpty_closure)
7521 Stream_isEmpty_closure.name = "Stream_isEmpty_closure";
7522 $desc = $collectedClasses.Stream_isEmpty_closure;
7523 if ($desc instanceof Array)
7524 $desc = $desc[1];
7525 Stream_isEmpty_closure.prototype = $desc;
7526 function Stream_isEmpty_closure0(future_2) {
7527 this.future_2 = future_2;
7528 }
7529 Stream_isEmpty_closure0.builtin$cls = "Stream_isEmpty_closure0";
7530 if (!"name" in Stream_isEmpty_closure0)
7531 Stream_isEmpty_closure0.name = "Stream_isEmpty_closure0";
7532 $desc = $collectedClasses.Stream_isEmpty_closure0;
7533 if ($desc instanceof Array)
7534 $desc = $desc[1];
7535 Stream_isEmpty_closure0.prototype = $desc;
7367 function StreamSubscription() { 7536 function StreamSubscription() {
7368 } 7537 }
7369 StreamSubscription.builtin$cls = "StreamSubscription"; 7538 StreamSubscription.builtin$cls = "StreamSubscription";
7370 if (!"name" in StreamSubscription) 7539 if (!"name" in StreamSubscription)
7371 StreamSubscription.name = "StreamSubscription"; 7540 StreamSubscription.name = "StreamSubscription";
7372 $desc = $collectedClasses.StreamSubscription; 7541 $desc = $collectedClasses.StreamSubscription;
7373 if ($desc instanceof Array) 7542 if ($desc instanceof Array)
7374 $desc = $desc[1]; 7543 $desc = $desc[1];
7375 StreamSubscription.prototype = $desc; 7544 StreamSubscription.prototype = $desc;
7376 function EventSink() {
7377 }
7378 EventSink.builtin$cls = "EventSink";
7379 if (!"name" in EventSink)
7380 EventSink.name = "EventSink";
7381 $desc = $collectedClasses.EventSink;
7382 if ($desc instanceof Array)
7383 $desc = $desc[1];
7384 EventSink.prototype = $desc;
7385 function _StreamController() { 7545 function _StreamController() {
7386 } 7546 }
7387 _StreamController.builtin$cls = "_StreamController"; 7547 _StreamController.builtin$cls = "_StreamController";
7388 if (!"name" in _StreamController) 7548 if (!"name" in _StreamController)
7389 _StreamController.name = "_StreamController"; 7549 _StreamController.name = "_StreamController";
7390 $desc = $collectedClasses._StreamController; 7550 $desc = $collectedClasses._StreamController;
7391 if ($desc instanceof Array) 7551 if ($desc instanceof Array)
7392 $desc = $desc[1]; 7552 $desc = $desc[1];
7393 _StreamController.prototype = $desc; 7553 _StreamController.prototype = $desc;
7394 function _StreamController__subscribe_closure(this_0) { 7554 function _StreamController__subscribe_closure(this_0) {
7395 this.this_0 = this_0; 7555 this.this_0 = this_0;
7396 } 7556 }
7397 _StreamController__subscribe_closure.builtin$cls = "_StreamController__subscri be_closure"; 7557 _StreamController__subscribe_closure.builtin$cls = "_StreamController__subscri be_closure";
7398 if (!"name" in _StreamController__subscribe_closure) 7558 if (!"name" in _StreamController__subscribe_closure)
7399 _StreamController__subscribe_closure.name = "_StreamController__subscribe_cl osure"; 7559 _StreamController__subscribe_closure.name = "_StreamController__subscribe_cl osure";
7400 $desc = $collectedClasses._StreamController__subscribe_closure; 7560 $desc = $collectedClasses._StreamController__subscribe_closure;
7401 if ($desc instanceof Array) 7561 if ($desc instanceof Array)
7402 $desc = $desc[1]; 7562 $desc = $desc[1];
7403 _StreamController__subscribe_closure.prototype = $desc; 7563 _StreamController__subscribe_closure.prototype = $desc;
7564 function _StreamController__recordCancel_complete(this_0) {
7565 this.this_0 = this_0;
7566 }
7567 _StreamController__recordCancel_complete.builtin$cls = "_StreamController__rec ordCancel_complete";
7568 if (!"name" in _StreamController__recordCancel_complete)
7569 _StreamController__recordCancel_complete.name = "_StreamController__recordCa ncel_complete";
7570 $desc = $collectedClasses._StreamController__recordCancel_complete;
7571 if ($desc instanceof Array)
7572 $desc = $desc[1];
7573 _StreamController__recordCancel_complete.prototype = $desc;
7404 function _SyncStreamControllerDispatch() { 7574 function _SyncStreamControllerDispatch() {
7405 } 7575 }
7406 _SyncStreamControllerDispatch.builtin$cls = "_SyncStreamControllerDispatch"; 7576 _SyncStreamControllerDispatch.builtin$cls = "_SyncStreamControllerDispatch";
7407 if (!"name" in _SyncStreamControllerDispatch) 7577 if (!"name" in _SyncStreamControllerDispatch)
7408 _SyncStreamControllerDispatch.name = "_SyncStreamControllerDispatch"; 7578 _SyncStreamControllerDispatch.name = "_SyncStreamControllerDispatch";
7409 $desc = $collectedClasses._SyncStreamControllerDispatch; 7579 $desc = $collectedClasses._SyncStreamControllerDispatch;
7410 if ($desc instanceof Array) 7580 if ($desc instanceof Array)
7411 $desc = $desc[1]; 7581 $desc = $desc[1];
7412 _SyncStreamControllerDispatch.prototype = $desc; 7582 _SyncStreamControllerDispatch.prototype = $desc;
7413 function _AsyncStreamControllerDispatch() { 7583 function _AsyncStreamControllerDispatch() {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
7486 }; 7656 };
7487 function _StreamController__SyncStreamControllerDispatch() { 7657 function _StreamController__SyncStreamControllerDispatch() {
7488 } 7658 }
7489 _StreamController__SyncStreamControllerDispatch.builtin$cls = "_StreamControll er__SyncStreamControllerDispatch"; 7659 _StreamController__SyncStreamControllerDispatch.builtin$cls = "_StreamControll er__SyncStreamControllerDispatch";
7490 if (!"name" in _StreamController__SyncStreamControllerDispatch) 7660 if (!"name" in _StreamController__SyncStreamControllerDispatch)
7491 _StreamController__SyncStreamControllerDispatch.name = "_StreamController__S yncStreamControllerDispatch"; 7661 _StreamController__SyncStreamControllerDispatch.name = "_StreamController__S yncStreamControllerDispatch";
7492 $desc = $collectedClasses._StreamController__SyncStreamControllerDispatch; 7662 $desc = $collectedClasses._StreamController__SyncStreamControllerDispatch;
7493 if ($desc instanceof Array) 7663 if ($desc instanceof Array)
7494 $desc = $desc[1]; 7664 $desc = $desc[1];
7495 _StreamController__SyncStreamControllerDispatch.prototype = $desc; 7665 _StreamController__SyncStreamControllerDispatch.prototype = $desc;
7496 function _ControllerStream(_controller) { 7666 function _ControllerStream(_async$_controller) {
7497 this._controller = _controller; 7667 this._async$_controller = _async$_controller;
7498 } 7668 }
7499 _ControllerStream.builtin$cls = "_ControllerStream"; 7669 _ControllerStream.builtin$cls = "_ControllerStream";
7500 if (!"name" in _ControllerStream) 7670 if (!"name" in _ControllerStream)
7501 _ControllerStream.name = "_ControllerStream"; 7671 _ControllerStream.name = "_ControllerStream";
7502 $desc = $collectedClasses._ControllerStream; 7672 $desc = $collectedClasses._ControllerStream;
7503 if ($desc instanceof Array) 7673 if ($desc instanceof Array)
7504 $desc = $desc[1]; 7674 $desc = $desc[1];
7505 _ControllerStream.prototype = $desc; 7675 _ControllerStream.prototype = $desc;
7506 function _ControllerSubscription(_controller, _onData, _onError, _onDone, _zon e, _state, _pending) { 7676 function _ControllerSubscription(_async$_controller, _async$_onData, _onError, _onDone, _zone, _state, _cancelFuture, _pending) {
7507 this._controller = _controller; 7677 this._async$_controller = _async$_controller;
7508 this._onData = _onData; 7678 this._async$_onData = _async$_onData;
7509 this._onError = _onError; 7679 this._onError = _onError;
7510 this._onDone = _onDone; 7680 this._onDone = _onDone;
7511 this._zone = _zone; 7681 this._zone = _zone;
7512 this._state = _state; 7682 this._state = _state;
7683 this._cancelFuture = _cancelFuture;
7513 this._pending = _pending; 7684 this._pending = _pending;
7514 } 7685 }
7515 _ControllerSubscription.builtin$cls = "_ControllerSubscription"; 7686 _ControllerSubscription.builtin$cls = "_ControllerSubscription";
7516 if (!"name" in _ControllerSubscription) 7687 if (!"name" in _ControllerSubscription)
7517 _ControllerSubscription.name = "_ControllerSubscription"; 7688 _ControllerSubscription.name = "_ControllerSubscription";
7518 $desc = $collectedClasses._ControllerSubscription; 7689 $desc = $collectedClasses._ControllerSubscription;
7519 if ($desc instanceof Array) 7690 if ($desc instanceof Array)
7520 $desc = $desc[1]; 7691 $desc = $desc[1];
7521 _ControllerSubscription.prototype = $desc; 7692 _ControllerSubscription.prototype = $desc;
7522 function BoundClosure$0(_self, _target, _receiver, __js_helper$_name) { 7693 function BoundClosure$0(_self, __js_helper$_target, _receiver, __js_helper$_na me) {
7523 this._self = _self; 7694 this._self = _self;
7524 this._target = _target; 7695 this.__js_helper$_target = __js_helper$_target;
7525 this._receiver = _receiver; 7696 this._receiver = _receiver;
7526 this.__js_helper$_name = __js_helper$_name; 7697 this.__js_helper$_name = __js_helper$_name;
7527 } 7698 }
7528 BoundClosure$0.builtin$cls = "BoundClosure$0"; 7699 BoundClosure$0.builtin$cls = "BoundClosure$0";
7529 $desc = $collectedClasses.BoundClosure$0; 7700 $desc = $collectedClasses.BoundClosure$0;
7530 if ($desc instanceof Array) 7701 if ($desc instanceof Array)
7531 $desc = $desc[1]; 7702 $desc = $desc[1];
7532 BoundClosure$0.prototype = $desc; 7703 BoundClosure$0.prototype = $desc;
7533 function _EventSink() { 7704 function _EventSink() {
7534 } 7705 }
7535 _EventSink.builtin$cls = "_EventSink"; 7706 _EventSink.builtin$cls = "_EventSink";
7536 if (!"name" in _EventSink) 7707 if (!"name" in _EventSink)
7537 _EventSink.name = "_EventSink"; 7708 _EventSink.name = "_EventSink";
7538 $desc = $collectedClasses._EventSink; 7709 $desc = $collectedClasses._EventSink;
7539 if ($desc instanceof Array) 7710 if ($desc instanceof Array)
7540 $desc = $desc[1]; 7711 $desc = $desc[1];
7541 _EventSink.prototype = $desc; 7712 _EventSink.prototype = $desc;
7542 function _BufferingStreamSubscription(_onData, _onError, _onDone, _zone, _stat e, _pending) { 7713 function _BufferingStreamSubscription(_async$_onData, _onError, _onDone, _zone , _state, _cancelFuture, _pending) {
7543 this._onData = _onData; 7714 this._async$_onData = _async$_onData;
7544 this._onError = _onError; 7715 this._onError = _onError;
7545 this._onDone = _onDone; 7716 this._onDone = _onDone;
7546 this._zone = _zone; 7717 this._zone = _zone;
7547 this._state = _state; 7718 this._state = _state;
7719 this._cancelFuture = _cancelFuture;
7548 this._pending = _pending; 7720 this._pending = _pending;
7549 } 7721 }
7550 _BufferingStreamSubscription.builtin$cls = "_BufferingStreamSubscription"; 7722 _BufferingStreamSubscription.builtin$cls = "_BufferingStreamSubscription";
7551 if (!"name" in _BufferingStreamSubscription) 7723 if (!"name" in _BufferingStreamSubscription)
7552 _BufferingStreamSubscription.name = "_BufferingStreamSubscription"; 7724 _BufferingStreamSubscription.name = "_BufferingStreamSubscription";
7553 $desc = $collectedClasses._BufferingStreamSubscription; 7725 $desc = $collectedClasses._BufferingStreamSubscription;
7554 if ($desc instanceof Array) 7726 if ($desc instanceof Array)
7555 $desc = $desc[1]; 7727 $desc = $desc[1];
7556 _BufferingStreamSubscription.prototype = $desc; 7728 _BufferingStreamSubscription.prototype = $desc;
7557 _BufferingStreamSubscription.prototype.get$_zone = function() { 7729 _BufferingStreamSubscription.prototype.get$_zone = function() {
7558 return this._zone; 7730 return this._zone;
7559 }; 7731 };
7732 function _BufferingStreamSubscription__sendDone_sendDone(this_0) {
7733 this.this_0 = this_0;
7734 }
7735 _BufferingStreamSubscription__sendDone_sendDone.builtin$cls = "_BufferingStrea mSubscription__sendDone_sendDone";
7736 if (!"name" in _BufferingStreamSubscription__sendDone_sendDone)
7737 _BufferingStreamSubscription__sendDone_sendDone.name = "_BufferingStreamSubs cription__sendDone_sendDone";
7738 $desc = $collectedClasses._BufferingStreamSubscription__sendDone_sendDone;
7739 if ($desc instanceof Array)
7740 $desc = $desc[1];
7741 _BufferingStreamSubscription__sendDone_sendDone.prototype = $desc;
7560 function _StreamImpl() { 7742 function _StreamImpl() {
7561 } 7743 }
7562 _StreamImpl.builtin$cls = "_StreamImpl"; 7744 _StreamImpl.builtin$cls = "_StreamImpl";
7563 if (!"name" in _StreamImpl) 7745 if (!"name" in _StreamImpl)
7564 _StreamImpl.name = "_StreamImpl"; 7746 _StreamImpl.name = "_StreamImpl";
7565 $desc = $collectedClasses._StreamImpl; 7747 $desc = $collectedClasses._StreamImpl;
7566 if ($desc instanceof Array) 7748 if ($desc instanceof Array)
7567 $desc = $desc[1]; 7749 $desc = $desc[1];
7568 _StreamImpl.prototype = $desc; 7750 _StreamImpl.prototype = $desc;
7569 function _DelayedEvent(next) { 7751 function _DelayedEvent(next) {
(...skipping 16 matching lines...) Expand all
7586 this.value = value; 7768 this.value = value;
7587 this.next = next; 7769 this.next = next;
7588 } 7770 }
7589 _DelayedData.builtin$cls = "_DelayedData"; 7771 _DelayedData.builtin$cls = "_DelayedData";
7590 if (!"name" in _DelayedData) 7772 if (!"name" in _DelayedData)
7591 _DelayedData.name = "_DelayedData"; 7773 _DelayedData.name = "_DelayedData";
7592 $desc = $collectedClasses._DelayedData; 7774 $desc = $collectedClasses._DelayedData;
7593 if ($desc instanceof Array) 7775 if ($desc instanceof Array)
7594 $desc = $desc[1]; 7776 $desc = $desc[1];
7595 _DelayedData.prototype = $desc; 7777 _DelayedData.prototype = $desc;
7596 function _DelayedError(error, stackTrace, next) { 7778 function _DelayedDone() {
7597 this.error = error;
7598 this.stackTrace = stackTrace;
7599 this.next = next;
7600 } 7779 }
7601 _DelayedError.builtin$cls = "_DelayedError"; 7780 _DelayedDone.builtin$cls = "_DelayedDone";
7602 if (!"name" in _DelayedError) 7781 if (!"name" in _DelayedDone)
7603 _DelayedError.name = "_DelayedError"; 7782 _DelayedDone.name = "_DelayedDone";
7604 $desc = $collectedClasses._DelayedError; 7783 $desc = $collectedClasses._DelayedDone;
7605 if ($desc instanceof Array) 7784 if ($desc instanceof Array)
7606 $desc = $desc[1]; 7785 $desc = $desc[1];
7607 _DelayedError.prototype = $desc; 7786 _DelayedDone.prototype = $desc;
7608 _DelayedError.prototype.get$error = function(receiver) {
7609 return this.error;
7610 };
7611 _DelayedError.prototype.get$stackTrace = function() {
7612 return this.stackTrace;
7613 };
7614 function _PendingEvents() { 7787 function _PendingEvents() {
7615 } 7788 }
7616 _PendingEvents.builtin$cls = "_PendingEvents"; 7789 _PendingEvents.builtin$cls = "_PendingEvents";
7617 if (!"name" in _PendingEvents) 7790 if (!"name" in _PendingEvents)
7618 _PendingEvents.name = "_PendingEvents"; 7791 _PendingEvents.name = "_PendingEvents";
7619 $desc = $collectedClasses._PendingEvents; 7792 $desc = $collectedClasses._PendingEvents;
7620 if ($desc instanceof Array) 7793 if ($desc instanceof Array)
7621 $desc = $desc[1]; 7794 $desc = $desc[1];
7622 _PendingEvents.prototype = $desc; 7795 _PendingEvents.prototype = $desc;
7623 function _PendingEvents_schedule_closure(this_0, dispatch_1) { 7796 function _PendingEvents_schedule_closure(this_0, dispatch_1) {
(...skipping 12 matching lines...) Expand all
7636 this.lastPendingEvent = lastPendingEvent; 7809 this.lastPendingEvent = lastPendingEvent;
7637 this._state = _state; 7810 this._state = _state;
7638 } 7811 }
7639 _StreamImplEvents.builtin$cls = "_StreamImplEvents"; 7812 _StreamImplEvents.builtin$cls = "_StreamImplEvents";
7640 if (!"name" in _StreamImplEvents) 7813 if (!"name" in _StreamImplEvents)
7641 _StreamImplEvents.name = "_StreamImplEvents"; 7814 _StreamImplEvents.name = "_StreamImplEvents";
7642 $desc = $collectedClasses._StreamImplEvents; 7815 $desc = $collectedClasses._StreamImplEvents;
7643 if ($desc instanceof Array) 7816 if ($desc instanceof Array)
7644 $desc = $desc[1]; 7817 $desc = $desc[1];
7645 _StreamImplEvents.prototype = $desc; 7818 _StreamImplEvents.prototype = $desc;
7646 function _cancelAndError_closure(subscription_0, future_1) { 7819 function _cancelAndError_closure(future_0, error_1, stackTrace_2) {
7647 this.subscription_0 = subscription_0; 7820 this.future_0 = future_0;
7648 this.future_1 = future_1; 7821 this.error_1 = error_1;
7822 this.stackTrace_2 = stackTrace_2;
7649 } 7823 }
7650 _cancelAndError_closure.builtin$cls = "_cancelAndError_closure"; 7824 _cancelAndError_closure.builtin$cls = "_cancelAndError_closure";
7651 if (!"name" in _cancelAndError_closure) 7825 if (!"name" in _cancelAndError_closure)
7652 _cancelAndError_closure.name = "_cancelAndError_closure"; 7826 _cancelAndError_closure.name = "_cancelAndError_closure";
7653 $desc = $collectedClasses._cancelAndError_closure; 7827 $desc = $collectedClasses._cancelAndError_closure;
7654 if ($desc instanceof Array) 7828 if ($desc instanceof Array)
7655 $desc = $desc[1]; 7829 $desc = $desc[1];
7656 _cancelAndError_closure.prototype = $desc; 7830 _cancelAndError_closure.prototype = $desc;
7831 function _cancelAndErrorClosure_closure(subscription_0, future_1) {
7832 this.subscription_0 = subscription_0;
7833 this.future_1 = future_1;
7834 }
7835 _cancelAndErrorClosure_closure.builtin$cls = "_cancelAndErrorClosure_closure";
7836 if (!"name" in _cancelAndErrorClosure_closure)
7837 _cancelAndErrorClosure_closure.name = "_cancelAndErrorClosure_closure";
7838 $desc = $collectedClasses._cancelAndErrorClosure_closure;
7839 if ($desc instanceof Array)
7840 $desc = $desc[1];
7841 _cancelAndErrorClosure_closure.prototype = $desc;
7842 function _cancelAndValue_closure(future_0, value_1) {
7843 this.future_0 = future_0;
7844 this.value_1 = value_1;
7845 }
7846 _cancelAndValue_closure.builtin$cls = "_cancelAndValue_closure";
7847 if (!"name" in _cancelAndValue_closure)
7848 _cancelAndValue_closure.name = "_cancelAndValue_closure";
7849 $desc = $collectedClasses._cancelAndValue_closure;
7850 if ($desc instanceof Array)
7851 $desc = $desc[1];
7852 _cancelAndValue_closure.prototype = $desc;
7657 function _BaseZone() { 7853 function _BaseZone() {
7658 } 7854 }
7659 _BaseZone.builtin$cls = "_BaseZone"; 7855 _BaseZone.builtin$cls = "_BaseZone";
7660 if (!"name" in _BaseZone) 7856 if (!"name" in _BaseZone)
7661 _BaseZone.name = "_BaseZone"; 7857 _BaseZone.name = "_BaseZone";
7662 $desc = $collectedClasses._BaseZone; 7858 $desc = $collectedClasses._BaseZone;
7663 if ($desc instanceof Array) 7859 if ($desc instanceof Array)
7664 $desc = $desc[1]; 7860 $desc = $desc[1];
7665 _BaseZone.prototype = $desc; 7861 _BaseZone.prototype = $desc;
7666 function _BaseZone_bindCallback_closure(this_0, registered_1) { 7862 function _BaseZone_bindCallback_closure(this_0, registered_1) {
(...skipping 11 matching lines...) Expand all
7678 this.this_2 = this_2; 7874 this.this_2 = this_2;
7679 this.registered_3 = registered_3; 7875 this.registered_3 = registered_3;
7680 } 7876 }
7681 _BaseZone_bindCallback_closure0.builtin$cls = "_BaseZone_bindCallback_closure0 "; 7877 _BaseZone_bindCallback_closure0.builtin$cls = "_BaseZone_bindCallback_closure0 ";
7682 if (!"name" in _BaseZone_bindCallback_closure0) 7878 if (!"name" in _BaseZone_bindCallback_closure0)
7683 _BaseZone_bindCallback_closure0.name = "_BaseZone_bindCallback_closure0"; 7879 _BaseZone_bindCallback_closure0.name = "_BaseZone_bindCallback_closure0";
7684 $desc = $collectedClasses._BaseZone_bindCallback_closure0; 7880 $desc = $collectedClasses._BaseZone_bindCallback_closure0;
7685 if ($desc instanceof Array) 7881 if ($desc instanceof Array)
7686 $desc = $desc[1]; 7882 $desc = $desc[1];
7687 _BaseZone_bindCallback_closure0.prototype = $desc; 7883 _BaseZone_bindCallback_closure0.prototype = $desc;
7884 function _BaseZone_bindUnaryCallback_closure(this_0, registered_1) {
7885 this.this_0 = this_0;
7886 this.registered_1 = registered_1;
7887 }
7888 _BaseZone_bindUnaryCallback_closure.builtin$cls = "_BaseZone_bindUnaryCallback _closure";
7889 if (!"name" in _BaseZone_bindUnaryCallback_closure)
7890 _BaseZone_bindUnaryCallback_closure.name = "_BaseZone_bindUnaryCallback_clos ure";
7891 $desc = $collectedClasses._BaseZone_bindUnaryCallback_closure;
7892 if ($desc instanceof Array)
7893 $desc = $desc[1];
7894 _BaseZone_bindUnaryCallback_closure.prototype = $desc;
7895 function _BaseZone_bindUnaryCallback_closure0(this_2, registered_3) {
7896 this.this_2 = this_2;
7897 this.registered_3 = registered_3;
7898 }
7899 _BaseZone_bindUnaryCallback_closure0.builtin$cls = "_BaseZone_bindUnaryCallbac k_closure0";
7900 if (!"name" in _BaseZone_bindUnaryCallback_closure0)
7901 _BaseZone_bindUnaryCallback_closure0.name = "_BaseZone_bindUnaryCallback_clo sure0";
7902 $desc = $collectedClasses._BaseZone_bindUnaryCallback_closure0;
7903 if ($desc instanceof Array)
7904 $desc = $desc[1];
7905 _BaseZone_bindUnaryCallback_closure0.prototype = $desc;
7688 function _rootHandleUncaughtError_closure(error_0, stackTrace_1) { 7906 function _rootHandleUncaughtError_closure(error_0, stackTrace_1) {
7689 this.error_0 = error_0; 7907 this.error_0 = error_0;
7690 this.stackTrace_1 = stackTrace_1; 7908 this.stackTrace_1 = stackTrace_1;
7691 } 7909 }
7692 _rootHandleUncaughtError_closure.builtin$cls = "_rootHandleUncaughtError_closu re"; 7910 _rootHandleUncaughtError_closure.builtin$cls = "_rootHandleUncaughtError_closu re";
7693 if (!"name" in _rootHandleUncaughtError_closure) 7911 if (!"name" in _rootHandleUncaughtError_closure)
7694 _rootHandleUncaughtError_closure.name = "_rootHandleUncaughtError_closure"; 7912 _rootHandleUncaughtError_closure.name = "_rootHandleUncaughtError_closure";
7695 $desc = $collectedClasses._rootHandleUncaughtError_closure; 7913 $desc = $collectedClasses._rootHandleUncaughtError_closure;
7696 if ($desc instanceof Array) 7914 if ($desc instanceof Array)
7697 $desc = $desc[1]; 7915 $desc = $desc[1];
7698 _rootHandleUncaughtError_closure.prototype = $desc; 7916 _rootHandleUncaughtError_closure.prototype = $desc;
7917 function _rootHandleUncaughtError__closure(error_2, stackTrace_3) {
7918 this.error_2 = error_2;
7919 this.stackTrace_3 = stackTrace_3;
7920 }
7921 _rootHandleUncaughtError__closure.builtin$cls = "_rootHandleUncaughtError__clo sure";
7922 if (!"name" in _rootHandleUncaughtError__closure)
7923 _rootHandleUncaughtError__closure.name = "_rootHandleUncaughtError__closure" ;
7924 $desc = $collectedClasses._rootHandleUncaughtError__closure;
7925 if ($desc instanceof Array)
7926 $desc = $desc[1];
7927 _rootHandleUncaughtError__closure.prototype = $desc;
7699 function _RootZone() { 7928 function _RootZone() {
7700 } 7929 }
7701 _RootZone.builtin$cls = "_RootZone"; 7930 _RootZone.builtin$cls = "_RootZone";
7702 if (!"name" in _RootZone) 7931 if (!"name" in _RootZone)
7703 _RootZone.name = "_RootZone"; 7932 _RootZone.name = "_RootZone";
7704 $desc = $collectedClasses._RootZone; 7933 $desc = $collectedClasses._RootZone;
7705 if ($desc instanceof Array) 7934 if ($desc instanceof Array)
7706 $desc = $desc[1]; 7935 $desc = $desc[1];
7707 _RootZone.prototype = $desc; 7936 _RootZone.prototype = $desc;
7708 function _HashMap(_collection$_length, _strings, _nums, _rest, _keys) { 7937 function _HashMap(_collection$_length, _strings, _nums, _rest, _keys) {
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
7784 this._next = _next; 8013 this._next = _next;
7785 this._previous = _previous; 8014 this._previous = _previous;
7786 } 8015 }
7787 LinkedHashMapCell.builtin$cls = "LinkedHashMapCell"; 8016 LinkedHashMapCell.builtin$cls = "LinkedHashMapCell";
7788 if (!"name" in LinkedHashMapCell) 8017 if (!"name" in LinkedHashMapCell)
7789 LinkedHashMapCell.name = "LinkedHashMapCell"; 8018 LinkedHashMapCell.name = "LinkedHashMapCell";
7790 $desc = $collectedClasses.LinkedHashMapCell; 8019 $desc = $collectedClasses.LinkedHashMapCell;
7791 if ($desc instanceof Array) 8020 if ($desc instanceof Array)
7792 $desc = $desc[1]; 8021 $desc = $desc[1];
7793 LinkedHashMapCell.prototype = $desc; 8022 LinkedHashMapCell.prototype = $desc;
7794 LinkedHashMapCell.prototype.get$_key = function() { 8023 LinkedHashMapCell.prototype.get$_key = function(receiver) {
7795 return this._key; 8024 return this._key;
7796 }; 8025 };
7797 LinkedHashMapCell.prototype.get$_collection$_value = function() { 8026 LinkedHashMapCell.prototype.get$_collection$_value = function() {
7798 return this._collection$_value; 8027 return this._collection$_value;
7799 }; 8028 };
7800 LinkedHashMapCell.prototype.set$_collection$_value = function(v) { 8029 LinkedHashMapCell.prototype.set$_collection$_value = function(v) {
7801 return this._collection$_value = v; 8030 return this._collection$_value = v;
7802 }; 8031 };
7803 LinkedHashMapCell.prototype.get$_next = function() { 8032 LinkedHashMapCell.prototype.get$_next = function() {
7804 return this._next; 8033 return this._next;
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
7932 this._position = _position; 8161 this._position = _position;
7933 this._collection$_current = _collection$_current; 8162 this._collection$_current = _collection$_current;
7934 } 8163 }
7935 _ListQueueIterator.builtin$cls = "_ListQueueIterator"; 8164 _ListQueueIterator.builtin$cls = "_ListQueueIterator";
7936 if (!"name" in _ListQueueIterator) 8165 if (!"name" in _ListQueueIterator)
7937 _ListQueueIterator.name = "_ListQueueIterator"; 8166 _ListQueueIterator.name = "_ListQueueIterator";
7938 $desc = $collectedClasses._ListQueueIterator; 8167 $desc = $collectedClasses._ListQueueIterator;
7939 if ($desc instanceof Array) 8168 if ($desc instanceof Array)
7940 $desc = $desc[1]; 8169 $desc = $desc[1];
7941 _ListQueueIterator.prototype = $desc; 8170 _ListQueueIterator.prototype = $desc;
8171 function _convertJsonToDart_closure() {
8172 }
8173 _convertJsonToDart_closure.builtin$cls = "_convertJsonToDart_closure";
8174 if (!"name" in _convertJsonToDart_closure)
8175 _convertJsonToDart_closure.name = "_convertJsonToDart_closure";
8176 $desc = $collectedClasses._convertJsonToDart_closure;
8177 if ($desc instanceof Array)
8178 $desc = $desc[1];
8179 _convertJsonToDart_closure.prototype = $desc;
8180 function _convertJsonToDart_walk(revive_0) {
8181 this.revive_0 = revive_0;
8182 }
8183 _convertJsonToDart_walk.builtin$cls = "_convertJsonToDart_walk";
8184 if (!"name" in _convertJsonToDart_walk)
8185 _convertJsonToDart_walk.name = "_convertJsonToDart_walk";
8186 $desc = $collectedClasses._convertJsonToDart_walk;
8187 if ($desc instanceof Array)
8188 $desc = $desc[1];
8189 _convertJsonToDart_walk.prototype = $desc;
8190 function Codec() {
8191 }
8192 Codec.builtin$cls = "Codec";
8193 if (!"name" in Codec)
8194 Codec.name = "Codec";
8195 $desc = $collectedClasses.Codec;
8196 if ($desc instanceof Array)
8197 $desc = $desc[1];
8198 Codec.prototype = $desc;
8199 function Converter() {
8200 }
8201 Converter.builtin$cls = "Converter";
8202 if (!"name" in Converter)
8203 Converter.name = "Converter";
8204 $desc = $collectedClasses.Converter;
8205 if ($desc instanceof Array)
8206 $desc = $desc[1];
8207 Converter.prototype = $desc;
8208 function JsonCodec() {
8209 }
8210 JsonCodec.builtin$cls = "JsonCodec";
8211 if (!"name" in JsonCodec)
8212 JsonCodec.name = "JsonCodec";
8213 $desc = $collectedClasses.JsonCodec;
8214 if ($desc instanceof Array)
8215 $desc = $desc[1];
8216 JsonCodec.prototype = $desc;
8217 function JsonDecoder(_reviver) {
8218 this._reviver = _reviver;
8219 }
8220 JsonDecoder.builtin$cls = "JsonDecoder";
8221 if (!"name" in JsonDecoder)
8222 JsonDecoder.name = "JsonDecoder";
8223 $desc = $collectedClasses.JsonDecoder;
8224 if ($desc instanceof Array)
8225 $desc = $desc[1];
8226 JsonDecoder.prototype = $desc;
7942 function NoSuchMethodError_toString_closure(box_0) { 8227 function NoSuchMethodError_toString_closure(box_0) {
7943 this.box_0 = box_0; 8228 this.box_0 = box_0;
7944 } 8229 }
7945 NoSuchMethodError_toString_closure.builtin$cls = "NoSuchMethodError_toString_c losure"; 8230 NoSuchMethodError_toString_closure.builtin$cls = "NoSuchMethodError_toString_c losure";
7946 if (!"name" in NoSuchMethodError_toString_closure) 8231 if (!"name" in NoSuchMethodError_toString_closure)
7947 NoSuchMethodError_toString_closure.name = "NoSuchMethodError_toString_closur e"; 8232 NoSuchMethodError_toString_closure.name = "NoSuchMethodError_toString_closur e";
7948 $desc = $collectedClasses.NoSuchMethodError_toString_closure; 8233 $desc = $collectedClasses.NoSuchMethodError_toString_closure;
7949 if ($desc instanceof Array) 8234 if ($desc instanceof Array)
7950 $desc = $desc[1]; 8235 $desc = $desc[1];
7951 NoSuchMethodError_toString_closure.prototype = $desc; 8236 NoSuchMethodError_toString_closure.prototype = $desc;
(...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after
8067 function _ExceptionImplementation(message) { 8352 function _ExceptionImplementation(message) {
8068 this.message = message; 8353 this.message = message;
8069 } 8354 }
8070 _ExceptionImplementation.builtin$cls = "_ExceptionImplementation"; 8355 _ExceptionImplementation.builtin$cls = "_ExceptionImplementation";
8071 if (!"name" in _ExceptionImplementation) 8356 if (!"name" in _ExceptionImplementation)
8072 _ExceptionImplementation.name = "_ExceptionImplementation"; 8357 _ExceptionImplementation.name = "_ExceptionImplementation";
8073 $desc = $collectedClasses._ExceptionImplementation; 8358 $desc = $collectedClasses._ExceptionImplementation;
8074 if ($desc instanceof Array) 8359 if ($desc instanceof Array)
8075 $desc = $desc[1]; 8360 $desc = $desc[1];
8076 _ExceptionImplementation.prototype = $desc; 8361 _ExceptionImplementation.prototype = $desc;
8362 function FormatException(message) {
8363 this.message = message;
8364 }
8365 FormatException.builtin$cls = "FormatException";
8366 if (!"name" in FormatException)
8367 FormatException.name = "FormatException";
8368 $desc = $collectedClasses.FormatException;
8369 if ($desc instanceof Array)
8370 $desc = $desc[1];
8371 FormatException.prototype = $desc;
8077 function Expando(name) { 8372 function Expando(name) {
8078 this.name = name; 8373 this.name = name;
8079 } 8374 }
8080 Expando.builtin$cls = "Expando"; 8375 Expando.builtin$cls = "Expando";
8081 if (!"name" in Expando) 8376 if (!"name" in Expando)
8082 Expando.name = "Expando"; 8377 Expando.name = "Expando";
8083 $desc = $collectedClasses.Expando; 8378 $desc = $collectedClasses.Expando;
8084 if ($desc instanceof Array) 8379 if ($desc instanceof Array)
8085 $desc = $desc[1]; 8380 $desc = $desc[1];
8086 Expando.prototype = $desc; 8381 Expando.prototype = $desc;
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after
8144 }; 8439 };
8145 function Symbol() { 8440 function Symbol() {
8146 } 8441 }
8147 Symbol.builtin$cls = "Symbol"; 8442 Symbol.builtin$cls = "Symbol";
8148 if (!"name" in Symbol) 8443 if (!"name" in Symbol)
8149 Symbol.name = "Symbol"; 8444 Symbol.name = "Symbol";
8150 $desc = $collectedClasses.Symbol; 8445 $desc = $collectedClasses.Symbol;
8151 if ($desc instanceof Array) 8446 if ($desc instanceof Array)
8152 $desc = $desc[1]; 8447 $desc = $desc[1];
8153 Symbol.prototype = $desc; 8448 Symbol.prototype = $desc;
8154 function Geolocation_getCurrentPosition_closure(this_0, completer_1) { 8449 function HttpRequest_getString_closure() {
8155 this.this_0 = this_0;
8156 this.completer_1 = completer_1;
8157 } 8450 }
8158 Geolocation_getCurrentPosition_closure.builtin$cls = "Geolocation_getCurrentPo sition_closure"; 8451 HttpRequest_getString_closure.builtin$cls = "HttpRequest_getString_closure";
8159 if (!"name" in Geolocation_getCurrentPosition_closure) 8452 if (!"name" in HttpRequest_getString_closure)
8160 Geolocation_getCurrentPosition_closure.name = "Geolocation_getCurrentPositio n_closure"; 8453 HttpRequest_getString_closure.name = "HttpRequest_getString_closure";
8161 $desc = $collectedClasses.Geolocation_getCurrentPosition_closure; 8454 $desc = $collectedClasses.HttpRequest_getString_closure;
8162 if ($desc instanceof Array) 8455 if ($desc instanceof Array)
8163 $desc = $desc[1]; 8456 $desc = $desc[1];
8164 Geolocation_getCurrentPosition_closure.prototype = $desc; 8457 HttpRequest_getString_closure.prototype = $desc;
8165 function Geolocation_getCurrentPosition_closure0(completer_2) { 8458 function HttpRequest_request_closure0(xhr_0) {
8166 this.completer_2 = completer_2; 8459 this.xhr_0 = xhr_0;
8167 } 8460 }
8168 Geolocation_getCurrentPosition_closure0.builtin$cls = "Geolocation_getCurrentP osition_closure0"; 8461 HttpRequest_request_closure0.builtin$cls = "HttpRequest_request_closure0";
8169 if (!"name" in Geolocation_getCurrentPosition_closure0) 8462 if (!"name" in HttpRequest_request_closure0)
8170 Geolocation_getCurrentPosition_closure0.name = "Geolocation_getCurrentPositi on_closure0"; 8463 HttpRequest_request_closure0.name = "HttpRequest_request_closure0";
8171 $desc = $collectedClasses.Geolocation_getCurrentPosition_closure0; 8464 $desc = $collectedClasses.HttpRequest_request_closure0;
8172 if ($desc instanceof Array) 8465 if ($desc instanceof Array)
8173 $desc = $desc[1]; 8466 $desc = $desc[1];
8174 Geolocation_getCurrentPosition_closure0.prototype = $desc; 8467 HttpRequest_request_closure0.prototype = $desc;
8175 function Geolocation_watchPosition_closure0(box_0, this_1, options_2) { 8468 function HttpRequest_request_closure(completer_1, xhr_2) {
8176 this.box_0 = box_0; 8469 this.completer_1 = completer_1;
8177 this.this_1 = this_1; 8470 this.xhr_2 = xhr_2;
8178 this.options_2 = options_2;
8179 } 8471 }
8180 Geolocation_watchPosition_closure0.builtin$cls = "Geolocation_watchPosition_cl osure0"; 8472 HttpRequest_request_closure.builtin$cls = "HttpRequest_request_closure";
8181 if (!"name" in Geolocation_watchPosition_closure0) 8473 if (!"name" in HttpRequest_request_closure)
8182 Geolocation_watchPosition_closure0.name = "Geolocation_watchPosition_closure 0"; 8474 HttpRequest_request_closure.name = "HttpRequest_request_closure";
8183 $desc = $collectedClasses.Geolocation_watchPosition_closure0; 8475 $desc = $collectedClasses.HttpRequest_request_closure;
8184 if ($desc instanceof Array) 8476 if ($desc instanceof Array)
8185 $desc = $desc[1]; 8477 $desc = $desc[1];
8186 Geolocation_watchPosition_closure0.prototype = $desc; 8478 HttpRequest_request_closure.prototype = $desc;
8187 function Geolocation_watchPosition__closure(box_0, this_3) { 8479 function Storage_keys_closure(keys_0) {
8188 this.box_0 = box_0; 8480 this.keys_0 = keys_0;
8189 this.this_3 = this_3;
8190 } 8481 }
8191 Geolocation_watchPosition__closure.builtin$cls = "Geolocation_watchPosition__c losure"; 8482 Storage_keys_closure.builtin$cls = "Storage_keys_closure";
8192 if (!"name" in Geolocation_watchPosition__closure) 8483 if (!"name" in Storage_keys_closure)
8193 Geolocation_watchPosition__closure.name = "Geolocation_watchPosition__closur e"; 8484 Storage_keys_closure.name = "Storage_keys_closure";
8194 $desc = $collectedClasses.Geolocation_watchPosition__closure; 8485 $desc = $collectedClasses.Storage_keys_closure;
8195 if ($desc instanceof Array) 8486 if ($desc instanceof Array)
8196 $desc = $desc[1]; 8487 $desc = $desc[1];
8197 Geolocation_watchPosition__closure.prototype = $desc; 8488 Storage_keys_closure.prototype = $desc;
8198 function Geolocation_watchPosition__closure0(box_0) { 8489 function Storage_values_closure(values_0) {
8199 this.box_0 = box_0; 8490 this.values_0 = values_0;
8200 } 8491 }
8201 Geolocation_watchPosition__closure0.builtin$cls = "Geolocation_watchPosition__ closure0"; 8492 Storage_values_closure.builtin$cls = "Storage_values_closure";
8202 if (!"name" in Geolocation_watchPosition__closure0) 8493 if (!"name" in Storage_values_closure)
8203 Geolocation_watchPosition__closure0.name = "Geolocation_watchPosition__closu re0"; 8494 Storage_values_closure.name = "Storage_values_closure";
8204 $desc = $collectedClasses.Geolocation_watchPosition__closure0; 8495 $desc = $collectedClasses.Storage_values_closure;
8205 if ($desc instanceof Array) 8496 if ($desc instanceof Array)
8206 $desc = $desc[1]; 8497 $desc = $desc[1];
8207 Geolocation_watchPosition__closure0.prototype = $desc; 8498 Storage_values_closure.prototype = $desc;
8208 function Geolocation_watchPosition_closure(box_0, this_4) { 8499 function _EventStream(_target, _eventType, _useCapture) {
8209 this.box_0 = box_0; 8500 this._target = _target;
8210 this.this_4 = this_4; 8501 this._eventType = _eventType;
8502 this._useCapture = _useCapture;
8211 } 8503 }
8212 Geolocation_watchPosition_closure.builtin$cls = "Geolocation_watchPosition_clo sure"; 8504 _EventStream.builtin$cls = "_EventStream";
8213 if (!"name" in Geolocation_watchPosition_closure) 8505 if (!"name" in _EventStream)
8214 Geolocation_watchPosition_closure.name = "Geolocation_watchPosition_closure" ; 8506 _EventStream.name = "_EventStream";
8215 $desc = $collectedClasses.Geolocation_watchPosition_closure; 8507 $desc = $collectedClasses._EventStream;
8216 if ($desc instanceof Array) 8508 if ($desc instanceof Array)
8217 $desc = $desc[1]; 8509 $desc = $desc[1];
8218 Geolocation_watchPosition_closure.prototype = $desc; 8510 _EventStream.prototype = $desc;
8219 function _GeopositionWrapper(_ptr) { 8511 function _ElementEventStreamImpl(_target, _eventType, _useCapture) {
8220 this._ptr = _ptr; 8512 this._target = _target;
8513 this._eventType = _eventType;
8514 this._useCapture = _useCapture;
8221 } 8515 }
8222 _GeopositionWrapper.builtin$cls = "_GeopositionWrapper"; 8516 _ElementEventStreamImpl.builtin$cls = "_ElementEventStreamImpl";
8223 if (!"name" in _GeopositionWrapper) 8517 if (!"name" in _ElementEventStreamImpl)
8224 _GeopositionWrapper.name = "_GeopositionWrapper"; 8518 _ElementEventStreamImpl.name = "_ElementEventStreamImpl";
8225 $desc = $collectedClasses._GeopositionWrapper; 8519 $desc = $collectedClasses._ElementEventStreamImpl;
8226 if ($desc instanceof Array) 8520 if ($desc instanceof Array)
8227 $desc = $desc[1]; 8521 $desc = $desc[1];
8228 _GeopositionWrapper.prototype = $desc; 8522 _ElementEventStreamImpl.prototype = $desc;
8523 function _EventStreamSubscription(_pauseCount, _target, _eventType, _onData, _ useCapture) {
8524 this._pauseCount = _pauseCount;
8525 this._target = _target;
8526 this._eventType = _eventType;
8527 this._onData = _onData;
8528 this._useCapture = _useCapture;
8529 }
8530 _EventStreamSubscription.builtin$cls = "_EventStreamSubscription";
8531 if (!"name" in _EventStreamSubscription)
8532 _EventStreamSubscription.name = "_EventStreamSubscription";
8533 $desc = $collectedClasses._EventStreamSubscription;
8534 if ($desc instanceof Array)
8535 $desc = $desc[1];
8536 _EventStreamSubscription.prototype = $desc;
8537 function EventStreamProvider(_eventType) {
8538 this._eventType = _eventType;
8539 }
8540 EventStreamProvider.builtin$cls = "EventStreamProvider";
8541 if (!"name" in EventStreamProvider)
8542 EventStreamProvider.name = "EventStreamProvider";
8543 $desc = $collectedClasses.EventStreamProvider;
8544 if ($desc instanceof Array)
8545 $desc = $desc[1];
8546 EventStreamProvider.prototype = $desc;
8547 function _DOMWindowCrossFrame(_window) {
8548 this._window = _window;
8549 }
8550 _DOMWindowCrossFrame.builtin$cls = "_DOMWindowCrossFrame";
8551 if (!"name" in _DOMWindowCrossFrame)
8552 _DOMWindowCrossFrame.name = "_DOMWindowCrossFrame";
8553 $desc = $collectedClasses._DOMWindowCrossFrame;
8554 if ($desc instanceof Array)
8555 $desc = $desc[1];
8556 _DOMWindowCrossFrame.prototype = $desc;
8229 function ReceivePort() { 8557 function ReceivePort() {
8230 } 8558 }
8231 ReceivePort.builtin$cls = "ReceivePort"; 8559 ReceivePort.builtin$cls = "ReceivePort";
8232 if (!"name" in ReceivePort) 8560 if (!"name" in ReceivePort)
8233 ReceivePort.name = "ReceivePort"; 8561 ReceivePort.name = "ReceivePort";
8234 $desc = $collectedClasses.ReceivePort; 8562 $desc = $collectedClasses.ReceivePort;
8235 if ($desc instanceof Array) 8563 if ($desc instanceof Array)
8236 $desc = $desc[1]; 8564 $desc = $desc[1];
8237 ReceivePort.prototype = $desc; 8565 ReceivePort.prototype = $desc;
8566 function _Random() {
8567 }
8568 _Random.builtin$cls = "_Random";
8569 if (!"name" in _Random)
8570 _Random.name = "_Random";
8571 $desc = $collectedClasses._Random;
8572 if ($desc instanceof Array)
8573 $desc = $desc[1];
8574 _Random.prototype = $desc;
8238 function TypedData_ListMixin() { 8575 function TypedData_ListMixin() {
8239 } 8576 }
8240 TypedData_ListMixin.builtin$cls = "TypedData_ListMixin"; 8577 TypedData_ListMixin.builtin$cls = "TypedData_ListMixin";
8241 if (!"name" in TypedData_ListMixin) 8578 if (!"name" in TypedData_ListMixin)
8242 TypedData_ListMixin.name = "TypedData_ListMixin"; 8579 TypedData_ListMixin.name = "TypedData_ListMixin";
8243 $desc = $collectedClasses.TypedData_ListMixin; 8580 $desc = $collectedClasses.TypedData_ListMixin;
8244 if ($desc instanceof Array) 8581 if ($desc instanceof Array)
8245 $desc = $desc[1]; 8582 $desc = $desc[1];
8246 TypedData_ListMixin.prototype = $desc; 8583 TypedData_ListMixin.prototype = $desc;
8247 function TypedData_ListMixin_FixedLengthListMixin() { 8584 function TypedData_ListMixin_FixedLengthListMixin() {
8248 } 8585 }
8249 TypedData_ListMixin_FixedLengthListMixin.builtin$cls = "TypedData_ListMixin_Fi xedLengthListMixin"; 8586 TypedData_ListMixin_FixedLengthListMixin.builtin$cls = "TypedData_ListMixin_Fi xedLengthListMixin";
8250 if (!"name" in TypedData_ListMixin_FixedLengthListMixin) 8587 if (!"name" in TypedData_ListMixin_FixedLengthListMixin)
8251 TypedData_ListMixin_FixedLengthListMixin.name = "TypedData_ListMixin_FixedLe ngthListMixin"; 8588 TypedData_ListMixin_FixedLengthListMixin.name = "TypedData_ListMixin_FixedLe ngthListMixin";
8252 $desc = $collectedClasses.TypedData_ListMixin_FixedLengthListMixin; 8589 $desc = $collectedClasses.TypedData_ListMixin_FixedLengthListMixin;
8253 if ($desc instanceof Array) 8590 if ($desc instanceof Array)
8254 $desc = $desc[1]; 8591 $desc = $desc[1];
8255 TypedData_ListMixin_FixedLengthListMixin.prototype = $desc; 8592 TypedData_ListMixin_FixedLengthListMixin.prototype = $desc;
8256 function main_closure(box_0) { 8593 function main_closure(inputField_0) {
8257 this.box_0 = box_0; 8594 this.inputField_0 = inputField_0;
8258 } 8595 }
8259 main_closure.builtin$cls = "main_closure"; 8596 main_closure.builtin$cls = "main_closure";
8260 if (!"name" in main_closure) 8597 if (!"name" in main_closure)
8261 main_closure.name = "main_closure"; 8598 main_closure.name = "main_closure";
8262 $desc = $collectedClasses.main_closure; 8599 $desc = $collectedClasses.main_closure;
8263 if ($desc instanceof Array) 8600 if ($desc instanceof Array)
8264 $desc = $desc[1]; 8601 $desc = $desc[1];
8265 main_closure.prototype = $desc; 8602 main_closure.prototype = $desc;
8266 function main_closure0() { 8603 function main_closure0() {
8267 } 8604 }
8268 main_closure0.builtin$cls = "main_closure0"; 8605 main_closure0.builtin$cls = "main_closure0";
8269 if (!"name" in main_closure0) 8606 if (!"name" in main_closure0)
8270 main_closure0.name = "main_closure0"; 8607 main_closure0.name = "main_closure0";
8271 $desc = $collectedClasses.main_closure0; 8608 $desc = $collectedClasses.main_closure0;
8272 if ($desc instanceof Array) 8609 if ($desc instanceof Array)
8273 $desc = $desc[1]; 8610 $desc = $desc[1];
8274 main_closure0.prototype = $desc; 8611 main_closure0.prototype = $desc;
8275 function main_closure1(box_0) { 8612 function PirateName(_firstName, _appellation) {
8276 this.box_0 = box_0; 8613 this._firstName = _firstName;
8614 this._appellation = _appellation;
8277 } 8615 }
8278 main_closure1.builtin$cls = "main_closure1"; 8616 PirateName.builtin$cls = "PirateName";
8279 if (!"name" in main_closure1) 8617 if (!"name" in PirateName)
8280 main_closure1.name = "main_closure1"; 8618 PirateName.name = "PirateName";
8281 $desc = $collectedClasses.main_closure1; 8619 $desc = $collectedClasses.PirateName;
8282 if ($desc instanceof Array) 8620 if ($desc instanceof Array)
8283 $desc = $desc[1]; 8621 $desc = $desc[1];
8284 main_closure1.prototype = $desc; 8622 PirateName.prototype = $desc;
8285 function main_closure2() {
8286 }
8287 main_closure2.builtin$cls = "main_closure2";
8288 if (!"name" in main_closure2)
8289 main_closure2.name = "main_closure2";
8290 $desc = $collectedClasses.main_closure2;
8291 if ($desc instanceof Array)
8292 $desc = $desc[1];
8293 main_closure2.prototype = $desc;
8294 function HtmlElement() { 8623 function HtmlElement() {
8295 } 8624 }
8296 HtmlElement.builtin$cls = "HtmlElement"; 8625 HtmlElement.builtin$cls = "HtmlElement";
8297 if (!"name" in HtmlElement) 8626 if (!"name" in HtmlElement)
8298 HtmlElement.name = "HtmlElement"; 8627 HtmlElement.name = "HtmlElement";
8299 $desc = $collectedClasses.HtmlElement; 8628 $desc = $collectedClasses.HtmlElement;
8300 if ($desc instanceof Array) 8629 if ($desc instanceof Array)
8301 $desc = $desc[1]; 8630 $desc = $desc[1];
8302 HtmlElement.prototype = $desc; 8631 HtmlElement.prototype = $desc;
8303 function AnchorElement() { 8632 function AnchorElement() {
8304 } 8633 }
8305 AnchorElement.builtin$cls = "AnchorElement"; 8634 AnchorElement.builtin$cls = "AnchorElement";
8306 if (!"name" in AnchorElement) 8635 if (!"name" in AnchorElement)
8307 AnchorElement.name = "AnchorElement"; 8636 AnchorElement.name = "AnchorElement";
8308 $desc = $collectedClasses.AnchorElement; 8637 $desc = $collectedClasses.AnchorElement;
8309 if ($desc instanceof Array) 8638 if ($desc instanceof Array)
8310 $desc = $desc[1]; 8639 $desc = $desc[1];
8311 AnchorElement.prototype = $desc; 8640 AnchorElement.prototype = $desc;
8641 AnchorElement.prototype.get$target = function(receiver) {
8642 return receiver.target;
8643 };
8312 function AnimationEvent() { 8644 function AnimationEvent() {
8313 } 8645 }
8314 AnimationEvent.builtin$cls = "AnimationEvent"; 8646 AnimationEvent.builtin$cls = "AnimationEvent";
8315 if (!"name" in AnimationEvent) 8647 if (!"name" in AnimationEvent)
8316 AnimationEvent.name = "AnimationEvent"; 8648 AnimationEvent.name = "AnimationEvent";
8317 $desc = $collectedClasses.AnimationEvent; 8649 $desc = $collectedClasses.AnimationEvent;
8318 if ($desc instanceof Array) 8650 if ($desc instanceof Array)
8319 $desc = $desc[1]; 8651 $desc = $desc[1];
8320 AnimationEvent.prototype = $desc; 8652 AnimationEvent.prototype = $desc;
8321 function AreaElement() { 8653 function AreaElement() {
8322 } 8654 }
8323 AreaElement.builtin$cls = "AreaElement"; 8655 AreaElement.builtin$cls = "AreaElement";
8324 if (!"name" in AreaElement) 8656 if (!"name" in AreaElement)
8325 AreaElement.name = "AreaElement"; 8657 AreaElement.name = "AreaElement";
8326 $desc = $collectedClasses.AreaElement; 8658 $desc = $collectedClasses.AreaElement;
8327 if ($desc instanceof Array) 8659 if ($desc instanceof Array)
8328 $desc = $desc[1]; 8660 $desc = $desc[1];
8329 AreaElement.prototype = $desc; 8661 AreaElement.prototype = $desc;
8330 AreaElement.prototype.get$coords = function(receiver) { 8662 AreaElement.prototype.get$target = function(receiver) {
8331 return receiver.coords; 8663 return receiver.target;
8332 }; 8664 };
8333 function AudioElement() { 8665 function AudioElement() {
8334 } 8666 }
8335 AudioElement.builtin$cls = "AudioElement"; 8667 AudioElement.builtin$cls = "AudioElement";
8336 if (!"name" in AudioElement) 8668 if (!"name" in AudioElement)
8337 AudioElement.name = "AudioElement"; 8669 AudioElement.name = "AudioElement";
8338 $desc = $collectedClasses.AudioElement; 8670 $desc = $collectedClasses.AudioElement;
8339 if ($desc instanceof Array) 8671 if ($desc instanceof Array)
8340 $desc = $desc[1]; 8672 $desc = $desc[1];
8341 AudioElement.prototype = $desc; 8673 AudioElement.prototype = $desc;
(...skipping 17 matching lines...) Expand all
8359 BRElement.prototype = $desc; 8691 BRElement.prototype = $desc;
8360 function BaseElement() { 8692 function BaseElement() {
8361 } 8693 }
8362 BaseElement.builtin$cls = "BaseElement"; 8694 BaseElement.builtin$cls = "BaseElement";
8363 if (!"name" in BaseElement) 8695 if (!"name" in BaseElement)
8364 BaseElement.name = "BaseElement"; 8696 BaseElement.name = "BaseElement";
8365 $desc = $collectedClasses.BaseElement; 8697 $desc = $collectedClasses.BaseElement;
8366 if ($desc instanceof Array) 8698 if ($desc instanceof Array)
8367 $desc = $desc[1]; 8699 $desc = $desc[1];
8368 BaseElement.prototype = $desc; 8700 BaseElement.prototype = $desc;
8701 BaseElement.prototype.get$target = function(receiver) {
8702 return receiver.target;
8703 };
8369 function BeforeLoadEvent() { 8704 function BeforeLoadEvent() {
8370 } 8705 }
8371 BeforeLoadEvent.builtin$cls = "BeforeLoadEvent"; 8706 BeforeLoadEvent.builtin$cls = "BeforeLoadEvent";
8372 if (!"name" in BeforeLoadEvent) 8707 if (!"name" in BeforeLoadEvent)
8373 BeforeLoadEvent.name = "BeforeLoadEvent"; 8708 BeforeLoadEvent.name = "BeforeLoadEvent";
8374 $desc = $collectedClasses.BeforeLoadEvent; 8709 $desc = $collectedClasses.BeforeLoadEvent;
8375 if ($desc instanceof Array) 8710 if ($desc instanceof Array)
8376 $desc = $desc[1]; 8711 $desc = $desc[1];
8377 BeforeLoadEvent.prototype = $desc; 8712 BeforeLoadEvent.prototype = $desc;
8713 function BeforeUnloadEvent() {
8714 }
8715 BeforeUnloadEvent.builtin$cls = "BeforeUnloadEvent";
8716 if (!"name" in BeforeUnloadEvent)
8717 BeforeUnloadEvent.name = "BeforeUnloadEvent";
8718 $desc = $collectedClasses.BeforeUnloadEvent;
8719 if ($desc instanceof Array)
8720 $desc = $desc[1];
8721 BeforeUnloadEvent.prototype = $desc;
8378 function BodyElement() { 8722 function BodyElement() {
8379 } 8723 }
8380 BodyElement.builtin$cls = "BodyElement"; 8724 BodyElement.builtin$cls = "BodyElement";
8381 if (!"name" in BodyElement) 8725 if (!"name" in BodyElement)
8382 BodyElement.name = "BodyElement"; 8726 BodyElement.name = "BodyElement";
8383 $desc = $collectedClasses.BodyElement; 8727 $desc = $collectedClasses.BodyElement;
8384 if ($desc instanceof Array) 8728 if ($desc instanceof Array)
8385 $desc = $desc[1]; 8729 $desc = $desc[1];
8386 BodyElement.prototype = $desc; 8730 BodyElement.prototype = $desc;
8387 function ButtonElement() { 8731 function ButtonElement() {
8388 } 8732 }
8389 ButtonElement.builtin$cls = "ButtonElement"; 8733 ButtonElement.builtin$cls = "ButtonElement";
8390 if (!"name" in ButtonElement) 8734 if (!"name" in ButtonElement)
8391 ButtonElement.name = "ButtonElement"; 8735 ButtonElement.name = "ButtonElement";
8392 $desc = $collectedClasses.ButtonElement; 8736 $desc = $collectedClasses.ButtonElement;
8393 if ($desc instanceof Array) 8737 if ($desc instanceof Array)
8394 $desc = $desc[1]; 8738 $desc = $desc[1];
8395 ButtonElement.prototype = $desc; 8739 ButtonElement.prototype = $desc;
8740 ButtonElement.prototype.set$disabled = function(receiver, v) {
8741 return receiver.disabled = v;
8742 };
8743 function CDataSection() {
8744 }
8745 CDataSection.builtin$cls = "CDataSection";
8746 if (!"name" in CDataSection)
8747 CDataSection.name = "CDataSection";
8748 $desc = $collectedClasses.CDataSection;
8749 if ($desc instanceof Array)
8750 $desc = $desc[1];
8751 CDataSection.prototype = $desc;
8396 function CanvasElement() { 8752 function CanvasElement() {
8397 } 8753 }
8398 CanvasElement.builtin$cls = "CanvasElement"; 8754 CanvasElement.builtin$cls = "CanvasElement";
8399 if (!"name" in CanvasElement) 8755 if (!"name" in CanvasElement)
8400 CanvasElement.name = "CanvasElement"; 8756 CanvasElement.name = "CanvasElement";
8401 $desc = $collectedClasses.CanvasElement; 8757 $desc = $collectedClasses.CanvasElement;
8402 if ($desc instanceof Array) 8758 if ($desc instanceof Array)
8403 $desc = $desc[1]; 8759 $desc = $desc[1];
8404 CanvasElement.prototype = $desc; 8760 CanvasElement.prototype = $desc;
8761 function CharacterData() {
8762 }
8763 CharacterData.builtin$cls = "CharacterData";
8764 if (!"name" in CharacterData)
8765 CharacterData.name = "CharacterData";
8766 $desc = $collectedClasses.CharacterData;
8767 if ($desc instanceof Array)
8768 $desc = $desc[1];
8769 CharacterData.prototype = $desc;
8770 CharacterData.prototype.get$length = function(receiver) {
8771 return receiver.length;
8772 };
8405 function CloseEvent() { 8773 function CloseEvent() {
8406 } 8774 }
8407 CloseEvent.builtin$cls = "CloseEvent"; 8775 CloseEvent.builtin$cls = "CloseEvent";
8408 if (!"name" in CloseEvent) 8776 if (!"name" in CloseEvent)
8409 CloseEvent.name = "CloseEvent"; 8777 CloseEvent.name = "CloseEvent";
8410 $desc = $collectedClasses.CloseEvent; 8778 $desc = $collectedClasses.CloseEvent;
8411 if ($desc instanceof Array) 8779 if ($desc instanceof Array)
8412 $desc = $desc[1]; 8780 $desc = $desc[1];
8413 CloseEvent.prototype = $desc; 8781 CloseEvent.prototype = $desc;
8414 CloseEvent.prototype.get$code = function(receiver) { 8782 function Comment() {
8415 return receiver.code; 8783 }
8416 }; 8784 Comment.builtin$cls = "Comment";
8785 if (!"name" in Comment)
8786 Comment.name = "Comment";
8787 $desc = $collectedClasses.Comment;
8788 if ($desc instanceof Array)
8789 $desc = $desc[1];
8790 Comment.prototype = $desc;
8417 function CompositionEvent() { 8791 function CompositionEvent() {
8418 } 8792 }
8419 CompositionEvent.builtin$cls = "CompositionEvent"; 8793 CompositionEvent.builtin$cls = "CompositionEvent";
8420 if (!"name" in CompositionEvent) 8794 if (!"name" in CompositionEvent)
8421 CompositionEvent.name = "CompositionEvent"; 8795 CompositionEvent.name = "CompositionEvent";
8422 $desc = $collectedClasses.CompositionEvent; 8796 $desc = $collectedClasses.CompositionEvent;
8423 if ($desc instanceof Array) 8797 if ($desc instanceof Array)
8424 $desc = $desc[1]; 8798 $desc = $desc[1];
8425 CompositionEvent.prototype = $desc; 8799 CompositionEvent.prototype = $desc;
8426 function ContentElement() { 8800 function ContentElement() {
8427 } 8801 }
8428 ContentElement.builtin$cls = "ContentElement"; 8802 ContentElement.builtin$cls = "ContentElement";
8429 if (!"name" in ContentElement) 8803 if (!"name" in ContentElement)
8430 ContentElement.name = "ContentElement"; 8804 ContentElement.name = "ContentElement";
8431 $desc = $collectedClasses.ContentElement; 8805 $desc = $collectedClasses.ContentElement;
8432 if ($desc instanceof Array) 8806 if ($desc instanceof Array)
8433 $desc = $desc[1]; 8807 $desc = $desc[1];
8434 ContentElement.prototype = $desc; 8808 ContentElement.prototype = $desc;
8435 function Coordinates() {
8436 }
8437 Coordinates.builtin$cls = "Coordinates";
8438 if (!"name" in Coordinates)
8439 Coordinates.name = "Coordinates";
8440 $desc = $collectedClasses.Coordinates;
8441 if ($desc instanceof Array)
8442 $desc = $desc[1];
8443 Coordinates.prototype = $desc;
8444 Coordinates.prototype.get$latitude = function(receiver) {
8445 return receiver.latitude;
8446 };
8447 Coordinates.prototype.get$longitude = function(receiver) {
8448 return receiver.longitude;
8449 };
8450 function CssFontFaceLoadEvent() { 8809 function CssFontFaceLoadEvent() {
8451 } 8810 }
8452 CssFontFaceLoadEvent.builtin$cls = "CssFontFaceLoadEvent"; 8811 CssFontFaceLoadEvent.builtin$cls = "CssFontFaceLoadEvent";
8453 if (!"name" in CssFontFaceLoadEvent) 8812 if (!"name" in CssFontFaceLoadEvent)
8454 CssFontFaceLoadEvent.name = "CssFontFaceLoadEvent"; 8813 CssFontFaceLoadEvent.name = "CssFontFaceLoadEvent";
8455 $desc = $collectedClasses.CssFontFaceLoadEvent; 8814 $desc = $collectedClasses.CssFontFaceLoadEvent;
8456 if ($desc instanceof Array) 8815 if ($desc instanceof Array)
8457 $desc = $desc[1]; 8816 $desc = $desc[1];
8458 CssFontFaceLoadEvent.prototype = $desc; 8817 CssFontFaceLoadEvent.prototype = $desc;
8459 CssFontFaceLoadEvent.prototype.get$error = function(receiver) {
8460 return receiver.error;
8461 };
8462 function CustomEvent() { 8818 function CustomEvent() {
8463 } 8819 }
8464 CustomEvent.builtin$cls = "CustomEvent"; 8820 CustomEvent.builtin$cls = "CustomEvent";
8465 if (!"name" in CustomEvent) 8821 if (!"name" in CustomEvent)
8466 CustomEvent.name = "CustomEvent"; 8822 CustomEvent.name = "CustomEvent";
8467 $desc = $collectedClasses.CustomEvent; 8823 $desc = $collectedClasses.CustomEvent;
8468 if ($desc instanceof Array) 8824 if ($desc instanceof Array)
8469 $desc = $desc[1]; 8825 $desc = $desc[1];
8470 CustomEvent.prototype = $desc; 8826 CustomEvent.prototype = $desc;
8471 function DListElement() { 8827 function DListElement() {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
8533 DivElement.prototype = $desc; 8889 DivElement.prototype = $desc;
8534 function Document() { 8890 function Document() {
8535 } 8891 }
8536 Document.builtin$cls = "Document"; 8892 Document.builtin$cls = "Document";
8537 if (!"name" in Document) 8893 if (!"name" in Document)
8538 Document.name = "Document"; 8894 Document.name = "Document";
8539 $desc = $collectedClasses.Document; 8895 $desc = $collectedClasses.Document;
8540 if ($desc instanceof Array) 8896 if ($desc instanceof Array)
8541 $desc = $desc[1]; 8897 $desc = $desc[1];
8542 Document.prototype = $desc; 8898 Document.prototype = $desc;
8899 function DocumentFragment() {
8900 }
8901 DocumentFragment.builtin$cls = "DocumentFragment";
8902 if (!"name" in DocumentFragment)
8903 DocumentFragment.name = "DocumentFragment";
8904 $desc = $collectedClasses.DocumentFragment;
8905 if ($desc instanceof Array)
8906 $desc = $desc[1];
8907 DocumentFragment.prototype = $desc;
8908 function DocumentType() {
8909 }
8910 DocumentType.builtin$cls = "DocumentType";
8911 if (!"name" in DocumentType)
8912 DocumentType.name = "DocumentType";
8913 $desc = $collectedClasses.DocumentType;
8914 if ($desc instanceof Array)
8915 $desc = $desc[1];
8916 DocumentType.prototype = $desc;
8543 function DomError() { 8917 function DomError() {
8544 } 8918 }
8545 DomError.builtin$cls = "DomError"; 8919 DomError.builtin$cls = "DomError";
8546 if (!"name" in DomError) 8920 if (!"name" in DomError)
8547 DomError.name = "DomError"; 8921 DomError.name = "DomError";
8548 $desc = $collectedClasses.DomError; 8922 $desc = $collectedClasses.DomError;
8549 if ($desc instanceof Array) 8923 if ($desc instanceof Array)
8550 $desc = $desc[1]; 8924 $desc = $desc[1];
8551 DomError.prototype = $desc; 8925 DomError.prototype = $desc;
8552 function DomException() { 8926 function DomException() {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
8608 EventTarget.prototype = $desc; 8982 EventTarget.prototype = $desc;
8609 function FieldSetElement() { 8983 function FieldSetElement() {
8610 } 8984 }
8611 FieldSetElement.builtin$cls = "FieldSetElement"; 8985 FieldSetElement.builtin$cls = "FieldSetElement";
8612 if (!"name" in FieldSetElement) 8986 if (!"name" in FieldSetElement)
8613 FieldSetElement.name = "FieldSetElement"; 8987 FieldSetElement.name = "FieldSetElement";
8614 $desc = $collectedClasses.FieldSetElement; 8988 $desc = $collectedClasses.FieldSetElement;
8615 if ($desc instanceof Array) 8989 if ($desc instanceof Array)
8616 $desc = $desc[1]; 8990 $desc = $desc[1];
8617 FieldSetElement.prototype = $desc; 8991 FieldSetElement.prototype = $desc;
8992 FieldSetElement.prototype.set$disabled = function(receiver, v) {
8993 return receiver.disabled = v;
8994 };
8618 function FileError() { 8995 function FileError() {
8619 } 8996 }
8620 FileError.builtin$cls = "FileError"; 8997 FileError.builtin$cls = "FileError";
8621 if (!"name" in FileError) 8998 if (!"name" in FileError)
8622 FileError.name = "FileError"; 8999 FileError.name = "FileError";
8623 $desc = $collectedClasses.FileError; 9000 $desc = $collectedClasses.FileError;
8624 if ($desc instanceof Array) 9001 if ($desc instanceof Array)
8625 $desc = $desc[1]; 9002 $desc = $desc[1];
8626 FileError.prototype = $desc; 9003 FileError.prototype = $desc;
8627 FileError.prototype.get$code = function(receiver) {
8628 return receiver.code;
8629 };
8630 function FocusEvent() { 9004 function FocusEvent() {
8631 } 9005 }
8632 FocusEvent.builtin$cls = "FocusEvent"; 9006 FocusEvent.builtin$cls = "FocusEvent";
8633 if (!"name" in FocusEvent) 9007 if (!"name" in FocusEvent)
8634 FocusEvent.name = "FocusEvent"; 9008 FocusEvent.name = "FocusEvent";
8635 $desc = $collectedClasses.FocusEvent; 9009 $desc = $collectedClasses.FocusEvent;
8636 if ($desc instanceof Array) 9010 if ($desc instanceof Array)
8637 $desc = $desc[1]; 9011 $desc = $desc[1];
8638 FocusEvent.prototype = $desc; 9012 FocusEvent.prototype = $desc;
8639 function FormElement() { 9013 function FormElement() {
8640 } 9014 }
8641 FormElement.builtin$cls = "FormElement"; 9015 FormElement.builtin$cls = "FormElement";
8642 if (!"name" in FormElement) 9016 if (!"name" in FormElement)
8643 FormElement.name = "FormElement"; 9017 FormElement.name = "FormElement";
8644 $desc = $collectedClasses.FormElement; 9018 $desc = $collectedClasses.FormElement;
8645 if ($desc instanceof Array) 9019 if ($desc instanceof Array)
8646 $desc = $desc[1]; 9020 $desc = $desc[1];
8647 FormElement.prototype = $desc; 9021 FormElement.prototype = $desc;
8648 FormElement.prototype.get$length = function(receiver) { 9022 FormElement.prototype.get$length = function(receiver) {
8649 return receiver.length; 9023 return receiver.length;
8650 }; 9024 };
8651 function Geolocation() { 9025 FormElement.prototype.get$target = function(receiver) {
8652 } 9026 return receiver.target;
8653 Geolocation.builtin$cls = "Geolocation";
8654 if (!"name" in Geolocation)
8655 Geolocation.name = "Geolocation";
8656 $desc = $collectedClasses.Geolocation;
8657 if ($desc instanceof Array)
8658 $desc = $desc[1];
8659 Geolocation.prototype = $desc;
8660 function Geoposition() {
8661 }
8662 Geoposition.builtin$cls = "Geoposition";
8663 if (!"name" in Geoposition)
8664 Geoposition.name = "Geoposition";
8665 $desc = $collectedClasses.Geoposition;
8666 if ($desc instanceof Array)
8667 $desc = $desc[1];
8668 Geoposition.prototype = $desc;
8669 Geoposition.prototype.get$coords = function(receiver) {
8670 return receiver.coords;
8671 }; 9027 };
8672 function HRElement() { 9028 function HRElement() {
8673 } 9029 }
8674 HRElement.builtin$cls = "HRElement"; 9030 HRElement.builtin$cls = "HRElement";
8675 if (!"name" in HRElement) 9031 if (!"name" in HRElement)
8676 HRElement.name = "HRElement"; 9032 HRElement.name = "HRElement";
8677 $desc = $collectedClasses.HRElement; 9033 $desc = $collectedClasses.HRElement;
8678 if ($desc instanceof Array) 9034 if ($desc instanceof Array)
8679 $desc = $desc[1]; 9035 $desc = $desc[1];
8680 HRElement.prototype = $desc; 9036 HRElement.prototype = $desc;
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after
8716 HtmlDocument.prototype = $desc; 9072 HtmlDocument.prototype = $desc;
8717 function HtmlHtmlElement() { 9073 function HtmlHtmlElement() {
8718 } 9074 }
8719 HtmlHtmlElement.builtin$cls = "HtmlHtmlElement"; 9075 HtmlHtmlElement.builtin$cls = "HtmlHtmlElement";
8720 if (!"name" in HtmlHtmlElement) 9076 if (!"name" in HtmlHtmlElement)
8721 HtmlHtmlElement.name = "HtmlHtmlElement"; 9077 HtmlHtmlElement.name = "HtmlHtmlElement";
8722 $desc = $collectedClasses.HtmlHtmlElement; 9078 $desc = $collectedClasses.HtmlHtmlElement;
8723 if ($desc instanceof Array) 9079 if ($desc instanceof Array)
8724 $desc = $desc[1]; 9080 $desc = $desc[1];
8725 HtmlHtmlElement.prototype = $desc; 9081 HtmlHtmlElement.prototype = $desc;
9082 function HttpRequest() {
9083 }
9084 HttpRequest.builtin$cls = "HttpRequest";
9085 if (!"name" in HttpRequest)
9086 HttpRequest.name = "HttpRequest";
9087 $desc = $collectedClasses.HttpRequest;
9088 if ($desc instanceof Array)
9089 $desc = $desc[1];
9090 HttpRequest.prototype = $desc;
9091 HttpRequest.prototype.get$responseText = function(receiver) {
9092 return receiver.responseText;
9093 };
8726 function IFrameElement() { 9094 function IFrameElement() {
8727 } 9095 }
8728 IFrameElement.builtin$cls = "IFrameElement"; 9096 IFrameElement.builtin$cls = "IFrameElement";
8729 if (!"name" in IFrameElement) 9097 if (!"name" in IFrameElement)
8730 IFrameElement.name = "IFrameElement"; 9098 IFrameElement.name = "IFrameElement";
8731 $desc = $collectedClasses.IFrameElement; 9099 $desc = $collectedClasses.IFrameElement;
8732 if ($desc instanceof Array) 9100 if ($desc instanceof Array)
8733 $desc = $desc[1]; 9101 $desc = $desc[1];
8734 IFrameElement.prototype = $desc; 9102 IFrameElement.prototype = $desc;
8735 function ImageElement() { 9103 function ImageElement() {
8736 } 9104 }
8737 ImageElement.builtin$cls = "ImageElement"; 9105 ImageElement.builtin$cls = "ImageElement";
8738 if (!"name" in ImageElement) 9106 if (!"name" in ImageElement)
8739 ImageElement.name = "ImageElement"; 9107 ImageElement.name = "ImageElement";
8740 $desc = $collectedClasses.ImageElement; 9108 $desc = $collectedClasses.ImageElement;
8741 if ($desc instanceof Array) 9109 if ($desc instanceof Array)
8742 $desc = $desc[1]; 9110 $desc = $desc[1];
8743 ImageElement.prototype = $desc; 9111 ImageElement.prototype = $desc;
8744 function InputElement() { 9112 function InputElement() {
8745 } 9113 }
8746 InputElement.builtin$cls = "InputElement"; 9114 InputElement.builtin$cls = "InputElement";
8747 if (!"name" in InputElement) 9115 if (!"name" in InputElement)
8748 InputElement.name = "InputElement"; 9116 InputElement.name = "InputElement";
8749 $desc = $collectedClasses.InputElement; 9117 $desc = $collectedClasses.InputElement;
8750 if ($desc instanceof Array) 9118 if ($desc instanceof Array)
8751 $desc = $desc[1]; 9119 $desc = $desc[1];
8752 InputElement.prototype = $desc; 9120 InputElement.prototype = $desc;
9121 InputElement.prototype.set$disabled = function(receiver, v) {
9122 return receiver.disabled = v;
9123 };
8753 function KeyboardEvent() { 9124 function KeyboardEvent() {
8754 } 9125 }
8755 KeyboardEvent.builtin$cls = "KeyboardEvent"; 9126 KeyboardEvent.builtin$cls = "KeyboardEvent";
8756 if (!"name" in KeyboardEvent) 9127 if (!"name" in KeyboardEvent)
8757 KeyboardEvent.name = "KeyboardEvent"; 9128 KeyboardEvent.name = "KeyboardEvent";
8758 $desc = $collectedClasses.KeyboardEvent; 9129 $desc = $collectedClasses.KeyboardEvent;
8759 if ($desc instanceof Array) 9130 if ($desc instanceof Array)
8760 $desc = $desc[1]; 9131 $desc = $desc[1];
8761 KeyboardEvent.prototype = $desc; 9132 KeyboardEvent.prototype = $desc;
8762 function KeygenElement() { 9133 function KeygenElement() {
8763 } 9134 }
8764 KeygenElement.builtin$cls = "KeygenElement"; 9135 KeygenElement.builtin$cls = "KeygenElement";
8765 if (!"name" in KeygenElement) 9136 if (!"name" in KeygenElement)
8766 KeygenElement.name = "KeygenElement"; 9137 KeygenElement.name = "KeygenElement";
8767 $desc = $collectedClasses.KeygenElement; 9138 $desc = $collectedClasses.KeygenElement;
8768 if ($desc instanceof Array) 9139 if ($desc instanceof Array)
8769 $desc = $desc[1]; 9140 $desc = $desc[1];
8770 KeygenElement.prototype = $desc; 9141 KeygenElement.prototype = $desc;
9142 KeygenElement.prototype.set$disabled = function(receiver, v) {
9143 return receiver.disabled = v;
9144 };
8771 function LIElement() { 9145 function LIElement() {
8772 } 9146 }
8773 LIElement.builtin$cls = "LIElement"; 9147 LIElement.builtin$cls = "LIElement";
8774 if (!"name" in LIElement) 9148 if (!"name" in LIElement)
8775 LIElement.name = "LIElement"; 9149 LIElement.name = "LIElement";
8776 $desc = $collectedClasses.LIElement; 9150 $desc = $collectedClasses.LIElement;
8777 if ($desc instanceof Array) 9151 if ($desc instanceof Array)
8778 $desc = $desc[1]; 9152 $desc = $desc[1];
8779 LIElement.prototype = $desc; 9153 LIElement.prototype = $desc;
8780 function LabelElement() { 9154 function LabelElement() {
(...skipping 16 matching lines...) Expand all
8797 LegendElement.prototype = $desc; 9171 LegendElement.prototype = $desc;
8798 function LinkElement() { 9172 function LinkElement() {
8799 } 9173 }
8800 LinkElement.builtin$cls = "LinkElement"; 9174 LinkElement.builtin$cls = "LinkElement";
8801 if (!"name" in LinkElement) 9175 if (!"name" in LinkElement)
8802 LinkElement.name = "LinkElement"; 9176 LinkElement.name = "LinkElement";
8803 $desc = $collectedClasses.LinkElement; 9177 $desc = $collectedClasses.LinkElement;
8804 if ($desc instanceof Array) 9178 if ($desc instanceof Array)
8805 $desc = $desc[1]; 9179 $desc = $desc[1];
8806 LinkElement.prototype = $desc; 9180 LinkElement.prototype = $desc;
9181 LinkElement.prototype.set$disabled = function(receiver, v) {
9182 return receiver.disabled = v;
9183 };
8807 function MapElement() { 9184 function MapElement() {
8808 } 9185 }
8809 MapElement.builtin$cls = "MapElement"; 9186 MapElement.builtin$cls = "MapElement";
8810 if (!"name" in MapElement) 9187 if (!"name" in MapElement)
8811 MapElement.name = "MapElement"; 9188 MapElement.name = "MapElement";
8812 $desc = $collectedClasses.MapElement; 9189 $desc = $collectedClasses.MapElement;
8813 if ($desc instanceof Array) 9190 if ($desc instanceof Array)
8814 $desc = $desc[1]; 9191 $desc = $desc[1];
8815 MapElement.prototype = $desc; 9192 MapElement.prototype = $desc;
8816 function MediaElement() { 9193 function MediaElement() {
(...skipping 10 matching lines...) Expand all
8827 }; 9204 };
8828 function MediaError() { 9205 function MediaError() {
8829 } 9206 }
8830 MediaError.builtin$cls = "MediaError"; 9207 MediaError.builtin$cls = "MediaError";
8831 if (!"name" in MediaError) 9208 if (!"name" in MediaError)
8832 MediaError.name = "MediaError"; 9209 MediaError.name = "MediaError";
8833 $desc = $collectedClasses.MediaError; 9210 $desc = $collectedClasses.MediaError;
8834 if ($desc instanceof Array) 9211 if ($desc instanceof Array)
8835 $desc = $desc[1]; 9212 $desc = $desc[1];
8836 MediaError.prototype = $desc; 9213 MediaError.prototype = $desc;
8837 MediaError.prototype.get$code = function(receiver) {
8838 return receiver.code;
8839 };
8840 function MediaKeyError() { 9214 function MediaKeyError() {
8841 } 9215 }
8842 MediaKeyError.builtin$cls = "MediaKeyError"; 9216 MediaKeyError.builtin$cls = "MediaKeyError";
8843 if (!"name" in MediaKeyError) 9217 if (!"name" in MediaKeyError)
8844 MediaKeyError.name = "MediaKeyError"; 9218 MediaKeyError.name = "MediaKeyError";
8845 $desc = $collectedClasses.MediaKeyError; 9219 $desc = $collectedClasses.MediaKeyError;
8846 if ($desc instanceof Array) 9220 if ($desc instanceof Array)
8847 $desc = $desc[1]; 9221 $desc = $desc[1];
8848 MediaKeyError.prototype = $desc; 9222 MediaKeyError.prototype = $desc;
8849 MediaKeyError.prototype.get$code = function(receiver) {
8850 return receiver.code;
8851 };
8852 function MediaKeyEvent() { 9223 function MediaKeyEvent() {
8853 } 9224 }
8854 MediaKeyEvent.builtin$cls = "MediaKeyEvent"; 9225 MediaKeyEvent.builtin$cls = "MediaKeyEvent";
8855 if (!"name" in MediaKeyEvent) 9226 if (!"name" in MediaKeyEvent)
8856 MediaKeyEvent.name = "MediaKeyEvent"; 9227 MediaKeyEvent.name = "MediaKeyEvent";
8857 $desc = $collectedClasses.MediaKeyEvent; 9228 $desc = $collectedClasses.MediaKeyEvent;
8858 if ($desc instanceof Array) 9229 if ($desc instanceof Array)
8859 $desc = $desc[1]; 9230 $desc = $desc[1];
8860 MediaKeyEvent.prototype = $desc; 9231 MediaKeyEvent.prototype = $desc;
8861 function MediaKeyMessageEvent() { 9232 function MediaKeyMessageEvent() {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
8968 ModElement.prototype = $desc; 9339 ModElement.prototype = $desc;
8969 function MouseEvent() { 9340 function MouseEvent() {
8970 } 9341 }
8971 MouseEvent.builtin$cls = "MouseEvent"; 9342 MouseEvent.builtin$cls = "MouseEvent";
8972 if (!"name" in MouseEvent) 9343 if (!"name" in MouseEvent)
8973 MouseEvent.name = "MouseEvent"; 9344 MouseEvent.name = "MouseEvent";
8974 $desc = $collectedClasses.MouseEvent; 9345 $desc = $collectedClasses.MouseEvent;
8975 if ($desc instanceof Array) 9346 if ($desc instanceof Array)
8976 $desc = $desc[1]; 9347 $desc = $desc[1];
8977 MouseEvent.prototype = $desc; 9348 MouseEvent.prototype = $desc;
8978 function MutationEvent() {
8979 }
8980 MutationEvent.builtin$cls = "MutationEvent";
8981 if (!"name" in MutationEvent)
8982 MutationEvent.name = "MutationEvent";
8983 $desc = $collectedClasses.MutationEvent;
8984 if ($desc instanceof Array)
8985 $desc = $desc[1];
8986 MutationEvent.prototype = $desc;
8987 function Navigator() { 9349 function Navigator() {
8988 } 9350 }
8989 Navigator.builtin$cls = "Navigator"; 9351 Navigator.builtin$cls = "Navigator";
8990 if (!"name" in Navigator) 9352 if (!"name" in Navigator)
8991 Navigator.name = "Navigator"; 9353 Navigator.name = "Navigator";
8992 $desc = $collectedClasses.Navigator; 9354 $desc = $collectedClasses.Navigator;
8993 if ($desc instanceof Array) 9355 if ($desc instanceof Array)
8994 $desc = $desc[1]; 9356 $desc = $desc[1];
8995 Navigator.prototype = $desc; 9357 Navigator.prototype = $desc;
8996 function NavigatorUserMediaError() { 9358 function NavigatorUserMediaError() {
(...skipping 25 matching lines...) Expand all
9022 OListElement.prototype = $desc; 9384 OListElement.prototype = $desc;
9023 function ObjectElement() { 9385 function ObjectElement() {
9024 } 9386 }
9025 ObjectElement.builtin$cls = "ObjectElement"; 9387 ObjectElement.builtin$cls = "ObjectElement";
9026 if (!"name" in ObjectElement) 9388 if (!"name" in ObjectElement)
9027 ObjectElement.name = "ObjectElement"; 9389 ObjectElement.name = "ObjectElement";
9028 $desc = $collectedClasses.ObjectElement; 9390 $desc = $collectedClasses.ObjectElement;
9029 if ($desc instanceof Array) 9391 if ($desc instanceof Array)
9030 $desc = $desc[1]; 9392 $desc = $desc[1];
9031 ObjectElement.prototype = $desc; 9393 ObjectElement.prototype = $desc;
9032 ObjectElement.prototype.get$code = function(receiver) {
9033 return receiver.code;
9034 };
9035 function OptGroupElement() { 9394 function OptGroupElement() {
9036 } 9395 }
9037 OptGroupElement.builtin$cls = "OptGroupElement"; 9396 OptGroupElement.builtin$cls = "OptGroupElement";
9038 if (!"name" in OptGroupElement) 9397 if (!"name" in OptGroupElement)
9039 OptGroupElement.name = "OptGroupElement"; 9398 OptGroupElement.name = "OptGroupElement";
9040 $desc = $collectedClasses.OptGroupElement; 9399 $desc = $collectedClasses.OptGroupElement;
9041 if ($desc instanceof Array) 9400 if ($desc instanceof Array)
9042 $desc = $desc[1]; 9401 $desc = $desc[1];
9043 OptGroupElement.prototype = $desc; 9402 OptGroupElement.prototype = $desc;
9403 OptGroupElement.prototype.set$disabled = function(receiver, v) {
9404 return receiver.disabled = v;
9405 };
9044 function OptionElement() { 9406 function OptionElement() {
9045 } 9407 }
9046 OptionElement.builtin$cls = "OptionElement"; 9408 OptionElement.builtin$cls = "OptionElement";
9047 if (!"name" in OptionElement) 9409 if (!"name" in OptionElement)
9048 OptionElement.name = "OptionElement"; 9410 OptionElement.name = "OptionElement";
9049 $desc = $collectedClasses.OptionElement; 9411 $desc = $collectedClasses.OptionElement;
9050 if ($desc instanceof Array) 9412 if ($desc instanceof Array)
9051 $desc = $desc[1]; 9413 $desc = $desc[1];
9052 OptionElement.prototype = $desc; 9414 OptionElement.prototype = $desc;
9415 OptionElement.prototype.set$disabled = function(receiver, v) {
9416 return receiver.disabled = v;
9417 };
9053 function OutputElement() { 9418 function OutputElement() {
9054 } 9419 }
9055 OutputElement.builtin$cls = "OutputElement"; 9420 OutputElement.builtin$cls = "OutputElement";
9056 if (!"name" in OutputElement) 9421 if (!"name" in OutputElement)
9057 OutputElement.name = "OutputElement"; 9422 OutputElement.name = "OutputElement";
9058 $desc = $collectedClasses.OutputElement; 9423 $desc = $collectedClasses.OutputElement;
9059 if ($desc instanceof Array) 9424 if ($desc instanceof Array)
9060 $desc = $desc[1]; 9425 $desc = $desc[1];
9061 OutputElement.prototype = $desc; 9426 OutputElement.prototype = $desc;
9062 function OverflowEvent() { 9427 function OverflowEvent() {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
9106 PopStateEvent.prototype = $desc; 9471 PopStateEvent.prototype = $desc;
9107 function PositionError() { 9472 function PositionError() {
9108 } 9473 }
9109 PositionError.builtin$cls = "PositionError"; 9474 PositionError.builtin$cls = "PositionError";
9110 if (!"name" in PositionError) 9475 if (!"name" in PositionError)
9111 PositionError.name = "PositionError"; 9476 PositionError.name = "PositionError";
9112 $desc = $collectedClasses.PositionError; 9477 $desc = $collectedClasses.PositionError;
9113 if ($desc instanceof Array) 9478 if ($desc instanceof Array)
9114 $desc = $desc[1]; 9479 $desc = $desc[1];
9115 PositionError.prototype = $desc; 9480 PositionError.prototype = $desc;
9116 PositionError.prototype.get$code = function(receiver) {
9117 return receiver.code;
9118 };
9119 function PreElement() { 9481 function PreElement() {
9120 } 9482 }
9121 PreElement.builtin$cls = "PreElement"; 9483 PreElement.builtin$cls = "PreElement";
9122 if (!"name" in PreElement) 9484 if (!"name" in PreElement)
9123 PreElement.name = "PreElement"; 9485 PreElement.name = "PreElement";
9124 $desc = $collectedClasses.PreElement; 9486 $desc = $collectedClasses.PreElement;
9125 if ($desc instanceof Array) 9487 if ($desc instanceof Array)
9126 $desc = $desc[1]; 9488 $desc = $desc[1];
9127 PreElement.prototype = $desc; 9489 PreElement.prototype = $desc;
9490 function ProcessingInstruction() {
9491 }
9492 ProcessingInstruction.builtin$cls = "ProcessingInstruction";
9493 if (!"name" in ProcessingInstruction)
9494 ProcessingInstruction.name = "ProcessingInstruction";
9495 $desc = $collectedClasses.ProcessingInstruction;
9496 if ($desc instanceof Array)
9497 $desc = $desc[1];
9498 ProcessingInstruction.prototype = $desc;
9499 ProcessingInstruction.prototype.get$target = function(receiver) {
9500 return receiver.target;
9501 };
9128 function ProgressElement() { 9502 function ProgressElement() {
9129 } 9503 }
9130 ProgressElement.builtin$cls = "ProgressElement"; 9504 ProgressElement.builtin$cls = "ProgressElement";
9131 if (!"name" in ProgressElement) 9505 if (!"name" in ProgressElement)
9132 ProgressElement.name = "ProgressElement"; 9506 ProgressElement.name = "ProgressElement";
9133 $desc = $collectedClasses.ProgressElement; 9507 $desc = $collectedClasses.ProgressElement;
9134 if ($desc instanceof Array) 9508 if ($desc instanceof Array)
9135 $desc = $desc[1]; 9509 $desc = $desc[1];
9136 ProgressElement.prototype = $desc; 9510 ProgressElement.prototype = $desc;
9137 function ProgressEvent() { 9511 function ProgressEvent() {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
9208 SecurityPolicyViolationEvent.prototype = $desc; 9582 SecurityPolicyViolationEvent.prototype = $desc;
9209 function SelectElement() { 9583 function SelectElement() {
9210 } 9584 }
9211 SelectElement.builtin$cls = "SelectElement"; 9585 SelectElement.builtin$cls = "SelectElement";
9212 if (!"name" in SelectElement) 9586 if (!"name" in SelectElement)
9213 SelectElement.name = "SelectElement"; 9587 SelectElement.name = "SelectElement";
9214 $desc = $collectedClasses.SelectElement; 9588 $desc = $collectedClasses.SelectElement;
9215 if ($desc instanceof Array) 9589 if ($desc instanceof Array)
9216 $desc = $desc[1]; 9590 $desc = $desc[1];
9217 SelectElement.prototype = $desc; 9591 SelectElement.prototype = $desc;
9592 SelectElement.prototype.set$disabled = function(receiver, v) {
9593 return receiver.disabled = v;
9594 };
9218 SelectElement.prototype.get$length = function(receiver) { 9595 SelectElement.prototype.get$length = function(receiver) {
9219 return receiver.length; 9596 return receiver.length;
9220 }; 9597 };
9221 function ShadowElement() { 9598 function ShadowElement() {
9222 } 9599 }
9223 ShadowElement.builtin$cls = "ShadowElement"; 9600 ShadowElement.builtin$cls = "ShadowElement";
9224 if (!"name" in ShadowElement) 9601 if (!"name" in ShadowElement)
9225 ShadowElement.name = "ShadowElement"; 9602 ShadowElement.name = "ShadowElement";
9226 $desc = $collectedClasses.ShadowElement; 9603 $desc = $collectedClasses.ShadowElement;
9227 if ($desc instanceof Array) 9604 if ($desc instanceof Array)
9228 $desc = $desc[1]; 9605 $desc = $desc[1];
9229 ShadowElement.prototype = $desc; 9606 ShadowElement.prototype = $desc;
9607 function ShadowRoot() {
9608 }
9609 ShadowRoot.builtin$cls = "ShadowRoot";
9610 if (!"name" in ShadowRoot)
9611 ShadowRoot.name = "ShadowRoot";
9612 $desc = $collectedClasses.ShadowRoot;
9613 if ($desc instanceof Array)
9614 $desc = $desc[1];
9615 ShadowRoot.prototype = $desc;
9230 function SourceElement() { 9616 function SourceElement() {
9231 } 9617 }
9232 SourceElement.builtin$cls = "SourceElement"; 9618 SourceElement.builtin$cls = "SourceElement";
9233 if (!"name" in SourceElement) 9619 if (!"name" in SourceElement)
9234 SourceElement.name = "SourceElement"; 9620 SourceElement.name = "SourceElement";
9235 $desc = $collectedClasses.SourceElement; 9621 $desc = $collectedClasses.SourceElement;
9236 if ($desc instanceof Array) 9622 if ($desc instanceof Array)
9237 $desc = $desc[1]; 9623 $desc = $desc[1];
9238 SourceElement.prototype = $desc; 9624 SourceElement.prototype = $desc;
9239 function SpanElement() { 9625 function SpanElement() {
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after
9277 SpeechRecognitionEvent.prototype = $desc; 9663 SpeechRecognitionEvent.prototype = $desc;
9278 function SpeechSynthesisEvent() { 9664 function SpeechSynthesisEvent() {
9279 } 9665 }
9280 SpeechSynthesisEvent.builtin$cls = "SpeechSynthesisEvent"; 9666 SpeechSynthesisEvent.builtin$cls = "SpeechSynthesisEvent";
9281 if (!"name" in SpeechSynthesisEvent) 9667 if (!"name" in SpeechSynthesisEvent)
9282 SpeechSynthesisEvent.name = "SpeechSynthesisEvent"; 9668 SpeechSynthesisEvent.name = "SpeechSynthesisEvent";
9283 $desc = $collectedClasses.SpeechSynthesisEvent; 9669 $desc = $collectedClasses.SpeechSynthesisEvent;
9284 if ($desc instanceof Array) 9670 if ($desc instanceof Array)
9285 $desc = $desc[1]; 9671 $desc = $desc[1];
9286 SpeechSynthesisEvent.prototype = $desc; 9672 SpeechSynthesisEvent.prototype = $desc;
9673 function Storage() {
9674 }
9675 Storage.builtin$cls = "Storage";
9676 if (!"name" in Storage)
9677 Storage.name = "Storage";
9678 $desc = $collectedClasses.Storage;
9679 if ($desc instanceof Array)
9680 $desc = $desc[1];
9681 Storage.prototype = $desc;
9287 function StorageEvent() { 9682 function StorageEvent() {
9288 } 9683 }
9289 StorageEvent.builtin$cls = "StorageEvent"; 9684 StorageEvent.builtin$cls = "StorageEvent";
9290 if (!"name" in StorageEvent) 9685 if (!"name" in StorageEvent)
9291 StorageEvent.name = "StorageEvent"; 9686 StorageEvent.name = "StorageEvent";
9292 $desc = $collectedClasses.StorageEvent; 9687 $desc = $collectedClasses.StorageEvent;
9293 if ($desc instanceof Array) 9688 if ($desc instanceof Array)
9294 $desc = $desc[1]; 9689 $desc = $desc[1];
9295 StorageEvent.prototype = $desc; 9690 StorageEvent.prototype = $desc;
9296 function StyleElement() { 9691 function StyleElement() {
9297 } 9692 }
9298 StyleElement.builtin$cls = "StyleElement"; 9693 StyleElement.builtin$cls = "StyleElement";
9299 if (!"name" in StyleElement) 9694 if (!"name" in StyleElement)
9300 StyleElement.name = "StyleElement"; 9695 StyleElement.name = "StyleElement";
9301 $desc = $collectedClasses.StyleElement; 9696 $desc = $collectedClasses.StyleElement;
9302 if ($desc instanceof Array) 9697 if ($desc instanceof Array)
9303 $desc = $desc[1]; 9698 $desc = $desc[1];
9304 StyleElement.prototype = $desc; 9699 StyleElement.prototype = $desc;
9700 StyleElement.prototype.set$disabled = function(receiver, v) {
9701 return receiver.disabled = v;
9702 };
9305 function TableCaptionElement() { 9703 function TableCaptionElement() {
9306 } 9704 }
9307 TableCaptionElement.builtin$cls = "TableCaptionElement"; 9705 TableCaptionElement.builtin$cls = "TableCaptionElement";
9308 if (!"name" in TableCaptionElement) 9706 if (!"name" in TableCaptionElement)
9309 TableCaptionElement.name = "TableCaptionElement"; 9707 TableCaptionElement.name = "TableCaptionElement";
9310 $desc = $collectedClasses.TableCaptionElement; 9708 $desc = $collectedClasses.TableCaptionElement;
9311 if ($desc instanceof Array) 9709 if ($desc instanceof Array)
9312 $desc = $desc[1]; 9710 $desc = $desc[1];
9313 TableCaptionElement.prototype = $desc; 9711 TableCaptionElement.prototype = $desc;
9314 function TableCellElement() { 9712 function TableCellElement() {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
9358 TableSectionElement.prototype = $desc; 9756 TableSectionElement.prototype = $desc;
9359 function TemplateElement() { 9757 function TemplateElement() {
9360 } 9758 }
9361 TemplateElement.builtin$cls = "TemplateElement"; 9759 TemplateElement.builtin$cls = "TemplateElement";
9362 if (!"name" in TemplateElement) 9760 if (!"name" in TemplateElement)
9363 TemplateElement.name = "TemplateElement"; 9761 TemplateElement.name = "TemplateElement";
9364 $desc = $collectedClasses.TemplateElement; 9762 $desc = $collectedClasses.TemplateElement;
9365 if ($desc instanceof Array) 9763 if ($desc instanceof Array)
9366 $desc = $desc[1]; 9764 $desc = $desc[1];
9367 TemplateElement.prototype = $desc; 9765 TemplateElement.prototype = $desc;
9766 function Text() {
9767 }
9768 Text.builtin$cls = "Text";
9769 if (!"name" in Text)
9770 Text.name = "Text";
9771 $desc = $collectedClasses.Text;
9772 if ($desc instanceof Array)
9773 $desc = $desc[1];
9774 Text.prototype = $desc;
9368 function TextAreaElement() { 9775 function TextAreaElement() {
9369 } 9776 }
9370 TextAreaElement.builtin$cls = "TextAreaElement"; 9777 TextAreaElement.builtin$cls = "TextAreaElement";
9371 if (!"name" in TextAreaElement) 9778 if (!"name" in TextAreaElement)
9372 TextAreaElement.name = "TextAreaElement"; 9779 TextAreaElement.name = "TextAreaElement";
9373 $desc = $collectedClasses.TextAreaElement; 9780 $desc = $collectedClasses.TextAreaElement;
9374 if ($desc instanceof Array) 9781 if ($desc instanceof Array)
9375 $desc = $desc[1]; 9782 $desc = $desc[1];
9376 TextAreaElement.prototype = $desc; 9783 TextAreaElement.prototype = $desc;
9784 TextAreaElement.prototype.set$disabled = function(receiver, v) {
9785 return receiver.disabled = v;
9786 };
9377 function TextEvent() { 9787 function TextEvent() {
9378 } 9788 }
9379 TextEvent.builtin$cls = "TextEvent"; 9789 TextEvent.builtin$cls = "TextEvent";
9380 if (!"name" in TextEvent) 9790 if (!"name" in TextEvent)
9381 TextEvent.name = "TextEvent"; 9791 TextEvent.name = "TextEvent";
9382 $desc = $collectedClasses.TextEvent; 9792 $desc = $collectedClasses.TextEvent;
9383 if ($desc instanceof Array) 9793 if ($desc instanceof Array)
9384 $desc = $desc[1]; 9794 $desc = $desc[1];
9385 TextEvent.prototype = $desc; 9795 TextEvent.prototype = $desc;
9386 function TitleElement() { 9796 function TitleElement() {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
9475 WheelEvent.prototype = $desc; 9885 WheelEvent.prototype = $desc;
9476 function Window() { 9886 function Window() {
9477 } 9887 }
9478 Window.builtin$cls = "Window"; 9888 Window.builtin$cls = "Window";
9479 if (!"name" in Window) 9889 if (!"name" in Window)
9480 Window.name = "Window"; 9890 Window.name = "Window";
9481 $desc = $collectedClasses.Window; 9891 $desc = $collectedClasses.Window;
9482 if ($desc instanceof Array) 9892 if ($desc instanceof Array)
9483 $desc = $desc[1]; 9893 $desc = $desc[1];
9484 Window.prototype = $desc; 9894 Window.prototype = $desc;
9895 function XmlHttpRequestEventTarget() {
9896 }
9897 XmlHttpRequestEventTarget.builtin$cls = "XmlHttpRequestEventTarget";
9898 if (!"name" in XmlHttpRequestEventTarget)
9899 XmlHttpRequestEventTarget.name = "XmlHttpRequestEventTarget";
9900 $desc = $collectedClasses.XmlHttpRequestEventTarget;
9901 if ($desc instanceof Array)
9902 $desc = $desc[1];
9903 XmlHttpRequestEventTarget.prototype = $desc;
9904 function _Attr() {
9905 }
9906 _Attr.builtin$cls = "_Attr";
9907 if (!"name" in _Attr)
9908 _Attr.name = "_Attr";
9909 $desc = $collectedClasses._Attr;
9910 if ($desc instanceof Array)
9911 $desc = $desc[1];
9912 _Attr.prototype = $desc;
9913 function _Entity() {
9914 }
9915 _Entity.builtin$cls = "_Entity";
9916 if (!"name" in _Entity)
9917 _Entity.name = "_Entity";
9918 $desc = $collectedClasses._Entity;
9919 if ($desc instanceof Array)
9920 $desc = $desc[1];
9921 _Entity.prototype = $desc;
9485 function _HTMLAppletElement() { 9922 function _HTMLAppletElement() {
9486 } 9923 }
9487 _HTMLAppletElement.builtin$cls = "_HTMLAppletElement"; 9924 _HTMLAppletElement.builtin$cls = "_HTMLAppletElement";
9488 if (!"name" in _HTMLAppletElement) 9925 if (!"name" in _HTMLAppletElement)
9489 _HTMLAppletElement.name = "_HTMLAppletElement"; 9926 _HTMLAppletElement.name = "_HTMLAppletElement";
9490 $desc = $collectedClasses._HTMLAppletElement; 9927 $desc = $collectedClasses._HTMLAppletElement;
9491 if ($desc instanceof Array) 9928 if ($desc instanceof Array)
9492 $desc = $desc[1]; 9929 $desc = $desc[1];
9493 _HTMLAppletElement.prototype = $desc; 9930 _HTMLAppletElement.prototype = $desc;
9494 function _HTMLBaseFontElement() { 9931 function _HTMLBaseFontElement() {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
9538 _HTMLFrameSetElement.prototype = $desc; 9975 _HTMLFrameSetElement.prototype = $desc;
9539 function _HTMLMarqueeElement() { 9976 function _HTMLMarqueeElement() {
9540 } 9977 }
9541 _HTMLMarqueeElement.builtin$cls = "_HTMLMarqueeElement"; 9978 _HTMLMarqueeElement.builtin$cls = "_HTMLMarqueeElement";
9542 if (!"name" in _HTMLMarqueeElement) 9979 if (!"name" in _HTMLMarqueeElement)
9543 _HTMLMarqueeElement.name = "_HTMLMarqueeElement"; 9980 _HTMLMarqueeElement.name = "_HTMLMarqueeElement";
9544 $desc = $collectedClasses._HTMLMarqueeElement; 9981 $desc = $collectedClasses._HTMLMarqueeElement;
9545 if ($desc instanceof Array) 9982 if ($desc instanceof Array)
9546 $desc = $desc[1]; 9983 $desc = $desc[1];
9547 _HTMLMarqueeElement.prototype = $desc; 9984 _HTMLMarqueeElement.prototype = $desc;
9985 function _MutationEvent() {
9986 }
9987 _MutationEvent.builtin$cls = "_MutationEvent";
9988 if (!"name" in _MutationEvent)
9989 _MutationEvent.name = "_MutationEvent";
9990 $desc = $collectedClasses._MutationEvent;
9991 if ($desc instanceof Array)
9992 $desc = $desc[1];
9993 _MutationEvent.prototype = $desc;
9994 function _Notation() {
9995 }
9996 _Notation.builtin$cls = "_Notation";
9997 if (!"name" in _Notation)
9998 _Notation.name = "_Notation";
9999 $desc = $collectedClasses._Notation;
10000 if ($desc instanceof Array)
10001 $desc = $desc[1];
10002 _Notation.prototype = $desc;
9548 function _XMLHttpRequestProgressEvent() { 10003 function _XMLHttpRequestProgressEvent() {
9549 } 10004 }
9550 _XMLHttpRequestProgressEvent.builtin$cls = "_XMLHttpRequestProgressEvent"; 10005 _XMLHttpRequestProgressEvent.builtin$cls = "_XMLHttpRequestProgressEvent";
9551 if (!"name" in _XMLHttpRequestProgressEvent) 10006 if (!"name" in _XMLHttpRequestProgressEvent)
9552 _XMLHttpRequestProgressEvent.name = "_XMLHttpRequestProgressEvent"; 10007 _XMLHttpRequestProgressEvent.name = "_XMLHttpRequestProgressEvent";
9553 $desc = $collectedClasses._XMLHttpRequestProgressEvent; 10008 $desc = $collectedClasses._XMLHttpRequestProgressEvent;
9554 if ($desc instanceof Array) 10009 if ($desc instanceof Array)
9555 $desc = $desc[1]; 10010 $desc = $desc[1];
9556 _XMLHttpRequestProgressEvent.prototype = $desc; 10011 _XMLHttpRequestProgressEvent.prototype = $desc;
9557 function VersionChangeEvent() { 10012 function VersionChangeEvent() {
9558 } 10013 }
9559 VersionChangeEvent.builtin$cls = "VersionChangeEvent"; 10014 VersionChangeEvent.builtin$cls = "VersionChangeEvent";
9560 if (!"name" in VersionChangeEvent) 10015 if (!"name" in VersionChangeEvent)
9561 VersionChangeEvent.name = "VersionChangeEvent"; 10016 VersionChangeEvent.name = "VersionChangeEvent";
9562 $desc = $collectedClasses.VersionChangeEvent; 10017 $desc = $collectedClasses.VersionChangeEvent;
9563 if ($desc instanceof Array) 10018 if ($desc instanceof Array)
9564 $desc = $desc[1]; 10019 $desc = $desc[1];
9565 VersionChangeEvent.prototype = $desc; 10020 VersionChangeEvent.prototype = $desc;
9566 function AElement() { 10021 function AElement() {
9567 } 10022 }
9568 AElement.builtin$cls = "AElement"; 10023 AElement.builtin$cls = "AElement";
9569 if (!"name" in AElement) 10024 if (!"name" in AElement)
9570 AElement.name = "AElement"; 10025 AElement.name = "AElement";
9571 $desc = $collectedClasses.AElement; 10026 $desc = $collectedClasses.AElement;
9572 if ($desc instanceof Array) 10027 if ($desc instanceof Array)
9573 $desc = $desc[1]; 10028 $desc = $desc[1];
9574 AElement.prototype = $desc; 10029 AElement.prototype = $desc;
10030 AElement.prototype.get$target = function(receiver) {
10031 return receiver.target;
10032 };
9575 function AltGlyphElement() { 10033 function AltGlyphElement() {
9576 } 10034 }
9577 AltGlyphElement.builtin$cls = "AltGlyphElement"; 10035 AltGlyphElement.builtin$cls = "AltGlyphElement";
9578 if (!"name" in AltGlyphElement) 10036 if (!"name" in AltGlyphElement)
9579 AltGlyphElement.name = "AltGlyphElement"; 10037 AltGlyphElement.name = "AltGlyphElement";
9580 $desc = $collectedClasses.AltGlyphElement; 10038 $desc = $collectedClasses.AltGlyphElement;
9581 if ($desc instanceof Array) 10039 if ($desc instanceof Array)
9582 $desc = $desc[1]; 10040 $desc = $desc[1];
9583 AltGlyphElement.prototype = $desc; 10041 AltGlyphElement.prototype = $desc;
9584 function AnimateElement() { 10042 function AnimateElement() {
(...skipping 25 matching lines...) Expand all
9610 AnimateTransformElement.prototype = $desc; 10068 AnimateTransformElement.prototype = $desc;
9611 function AnimatedNumberList() { 10069 function AnimatedNumberList() {
9612 } 10070 }
9613 AnimatedNumberList.builtin$cls = "AnimatedNumberList"; 10071 AnimatedNumberList.builtin$cls = "AnimatedNumberList";
9614 if (!"name" in AnimatedNumberList) 10072 if (!"name" in AnimatedNumberList)
9615 AnimatedNumberList.name = "AnimatedNumberList"; 10073 AnimatedNumberList.name = "AnimatedNumberList";
9616 $desc = $collectedClasses.AnimatedNumberList; 10074 $desc = $collectedClasses.AnimatedNumberList;
9617 if ($desc instanceof Array) 10075 if ($desc instanceof Array)
9618 $desc = $desc[1]; 10076 $desc = $desc[1];
9619 AnimatedNumberList.prototype = $desc; 10077 AnimatedNumberList.prototype = $desc;
10078 function AnimatedString() {
10079 }
10080 AnimatedString.builtin$cls = "AnimatedString";
10081 if (!"name" in AnimatedString)
10082 AnimatedString.name = "AnimatedString";
10083 $desc = $collectedClasses.AnimatedString;
10084 if ($desc instanceof Array)
10085 $desc = $desc[1];
10086 AnimatedString.prototype = $desc;
9620 function AnimationElement() { 10087 function AnimationElement() {
9621 } 10088 }
9622 AnimationElement.builtin$cls = "AnimationElement"; 10089 AnimationElement.builtin$cls = "AnimationElement";
9623 if (!"name" in AnimationElement) 10090 if (!"name" in AnimationElement)
9624 AnimationElement.name = "AnimationElement"; 10091 AnimationElement.name = "AnimationElement";
9625 $desc = $collectedClasses.AnimationElement; 10092 $desc = $collectedClasses.AnimationElement;
9626 if ($desc instanceof Array) 10093 if ($desc instanceof Array)
9627 $desc = $desc[1]; 10094 $desc = $desc[1];
9628 AnimationElement.prototype = $desc; 10095 AnimationElement.prototype = $desc;
9629 function CircleElement() { 10096 function CircleElement() {
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
10060 StopElement.prototype = $desc; 10527 StopElement.prototype = $desc;
10061 function StyleElement0() { 10528 function StyleElement0() {
10062 } 10529 }
10063 StyleElement0.builtin$cls = "StyleElement0"; 10530 StyleElement0.builtin$cls = "StyleElement0";
10064 if (!"name" in StyleElement0) 10531 if (!"name" in StyleElement0)
10065 StyleElement0.name = "StyleElement0"; 10532 StyleElement0.name = "StyleElement0";
10066 $desc = $collectedClasses.StyleElement0; 10533 $desc = $collectedClasses.StyleElement0;
10067 if ($desc instanceof Array) 10534 if ($desc instanceof Array)
10068 $desc = $desc[1]; 10535 $desc = $desc[1];
10069 StyleElement0.prototype = $desc; 10536 StyleElement0.prototype = $desc;
10537 StyleElement0.prototype.set$disabled = function(receiver, v) {
10538 return receiver.disabled = v;
10539 };
10540 function SvgDocument() {
10541 }
10542 SvgDocument.builtin$cls = "SvgDocument";
10543 if (!"name" in SvgDocument)
10544 SvgDocument.name = "SvgDocument";
10545 $desc = $collectedClasses.SvgDocument;
10546 if ($desc instanceof Array)
10547 $desc = $desc[1];
10548 SvgDocument.prototype = $desc;
10070 function SvgElement() { 10549 function SvgElement() {
10071 } 10550 }
10072 SvgElement.builtin$cls = "SvgElement"; 10551 SvgElement.builtin$cls = "SvgElement";
10073 if (!"name" in SvgElement) 10552 if (!"name" in SvgElement)
10074 SvgElement.name = "SvgElement"; 10553 SvgElement.name = "SvgElement";
10075 $desc = $collectedClasses.SvgElement; 10554 $desc = $collectedClasses.SvgElement;
10076 if ($desc instanceof Array) 10555 if ($desc instanceof Array)
10077 $desc = $desc[1]; 10556 $desc = $desc[1];
10078 SvgElement.prototype = $desc; 10557 SvgElement.prototype = $desc;
10079 function SvgSvgElement() { 10558 function SvgSvgElement() {
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
10339 _SVGMPathElement.prototype = $desc; 10818 _SVGMPathElement.prototype = $desc;
10340 function _SVGMissingGlyphElement() { 10819 function _SVGMissingGlyphElement() {
10341 } 10820 }
10342 _SVGMissingGlyphElement.builtin$cls = "_SVGMissingGlyphElement"; 10821 _SVGMissingGlyphElement.builtin$cls = "_SVGMissingGlyphElement";
10343 if (!"name" in _SVGMissingGlyphElement) 10822 if (!"name" in _SVGMissingGlyphElement)
10344 _SVGMissingGlyphElement.name = "_SVGMissingGlyphElement"; 10823 _SVGMissingGlyphElement.name = "_SVGMissingGlyphElement";
10345 $desc = $collectedClasses._SVGMissingGlyphElement; 10824 $desc = $collectedClasses._SVGMissingGlyphElement;
10346 if ($desc instanceof Array) 10825 if ($desc instanceof Array)
10347 $desc = $desc[1]; 10826 $desc = $desc[1];
10348 _SVGMissingGlyphElement.prototype = $desc; 10827 _SVGMissingGlyphElement.prototype = $desc;
10349 function _SVGTRefElement() {
10350 }
10351 _SVGTRefElement.builtin$cls = "_SVGTRefElement";
10352 if (!"name" in _SVGTRefElement)
10353 _SVGTRefElement.name = "_SVGTRefElement";
10354 $desc = $collectedClasses._SVGTRefElement;
10355 if ($desc instanceof Array)
10356 $desc = $desc[1];
10357 _SVGTRefElement.prototype = $desc;
10358 function _SVGVKernElement() { 10828 function _SVGVKernElement() {
10359 } 10829 }
10360 _SVGVKernElement.builtin$cls = "_SVGVKernElement"; 10830 _SVGVKernElement.builtin$cls = "_SVGVKernElement";
10361 if (!"name" in _SVGVKernElement) 10831 if (!"name" in _SVGVKernElement)
10362 _SVGVKernElement.name = "_SVGVKernElement"; 10832 _SVGVKernElement.name = "_SVGVKernElement";
10363 $desc = $collectedClasses._SVGVKernElement; 10833 $desc = $collectedClasses._SVGVKernElement;
10364 if ($desc instanceof Array) 10834 if ($desc instanceof Array)
10365 $desc = $desc[1]; 10835 $desc = $desc[1];
10366 _SVGVKernElement.prototype = $desc; 10836 _SVGVKernElement.prototype = $desc;
10367 function AudioProcessingEvent() { 10837 function AudioProcessingEvent() {
(...skipping 25 matching lines...) Expand all
10393 ContextEvent.prototype = $desc; 10863 ContextEvent.prototype = $desc;
10394 function SqlError() { 10864 function SqlError() {
10395 } 10865 }
10396 SqlError.builtin$cls = "SqlError"; 10866 SqlError.builtin$cls = "SqlError";
10397 if (!"name" in SqlError) 10867 if (!"name" in SqlError)
10398 SqlError.name = "SqlError"; 10868 SqlError.name = "SqlError";
10399 $desc = $collectedClasses.SqlError; 10869 $desc = $collectedClasses.SqlError;
10400 if ($desc instanceof Array) 10870 if ($desc instanceof Array)
10401 $desc = $desc[1]; 10871 $desc = $desc[1];
10402 SqlError.prototype = $desc; 10872 SqlError.prototype = $desc;
10403 SqlError.prototype.get$code = function(receiver) {
10404 return receiver.code;
10405 };
10406 function TypedData() { 10873 function TypedData() {
10407 } 10874 }
10408 TypedData.builtin$cls = "TypedData"; 10875 TypedData.builtin$cls = "TypedData";
10409 if (!"name" in TypedData) 10876 if (!"name" in TypedData)
10410 TypedData.name = "TypedData"; 10877 TypedData.name = "TypedData";
10411 $desc = $collectedClasses.TypedData; 10878 $desc = $collectedClasses.TypedData;
10412 if ($desc instanceof Array) 10879 if ($desc instanceof Array)
10413 $desc = $desc[1]; 10880 $desc = $desc[1];
10414 TypedData.prototype = $desc; 10881 TypedData.prototype = $desc;
10415 function Uint8List() { 10882 function Uint8List() {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
10459 Closure$1.prototype = $desc; 10926 Closure$1.prototype = $desc;
10460 function Closure$21(call$2, $name) { 10927 function Closure$21(call$2, $name) {
10461 this.call$2 = call$2; 10928 this.call$2 = call$2;
10462 this.$name = $name; 10929 this.$name = $name;
10463 } 10930 }
10464 Closure$21.builtin$cls = "Closure$21"; 10931 Closure$21.builtin$cls = "Closure$21";
10465 $desc = $collectedClasses.Closure$21; 10932 $desc = $collectedClasses.Closure$21;
10466 if ($desc instanceof Array) 10933 if ($desc instanceof Array)
10467 $desc = $desc[1]; 10934 $desc = $desc[1];
10468 Closure$21.prototype = $desc; 10935 Closure$21.prototype = $desc;
10469 return [JS_CONST, Interceptor, JSBool, JSNull, JavaScriptObject, PlainJavaScri ptObject, UnknownJavaScriptObject, JSArray, JSMutableArray, JSFixedArray, JSExte ndableArray, JSNumber, JSInt, JSDouble, JSString, CloseToken, JsIsolateSink, _Ma nager, _IsolateContext, _EventLoop, _EventLoop__runHelper_next, _IsolateEvent, _ MainManagerStub, IsolateNatives__processWorkerMessage_closure, _BaseSendPort, _B aseSendPort_call_closure, _NativeJsSendPort, _NativeJsSendPort_send_closure, _Na tiveJsSendPort_send__closure, _WorkerSendPort, _WorkerSendPort_send_closure, Rec eivePortImpl, _waitForPendingPorts_closure, _PendingSendPortFinder, _PendingSend PortFinder_visitList_closure, _PendingSendPortFinder_visitMap_closure, _JsSerial izer, _JsCopier, _JsDeserializer, _JsVisitedMap, _MessageTraverserVisitedMap, _M essageTraverser, _Copier, _Copier_visitMap_closure, _Serializer, _Deserializer, TimerImpl, TimerImpl_internalCallback, TimerImpl_internalCallback0, TypeErrorDec oder, NullError, JsNoSuchMethodError, UnknownJsTypeError, unwrapException_saveSt ackTrace, _StackTrace, invokeClosure_closure, invokeClosure_closure0, invokeClos ure_closure1, invokeClosure_closure2, invokeClosure_closure3, Closure, BoundClos ure, applyExperimentalFixup_newGetTagDartFunction, ListIterator, MappedIterable, EfficientLengthMappedIterable, MappedIterator, FixedLengthListMixin, _AsyncErro r, Future, Future_wait_handleError, Future_wait_closure, _Completer, _AsyncCompl eter, _Future, BoundClosure$2, _Future__addListener_closure, _Future__chainFutur es_closure, _Future__chainFutures_closure0, _Future__asyncComplete_closure, _Fut ure__asyncCompleteError_closure, _Future__propagateToListeners_closure, _Future_ _propagateToListeners_closure0, _Future__propagateToListeners__closure, _Future_ _propagateToListeners__closure0, Stream, Stream_forEach_closure, Stream_forEach_ _closure, Stream_forEach__closure0, Stream_forEach_closure0, Stream_length_closu re, Stream_length_closure0, StreamSubscription, EventSink, _StreamController, _S treamController__subscribe_closure, _SyncStreamControllerDispatch, _AsyncStreamC ontrollerDispatch, _AsyncStreamController, _StreamController__AsyncStreamControl lerDispatch, _SyncStreamController, _StreamController__SyncStreamControllerDispa tch, _ControllerStream, _ControllerSubscription, BoundClosure$0, _EventSink, _Bu fferingStreamSubscription, _StreamImpl, _DelayedEvent, _DelayedData, _DelayedErr or, _PendingEvents, _PendingEvents_schedule_closure, _StreamImplEvents, _cancelA ndError_closure, _BaseZone, _BaseZone_bindCallback_closure, _BaseZone_bindCallba ck_closure0, _rootHandleUncaughtError_closure, _RootZone, _HashMap, _HashMap_val ues_closure, HashMapKeyIterable, HashMapKeyIterator, _LinkedHashMap, _LinkedHash Map_values_closure, LinkedHashMapCell, LinkedHashMapKeyIterable, LinkedHashMapKe yIterator, _HashSet, _IdentityHashSet, HashSetIterator, _HashSetBase, HashSet, I terableBase, ListMixin, Maps_mapToString_closure, ListQueue, _ListQueueIterator, NoSuchMethodError_toString_closure, Duration, Duration_toString_sixDigits, Dura tion_toString_twoDigits, Error, NullThrownError, ArgumentError, RangeError, Unsu pportedError, StateError, ConcurrentModificationError, StackOverflowError, Cycli cInitializationError, _ExceptionImplementation, Expando, Function, Iterator, Nul l, Object, StackTrace, StringBuffer, Symbol, Geolocation_getCurrentPosition_clos ure, Geolocation_getCurrentPosition_closure0, Geolocation_watchPosition_closure0 , Geolocation_watchPosition__closure, Geolocation_watchPosition__closure0, Geolo cation_watchPosition_closure, _GeopositionWrapper, ReceivePort, TypedData_ListMi xin, TypedData_ListMixin_FixedLengthListMixin, main_closure, main_closure0, main _closure1, main_closure2, HtmlElement, AnchorElement, AnimationEvent, AreaElemen t, AudioElement, AutocompleteErrorEvent, BRElement, BaseElement, BeforeLoadEvent , BodyElement, ButtonElement, CanvasElement, CloseEvent, CompositionEvent, Conte ntElement, Coordinates, CssFontFaceLoadEvent, CustomEvent, DListElement, DataLis tElement, DetailsElement, DeviceMotionEvent, DeviceOrientationEvent, DialogEleme nt, DivElement, Document, DomError, DomException, Element, EmbedElement, ErrorEv ent, Event, EventTarget, FieldSetElement, FileError, FocusEvent, FormElement, Ge olocation, Geoposition, HRElement, HashChangeEvent, HeadElement, HeadingElement, HtmlDocument, HtmlHtmlElement, IFrameElement, ImageElement, InputElement, Keybo ardEvent, KeygenElement, LIElement, LabelElement, LegendElement, LinkElement, Ma pElement, MediaElement, MediaError, MediaKeyError, MediaKeyEvent, MediaKeyMessag eEvent, MediaKeyNeededEvent, MediaStream, MediaStreamEvent, MediaStreamTrackEven t, MenuElement, MessageEvent, MetaElement, MeterElement, MidiConnectionEvent, Mi diMessageEvent, ModElement, MouseEvent, MutationEvent, Navigator, NavigatorUserM ediaError, Node, OListElement, ObjectElement, OptGroupElement, OptionElement, Ou tputElement, OverflowEvent, PageTransitionEvent, ParagraphElement, ParamElement, PopStateEvent, PositionError, PreElement, ProgressElement, ProgressEvent, Quote Element, ResourceProgressEvent, RtcDataChannelEvent, RtcDtmfToneChangeEvent, Rtc IceCandidateEvent, ScriptElement, SecurityPolicyViolationEvent, SelectElement, S hadowElement, SourceElement, SpanElement, SpeechInputEvent, SpeechRecognitionErr or, SpeechRecognitionEvent, SpeechSynthesisEvent, StorageEvent, StyleElement, Ta bleCaptionElement, TableCellElement, TableColElement, TableElement, TableRowElem ent, TableSectionElement, TemplateElement, TextAreaElement, TextEvent, TitleElem ent, TouchEvent, TrackElement, TrackEvent, TransitionEvent, UIEvent, UListElemen t, UnknownElement, VideoElement, WheelEvent, Window, _HTMLAppletElement, _HTMLBa seFontElement, _HTMLDirectoryElement, _HTMLFontElement, _HTMLFrameElement, _HTML FrameSetElement, _HTMLMarqueeElement, _XMLHttpRequestProgressEvent, VersionChang eEvent, AElement, AltGlyphElement, AnimateElement, AnimateMotionElement, Animate TransformElement, AnimatedNumberList, AnimationElement, CircleElement, ClipPathE lement, DefsElement, DescElement, EllipseElement, FEBlendElement, FEColorMatrixE lement, FEComponentTransferElement, FECompositeElement, FEConvolveMatrixElement, FEDiffuseLightingElement, FEDisplacementMapElement, FEDistantLightElement, FEFl oodElement, FEFuncAElement, FEFuncBElement, FEFuncGElement, FEFuncRElement, FEGa ussianBlurElement, FEImageElement, FEMergeElement, FEMergeNodeElement, FEMorphol ogyElement, FEOffsetElement, FEPointLightElement, FESpecularLightingElement, FES potLightElement, FETileElement, FETurbulenceElement, FilterElement, ForeignObjec tElement, GElement, GraphicsElement, ImageElement0, LineElement, LinearGradientE lement, MarkerElement, MaskElement, MetadataElement, PathElement, PatternElement , PolygonElement, PolylineElement, RadialGradientElement, RectElement, ScriptEle ment0, SetElement, StopElement, StyleElement0, SvgElement, SvgSvgElement, Switch Element, SymbolElement, TSpanElement, TextContentElement, TextElement, TextPathE lement, TextPositioningElement, TitleElement0, UseElement, ViewElement, ZoomEven t, _GradientElement, _SVGAltGlyphDefElement, _SVGAltGlyphItemElement, _SVGAnimat eColorElement, _SVGComponentTransferFunctionElement, _SVGCursorElement, _SVGFEDr opShadowElement, _SVGFontElement, _SVGFontFaceElement, _SVGFontFaceFormatElement , _SVGFontFaceNameElement, _SVGFontFaceSrcElement, _SVGFontFaceUriElement, _SVGG lyphElement, _SVGGlyphRefElement, _SVGHKernElement, _SVGMPathElement, _SVGMissin gGlyphElement, _SVGTRefElement, _SVGVKernElement, AudioProcessingEvent, OfflineA udioCompletionEvent, ContextEvent, SqlError, TypedData, Uint8List, Closure$2, Cl osure$0, Closure$7, Closure$1, Closure$21]; 10936 return [JS_CONST, Interceptor, JSBool, JSNull, JavaScriptObject, PlainJavaScri ptObject, UnknownJavaScriptObject, JSArray, JSMutableArray, JSFixedArray, JSExte ndableArray, JSNumber, JSInt, JSDouble, JSString, startRootIsolate_closure, star tRootIsolate_closure0, _Manager, _IsolateContext, _EventLoop, _EventLoop__runHel per_next, _IsolateEvent, _MainManagerStub, IsolateNatives__processWorkerMessage_ closure, _BaseSendPort, _NativeJsSendPort, _NativeJsSendPort_send_closure, _Nati veJsSendPort_send__closure, _WorkerSendPort, _WorkerSendPort_send_closure, Recei vePortImpl, BoundClosure$i0, _waitForPendingPorts_closure, _PendingSendPortFinde r, _JsSerializer, _JsCopier, _JsDeserializer, _JsVisitedMap, _MessageTraverserVi sitedMap, _MessageTraverser, BoundClosure$1, _Copier, _Copier_visitMap_closure, _Serializer, _Deserializer, TimerImpl, TimerImpl_internalCallback, TimerImpl_int ernalCallback0, TypeErrorDecoder, NullError, JsNoSuchMethodError, UnknownJsTypeE rror, unwrapException_saveStackTrace, _StackTrace, invokeClosure_closure, invoke Closure_closure0, invokeClosure_closure1, invokeClosure_closure2, invokeClosure_ closure3, Closure, BoundClosure, CastErrorImplementation, applyExperimentalFixup _newGetTagDartFunction, ListIterator, MappedIterable, EfficientLengthMappedItera ble, MappedIterator, FixedLengthListMixin, _AsyncError, Future, Future_wait_hand leError, Future_wait_closure, _Completer, _AsyncCompleter, BoundClosure$2, _Futu re, _Future__addListener_closure, _Future__chainFutures_closure, _Future__chainF utures_closure0, _Future__asyncComplete_closure, _Future__asyncCompleteError_clo sure, _Future__propagateToListeners_closure, _Future__propagateToListeners_closu re0, _Future__propagateToListeners__closure, _Future__propagateToListeners__clos ure0, Stream, Stream_forEach_closure, Stream_forEach__closure, Stream_forEach__c losure0, Stream_forEach_closure0, Stream_length_closure, Stream_length_closure0, Stream_isEmpty_closure, Stream_isEmpty_closure0, StreamSubscription, _StreamCon troller, _StreamController__subscribe_closure, _StreamController__recordCancel_c omplete, _SyncStreamControllerDispatch, _AsyncStreamControllerDispatch, _AsyncSt reamController, _StreamController__AsyncStreamControllerDispatch, _SyncStreamCon troller, _StreamController__SyncStreamControllerDispatch, _ControllerStream, _Co ntrollerSubscription, BoundClosure$0, _EventSink, _BufferingStreamSubscription, _BufferingStreamSubscription__sendDone_sendDone, _StreamImpl, _DelayedEvent, _De layedData, _DelayedDone, _PendingEvents, _PendingEvents_schedule_closure, _Strea mImplEvents, _cancelAndError_closure, _cancelAndErrorClosure_closure, _cancelAnd Value_closure, _BaseZone, _BaseZone_bindCallback_closure, _BaseZone_bindCallback _closure0, _BaseZone_bindUnaryCallback_closure, _BaseZone_bindUnaryCallback_clos ure0, _rootHandleUncaughtError_closure, _rootHandleUncaughtError__closure, _Root Zone, _HashMap, _HashMap_values_closure, HashMapKeyIterable, HashMapKeyIterator, _LinkedHashMap, _LinkedHashMap_values_closure, LinkedHashMapCell, LinkedHashMap KeyIterable, LinkedHashMapKeyIterator, _HashSet, _IdentityHashSet, HashSetIterat or, _HashSetBase, HashSet, IterableBase, ListMixin, Maps_mapToString_closure, Li stQueue, _ListQueueIterator, _convertJsonToDart_closure, _convertJsonToDart_walk , Codec, Converter, JsonCodec, JsonDecoder, NoSuchMethodError_toString_closure, Duration, Duration_toString_sixDigits, Duration_toString_twoDigits, Error, NullT hrownError, ArgumentError, RangeError, UnsupportedError, StateError, ConcurrentM odificationError, StackOverflowError, CyclicInitializationError, _ExceptionImple mentation, FormatException, Expando, Function, Iterator, Null, Object, StackTrac e, StringBuffer, Symbol, HttpRequest_getString_closure, HttpRequest_request_clos ure0, HttpRequest_request_closure, Storage_keys_closure, Storage_values_closure, _EventStream, _ElementEventStreamImpl, _EventStreamSubscription, EventStreamPro vider, _DOMWindowCrossFrame, ReceivePort, _Random, TypedData_ListMixin, TypedDat a_ListMixin_FixedLengthListMixin, main_closure, main_closure0, PirateName, HtmlE lement, AnchorElement, AnimationEvent, AreaElement, AudioElement, AutocompleteEr rorEvent, BRElement, BaseElement, BeforeLoadEvent, BeforeUnloadEvent, BodyElemen t, ButtonElement, CDataSection, CanvasElement, CharacterData, CloseEvent, Commen t, CompositionEvent, ContentElement, CssFontFaceLoadEvent, CustomEvent, DListEle ment, DataListElement, DetailsElement, DeviceMotionEvent, DeviceOrientationEvent , DialogElement, DivElement, Document, DocumentFragment, DocumentType, DomError, DomException, Element, EmbedElement, ErrorEvent, Event, EventTarget, FieldSetEl ement, FileError, FocusEvent, FormElement, HRElement, HashChangeEvent, HeadEleme nt, HeadingElement, HtmlDocument, HtmlHtmlElement, HttpRequest, IFrameElement, I mageElement, InputElement, KeyboardEvent, KeygenElement, LIElement, LabelElement , LegendElement, LinkElement, MapElement, MediaElement, MediaError, MediaKeyErro r, MediaKeyEvent, MediaKeyMessageEvent, MediaKeyNeededEvent, MediaStream, MediaS treamEvent, MediaStreamTrackEvent, MenuElement, MessageEvent, MetaElement, Meter Element, MidiConnectionEvent, MidiMessageEvent, ModElement, MouseEvent, Navigato r, NavigatorUserMediaError, Node, OListElement, ObjectElement, OptGroupElement, OptionElement, OutputElement, OverflowEvent, PageTransitionEvent, ParagraphEleme nt, ParamElement, PopStateEvent, PositionError, PreElement, ProcessingInstructio n, ProgressElement, ProgressEvent, QuoteElement, ResourceProgressEvent, RtcDataC hannelEvent, RtcDtmfToneChangeEvent, RtcIceCandidateEvent, ScriptElement, Securi tyPolicyViolationEvent, SelectElement, ShadowElement, ShadowRoot, SourceElement, SpanElement, SpeechInputEvent, SpeechRecognitionError, SpeechRecognitionEvent, SpeechSynthesisEvent, Storage, StorageEvent, StyleElement, TableCaptionElement, TableCellElement, TableColElement, TableElement, TableRowElement, TableSectionEl ement, TemplateElement, Text, TextAreaElement, TextEvent, TitleElement, TouchEve nt, TrackElement, TrackEvent, TransitionEvent, UIEvent, UListElement, UnknownEle ment, VideoElement, WheelEvent, Window, XmlHttpRequestEventTarget, _Attr, _Entit y, _HTMLAppletElement, _HTMLBaseFontElement, _HTMLDirectoryElement, _HTMLFontEle ment, _HTMLFrameElement, _HTMLFrameSetElement, _HTMLMarqueeElement, _MutationEve nt, _Notation, _XMLHttpRequestProgressEvent, VersionChangeEvent, AElement, AltGl yphElement, AnimateElement, AnimateMotionElement, AnimateTransformElement, Anima tedNumberList, AnimatedString, AnimationElement, CircleElement, ClipPathElement, DefsElement, DescElement, EllipseElement, FEBlendElement, FEColorMatrixElement, FEComponentTransferElement, FECompositeElement, FEConvolveMatrixElement, FEDiff useLightingElement, FEDisplacementMapElement, FEDistantLightElement, FEFloodElem ent, FEFuncAElement, FEFuncBElement, FEFuncGElement, FEFuncRElement, FEGaussianB lurElement, FEImageElement, FEMergeElement, FEMergeNodeElement, FEMorphologyElem ent, FEOffsetElement, FEPointLightElement, FESpecularLightingElement, FESpotLigh tElement, FETileElement, FETurbulenceElement, FilterElement, ForeignObjectElemen t, GElement, GraphicsElement, ImageElement0, LineElement, LinearGradientElement, MarkerElement, MaskElement, MetadataElement, PathElement, PatternElement, Polyg onElement, PolylineElement, RadialGradientElement, RectElement, ScriptElement0, SetElement, StopElement, StyleElement0, SvgDocument, SvgElement, SvgSvgElement, SwitchElement, SymbolElement, TSpanElement, TextContentElement, TextElement, Tex tPathElement, TextPositioningElement, TitleElement0, UseElement, ViewElement, Zo omEvent, _GradientElement, _SVGAltGlyphDefElement, _SVGAltGlyphItemElement, _SVG AnimateColorElement, _SVGComponentTransferFunctionElement, _SVGCursorElement, _S VGFEDropShadowElement, _SVGFontElement, _SVGFontFaceElement, _SVGFontFaceFormatE lement, _SVGFontFaceNameElement, _SVGFontFaceSrcElement, _SVGFontFaceUriElement, _SVGGlyphElement, _SVGGlyphRefElement, _SVGHKernElement, _SVGMPathElement, _SVG MissingGlyphElement, _SVGVKernElement, AudioProcessingEvent, OfflineAudioComplet ionEvent, ContextEvent, SqlError, TypedData, Uint8List, Closure$2, Closure$0, Cl osure$7, Closure$1, Closure$21];
10470 } 10937 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698