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

Side by Side Diff: src/site/codelabs/darrrt/examples/4-classbadge/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 },
281 toString$0: function(receiver) { 289 toString$0: function(receiver) {
282 return H.IterableMixinWorkaround_toStringIterable(receiver, "[", "]"); 290 return H.IterableMixinWorkaround_toStringIterable(receiver, "[", "]");
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after
316 $asJSArray: function() { 324 $asJSArray: function() {
317 return [null]; 325 return [null];
318 }, 326 },
319 $asList: function() { 327 $asList: function() {
320 return [null]; 328 return [null];
321 } 329 }
322 }, 330 },
323 331
324 JSFixedArray: {"": "JSMutableArray;"}, 332 JSFixedArray: {"": "JSMutableArray;"},
325 333
326 JSExtendableArray: {"": "JSMutableArray;", $isJSExtendableArray: true}, 334 JSExtendableArray: {"": "JSMutableArray;"},
327 335
328 JSNumber: {"": "num/Interceptor;", 336 JSNumber: {"": "num/Interceptor;",
329 remainder$1: function(receiver, b) { 337 remainder$1: function(receiver, b) {
330 return receiver % b; 338 return receiver % b;
331 }, 339 },
332 toInt$0: function(receiver) { 340 toInt$0: function(receiver) {
333 var t1; 341 var t1;
342 if (receiver >= -2147483648 && receiver <= 2147483647)
343 return receiver | 0;
334 if (isFinite(receiver)) { 344 if (isFinite(receiver)) {
335 t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver); 345 t1 = receiver < 0 ? Math.ceil(receiver) : Math.floor(receiver);
336 return t1 + 0; 346 return t1 + 0;
337 } 347 }
338 throw H.wrapException(P.UnsupportedError$('' + receiver)); 348 throw H.wrapException(P.UnsupportedError$('' + receiver));
339 }, 349 },
340 toString$0: function(receiver) { 350 toString$0: function(receiver) {
341 if (receiver === 0 && 1 / receiver < 0) 351 if (receiver === 0 && 1 / receiver < 0)
342 return "-0.0"; 352 return "-0.0";
343 else 353 else
344 return "" + receiver; 354 return "" + receiver;
345 }, 355 },
346 get$hashCode: function(receiver) { 356 get$hashCode: function(receiver) {
347 return receiver & 0x1FFFFFFF; 357 return receiver & 0x1FFFFFFF;
348 }, 358 },
349 $tdiv: function(receiver, other) { 359 $tdiv: function(receiver, other) {
360 if ((receiver | 0) === receiver && (other | 0) === other && 0 !== other && - 1 !== other)
361 return receiver / other | 0;
362 else
363 return this._slowTdiv$1(receiver, other);
364 },
365 _slowTdiv$1: function(receiver, other) {
350 return this.toInt$0(receiver / other); 366 return this.toInt$0(receiver / other);
351 }, 367 },
352 $shr: function(receiver, other) { 368 $shr: function(receiver, other) {
353 if (other < 0) 369 if (other < 0)
354 throw H.wrapException(P.ArgumentError$(other)); 370 throw H.wrapException(new P.ArgumentError(other));
355 if (receiver > 0) { 371 if (receiver > 0) {
356 if (other > 31) 372 if (other > 31)
357 return 0; 373 return 0;
358 return receiver >>> other; 374 return receiver >>> other;
359 } 375 }
360 if (other > 31) 376 if (other > 31)
361 other = 31; 377 other = 31;
362 return receiver >> other >>> 0; 378 return receiver >> other >>> 0;
363 }, 379 },
364 $lt: function(receiver, other) { 380 $lt: function(receiver, other) {
365 if (typeof other !== "number") 381 if (typeof other !== "number")
366 throw H.wrapException(P.ArgumentError$(other)); 382 throw H.wrapException(new P.ArgumentError(other));
367 return receiver < other; 383 return receiver < other;
368 }, 384 },
369 $gt: function(receiver, other) { 385 $gt: function(receiver, other) {
370 if (typeof other !== "number") 386 if (typeof other !== "number")
371 throw H.wrapException(new P.ArgumentError(other)); 387 throw H.wrapException(new P.ArgumentError(other));
372 return receiver > other; 388 return receiver > other;
373 }, 389 },
374 $ge: function(receiver, other) { 390 $ge: function(receiver, other) {
375 if (typeof other !== "number") 391 if (typeof other !== "number")
376 throw H.wrapException(P.ArgumentError$(other)); 392 throw H.wrapException(new P.ArgumentError(other));
377 return receiver >= other; 393 return receiver >= other;
378 }, 394 },
379 $isnum: true 395 $isnum: true,
396 static: {
397 "": "JSNumber__MIN_INT32,JSNumber__MAX_INT32",
398 }
399
380 }, 400 },
381 401
382 JSInt: {"": "int/JSNumber;", $isdouble: true, $isnum: true, $isint: true}, 402 JSInt: {"": "int/JSNumber;", $isdouble: true, $isnum: true, $isint: true},
383 403
384 JSDouble: {"": "double/JSNumber;", $isdouble: true, $isnum: true}, 404 JSDouble: {"": "double/JSNumber;", $isdouble: true, $isnum: true},
385 405
386 JSString: {"": "String/Interceptor;", 406 JSString: {"": "String/Interceptor;",
387 codeUnitAt$1: function(receiver, index) { 407 codeUnitAt$1: function(receiver, index) {
388 if (index < 0) 408 if (index < 0)
389 throw H.wrapException(P.RangeError$value(index)); 409 throw H.wrapException(P.RangeError$value(index));
(...skipping 12 matching lines...) Expand all
402 throw H.iae(endIndex); 422 throw H.iae(endIndex);
403 if (startIndex > endIndex) 423 if (startIndex > endIndex)
404 throw H.wrapException(P.RangeError$value(startIndex)); 424 throw H.wrapException(P.RangeError$value(startIndex));
405 if (endIndex > receiver.length) 425 if (endIndex > receiver.length)
406 throw H.wrapException(P.RangeError$value(endIndex)); 426 throw H.wrapException(P.RangeError$value(endIndex));
407 return receiver.substring(startIndex, endIndex); 427 return receiver.substring(startIndex, endIndex);
408 }, 428 },
409 substring$1: function($receiver, startIndex) { 429 substring$1: function($receiver, startIndex) {
410 return this.substring$2($receiver, startIndex, null); 430 return this.substring$2($receiver, startIndex, null);
411 }, 431 },
432 trim$0: function(receiver) {
433 var endIndex, startIndex, codeUnit, endIndex0, endIndex1;
434 for (endIndex = receiver.length, startIndex = 0; startIndex < endIndex;) {
435 if (startIndex >= endIndex)
436 H.throwExpression(P.RangeError$value(startIndex));
437 codeUnit = receiver.charCodeAt(startIndex);
438 if (codeUnit === 32 || codeUnit === 13 || J.JSString__isWhitespace(codeUni t))
439 ++startIndex;
440 else
441 break;
442 }
443 if (startIndex === endIndex)
444 return "";
445 for (endIndex0 = endIndex; true; endIndex0 = endIndex1) {
446 endIndex1 = endIndex0 - 1;
447 if (endIndex1 < 0)
448 H.throwExpression(P.RangeError$value(endIndex1));
449 if (endIndex1 >= endIndex)
450 H.throwExpression(P.RangeError$value(endIndex1));
451 codeUnit = receiver.charCodeAt(endIndex1);
452 if (codeUnit === 32 || codeUnit === 13 || J.JSString__isWhitespace(codeUni t))
453 ;
454 else
455 break;
456 }
457 if (startIndex === 0 && endIndex0 === endIndex)
458 return receiver;
459 return receiver.substring(startIndex, endIndex0);
460 },
412 get$isEmpty: function(receiver) { 461 get$isEmpty: function(receiver) {
413 return receiver.length === 0; 462 return receiver.length === 0;
414 }, 463 },
415 toString$0: function(receiver) { 464 toString$0: function(receiver) {
416 return receiver; 465 return receiver;
417 }, 466 },
418 get$hashCode: function(receiver) { 467 get$hashCode: function(receiver) {
419 var t1, hash, i; 468 var t1, hash, i;
420 for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) { 469 for (t1 = receiver.length, hash = 0, i = 0; i < t1; ++i) {
421 hash = 536870911 & hash + receiver.charCodeAt(i); 470 hash = 536870911 & hash + receiver.charCodeAt(i);
422 hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0); 471 hash = 536870911 & hash + ((524287 & hash) << 10 >>> 0);
423 hash ^= hash >> 6; 472 hash ^= hash >> 6;
424 } 473 }
425 hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0); 474 hash = 536870911 & hash + ((67108863 & hash) << 3 >>> 0);
426 hash ^= hash >> 11; 475 hash ^= hash >> 11;
427 return 536870911 & hash + ((16383 & hash) << 15 >>> 0); 476 return 536870911 & hash + ((16383 & hash) << 15 >>> 0);
428 }, 477 },
429 get$length: function(receiver) { 478 get$length: function(receiver) {
430 return receiver.length; 479 return receiver.length;
431 }, 480 },
432 $index: function(receiver, index) { 481 $index: function(receiver, index) {
433 if (typeof index !== "number" || Math.floor(index) !== index) 482 if (typeof index !== "number" || Math.floor(index) !== index)
434 throw H.wrapException(new P.ArgumentError(index)); 483 throw H.wrapException(new P.ArgumentError(index));
435 if (index >= receiver.length || index < 0) 484 if (index >= receiver.length || index < 0)
436 throw H.wrapException(P.RangeError$value(index)); 485 throw H.wrapException(P.RangeError$value(index));
437 return receiver[index]; 486 return receiver[index];
438 }, 487 },
439 $isString: true 488 $isString: true,
489 static: {
490 JSString__isWhitespace: function(codeUnit) {
491 if (codeUnit < 256)
492 switch (codeUnit) {
493 case 9:
494 case 10:
495 case 11:
496 case 12:
497 case 13:
498 case 32:
499 case 133:
500 case 160:
501 return true;
502 default:
503 return false;
504 }
505 switch (codeUnit) {
506 case 5760:
507 case 6158:
508 case 8192:
509 case 8193:
510 case 8194:
511 case 8195:
512 case 8196:
513 case 8197:
514 case 8198:
515 case 8199:
516 case 8200:
517 case 8201:
518 case 8202:
519 case 8232:
520 case 8233:
521 case 8239:
522 case 8287:
523 case 12288:
524 case 65279:
525 return true;
526 default:
527 return false;
528 }
529 }}
530
440 }}], 531 }}],
441 ["_isolate_helper", "dart:_isolate_helper", , H, { 532 ["_isolate_helper", "dart:_isolate_helper", , H, {
442 _callInIsolate: function(isolate, $function) { 533 _callInIsolate: function(isolate, $function) {
443 var result = isolate.eval$1($function); 534 var result = isolate.eval$1($function);
444 $globalState.topEventLoop.run$0(); 535 $globalState.topEventLoop.run$0();
445 return result; 536 return result;
446 }, 537 },
447 538
448 startRootIsolate: function(entry) { 539 startRootIsolate: function(entry) {
449 var rootContext; 540 var rootContext, t1;
450 $globalState = H._Manager$(entry); 541 $globalState = H._Manager$(entry);
451 if ($globalState.isWorker === true) 542 if ($globalState.isWorker === true)
452 return; 543 return;
453 rootContext = H._IsolateContext$(); 544 rootContext = H._IsolateContext$();
454 $globalState.rootContext = rootContext; 545 $globalState.rootContext = rootContext;
455 $globalState.currentContext = rootContext; 546 $globalState.currentContext = rootContext;
456 rootContext.eval$1(entry); 547 t1 = J.getInterceptor(entry);
548 if (!!t1.$is_args1)
549 rootContext.eval$1(new H.startRootIsolate_closure(entry));
550 else if (!!t1.$is_args2)
551 rootContext.eval$1(new H.startRootIsolate_closure0(entry));
552 else
553 rootContext.eval$1(entry);
457 $globalState.topEventLoop.run$0(); 554 $globalState.topEventLoop.run$0();
458 }, 555 },
459 556
460 IsolateNatives_computeThisScript: function() { 557 IsolateNatives_computeThisScript: function() {
461 var currentScript = init.currentScript; 558 var currentScript = init.currentScript;
462 if (currentScript != null) 559 if (currentScript != null)
463 return String(currentScript.src); 560 return String(currentScript.src);
464 if (typeof version == "function" && typeof os == "object" && "system" in os) 561 if (typeof version == "function" && typeof os == "object" && "system" in os)
465 return H.IsolateNatives_computeThisScriptD8(); 562 return H.IsolateNatives_computeThisScriptD8();
466 if (typeof version == "function" && typeof system == "function") 563 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")) ; 576 matches = stack.match(new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$", "m")) ;
480 if (matches != null) 577 if (matches != null)
481 return matches[1]; 578 return matches[1];
482 matches = stack.match(new RegExp("^[^@]*@(.*):[0-9]*$", "m")); 579 matches = stack.match(new RegExp("^[^@]*@(.*):[0-9]*$", "m"));
483 if (matches != null) 580 if (matches != null)
484 return matches[1]; 581 return matches[1];
485 throw H.wrapException(P.UnsupportedError$("Cannot extract URI from \"" + stack + "\"")); 582 throw H.wrapException(P.UnsupportedError$("Cannot extract URI from \"" + stack + "\""));
486 }, 583 },
487 584
488 IsolateNatives__processWorkerMessage: function(sender, e) { 585 IsolateNatives__processWorkerMessage: function(sender, e) {
489 var msg, t1, functionName, entryPoint, replyTo, context, t2; 586 var msg, t1, functionName, entryPoint, args, message, isSpawnUri, replyTo, con text, t2;
490 msg = H._deserializeMessage(e.data); 587 msg = H._deserializeMessage(e.data);
491 t1 = J.getInterceptor$asx(msg); 588 t1 = J.getInterceptor$asx(msg);
492 switch (t1.$index(msg, "command")) { 589 switch (t1.$index(msg, "command")) {
493 case "start": 590 case "start":
494 $globalState.currentManagerId = t1.$index(msg, "id"); 591 $globalState.currentManagerId = t1.$index(msg, "id");
495 functionName = t1.$index(msg, "functionName"); 592 functionName = t1.$index(msg, "functionName");
496 entryPoint = functionName == null ? $globalState.entry : init.globalFuncti ons[functionName]; 593 entryPoint = functionName == null ? $globalState.entry : init.globalFuncti ons[functionName];
594 args = t1.$index(msg, "args");
595 message = H._deserializeMessage(t1.$index(msg, "msg"));
596 isSpawnUri = t1.$index(msg, "isSpawnUri");
497 replyTo = H._deserializeMessage(t1.$index(msg, "replyTo")); 597 replyTo = H._deserializeMessage(t1.$index(msg, "replyTo"));
498 context = H._IsolateContext$(); 598 context = H._IsolateContext$();
499 $globalState.topEventLoop.events._add$1(new H._IsolateEvent(context, new H .IsolateNatives__processWorkerMessage_closure(entryPoint, replyTo), "worker-star t")); 599 $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; 600 $globalState.currentContext = context;
501 $globalState.topEventLoop.run$0(); 601 $globalState.topEventLoop.run$0();
502 break; 602 break;
503 case "spawn-worker": 603 case "spawn-worker":
504 H.IsolateNatives__spawnWorker(t1.$index(msg, "functionName"), t1.$index(ms g, "uri"), t1.$index(msg, "replyPort")); 604 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; 605 break;
506 case "message": 606 case "message":
507 if (t1.$index(msg, "port") != null) 607 if (t1.$index(msg, "port") != null)
508 t1.$index(msg, "port").send$2(t1.$index(msg, "msg"), t1.$index(msg, "rep lyTo")); 608 t1.$index(msg, "port").send$1(t1.$index(msg, "msg"));
509 $globalState.topEventLoop.run$0(); 609 $globalState.topEventLoop.run$0();
510 break; 610 break;
511 case "close": 611 case "close":
512 t1 = $globalState.managers; 612 t1 = $globalState.managers;
513 t2 = $.get$IsolateNatives_workerIds(); 613 t2 = $.get$IsolateNatives_workerIds();
514 t1.remove$1(t1, t2.$index(t2, sender)); 614 t1.remove$1(t1, t2.$index(t2, sender));
515 sender.terminate(); 615 sender.terminate();
516 $globalState.topEventLoop.run$0(); 616 $globalState.topEventLoop.run$0();
517 break; 617 break;
518 case "log": 618 case "log":
(...skipping 25 matching lines...) Expand all
544 try { 644 try {
545 $.get$globalThis().console.log(msg); 645 $.get$globalThis().console.log(msg);
546 } catch (exception) { 646 } catch (exception) {
547 H.unwrapException(exception); 647 H.unwrapException(exception);
548 trace = new H._StackTrace(exception, null); 648 trace = new H._StackTrace(exception, null);
549 throw H.wrapException(P.Exception_Exception(trace)); 649 throw H.wrapException(P.Exception_Exception(trace));
550 } 650 }
551 651
552 }, 652 },
553 653
554 IsolateNatives__startIsolate: function(topLevel, replyTo) { 654 IsolateNatives__startIsolate: function(topLevel, args, message, isSpawnUri, repl yTo) {
555 var t1; 655 var t1;
556 H.Primitives_initializeStatics($globalState.currentContext.id); 656 H.Primitives_initializeStatics($globalState.currentContext.id);
557 $.lazyPort = H.ReceivePortImpl$(); 657 $.lazyPort = H.ReceivePortImpl$();
558 t1 = P._Isolate_port(); 658 t1 = $.lazyPort;
559 t1.toString; 659 t1.toString;
560 replyTo.send$2("spawned", new H._NativeJsSendPort(t1, $globalState.currentCont ext.id)); 660 replyTo.send$1(["spawned", new H._NativeJsSendPort(t1, $globalState.currentCon text.id)]);
561 topLevel.call$0(); 661 if (isSpawnUri !== true)
662 topLevel.call$1(message);
663 else {
664 t1 = J.getInterceptor(topLevel);
665 if (!!t1.$is_args2)
666 topLevel.call$2(args, message);
667 else if (!!t1.$is_args1)
668 topLevel.call$1(args);
669 else
670 topLevel.call$0();
671 }
562 }, 672 },
563 673
564 IsolateNatives__spawnWorker: function(functionName, uri, replyPort) { 674 IsolateNatives__spawnWorker: function(functionName, uri, args, message, isSpawnU ri, replyPort) {
565 var worker, t1, workerId; 675 var worker, t1, workerId;
566 if (uri == null) 676 if (uri == null)
567 uri = $.get$IsolateNatives_thisScript(); 677 uri = $.get$IsolateNatives_thisScript();
568 worker = new Worker(uri); 678 worker = new Worker(uri);
569 worker.onmessage = function(e) { H.IsolateNatives__processWorkerMessage$closur e.call$2(worker, e); }; 679 worker.onmessage = function(e) { H.IsolateNatives__processWorkerMessage$closur e.call$2(worker, e); };
570 t1 = $globalState; 680 t1 = $globalState;
571 workerId = t1.nextManagerId; 681 workerId = t1.nextManagerId;
572 t1.nextManagerId = workerId + 1; 682 t1.nextManagerId = workerId + 1;
573 t1 = $.get$IsolateNatives_workerIds(); 683 t1 = $.get$IsolateNatives_workerIds();
574 t1.$indexSet(t1, worker, workerId); 684 t1.$indexSet(t1, worker, workerId);
575 t1 = $globalState.managers; 685 t1 = $globalState.managers;
576 t1.$indexSet(t1, workerId, worker); 686 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)))); 687 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 }, 688 },
579 689
580 _waitForPendingPorts: function(message, callback) { 690 _waitForPendingPorts: function(message, callback) {
581 var finder = H._PendingSendPortFinder$(); 691 var finder = H._PendingSendPortFinder$();
582 finder.traverse$1(message); 692 finder.traverse$1(message);
583 P.Future_wait(finder.ports).then$1(new H._waitForPendingPorts_closure(callback )); 693 P.Future_wait(finder.ports).then$1(new H._waitForPendingPorts_closure(callback ));
584 }, 694 },
585 695
586 _serializeMessage: function(message) { 696 _serializeMessage: function(message) {
587 var t1; 697 var t1;
(...skipping 16 matching lines...) Expand all
604 }, 714 },
605 715
606 _MessageTraverser_isPrimitive: function(x) { 716 _MessageTraverser_isPrimitive: function(x) {
607 return x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean"; 717 return x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean";
608 }, 718 },
609 719
610 _Deserializer_isPrimitive: function(x) { 720 _Deserializer_isPrimitive: function(x) {
611 return x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean"; 721 return x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean";
612 }, 722 },
613 723
614 CloseToken: {"": "Object;", $isCloseToken: true}, 724 startRootIsolate_closure: {"": "Closure;entry_0",
725 call$0: function() {
726 this.entry_0.call$1([]);
727 }
728 },
615 729
616 JsIsolateSink: {"": "EventSink;_isClosed,_port<", 730 startRootIsolate_closure0: {"": "Closure;entry_1",
617 add$1: function(_, message) { 731 call$0: function() {
618 this._port.send$1(message); 732 this.entry_1.call$2([], null);
619 }, 733 }
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 }, 734 },
633 735
634 _Manager: {"": "Object;nextIsolateId,currentManagerId,nextManagerId,currentConte xt,rootContext,topEventLoop,fromCommandLine,isWorker,supportsWorkers,isolates,ma inManager,managers,entry", 736 _Manager: {"": "Object;nextIsolateId,currentManagerId,nextManagerId,currentConte xt,rootContext,topEventLoop,fromCommandLine,isWorker,supportsWorkers,isolates,ma inManager,managers,entry",
635 _nativeDetectEnvironment$0: function() { 737 _nativeDetectEnvironment$0: function() {
636 var t1, t2; 738 var t1, t2;
637 t1 = $.get$globalWindow() == null; 739 t1 = $.get$globalWindow() == null;
638 t2 = $.get$globalWorker(); 740 t2 = $.get$globalWorker();
639 this.isWorker = t1 && $.get$globalPostMessageDefined() === true; 741 this.isWorker = t1 && $.get$globalPostMessageDefined() === true;
640 if (this.isWorker !== true) 742 if (this.isWorker !== true)
641 t2 = t2 != null && $.get$IsolateNatives_thisScript() != null; 743 t2 = t2 != null && $.get$IsolateNatives_thisScript() != null;
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after
787 }, 889 },
788 890
789 _IsolateEvent: {"": "Object;isolate,fn,message", 891 _IsolateEvent: {"": "Object;isolate,fn,message",
790 process$0: function() { 892 process$0: function() {
791 this.isolate.eval$1(this.fn); 893 this.isolate.eval$1(this.fn);
792 } 894 }
793 }, 895 },
794 896
795 _MainManagerStub: {"": "Object;"}, 897 _MainManagerStub: {"": "Object;"},
796 898
797 IsolateNatives__processWorkerMessage_closure: {"": "Closure;entryPoint_0,replyTo _1", 899 IsolateNatives__processWorkerMessage_closure: {"": "Closure;entryPoint_0,args_1, message_2,isSpawnUri_3,replyTo_4",
798 call$0: function() { 900 call$0: function() {
799 H.IsolateNatives__startIsolate(this.entryPoint_0, this.replyTo_1); 901 H.IsolateNatives__startIsolate(this.entryPoint_0, this.args_1, this.message_ 2, this.isSpawnUri_3, this.replyTo_4);
800 } 902 }
801 }, 903 },
802 904
803 _BaseSendPort: {"": "Object;", 905 _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 906
850 _NativeJsSendPort: {"": "_BaseSendPort;_receivePort,_isolateId", 907 _NativeJsSendPort: {"": "_BaseSendPort;_receivePort,_isolateId",
851 send$2: function(message, replyTo) { 908 send$2: function(message, replyTo) {
852 H._waitForPendingPorts([message, replyTo], new H._NativeJsSendPort_send_clos ure(this, message, replyTo)); 909 H._waitForPendingPorts(message, new H._NativeJsSendPort_send_closure(this, m essage));
853 }, 910 },
854 send$1: function(message) { 911 send$1: function(message) {
855 return this.send$2(message, null); 912 return this.send$2(message, null);
856 }, 913 },
857 $eq: function(_, other) { 914 $eq: function(_, other) {
858 var t1; 915 var t1;
859 if (other == null) 916 if (other == null)
860 return false; 917 return false;
861 t1 = J.getInterceptor(other); 918 t1 = J.getInterceptor(other);
862 return typeof other === "object" && other !== null && !!t1.$is_NativeJsSendP ort && J.$eq(this._receivePort, other._receivePort); 919 return typeof other === "object" && other !== null && !!t1.$is_NativeJsSendP ort && J.$eq(this._receivePort, other._receivePort);
863 }, 920 },
864 get$hashCode: function(_) { 921 get$hashCode: function(_) {
865 return this._receivePort.get$_id(); 922 return this._receivePort.get$_id();
866 }, 923 },
867 $is_NativeJsSendPort: true, 924 $is_NativeJsSendPort: true,
868 $isSendPort: true 925 $isSendPort: true
869 }, 926 },
870 927
871 _NativeJsSendPort_send_closure: {"": "Closure;this_1,message_2,replyTo_3", 928 _NativeJsSendPort_send_closure: {"": "Closure;this_1,message_2",
872 call$0: function() { 929 call$0: function() {
873 var t1, t2, t3, t4, t5, isolate, shouldSerialize, msg; 930 var t1, t2, t3, t4, isolate, shouldSerialize, msg;
874 t1 = {}; 931 t1 = {};
875 t2 = this.this_1; 932 t2 = $globalState.isolates;
876 t3 = this.replyTo_3; 933 t3 = this.this_1;
877 t2._checkReplyTo$1(t3); 934 t4 = t3._isolateId;
878 t4 = $globalState.isolates; 935 isolate = t2.$index(t2, t4);
879 t5 = t2._isolateId;
880 isolate = t4.$index(t4, t5);
881 if (isolate == null) 936 if (isolate == null)
882 return; 937 return;
883 if (t2._receivePort.get$_callback() == null) 938 if ((t3._receivePort.get$_controller()._state & 4) !== 0)
884 return; 939 return;
885 shouldSerialize = $globalState.currentContext != null && $globalState.curren tContext.id !== t5; 940 shouldSerialize = $globalState.currentContext != null && $globalState.curren tContext.id !== t4;
886 msg = this.message_2; 941 msg = this.message_2;
887 t1.msg_0 = msg; 942 t1.msg_0 = msg;
888 t1.reply_1 = t3; 943 if (shouldSerialize)
889 if (shouldSerialize) {
890 t1.msg_0 = H._serializeMessage(t1.msg_0); 944 t1.msg_0 = H._serializeMessage(t1.msg_0);
891 t1.reply_1 = H._serializeMessage(t1.reply_1); 945 t2 = $globalState.topEventLoop;
892 }
893 t3 = $globalState.topEventLoop;
894 t4 = "receive " + H.S(msg); 946 t4 = "receive " + H.S(msg);
895 t3.events._add$1(new H._IsolateEvent(isolate, new H._NativeJsSendPort_send__ closure(t1, t2, shouldSerialize), t4)); 947 t2.events._add$1(new H._IsolateEvent(isolate, new H._NativeJsSendPort_send__ closure(t1, t3, shouldSerialize), t4));
896 } 948 }
897 }, 949 },
898 950
899 _NativeJsSendPort_send__closure: {"": "Closure;box_0,this_4,shouldSerialize_5", 951 _NativeJsSendPort_send__closure: {"": "Closure;box_0,this_3,shouldSerialize_4",
900 call$0: function() { 952 call$0: function() {
901 var t1, t2; 953 var t1, t2;
902 t1 = this.this_4._receivePort; 954 t1 = this.this_3._receivePort;
903 if (t1.get$_callback() != null) { 955 if ((t1.get$_controller()._state & 4) === 0) {
904 if (this.shouldSerialize_5) { 956 if (this.shouldSerialize_4) {
905 t2 = this.box_0; 957 t2 = this.box_0;
906 t2.msg_0 = H._deserializeMessage(t2.msg_0); 958 t2.msg_0 = H._deserializeMessage(t2.msg_0);
907 t2.reply_1 = H._deserializeMessage(t2.reply_1);
908 } 959 }
909 t2 = this.box_0; 960 t1 = t1.get$_controller();
910 t1._callback$2(t2.msg_0, t2.reply_1); 961 t2 = this.box_0.msg_0;
962 if (t1._state >= 4)
963 H.throwExpression(t1._badEventState$0());
964 t1._async$_add$1(t2);
911 } 965 }
912 } 966 }
913 }, 967 },
914 968
915 _WorkerSendPort: {"": "_BaseSendPort;_workerId,_receivePortId,_isolateId", 969 _WorkerSendPort: {"": "_BaseSendPort;_workerId,_receivePortId,_isolateId",
916 send$2: function(message, replyTo) { 970 send$2: function(message, replyTo) {
917 H._waitForPendingPorts([message, replyTo], new H._WorkerSendPort_send_closur e(this, message, replyTo)); 971 H._waitForPendingPorts(message, new H._WorkerSendPort_send_closure(this, mes sage));
918 }, 972 },
919 send$1: function(message) { 973 send$1: function(message) {
920 return this.send$2(message, null); 974 return this.send$2(message, null);
921 }, 975 },
922 $eq: function(_, other) { 976 $eq: function(_, other) {
923 var t1; 977 var t1;
924 if (other == null) 978 if (other == null)
925 return false; 979 return false;
926 t1 = J.getInterceptor(other); 980 t1 = J.getInterceptor(other);
927 if (typeof other === "object" && other !== null && !!t1.$is_WorkerSendPort) 981 if (typeof other === "object" && other !== null && !!t1.$is_WorkerSendPort)
(...skipping 12 matching lines...) Expand all
940 throw t2.$shl(); 994 throw t2.$shl();
941 t3 = this._receivePortId; 995 t3 = this._receivePortId;
942 if (typeof t3 !== "number") 996 if (typeof t3 !== "number")
943 throw H.iae(t3); 997 throw H.iae(t3);
944 return (t1 << 16 ^ t2 << 8 ^ t3) >>> 0; 998 return (t1 << 16 ^ t2 << 8 ^ t3) >>> 0;
945 }, 999 },
946 $is_WorkerSendPort: true, 1000 $is_WorkerSendPort: true,
947 $isSendPort: true 1001 $isSendPort: true
948 }, 1002 },
949 1003
950 _WorkerSendPort_send_closure: {"": "Closure;this_0,message_1,replyTo_2", 1004 _WorkerSendPort_send_closure: {"": "Closure;this_0,message_1",
951 call$0: function() { 1005 call$0: function() {
952 var t1, t2, workerMessage, manager; 1006 var t1, workerMessage, t2, manager;
953 t1 = this.this_0; 1007 t1 = this.this_0;
954 t2 = this.replyTo_2; 1008 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) { 1009 if ($globalState.isWorker === true) {
958 $globalState.mainManager.toString; 1010 $globalState.mainManager.toString;
959 self.postMessage(workerMessage); 1011 self.postMessage(workerMessage);
960 } else { 1012 } else {
961 t2 = $globalState.managers; 1013 t2 = $globalState.managers;
962 manager = t2.$index(t2, t1._workerId); 1014 manager = t2.$index(t2, t1._workerId);
963 if (manager != null) 1015 if (manager != null)
964 manager.postMessage(workerMessage); 1016 manager.postMessage(workerMessage);
965 } 1017 }
966 } 1018 }
967 }, 1019 },
968 1020
969 ReceivePortImpl: {"": "Object;_id<,_callback<", 1021 ReceivePortImpl: {"": "Stream;_id<,_controller<",
970 _callback$2: function(arg0, arg1) { 1022 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) {
971 return this._callback.call$2(arg0, arg1); 1023 var t1 = this._controller;
1024 t1.toString;
1025 t1 = new P._ControllerStream(t1);
1026 H.setRuntimeTypeInfo(t1, [null]);
1027 return t1.listen$4$cancelOnError$onDone$onError(onData, cancelOnError, onDon e, onError);
1028 },
1029 close$0: function(_) {
1030 var t1 = this._controller;
1031 if ((t1._state & 4) !== 0)
1032 return;
1033 t1.close$0(t1);
1034 $globalState.currentContext.unregister$1(this._id);
1035 },
1036 get$close: function(_receiver) {
1037 return new H.BoundClosure$i0(this, H.ReceivePortImpl.prototype.close$0, _rec eiver, "close$0");
972 }, 1038 },
973 ReceivePortImpl$0: function() { 1039 ReceivePortImpl$0: function() {
1040 this._controller = P.StreamController_StreamController(this.get$close(this), null, null, null, true, null);
974 var t1 = $globalState.currentContext; 1041 var t1 = $globalState.currentContext;
975 t1.register$2(t1, this._id, this); 1042 t1.register$2(t1, this._id, this);
976 }, 1043 },
977 static: { 1044 static: {
978 "": "ReceivePortImpl__nextFreeId", 1045 "": "ReceivePortImpl__nextFreeId",
979 ReceivePortImpl$: function() { 1046 ReceivePortImpl$: function() {
980 var t1 = $.ReceivePortImpl__nextFreeId; 1047 var t1 = $.ReceivePortImpl__nextFreeId;
981 $.ReceivePortImpl__nextFreeId = t1 + 1; 1048 $.ReceivePortImpl__nextFreeId = t1 + 1;
982 t1 = new H.ReceivePortImpl(t1, null); 1049 t1 = new H.ReceivePortImpl(t1, null);
983 t1.ReceivePortImpl$0(); 1050 t1.ReceivePortImpl$0();
984 return t1; 1051 return t1;
985 }} 1052 }}
986 1053
987 }, 1054 },
988 1055
989 _waitForPendingPorts_closure: {"": "Closure;callback_0", 1056 _waitForPendingPorts_closure: {"": "Closure;callback_0",
990 call$1: function(_) { 1057 call$1: function(_) {
991 return this.callback_0.call$0(); 1058 return this.callback_0.call$0();
992 } 1059 },
1060 $is_args1: true
993 }, 1061 },
994 1062
995 _PendingSendPortFinder: {"": "_MessageTraverser;ports,_visited", 1063 _PendingSendPortFinder: {"": "_MessageTraverser;ports,_visited",
996 visitPrimitive$1: function(x) { 1064 visitPrimitive$1: function(x) {
997 }, 1065 },
998 visitList$1: function(list) { 1066 visitList$1: function(list) {
999 var t1 = this._visited; 1067 var t1 = this._visited;
1000 if (t1.$index(t1, list) != null) 1068 if (t1.$index(t1, list) != null)
1001 return; 1069 return;
1002 t1 = this._visited; 1070 t1 = this._visited;
1003 t1.$indexSet(t1, list, true); 1071 t1.$indexSet(t1, list, true);
1004 J.forEach$1$ax(list, new H._PendingSendPortFinder_visitList_closure(this)); 1072 J.forEach$1$ax(list, this.get$_dispatch());
1005 }, 1073 },
1006 visitMap$1: function(map) { 1074 visitMap$1: function(map) {
1007 var t1 = this._visited; 1075 var t1 = this._visited;
1008 if (t1.$index(t1, map) != null) 1076 if (t1.$index(t1, map) != null)
1009 return; 1077 return;
1010 t1 = this._visited; 1078 t1 = this._visited;
1011 t1.$indexSet(t1, map, true); 1079 t1.$indexSet(t1, map, true);
1012 t1 = map.get$values(map); 1080 t1 = map.get$values(map);
1013 t1.forEach$1(t1, new H._PendingSendPortFinder_visitMap_closure(this)); 1081 t1.forEach$1(t1, this.get$_dispatch());
1014 }, 1082 },
1015 visitSendPort$1: function(port) { 1083 visitSendPort$1: function(port) {
1016 }, 1084 },
1017 visitIsolateSink$1: function(sink) {
1018 this.visitSendPort$1(sink._port);
1019 },
1020 visitCloseToken$1: function(token) {
1021 },
1022 _PendingSendPortFinder$0: function() { 1085 _PendingSendPortFinder$0: function() {
1023 this._visited = new H._JsVisitedMap(null); 1086 this._visited = new H._JsVisitedMap(null);
1024 }, 1087 },
1025 static: { 1088 static: {
1026 _PendingSendPortFinder$: function() { 1089 _PendingSendPortFinder$: function() {
1027 var t1 = new H._PendingSendPortFinder([], new H._MessageTraverserVisitedMap()) ; 1090 var t1 = new H._PendingSendPortFinder([], new H._MessageTraverserVisitedMap()) ;
1028 t1._PendingSendPortFinder$0(); 1091 t1._PendingSendPortFinder$0();
1029 return t1; 1092 return t1;
1030 }} 1093 }}
1031 1094
1032 }, 1095 },
1033 1096
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", 1097 _JsSerializer: {"": "_Serializer;_nextFreeRefId,_visited",
1047 visitSendPort$1: function(x) { 1098 visitSendPort$1: function(x) {
1048 var t1 = J.getInterceptor(x); 1099 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()]; 1100 return ["sendport", $globalState.currentManagerId, x._isolateId, x._receiv ePort.get$_id()];
1051 if (typeof x === "object" && x !== null && !!t1.$is_WorkerSendPort) 1101 if (!!x.$is_WorkerSendPort)
1052 return ["sendport", x._workerId, x._isolateId, x._receivePortId]; 1102 return ["sendport", x._workerId, x._isolateId, x._receivePortId];
1053 throw H.wrapException("Illegal underlying port " + H.S(x)); 1103 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 } 1104 }
1062 }, 1105 },
1063 1106
1064 _JsCopier: {"": "_Copier;_visited", 1107 _JsCopier: {"": "_Copier;_visited",
1065 visitSendPort$1: function(x) { 1108 visitSendPort$1: function(x) {
1066 var t1 = J.getInterceptor(x); 1109 if (!!x.$is_NativeJsSendPort)
1067 if (typeof x === "object" && x !== null && !!t1.$is_NativeJsSendPort)
1068 return new H._NativeJsSendPort(x._receivePort, x._isolateId); 1110 return new H._NativeJsSendPort(x._receivePort, x._isolateId);
1069 if (typeof x === "object" && x !== null && !!t1.$is_WorkerSendPort) 1111 if (!!x.$is_WorkerSendPort)
1070 return new H._WorkerSendPort(x._workerId, x._receivePortId, x._isolateId); 1112 return new H._WorkerSendPort(x._workerId, x._receivePortId, x._isolateId);
1071 throw H.wrapException("Illegal underlying port " + H.S(x)); 1113 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 } 1114 }
1081 }, 1115 },
1082 1116
1083 _JsDeserializer: {"": "_Deserializer;_deserialized", 1117 _JsDeserializer: {"": "_Deserializer;_deserialized",
1084 deserializeSendPort$1: function(list) { 1118 deserializeSendPort$1: function(list) {
1085 var t1, managerId, isolateId, receivePortId, isolate, receivePort; 1119 var t1, managerId, isolateId, receivePortId, isolate, receivePort;
1086 t1 = J.getInterceptor$asx(list); 1120 t1 = J.getInterceptor$asx(list);
1087 managerId = t1.$index(list, 1); 1121 managerId = t1.$index(list, 1);
1088 isolateId = t1.$index(list, 2); 1122 isolateId = t1.$index(list, 2);
1089 receivePortId = t1.$index(list, 3); 1123 receivePortId = t1.$index(list, 3);
1090 if (J.$eq(managerId, $globalState.currentManagerId)) { 1124 if (J.$eq(managerId, $globalState.currentManagerId)) {
1091 t1 = $globalState.isolates; 1125 t1 = $globalState.isolates;
1092 isolate = t1.$index(t1, isolateId); 1126 isolate = t1.$index(t1, isolateId);
1093 if (isolate == null) 1127 if (isolate == null)
1094 return; 1128 return;
1095 receivePort = isolate.lookup$1(receivePortId); 1129 receivePort = isolate.lookup$1(receivePortId);
1096 if (receivePort == null) 1130 if (receivePort == null)
1097 return; 1131 return;
1098 return new H._NativeJsSendPort(receivePort, isolateId); 1132 return new H._NativeJsSendPort(receivePort, isolateId);
1099 } else 1133 } else
1100 return new H._WorkerSendPort(managerId, receivePortId, isolateId); 1134 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 } 1135 }
1113 }, 1136 },
1114 1137
1115 _JsVisitedMap: {"": "Object;tagged", 1138 _JsVisitedMap: {"": "Object;tagged",
1116 $index: function(_, object) { 1139 $index: function(_, object) {
1117 return object.__MessageTraverser__attached_info__; 1140 return object.__MessageTraverser__attached_info__;
1118 }, 1141 },
1119 $indexSet: function(_, object, info) { 1142 $indexSet: function(_, object, info) {
1120 this.tagged.push(object); 1143 this.tagged.push(object);
1121 object.__MessageTraverser__attached_info__ = info; 1144 object.__MessageTraverser__attached_info__ = info;
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
1166 var t1; 1189 var t1;
1167 if (x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean") 1190 if (x == null || typeof x === "string" || typeof x === "number" || typeof x === "boolean")
1168 return this.visitPrimitive$1(x); 1191 return this.visitPrimitive$1(x);
1169 t1 = J.getInterceptor(x); 1192 t1 = J.getInterceptor(x);
1170 if (typeof x === "object" && x !== null && (x.constructor === Array || !!t1. $isList)) 1193 if (typeof x === "object" && x !== null && (x.constructor === Array || !!t1. $isList))
1171 return this.visitList$1(x); 1194 return this.visitList$1(x);
1172 if (typeof x === "object" && x !== null && !!t1.$isMap) 1195 if (typeof x === "object" && x !== null && !!t1.$isMap)
1173 return this.visitMap$1(x); 1196 return this.visitMap$1(x);
1174 if (typeof x === "object" && x !== null && !!t1.$isSendPort) 1197 if (typeof x === "object" && x !== null && !!t1.$isSendPort)
1175 return this.visitSendPort$1(x); 1198 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); 1199 return this.visitObject$1(x);
1181 }, 1200 },
1201 get$_dispatch: function() {
1202 return new H.BoundClosure$1(this, H._MessageTraverser.prototype._dispatch$1, null, "_dispatch$1");
1203 },
1182 visitObject$1: function(x) { 1204 visitObject$1: function(x) {
1183 throw H.wrapException("Message serialization: Illegal value " + H.S(x) + " p assed"); 1205 throw H.wrapException("Message serialization: Illegal value " + H.S(x) + " p assed");
1184 } 1206 }
1185 }, 1207 },
1186 1208
1187 _Copier: {"": "_MessageTraverser;", 1209 _Copier: {"": "_MessageTraverser;",
1188 visitPrimitive$1: function(x) { 1210 visitPrimitive$1: function(x) {
1189 return x; 1211 return x;
1190 }, 1212 },
1191 visitList$1: function(list) { 1213 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; 1214 var t1, copy, len, t2, i, t3;
1215 t1 = this._visited; 1215 t1 = this._visited;
1216 copy = t1.$index(t1, list); 1216 copy = t1.$index(t1, list);
1217 if (copy != null) 1217 if (copy != null)
1218 return copy; 1218 return copy;
1219 t1 = J.getInterceptor$asx(list); 1219 t1 = J.getInterceptor$asx(list);
1220 len = t1.get$length(list); 1220 len = t1.get$length(list);
1221 copy = P.List_List(len, null); 1221 copy = P.List_List(len, null);
1222 t2 = this._visited; 1222 t2 = this._visited;
1223 t2.$indexSet(t2, list, copy); 1223 t2.$indexSet(t2, list, copy);
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
1278 id = this._nextFreeRefId; 1278 id = this._nextFreeRefId;
1279 this._nextFreeRefId = id + 1; 1279 this._nextFreeRefId = id + 1;
1280 t1 = this._visited; 1280 t1 = this._visited;
1281 t1.$indexSet(t1, map, id); 1281 t1.$indexSet(t1, map, id);
1282 t1 = map.get$keys(); 1282 t1 = map.get$keys();
1283 keys = this._serializeList$1(P.List_List$from(t1, true, H.getRuntimeTypeArgu ment(t1, "IterableBase", 0))); 1283 keys = this._serializeList$1(P.List_List$from(t1, true, H.getRuntimeTypeArgu ment(t1, "IterableBase", 0)));
1284 t1 = map.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)))]; 1285 return ["map", id, keys, this._serializeList$1(P.List_List$from(t1, true, H. getRuntimeTypeArgument(t1, "IterableBase", 0)))];
1286 }, 1286 },
1287 _serializeList$1: function(list) { 1287 _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; 1288 var t1, len, result, t2, i, t3;
1305 t1 = J.getInterceptor$asx(list); 1289 t1 = J.getInterceptor$asx(list);
1306 len = t1.get$length(list); 1290 len = t1.get$length(list);
1307 result = P.List_List(len, null); 1291 result = P.List_List(len, null);
1308 for (t2 = result.length, i = 0; i < len; ++i) { 1292 for (t2 = result.length, i = 0; i < len; ++i) {
1309 t3 = this._dispatch$1(t1.$index(list, i)); 1293 t3 = this._dispatch$1(t1.$index(list, i));
1310 if (i >= t2) 1294 if (i >= t2)
1311 throw H.ioore(result, i); 1295 throw H.ioore(result, i);
1312 result[i] = t3; 1296 result[i] = t3;
1313 } 1297 }
(...skipping 17 matching lines...) Expand all
1331 case "ref": 1315 case "ref":
1332 id = t1.$index(x, 1); 1316 id = t1.$index(x, 1);
1333 t1 = this._deserialized; 1317 t1 = this._deserialized;
1334 return t1.$index(t1, id); 1318 return t1.$index(t1, id);
1335 case "list": 1319 case "list":
1336 return this._deserializeList$1(x); 1320 return this._deserializeList$1(x);
1337 case "map": 1321 case "map":
1338 return this._deserializeMap$1(x); 1322 return this._deserializeMap$1(x);
1339 case "sendport": 1323 case "sendport":
1340 return this.deserializeSendPort$1(x); 1324 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: 1325 default:
1346 return this.deserializeObject$1(x); 1326 return this.deserializeObject$1(x);
1347 } 1327 }
1348 }, 1328 },
1349 _deserializeList$1: function(x) { 1329 _deserializeList$1: function(x) {
1350 var t1, id, dartList, len, i; 1330 var t1, id, dartList, len, i;
1351 t1 = J.getInterceptor$asx(x); 1331 t1 = J.getInterceptor$asx(x);
1352 id = t1.$index(x, 1); 1332 id = t1.$index(x, 1);
1353 dartList = t1.$index(x, 2); 1333 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; 1334 t1 = this._deserialized;
1372 t1.$indexSet(t1, id, dartList); 1335 t1.$indexSet(t1, id, dartList);
1373 t1 = J.getInterceptor$asx(dartList); 1336 t1 = J.getInterceptor$asx(dartList);
1374 len = t1.get$length(dartList); 1337 len = t1.get$length(dartList);
1375 if (typeof len !== "number") 1338 if (typeof len !== "number")
1376 throw H.iae(len); 1339 throw H.iae(len);
1377 i = 0; 1340 i = 0;
1378 for (; i < len; ++i) 1341 for (; i < len; ++i)
1379 t1.$indexSet(dartList, i, this._deserializeHelper$1(t1.$index(dartList, i) )); 1342 t1.$indexSet(dartList, i, this._deserializeHelper$1(t1.$index(dartList, i) ));
1380 return dartList; 1343 return dartList;
1381 }, 1344 },
1382 _deserializeMap$1: function(x) { 1345 _deserializeMap$1: function(x) {
1383 var result, t1, id, t2, keys, values, len, i, key; 1346 var result, t1, id, t2, keys, values, len, i;
1384 result = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null); 1347 result = P.LinkedHashMap_LinkedHashMap(null, null, null, null, null);
1385 t1 = J.getInterceptor$asx(x); 1348 t1 = J.getInterceptor$asx(x);
1386 id = t1.$index(x, 1); 1349 id = t1.$index(x, 1);
1387 t2 = this._deserialized; 1350 t2 = this._deserialized;
1388 t2.$indexSet(t2, id, result); 1351 t2.$indexSet(t2, id, result);
1389 keys = t1.$index(x, 2); 1352 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); 1353 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]))) 1354 t1 = J.getInterceptor$asx(keys);
1394 return this._deserializeMap$1$bailout(2, result, keys, 0, 0, values); 1355 len = t1.get$length(keys);
1395 len = keys.length; 1356 if (typeof len !== "number")
1396 for (i = 0; i < len; ++i) { 1357 throw H.iae(len);
1397 if (i >= keys.length) 1358 t2 = J.getInterceptor$asx(values);
1398 throw H.ioore(keys, i); 1359 i = 0;
1399 key = this._deserializeHelper$1(keys[i]); 1360 for (; i < len; ++i)
1400 if (i >= values.length) 1361 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; 1362 return result;
1405 }, 1363 },
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) { 1364 deserializeObject$1: function(x) {
1433 throw H.wrapException("Unexpected serialized object"); 1365 throw H.wrapException("Unexpected serialized object");
1434 } 1366 }
1435 }, 1367 },
1436 1368
1437 TimerImpl: {"": "Object;_once,_inEventLoop,_handle", 1369 TimerImpl: {"": "Object;_once,_inEventLoop,_handle",
1438 TimerImpl$2: function(milliseconds, callback) { 1370 TimerImpl$2: function(milliseconds, callback) {
1439 var t1, t2; 1371 var t1, t2;
1440 if (milliseconds === 0) 1372 if (milliseconds === 0)
1441 t1 = $.get$globalThis().setTimeout == null || $globalState.isWorker === tr ue; 1373 t1 = $.get$globalThis().setTimeout == null || $globalState.isWorker === tr ue;
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
1563 } 1495 }
1564 return result; 1496 return result;
1565 }, 1497 },
1566 1498
1567 Primitives_stringFromCodePoints: function(codePoints) { 1499 Primitives_stringFromCodePoints: function(codePoints) {
1568 var a, t1, i; 1500 var a, t1, i;
1569 a = []; 1501 a = [];
1570 for (t1 = new H.ListIterator(codePoints, codePoints.length, 0, null); t1.moveN ext$0();) { 1502 for (t1 = new H.ListIterator(codePoints, codePoints.length, 0, null); t1.moveN ext$0();) {
1571 i = t1._current; 1503 i = t1._current;
1572 if (typeof i !== "number" || Math.floor(i) !== i) 1504 if (typeof i !== "number" || Math.floor(i) !== i)
1573 throw H.wrapException(P.ArgumentError$(i)); 1505 throw H.wrapException(new P.ArgumentError(i));
1574 if (i <= 65535) 1506 if (i <= 65535)
1575 a.push(i); 1507 a.push(i);
1576 else if (i <= 1114111) { 1508 else if (i <= 1114111) {
1577 a.push(55296 + (C.JSInt_methods.$shr(i - 65536, 10) & 1023)); 1509 a.push(55296 + (C.JSInt_methods.$shr(i - 65536, 10) & 1023));
1578 a.push(56320 + (i & 1023)); 1510 a.push(56320 + (i & 1023));
1579 } else 1511 } else
1580 throw H.wrapException(P.ArgumentError$(i)); 1512 throw H.wrapException(new P.ArgumentError(i));
1581 } 1513 }
1582 return H.Primitives__fromCharCodeApply(a); 1514 return H.Primitives__fromCharCodeApply(a);
1583 }, 1515 },
1584 1516
1585 Primitives_stringFromCharCodes: function(charCodes) { 1517 Primitives_stringFromCharCodes: function(charCodes) {
1586 var t1, i; 1518 var t1, i;
1587 for (t1 = new H.ListIterator(charCodes, charCodes.length, 0, null); t1.moveNex t$0();) { 1519 for (t1 = new H.ListIterator(charCodes, charCodes.length, 0, null); t1.moveNex t$0();) {
1588 i = t1._current; 1520 i = t1._current;
1589 if (typeof i !== "number" || Math.floor(i) !== i) 1521 if (typeof i !== "number" || Math.floor(i) !== i)
1590 throw H.wrapException(P.ArgumentError$(i)); 1522 throw H.wrapException(new P.ArgumentError(i));
1591 if (i < 0) 1523 if (i < 0)
1592 throw H.wrapException(P.ArgumentError$(i)); 1524 throw H.wrapException(new P.ArgumentError(i));
1593 if (i > 65535) 1525 if (i > 65535)
1594 return H.Primitives_stringFromCodePoints(charCodes); 1526 return H.Primitives_stringFromCodePoints(charCodes);
1595 } 1527 }
1596 return H.Primitives__fromCharCodeApply(charCodes); 1528 return H.Primitives__fromCharCodeApply(charCodes);
1597 }, 1529 },
1598 1530
1599 Primitives_getProperty: function(object, key) { 1531 Primitives_getProperty: function(object, key) {
1600 if (object == null || typeof object === "boolean" || typeof object === "number " || typeof object === "string") 1532 if (object == null || typeof object === "boolean" || typeof object === "number " || typeof object === "string")
1601 throw H.wrapException(new P.ArgumentError(object)); 1533 throw H.wrapException(new P.ArgumentError(object));
1602 return object[key]; 1534 return object[key];
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
1777 if (closure == null) 1709 if (closure == null)
1778 return; 1710 return;
1779 $function = closure.$identity; 1711 $function = closure.$identity;
1780 if (!!$function) 1712 if (!!$function)
1781 return $function; 1713 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); 1714 $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; 1715 closure.$identity = $function;
1784 return $function; 1716 return $function;
1785 }, 1717 },
1786 1718
1719 propertyTypeCastError: function(value, property) {
1720 var t1 = J.getInterceptor$asx(property);
1721 throw H.wrapException(H.CastErrorImplementation$(H.Primitives_objectTypeName(v alue), t1.substring$2(property, 3, t1.get$length(property))));
1722 },
1723
1724 interceptedTypeCast: function(value, property) {
1725 var t1;
1726 if (value != null)
1727 t1 = typeof value === "object" && J.getInterceptor(value)[property];
1728 else
1729 t1 = true;
1730 if (t1)
1731 return value;
1732 H.propertyTypeCastError(value, property);
1733 },
1734
1787 throwCyclicInit: function(staticName) { 1735 throwCyclicInit: function(staticName) {
1788 throw H.wrapException(P.CyclicInitializationError$("Cyclic initialization for static " + H.S(staticName))); 1736 throw H.wrapException(P.CyclicInitializationError$("Cyclic initialization for static " + H.S(staticName)));
1789 }, 1737 },
1790 1738
1791 setRuntimeTypeInfo: function(target, typeInfo) { 1739 setRuntimeTypeInfo: function(target, typeInfo) {
1792 if (target != null) 1740 if (target != null)
1793 target.$builtinTypeInfo = typeInfo; 1741 target.$builtinTypeInfo = typeInfo;
1794 return target; 1742 return target;
1795 }, 1743 },
1796 1744
(...skipping 12 matching lines...) Expand all
1809 return $arguments == null ? null : $arguments[index]; 1757 return $arguments == null ? null : $arguments[index];
1810 }, 1758 },
1811 1759
1812 runtimeTypeToString: function(type) { 1760 runtimeTypeToString: function(type) {
1813 if (type == null) 1761 if (type == null)
1814 return "dynamic"; 1762 return "dynamic";
1815 else if (typeof type === "object" && type !== null && type.constructor === Arr ay) 1763 else if (typeof type === "object" && type !== null && type.constructor === Arr ay)
1816 return type[0].builtin$cls + H.joinArguments(type, 1); 1764 return type[0].builtin$cls + H.joinArguments(type, 1);
1817 else if (typeof type == "function") 1765 else if (typeof type == "function")
1818 return type.builtin$cls; 1766 return type.builtin$cls;
1767 else if (typeof type === "number" && Math.floor(type) === type)
1768 return C.JSInt_methods.toString$0(type);
1819 else 1769 else
1820 return; 1770 return;
1821 }, 1771 },
1822 1772
1823 joinArguments: function(types, startIndex) { 1773 joinArguments: function(types, startIndex) {
1824 var buffer, index, firstArgument, allDynamic, argument, str; 1774 var buffer, index, firstArgument, allDynamic, argument, str;
1825 if (types == null) 1775 if (types == null)
1826 return ""; 1776 return "";
1827 buffer = P.StringBuffer$(""); 1777 buffer = P.StringBuffer$("");
1828 for (index = startIndex, firstArgument = true, allDynamic = true; index < type s.length; ++index) { 1778 for (index = startIndex, firstArgument = true, allDynamic = true; index < type s.length; ++index) {
(...skipping 17 matching lines...) Expand all
1846 else if (typeof substitution == "function") { 1796 else if (typeof substitution == "function") {
1847 substitution = H.invokeOn(substitution, null, $arguments); 1797 substitution = H.invokeOn(substitution, null, $arguments);
1848 if (typeof substitution === "object" && substitution !== null && substitutio n.constructor === Array) 1798 if (typeof substitution === "object" && substitution !== null && substitutio n.constructor === Array)
1849 $arguments = substitution; 1799 $arguments = substitution;
1850 else if (typeof substitution == "function") 1800 else if (typeof substitution == "function")
1851 $arguments = H.invokeOn(substitution, null, $arguments); 1801 $arguments = H.invokeOn(substitution, null, $arguments);
1852 } 1802 }
1853 return $arguments; 1803 return $arguments;
1854 }, 1804 },
1855 1805
1806 computeSignature: function(signature, context, contextName) {
1807 return H.invokeOn(signature, context, H.getRuntimeTypeArguments(context, conte xtName));
1808 },
1809
1856 invokeOn: function($function, receiver, $arguments) { 1810 invokeOn: function($function, receiver, $arguments) {
1857 return $function.apply(receiver, $arguments); 1811 return $function.apply(receiver, $arguments);
1858 }, 1812 },
1859 1813
1860 typeNameInChrome: function(obj) { 1814 typeNameInChrome: function(obj) {
1861 return obj.constructor.name; 1815 return obj.constructor.name;
1862 }, 1816 },
1863 1817
1864 typeNameInSafari: function(obj) { 1818 typeNameInSafari: function(obj) {
1865 return H.constructorNameFallback(obj); 1819 return H.constructorNameFallback(obj);
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after
1995 tag = $.get$getTypeNameOf().call$1(obj); 1949 tag = $.get$getTypeNameOf().call$1(obj);
1996 interceptorClass = H.lookupInterceptor(hasOwnPropertyFunction, tag); 1950 interceptorClass = H.lookupInterceptor(hasOwnPropertyFunction, tag);
1997 if (interceptorClass == null) { 1951 if (interceptorClass == null) {
1998 secondTag = H.alternateTag(obj, tag); 1952 secondTag = H.alternateTag(obj, tag);
1999 if (secondTag != null) 1953 if (secondTag != null)
2000 interceptorClass = H.lookupInterceptor(hasOwnPropertyFunction, secondTag); 1954 interceptorClass = H.lookupInterceptor(hasOwnPropertyFunction, secondTag);
2001 } 1955 }
2002 if (interceptorClass == null) 1956 if (interceptorClass == null)
2003 return; 1957 return;
2004 interceptor = interceptorClass.prototype; 1958 interceptor = interceptorClass.prototype;
2005 init.leafTags;
2006 if (init.leafTags[tag] === true) 1959 if (init.leafTags[tag] === true)
2007 return H.makeLeafDispatchRecord(interceptor); 1960 return H.makeLeafDispatchRecord(interceptor);
2008 else 1961 else
2009 return J.makeDispatchRecord(interceptor, Object.getPrototypeOf(obj), null, n ull); 1962 return J.makeDispatchRecord(interceptor, Object.getPrototypeOf(obj), null, n ull);
2010 }, 1963 },
2011 1964
2012 makeLeafDispatchRecord: function(interceptor) { 1965 makeLeafDispatchRecord: function(interceptor) {
2013 return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScr iptIndexingBehavior); 1966 return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaScr iptIndexingBehavior);
2014 }, 1967 },
2015 1968
1969 makeDefaultDispatchRecord: function(tag, interceptorClass, proto) {
1970 var interceptor = interceptorClass.prototype;
1971 if (init.leafTags[tag] === true)
1972 return J.makeDispatchRecord(interceptor, false, null, !!interceptor.$isJavaS criptIndexingBehavior);
1973 else
1974 return J.makeDispatchRecord(interceptor, proto, null, null);
1975 },
1976
1977 initNativeDispatch: function() {
1978 var context, map, tags, i, tag, proto, record;
1979 $.initNativeDispatchFlag = true;
1980 if (typeof window != "undefined") {
1981 context = window;
1982 map = init.interceptorsByTag;
1983 tags = Object.getOwnPropertyNames(map);
1984 for (i = 0; i < tags.length; ++i) {
1985 tag = tags[i];
1986 if (typeof context[tag] == "function") {
1987 proto = context[tag].prototype;
1988 if (proto != null) {
1989 record = H.makeDefaultDispatchRecord(tag, map[tag], proto);
1990 if (record != null)
1991 Object.defineProperty(proto, init.dispatchPropertyName, {value: reco rd, enumerable: false, writable: true, configurable: true});
1992 }
1993 }
1994 }
1995 }
1996 },
1997
2016 TypeErrorDecoder: {"": "Object;_pattern,_arguments,_argumentsExpr,_expr,_method, _receiver", 1998 TypeErrorDecoder: {"": "Object;_pattern,_arguments,_argumentsExpr,_expr,_method, _receiver",
2017 matchTypeError$1: function(message) { 1999 matchTypeError$1: function(message) {
2018 var match, result, t1; 2000 var match, result, t1;
2019 match = new RegExp(this._pattern).exec(message); 2001 match = new RegExp(this._pattern).exec(message);
2020 if (match == null) 2002 if (match == null)
2021 return; 2003 return;
2022 result = {}; 2004 result = {};
2023 t1 = this._arguments; 2005 t1 = this._arguments;
2024 if (t1 !== -1) 2006 if (t1 !== -1)
2025 result.arguments = match[t1 + 1]; 2007 result.arguments = match[t1 + 1];
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
2158 } 2140 }
2159 }, 2141 },
2160 2142
2161 unwrapException_saveStackTrace: {"": "Closure;ex_0", 2143 unwrapException_saveStackTrace: {"": "Closure;ex_0",
2162 call$1: function(error) { 2144 call$1: function(error) {
2163 var t1 = J.getInterceptor(error); 2145 var t1 = J.getInterceptor(error);
2164 if (typeof error === "object" && error !== null && !!t1.$isError) 2146 if (typeof error === "object" && error !== null && !!t1.$isError)
2165 if (error.$thrownJsError == null) 2147 if (error.$thrownJsError == null)
2166 error.$thrownJsError = this.ex_0; 2148 error.$thrownJsError = this.ex_0;
2167 return error; 2149 return error;
2168 } 2150 },
2151 $is_args1: true
2169 }, 2152 },
2170 2153
2171 _StackTrace: {"": "Object;_exception,_trace", 2154 _StackTrace: {"": "Object;_exception,_trace",
2172 toString$0: function(_) { 2155 toString$0: function(_) {
2173 var t1, trace; 2156 var t1, trace;
2174 t1 = this._trace; 2157 t1 = this._trace;
2175 if (t1 != null) 2158 if (t1 != null)
2176 return t1; 2159 return t1;
2177 t1 = this._exception; 2160 t1 = this._exception;
2178 trace = typeof t1 === "object" ? t1.stack : null; 2161 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); 2194 return this.closure_10.call$4(this.arg1_11, this.arg2_12, this.arg3_13, this .arg4_14);
2212 } 2195 }
2213 }, 2196 },
2214 2197
2215 Closure: {"": "Object;", 2198 Closure: {"": "Object;",
2216 toString$0: function(_) { 2199 toString$0: function(_) {
2217 return "Closure"; 2200 return "Closure";
2218 } 2201 }
2219 }, 2202 },
2220 2203
2221 BoundClosure: {"": "Closure;_self,_target,_receiver,__js_helper$_name", 2204 BoundClosure: {"": "Closure;_self,__js_helper$_target,_receiver,__js_helper$_nam e",
2222 $eq: function(_, other) { 2205 $eq: function(_, other) {
2223 var t1; 2206 var t1;
2224 if (other == null) 2207 if (other == null)
2225 return false; 2208 return false;
2226 if (this === other) 2209 if (this === other)
2227 return true; 2210 return true;
2228 t1 = J.getInterceptor(other); 2211 t1 = J.getInterceptor(other);
2229 if (typeof other !== "object" || other === null || !t1.$isBoundClosure) 2212 if (typeof other !== "object" || other === null || !t1.$isBoundClosure)
2230 return false; 2213 return false;
2231 return this._self === other._self && this._target === other._target && this. _receiver === other._receiver; 2214 return this._self === other._self && this.__js_helper$_target === other.__js _helper$_target && this._receiver === other._receiver;
2232 }, 2215 },
2233 get$hashCode: function(_) { 2216 get$hashCode: function(_) {
2234 var t1, receiverHashCode; 2217 var t1, receiverHashCode;
2235 t1 = this._receiver; 2218 t1 = this._receiver;
2236 if (t1 == null) 2219 if (t1 == null)
2237 receiverHashCode = H.Primitives_objectHashCode(this._self); 2220 receiverHashCode = H.Primitives_objectHashCode(this._self);
2238 else 2221 else
2239 receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Primit ives_objectHashCode(t1); 2222 receiverHashCode = typeof t1 !== "object" ? J.get$hashCode$(t1) : H.Primit ives_objectHashCode(t1);
2240 return (receiverHashCode ^ H.Primitives_objectHashCode(this._target)) >>> 0; 2223 return (receiverHashCode ^ H.Primitives_objectHashCode(this.__js_helper$_tar get)) >>> 0;
2241 }, 2224 },
2242 $isBoundClosure: true 2225 $isBoundClosure: true
2243 }, 2226 },
2244 2227
2228 CastErrorImplementation: {"": "Error;message",
2229 toString$0: function(_) {
2230 return this.message;
2231 },
2232 $isError: true,
2233 static: {
2234 CastErrorImplementation$: function(actualType, expectedType) {
2235 return new H.CastErrorImplementation("CastError: Casting value of type " + act ualType + " to incompatible type " + H.S(expectedType));
2236 }}
2237
2238 },
2239
2245 applyExperimentalFixup_newGetTagDartFunction: {"": "Closure;newGetTagJSFunction_ 0", 2240 applyExperimentalFixup_newGetTagDartFunction: {"": "Closure;newGetTagJSFunction_ 0",
2246 call$1: function(object) { 2241 call$1: function(object) {
2247 return this.newGetTagJSFunction_0(object); 2242 return this.newGetTagJSFunction_0(object);
2248 } 2243 },
2244 $is_args1: true
2249 }}], 2245 }}],
2250 ["dart._collection.dev", "dart:_collection-dev", , H, { 2246 ["dart._collection.dev", "dart:_collection-dev", , H, {
2251 Arrays_copy: function(src, srcStart, dst, dstStart, count) { 2247 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; 2248 var i, j, t1;
2277 if (srcStart < dstStart) 2249 if (srcStart < dstStart)
2278 for (i = srcStart + count - 1, j = dstStart + count - 1; i >= srcStart; --i, --j) { 2250 for (i = srcStart + count - 1, j = dstStart + count - 1; i >= srcStart; --i, --j) {
2279 if (i < 0 || i >= src.length) 2251 if (i < 0 || i >= src.length)
2280 throw H.ioore(src, i); 2252 throw H.ioore(src, i);
2281 C.JSArray_methods.$indexSet(dst, j, src[i]); 2253 C.JSArray_methods.$indexSet(dst, j, src[i]);
2282 } 2254 }
2283 else 2255 else
2284 for (t1 = srcStart + count, j = dstStart, i = srcStart; i < t1; ++i, ++j) { 2256 for (t1 = srcStart + count, j = dstStart, i = srcStart; i < t1; ++i, ++j) {
2285 if (i < 0 || i >= src.length) 2257 if (i < 0 || i >= src.length)
(...skipping 142 matching lines...) Expand 10 before | Expand all | Expand 10 after
2428 return false; 2400 return false;
2429 }, 2401 },
2430 get$current: function() { 2402 get$current: function() {
2431 return this._current; 2403 return this._current;
2432 }, 2404 },
2433 $asIterator: function($S, $T) { 2405 $asIterator: function($S, $T) {
2434 return [$T]; 2406 return [$T];
2435 } 2407 }
2436 }, 2408 },
2437 2409
2438 FixedLengthListMixin: {"": "Object;", 2410 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, { 2411 ["dart.async", "dart:async", , P, {
2450 _attachStackTrace: function(o, st) { 2412 _attachStackTrace: function(o, st) {
2451 var t1; 2413 var t1;
2452 if (o == null || typeof o === "boolean" || typeof o === "number" || typeof o = == "string") 2414 if (o == null || typeof o === "boolean" || typeof o === "number" || typeof o = == "string")
2453 return; 2415 return;
2454 t1 = $.get$_stackTraceExpando(); 2416 t1 = $.get$_stackTraceExpando();
2455 t1.$indexSet(t1, o, st); 2417 t1.$indexSet(t1, o, st);
2456 }, 2418 },
2457 2419
2458 _invokeErrorHandler: function(errorHandler, error, stackTrace) { 2420 _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); 2515 t1 = new P._SyncStreamController(onListen, onPause, onResume, onCancel, null , 0, null);
2554 H.setRuntimeTypeInfo(t1, [$T]); 2516 H.setRuntimeTypeInfo(t1, [$T]);
2555 } else { 2517 } else {
2556 t1 = new P._AsyncStreamController(onListen, onPause, onResume, onCancel, nul l, 0, null); 2518 t1 = new P._AsyncStreamController(onListen, onPause, onResume, onCancel, nul l, 0, null);
2557 H.setRuntimeTypeInfo(t1, [$T]); 2519 H.setRuntimeTypeInfo(t1, [$T]);
2558 } 2520 }
2559 return t1; 2521 return t1;
2560 }, 2522 },
2561 2523
2562 _runGuarded: function(notificationHandler) { 2524 _runGuarded: function(notificationHandler) {
2563 var e, s, exception, t1, t2; 2525 var result, e, s, t1, t2, exception;
2564 if (notificationHandler == null) 2526 if (notificationHandler == null)
2565 return; 2527 return;
2566 try { 2528 try {
2567 notificationHandler.call$0(); 2529 result = notificationHandler.call$0();
2530 t1 = result;
2531 t2 = J.getInterceptor(t1);
2532 if (typeof t1 === "object" && t1 !== null && !!t2.$isFuture)
2533 return result;
2534 return;
2568 } catch (exception) { 2535 } catch (exception) {
2569 t1 = H.unwrapException(exception); 2536 t1 = H.unwrapException(exception);
2570 e = t1; 2537 e = t1;
2571 s = new H._StackTrace(exception, null); 2538 s = new H._StackTrace(exception, null);
2572 t1 = $.Zone__current; 2539 t1 = $.Zone__current;
2573 t2 = P._asyncError(e, s); 2540 t2 = P._asyncError(e, s);
2574 t1.toString; 2541 t1.toString;
2575 P._rootHandleUncaughtError(t1, null, t1, t2, s); 2542 P._rootHandleUncaughtError(t1, null, t1, t2, s);
2576 } 2543 }
2577 2544
(...skipping 26 matching lines...) Expand all
2604 onSuccess.call$1(userCode.call$0()); 2571 onSuccess.call$1(userCode.call$0());
2605 } catch (exception) { 2572 } catch (exception) {
2606 t1 = H.unwrapException(exception); 2573 t1 = H.unwrapException(exception);
2607 e = t1; 2574 e = t1;
2608 s = new H._StackTrace(exception, null); 2575 s = new H._StackTrace(exception, null);
2609 onError.call$2(P._asyncError(e, s), s); 2576 onError.call$2(P._asyncError(e, s), s);
2610 } 2577 }
2611 2578
2612 }, 2579 },
2613 2580
2614 _cancelAndError: function(subscription, future) { 2581 _cancelAndError: function(subscription, future, error, stackTrace) {
2615 return new P._cancelAndError_closure(subscription, future); 2582 var cancelFuture, t1;
2583 cancelFuture = subscription.cancel$0();
2584 t1 = J.getInterceptor(cancelFuture);
2585 if (typeof cancelFuture === "object" && cancelFuture !== null && !!t1.$isFutur e)
2586 cancelFuture.whenComplete$1(new P._cancelAndError_closure(future, error, sta ckTrace));
2587 else
2588 future._completeError$2(error, stackTrace);
2589 },
2590
2591 _cancelAndErrorClosure: function(subscription, future) {
2592 return new P._cancelAndErrorClosure_closure(subscription, future);
2616 }, 2593 },
2617 2594
2618 Timer_Timer: function(duration, callback) { 2595 Timer_Timer: function(duration, callback) {
2619 var t1, t2; 2596 var t1, t2;
2620 t1 = $.Zone__current; 2597 t1 = $.Zone__current;
2621 if (t1 === C.C__RootZone) { 2598 if (t1 === C.C__RootZone) {
2622 t1.toString; 2599 t1.toString;
2623 return P._createTimer(duration, callback); 2600 return P._createTimer(duration, callback);
2624 } 2601 }
2625 t2 = t1.bindCallback$2$runGuarded(callback, true); 2602 t2 = t1.bindCallback$2$runGuarded(callback, true);
2626 t1.toString; 2603 t1.toString;
2627 return P._createTimer(duration, t2); 2604 return P._createTimer(duration, t2);
2628 }, 2605 },
2629 2606
2630 _createTimer: function(duration, callback) { 2607 _createTimer: function(duration, callback) {
2631 var milliseconds = C.JSNumber_methods.$tdiv(duration._duration, 1000); 2608 var milliseconds = C.JSNumber_methods.$tdiv(duration._duration, 1000);
2632 return H.TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback); 2609 return H.TimerImpl$(milliseconds < 0 ? 0 : milliseconds, callback);
2633 }, 2610 },
2634 2611
2635 _rootHandleUncaughtError: function($self, $parent, zone, error, stackTrace) { 2612 _rootHandleUncaughtError: function($self, $parent, zone, error, stackTrace) {
2636 P._scheduleAsyncCallback(new P._rootHandleUncaughtError_closure(error, stackTr ace)); 2613 P._rootRun($self, null, $self, new P._rootHandleUncaughtError_closure(error, s tackTrace));
2637 }, 2614 },
2638 2615
2639 _rootRun: function($self, $parent, zone, f) { 2616 _rootRun: function($self, $parent, zone, f) {
2640 var old, t1, t2; 2617 var old, t1, t2;
2641 t1 = $.Zone__current; 2618 t1 = $.Zone__current;
2642 t2 = zone; 2619 t2 = zone;
2643 if (t1 == null ? t2 == null : t1 === t2) 2620 if (t1 == null ? t2 == null : t1 === t2)
2644 return f.call$0(); 2621 return f.call$0();
2645 old = t1; 2622 old = t1;
2646 try { 2623 try {
(...skipping 14 matching lines...) Expand all
2661 old = t1; 2638 old = t1;
2662 try { 2639 try {
2663 $.Zone__current = zone; 2640 $.Zone__current = zone;
2664 t1 = f.call$1(arg); 2641 t1 = f.call$1(arg);
2665 return t1; 2642 return t1;
2666 } finally { 2643 } finally {
2667 $.Zone__current = old; 2644 $.Zone__current = old;
2668 } 2645 }
2669 }, 2646 },
2670 2647
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}, 2648 _AsyncError: {"": "Object;error>,stackTrace<", $isError: true},
2688 2649
2689 Future: {"": "Object;", $isFuture: true}, 2650 Future: {"": "Object;", $isFuture: true},
2690 2651
2691 Future_wait_handleError: {"": "Closure;box_0", 2652 Future_wait_handleError: {"": "Closure;box_0",
2692 call$1: function(error) { 2653 call$1: function(error) {
2693 var t1 = this.box_0; 2654 var t1 = this.box_0;
2694 if (t1.values_1 != null) { 2655 if (t1.values_1 != null) {
2695 t1.values_1 = null; 2656 t1.values_1 = null;
2696 t1 = t1.completer_0.future; 2657 t1 = t1.completer_0.future;
2697 if (t1._state !== 0) 2658 if (t1._state !== 0)
2698 H.throwExpression(new P.StateError("Future already completed")); 2659 H.throwExpression(P.StateError$("Future already completed"));
2699 t1._asyncCompleteError$2(error, null); 2660 t1._asyncCompleteError$2(error, null);
2700 } 2661 }
2701 return; 2662 return;
2702 } 2663 },
2664 $is_args1: true
2703 }, 2665 },
2704 2666
2705 Future_wait_closure: {"": "Closure;box_0,pos_1", 2667 Future_wait_closure: {"": "Closure;box_0,pos_1",
2706 call$1: function(value) { 2668 call$1: function(value) {
2707 var t1, t2, t3; 2669 var t1, t2, t3;
2708 t1 = this.box_0; 2670 t1 = this.box_0;
2709 t2 = t1.values_1; 2671 t2 = t1.values_1;
2710 if (t2 == null) 2672 if (t2 == null)
2711 return; 2673 return;
2712 t3 = this.pos_1; 2674 t3 = this.pos_1;
2713 if (t3 < 0 || t3 >= t2.length) 2675 if (t3 < 0 || t3 >= t2.length)
2714 throw H.ioore(t2, t3); 2676 throw H.ioore(t2, t3);
2715 t2[t3] = value; 2677 t2[t3] = value;
2716 t1.remaining_2 = t1.remaining_2 - 1; 2678 t1.remaining_2 = t1.remaining_2 - 1;
2717 if (t1.remaining_2 === 0) { 2679 if (t1.remaining_2 === 0) {
2718 t2 = t1.completer_0; 2680 t2 = t1.completer_0;
2719 t1 = t1.values_1; 2681 t1 = t1.values_1;
2720 t2 = t2.future; 2682 t2 = t2.future;
2721 if (t2._state !== 0) 2683 if (t2._state !== 0)
2722 H.throwExpression(new P.StateError("Future already completed")); 2684 H.throwExpression(P.StateError$("Future already completed"));
2723 t2._asyncComplete$1(t1); 2685 t2._asyncComplete$1(t1);
2724 } 2686 }
2725 } 2687 },
2688 $is_args1: true
2726 }, 2689 },
2727 2690
2728 _Completer: {"": "Object;future<"}, 2691 _Completer: {"": "Object;"},
2729 2692
2730 _AsyncCompleter: {"": "_Completer;future", $as_Completer: null}, 2693 _AsyncCompleter: {"": "_Completer;future", $as_Completer: null},
2731 2694
2732 _Future: {"": "Object;_state,_zone<,_resultOrListeners,_nextListener@,_onValueCa llback,_errorTestCallback,_onErrorCallback,_whenCompleteActionCallback", 2695 _Future: {"": "Object;_state,_zone<,_resultOrListeners,_nextListener@,_onValueCa llback,_errorTestCallback,_onErrorCallback,_whenCompleteActionCallback",
2733 get$_isComplete: function() { 2696 get$_isComplete: function() {
2734 return this._state >= 4; 2697 return this._state >= 4;
2735 }, 2698 },
2736 get$_hasError: function() { 2699 get$_hasError: function() {
2737 return this._state === 8; 2700 return this._state === 8;
2738 }, 2701 },
(...skipping 24 matching lines...) Expand all
2763 return this.then$2$onError(f, null); 2726 return this.then$2$onError(f, null);
2764 }, 2727 },
2765 catchError$2$test: function(onError, test) { 2728 catchError$2$test: function(onError, test) {
2766 var result = P._Future$_catchError(onError, test, null); 2729 var result = P._Future$_catchError(onError, test, null);
2767 this._addListener$1(result); 2730 this._addListener$1(result);
2768 return result; 2731 return result;
2769 }, 2732 },
2770 catchError$1: function(onError) { 2733 catchError$1: function(onError) {
2771 return this.catchError$2$test(onError, null); 2734 return this.catchError$2$test(onError, null);
2772 }, 2735 },
2736 whenComplete$1: function(action) {
2737 var result = P._Future$_whenComplete(action, H.getRuntimeTypeArgument(this, "_Future", 0));
2738 this._addListener$1(result);
2739 return result;
2740 },
2773 get$_value: function() { 2741 get$_value: function() {
2774 return this._resultOrListeners; 2742 return this._resultOrListeners;
2775 }, 2743 },
2776 get$_error: function() { 2744 get$_error: function() {
2777 return this._resultOrListeners; 2745 return this._resultOrListeners;
2778 }, 2746 },
2779 _setValue$1: function(value) { 2747 _setValue$1: function(value) {
2780 this._state = 4; 2748 this._state = 4;
2781 this._resultOrListeners = value; 2749 this._resultOrListeners = value;
2782 }, 2750 },
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
2819 if (stackTrace != null) 2787 if (stackTrace != null)
2820 P._attachStackTrace(error, stackTrace); 2788 P._attachStackTrace(error, stackTrace);
2821 listeners = this._state === 2 ? null : this._removeListeners$0(); 2789 listeners = this._state === 2 ? null : this._removeListeners$0();
2822 this._setError$2(error, stackTrace); 2790 this._setError$2(error, stackTrace);
2823 P._Future__propagateToListeners(this, listeners); 2791 P._Future__propagateToListeners(this, listeners);
2824 }, 2792 },
2825 get$_completeError: function() { 2793 get$_completeError: function() {
2826 return new P.BoundClosure$2(this, P._Future.prototype._completeError$2, null , "_completeError$2"); 2794 return new P.BoundClosure$2(this, P._Future.prototype._completeError$2, null , "_completeError$2");
2827 }, 2795 },
2828 _asyncComplete$1: function(value) { 2796 _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) 2797 if (this._state !== 0)
2843 H.throwExpression(P.StateError$("Future already completed")); 2798 H.throwExpression(P.StateError$("Future already completed"));
2844 this._state = 1; 2799 this._state = 1;
2845 this._zone.toString; 2800 this._zone.toString;
2846 P._scheduleAsyncCallback(new P._Future__asyncComplete_closure(this, value)); 2801 P._scheduleAsyncCallback(new P._Future__asyncComplete_closure(this, value));
2847 }, 2802 },
2848 _asyncCompleteError$2: function(error, stackTrace) { 2803 _asyncCompleteError$2: function(error, stackTrace) {
2849 if (this._state !== 0) 2804 if (this._state !== 0)
2850 H.throwExpression(new P.StateError("Future already completed")); 2805 H.throwExpression(P.StateError$("Future already completed"));
2851 this._state = 1; 2806 this._state = 1;
2852 this._zone.toString; 2807 this._zone.toString;
2853 P._scheduleAsyncCallback(new P._Future__asyncCompleteError_closure(this, err or, stackTrace)); 2808 P._scheduleAsyncCallback(new P._Future__asyncCompleteError_closure(this, err or, stackTrace));
2854 }, 2809 },
2855 _async$_Future$immediate$1: function(value, $T) { 2810 _async$_Future$immediate$1: function(value, $T) {
2856 this._asyncComplete$1(value); 2811 this._asyncComplete$1(value);
2857 }, 2812 },
2858 $is_Future: true, 2813 $is_Future: true,
2859 $isFuture: true, 2814 $isFuture: true,
2860 static: { 2815 static: {
(...skipping 22 matching lines...) Expand all
2883 _Future$_catchError: function(onErrorCallback, errorTestCallback, $T) { 2838 _Future$_catchError: function(onErrorCallback, errorTestCallback, $T) {
2884 var t1, t2; 2839 var t1, t2;
2885 t1 = $.Zone__current; 2840 t1 = $.Zone__current;
2886 t2 = P._registerErrorHandler(onErrorCallback, t1); 2841 t2 = P._registerErrorHandler(onErrorCallback, t1);
2887 t1.toString; 2842 t1.toString;
2888 t2 = new P._Future(0, t1, null, null, null, errorTestCallback, t2, null); 2843 t2 = new P._Future(0, t1, null, null, null, errorTestCallback, t2, null);
2889 H.setRuntimeTypeInfo(t2, [$T]); 2844 H.setRuntimeTypeInfo(t2, [$T]);
2890 return t2; 2845 return t2;
2891 }, 2846 },
2892 2847
2848 _Future$_whenComplete: function(whenCompleteActionCallback, $T) {
2849 var t1 = $.Zone__current;
2850 t1.toString;
2851 t1 = new P._Future(0, t1, null, null, null, null, null, whenCompleteActionCall back);
2852 H.setRuntimeTypeInfo(t1, [$T]);
2853 return t1;
2854 },
2855
2893 _Future__chainFutures: function(source, target) { 2856 _Future__chainFutures: function(source, target) {
2894 var t1; 2857 var t1;
2895 target._state = 2; 2858 target._state = 2;
2896 t1 = J.getInterceptor(source); 2859 t1 = J.getInterceptor(source);
2897 if (typeof source === "object" && source !== null && !!t1.$is_Future) 2860 if (typeof source === "object" && source !== null && !!t1.$is_Future)
2898 if (source._state >= 4) 2861 if (source._state >= 4)
2899 P._Future__propagateToListeners(source, target); 2862 P._Future__propagateToListeners(source, target);
2900 else 2863 else
2901 source._addListener$1(target); 2864 source._addListener$1(target);
2902 else 2865 else
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
3015 2978
3016 _Future__addListener_closure: {"": "Closure;this_0,listener_1", 2979 _Future__addListener_closure: {"": "Closure;this_0,listener_1",
3017 call$0: function() { 2980 call$0: function() {
3018 P._Future__propagateToListeners(this.this_0, this.listener_1); 2981 P._Future__propagateToListeners(this.this_0, this.listener_1);
3019 } 2982 }
3020 }, 2983 },
3021 2984
3022 _Future__chainFutures_closure: {"": "Closure;target_0", 2985 _Future__chainFutures_closure: {"": "Closure;target_0",
3023 call$1: function(value) { 2986 call$1: function(value) {
3024 this.target_0._complete$1(value); 2987 this.target_0._complete$1(value);
3025 } 2988 },
2989 $is_args1: true
3026 }, 2990 },
3027 2991
3028 _Future__chainFutures_closure0: {"": "Closure;target_1", 2992 _Future__chainFutures_closure0: {"": "Closure;target_1",
3029 call$2: function(error, stackTrace) { 2993 call$2: function(error, stackTrace) {
3030 this.target_1._completeError$2(error, stackTrace); 2994 this.target_1._completeError$2(error, stackTrace);
3031 }, 2995 },
3032 call$1: function(error) { 2996 call$1: function(error) {
3033 return this.call$2(error, null); 2997 return this.call$2(error, null);
3034 }, 2998 },
3035 $is_args2: true 2999 $is_args2: true,
3000 $is_args1: true
3036 }, 3001 },
3037 3002
3038 _Future__asyncComplete_closure: {"": "Closure;this_0,value_1", 3003 _Future__asyncComplete_closure: {"": "Closure;this_0,value_1",
3039 call$0: function() { 3004 call$0: function() {
3040 this.this_0._complete$1(this.value_1); 3005 this.this_0._complete$1(this.value_1);
3041 } 3006 }
3042 }, 3007 },
3043 3008
3044 _Future__asyncCompleteError_closure: {"": "Closure;this_0,error_1,stackTrace_2", 3009 _Future__asyncCompleteError_closure: {"": "Closure;this_0,error_1,stackTrace_2",
3045 call$0: function() { 3010 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); 3087 t2.listenerValueOrError_2 = new P._AsyncError(P._asyncError(e, s), s);
3123 this.box_1.listenerHasValue_1 = false; 3088 this.box_1.listenerHasValue_1 = false;
3124 } 3089 }
3125 3090
3126 } 3091 }
3127 }, 3092 },
3128 3093
3129 _Future__propagateToListeners__closure: {"": "Closure;box_2,listener_6", 3094 _Future__propagateToListeners__closure: {"": "Closure;box_2,listener_6",
3130 call$1: function(ignored) { 3095 call$1: function(ignored) {
3131 P._Future__propagateToListeners(this.box_2.source_4, this.listener_6); 3096 P._Future__propagateToListeners(this.box_2.source_4, this.listener_6);
3132 } 3097 },
3098 $is_args1: true
3133 }, 3099 },
3134 3100
3135 _Future__propagateToListeners__closure0: {"": "Closure;box_0,listener_7", 3101 _Future__propagateToListeners__closure0: {"": "Closure;box_0,listener_7",
3136 call$2: function(error, stackTrace) { 3102 call$2: function(error, stackTrace) {
3137 var t1, t2, t3; 3103 var t1, t2, t3;
3138 t1 = this.box_0; 3104 t1 = this.box_0;
3139 t2 = t1.completeResult_0; 3105 t2 = t1.completeResult_0;
3140 t3 = J.getInterceptor(t2); 3106 t3 = J.getInterceptor(t2);
3141 if (typeof t2 !== "object" || t2 === null || !t3.$is_Future) { 3107 if (typeof t2 !== "object" || t2 === null || !t3.$is_Future) {
3142 t1.completeResult_0 = P._Future$(null); 3108 t1.completeResult_0 = P._Future$(null);
3143 t1.completeResult_0._setError$2(error, stackTrace); 3109 t1.completeResult_0._setError$2(error, stackTrace);
3144 } 3110 }
3145 P._Future__propagateToListeners(t1.completeResult_0, this.listener_7); 3111 P._Future__propagateToListeners(t1.completeResult_0, this.listener_7);
3146 }, 3112 },
3147 call$1: function(error) { 3113 call$1: function(error) {
3148 return this.call$2(error, null); 3114 return this.call$2(error, null);
3149 }, 3115 },
3150 $is_args2: true 3116 $is_args2: true,
3117 $is_args1: true
3151 }, 3118 },
3152 3119
3153 Stream: {"": "Object;", 3120 Stream: {"": "Object;",
3154 forEach$1: function(_, action) { 3121 forEach$1: function(_, action) {
3155 var t1, future; 3122 var t1, future;
3156 t1 = {}; 3123 t1 = {};
3157 future = P._Future$(null); 3124 future = P._Future$(null);
3158 t1.subscription_0 = null; 3125 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()); 3126 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; 3127 return future;
3161 }, 3128 },
3162 get$length: function(_) { 3129 get$length: function(_) {
3163 var t1, future; 3130 var t1, future;
3164 t1 = {}; 3131 t1 = {};
3165 future = P._Future$(J.JSInt); 3132 future = P._Future$(J.JSInt);
3166 t1.count_0 = 0; 3133 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()); 3134 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; 3135 return future;
3169 } 3136 }
3170 }, 3137 },
3171 3138
3172 Stream_forEach_closure: {"": "Closure;box_0,this_1,action_2,future_3", 3139 Stream_forEach_closure: {"": "Closure;box_0,this_1,action_2,future_3",
3173 call$1: function(element) { 3140 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)); 3141 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 } 3142 },
3143 $is_args1: true
3176 }, 3144 },
3177 3145
3178 Stream_forEach__closure: {"": "Closure;action_4,element_5", 3146 Stream_forEach__closure: {"": "Closure;action_4,element_5",
3179 call$0: function() { 3147 call$0: function() {
3180 return this.action_4.call$1(this.element_5); 3148 return this.action_4.call$1(this.element_5);
3181 } 3149 }
3182 }, 3150 },
3183 3151
3184 Stream_forEach__closure0: {"": "Closure;", 3152 Stream_forEach__closure0: {"": "Closure;",
3185 call$1: function(_) { 3153 call$1: function(_) {
3186 } 3154 },
3155 $is_args1: true
3187 }, 3156 },
3188 3157
3189 Stream_forEach_closure0: {"": "Closure;future_6", 3158 Stream_forEach_closure0: {"": "Closure;future_6",
3190 call$0: function() { 3159 call$0: function() {
3191 this.future_6._complete$1(null); 3160 this.future_6._complete$1(null);
3192 } 3161 }
3193 }, 3162 },
3194 3163
3195 Stream_length_closure: {"": "Closure;box_0", 3164 Stream_length_closure: {"": "Closure;box_0",
3196 call$1: function(_) { 3165 call$1: function(_) {
3197 var t1 = this.box_0; 3166 var t1 = this.box_0;
3198 t1.count_0 = t1.count_0 + 1; 3167 t1.count_0 = t1.count_0 + 1;
3199 } 3168 },
3169 $is_args1: true
3200 }, 3170 },
3201 3171
3202 Stream_length_closure0: {"": "Closure;box_0,future_1", 3172 Stream_length_closure0: {"": "Closure;box_0,future_1",
3203 call$0: function() { 3173 call$0: function() {
3204 this.future_1._complete$1(this.box_0.count_0); 3174 this.future_1._complete$1(this.box_0.count_0);
3205 } 3175 }
3206 }, 3176 },
3207 3177
3208 StreamSubscription: {"": "Object;"}, 3178 StreamSubscription: {"": "Object;"},
3209 3179
3210 EventSink: {"": "Object;"},
3211
3212 _StreamController: {"": "Object;", 3180 _StreamController: {"": "Object;",
3213 get$_pendingEvents: function() { 3181 get$_pendingEvents: function() {
3214 if ((this._state & 8) === 0) 3182 if ((this._state & 8) === 0)
3215 return this._varData; 3183 return this._varData;
3216 return this._varData.get$varData(); 3184 return this._varData.get$varData();
3217 }, 3185 },
3218 _ensurePendingEvents$0: function() { 3186 _ensurePendingEvents$0: function() {
3219 if ((this._state & 8) === 0) { 3187 if ((this._state & 8) === 0) {
3220 if (this._varData == null) 3188 if (this._varData == null)
3221 this._varData = new P._StreamImplEvents(null, null, 0); 3189 this._varData = new P._StreamImplEvents(null, null, 0);
3222 return this._varData; 3190 return this._varData;
3223 } 3191 }
3224 var t1 = this._varData.get$varData(); 3192 var t1 = this._varData.get$varData();
3225 return t1; 3193 return t1;
3226 }, 3194 },
3227 get$_subscription: function() { 3195 get$_subscription: function() {
3228 if ((this._state & 8) !== 0) 3196 if ((this._state & 8) !== 0)
3229 return this._varData.get$varData(); 3197 return this._varData.get$varData();
3230 return this._varData; 3198 return this._varData;
3231 }, 3199 },
3232 _badEventState$0: function() { 3200 _badEventState$0: function() {
3233 if ((this._state & 4) !== 0) 3201 if ((this._state & 4) !== 0)
3234 return new P.StateError("Cannot add event after closing"); 3202 return new P.StateError("Cannot add event after closing");
3235 return new P.StateError("Cannot add event while adding a stream"); 3203 return new P.StateError("Cannot add event while adding a stream");
3236 }, 3204 },
3237 add$1: function(_, value) { 3205 _ensureDoneFuture$0: function() {
3238 if (this._state >= 4) 3206 if (this._doneFuture == null) {
3207 this._doneFuture = P._Future$(null);
3208 if ((this._state & 2) !== 0)
3209 this._doneFuture._complete$1(null);
3210 }
3211 return this._doneFuture;
3212 },
3213 close$0: function(_) {
3214 var t1 = this._state;
3215 if ((t1 & 4) !== 0)
3216 return this._doneFuture;
3217 if (t1 >= 4)
3239 throw H.wrapException(this._badEventState$0()); 3218 throw H.wrapException(this._badEventState$0());
3240 this._async$_add$1(value); 3219 this._state = (t1 | 4) >>> 0;
3241 }, 3220 this._ensureDoneFuture$0();
3242 addError$2: function(error, stackTrace) { 3221 t1 = this._state;
3243 if (this._state >= 4) 3222 if ((t1 & 1) !== 0)
3244 throw H.wrapException(this._badEventState$0()); 3223 this._sendDone$0();
3245 this._addError$2(error, stackTrace); 3224 else if ((t1 & 3) === 0) {
3246 }, 3225 t1 = this._ensurePendingEvents$0();
3247 addError$1: function(error) { 3226 t1.add$1(t1, C.C__DelayedDone);
3248 return this.addError$2(error, null); 3227 }
3228 return this._doneFuture;
3249 }, 3229 },
3250 _async$_add$1: function(value) { 3230 _async$_add$1: function(value) {
3251 var t1 = this._state; 3231 var t1 = this._state;
3252 if ((t1 & 1) !== 0) 3232 if ((t1 & 1) !== 0)
3253 this._sendData$1(value); 3233 this._sendData$1(value);
3254 else if ((t1 & 3) === 0) { 3234 else if ((t1 & 3) === 0) {
3255 t1 = this._ensurePendingEvents$0(); 3235 t1 = this._ensurePendingEvents$0();
3256 t1.add$1(t1, new P._DelayedData(value, null)); 3236 t1.add$1(t1, new P._DelayedData(value, null));
3257 } 3237 }
3258 }, 3238 },
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) { 3239 _subscribe$1: function(cancelOnError) {
3269 var t1, t2, subscription, pendingEvents; 3240 var t1, t2, subscription, pendingEvents;
3270 if ((this._state & 3) !== 0) 3241 if ((this._state & 3) !== 0)
3271 throw H.wrapException(P.StateError$("Stream has already been listened to." )); 3242 throw H.wrapException(P.StateError$("Stream has already been listened to." ));
3272 t1 = $.Zone__current; 3243 t1 = $.Zone__current;
3273 t2 = cancelOnError ? 1 : 0; 3244 t2 = cancelOnError ? 1 : 0;
3274 subscription = new P._ControllerSubscription(this, null, null, null, t1, t2, null); 3245 subscription = new P._ControllerSubscription(this, null, null, null, t1, t2, null, null);
3275 H.setRuntimeTypeInfo(subscription, [null]); 3246 H.setRuntimeTypeInfo(subscription, [null]);
3276 pendingEvents = this.get$_pendingEvents(); 3247 pendingEvents = this.get$_pendingEvents();
3277 this._state = (this._state | 1) >>> 0; 3248 this._state = (this._state | 1) >>> 0;
3278 if ((this._state & 8) !== 0) 3249 if ((this._state & 8) !== 0)
3279 this._varData.set$varData(subscription); 3250 this._varData.set$varData(subscription);
3280 else 3251 else
3281 this._varData = subscription; 3252 this._varData = subscription;
3282 subscription._setPendingEvents$1(pendingEvents); 3253 subscription._setPendingEvents$1(pendingEvents);
3283 subscription._guardCallback$1(new P._StreamController__subscribe_closure(thi s)); 3254 subscription._guardCallback$1(new P._StreamController__subscribe_closure(thi s));
3284 return subscription; 3255 return subscription;
3285 }, 3256 },
3286 _recordCancel$1: function(subscription) { 3257 _recordCancel$1: function(subscription) {
3287 var t1; 3258 var t1, future;
3288 if ((this._state & 8) !== 0) 3259 if ((this._state & 8) !== 0)
3289 this._varData.cancel$0(); 3260 this._varData.cancel$0();
3290 this._varData = null; 3261 this._varData = null;
3291 this._state = (this._state & 4294967286 | 2) >>> 0; 3262 this._state = (this._state & 4294967286 | 2) >>> 0;
3292 P._runGuarded(this.get$_onCancel()); 3263 t1 = new P._StreamController__recordCancel_complete(this);
3293 t1 = this._doneFuture; 3264 future = P._runGuarded(this.get$_onCancel());
3294 if (t1 != null && t1._state === 0) 3265 if (future != null)
3295 t1._asyncComplete$1(null); 3266 future = future.whenComplete$1(t1);
3267 else
3268 t1.call$0();
3269 return future;
3296 } 3270 }
3297 }, 3271 },
3298 3272
3299 _StreamController__subscribe_closure: {"": "Closure;this_0", 3273 _StreamController__subscribe_closure: {"": "Closure;this_0",
3300 call$0: function() { 3274 call$0: function() {
3301 P._runGuarded(this.this_0.get$_onListen()); 3275 P._runGuarded(this.this_0.get$_onListen());
3302 } 3276 }
3303 }, 3277 },
3304 3278
3279 _StreamController__recordCancel_complete: {"": "Closure;this_0",
3280 call$0: function() {
3281 var t1 = this.this_0._doneFuture;
3282 if (t1 != null && t1._state === 0)
3283 t1._asyncComplete$1(null);
3284 }
3285 },
3286
3305 _SyncStreamControllerDispatch: {"": "Object;", 3287 _SyncStreamControllerDispatch: {"": "Object;",
3306 _sendData$1: function(data) { 3288 _sendData$1: function(data) {
3307 this.get$_subscription()._async$_add$1(data); 3289 this.get$_subscription()._async$_add$1(data);
3308 }, 3290 },
3309 _sendError$2: function(error, stackTrace) { 3291 _sendDone$0: function() {
3310 this.get$_subscription()._addError$2(error, stackTrace); 3292 this.get$_subscription()._close$0();
3311 } 3293 }
3312 }, 3294 },
3313 3295
3314 _AsyncStreamControllerDispatch: {"": "Object;", 3296 _AsyncStreamControllerDispatch: {"": "Object;",
3315 _sendData$1: function(data) { 3297 _sendData$1: function(data) {
3316 this.get$_subscription()._addPending$1(new P._DelayedData(data, null)); 3298 this.get$_subscription()._addPending$1(new P._DelayedData(data, null));
3317 }, 3299 },
3318 _sendError$2: function(error, stackTrace) { 3300 _sendDone$0: function() {
3319 this.get$_subscription()._addPending$1(new P._DelayedError(error, stackTrace , null)); 3301 this.get$_subscription()._addPending$1(C.C__DelayedDone);
3320 } 3302 }
3321 }, 3303 },
3322 3304
3323 _AsyncStreamController: {"": "_StreamController__AsyncStreamControllerDispatch;_ onListen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture"}, 3305 _AsyncStreamController: {"": "_StreamController__AsyncStreamControllerDispatch;_ onListen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture"},
3324 3306
3325 _StreamController__AsyncStreamControllerDispatch: {"": "_StreamController+_Async StreamControllerDispatch;"}, 3307 _StreamController__AsyncStreamControllerDispatch: {"": "_StreamController+_Async StreamControllerDispatch;"},
3326 3308
3327 _SyncStreamController: {"": "_StreamController__SyncStreamControllerDispatch;_on Listen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture"}, 3309 _SyncStreamController: {"": "_StreamController__SyncStreamControllerDispatch;_on Listen<,_onPause<,_onResume<,_onCancel<,_varData,_state,_doneFuture"},
3328 3310
3329 _StreamController__SyncStreamControllerDispatch: {"": "_StreamController+_SyncSt reamControllerDispatch;"}, 3311 _StreamController__SyncStreamControllerDispatch: {"": "_StreamController+_SyncSt reamControllerDispatch;"},
3330 3312
3331 _ControllerStream: {"": "_StreamImpl;_controller", 3313 _ControllerStream: {"": "_StreamImpl;_async$_controller",
3332 _createSubscription$1: function(cancelOnError) { 3314 _createSubscription$1: function(cancelOnError) {
3333 return this._controller._subscribe$1(cancelOnError); 3315 return this._async$_controller._subscribe$1(cancelOnError);
3334 }, 3316 },
3335 get$hashCode: function(_) { 3317 get$hashCode: function(_) {
3336 return (H.Primitives_objectHashCode(this._controller) ^ 892482866) >>> 0; 3318 return (H.Primitives_objectHashCode(this._async$_controller) ^ 892482866) >> > 0;
3337 }, 3319 },
3338 $eq: function(_, other) { 3320 $eq: function(_, other) {
3339 var t1; 3321 var t1;
3340 if (other == null) 3322 if (other == null)
3341 return false; 3323 return false;
3342 if (this === other) 3324 if (this === other)
3343 return true; 3325 return true;
3344 t1 = J.getInterceptor(other); 3326 t1 = J.getInterceptor(other);
3345 if (typeof other !== "object" || other === null || !t1.$is_ControllerStream) 3327 if (typeof other !== "object" || other === null || !t1.$is_ControllerStream)
3346 return false; 3328 return false;
3347 return other._controller === this._controller; 3329 return other._async$_controller === this._async$_controller;
3348 }, 3330 },
3349 $is_ControllerStream: true, 3331 $is_ControllerStream: true,
3350 $as_StreamImpl: null 3332 $as_StreamImpl: null
3351 }, 3333 },
3352 3334
3353 _ControllerSubscription: {"": "_BufferingStreamSubscription;_controller,_onData, _onError,_onDone,_zone,_state,_pending", 3335 _ControllerSubscription: {"": "_BufferingStreamSubscription;_async$_controller,_ async$_onData,_onError,_onDone,_zone,_state,_cancelFuture,_pending",
3354 _onCancel$0: function() { 3336 _onCancel$0: function() {
3355 this._controller._recordCancel$1(this); 3337 return this._async$_controller._recordCancel$1(this);
3356 }, 3338 },
3357 _onPause$0: function() { 3339 _onPause$0: function() {
3358 var t1, addState; 3340 var t1, addState;
3359 t1 = this._controller; 3341 t1 = this._async$_controller;
3360 if ((t1._state & 8) !== 0) { 3342 if ((t1._state & 8) !== 0) {
3361 addState = t1._varData; 3343 addState = t1._varData;
3362 addState.pause$0(addState); 3344 addState.pause$0(addState);
3363 } 3345 }
3364 P._runGuarded(t1.get$_onPause()); 3346 P._runGuarded(t1.get$_onPause());
3365 }, 3347 },
3366 get$_onPause: function() { 3348 get$_onPause: function() {
3367 return new P.BoundClosure$0(this, P._ControllerSubscription.prototype._onPau se$0, null, "_onPause$0"); 3349 return new P.BoundClosure$0(this, P._ControllerSubscription.prototype._onPau se$0, null, "_onPause$0");
3368 }, 3350 },
3369 _onResume$0: function() { 3351 _onResume$0: function() {
3370 var t1 = this._controller; 3352 var t1 = this._async$_controller;
3371 if ((t1._state & 8) !== 0) 3353 if ((t1._state & 8) !== 0)
3372 t1._varData.resume$0(); 3354 t1._varData.resume$0();
3373 P._runGuarded(t1.get$_onResume()); 3355 P._runGuarded(t1.get$_onResume());
3374 }, 3356 },
3375 get$_onResume: function() { 3357 get$_onResume: function() {
3376 return new P.BoundClosure$0(this, P._ControllerSubscription.prototype._onRes ume$0, null, "_onResume$0"); 3358 return new P.BoundClosure$0(this, P._ControllerSubscription.prototype._onRes ume$0, null, "_onResume$0");
3377 }, 3359 },
3378 $as_BufferingStreamSubscription: null 3360 $as_BufferingStreamSubscription: null
3379 }, 3361 },
3380 3362
3381 _EventSink: {"": "Object;"}, 3363 _EventSink: {"": "Object;"},
3382 3364
3383 _BufferingStreamSubscription: {"": "Object;_onData,_onError,_onDone,_zone<,_stat e,_pending", 3365 _BufferingStreamSubscription: {"": "Object;_async$_onData,_onError,_onDone,_zone <,_state,_cancelFuture,_pending",
3384 _setPendingEvents$1: function(pendingEvents) { 3366 _setPendingEvents$1: function(pendingEvents) {
3385 if (pendingEvents == null) 3367 if (pendingEvents == null)
3386 return; 3368 return;
3387 this._pending = pendingEvents; 3369 this._pending = pendingEvents;
3388 if (!pendingEvents.get$isEmpty(pendingEvents)) { 3370 if (!pendingEvents.get$isEmpty(pendingEvents)) {
3389 this._state = (this._state | 32) >>> 0; 3371 this._state = (this._state | 64) >>> 0;
3390 this._pending.schedule$1(this); 3372 this._pending.schedule$1(this);
3391 } 3373 }
3392 }, 3374 },
3393 onData$1: function(handleData) { 3375 onData$1: function(handleData) {
3394 $.Zone__current.toString; 3376 $.Zone__current.toString;
3395 this._onData = handleData; 3377 this._async$_onData = handleData;
3396 }, 3378 },
3397 onError$1: function(_, handleError) { 3379 onError$1: function(_, handleError) {
3398 this._onError = P._registerErrorHandler(handleError, $.Zone__current); 3380 this._onError = P._registerErrorHandler(handleError, $.Zone__current);
3399 }, 3381 },
3400 onDone$1: function(handleDone) { 3382 onDone$1: function(handleDone) {
3401 if (handleDone == null)
3402 handleDone = P._nullDoneHandler$closure;
3403 $.Zone__current.toString; 3383 $.Zone__current.toString;
3404 this._onDone = handleDone; 3384 this._onDone = handleDone;
3405 }, 3385 },
3406 pause$1: function(_, resumeSignal) { 3386 pause$1: function(_, resumeSignal) {
3407 var t1 = this._state; 3387 var t1 = this._state;
3408 if ((t1 & 8) !== 0) 3388 if ((t1 & 8) !== 0)
3409 return; 3389 return;
3410 this._state = (t1 + 64 | 4) >>> 0; 3390 this._state = (t1 + 128 | 4) >>> 0;
3411 if (t1 < 64 && this._pending != null) 3391 if (t1 < 128 && this._pending != null)
3412 this._pending.cancelSchedule$0(); 3392 this._pending.cancelSchedule$0();
3413 if ((t1 & 4) === 0 && (this._state & 16) === 0) 3393 if ((t1 & 4) === 0 && (this._state & 32) === 0)
3414 this._guardCallback$1(this.get$_onPause()); 3394 this._guardCallback$1(this.get$_onPause());
3415 }, 3395 },
3416 pause$0: function($receiver) { 3396 pause$0: function($receiver) {
3417 return this.pause$1($receiver, null); 3397 return this.pause$1($receiver, null);
3418 }, 3398 },
3419 resume$0: function() { 3399 resume$0: function() {
3420 var t1, t2; 3400 var t1, t2;
3421 t1 = this._state; 3401 t1 = this._state;
3422 if ((t1 & 8) !== 0) 3402 if ((t1 & 8) !== 0)
3423 return; 3403 return;
3424 if (t1 >= 64) { 3404 if (t1 >= 128) {
3425 this._state = t1 - 64; 3405 this._state = t1 - 128;
3426 t1 = this._state; 3406 t1 = this._state;
3427 if (t1 < 64) { 3407 if (t1 < 128) {
3428 if ((t1 & 32) !== 0) { 3408 if ((t1 & 64) !== 0) {
3429 t2 = this._pending; 3409 t2 = this._pending;
3430 t2 = !t2.get$isEmpty(t2); 3410 t2 = !t2.get$isEmpty(t2);
3431 } else 3411 } else
3432 t2 = false; 3412 t2 = false;
3433 if (t2) 3413 if (t2)
3434 this._pending.schedule$1(this); 3414 this._pending.schedule$1(this);
3435 else { 3415 else {
3436 this._state = (t1 & 4294967291) >>> 0; 3416 this._state = (t1 & 4294967291) >>> 0;
3437 if ((this._state & 16) === 0) 3417 if ((this._state & 32) === 0)
3438 this._guardCallback$1(this.get$_onResume()); 3418 this._guardCallback$1(this.get$_onResume());
3439 } 3419 }
3440 } 3420 }
3441 } 3421 }
3442 }, 3422 },
3443 cancel$0: function() { 3423 cancel$0: function() {
3424 this._state = (this._state & 4294967279) >>> 0;
3444 if ((this._state & 8) !== 0) 3425 if ((this._state & 8) !== 0)
3445 return; 3426 return this._cancelFuture;
3446 this._cancel$0(); 3427 this._cancel$0();
3447 var t1 = this._state; 3428 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 }, 3429 },
3455 get$_mayResumeInput: function() { 3430 get$_mayResumeInput: function() {
3456 if (this._state < 64) { 3431 if (this._state < 128) {
3457 var t1 = this._pending; 3432 var t1 = this._pending;
3458 t1 = t1 == null || t1.get$isEmpty(t1); 3433 t1 = t1 == null || t1.get$isEmpty(t1);
3459 } else 3434 } else
3460 t1 = false; 3435 t1 = false;
3461 return t1; 3436 return t1;
3462 }, 3437 },
3463 _cancel$0: function() { 3438 _cancel$0: function() {
3464 this._state = (this._state | 8) >>> 0; 3439 this._state = (this._state | 8) >>> 0;
3465 if ((this._state & 32) !== 0) 3440 if ((this._state & 64) !== 0)
3466 this._pending.cancelSchedule$0(); 3441 this._pending.cancelSchedule$0();
3442 if ((this._state & 32) === 0)
3443 this._pending = null;
3444 this._cancelFuture = this._onCancel$0();
3467 }, 3445 },
3468 _async$_add$1: function(data) { 3446 _async$_add$1: function(data) {
3469 var t1 = this._state; 3447 var t1 = this._state;
3470 if ((t1 & 8) !== 0) 3448 if ((t1 & 8) !== 0)
3471 return; 3449 return;
3472 if (t1 < 16) 3450 if (t1 < 32)
3473 this._sendData$1(data); 3451 this._sendData$1(data);
3474 else 3452 else
3475 this._addPending$1(new P._DelayedData(data, null)); 3453 this._addPending$1(new P._DelayedData(data, null));
3476 }, 3454 },
3477 _addError$2: function(error, stackTrace) { 3455 _close$0: function() {
3478 var t1 = this._state; 3456 var t1 = this._state;
3479 if ((t1 & 8) !== 0) 3457 if ((t1 & 8) !== 0)
3480 return; 3458 return;
3481 if (t1 < 16) 3459 this._state = (t1 | 2) >>> 0;
3482 this._sendError$2(error, stackTrace); 3460 if (this._state < 32)
3461 this._sendDone$0();
3483 else 3462 else
3484 this._addPending$1(new P._DelayedError(error, stackTrace, null)); 3463 this._addPending$1(C.C__DelayedDone);
3485 }, 3464 },
3486 _onPause$0: function() { 3465 _onPause$0: function() {
3487 }, 3466 },
3488 get$_onPause: function() { 3467 get$_onPause: function() {
3489 return new P.BoundClosure$0(this, P._BufferingStreamSubscription.prototype._ onPause$0, null, "_onPause$0"); 3468 return new P.BoundClosure$0(this, P._BufferingStreamSubscription.prototype._ onPause$0, null, "_onPause$0");
3490 }, 3469 },
3491 _onResume$0: function() { 3470 _onResume$0: function() {
3492 }, 3471 },
3493 get$_onResume: function() { 3472 get$_onResume: function() {
3494 return new P.BoundClosure$0(this, P._BufferingStreamSubscription.prototype._ onResume$0, null, "_onResume$0"); 3473 return new P.BoundClosure$0(this, P._BufferingStreamSubscription.prototype._ onResume$0, null, "_onResume$0");
3495 }, 3474 },
3496 _onCancel$0: function() { 3475 _onCancel$0: function() {
3497 }, 3476 },
3498 _addPending$1: function($event) { 3477 _addPending$1: function($event) {
3499 var pending, t1; 3478 var pending, t1;
3500 pending = this._pending; 3479 pending = this._pending;
3501 if (pending == null) { 3480 if (pending == null) {
3502 pending = new P._StreamImplEvents(null, null, 0); 3481 pending = new P._StreamImplEvents(null, null, 0);
3503 this._pending = pending; 3482 this._pending = pending;
3504 } 3483 }
3505 pending.add$1(pending, $event); 3484 pending.add$1(pending, $event);
3506 t1 = this._state; 3485 t1 = this._state;
3507 if ((t1 & 32) === 0) { 3486 if ((t1 & 64) === 0) {
3508 this._state = (t1 | 32) >>> 0; 3487 this._state = (t1 | 64) >>> 0;
3509 if (this._state < 64) 3488 if (this._state < 128)
3510 this._pending.schedule$1(this); 3489 this._pending.schedule$1(this);
3511 } 3490 }
3512 }, 3491 },
3513 _sendData$1: function(data) { 3492 _sendData$1: function(data) {
3514 var t1 = this._state; 3493 var t1 = this._state;
3515 this._state = (t1 | 16) >>> 0; 3494 this._state = (t1 | 32) >>> 0;
3516 this._zone.runUnaryGuarded$2(this._onData, data); 3495 this._zone.runUnaryGuarded$2(this._async$_onData, data);
3517 this._state = (this._state & 4294967279) >>> 0; 3496 this._state = (this._state & 4294967263) >>> 0;
3518 this._checkState$1((t1 & 4) !== 0); 3497 this._checkState$1((t1 & 4) !== 0);
3519 }, 3498 },
3520 _sendError$2: function(error, stackTrace) { 3499 _sendDone$0: function() {
3521 var t1, t2, t3, t4; 3500 var t1, t2, t3;
3522 t1 = this._state; 3501 t1 = new P._BufferingStreamSubscription__sendDone_sendDone(this);
3523 this._state = (t1 | 16) >>> 0; 3502 this._cancel$0();
3524 t2 = this._zone; 3503 this._state = (this._state | 16) >>> 0;
3525 t3 = $.Zone__current; 3504 t2 = this._cancelFuture;
3526 t2.toString; 3505 t3 = J.getInterceptor(t2);
3527 t3.toString; 3506 if (typeof t2 === "object" && t2 !== null && !!t3.$isFuture)
3528 if (t3 == null ? t2 != null : t3 !== t2) 3507 t2.whenComplete$1(t1);
3529 P._rootHandleUncaughtError(t3, null, t3, error, stackTrace); 3508 else
3530 else { 3509 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 }, 3510 },
3543 _guardCallback$1: function(callback) { 3511 _guardCallback$1: function(callback) {
3544 var t1 = this._state; 3512 var t1 = this._state;
3545 this._state = (t1 | 16) >>> 0; 3513 this._state = (t1 | 32) >>> 0;
3546 callback.call$0(); 3514 callback.call$0();
3547 this._state = (this._state & 4294967279) >>> 0; 3515 this._state = (this._state & 4294967263) >>> 0;
3548 this._checkState$1((t1 & 4) !== 0); 3516 this._checkState$1((t1 & 4) !== 0);
3549 }, 3517 },
3550 _checkState$1: function(wasInputPaused) { 3518 _checkState$1: function(wasInputPaused) {
3551 var t1, t2, isInputPaused; 3519 var t1, t2, isInputPaused;
3552 t1 = this._state; 3520 t1 = this._state;
3553 if ((t1 & 32) !== 0) { 3521 if ((t1 & 64) !== 0) {
3554 t2 = this._pending; 3522 t2 = this._pending;
3555 t2 = t2.get$isEmpty(t2); 3523 t2 = t2.get$isEmpty(t2);
3556 } else 3524 } else
3557 t2 = false; 3525 t2 = false;
3558 if (t2) { 3526 if (t2) {
3559 this._state = (t1 & 4294967263) >>> 0; 3527 this._state = (t1 & 4294967231) >>> 0;
3560 if ((this._state & 4) !== 0 && this.get$_mayResumeInput()) 3528 if ((this._state & 4) !== 0 && this.get$_mayResumeInput())
3561 this._state = (this._state & 4294967291) >>> 0; 3529 this._state = (this._state & 4294967291) >>> 0;
3562 } 3530 }
3563 for (; true; wasInputPaused = isInputPaused) { 3531 for (; true; wasInputPaused = isInputPaused) {
3564 t1 = this._state; 3532 t1 = this._state;
3565 if ((t1 & 8) !== 0) { 3533 if ((t1 & 8) !== 0) {
3566 this._onCancel$0();
3567 this._pending = null; 3534 this._pending = null;
3568 return; 3535 return;
3569 } 3536 }
3570 isInputPaused = (t1 & 4) !== 0; 3537 isInputPaused = (t1 & 4) !== 0;
3571 if (wasInputPaused === isInputPaused) 3538 if (wasInputPaused === isInputPaused)
3572 break; 3539 break;
3573 this._state = (t1 ^ 16) >>> 0; 3540 this._state = (t1 ^ 32) >>> 0;
3574 if (isInputPaused) 3541 if (isInputPaused)
3575 this._onPause$0(); 3542 this._onPause$0();
3576 else 3543 else
3577 this._onResume$0(); 3544 this._onResume$0();
3578 this._state = (this._state & 4294967279) >>> 0; 3545 this._state = (this._state & 4294967263) >>> 0;
3579 } 3546 }
3580 t1 = this._state; 3547 t1 = this._state;
3581 if ((t1 & 32) !== 0 && t1 < 64) 3548 if ((t1 & 64) !== 0 && t1 < 128)
3582 this._pending.schedule$1(this); 3549 this._pending.schedule$1(this);
3583 }, 3550 },
3584 static: { 3551 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", 3552 "": "_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 } 3553 }
3587 3554
3588 }, 3555 },
3589 3556
3557 _BufferingStreamSubscription__sendDone_sendDone: {"": "Closure;this_0",
3558 call$0: function() {
3559 var t1, t2;
3560 t1 = this.this_0;
3561 t2 = t1._state;
3562 if ((t2 & 16) === 0)
3563 return;
3564 t1._state = (t2 | 42) >>> 0;
3565 t1._zone.runGuarded$1(t1._onDone);
3566 t1._state = (t1._state & 4294967263) >>> 0;
3567 }
3568 },
3569
3590 _StreamImpl: {"": "Stream;", 3570 _StreamImpl: {"": "Stream;",
3591 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) { 3571 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) {
3592 var subscription = this._createSubscription$1(true === cancelOnError); 3572 var subscription = this._createSubscription$1(true === cancelOnError);
3593 subscription.onData$1(onData); 3573 subscription.onData$1(onData);
3594 subscription.onError$1(subscription, onError); 3574 subscription.onError$1(subscription, onError);
3595 subscription.onDone$1(onDone); 3575 subscription.onDone$1(onDone);
3596 return subscription; 3576 return subscription;
3597 }, 3577 },
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) { 3578 _createSubscription$1: function(cancelOnError) {
3602 var t1, t2; 3579 var t1, t2;
3603 t1 = $.Zone__current; 3580 t1 = $.Zone__current;
3604 t2 = cancelOnError ? 1 : 0; 3581 t2 = cancelOnError ? 1 : 0;
3605 return new P._BufferingStreamSubscription(null, null, null, t1, t2, null); 3582 return new P._BufferingStreamSubscription(null, null, null, t1, t2, null, nu ll);
3606 }, 3583 },
3607 $asStream: null 3584 $asStream: null
3608 }, 3585 },
3609 3586
3610 _DelayedEvent: {"": "Object;next@"}, 3587 _DelayedEvent: {"": "Object;next@"},
3611 3588
3612 _DelayedData: {"": "_DelayedEvent;value,next", 3589 _DelayedData: {"": "_DelayedEvent;value,next",
3613 perform$1: function(dispatch) { 3590 perform$1: function(dispatch) {
3614 dispatch._sendData$1(this.value); 3591 dispatch._sendData$1(this.value);
3615 } 3592 }
3616 }, 3593 },
3617 3594
3618 _DelayedError: {"": "_DelayedEvent;error>,stackTrace<,next", 3595 _DelayedDone: {"": "Object;",
3619 perform$1: function(dispatch) { 3596 perform$1: function(dispatch) {
3620 dispatch._sendError$2(this.error, this.stackTrace); 3597 dispatch._sendDone$0();
3598 },
3599 get$next: function() {
3600 return;
3601 },
3602 set$next: function(_) {
3603 throw H.wrapException(P.StateError$("No events after a done."));
3621 } 3604 }
3622 }, 3605 },
3623 3606
3624 _PendingEvents: {"": "Object;", 3607 _PendingEvents: {"": "Object;",
3625 schedule$1: function(dispatch) { 3608 schedule$1: function(dispatch) {
3626 var t1 = this._state; 3609 var t1 = this._state;
3627 if (t1 === 1) 3610 if (t1 === 1)
3628 return; 3611 return;
3629 if (t1 >= 1) { 3612 if (t1 >= 1) {
3630 this._state = 1; 3613 this._state = 1;
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
3667 }, 3650 },
3668 handleNext$1: function(dispatch) { 3651 handleNext$1: function(dispatch) {
3669 var $event = this.firstPendingEvent; 3652 var $event = this.firstPendingEvent;
3670 this.firstPendingEvent = $event.get$next(); 3653 this.firstPendingEvent = $event.get$next();
3671 if (this.firstPendingEvent == null) 3654 if (this.firstPendingEvent == null)
3672 this.lastPendingEvent = null; 3655 this.lastPendingEvent = null;
3673 $event.perform$1(dispatch); 3656 $event.perform$1(dispatch);
3674 } 3657 }
3675 }, 3658 },
3676 3659
3677 _cancelAndError_closure: {"": "Closure;subscription_0,future_1", 3660 _cancelAndError_closure: {"": "Closure;future_0,error_1,stackTrace_2",
3661 call$0: function() {
3662 return this.future_0._completeError$2(this.error_1, this.stackTrace_2);
3663 }
3664 },
3665
3666 _cancelAndErrorClosure_closure: {"": "Closure;subscription_0,future_1",
3678 call$2: function(error, stackTrace) { 3667 call$2: function(error, stackTrace) {
3679 this.subscription_0.cancel$0(); 3668 return P._cancelAndError(this.subscription_0, this.future_1, error, stackTra ce);
3680 this.future_1._completeError$2(error, stackTrace);
3681 }, 3669 },
3682 $is_args2: true 3670 $is_args2: true
3683 }, 3671 },
3684 3672
3685 _BaseZone: {"": "Object;", 3673 _BaseZone: {"": "Object;",
3686 runGuarded$1: function(f) { 3674 runGuarded$1: function(f) {
3687 var e, s, t1, exception; 3675 var e, s, t1, exception;
3688 try { 3676 try {
3689 t1 = this.run$1(f); 3677 t1 = this.run$1(f);
3690 return t1; 3678 return t1;
(...skipping 11 matching lines...) Expand all
3702 t1 = this.runUnary$2(f, arg); 3690 t1 = this.runUnary$2(f, arg);
3703 return t1; 3691 return t1;
3704 } catch (exception) { 3692 } catch (exception) {
3705 t1 = H.unwrapException(exception); 3693 t1 = H.unwrapException(exception);
3706 e = t1; 3694 e = t1;
3707 s = new H._StackTrace(exception, null); 3695 s = new H._StackTrace(exception, null);
3708 return this.handleUncaughtError$2(e, s); 3696 return this.handleUncaughtError$2(e, s);
3709 } 3697 }
3710 3698
3711 }, 3699 },
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) { 3700 bindCallback$2$runGuarded: function(f, runGuarded) {
3726 var registered = this.registerCallback$1(f); 3701 var registered = this.registerCallback$1(f);
3727 if (runGuarded) 3702 if (runGuarded)
3728 return new P._BaseZone_bindCallback_closure(this, registered); 3703 return new P._BaseZone_bindCallback_closure(this, registered);
3729 else 3704 else
3730 return new P._BaseZone_bindCallback_closure0(this, registered); 3705 return new P._BaseZone_bindCallback_closure0(this, registered);
3706 },
3707 bindUnaryCallback$2$runGuarded: function(f, runGuarded) {
3708 var registered = this.registerUnaryCallback$1(f);
3709 if (runGuarded)
3710 return new P._BaseZone_bindUnaryCallback_closure(this, registered);
3711 else
3712 return new P._BaseZone_bindUnaryCallback_closure0(this, registered);
3731 } 3713 }
3732 }, 3714 },
3733 3715
3734 _BaseZone_bindCallback_closure: {"": "Closure;this_0,registered_1", 3716 _BaseZone_bindCallback_closure: {"": "Closure;this_0,registered_1",
3735 call$0: function() { 3717 call$0: function() {
3736 return this.this_0.runGuarded$1(this.registered_1); 3718 return this.this_0.runGuarded$1(this.registered_1);
3737 } 3719 }
3738 }, 3720 },
3739 3721
3740 _BaseZone_bindCallback_closure0: {"": "Closure;this_2,registered_3", 3722 _BaseZone_bindCallback_closure0: {"": "Closure;this_2,registered_3",
3741 call$0: function() { 3723 call$0: function() {
3742 return this.this_2.run$1(this.registered_3); 3724 return this.this_2.run$1(this.registered_3);
3743 } 3725 }
3744 }, 3726 },
3745 3727
3728 _BaseZone_bindUnaryCallback_closure: {"": "Closure;this_0,registered_1",
3729 call$1: function(arg) {
3730 return this.this_0.runUnaryGuarded$2(this.registered_1, arg);
3731 },
3732 $is_args1: true
3733 },
3734
3735 _BaseZone_bindUnaryCallback_closure0: {"": "Closure;this_2,registered_3",
3736 call$1: function(arg) {
3737 return this.this_2.runUnary$2(this.registered_3, arg);
3738 },
3739 $is_args1: true
3740 },
3741
3746 _rootHandleUncaughtError_closure: {"": "Closure;error_0,stackTrace_1", 3742 _rootHandleUncaughtError_closure: {"": "Closure;error_0,stackTrace_1",
3747 call$0: function() { 3743 call$0: function() {
3744 P._scheduleAsyncCallback(new P._rootHandleUncaughtError__closure(this.error_ 0, this.stackTrace_1));
3745 }
3746 },
3747
3748 _rootHandleUncaughtError__closure: {"": "Closure;error_2,stackTrace_3",
3749 call$0: function() {
3748 var t1, trace; 3750 var t1, trace;
3749 t1 = this.error_0; 3751 t1 = this.error_2;
3750 P.print("Uncaught Error: " + H.S(t1)); 3752 P.print("Uncaught Error: " + H.S(t1));
3751 trace = this.stackTrace_1; 3753 trace = this.stackTrace_3;
3752 if (trace == null) 3754 if (trace == null)
3753 trace = P.getAttachedStackTrace(t1); 3755 trace = P.getAttachedStackTrace(t1);
3754 P._attachStackTrace(t1, null); 3756 P._attachStackTrace(t1, null);
3755 if (trace != null) 3757 if (trace != null)
3756 P.print("Stack Trace: \n" + H.S(trace) + "\n"); 3758 P.print("Stack Trace: \n" + H.S(trace) + "\n");
3757 throw H.wrapException(t1); 3759 throw H.wrapException(t1);
3758 } 3760 }
3759 }, 3761 },
3760 3762
3761 _RootZone: {"": "_BaseZone;", 3763 _RootZone: {"": "_BaseZone;",
3762 $index: function(_, key) { 3764 $index: function(_, key) {
3763 return; 3765 return;
3764 }, 3766 },
3765 handleUncaughtError$2: function(error, stackTrace) { 3767 handleUncaughtError$2: function(error, stackTrace) {
3766 return P._rootHandleUncaughtError(this, null, this, error, stackTrace); 3768 return P._rootHandleUncaughtError(this, null, this, error, stackTrace);
3767 }, 3769 },
3768 run$1: function(f) { 3770 run$1: function(f) {
3769 return P._rootRun(this, null, this, f); 3771 return P._rootRun(this, null, this, f);
3770 }, 3772 },
3771 runUnary$2: function(f, arg) { 3773 runUnary$2: function(f, arg) {
3772 return P._rootRunUnary(this, null, this, f, arg); 3774 return P._rootRunUnary(this, null, this, f, arg);
3773 }, 3775 },
3774 runBinary$3: function(f, arg1, arg2) { 3776 registerCallback$1: function(f) {
3775 return P._rootRunBinary(this, null, this, f, arg1, arg2); 3777 return f;
3776 }, 3778 },
3777 registerCallback$1: function(f) { 3779 registerUnaryCallback$1: function(f) {
3778 return f; 3780 return f;
3779 } 3781 }
3780 }}], 3782 }}],
3781 ["dart.collection", "dart:collection", , P, { 3783 ["dart.collection", "dart:collection", , P, {
3782 _HashSet__newHashTable: function() { 3784 _HashSet__newHashTable: function() {
3783 var table = Object.create(null); 3785 var table = Object.create(null);
3784 table["<non-identifier-key>"] = table; 3786 table["<non-identifier-key>"] = table;
3785 delete table["<non-identifier-key>"]; 3787 delete table["<non-identifier-key>"];
3786 return table; 3788 return table;
3787 }, 3789 },
3788 3790
3789 _defaultEquals: function(a, b) { 3791 _defaultEquals: function(a, b) {
3790 return J.$eq(a, b); 3792 return J.$eq(a, b);
3791 }, 3793 },
3792 3794
3793 _defaultHashCode: function(a) { 3795 _defaultHashCode: function(a) {
3794 return J.get$hashCode$(a); 3796 return J.get$hashCode$(a);
3795 }, 3797 },
3796 3798
3797 HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) { 3799 HashMap_HashMap: function(equals, hashCode, isValidKey, $K, $V) {
3798 var t1 = new P._HashMap(0, null, null, null, null); 3800 var t1 = new P._HashMap(0, null, null, null, null);
3799 H.setRuntimeTypeInfo(t1, [$K, $V]); 3801 H.setRuntimeTypeInfo(t1, [$K, $V]);
3800 return t1; 3802 return t1;
3801 }, 3803 },
3802 3804
3803 _iterableToString: function(iterable) { 3805 _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; 3806 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(); 3807 t1 = $.get$_toStringVisiting();
3811 if (t1.contains$1(t1, iterable)) 3808 if (t1.contains$1(t1, iterable))
3812 return "(...)"; 3809 return "(...)";
3813 t1 = $.get$_toStringVisiting(); 3810 t1 = $.get$_toStringVisiting();
3814 t1.add$1(t1, iterable); 3811 t1.add$1(t1, iterable);
3815 result = []; 3812 parts = [];
3816 try { 3813 try {
3817 $building$0: { 3814 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 { 3815 } finally {
4056 t1 = $.get$_toStringVisiting(); 3816 t1 = $.get$_toStringVisiting();
4057 t1.remove$1(t1, iterable); 3817 t1.remove$1(t1, iterable);
4058 } 3818 }
4059 t1 = P.StringBuffer$("("); 3819 t1 = P.StringBuffer$("(");
4060 t1.writeAll$2(result, ", "); 3820 t1.writeAll$2(parts, ", ");
4061 t1.write$1(")"); 3821 t1.write$1(")");
4062 return t1._contents; 3822 return t1._contents;
4063 }, 3823 },
4064 3824
3825 _iterablePartsToStrings: function(iterable, parts) {
3826 var it, $length, count, next, ultimateString, penultimateString, penultimate, ultimate, ultimate0, elision;
3827 it = iterable.get$iterator(iterable);
3828 $length = 0;
3829 count = 0;
3830 while (true) {
3831 if (!($length < 80 || count < 3))
3832 break;
3833 if (!it.moveNext$0())
3834 return;
3835 next = H.S(it.get$current());
3836 parts.push(next);
3837 $length += next.length + 2;
3838 ++count;
3839 }
3840 if (!it.moveNext$0()) {
3841 if (count <= 5)
3842 return;
3843 if (0 >= parts.length)
3844 throw H.ioore(parts, 0);
3845 ultimateString = parts.pop();
3846 if (0 >= parts.length)
3847 throw H.ioore(parts, 0);
3848 penultimateString = parts.pop();
3849 } else {
3850 penultimate = it.get$current();
3851 ++count;
3852 if (!it.moveNext$0()) {
3853 if (count <= 4) {
3854 parts.push(H.S(penultimate));
3855 return;
3856 }
3857 ultimateString = H.S(penultimate);
3858 if (0 >= parts.length)
3859 throw H.ioore(parts, 0);
3860 penultimateString = parts.pop();
3861 $length += ultimateString.length + 2;
3862 } else {
3863 ultimate = it.get$current();
3864 ++count;
3865 for (; it.moveNext$0(); penultimate = ultimate, ultimate = ultimate0) {
3866 ultimate0 = it.get$current();
3867 ++count;
3868 if (count > 100) {
3869 while (true) {
3870 if (!($length > 75 && count > 3))
3871 break;
3872 if (0 >= parts.length)
3873 throw H.ioore(parts, 0);
3874 $length -= parts.pop().length + 2;
3875 --count;
3876 }
3877 parts.push("...");
3878 return;
3879 }
3880 }
3881 penultimateString = H.S(penultimate);
3882 ultimateString = H.S(ultimate);
3883 $length += ultimateString.length + penultimateString.length + 4;
3884 }
3885 }
3886 if (count > parts.length + 2) {
3887 $length += 5;
3888 elision = "...";
3889 } else
3890 elision = null;
3891 while (true) {
3892 if (!($length > 80 && parts.length > 3))
3893 break;
3894 if (0 >= parts.length)
3895 throw H.ioore(parts, 0);
3896 $length -= parts.pop().length + 2;
3897 if (elision == null) {
3898 $length += 5;
3899 elision = "...";
3900 }
3901 }
3902 if (elision != null)
3903 parts.push(elision);
3904 parts.push(penultimateString);
3905 parts.push(ultimateString);
3906 },
3907
4065 LinkedHashMap_LinkedHashMap: function(equals, hashCode, isValidKey, $K, $V) { 3908 LinkedHashMap_LinkedHashMap: function(equals, hashCode, isValidKey, $K, $V) {
4066 var t1 = new P._LinkedHashMap(0, null, null, null, null, null, 0); 3909 var t1 = new P._LinkedHashMap(0, null, null, null, null, null, 0);
4067 H.setRuntimeTypeInfo(t1, [$K, $V]); 3910 H.setRuntimeTypeInfo(t1, [$K, $V]);
4068 return t1; 3911 return t1;
4069 }, 3912 },
4070 3913
4071 Maps_mapToString: function(m) { 3914 Maps_mapToString: function(m) {
4072 var t1, result, i, t2; 3915 var t1, result, i, t2;
4073 t1 = {}; 3916 t1 = {};
4074 for (i = 0; i < $.get$Maps__toStringList().length; ++i) { 3917 for (i = 0; i < $.get$Maps__toStringList().length; ++i) {
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
4263 delete table["<non-identifier-key>"]; 4106 delete table["<non-identifier-key>"];
4264 return table; 4107 return table;
4265 }} 4108 }}
4266 4109
4267 }, 4110 },
4268 4111
4269 _HashMap_values_closure: {"": "Closure;this_0", 4112 _HashMap_values_closure: {"": "Closure;this_0",
4270 call$1: function(each) { 4113 call$1: function(each) {
4271 var t1 = this.this_0; 4114 var t1 = this.this_0;
4272 return t1.$index(t1, each); 4115 return t1.$index(t1, each);
4273 } 4116 },
4117 $is_args1: true
4274 }, 4118 },
4275 4119
4276 HashMapKeyIterable: {"": "IterableBase;_map", 4120 HashMapKeyIterable: {"": "IterableBase;_map",
4277 get$length: function(_) { 4121 get$length: function(_) {
4278 return this._map._collection$_length; 4122 return this._map._collection$_length;
4279 }, 4123 },
4280 get$iterator: function(_) { 4124 get$iterator: function(_) {
4281 var t1 = this._map; 4125 var t1 = this._map;
4282 return new P.HashMapKeyIterator(t1, t1._computeKeys$0(), 0, null); 4126 return new P.HashMapKeyIterator(t1, t1._computeKeys$0(), 0, null);
4283 }, 4127 },
(...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after
4508 delete table["<non-identifier-key>"]; 4352 delete table["<non-identifier-key>"];
4509 return table; 4353 return table;
4510 }} 4354 }}
4511 4355
4512 }, 4356 },
4513 4357
4514 _LinkedHashMap_values_closure: {"": "Closure;this_0", 4358 _LinkedHashMap_values_closure: {"": "Closure;this_0",
4515 call$1: function(each) { 4359 call$1: function(each) {
4516 var t1 = this.this_0; 4360 var t1 = this.this_0;
4517 return t1.$index(t1, each); 4361 return t1.$index(t1, each);
4518 } 4362 },
4363 $is_args1: true
4519 }, 4364 },
4520 4365
4521 LinkedHashMapCell: {"": "Object;_key<,_collection$_value@,_next<,_previous<"}, 4366 LinkedHashMapCell: {"": "Object;_key<,_collection$_value@,_next<,_previous<"},
4522 4367
4523 LinkedHashMapKeyIterable: {"": "IterableBase;_map", 4368 LinkedHashMapKeyIterable: {"": "IterableBase;_map",
4524 get$length: function(_) { 4369 get$length: function(_) {
4525 return this._map._collection$_length; 4370 return this._map._collection$_length;
4526 }, 4371 },
4527 get$iterator: function(_) { 4372 get$iterator: function(_) {
4528 var t1 = this._map; 4373 var t1 = this._map;
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
4788 4633
4789 ListMixin: {"": "Object;", 4634 ListMixin: {"": "Object;",
4790 get$iterator: function(receiver) { 4635 get$iterator: function(receiver) {
4791 return new H.ListIterator(receiver, this.get$length(receiver), 0, null); 4636 return new H.ListIterator(receiver, this.get$length(receiver), 0, null);
4792 }, 4637 },
4793 elementAt$1: function(receiver, index) { 4638 elementAt$1: function(receiver, index) {
4794 return this.$index(receiver, index); 4639 return this.$index(receiver, index);
4795 }, 4640 },
4796 forEach$1: function(receiver, action) { 4641 forEach$1: function(receiver, action) {
4797 var $length, i; 4642 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); 4643 $length = this.get$length(receiver);
4812 for (i = 0; i < $length; ++i) { 4644 for (i = 0; i < $length; ++i) {
4813 action.call$1(this.$index(receiver, i)); 4645 action.call$1(this.$index(receiver, i));
4814 if ($length !== this.get$length(receiver)) 4646 if ($length !== this.get$length(receiver))
4815 throw H.wrapException(P.ConcurrentModificationError$(receiver)); 4647 throw H.wrapException(P.ConcurrentModificationError$(receiver));
4816 } 4648 }
4817 }, 4649 },
4818 add$1: function(receiver, element) {
4819 var t1 = this.get$length(receiver);
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 },
4831 toString$0: function(receiver) { 4650 toString$0: function(receiver) {
4832 var result, t1; 4651 var result, t1;
4833 t1 = $.get$_toStringVisiting(); 4652 t1 = $.get$_toStringVisiting();
4834 if (t1.contains$1(t1, receiver)) 4653 if (t1.contains$1(t1, receiver))
4835 return "[...]"; 4654 return "[...]";
4836 result = P.StringBuffer$(""); 4655 result = P.StringBuffer$("");
4837 try { 4656 try {
4838 t1 = $.get$_toStringVisiting(); 4657 t1 = $.get$_toStringVisiting();
4839 t1.add$1(t1, receiver); 4658 t1.add$1(t1, receiver);
4840 result.write$1("["); 4659 result.write$1("[");
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
4877 if (i < 0 || i >= t1.length) 4696 if (i < 0 || i >= t1.length)
4878 throw H.ioore(t1, i); 4697 throw H.ioore(t1, i);
4879 action.call$1(t1[i]); 4698 action.call$1(t1[i]);
4880 if (modificationCount !== this._modificationCount) 4699 if (modificationCount !== this._modificationCount)
4881 H.throwExpression(P.ConcurrentModificationError$(this)); 4700 H.throwExpression(P.ConcurrentModificationError$(this));
4882 } 4701 }
4883 }, 4702 },
4884 get$length: function(_) { 4703 get$length: function(_) {
4885 return (this._tail - this._head & this._table.length - 1) >>> 0; 4704 return (this._tail - this._head & this._table.length - 1) >>> 0;
4886 }, 4705 },
4887 add$1: function(_, element) {
4888 this._add$1(element);
4889 },
4890 toString$0: function(_) { 4706 toString$0: function(_) {
4891 return H.IterableMixinWorkaround_toStringIterable(this, "{", "}"); 4707 return H.IterableMixinWorkaround_toStringIterable(this, "{", "}");
4892 }, 4708 },
4893 removeFirst$0: function() { 4709 removeFirst$0: function() {
4894 var t1, t2, t3, result; 4710 var t1, t2, t3, result;
4895 if (this._head === this._tail) 4711 if (this._head === this._tail)
4896 throw H.wrapException(P.StateError$("No elements")); 4712 throw H.wrapException(P.StateError$("No elements"));
4897 this._modificationCount = this._modificationCount + 1; 4713 this._modificationCount = this._modificationCount + 1;
4898 t1 = this._table; 4714 t1 = this._table;
4899 t2 = this._head; 4715 t2 = this._head;
4900 t3 = t1.length; 4716 t3 = t1.length;
4901 if (t2 < 0 || t2 >= t3) 4717 if (t2 < 0 || t2 >= t3)
4902 throw H.ioore(t1, t2); 4718 throw H.ioore(t1, t2);
4903 result = t1[t2]; 4719 result = t1[t2];
4904 this._head = (t2 + 1 & t3 - 1) >>> 0; 4720 this._head = (t2 + 1 & t3 - 1) >>> 0;
4905 return result; 4721 return result;
4906 }, 4722 },
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) { 4723 _add$1: function(element) {
4920 var t1, t2, t3; 4724 var t1, t2, t3;
4921 t1 = this._table; 4725 t1 = this._table;
4922 t2 = this._tail; 4726 t2 = this._tail;
4923 t3 = t1.length; 4727 t3 = t1.length;
4924 if (t2 < 0 || t2 >= t3) 4728 if (t2 < 0 || t2 >= t3)
4925 throw H.ioore(t1, t2); 4729 throw H.ioore(t1, t2);
4926 t1[t2] = element; 4730 t1[t2] = element;
4927 this._tail = (t2 + 1 & t3 - 1) >>> 0; 4731 this._tail = (t2 + 1 & t3 - 1) >>> 0;
4928 if (this._head === this._tail) 4732 if (this._head === this._tail)
(...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after
5050 }, 4854 },
5051 4855
5052 identityHashCode: function(object) { 4856 identityHashCode: function(object) {
5053 return H.objectHashCode(object); 4857 return H.objectHashCode(object);
5054 }, 4858 },
5055 4859
5056 List_List: function($length, $E) { 4860 List_List: function($length, $E) {
5057 if ($length == null) 4861 if ($length == null)
5058 return new Array(0); 4862 return new Array(0);
5059 if (typeof $length !== "number" || Math.floor($length) !== $length || $length < 0) 4863 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) + ".")); 4864 throw H.wrapException(new P.ArgumentError("Length must be a positive integer : " + H.S($length) + "."));
5061 return H.Primitives_newFixedList($length); 4865 return H.Primitives_newFixedList($length);
5062 }, 4866 },
5063 4867
5064 List_List$filled: function($length, fill, $E) { 4868 List_List$filled: function($length, fill, $E) {
5065 var result, t1, i; 4869 var result, t1, i;
5066 if ($length < 0) 4870 if ($length < 0)
5067 throw H.wrapException(P.ArgumentError$("Length must be a positive integer: " + $length + ".")); 4871 throw H.wrapException(new P.ArgumentError("Length must be a positive integer : " + $length + "."));
5068 result = H.Primitives_newFixedList($length); 4872 result = H.Primitives_newFixedList($length);
5069 if ($length !== 0 && true) 4873 if ($length !== 0 && true)
5070 for (t1 = result.length, i = 0; i < t1; ++i) 4874 for (t1 = result.length, i = 0; i < t1; ++i)
5071 result[i] = fill; 4875 result[i] = fill;
5072 return result; 4876 return result;
5073 }, 4877 },
5074 4878
5075 List_List$from: function(other, growable, $E) { 4879 List_List$from: function(other, growable, $E) {
5076 var list, t1, $length, fixedList, t2, i, t3; 4880 var list, t1, $length, fixedList, t2, i, t3;
5077 list = P.List_List(null, $E); 4881 list = P.List_List(null, $E);
(...skipping 26 matching lines...) Expand all
5104 var t1 = this.box_0; 4908 var t1 = this.box_0;
5105 if (t1.i_1 > 0) 4909 if (t1.i_1 > 0)
5106 t1.sb_0.write$1(", "); 4910 t1.sb_0.write$1(", ");
5107 t1.sb_0.write$1(P._symbolToString(key)); 4911 t1.sb_0.write$1(P._symbolToString(key));
5108 }, 4912 },
5109 $is_args2: true 4913 $is_args2: true
5110 }, 4914 },
5111 4915
5112 Duration: {"": "Object;_duration", 4916 Duration: {"": "Object;_duration",
5113 $lt: function(_, other) { 4917 $lt: function(_, other) {
5114 var t1 = other.get$_duration(); 4918 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 }, 4919 },
5119 $gt: function(_, other) { 4920 $gt: function(_, other) {
5120 var t1 = other.get$_duration(); 4921 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 }, 4922 },
5125 $ge: function(_, other) { 4923 $ge: function(_, other) {
5126 var t1 = other.get$_duration(); 4924 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 }, 4925 },
5131 $eq: function(_, other) { 4926 $eq: function(_, other) {
5132 var t1; 4927 var t1;
5133 if (other == null) 4928 if (other == null)
5134 return false; 4929 return false;
5135 t1 = J.getInterceptor(other); 4930 t1 = J.getInterceptor(other);
5136 if (typeof other !== "object" || other === null || !t1.$isDuration) 4931 if (typeof other !== "object" || other === null || !t1.$isDuration)
5137 return false; 4932 return false;
5138 return this._duration === other._duration; 4933 return this._duration === other._duration;
5139 }, 4934 },
(...skipping 27 matching lines...) Expand all
5167 return H.S(n); 4962 return H.S(n);
5168 if (t1.$ge(n, 10000)) 4963 if (t1.$ge(n, 10000))
5169 return "0" + H.S(n); 4964 return "0" + H.S(n);
5170 if (t1.$ge(n, 1000)) 4965 if (t1.$ge(n, 1000))
5171 return "00" + H.S(n); 4966 return "00" + H.S(n);
5172 if (t1.$ge(n, 100)) 4967 if (t1.$ge(n, 100))
5173 return "000" + H.S(n); 4968 return "000" + H.S(n);
5174 if (t1.$gt(n, 10)) 4969 if (t1.$gt(n, 10))
5175 return "0000" + H.S(n); 4970 return "0000" + H.S(n);
5176 return "00000" + H.S(n); 4971 return "00000" + H.S(n);
5177 } 4972 },
4973 $is_args1: true
5178 }, 4974 },
5179 4975
5180 Duration_toString_twoDigits: {"": "Closure;", 4976 Duration_toString_twoDigits: {"": "Closure;",
5181 call$1: function(n) { 4977 call$1: function(n) {
5182 if (J.$ge$n(n, 10)) 4978 if (J.$ge$n(n, 10))
5183 return H.S(n); 4979 return H.S(n);
5184 return "0" + H.S(n); 4980 return "0" + H.S(n);
5185 } 4981 },
4982 $is_args1: true
5186 }, 4983 },
5187 4984
5188 Error: {"": "Object;", 4985 Error: {"": "Object;",
5189 get$stackTrace: function() { 4986 get$stackTrace: function() {
5190 return new H._StackTrace(this.$thrownJsError, null); 4987 return new H._StackTrace(this.$thrownJsError, null);
5191 }, 4988 },
5192 $isError: true 4989 $isError: true
5193 }, 4990 },
5194 4991
5195 NullThrownError: {"": "Error;", 4992 NullThrownError: {"": "Error;",
(...skipping 51 matching lines...) Expand 10 before | Expand all | Expand 10 after
5247 return new P.StateError(message); 5044 return new P.StateError(message);
5248 }} 5045 }}
5249 5046
5250 }, 5047 },
5251 5048
5252 ConcurrentModificationError: {"": "Error;modifiedObject", 5049 ConcurrentModificationError: {"": "Error;modifiedObject",
5253 toString$0: function(_) { 5050 toString$0: function(_) {
5254 var t1 = this.modifiedObject; 5051 var t1 = this.modifiedObject;
5255 if (t1 == null) 5052 if (t1 == null)
5256 return "Concurrent modification during iteration."; 5053 return "Concurrent modification during iteration.";
5257 return "Concurrent modification during iteration: " + H.S(P.Error_safeToStri ng(t1)) + "."; 5054 return "Concurrent modification during iteration: " + P.Error_safeToString(t 1) + ".";
5258 }, 5055 },
5259 static: { 5056 static: {
5260 ConcurrentModificationError$: function(modifiedObject) { 5057 ConcurrentModificationError$: function(modifiedObject) {
5261 return new P.ConcurrentModificationError(modifiedObject); 5058 return new P.ConcurrentModificationError(modifiedObject);
5262 }} 5059 }}
5263 5060
5264 }, 5061 },
5265 5062
5266 StackOverflowError: {"": "Object;", 5063 StackOverflowError: {"": "Object;",
5267 toString$0: function(_) { 5064 toString$0: function(_) {
(...skipping 15 matching lines...) Expand all
5283 }} 5080 }}
5284 5081
5285 }, 5082 },
5286 5083
5287 _ExceptionImplementation: {"": "Object;message", 5084 _ExceptionImplementation: {"": "Object;message",
5288 toString$0: function(_) { 5085 toString$0: function(_) {
5289 var t1 = this.message; 5086 var t1 = this.message;
5290 if (t1 == null) 5087 if (t1 == null)
5291 return "Exception"; 5088 return "Exception";
5292 return "Exception: " + H.S(t1); 5089 return "Exception: " + H.S(t1);
5293 }, 5090 }
5294 $isException: true
5295 }, 5091 },
5296 5092
5297 Expando: {"": "Object;name", 5093 Expando: {"": "Object;name",
5298 toString$0: function(_) { 5094 toString$0: function(_) {
5299 return "Expando:" + this.name; 5095 return "Expando:" + this.name;
5300 }, 5096 },
5301 $index: function(_, object) { 5097 $index: function(_, object) {
5302 var values = H.Primitives_getProperty(object, "expando$values"); 5098 var values = H.Primitives_getProperty(object, "expando$values");
5303 return values == null ? null : H.Primitives_getProperty(values, this._getKey $0()); 5099 return values == null ? null : H.Primitives_getProperty(values, this._getKey $0());
5304 }, 5100 },
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
5349 } 5145 }
5350 }, 5146 },
5351 5147
5352 StackTrace: {"": "Object;"}, 5148 StackTrace: {"": "Object;"},
5353 5149
5354 StringBuffer: {"": "Object;_contents<", 5150 StringBuffer: {"": "Object;_contents<",
5355 get$length: function(_) { 5151 get$length: function(_) {
5356 return this._contents.length; 5152 return this._contents.length;
5357 }, 5153 },
5358 write$1: function(obj) { 5154 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); 5155 var str = typeof obj === "string" ? obj : H.S(obj);
5365 this._contents = this._contents + str; 5156 this._contents = this._contents + str;
5366 }, 5157 },
5367 writeAll$2: function(objects, separator) { 5158 writeAll$2: function(objects, separator) {
5368 var iterator, str; 5159 var iterator, str;
5369 iterator = J.get$iterator$ax(objects); 5160 iterator = J.get$iterator$ax(objects);
5370 if (!iterator.moveNext$0()) 5161 if (!iterator.moveNext$0())
5371 return; 5162 return;
5372 if (separator.length === 0) 5163 if (separator.length === 0)
5373 do { 5164 do {
(...skipping 21 matching lines...) Expand all
5395 StringBuffer$: function($content) { 5186 StringBuffer$: function($content) {
5396 var t1 = new P.StringBuffer(""); 5187 var t1 = new P.StringBuffer("");
5397 t1.StringBuffer$1($content); 5188 t1.StringBuffer$1($content);
5398 return t1; 5189 return t1;
5399 }} 5190 }}
5400 5191
5401 }, 5192 },
5402 5193
5403 Symbol: {"": "Object;"}}], 5194 Symbol: {"": "Object;"}}],
5404 ["dart.dom.html", "dart:html", , W, { 5195 ["dart.dom.html", "dart:html", , W, {
5405 Geolocation_getCurrentPosition_closure: {"": "Closure;this_0,completer_1", 5196 _convertNativeToDart_EventTarget: function(e) {
5406 call$1: function(position) { 5197 var $window, t1;
5407 var t1, t2; 5198 if (e == null)
5408 t1 = C.Geolocation_methods._ensurePosition$1(this.this_0, position); 5199 return;
5409 t2 = this.completer_1.future; 5200 if ("setInterval" in e) {
5410 if (t2._state !== 0) 5201 $window = W._DOMWindowCrossFrame__createSafe(e);
5411 H.throwExpression(new P.StateError("Future already completed")); 5202 t1 = J.getInterceptor($window);
5412 t2._asyncComplete$1(t1); 5203 if (typeof $window === "object" && $window !== null && !!t1.$isEventTarget)
5413 } 5204 return $window;
5205 return;
5206 } else
5207 return e;
5414 }, 5208 },
5415 5209
5416 Geolocation_getCurrentPosition_closure0: {"": "Closure;completer_2", 5210 _wrapZone: function(callback) {
5417 call$1: function(error) { 5211 var t1 = $.Zone__current;
5418 var t1 = this.completer_2.future; 5212 if (t1 === C.C__RootZone)
5419 if (t1._state !== 0) 5213 return callback;
5420 H.throwExpression(new P.StateError("Future already completed")); 5214 return t1.bindUnaryCallback$2$runGuarded(callback, true);
5421 t1._asyncCompleteError$2(error, null);
5422 }
5423 }, 5215 },
5424 5216
5425 Geolocation_watchPosition_closure0: {"": "Closure;box_0,this_1,options_2", 5217 _EventStream: {"": "Stream;",
5426 call$0: function() { 5218 listen$4$cancelOnError$onDone$onError: function(onData, cancelOnError, onDone, onError) {
5427 var t1, t2; 5219 var t1 = new W._EventStreamSubscription(0, this._target, this._eventType, W. _wrapZone(onData), this._useCapture);
5428 t1 = this.this_1; 5220 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(this, "_EventStream", 0)] );
5429 t2 = this.box_0; 5221 t1._tryResume$0();
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); 5222 return t1;
5431 } 5223 },
5224 $asStream: null
5432 }, 5225 },
5433 5226
5434 Geolocation_watchPosition__closure: {"": "Closure;box_0,this_3", 5227 _ElementEventStreamImpl: {"": "_EventStream;_target,_eventType,_useCapture", $as _EventStream: null},
5435 call$1: function(position) { 5228
5436 var t1, t2; 5229 _EventStreamSubscription: {"": "StreamSubscription;_pauseCount,_target,_eventTyp e,_onData,_useCapture",
5437 t1 = this.box_0.controller_1; 5230 cancel$0: function() {
5438 t2 = C.Geolocation_methods._ensurePosition$1(this.this_3, position); 5231 if (this._target == null)
5439 if (t1._state >= 4) 5232 return;
5440 H.throwExpression(t1._badEventState$0()); 5233 this._unlisten$0();
5441 t1._async$_add$1(t2); 5234 this._target = null;
5442 } 5235 this._onData = null;
5236 },
5237 _tryResume$0: function() {
5238 var t1 = this._onData;
5239 if (t1 != null && this._pauseCount <= 0)
5240 J.addEventListener$3$x(this._target, this._eventType, t1, this._useCapture );
5241 },
5242 _unlisten$0: function() {
5243 var t1 = this._onData;
5244 if (t1 != null)
5245 J.removeEventListener$3$x(this._target, this._eventType, t1, this._useCapt ure);
5246 },
5247 $asStreamSubscription: null
5443 }, 5248 },
5444 5249
5445 Geolocation_watchPosition__closure0: {"": "Closure;box_0", 5250 EventStreamProvider: {"": "Object;_eventType"},
5446 call$1: function(error) { 5251
5447 this.box_0.controller_1.addError$1(error); 5252 _DOMWindowCrossFrame: {"": "Object;_window", $isEventTarget: true, static: {
5448 } 5253 _DOMWindowCrossFrame__createSafe: function(w) {
5254 if (w === window)
5255 return w;
5256 else
5257 return new W._DOMWindowCrossFrame(w);
5258 }}
5449 }, 5259 },
5450 5260
5451 Geolocation_watchPosition_closure: {"": "Closure;box_0,this_4", 5261 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"},
5452 call$0: function() {
5453 this.this_4.clearWatch(this.box_0.watchId_0);
5454 }
5455 },
5456 5262
5457 _GeopositionWrapper: {"": "Object;_ptr", 5263 AnchorElement: {"": "HtmlElement;target=",
5458 get$coords: function(_) {
5459 return this._ptr.coords;
5460 },
5461 $isGeoposition: true
5462 },
5463
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"},
5465
5466 AnchorElement: {"": "HtmlElement;",
5467 toString$0: function(receiver) { 5264 toString$0: function(receiver) {
5468 return receiver.toString(); 5265 return receiver.toString();
5469 }, 5266 },
5470 "%": "HTMLAnchorElement" 5267 "%": "HTMLAnchorElement"
5471 }, 5268 },
5472 5269
5473 AreaElement: {"": "HtmlElement;coords=", "%": "HTMLAreaElement"}, 5270 AreaElement: {"": "HtmlElement;target=", "%": "HTMLAreaElement"},
5474 5271
5475 CloseEvent: {"": "Event;code=", "%": "CloseEvent"}, 5272 BaseElement: {"": "HtmlElement;target=", "%": "HTMLBaseElement"},
5476 5273
5477 Coordinates: {"": "Interceptor;latitude=,longitude=", "%": "Coordinates"}, 5274 ButtonElement: {"": "HtmlElement;disabled}", "%": "HTMLButtonElement"},
5478 5275
5479 CssFontFaceLoadEvent: {"": "Event;error=", "%": "CSSFontFaceLoadEvent"}, 5276 CharacterData: {"": "Node;length=", "%": "CDATASection|Comment|Text;CharacterDat a"},
5480
5481 DomError: {"": "Interceptor;", "%": ";DOMError"},
5482 5277
5483 DomException: {"": "Interceptor;", 5278 DomException: {"": "Interceptor;",
5484 toString$0: function(receiver) { 5279 toString$0: function(receiver) {
5485 return receiver.toString(); 5280 return receiver.toString();
5486 }, 5281 },
5487 "%": "DOMException" 5282 "%": "DOMException"
5488 }, 5283 },
5489 5284
5490 Element: {"": "Node;", 5285 Element: {"": "Node;",
5491 toString$0: function(receiver) { 5286 toString$0: function(receiver) {
5492 return receiver.localName; 5287 return receiver.localName;
5493 }, 5288 },
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" 5289 "%": ";Element"
5495 }, 5290 },
5496 5291
5497 ErrorEvent: {"": "Event;error=", "%": "ErrorEvent"}, 5292 ErrorEvent: {"": "Event;error=", "%": "ErrorEvent"},
5498 5293
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"}, 5294 Event: {"": "Interceptor;",
5500 5295 get$target: function(receiver) {
5501 EventTarget: {"": "Interceptor;", "%": "MediaStream;EventTarget"}, 5296 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 }, 5297 },
5529 getCurrentPosition$0: function($receiver) { 5298 "%": "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|ProgressEvent|RTCDTMFToneChangeEvent| RTCDataChannelEvent|RTCIceCandidateEvent|ResourceProgressEvent|SecurityPolicyVio lationEvent|SpeechInputEvent|SpeechRecognitionEvent|SpeechSynthesisEvent|Storage Event|TrackEvent|TransitionEvent|WebGLContextEvent|WebKitAnimationEvent|WebKitTr ansitionEvent|XMLHttpRequestProgressEvent;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 }, 5299 },
5569 5300
5570 Geoposition: {"": "Interceptor;coords=", $isGeoposition: true, "%": "Geoposition "}, 5301 EventTarget: {"": "Interceptor;",
5302 addEventListener$3: function(receiver, type, listener, useCapture) {
5303 return receiver.addEventListener(type, H.convertDartClosureToJS(listener, 1) , useCapture);
5304 },
5305 removeEventListener$3: function(receiver, type, listener, useCapture) {
5306 return receiver.removeEventListener(type, H.convertDartClosureToJS(listener, 1), useCapture);
5307 },
5308 $isEventTarget: true,
5309 "%": "MediaStream;EventTarget"
5310 },
5311
5312 FieldSetElement: {"": "HtmlElement;disabled}", "%": "HTMLFieldSetElement"},
5313
5314 FormElement: {"": "HtmlElement;length=,target=", "%": "HTMLFormElement"},
5315
5316 InputElement: {"": "HtmlElement;disabled}", $isInputElement: true, $isEventTarge t: true, "%": "HTMLInputElement"},
5317
5318 KeygenElement: {"": "HtmlElement;disabled}", "%": "HTMLKeygenElement"},
5319
5320 LinkElement: {"": "HtmlElement;disabled}", "%": "HTMLLinkElement"},
5571 5321
5572 MediaElement: {"": "HtmlElement;error=", "%": "HTMLAudioElement|HTMLMediaElement |HTMLVideoElement"}, 5322 MediaElement: {"": "HtmlElement;error=", "%": "HTMLAudioElement|HTMLMediaElement |HTMLVideoElement"},
5573 5323
5574 MediaError: {"": "Interceptor;code=", "%": "MediaError"}, 5324 MouseEvent: {"": "UIEvent;", "%": "DragEvent|MSPointerEvent|MouseEvent|MouseScro llEvent|MouseWheelEvent|PointerEvent|WheelEvent"},
5575
5576 MediaKeyError: {"": "Interceptor;code=", "%": "MediaKeyError"},
5577 5325
5578 Node: {"": "EventTarget;", 5326 Node: {"": "EventTarget;",
5579 toString$0: function(receiver) { 5327 toString$0: function(receiver) {
5580 var t1 = receiver.nodeValue; 5328 var t1 = receiver.nodeValue;
5581 return t1 == null ? J.Interceptor.prototype.toString$0.call(this, receiver) : t1; 5329 return t1 == null ? J.Interceptor.prototype.toString$0.call(this, receiver) : t1;
5582 }, 5330 },
5583 "%": "Document|HTMLDocument;Node" 5331 "%": "Attr|Document|DocumentFragment|DocumentType|Entity|HTMLDocument|Notation |SVGDocument|ShadowRoot;Node"
5584 }, 5332 },
5585 5333
5586 ObjectElement: {"": "HtmlElement;code=", "%": "HTMLObjectElement"}, 5334 OptGroupElement: {"": "HtmlElement;disabled}", "%": "HTMLOptGroupElement"},
5587 5335
5588 PositionError: {"": "Interceptor;code=", "%": "PositionError"}, 5336 OptionElement: {"": "HtmlElement;disabled}", "%": "HTMLOptionElement"},
5589 5337
5590 SelectElement: {"": "HtmlElement;length=", "%": "HTMLSelectElement"}, 5338 ProcessingInstruction: {"": "CharacterData;target=", "%": "ProcessingInstruction "},
5339
5340 SelectElement: {"": "HtmlElement;disabled},length=", "%": "HTMLSelectElement"},
5591 5341
5592 SpeechRecognitionError: {"": "Event;error=", "%": "SpeechRecognitionError"}, 5342 SpeechRecognitionError: {"": "Event;error=", "%": "SpeechRecognitionError"},
5593 5343
5344 StyleElement: {"": "HtmlElement;disabled}", "%": "HTMLStyleElement"},
5345
5346 TextAreaElement: {"": "HtmlElement;disabled}", "%": "HTMLTextAreaElement"},
5347
5348 UIEvent: {"": "Event;", "%": "CompositionEvent|FocusEvent|KeyboardEvent|SVGZoomE vent|TextEvent|TouchEvent;UIEvent"},
5349
5594 Window: {"": "EventTarget;", 5350 Window: {"": "EventTarget;",
5595 toString$0: function(receiver) { 5351 toString$0: function(receiver) {
5596 return receiver.toString(); 5352 return receiver.toString();
5597 }, 5353 },
5354 $isEventTarget: true,
5598 "%": "DOMWindow|Window" 5355 "%": "DOMWindow|Window"
5599 }}], 5356 }}],
5600 ["dart.dom.web_sql", "dart:web_sql", , P, { 5357 ["dart.dom.svg", "dart:svg", , P, {
5601 SqlError: {"": "Interceptor;code=", "%": "SQLError"}}], 5358 AElement: {"": "GraphicsElement;target=", "%": "SVGAElement"},
5359
5360 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"},
5361
5362 StyleElement0: {"": "SvgElement;disabled}", "%": "SVGStyleElement"},
5363
5364 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"}}],
5602 ["dart.isolate", "dart:isolate", , P, { 5365 ["dart.isolate", "dart:isolate", , P, {
5603 _Isolate_port: function() {
5604 if ($.lazyPort == null)
5605 $.lazyPort = H.ReceivePortImpl$();
5606 return $.lazyPort;
5607 },
5608
5609 ReceivePort: {"": "Object;"}}], 5366 ReceivePort: {"": "Object;"}}],
5367 ["dart.math", "dart:math", , P, {
5368 _Random: {"": "Object;",
5369 nextInt$1: function(max) {
5370 if (max < 0)
5371 throw H.wrapException(new P.ArgumentError("negative max: " + max));
5372 if (max > 4294967295)
5373 max = 4294967295;
5374 return Math.random() * max >>> 0;
5375 }
5376 }}],
5610 ["dart.typed_data", "dart:typed_data", , P, { 5377 ["dart.typed_data", "dart:typed_data", , P, {
5611 TypedData_ListMixin: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true}, 5378 TypedData_ListMixin: {"": "TypedData+ListMixin;", $isList: true, $asList: null, $isEfficientLength: true},
5612 5379
5613 TypedData_ListMixin_FixedLengthListMixin: {"": "TypedData_ListMixin+FixedLengthL istMixin;", $asList: null}, 5380 TypedData_ListMixin_FixedLengthListMixin: {"": "TypedData_ListMixin+FixedLengthL istMixin;", $asList: null},
5614 5381
5615 TypedData: {"": "Interceptor;", 5382 TypedData: {"": "Interceptor;",
5616 _invalidIndex$2: function(receiver, index, $length) { 5383 _invalidIndex$2: function(receiver, index, $length) {
5617 var t1 = J.getInterceptor$n(index); 5384 var t1 = J.getInterceptor$n(index);
5618 if (t1.$lt(index, 0) || t1.$ge(index, $length)) 5385 if (t1.$lt(index, 0) || t1.$ge(index, $length))
5619 throw H.wrapException(P.RangeError$range(index, 0, $length)); 5386 throw H.wrapException(P.RangeError$range(index, 0, $length));
5620 else 5387 else
5621 throw H.wrapException(P.ArgumentError$("Invalid list index " + H.S(index)) ); 5388 throw H.wrapException(new P.ArgumentError("Invalid list index " + H.S(inde x)));
5622 }, 5389 },
5623 "%": ";ArrayBufferView;TypedData_ListMixin|TypedData_ListMixin_FixedLengthList Mixin" 5390 "%": ";ArrayBufferView;TypedData_ListMixin|TypedData_ListMixin_FixedLengthList Mixin"
5624 }, 5391 },
5625 5392
5626 Uint8List: {"": "TypedData_ListMixin_FixedLengthListMixin;", 5393 Uint8List: {"": "TypedData_ListMixin_FixedLengthListMixin;",
5627 get$length: function(receiver) { 5394 get$length: function(receiver) {
5628 return C.JS_CONST_ZYJ(receiver); 5395 return C.JS_CONST_ZYJ(receiver);
5629 }, 5396 },
5630 $index: function(receiver, index) { 5397 $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); 5398 var t1 = C.JS_CONST_ZYJ(receiver);
5641 if (index >>> 0 != index || J.$ge$n(index, t1)) 5399 if (index >>> 0 != index || J.$ge$n(index, t1))
5642 this._invalidIndex$2(receiver, index, t1); 5400 this._invalidIndex$2(receiver, index, t1);
5643 return receiver[index]; 5401 return receiver[index];
5644 }, 5402 },
5645 $indexSet: function(receiver, index, value) { 5403 $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); 5404 var t1 = C.JS_CONST_ZYJ(receiver);
5656 if (index >>> 0 != index || J.$ge$n(index, t1)) 5405 if (index >>> 0 != index || J.$ge$n(index, t1))
5657 this._invalidIndex$2(receiver, index, t1); 5406 this._invalidIndex$2(receiver, index, t1);
5658 receiver[index] = value; 5407 receiver[index] = value;
5659 }, 5408 },
5660 $asList: function() { 5409 $asList: function() {
5661 return [J.JSInt]; 5410 return [J.JSInt];
5662 }, 5411 },
5663 $isList: true, 5412 $isList: true,
5664 $isEfficientLength: true, 5413 $isEfficientLength: true,
5665 $isJavaScriptIndexingBehavior: true, 5414 $isJavaScriptIndexingBehavior: true,
5666 "%": ";Uint8Array" 5415 "%": ";Uint8Array"
5667 }}], 5416 }}],
5668 ["trip_meter.dart", "trip_meter.dart", , E, { 5417 ["", "piratebadge.dart", , A, {
5669 calculateDistance: function(lat1, lon1, lat2, lon2) { 5418 main: function() {
5670 var t1, t2, t3, t4, a; 5419 var t1, t2;
5671 if (typeof lat2 !== "number") 5420 t1 = document.querySelector("#inputName");
5672 throw lat2.$sub(); 5421 t1.toString;
5673 if (typeof lat1 !== "number") 5422 t1 = new W._ElementEventStreamImpl(t1, C.EventStreamProvider_input._eventType, false);
5674 throw H.iae(lat1); 5423 H.setRuntimeTypeInfo(t1, [null]);
5675 if (typeof lon2 !== "number") 5424 t2 = new W._EventStreamSubscription(0, t1._target, t1._eventType, W._wrapZone( A.updateBadge$closure), t1._useCapture);
5676 throw lon2.$sub(); 5425 H.setRuntimeTypeInfo(t2, [H.getRuntimeTypeArgument(t1, "_EventStream", 0)]);
5677 if (typeof lon1 !== "number") 5426 t2._tryResume$0();
5678 throw H.iae(lon1); 5427 $.genButton = document.querySelector("#generateButton");
5679 t1 = Math.sin((lat2 - lat1) / 2); 5428 t2 = $.genButton;
5680 t1 = Math.pow(t1, 2); 5429 t2.toString;
5681 t2 = Math.cos(lat1); 5430 t2 = new W._ElementEventStreamImpl(t2, C.EventStreamProvider_click._eventType, false);
5682 t3 = Math.cos(lat2); 5431 H.setRuntimeTypeInfo(t2, [null]);
5683 t4 = Math.sin((lon2 - lon1) / 2); 5432 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); 5433 H.setRuntimeTypeInfo(t1, [H.getRuntimeTypeArgument(t2, "_EventStream", 0)]);
5685 t1 = Math.sqrt(a); 5434 t1._tryResume$0();
5686 t2 = Math.sqrt(1 - a);
5687 return 6371 * (2 * Math.atan2(t1, t2));
5688 }, 5435 },
5689 5436
5690 main: function() { 5437 updateBadge: function(e) {
5691 var t1 = {}; 5438 var inputName, t1, t2, t3;
5692 t1.startPosition_0 = null; 5439 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()); 5440 t1 = A.PirateName$(null, inputName);
5694 J.watchPosition$0$x(window.navigator.geolocation).listen$2$onError(new E.main_ closure1(t1), new E.main_closure2()); 5441 t2 = document.querySelector("#badgeName");
5695 }, 5442 t3 = t1._firstName;
5696 5443 t2.textContent = t3.length === 0 ? "" : t3 + " the " + t1._appellation;
5697 main_closure: {"": "Closure;box_0", 5444 t1 = J.trim$0$s(inputName);
5698 call$1: function(position) { 5445 t2 = $.genButton;
5699 var t1 = this.box_0; 5446 if (t1.length === 0) {
5700 t1.startPosition_0 = position; 5447 J.set$disabled$x(t2, false);
5701 document.querySelector("#start-lat").textContent = H.S(J.get$latitude$x(J.ge t$coords$x(t1.startPosition_0))); 5448 t2.textContent = "Aye! Gimme a name!";
5702 document.querySelector("#start-lon").textContent = H.S(J.get$longitude$x(J.g et$coords$x(t1.startPosition_0))); 5449 } else {
5450 J.set$disabled$x(t2, true);
5451 t2.textContent = "Arrr! Write yer name!";
5703 } 5452 }
5704 }, 5453 },
5705 5454
5706 main_closure0: {"": "Closure;", 5455 generateBadge: function(e) {
5707 call$1: function(error) { 5456 var t1, t2, t3;
5708 window.alert("Error occurred. Error code: " + H.S(J.get$code$x(error))); 5457 t1 = A.PirateName$(null, null);
5709 return; 5458 t2 = document.querySelector("#badgeName");
5710 } 5459 t3 = t1._firstName;
5460 t2.textContent = t3.length === 0 ? "" : t3 + " the " + t1._appellation;
5711 }, 5461 },
5712 5462
5713 main_closure1: {"": "Closure;box_0", 5463 PirateName: {"": "Object;_firstName,_appellation",
5714 call$1: function(position) { 5464 toString$0: function(_) {
5715 var t1, t2, distance; 5465 var t1 = this._firstName;
5716 t1 = J.getInterceptor$x(position); 5466 return t1.length === 0 ? "" : t1 + " the " + this._appellation;
5717 document.querySelector("#current-lat").textContent = H.S(J.get$latitude$x(t1 .get$coords(position))); 5467 },
5718 document.querySelector("#current-lon").textContent = H.S(J.get$longitude$x(t 1.get$coords(position))); 5468 PirateName$2$appellation$firstName: function(appellation, firstName) {
5719 t2 = this.box_0; 5469 var t1, t2;
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))); 5470 if (firstName == null) {
5721 document.querySelector("#distance").textContent = H.S(distance); 5471 t1 = $.get$PirateName_names();
5722 } 5472 t2 = $.get$PirateName_indexGen();
5723 }, 5473 $.get$PirateName_names();
5474 t2 = t2.nextInt$1(10);
5475 if (t2 < 0 || t2 >= 10)
5476 throw H.ioore(t1, t2);
5477 this._firstName = t1[t2];
5478 } else
5479 this._firstName = firstName;
5480 t1 = $.get$PirateName_appellations();
5481 t2 = $.get$PirateName_indexGen();
5482 $.get$PirateName_appellations();
5483 t2 = t2.nextInt$1(12);
5484 if (t2 < 0 || t2 >= 12)
5485 throw H.ioore(t1, t2);
5486 this._appellation = t1[t2];
5487 },
5488 static: {
5489 "": "PirateName_indexGen,PirateName_names,PirateName_appellations",
5490 PirateName$: function(appellation, firstName) {
5491 var t1 = new A.PirateName(null, null);
5492 t1.PirateName$2$appellation$firstName(appellation, firstName);
5493 return t1;
5494 }}
5724 5495
5725 main_closure2: {"": "Closure;",
5726 call$1: function(error) {
5727 window.alert("Error occurred. Error code: " + H.S(J.get$code$x(error)));
5728 return;
5729 }
5730 }}, 5496 }},
5731 1], 5497 1],
5732 ]); 5498 ]);
5733 Isolate.$finishClasses($$, $, null); 5499 Isolate.$finishClasses($$, $, null);
5734 $$ = null; 5500 $$ = null;
5735 5501
5736 // Static function getters 5502 // 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"); 5503 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"); 5504 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"); 5505 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"); 5506 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"); 5507 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"); 5508 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"); 5509 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"); 5510 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"); 5511 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"); 5512 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"); 5513 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"); 5514 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"); 5515 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"); 5516 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"); 5517 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"); 5518 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"); 5519 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"); 5520 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"); 5521 init.globalFunctions.main$closure = A.main$closure = new H.Closure$0(A.main, "ma in$closure");
5522 init.globalFunctions.updateBadge$closure = A.updateBadge$closure = new H.Closure $1(A.updateBadge, "updateBadge$closure");
5523 init.globalFunctions.generateBadge$closure = A.generateBadge$closure = new H.Clo sure$1(A.generateBadge, "generateBadge$closure");
5756 // Runtime type support 5524 // Runtime type support
5757 J.JSInt.$isint = true; 5525 J.JSInt.$isint = true;
5758 J.JSInt.$isObject = true; 5526 J.JSInt.$isObject = true;
5759 J.JSString.$isString = true; 5527 J.JSString.$isString = true;
5760 J.JSString.$isObject = true; 5528 J.JSString.$isObject = true;
5761 J.JSNumber.$isObject = true; 5529 J.JSNumber.$isObject = true;
5762 P.Duration.$isObject = true; 5530 P.Duration.$isObject = true;
5763 W.Geoposition.$isGeoposition = true; 5531 W.Event.$isEvent = true;
5764 W.Geoposition.$isObject = true; 5532 W.Event.$isObject = true;
5533 W.MouseEvent.$isEvent = true;
5534 W.MouseEvent.$isObject = true;
5765 P.ReceivePort.$isObject = true; 5535 P.ReceivePort.$isObject = true;
5766 H._IsolateEvent.$isObject = true; 5536 H._IsolateEvent.$isObject = true;
5767 H._IsolateContext.$isObject = true; 5537 H._IsolateContext.$isObject = true;
5768 J.JSArray.$isObject = true; 5538 J.JSArray.$isObject = true;
5769 P.Symbol.$isSymbol = true; 5539 P.Symbol.$isSymbol = true;
5770 P.Symbol.$isObject = true; 5540 P.Symbol.$isObject = true;
5771 P.StackTrace.$isStackTrace = true; 5541 P.StackTrace.$isStackTrace = true;
5772 P.StackTrace.$isObject = true; 5542 P.StackTrace.$isObject = true;
5773 P.Future.$isFuture = true;
5774 P.Future.$isObject = true;
5775 P.Object.$isObject = true; 5543 P.Object.$isObject = true;
5776 P.Function.$isFunction = true; 5544 P.Function.$isFunction = true;
5777 P.Function.$isObject = true; 5545 P.Function.$isObject = true;
5778 J.JSBool.$isbool = true; 5546 J.JSBool.$isbool = true;
5779 J.JSBool.$isObject = true; 5547 J.JSBool.$isObject = true;
5548 P._EventSink.$is_EventSink = true;
5549 P._EventSink.$isObject = true;
5550 P.Future.$isFuture = true;
5551 P.Future.$isObject = true;
5780 P.StreamSubscription.$isStreamSubscription = true; 5552 P.StreamSubscription.$isStreamSubscription = true;
5781 P.StreamSubscription.$isObject = true; 5553 P.StreamSubscription.$isObject = true;
5782 P._EventSink.$is_EventSink = true;
5783 P._EventSink.$isObject = true;
5784 // getInterceptor methods 5554 // getInterceptor methods
5785 J.getInterceptor = function(receiver) { 5555 J.getInterceptor = function(receiver) {
5786 if (typeof receiver == "number") { 5556 if (typeof receiver == "number") {
5787 if (Math.floor(receiver) == receiver) 5557 if (Math.floor(receiver) == receiver)
5788 return J.JSInt.prototype; 5558 return J.JSInt.prototype;
5789 return J.JSDouble.prototype; 5559 return J.JSDouble.prototype;
5790 } 5560 }
5791 if (typeof receiver == "string") 5561 if (typeof receiver == "string")
5792 return J.JSString.prototype; 5562 return J.JSString.prototype;
5793 if (receiver == null) 5563 if (receiver == null)
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
5846 }; 5616 };
5847 J.getInterceptor$x = function(receiver) { 5617 J.getInterceptor$x = function(receiver) {
5848 if (receiver == null) 5618 if (receiver == null)
5849 return receiver; 5619 return receiver;
5850 if (typeof receiver != "object") 5620 if (typeof receiver != "object")
5851 return receiver; 5621 return receiver;
5852 if (receiver instanceof P.Object) 5622 if (receiver instanceof P.Object)
5853 return receiver; 5623 return receiver;
5854 return J.getNativeInterceptor(receiver); 5624 return J.getNativeInterceptor(receiver);
5855 }; 5625 };
5856 C.C_CloseToken = new H.CloseToken();
5857 C.C_UnknownJavaScriptObject = new J.UnknownJavaScriptObject(); 5626 C.C_UnknownJavaScriptObject = new J.UnknownJavaScriptObject();
5627 C.C__DelayedDone = new P._DelayedDone();
5628 C.C__Random = new P._Random();
5858 C.C__RootZone = new P._RootZone(); 5629 C.C__RootZone = new P._RootZone();
5859 C.Duration_0 = new P.Duration(0); 5630 C.Duration_0 = new P.Duration(0);
5860 C.Geolocation_methods = W.Geolocation.prototype; 5631 C.EventStreamProvider_click = new W.EventStreamProvider("click");
5632 C.EventStreamProvider_input = new W.EventStreamProvider("input");
5861 C.JSArray_methods = J.JSArray.prototype; 5633 C.JSArray_methods = J.JSArray.prototype;
5862 C.JSInt_methods = J.JSInt.prototype; 5634 C.JSInt_methods = J.JSInt.prototype;
5863 C.JSNumber_methods = J.JSNumber.prototype; 5635 C.JSNumber_methods = J.JSNumber.prototype;
5864 C.JSString_methods = J.JSString.prototype; 5636 C.JSString_methods = J.JSString.prototype;
5865 C.JS_CONST_ZYJ = ((typeof version == "function" && typeof os == "object" && "system" in os) 5637 C.JS_CONST_ZYJ = ((typeof version == "function" && typeof os == "object" && "system" in os)
5866 || (typeof navigator == "object" 5638 || (typeof navigator == "object"
5867 && navigator.userAgent.indexOf('Chrome') != -1)) 5639 && navigator.userAgent.indexOf('Chrome') != -1))
5868 ? function(x) { return x.$dartCachedLength || x.length; } 5640 ? function(x) { return x.$dartCachedLength || x.length; }
5869 : function(x) { return x.length; }; 5641 : function(x) { return x.length; };
5870 ; 5642 ;
5871 Isolate.makeConstantList = function(list) { 5643 Isolate.makeConstantList = function(list) {
5872 list.immutable$list = true; 5644 list.immutable$list = true;
5873 list.fixed$length = true; 5645 list.fixed$length = true;
5874 return list; 5646 return list;
5875 }; 5647 };
5876 C.List_empty = Isolate.makeConstantList([]); 5648 C.List_empty = Isolate.makeConstantList([]);
5877 $.lazyPort = null; 5649 $.lazyPort = null;
5878 $.ReceivePortImpl__nextFreeId = 1; 5650 $.ReceivePortImpl__nextFreeId = 1;
5879 $.Primitives_mirrorFunctionCacheName = "$cachedFunction"; 5651 $.Primitives_mirrorFunctionCacheName = "$cachedFunction";
5880 $.Primitives_mirrorInvokeCacheName = "$cachedInvocation"; 5652 $.Primitives_mirrorInvokeCacheName = "$cachedInvocation";
5653 $.initNativeDispatchFlag = null;
5881 $.printToZone = null; 5654 $.printToZone = null;
5882 $._callbacksAreEnqueued = false; 5655 $._callbacksAreEnqueued = false;
5883 $.Zone__current = C.C__RootZone; 5656 $.Zone__current = C.C__RootZone;
5884 $.Expando__keyCount = 0; 5657 $.Expando__keyCount = 0;
5885 $.Device__isOpera = null; 5658 $.Device__isOpera = null;
5886 $.Device__isWebKit = null; 5659 $.Device__isWebKit = null;
5660 $.genButton = null;
5887 J.$eq = function(receiver, a0) { 5661 J.$eq = function(receiver, a0) {
5888 if (receiver == null) 5662 if (receiver == null)
5889 return a0 == null; 5663 return a0 == null;
5890 if (typeof receiver != "object") 5664 if (typeof receiver != "object")
5891 return a0 != null && receiver === a0; 5665 return a0 != null && receiver === a0;
5892 return J.getInterceptor(receiver).$eq(receiver, a0); 5666 return J.getInterceptor(receiver).$eq(receiver, a0);
5893 }; 5667 };
5894 J.$ge$n = function(receiver, a0) { 5668 J.$ge$n = function(receiver, a0) {
5895 if (typeof receiver == "number" && typeof a0 == "number") 5669 if (typeof receiver == "number" && typeof a0 == "number")
5896 return receiver >= a0; 5670 return receiver >= a0;
5897 return J.getInterceptor$n(receiver).$ge(receiver, a0); 5671 return J.getInterceptor$n(receiver).$ge(receiver, a0);
5898 }; 5672 };
5899 J.$index$asx = function(receiver, a0) { 5673 J.$index$asx = function(receiver, a0) {
5900 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsInde xable(receiver, receiver[init.dispatchPropertyName])) 5674 if (receiver.constructor == Array || typeof receiver == "string" || H.isJsInde xable(receiver, receiver[init.dispatchPropertyName]))
5901 if (a0 >>> 0 === a0 && a0 < receiver.length) 5675 if (a0 >>> 0 === a0 && a0 < receiver.length)
5902 return receiver[a0]; 5676 return receiver[a0];
5903 return J.getInterceptor$asx(receiver).$index(receiver, a0); 5677 return J.getInterceptor$asx(receiver).$index(receiver, a0);
5904 }; 5678 };
5905 J.$indexSet$ax = function(receiver, a0, a1) { 5679 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) 5680 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; 5681 return receiver[a0] = a1;
5908 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1); 5682 return J.getInterceptor$ax(receiver).$indexSet(receiver, a0, a1);
5909 }; 5683 };
5910 J.add$1$ax = function(receiver, a0) { 5684 J.addEventListener$3$x = function(receiver, a0, a1, a2) {
5911 return J.getInterceptor$ax(receiver).add$1(receiver, a0); 5685 return J.getInterceptor$x(receiver).addEventListener$3(receiver, a0, a1, a2);
5912 }; 5686 };
5913 J.forEach$1$ax = function(receiver, a0) { 5687 J.forEach$1$ax = function(receiver, a0) {
5914 return J.getInterceptor$ax(receiver).forEach$1(receiver, a0); 5688 return J.getInterceptor$ax(receiver).forEach$1(receiver, a0);
5915 }; 5689 };
5916 J.get$code$x = function(receiver) {
5917 return J.getInterceptor$x(receiver).get$code(receiver);
5918 };
5919 J.get$coords$x = function(receiver) {
5920 return J.getInterceptor$x(receiver).get$coords(receiver);
5921 };
5922 J.get$error$x = function(receiver) { 5690 J.get$error$x = function(receiver) {
5923 return J.getInterceptor$x(receiver).get$error(receiver); 5691 return J.getInterceptor$x(receiver).get$error(receiver);
5924 }; 5692 };
5925 J.get$hashCode$ = function(receiver) { 5693 J.get$hashCode$ = function(receiver) {
5926 return J.getInterceptor(receiver).get$hashCode(receiver); 5694 return J.getInterceptor(receiver).get$hashCode(receiver);
5927 }; 5695 };
5928 J.get$iterator$ax = function(receiver) { 5696 J.get$iterator$ax = function(receiver) {
5929 return J.getInterceptor$ax(receiver).get$iterator(receiver); 5697 return J.getInterceptor$ax(receiver).get$iterator(receiver);
5930 }; 5698 };
5931 J.get$latitude$x = function(receiver) {
5932 return J.getInterceptor$x(receiver).get$latitude(receiver);
5933 };
5934 J.get$length$asx = function(receiver) { 5699 J.get$length$asx = function(receiver) {
5935 return J.getInterceptor$asx(receiver).get$length(receiver); 5700 return J.getInterceptor$asx(receiver).get$length(receiver);
5936 }; 5701 };
5937 J.get$longitude$x = function(receiver) { 5702 J.get$target$x = function(receiver) {
5938 return J.getInterceptor$x(receiver).get$longitude(receiver); 5703 return J.getInterceptor$x(receiver).get$target(receiver);
5939 }; 5704 };
5940 J.getCurrentPosition$0$x = function(receiver) { 5705 J.removeEventListener$3$x = function(receiver, a0, a1, a2) {
5941 return J.getInterceptor$x(receiver).getCurrentPosition$0(receiver); 5706 return J.getInterceptor$x(receiver).removeEventListener$3(receiver, a0, a1, a2 );
5942 }; 5707 };
5943 J.removeLast$0$ax = function(receiver) { 5708 J.set$disabled$x = function(receiver, value) {
5944 return J.getInterceptor$ax(receiver).removeLast$0(receiver); 5709 return J.getInterceptor$x(receiver).set$disabled(receiver, value);
5945 }; 5710 };
5946 J.toString$0 = function(receiver) { 5711 J.toString$0 = function(receiver) {
5947 return J.getInterceptor(receiver).toString$0(receiver); 5712 return J.getInterceptor(receiver).toString$0(receiver);
5948 }; 5713 };
5949 J.watchPosition$0$x = function(receiver) { 5714 J.trim$0$s = function(receiver) {
5950 return J.getInterceptor$x(receiver).watchPosition$0(receiver); 5715 return J.getInterceptor$s(receiver).trim$0(receiver);
5951 }; 5716 };
5952 Isolate.$lazy($, "globalThis", "globalThis", "get$globalThis", function() { 5717 Isolate.$lazy($, "globalThis", "globalThis", "get$globalThis", function() {
5953 return function() { return this; }(); 5718 return function() { return this; }();
5954 }); 5719 });
5955 Isolate.$lazy($, "globalWindow", "globalWindow", "get$globalWindow", function() { 5720 Isolate.$lazy($, "globalWindow", "globalWindow", "get$globalWindow", function() {
5956 return $.get$globalThis().window; 5721 return $.get$globalThis().window;
5957 }); 5722 });
5958 Isolate.$lazy($, "globalWorker", "globalWorker", "get$globalWorker", function() { 5723 Isolate.$lazy($, "globalWorker", "globalWorker", "get$globalWorker", function() {
5959 return $.get$globalThis().Worker; 5724 return $.get$globalThis().Worker;
5960 }); 5725 });
(...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
6008 }); 5773 });
6009 Isolate.$lazy($, "_asyncCallbacks", "_asyncCallbacks", "get$_asyncCallbacks", fu nction() { 5774 Isolate.$lazy($, "_asyncCallbacks", "_asyncCallbacks", "get$_asyncCallbacks", fu nction() {
6010 return P.ListQueue$(null, {func: "void_", void: true}); 5775 return P.ListQueue$(null, {func: "void_", void: true});
6011 }); 5776 });
6012 Isolate.$lazy($, "_toStringVisiting", "_toStringVisiting", "get$_toStringVisitin g", function() { 5777 Isolate.$lazy($, "_toStringVisiting", "_toStringVisiting", "get$_toStringVisitin g", function() {
6013 return P.HashSet_HashSet$identity(null); 5778 return P.HashSet_HashSet$identity(null);
6014 }); 5779 });
6015 Isolate.$lazy($, "_toStringList", "Maps__toStringList", "get$Maps__toStringList" , function() { 5780 Isolate.$lazy($, "_toStringList", "Maps__toStringList", "get$Maps__toStringList" , function() {
6016 return P.List_List(null, null); 5781 return P.List_List(null, null);
6017 }); 5782 });
5783 Isolate.$lazy($, "indexGen", "PirateName_indexGen", "get$PirateName_indexGen", f unction() {
5784 return C.C__Random;
5785 });
5786 Isolate.$lazy($, "names", "PirateName_names", "get$PirateName_names", function() {
5787 return ["Anne", "Mary", "Jack", "Morgan", "Roger", "Bill", "Ragnar", "Ed", "Jo hn", "Jane"];
5788 });
5789 Isolate.$lazy($, "appellations", "PirateName_appellations", "get$PirateName_appe llations", function() {
5790 return ["Black", "Damned", "Jackal", "Red", "Stalwart", "Axe", "Young", "Old", "Angry", "Brave", "Crazy", "Noble"];
5791 });
6018 // Native classes 5792 // Native classes
6019 J.Interceptor["%"] = "Navigator|NavigatorUserMediaError|SVGAnimatedNumberList"; 5793 J.Interceptor["%"] = "DOMError|FileError|MediaError|MediaKeyError|Navigator|Navi gatorUserMediaError|PositionError|SQLError|SVGAnimatedNumberList|SVGAnimatedStri ng";
6020 5794
6021 5795
6022 init.functionAliases = {}; 5796 init.functionAliases = {};
6023 ; 5797 ;
6024 init.metadata = []; 5798 init.metadata = [];
6025 $ = null; 5799 $ = null;
6026 Isolate = Isolate.$finishIsolateConstructor(Isolate); 5800 Isolate = Isolate.$finishIsolateConstructor(Isolate);
6027 $ = new Isolate(); 5801 $ = new Isolate();
6028 function convertToFastObject(properties) { 5802 function convertToFastObject(properties) {
6029 function MyClass() {}; 5803 function MyClass() {};
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
6084 } 5858 }
6085 callback(event.target); 5859 callback(event.target);
6086 } 5860 }
6087 for (var i = 0; i < scripts.length; ++i) { 5861 for (var i = 0; i < scripts.length; ++i) {
6088 scripts[i].addEventListener("load", onLoad, false); 5862 scripts[i].addEventListener("load", onLoad, false);
6089 } 5863 }
6090 })(function(currentScript) { 5864 })(function(currentScript) {
6091 init.currentScript = currentScript; 5865 init.currentScript = currentScript;
6092 5866
6093 if (typeof dartMainRunner === "function") { 5867 if (typeof dartMainRunner === "function") {
6094 dartMainRunner(function() { H.startRootIsolate(E.main$closure); }); 5868 dartMainRunner(function() { H.startRootIsolate(A.main$closure); });
6095 } else { 5869 } else {
6096 H.startRootIsolate(E.main$closure); 5870 H.startRootIsolate(A.main$closure);
6097 } 5871 }
6098 }); 5872 });
6099 // END invoke [main]. 5873 // END invoke [main].
6100 function init() { 5874 function init() {
6101 Isolate.$isolateProperties = {}; 5875 Isolate.$isolateProperties = {};
6102 function generateAccessor(field, accessors, cls) { 5876 function generateAccessor(field, accessors, cls) {
6103 var len = field.length; 5877 var len = field.length;
6104 var code = field.charCodeAt(len - 1); 5878 var code = field.charCodeAt(len - 1);
6105 var reflectable = false; 5879 var reflectable = false;
6106 if (code == 45) { 5880 if (code == 45) {
(...skipping 243 matching lines...) Expand 10 before | Expand all | Expand 10 after
6350 function JS_CONST(code) { 6124 function JS_CONST(code) {
6351 this.code = code; 6125 this.code = code;
6352 } 6126 }
6353 JS_CONST.builtin$cls = "JS_CONST"; 6127 JS_CONST.builtin$cls = "JS_CONST";
6354 if (!"name" in JS_CONST) 6128 if (!"name" in JS_CONST)
6355 JS_CONST.name = "JS_CONST"; 6129 JS_CONST.name = "JS_CONST";
6356 $desc = $collectedClasses.JS_CONST; 6130 $desc = $collectedClasses.JS_CONST;
6357 if ($desc instanceof Array) 6131 if ($desc instanceof Array)
6358 $desc = $desc[1]; 6132 $desc = $desc[1];
6359 JS_CONST.prototype = $desc; 6133 JS_CONST.prototype = $desc;
6360 JS_CONST.prototype.get$code = function(receiver) {
6361 return this.code;
6362 };
6363 function Interceptor() { 6134 function Interceptor() {
6364 } 6135 }
6365 Interceptor.builtin$cls = "Interceptor"; 6136 Interceptor.builtin$cls = "Interceptor";
6366 if (!"name" in Interceptor) 6137 if (!"name" in Interceptor)
6367 Interceptor.name = "Interceptor"; 6138 Interceptor.name = "Interceptor";
6368 $desc = $collectedClasses.Interceptor; 6139 $desc = $collectedClasses.Interceptor;
6369 if ($desc instanceof Array) 6140 if ($desc instanceof Array)
6370 $desc = $desc[1]; 6141 $desc = $desc[1];
6371 Interceptor.prototype = $desc; 6142 Interceptor.prototype = $desc;
6372 function JSBool() { 6143 function JSBool() {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
6479 JSDouble.prototype = $desc; 6250 JSDouble.prototype = $desc;
6480 function JSString() { 6251 function JSString() {
6481 } 6252 }
6482 JSString.builtin$cls = "String"; 6253 JSString.builtin$cls = "String";
6483 if (!"name" in JSString) 6254 if (!"name" in JSString)
6484 JSString.name = "JSString"; 6255 JSString.name = "JSString";
6485 $desc = $collectedClasses.JSString; 6256 $desc = $collectedClasses.JSString;
6486 if ($desc instanceof Array) 6257 if ($desc instanceof Array)
6487 $desc = $desc[1]; 6258 $desc = $desc[1];
6488 JSString.prototype = $desc; 6259 JSString.prototype = $desc;
6489 function CloseToken() { 6260 function startRootIsolate_closure(entry_0) {
6261 this.entry_0 = entry_0;
6490 } 6262 }
6491 CloseToken.builtin$cls = "CloseToken"; 6263 startRootIsolate_closure.builtin$cls = "startRootIsolate_closure";
6492 if (!"name" in CloseToken) 6264 if (!"name" in startRootIsolate_closure)
6493 CloseToken.name = "CloseToken"; 6265 startRootIsolate_closure.name = "startRootIsolate_closure";
6494 $desc = $collectedClasses.CloseToken; 6266 $desc = $collectedClasses.startRootIsolate_closure;
6495 if ($desc instanceof Array) 6267 if ($desc instanceof Array)
6496 $desc = $desc[1]; 6268 $desc = $desc[1];
6497 CloseToken.prototype = $desc; 6269 startRootIsolate_closure.prototype = $desc;
6498 function JsIsolateSink(_isClosed, _port) { 6270 function startRootIsolate_closure0(entry_1) {
6499 this._isClosed = _isClosed; 6271 this.entry_1 = entry_1;
6500 this._port = _port;
6501 } 6272 }
6502 JsIsolateSink.builtin$cls = "JsIsolateSink"; 6273 startRootIsolate_closure0.builtin$cls = "startRootIsolate_closure0";
6503 if (!"name" in JsIsolateSink) 6274 if (!"name" in startRootIsolate_closure0)
6504 JsIsolateSink.name = "JsIsolateSink"; 6275 startRootIsolate_closure0.name = "startRootIsolate_closure0";
6505 $desc = $collectedClasses.JsIsolateSink; 6276 $desc = $collectedClasses.startRootIsolate_closure0;
6506 if ($desc instanceof Array) 6277 if ($desc instanceof Array)
6507 $desc = $desc[1]; 6278 $desc = $desc[1];
6508 JsIsolateSink.prototype = $desc; 6279 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) { 6280 function _Manager(nextIsolateId, currentManagerId, nextManagerId, currentConte xt, rootContext, topEventLoop, fromCommandLine, isWorker, supportsWorkers, isola tes, mainManager, managers, entry) {
6513 this.nextIsolateId = nextIsolateId; 6281 this.nextIsolateId = nextIsolateId;
6514 this.currentManagerId = currentManagerId; 6282 this.currentManagerId = currentManagerId;
6515 this.nextManagerId = nextManagerId; 6283 this.nextManagerId = nextManagerId;
6516 this.currentContext = currentContext; 6284 this.currentContext = currentContext;
6517 this.rootContext = rootContext; 6285 this.rootContext = rootContext;
6518 this.topEventLoop = topEventLoop; 6286 this.topEventLoop = topEventLoop;
6519 this.fromCommandLine = fromCommandLine; 6287 this.fromCommandLine = fromCommandLine;
6520 this.isWorker = isWorker; 6288 this.isWorker = isWorker;
6521 this.supportsWorkers = supportsWorkers; 6289 this.supportsWorkers = supportsWorkers;
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after
6581 _IsolateEvent.prototype = $desc; 6349 _IsolateEvent.prototype = $desc;
6582 function _MainManagerStub() { 6350 function _MainManagerStub() {
6583 } 6351 }
6584 _MainManagerStub.builtin$cls = "_MainManagerStub"; 6352 _MainManagerStub.builtin$cls = "_MainManagerStub";
6585 if (!"name" in _MainManagerStub) 6353 if (!"name" in _MainManagerStub)
6586 _MainManagerStub.name = "_MainManagerStub"; 6354 _MainManagerStub.name = "_MainManagerStub";
6587 $desc = $collectedClasses._MainManagerStub; 6355 $desc = $collectedClasses._MainManagerStub;
6588 if ($desc instanceof Array) 6356 if ($desc instanceof Array)
6589 $desc = $desc[1]; 6357 $desc = $desc[1];
6590 _MainManagerStub.prototype = $desc; 6358 _MainManagerStub.prototype = $desc;
6591 function IsolateNatives__processWorkerMessage_closure(entryPoint_0, replyTo_1) { 6359 function IsolateNatives__processWorkerMessage_closure(entryPoint_0, args_1, me ssage_2, isSpawnUri_3, replyTo_4) {
6592 this.entryPoint_0 = entryPoint_0; 6360 this.entryPoint_0 = entryPoint_0;
6593 this.replyTo_1 = replyTo_1; 6361 this.args_1 = args_1;
6362 this.message_2 = message_2;
6363 this.isSpawnUri_3 = isSpawnUri_3;
6364 this.replyTo_4 = replyTo_4;
6594 } 6365 }
6595 IsolateNatives__processWorkerMessage_closure.builtin$cls = "IsolateNatives__pr ocessWorkerMessage_closure"; 6366 IsolateNatives__processWorkerMessage_closure.builtin$cls = "IsolateNatives__pr ocessWorkerMessage_closure";
6596 if (!"name" in IsolateNatives__processWorkerMessage_closure) 6367 if (!"name" in IsolateNatives__processWorkerMessage_closure)
6597 IsolateNatives__processWorkerMessage_closure.name = "IsolateNatives__process WorkerMessage_closure"; 6368 IsolateNatives__processWorkerMessage_closure.name = "IsolateNatives__process WorkerMessage_closure";
6598 $desc = $collectedClasses.IsolateNatives__processWorkerMessage_closure; 6369 $desc = $collectedClasses.IsolateNatives__processWorkerMessage_closure;
6599 if ($desc instanceof Array) 6370 if ($desc instanceof Array)
6600 $desc = $desc[1]; 6371 $desc = $desc[1];
6601 IsolateNatives__processWorkerMessage_closure.prototype = $desc; 6372 IsolateNatives__processWorkerMessage_closure.prototype = $desc;
6602 function _BaseSendPort() { 6373 function _BaseSendPort() {
6603 } 6374 }
6604 _BaseSendPort.builtin$cls = "_BaseSendPort"; 6375 _BaseSendPort.builtin$cls = "_BaseSendPort";
6605 if (!"name" in _BaseSendPort) 6376 if (!"name" in _BaseSendPort)
6606 _BaseSendPort.name = "_BaseSendPort"; 6377 _BaseSendPort.name = "_BaseSendPort";
6607 $desc = $collectedClasses._BaseSendPort; 6378 $desc = $collectedClasses._BaseSendPort;
6608 if ($desc instanceof Array) 6379 if ($desc instanceof Array)
6609 $desc = $desc[1]; 6380 $desc = $desc[1];
6610 _BaseSendPort.prototype = $desc; 6381 _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) { 6382 function _NativeJsSendPort(_receivePort, _isolateId) {
6623 this._receivePort = _receivePort; 6383 this._receivePort = _receivePort;
6624 this._isolateId = _isolateId; 6384 this._isolateId = _isolateId;
6625 } 6385 }
6626 _NativeJsSendPort.builtin$cls = "_NativeJsSendPort"; 6386 _NativeJsSendPort.builtin$cls = "_NativeJsSendPort";
6627 if (!"name" in _NativeJsSendPort) 6387 if (!"name" in _NativeJsSendPort)
6628 _NativeJsSendPort.name = "_NativeJsSendPort"; 6388 _NativeJsSendPort.name = "_NativeJsSendPort";
6629 $desc = $collectedClasses._NativeJsSendPort; 6389 $desc = $collectedClasses._NativeJsSendPort;
6630 if ($desc instanceof Array) 6390 if ($desc instanceof Array)
6631 $desc = $desc[1]; 6391 $desc = $desc[1];
6632 _NativeJsSendPort.prototype = $desc; 6392 _NativeJsSendPort.prototype = $desc;
6633 function _NativeJsSendPort_send_closure(this_1, message_2, replyTo_3) { 6393 function _NativeJsSendPort_send_closure(this_1, message_2) {
6634 this.this_1 = this_1; 6394 this.this_1 = this_1;
6635 this.message_2 = message_2; 6395 this.message_2 = message_2;
6636 this.replyTo_3 = replyTo_3;
6637 } 6396 }
6638 _NativeJsSendPort_send_closure.builtin$cls = "_NativeJsSendPort_send_closure"; 6397 _NativeJsSendPort_send_closure.builtin$cls = "_NativeJsSendPort_send_closure";
6639 if (!"name" in _NativeJsSendPort_send_closure) 6398 if (!"name" in _NativeJsSendPort_send_closure)
6640 _NativeJsSendPort_send_closure.name = "_NativeJsSendPort_send_closure"; 6399 _NativeJsSendPort_send_closure.name = "_NativeJsSendPort_send_closure";
6641 $desc = $collectedClasses._NativeJsSendPort_send_closure; 6400 $desc = $collectedClasses._NativeJsSendPort_send_closure;
6642 if ($desc instanceof Array) 6401 if ($desc instanceof Array)
6643 $desc = $desc[1]; 6402 $desc = $desc[1];
6644 _NativeJsSendPort_send_closure.prototype = $desc; 6403 _NativeJsSendPort_send_closure.prototype = $desc;
6645 function _NativeJsSendPort_send__closure(box_0, this_4, shouldSerialize_5) { 6404 function _NativeJsSendPort_send__closure(box_0, this_3, shouldSerialize_4) {
6646 this.box_0 = box_0; 6405 this.box_0 = box_0;
6647 this.this_4 = this_4; 6406 this.this_3 = this_3;
6648 this.shouldSerialize_5 = shouldSerialize_5; 6407 this.shouldSerialize_4 = shouldSerialize_4;
6649 } 6408 }
6650 _NativeJsSendPort_send__closure.builtin$cls = "_NativeJsSendPort_send__closure "; 6409 _NativeJsSendPort_send__closure.builtin$cls = "_NativeJsSendPort_send__closure ";
6651 if (!"name" in _NativeJsSendPort_send__closure) 6410 if (!"name" in _NativeJsSendPort_send__closure)
6652 _NativeJsSendPort_send__closure.name = "_NativeJsSendPort_send__closure"; 6411 _NativeJsSendPort_send__closure.name = "_NativeJsSendPort_send__closure";
6653 $desc = $collectedClasses._NativeJsSendPort_send__closure; 6412 $desc = $collectedClasses._NativeJsSendPort_send__closure;
6654 if ($desc instanceof Array) 6413 if ($desc instanceof Array)
6655 $desc = $desc[1]; 6414 $desc = $desc[1];
6656 _NativeJsSendPort_send__closure.prototype = $desc; 6415 _NativeJsSendPort_send__closure.prototype = $desc;
6657 function _WorkerSendPort(_workerId, _receivePortId, _isolateId) { 6416 function _WorkerSendPort(_workerId, _receivePortId, _isolateId) {
6658 this._workerId = _workerId; 6417 this._workerId = _workerId;
6659 this._receivePortId = _receivePortId; 6418 this._receivePortId = _receivePortId;
6660 this._isolateId = _isolateId; 6419 this._isolateId = _isolateId;
6661 } 6420 }
6662 _WorkerSendPort.builtin$cls = "_WorkerSendPort"; 6421 _WorkerSendPort.builtin$cls = "_WorkerSendPort";
6663 if (!"name" in _WorkerSendPort) 6422 if (!"name" in _WorkerSendPort)
6664 _WorkerSendPort.name = "_WorkerSendPort"; 6423 _WorkerSendPort.name = "_WorkerSendPort";
6665 $desc = $collectedClasses._WorkerSendPort; 6424 $desc = $collectedClasses._WorkerSendPort;
6666 if ($desc instanceof Array) 6425 if ($desc instanceof Array)
6667 $desc = $desc[1]; 6426 $desc = $desc[1];
6668 _WorkerSendPort.prototype = $desc; 6427 _WorkerSendPort.prototype = $desc;
6669 function _WorkerSendPort_send_closure(this_0, message_1, replyTo_2) { 6428 function _WorkerSendPort_send_closure(this_0, message_1) {
6670 this.this_0 = this_0; 6429 this.this_0 = this_0;
6671 this.message_1 = message_1; 6430 this.message_1 = message_1;
6672 this.replyTo_2 = replyTo_2;
6673 } 6431 }
6674 _WorkerSendPort_send_closure.builtin$cls = "_WorkerSendPort_send_closure"; 6432 _WorkerSendPort_send_closure.builtin$cls = "_WorkerSendPort_send_closure";
6675 if (!"name" in _WorkerSendPort_send_closure) 6433 if (!"name" in _WorkerSendPort_send_closure)
6676 _WorkerSendPort_send_closure.name = "_WorkerSendPort_send_closure"; 6434 _WorkerSendPort_send_closure.name = "_WorkerSendPort_send_closure";
6677 $desc = $collectedClasses._WorkerSendPort_send_closure; 6435 $desc = $collectedClasses._WorkerSendPort_send_closure;
6678 if ($desc instanceof Array) 6436 if ($desc instanceof Array)
6679 $desc = $desc[1]; 6437 $desc = $desc[1];
6680 _WorkerSendPort_send_closure.prototype = $desc; 6438 _WorkerSendPort_send_closure.prototype = $desc;
6681 function ReceivePortImpl(_id, _callback) { 6439 function ReceivePortImpl(_id, _controller) {
6682 this._id = _id; 6440 this._id = _id;
6683 this._callback = _callback; 6441 this._controller = _controller;
6684 } 6442 }
6685 ReceivePortImpl.builtin$cls = "ReceivePortImpl"; 6443 ReceivePortImpl.builtin$cls = "ReceivePortImpl";
6686 if (!"name" in ReceivePortImpl) 6444 if (!"name" in ReceivePortImpl)
6687 ReceivePortImpl.name = "ReceivePortImpl"; 6445 ReceivePortImpl.name = "ReceivePortImpl";
6688 $desc = $collectedClasses.ReceivePortImpl; 6446 $desc = $collectedClasses.ReceivePortImpl;
6689 if ($desc instanceof Array) 6447 if ($desc instanceof Array)
6690 $desc = $desc[1]; 6448 $desc = $desc[1];
6691 ReceivePortImpl.prototype = $desc; 6449 ReceivePortImpl.prototype = $desc;
6692 ReceivePortImpl.prototype.get$_id = function() { 6450 ReceivePortImpl.prototype.get$_id = function() {
6693 return this._id; 6451 return this._id;
6694 }; 6452 };
6695 ReceivePortImpl.prototype.get$_callback = function() { 6453 ReceivePortImpl.prototype.get$_controller = function() {
6696 return this._callback; 6454 return this._controller;
6697 }; 6455 };
6456 function BoundClosure$i0(_self, __js_helper$_target, _receiver, __js_helper$_n ame) {
6457 this._self = _self;
6458 this.__js_helper$_target = __js_helper$_target;
6459 this._receiver = _receiver;
6460 this.__js_helper$_name = __js_helper$_name;
6461 }
6462 BoundClosure$i0.builtin$cls = "BoundClosure$i0";
6463 $desc = $collectedClasses.BoundClosure$i0;
6464 if ($desc instanceof Array)
6465 $desc = $desc[1];
6466 BoundClosure$i0.prototype = $desc;
6698 function _waitForPendingPorts_closure(callback_0) { 6467 function _waitForPendingPorts_closure(callback_0) {
6699 this.callback_0 = callback_0; 6468 this.callback_0 = callback_0;
6700 } 6469 }
6701 _waitForPendingPorts_closure.builtin$cls = "_waitForPendingPorts_closure"; 6470 _waitForPendingPorts_closure.builtin$cls = "_waitForPendingPorts_closure";
6702 if (!"name" in _waitForPendingPorts_closure) 6471 if (!"name" in _waitForPendingPorts_closure)
6703 _waitForPendingPorts_closure.name = "_waitForPendingPorts_closure"; 6472 _waitForPendingPorts_closure.name = "_waitForPendingPorts_closure";
6704 $desc = $collectedClasses._waitForPendingPorts_closure; 6473 $desc = $collectedClasses._waitForPendingPorts_closure;
6705 if ($desc instanceof Array) 6474 if ($desc instanceof Array)
6706 $desc = $desc[1]; 6475 $desc = $desc[1];
6707 _waitForPendingPorts_closure.prototype = $desc; 6476 _waitForPendingPorts_closure.prototype = $desc;
6708 function _PendingSendPortFinder(ports, _visited) { 6477 function _PendingSendPortFinder(ports, _visited) {
6709 this.ports = ports; 6478 this.ports = ports;
6710 this._visited = _visited; 6479 this._visited = _visited;
6711 } 6480 }
6712 _PendingSendPortFinder.builtin$cls = "_PendingSendPortFinder"; 6481 _PendingSendPortFinder.builtin$cls = "_PendingSendPortFinder";
6713 if (!"name" in _PendingSendPortFinder) 6482 if (!"name" in _PendingSendPortFinder)
6714 _PendingSendPortFinder.name = "_PendingSendPortFinder"; 6483 _PendingSendPortFinder.name = "_PendingSendPortFinder";
6715 $desc = $collectedClasses._PendingSendPortFinder; 6484 $desc = $collectedClasses._PendingSendPortFinder;
6716 if ($desc instanceof Array) 6485 if ($desc instanceof Array)
6717 $desc = $desc[1]; 6486 $desc = $desc[1];
6718 _PendingSendPortFinder.prototype = $desc; 6487 _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) { 6488 function _JsSerializer(_nextFreeRefId, _visited) {
6740 this._nextFreeRefId = _nextFreeRefId; 6489 this._nextFreeRefId = _nextFreeRefId;
6741 this._visited = _visited; 6490 this._visited = _visited;
6742 } 6491 }
6743 _JsSerializer.builtin$cls = "_JsSerializer"; 6492 _JsSerializer.builtin$cls = "_JsSerializer";
6744 if (!"name" in _JsSerializer) 6493 if (!"name" in _JsSerializer)
6745 _JsSerializer.name = "_JsSerializer"; 6494 _JsSerializer.name = "_JsSerializer";
6746 $desc = $collectedClasses._JsSerializer; 6495 $desc = $collectedClasses._JsSerializer;
6747 if ($desc instanceof Array) 6496 if ($desc instanceof Array)
6748 $desc = $desc[1]; 6497 $desc = $desc[1];
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
6788 _MessageTraverserVisitedMap.prototype = $desc; 6537 _MessageTraverserVisitedMap.prototype = $desc;
6789 function _MessageTraverser() { 6538 function _MessageTraverser() {
6790 } 6539 }
6791 _MessageTraverser.builtin$cls = "_MessageTraverser"; 6540 _MessageTraverser.builtin$cls = "_MessageTraverser";
6792 if (!"name" in _MessageTraverser) 6541 if (!"name" in _MessageTraverser)
6793 _MessageTraverser.name = "_MessageTraverser"; 6542 _MessageTraverser.name = "_MessageTraverser";
6794 $desc = $collectedClasses._MessageTraverser; 6543 $desc = $collectedClasses._MessageTraverser;
6795 if ($desc instanceof Array) 6544 if ($desc instanceof Array)
6796 $desc = $desc[1]; 6545 $desc = $desc[1];
6797 _MessageTraverser.prototype = $desc; 6546 _MessageTraverser.prototype = $desc;
6547 function BoundClosure$1(_self, __js_helper$_target, _receiver, __js_helper$_na me) {
6548 this._self = _self;
6549 this.__js_helper$_target = __js_helper$_target;
6550 this._receiver = _receiver;
6551 this.__js_helper$_name = __js_helper$_name;
6552 }
6553 BoundClosure$1.builtin$cls = "BoundClosure$1";
6554 $desc = $collectedClasses.BoundClosure$1;
6555 if ($desc instanceof Array)
6556 $desc = $desc[1];
6557 BoundClosure$1.prototype = $desc;
6798 function _Copier() { 6558 function _Copier() {
6799 } 6559 }
6800 _Copier.builtin$cls = "_Copier"; 6560 _Copier.builtin$cls = "_Copier";
6801 if (!"name" in _Copier) 6561 if (!"name" in _Copier)
6802 _Copier.name = "_Copier"; 6562 _Copier.name = "_Copier";
6803 $desc = $collectedClasses._Copier; 6563 $desc = $collectedClasses._Copier;
6804 if ($desc instanceof Array) 6564 if ($desc instanceof Array)
6805 $desc = $desc[1]; 6565 $desc = $desc[1];
6806 _Copier.prototype = $desc; 6566 _Copier.prototype = $desc;
6807 function _Copier_visitMap_closure(box_0, this_1) { 6567 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; 6758 invokeClosure_closure3.prototype = $desc;
6999 function Closure() { 6759 function Closure() {
7000 } 6760 }
7001 Closure.builtin$cls = "Closure"; 6761 Closure.builtin$cls = "Closure";
7002 if (!"name" in Closure) 6762 if (!"name" in Closure)
7003 Closure.name = "Closure"; 6763 Closure.name = "Closure";
7004 $desc = $collectedClasses.Closure; 6764 $desc = $collectedClasses.Closure;
7005 if ($desc instanceof Array) 6765 if ($desc instanceof Array)
7006 $desc = $desc[1]; 6766 $desc = $desc[1];
7007 Closure.prototype = $desc; 6767 Closure.prototype = $desc;
7008 function BoundClosure(_self, _target, _receiver, __js_helper$_name) { 6768 function BoundClosure(_self, __js_helper$_target, _receiver, __js_helper$_name ) {
7009 this._self = _self; 6769 this._self = _self;
7010 this._target = _target; 6770 this.__js_helper$_target = __js_helper$_target;
7011 this._receiver = _receiver; 6771 this._receiver = _receiver;
7012 this.__js_helper$_name = __js_helper$_name; 6772 this.__js_helper$_name = __js_helper$_name;
7013 } 6773 }
7014 BoundClosure.builtin$cls = "BoundClosure"; 6774 BoundClosure.builtin$cls = "BoundClosure";
7015 if (!"name" in BoundClosure) 6775 if (!"name" in BoundClosure)
7016 BoundClosure.name = "BoundClosure"; 6776 BoundClosure.name = "BoundClosure";
7017 $desc = $collectedClasses.BoundClosure; 6777 $desc = $collectedClasses.BoundClosure;
7018 if ($desc instanceof Array) 6778 if ($desc instanceof Array)
7019 $desc = $desc[1]; 6779 $desc = $desc[1];
7020 BoundClosure.prototype = $desc; 6780 BoundClosure.prototype = $desc;
6781 function CastErrorImplementation(message) {
6782 this.message = message;
6783 }
6784 CastErrorImplementation.builtin$cls = "CastErrorImplementation";
6785 if (!"name" in CastErrorImplementation)
6786 CastErrorImplementation.name = "CastErrorImplementation";
6787 $desc = $collectedClasses.CastErrorImplementation;
6788 if ($desc instanceof Array)
6789 $desc = $desc[1];
6790 CastErrorImplementation.prototype = $desc;
7021 function applyExperimentalFixup_newGetTagDartFunction(newGetTagJSFunction_0) { 6791 function applyExperimentalFixup_newGetTagDartFunction(newGetTagJSFunction_0) {
7022 this.newGetTagJSFunction_0 = newGetTagJSFunction_0; 6792 this.newGetTagJSFunction_0 = newGetTagJSFunction_0;
7023 } 6793 }
7024 applyExperimentalFixup_newGetTagDartFunction.builtin$cls = "applyExperimentalF ixup_newGetTagDartFunction"; 6794 applyExperimentalFixup_newGetTagDartFunction.builtin$cls = "applyExperimentalF ixup_newGetTagDartFunction";
7025 if (!"name" in applyExperimentalFixup_newGetTagDartFunction) 6795 if (!"name" in applyExperimentalFixup_newGetTagDartFunction)
7026 applyExperimentalFixup_newGetTagDartFunction.name = "applyExperimentalFixup_ newGetTagDartFunction"; 6796 applyExperimentalFixup_newGetTagDartFunction.name = "applyExperimentalFixup_ newGetTagDartFunction";
7027 $desc = $collectedClasses.applyExperimentalFixup_newGetTagDartFunction; 6797 $desc = $collectedClasses.applyExperimentalFixup_newGetTagDartFunction;
7028 if ($desc instanceof Array) 6798 if ($desc instanceof Array)
7029 $desc = $desc[1]; 6799 $desc = $desc[1];
7030 applyExperimentalFixup_newGetTagDartFunction.prototype = $desc; 6800 applyExperimentalFixup_newGetTagDartFunction.prototype = $desc;
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after
7124 this.box_0 = box_0; 6894 this.box_0 = box_0;
7125 this.pos_1 = pos_1; 6895 this.pos_1 = pos_1;
7126 } 6896 }
7127 Future_wait_closure.builtin$cls = "Future_wait_closure"; 6897 Future_wait_closure.builtin$cls = "Future_wait_closure";
7128 if (!"name" in Future_wait_closure) 6898 if (!"name" in Future_wait_closure)
7129 Future_wait_closure.name = "Future_wait_closure"; 6899 Future_wait_closure.name = "Future_wait_closure";
7130 $desc = $collectedClasses.Future_wait_closure; 6900 $desc = $collectedClasses.Future_wait_closure;
7131 if ($desc instanceof Array) 6901 if ($desc instanceof Array)
7132 $desc = $desc[1]; 6902 $desc = $desc[1];
7133 Future_wait_closure.prototype = $desc; 6903 Future_wait_closure.prototype = $desc;
7134 function _Completer(future) { 6904 function _Completer() {
7135 this.future = future;
7136 } 6905 }
7137 _Completer.builtin$cls = "_Completer"; 6906 _Completer.builtin$cls = "_Completer";
7138 if (!"name" in _Completer) 6907 if (!"name" in _Completer)
7139 _Completer.name = "_Completer"; 6908 _Completer.name = "_Completer";
7140 $desc = $collectedClasses._Completer; 6909 $desc = $collectedClasses._Completer;
7141 if ($desc instanceof Array) 6910 if ($desc instanceof Array)
7142 $desc = $desc[1]; 6911 $desc = $desc[1];
7143 _Completer.prototype = $desc; 6912 _Completer.prototype = $desc;
7144 _Completer.prototype.get$future = function() {
7145 return this.future;
7146 };
7147 function _AsyncCompleter(future) { 6913 function _AsyncCompleter(future) {
7148 this.future = future; 6914 this.future = future;
7149 } 6915 }
7150 _AsyncCompleter.builtin$cls = "_AsyncCompleter"; 6916 _AsyncCompleter.builtin$cls = "_AsyncCompleter";
7151 if (!"name" in _AsyncCompleter) 6917 if (!"name" in _AsyncCompleter)
7152 _AsyncCompleter.name = "_AsyncCompleter"; 6918 _AsyncCompleter.name = "_AsyncCompleter";
7153 $desc = $collectedClasses._AsyncCompleter; 6919 $desc = $collectedClasses._AsyncCompleter;
7154 if ($desc instanceof Array) 6920 if ($desc instanceof Array)
7155 $desc = $desc[1]; 6921 $desc = $desc[1];
7156 _AsyncCompleter.prototype = $desc; 6922 _AsyncCompleter.prototype = $desc;
(...skipping 16 matching lines...) Expand all
7173 _Future.prototype = $desc; 6939 _Future.prototype = $desc;
7174 _Future.prototype.get$_zone = function() { 6940 _Future.prototype.get$_zone = function() {
7175 return this._zone; 6941 return this._zone;
7176 }; 6942 };
7177 _Future.prototype.get$_nextListener = function() { 6943 _Future.prototype.get$_nextListener = function() {
7178 return this._nextListener; 6944 return this._nextListener;
7179 }; 6945 };
7180 _Future.prototype.set$_nextListener = function(v) { 6946 _Future.prototype.set$_nextListener = function(v) {
7181 return this._nextListener = v; 6947 return this._nextListener = v;
7182 }; 6948 };
7183 function BoundClosure$2(_self, _target, _receiver, __js_helper$_name) { 6949 function BoundClosure$2(_self, __js_helper$_target, _receiver, __js_helper$_na me) {
7184 this._self = _self; 6950 this._self = _self;
7185 this._target = _target; 6951 this.__js_helper$_target = __js_helper$_target;
7186 this._receiver = _receiver; 6952 this._receiver = _receiver;
7187 this.__js_helper$_name = __js_helper$_name; 6953 this.__js_helper$_name = __js_helper$_name;
7188 } 6954 }
7189 BoundClosure$2.builtin$cls = "BoundClosure$2"; 6955 BoundClosure$2.builtin$cls = "BoundClosure$2";
7190 $desc = $collectedClasses.BoundClosure$2; 6956 $desc = $collectedClasses.BoundClosure$2;
7191 if ($desc instanceof Array) 6957 if ($desc instanceof Array)
7192 $desc = $desc[1]; 6958 $desc = $desc[1];
7193 BoundClosure$2.prototype = $desc; 6959 BoundClosure$2.prototype = $desc;
7194 function _Future__addListener_closure(this_0, listener_1) { 6960 function _Future__addListener_closure(this_0, listener_1) {
7195 this.this_0 = this_0; 6961 this.this_0 = this_0;
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after
7366 Stream_length_closure0.prototype = $desc; 7132 Stream_length_closure0.prototype = $desc;
7367 function StreamSubscription() { 7133 function StreamSubscription() {
7368 } 7134 }
7369 StreamSubscription.builtin$cls = "StreamSubscription"; 7135 StreamSubscription.builtin$cls = "StreamSubscription";
7370 if (!"name" in StreamSubscription) 7136 if (!"name" in StreamSubscription)
7371 StreamSubscription.name = "StreamSubscription"; 7137 StreamSubscription.name = "StreamSubscription";
7372 $desc = $collectedClasses.StreamSubscription; 7138 $desc = $collectedClasses.StreamSubscription;
7373 if ($desc instanceof Array) 7139 if ($desc instanceof Array)
7374 $desc = $desc[1]; 7140 $desc = $desc[1];
7375 StreamSubscription.prototype = $desc; 7141 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() { 7142 function _StreamController() {
7386 } 7143 }
7387 _StreamController.builtin$cls = "_StreamController"; 7144 _StreamController.builtin$cls = "_StreamController";
7388 if (!"name" in _StreamController) 7145 if (!"name" in _StreamController)
7389 _StreamController.name = "_StreamController"; 7146 _StreamController.name = "_StreamController";
7390 $desc = $collectedClasses._StreamController; 7147 $desc = $collectedClasses._StreamController;
7391 if ($desc instanceof Array) 7148 if ($desc instanceof Array)
7392 $desc = $desc[1]; 7149 $desc = $desc[1];
7393 _StreamController.prototype = $desc; 7150 _StreamController.prototype = $desc;
7394 function _StreamController__subscribe_closure(this_0) { 7151 function _StreamController__subscribe_closure(this_0) {
7395 this.this_0 = this_0; 7152 this.this_0 = this_0;
7396 } 7153 }
7397 _StreamController__subscribe_closure.builtin$cls = "_StreamController__subscri be_closure"; 7154 _StreamController__subscribe_closure.builtin$cls = "_StreamController__subscri be_closure";
7398 if (!"name" in _StreamController__subscribe_closure) 7155 if (!"name" in _StreamController__subscribe_closure)
7399 _StreamController__subscribe_closure.name = "_StreamController__subscribe_cl osure"; 7156 _StreamController__subscribe_closure.name = "_StreamController__subscribe_cl osure";
7400 $desc = $collectedClasses._StreamController__subscribe_closure; 7157 $desc = $collectedClasses._StreamController__subscribe_closure;
7401 if ($desc instanceof Array) 7158 if ($desc instanceof Array)
7402 $desc = $desc[1]; 7159 $desc = $desc[1];
7403 _StreamController__subscribe_closure.prototype = $desc; 7160 _StreamController__subscribe_closure.prototype = $desc;
7161 function _StreamController__recordCancel_complete(this_0) {
7162 this.this_0 = this_0;
7163 }
7164 _StreamController__recordCancel_complete.builtin$cls = "_StreamController__rec ordCancel_complete";
7165 if (!"name" in _StreamController__recordCancel_complete)
7166 _StreamController__recordCancel_complete.name = "_StreamController__recordCa ncel_complete";
7167 $desc = $collectedClasses._StreamController__recordCancel_complete;
7168 if ($desc instanceof Array)
7169 $desc = $desc[1];
7170 _StreamController__recordCancel_complete.prototype = $desc;
7404 function _SyncStreamControllerDispatch() { 7171 function _SyncStreamControllerDispatch() {
7405 } 7172 }
7406 _SyncStreamControllerDispatch.builtin$cls = "_SyncStreamControllerDispatch"; 7173 _SyncStreamControllerDispatch.builtin$cls = "_SyncStreamControllerDispatch";
7407 if (!"name" in _SyncStreamControllerDispatch) 7174 if (!"name" in _SyncStreamControllerDispatch)
7408 _SyncStreamControllerDispatch.name = "_SyncStreamControllerDispatch"; 7175 _SyncStreamControllerDispatch.name = "_SyncStreamControllerDispatch";
7409 $desc = $collectedClasses._SyncStreamControllerDispatch; 7176 $desc = $collectedClasses._SyncStreamControllerDispatch;
7410 if ($desc instanceof Array) 7177 if ($desc instanceof Array)
7411 $desc = $desc[1]; 7178 $desc = $desc[1];
7412 _SyncStreamControllerDispatch.prototype = $desc; 7179 _SyncStreamControllerDispatch.prototype = $desc;
7413 function _AsyncStreamControllerDispatch() { 7180 function _AsyncStreamControllerDispatch() {
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after
7486 }; 7253 };
7487 function _StreamController__SyncStreamControllerDispatch() { 7254 function _StreamController__SyncStreamControllerDispatch() {
7488 } 7255 }
7489 _StreamController__SyncStreamControllerDispatch.builtin$cls = "_StreamControll er__SyncStreamControllerDispatch"; 7256 _StreamController__SyncStreamControllerDispatch.builtin$cls = "_StreamControll er__SyncStreamControllerDispatch";
7490 if (!"name" in _StreamController__SyncStreamControllerDispatch) 7257 if (!"name" in _StreamController__SyncStreamControllerDispatch)
7491 _StreamController__SyncStreamControllerDispatch.name = "_StreamController__S yncStreamControllerDispatch"; 7258 _StreamController__SyncStreamControllerDispatch.name = "_StreamController__S yncStreamControllerDispatch";
7492 $desc = $collectedClasses._StreamController__SyncStreamControllerDispatch; 7259 $desc = $collectedClasses._StreamController__SyncStreamControllerDispatch;
7493 if ($desc instanceof Array) 7260 if ($desc instanceof Array)
7494 $desc = $desc[1]; 7261 $desc = $desc[1];
7495 _StreamController__SyncStreamControllerDispatch.prototype = $desc; 7262 _StreamController__SyncStreamControllerDispatch.prototype = $desc;
7496 function _ControllerStream(_controller) { 7263 function _ControllerStream(_async$_controller) {
7497 this._controller = _controller; 7264 this._async$_controller = _async$_controller;
7498 } 7265 }
7499 _ControllerStream.builtin$cls = "_ControllerStream"; 7266 _ControllerStream.builtin$cls = "_ControllerStream";
7500 if (!"name" in _ControllerStream) 7267 if (!"name" in _ControllerStream)
7501 _ControllerStream.name = "_ControllerStream"; 7268 _ControllerStream.name = "_ControllerStream";
7502 $desc = $collectedClasses._ControllerStream; 7269 $desc = $collectedClasses._ControllerStream;
7503 if ($desc instanceof Array) 7270 if ($desc instanceof Array)
7504 $desc = $desc[1]; 7271 $desc = $desc[1];
7505 _ControllerStream.prototype = $desc; 7272 _ControllerStream.prototype = $desc;
7506 function _ControllerSubscription(_controller, _onData, _onError, _onDone, _zon e, _state, _pending) { 7273 function _ControllerSubscription(_async$_controller, _async$_onData, _onError, _onDone, _zone, _state, _cancelFuture, _pending) {
7507 this._controller = _controller; 7274 this._async$_controller = _async$_controller;
7508 this._onData = _onData; 7275 this._async$_onData = _async$_onData;
7509 this._onError = _onError; 7276 this._onError = _onError;
7510 this._onDone = _onDone; 7277 this._onDone = _onDone;
7511 this._zone = _zone; 7278 this._zone = _zone;
7512 this._state = _state; 7279 this._state = _state;
7280 this._cancelFuture = _cancelFuture;
7513 this._pending = _pending; 7281 this._pending = _pending;
7514 } 7282 }
7515 _ControllerSubscription.builtin$cls = "_ControllerSubscription"; 7283 _ControllerSubscription.builtin$cls = "_ControllerSubscription";
7516 if (!"name" in _ControllerSubscription) 7284 if (!"name" in _ControllerSubscription)
7517 _ControllerSubscription.name = "_ControllerSubscription"; 7285 _ControllerSubscription.name = "_ControllerSubscription";
7518 $desc = $collectedClasses._ControllerSubscription; 7286 $desc = $collectedClasses._ControllerSubscription;
7519 if ($desc instanceof Array) 7287 if ($desc instanceof Array)
7520 $desc = $desc[1]; 7288 $desc = $desc[1];
7521 _ControllerSubscription.prototype = $desc; 7289 _ControllerSubscription.prototype = $desc;
7522 function BoundClosure$0(_self, _target, _receiver, __js_helper$_name) { 7290 function BoundClosure$0(_self, __js_helper$_target, _receiver, __js_helper$_na me) {
7523 this._self = _self; 7291 this._self = _self;
7524 this._target = _target; 7292 this.__js_helper$_target = __js_helper$_target;
7525 this._receiver = _receiver; 7293 this._receiver = _receiver;
7526 this.__js_helper$_name = __js_helper$_name; 7294 this.__js_helper$_name = __js_helper$_name;
7527 } 7295 }
7528 BoundClosure$0.builtin$cls = "BoundClosure$0"; 7296 BoundClosure$0.builtin$cls = "BoundClosure$0";
7529 $desc = $collectedClasses.BoundClosure$0; 7297 $desc = $collectedClasses.BoundClosure$0;
7530 if ($desc instanceof Array) 7298 if ($desc instanceof Array)
7531 $desc = $desc[1]; 7299 $desc = $desc[1];
7532 BoundClosure$0.prototype = $desc; 7300 BoundClosure$0.prototype = $desc;
7533 function _EventSink() { 7301 function _EventSink() {
7534 } 7302 }
7535 _EventSink.builtin$cls = "_EventSink"; 7303 _EventSink.builtin$cls = "_EventSink";
7536 if (!"name" in _EventSink) 7304 if (!"name" in _EventSink)
7537 _EventSink.name = "_EventSink"; 7305 _EventSink.name = "_EventSink";
7538 $desc = $collectedClasses._EventSink; 7306 $desc = $collectedClasses._EventSink;
7539 if ($desc instanceof Array) 7307 if ($desc instanceof Array)
7540 $desc = $desc[1]; 7308 $desc = $desc[1];
7541 _EventSink.prototype = $desc; 7309 _EventSink.prototype = $desc;
7542 function _BufferingStreamSubscription(_onData, _onError, _onDone, _zone, _stat e, _pending) { 7310 function _BufferingStreamSubscription(_async$_onData, _onError, _onDone, _zone , _state, _cancelFuture, _pending) {
7543 this._onData = _onData; 7311 this._async$_onData = _async$_onData;
7544 this._onError = _onError; 7312 this._onError = _onError;
7545 this._onDone = _onDone; 7313 this._onDone = _onDone;
7546 this._zone = _zone; 7314 this._zone = _zone;
7547 this._state = _state; 7315 this._state = _state;
7316 this._cancelFuture = _cancelFuture;
7548 this._pending = _pending; 7317 this._pending = _pending;
7549 } 7318 }
7550 _BufferingStreamSubscription.builtin$cls = "_BufferingStreamSubscription"; 7319 _BufferingStreamSubscription.builtin$cls = "_BufferingStreamSubscription";
7551 if (!"name" in _BufferingStreamSubscription) 7320 if (!"name" in _BufferingStreamSubscription)
7552 _BufferingStreamSubscription.name = "_BufferingStreamSubscription"; 7321 _BufferingStreamSubscription.name = "_BufferingStreamSubscription";
7553 $desc = $collectedClasses._BufferingStreamSubscription; 7322 $desc = $collectedClasses._BufferingStreamSubscription;
7554 if ($desc instanceof Array) 7323 if ($desc instanceof Array)
7555 $desc = $desc[1]; 7324 $desc = $desc[1];
7556 _BufferingStreamSubscription.prototype = $desc; 7325 _BufferingStreamSubscription.prototype = $desc;
7557 _BufferingStreamSubscription.prototype.get$_zone = function() { 7326 _BufferingStreamSubscription.prototype.get$_zone = function() {
7558 return this._zone; 7327 return this._zone;
7559 }; 7328 };
7329 function _BufferingStreamSubscription__sendDone_sendDone(this_0) {
7330 this.this_0 = this_0;
7331 }
7332 _BufferingStreamSubscription__sendDone_sendDone.builtin$cls = "_BufferingStrea mSubscription__sendDone_sendDone";
7333 if (!"name" in _BufferingStreamSubscription__sendDone_sendDone)
7334 _BufferingStreamSubscription__sendDone_sendDone.name = "_BufferingStreamSubs cription__sendDone_sendDone";
7335 $desc = $collectedClasses._BufferingStreamSubscription__sendDone_sendDone;
7336 if ($desc instanceof Array)
7337 $desc = $desc[1];
7338 _BufferingStreamSubscription__sendDone_sendDone.prototype = $desc;
7560 function _StreamImpl() { 7339 function _StreamImpl() {
7561 } 7340 }
7562 _StreamImpl.builtin$cls = "_StreamImpl"; 7341 _StreamImpl.builtin$cls = "_StreamImpl";
7563 if (!"name" in _StreamImpl) 7342 if (!"name" in _StreamImpl)
7564 _StreamImpl.name = "_StreamImpl"; 7343 _StreamImpl.name = "_StreamImpl";
7565 $desc = $collectedClasses._StreamImpl; 7344 $desc = $collectedClasses._StreamImpl;
7566 if ($desc instanceof Array) 7345 if ($desc instanceof Array)
7567 $desc = $desc[1]; 7346 $desc = $desc[1];
7568 _StreamImpl.prototype = $desc; 7347 _StreamImpl.prototype = $desc;
7569 function _DelayedEvent(next) { 7348 function _DelayedEvent(next) {
(...skipping 16 matching lines...) Expand all
7586 this.value = value; 7365 this.value = value;
7587 this.next = next; 7366 this.next = next;
7588 } 7367 }
7589 _DelayedData.builtin$cls = "_DelayedData"; 7368 _DelayedData.builtin$cls = "_DelayedData";
7590 if (!"name" in _DelayedData) 7369 if (!"name" in _DelayedData)
7591 _DelayedData.name = "_DelayedData"; 7370 _DelayedData.name = "_DelayedData";
7592 $desc = $collectedClasses._DelayedData; 7371 $desc = $collectedClasses._DelayedData;
7593 if ($desc instanceof Array) 7372 if ($desc instanceof Array)
7594 $desc = $desc[1]; 7373 $desc = $desc[1];
7595 _DelayedData.prototype = $desc; 7374 _DelayedData.prototype = $desc;
7596 function _DelayedError(error, stackTrace, next) { 7375 function _DelayedDone() {
7597 this.error = error;
7598 this.stackTrace = stackTrace;
7599 this.next = next;
7600 } 7376 }
7601 _DelayedError.builtin$cls = "_DelayedError"; 7377 _DelayedDone.builtin$cls = "_DelayedDone";
7602 if (!"name" in _DelayedError) 7378 if (!"name" in _DelayedDone)
7603 _DelayedError.name = "_DelayedError"; 7379 _DelayedDone.name = "_DelayedDone";
7604 $desc = $collectedClasses._DelayedError; 7380 $desc = $collectedClasses._DelayedDone;
7605 if ($desc instanceof Array) 7381 if ($desc instanceof Array)
7606 $desc = $desc[1]; 7382 $desc = $desc[1];
7607 _DelayedError.prototype = $desc; 7383 _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() { 7384 function _PendingEvents() {
7615 } 7385 }
7616 _PendingEvents.builtin$cls = "_PendingEvents"; 7386 _PendingEvents.builtin$cls = "_PendingEvents";
7617 if (!"name" in _PendingEvents) 7387 if (!"name" in _PendingEvents)
7618 _PendingEvents.name = "_PendingEvents"; 7388 _PendingEvents.name = "_PendingEvents";
7619 $desc = $collectedClasses._PendingEvents; 7389 $desc = $collectedClasses._PendingEvents;
7620 if ($desc instanceof Array) 7390 if ($desc instanceof Array)
7621 $desc = $desc[1]; 7391 $desc = $desc[1];
7622 _PendingEvents.prototype = $desc; 7392 _PendingEvents.prototype = $desc;
7623 function _PendingEvents_schedule_closure(this_0, dispatch_1) { 7393 function _PendingEvents_schedule_closure(this_0, dispatch_1) {
(...skipping 12 matching lines...) Expand all
7636 this.lastPendingEvent = lastPendingEvent; 7406 this.lastPendingEvent = lastPendingEvent;
7637 this._state = _state; 7407 this._state = _state;
7638 } 7408 }
7639 _StreamImplEvents.builtin$cls = "_StreamImplEvents"; 7409 _StreamImplEvents.builtin$cls = "_StreamImplEvents";
7640 if (!"name" in _StreamImplEvents) 7410 if (!"name" in _StreamImplEvents)
7641 _StreamImplEvents.name = "_StreamImplEvents"; 7411 _StreamImplEvents.name = "_StreamImplEvents";
7642 $desc = $collectedClasses._StreamImplEvents; 7412 $desc = $collectedClasses._StreamImplEvents;
7643 if ($desc instanceof Array) 7413 if ($desc instanceof Array)
7644 $desc = $desc[1]; 7414 $desc = $desc[1];
7645 _StreamImplEvents.prototype = $desc; 7415 _StreamImplEvents.prototype = $desc;
7646 function _cancelAndError_closure(subscription_0, future_1) { 7416 function _cancelAndError_closure(future_0, error_1, stackTrace_2) {
7647 this.subscription_0 = subscription_0; 7417 this.future_0 = future_0;
7648 this.future_1 = future_1; 7418 this.error_1 = error_1;
7419 this.stackTrace_2 = stackTrace_2;
7649 } 7420 }
7650 _cancelAndError_closure.builtin$cls = "_cancelAndError_closure"; 7421 _cancelAndError_closure.builtin$cls = "_cancelAndError_closure";
7651 if (!"name" in _cancelAndError_closure) 7422 if (!"name" in _cancelAndError_closure)
7652 _cancelAndError_closure.name = "_cancelAndError_closure"; 7423 _cancelAndError_closure.name = "_cancelAndError_closure";
7653 $desc = $collectedClasses._cancelAndError_closure; 7424 $desc = $collectedClasses._cancelAndError_closure;
7654 if ($desc instanceof Array) 7425 if ($desc instanceof Array)
7655 $desc = $desc[1]; 7426 $desc = $desc[1];
7656 _cancelAndError_closure.prototype = $desc; 7427 _cancelAndError_closure.prototype = $desc;
7428 function _cancelAndErrorClosure_closure(subscription_0, future_1) {
7429 this.subscription_0 = subscription_0;
7430 this.future_1 = future_1;
7431 }
7432 _cancelAndErrorClosure_closure.builtin$cls = "_cancelAndErrorClosure_closure";
7433 if (!"name" in _cancelAndErrorClosure_closure)
7434 _cancelAndErrorClosure_closure.name = "_cancelAndErrorClosure_closure";
7435 $desc = $collectedClasses._cancelAndErrorClosure_closure;
7436 if ($desc instanceof Array)
7437 $desc = $desc[1];
7438 _cancelAndErrorClosure_closure.prototype = $desc;
7657 function _BaseZone() { 7439 function _BaseZone() {
7658 } 7440 }
7659 _BaseZone.builtin$cls = "_BaseZone"; 7441 _BaseZone.builtin$cls = "_BaseZone";
7660 if (!"name" in _BaseZone) 7442 if (!"name" in _BaseZone)
7661 _BaseZone.name = "_BaseZone"; 7443 _BaseZone.name = "_BaseZone";
7662 $desc = $collectedClasses._BaseZone; 7444 $desc = $collectedClasses._BaseZone;
7663 if ($desc instanceof Array) 7445 if ($desc instanceof Array)
7664 $desc = $desc[1]; 7446 $desc = $desc[1];
7665 _BaseZone.prototype = $desc; 7447 _BaseZone.prototype = $desc;
7666 function _BaseZone_bindCallback_closure(this_0, registered_1) { 7448 function _BaseZone_bindCallback_closure(this_0, registered_1) {
(...skipping 11 matching lines...) Expand all
7678 this.this_2 = this_2; 7460 this.this_2 = this_2;
7679 this.registered_3 = registered_3; 7461 this.registered_3 = registered_3;
7680 } 7462 }
7681 _BaseZone_bindCallback_closure0.builtin$cls = "_BaseZone_bindCallback_closure0 "; 7463 _BaseZone_bindCallback_closure0.builtin$cls = "_BaseZone_bindCallback_closure0 ";
7682 if (!"name" in _BaseZone_bindCallback_closure0) 7464 if (!"name" in _BaseZone_bindCallback_closure0)
7683 _BaseZone_bindCallback_closure0.name = "_BaseZone_bindCallback_closure0"; 7465 _BaseZone_bindCallback_closure0.name = "_BaseZone_bindCallback_closure0";
7684 $desc = $collectedClasses._BaseZone_bindCallback_closure0; 7466 $desc = $collectedClasses._BaseZone_bindCallback_closure0;
7685 if ($desc instanceof Array) 7467 if ($desc instanceof Array)
7686 $desc = $desc[1]; 7468 $desc = $desc[1];
7687 _BaseZone_bindCallback_closure0.prototype = $desc; 7469 _BaseZone_bindCallback_closure0.prototype = $desc;
7470 function _BaseZone_bindUnaryCallback_closure(this_0, registered_1) {
7471 this.this_0 = this_0;
7472 this.registered_1 = registered_1;
7473 }
7474 _BaseZone_bindUnaryCallback_closure.builtin$cls = "_BaseZone_bindUnaryCallback _closure";
7475 if (!"name" in _BaseZone_bindUnaryCallback_closure)
7476 _BaseZone_bindUnaryCallback_closure.name = "_BaseZone_bindUnaryCallback_clos ure";
7477 $desc = $collectedClasses._BaseZone_bindUnaryCallback_closure;
7478 if ($desc instanceof Array)
7479 $desc = $desc[1];
7480 _BaseZone_bindUnaryCallback_closure.prototype = $desc;
7481 function _BaseZone_bindUnaryCallback_closure0(this_2, registered_3) {
7482 this.this_2 = this_2;
7483 this.registered_3 = registered_3;
7484 }
7485 _BaseZone_bindUnaryCallback_closure0.builtin$cls = "_BaseZone_bindUnaryCallbac k_closure0";
7486 if (!"name" in _BaseZone_bindUnaryCallback_closure0)
7487 _BaseZone_bindUnaryCallback_closure0.name = "_BaseZone_bindUnaryCallback_clo sure0";
7488 $desc = $collectedClasses._BaseZone_bindUnaryCallback_closure0;
7489 if ($desc instanceof Array)
7490 $desc = $desc[1];
7491 _BaseZone_bindUnaryCallback_closure0.prototype = $desc;
7688 function _rootHandleUncaughtError_closure(error_0, stackTrace_1) { 7492 function _rootHandleUncaughtError_closure(error_0, stackTrace_1) {
7689 this.error_0 = error_0; 7493 this.error_0 = error_0;
7690 this.stackTrace_1 = stackTrace_1; 7494 this.stackTrace_1 = stackTrace_1;
7691 } 7495 }
7692 _rootHandleUncaughtError_closure.builtin$cls = "_rootHandleUncaughtError_closu re"; 7496 _rootHandleUncaughtError_closure.builtin$cls = "_rootHandleUncaughtError_closu re";
7693 if (!"name" in _rootHandleUncaughtError_closure) 7497 if (!"name" in _rootHandleUncaughtError_closure)
7694 _rootHandleUncaughtError_closure.name = "_rootHandleUncaughtError_closure"; 7498 _rootHandleUncaughtError_closure.name = "_rootHandleUncaughtError_closure";
7695 $desc = $collectedClasses._rootHandleUncaughtError_closure; 7499 $desc = $collectedClasses._rootHandleUncaughtError_closure;
7696 if ($desc instanceof Array) 7500 if ($desc instanceof Array)
7697 $desc = $desc[1]; 7501 $desc = $desc[1];
7698 _rootHandleUncaughtError_closure.prototype = $desc; 7502 _rootHandleUncaughtError_closure.prototype = $desc;
7503 function _rootHandleUncaughtError__closure(error_2, stackTrace_3) {
7504 this.error_2 = error_2;
7505 this.stackTrace_3 = stackTrace_3;
7506 }
7507 _rootHandleUncaughtError__closure.builtin$cls = "_rootHandleUncaughtError__clo sure";
7508 if (!"name" in _rootHandleUncaughtError__closure)
7509 _rootHandleUncaughtError__closure.name = "_rootHandleUncaughtError__closure" ;
7510 $desc = $collectedClasses._rootHandleUncaughtError__closure;
7511 if ($desc instanceof Array)
7512 $desc = $desc[1];
7513 _rootHandleUncaughtError__closure.prototype = $desc;
7699 function _RootZone() { 7514 function _RootZone() {
7700 } 7515 }
7701 _RootZone.builtin$cls = "_RootZone"; 7516 _RootZone.builtin$cls = "_RootZone";
7702 if (!"name" in _RootZone) 7517 if (!"name" in _RootZone)
7703 _RootZone.name = "_RootZone"; 7518 _RootZone.name = "_RootZone";
7704 $desc = $collectedClasses._RootZone; 7519 $desc = $collectedClasses._RootZone;
7705 if ($desc instanceof Array) 7520 if ($desc instanceof Array)
7706 $desc = $desc[1]; 7521 $desc = $desc[1];
7707 _RootZone.prototype = $desc; 7522 _RootZone.prototype = $desc;
7708 function _HashMap(_collection$_length, _strings, _nums, _rest, _keys) { 7523 function _HashMap(_collection$_length, _strings, _nums, _rest, _keys) {
(...skipping 435 matching lines...) Expand 10 before | Expand all | Expand 10 after
8144 }; 7959 };
8145 function Symbol() { 7960 function Symbol() {
8146 } 7961 }
8147 Symbol.builtin$cls = "Symbol"; 7962 Symbol.builtin$cls = "Symbol";
8148 if (!"name" in Symbol) 7963 if (!"name" in Symbol)
8149 Symbol.name = "Symbol"; 7964 Symbol.name = "Symbol";
8150 $desc = $collectedClasses.Symbol; 7965 $desc = $collectedClasses.Symbol;
8151 if ($desc instanceof Array) 7966 if ($desc instanceof Array)
8152 $desc = $desc[1]; 7967 $desc = $desc[1];
8153 Symbol.prototype = $desc; 7968 Symbol.prototype = $desc;
8154 function Geolocation_getCurrentPosition_closure(this_0, completer_1) { 7969 function _EventStream() {
8155 this.this_0 = this_0;
8156 this.completer_1 = completer_1;
8157 } 7970 }
8158 Geolocation_getCurrentPosition_closure.builtin$cls = "Geolocation_getCurrentPo sition_closure"; 7971 _EventStream.builtin$cls = "_EventStream";
8159 if (!"name" in Geolocation_getCurrentPosition_closure) 7972 if (!"name" in _EventStream)
8160 Geolocation_getCurrentPosition_closure.name = "Geolocation_getCurrentPositio n_closure"; 7973 _EventStream.name = "_EventStream";
8161 $desc = $collectedClasses.Geolocation_getCurrentPosition_closure; 7974 $desc = $collectedClasses._EventStream;
8162 if ($desc instanceof Array) 7975 if ($desc instanceof Array)
8163 $desc = $desc[1]; 7976 $desc = $desc[1];
8164 Geolocation_getCurrentPosition_closure.prototype = $desc; 7977 _EventStream.prototype = $desc;
8165 function Geolocation_getCurrentPosition_closure0(completer_2) { 7978 function _ElementEventStreamImpl(_target, _eventType, _useCapture) {
8166 this.completer_2 = completer_2; 7979 this._target = _target;
7980 this._eventType = _eventType;
7981 this._useCapture = _useCapture;
8167 } 7982 }
8168 Geolocation_getCurrentPosition_closure0.builtin$cls = "Geolocation_getCurrentP osition_closure0"; 7983 _ElementEventStreamImpl.builtin$cls = "_ElementEventStreamImpl";
8169 if (!"name" in Geolocation_getCurrentPosition_closure0) 7984 if (!"name" in _ElementEventStreamImpl)
8170 Geolocation_getCurrentPosition_closure0.name = "Geolocation_getCurrentPositi on_closure0"; 7985 _ElementEventStreamImpl.name = "_ElementEventStreamImpl";
8171 $desc = $collectedClasses.Geolocation_getCurrentPosition_closure0; 7986 $desc = $collectedClasses._ElementEventStreamImpl;
8172 if ($desc instanceof Array) 7987 if ($desc instanceof Array)
8173 $desc = $desc[1]; 7988 $desc = $desc[1];
8174 Geolocation_getCurrentPosition_closure0.prototype = $desc; 7989 _ElementEventStreamImpl.prototype = $desc;
8175 function Geolocation_watchPosition_closure0(box_0, this_1, options_2) { 7990 function _EventStreamSubscription(_pauseCount, _target, _eventType, _onData, _ useCapture) {
8176 this.box_0 = box_0; 7991 this._pauseCount = _pauseCount;
8177 this.this_1 = this_1; 7992 this._target = _target;
8178 this.options_2 = options_2; 7993 this._eventType = _eventType;
7994 this._onData = _onData;
7995 this._useCapture = _useCapture;
8179 } 7996 }
8180 Geolocation_watchPosition_closure0.builtin$cls = "Geolocation_watchPosition_cl osure0"; 7997 _EventStreamSubscription.builtin$cls = "_EventStreamSubscription";
8181 if (!"name" in Geolocation_watchPosition_closure0) 7998 if (!"name" in _EventStreamSubscription)
8182 Geolocation_watchPosition_closure0.name = "Geolocation_watchPosition_closure 0"; 7999 _EventStreamSubscription.name = "_EventStreamSubscription";
8183 $desc = $collectedClasses.Geolocation_watchPosition_closure0; 8000 $desc = $collectedClasses._EventStreamSubscription;
8184 if ($desc instanceof Array) 8001 if ($desc instanceof Array)
8185 $desc = $desc[1]; 8002 $desc = $desc[1];
8186 Geolocation_watchPosition_closure0.prototype = $desc; 8003 _EventStreamSubscription.prototype = $desc;
8187 function Geolocation_watchPosition__closure(box_0, this_3) { 8004 function EventStreamProvider(_eventType) {
8188 this.box_0 = box_0; 8005 this._eventType = _eventType;
8189 this.this_3 = this_3;
8190 } 8006 }
8191 Geolocation_watchPosition__closure.builtin$cls = "Geolocation_watchPosition__c losure"; 8007 EventStreamProvider.builtin$cls = "EventStreamProvider";
8192 if (!"name" in Geolocation_watchPosition__closure) 8008 if (!"name" in EventStreamProvider)
8193 Geolocation_watchPosition__closure.name = "Geolocation_watchPosition__closur e"; 8009 EventStreamProvider.name = "EventStreamProvider";
8194 $desc = $collectedClasses.Geolocation_watchPosition__closure; 8010 $desc = $collectedClasses.EventStreamProvider;
8195 if ($desc instanceof Array) 8011 if ($desc instanceof Array)
8196 $desc = $desc[1]; 8012 $desc = $desc[1];
8197 Geolocation_watchPosition__closure.prototype = $desc; 8013 EventStreamProvider.prototype = $desc;
8198 function Geolocation_watchPosition__closure0(box_0) { 8014 function _DOMWindowCrossFrame(_window) {
8199 this.box_0 = box_0; 8015 this._window = _window;
8200 } 8016 }
8201 Geolocation_watchPosition__closure0.builtin$cls = "Geolocation_watchPosition__ closure0"; 8017 _DOMWindowCrossFrame.builtin$cls = "_DOMWindowCrossFrame";
8202 if (!"name" in Geolocation_watchPosition__closure0) 8018 if (!"name" in _DOMWindowCrossFrame)
8203 Geolocation_watchPosition__closure0.name = "Geolocation_watchPosition__closu re0"; 8019 _DOMWindowCrossFrame.name = "_DOMWindowCrossFrame";
8204 $desc = $collectedClasses.Geolocation_watchPosition__closure0; 8020 $desc = $collectedClasses._DOMWindowCrossFrame;
8205 if ($desc instanceof Array) 8021 if ($desc instanceof Array)
8206 $desc = $desc[1]; 8022 $desc = $desc[1];
8207 Geolocation_watchPosition__closure0.prototype = $desc; 8023 _DOMWindowCrossFrame.prototype = $desc;
8208 function Geolocation_watchPosition_closure(box_0, this_4) {
8209 this.box_0 = box_0;
8210 this.this_4 = this_4;
8211 }
8212 Geolocation_watchPosition_closure.builtin$cls = "Geolocation_watchPosition_clo sure";
8213 if (!"name" in Geolocation_watchPosition_closure)
8214 Geolocation_watchPosition_closure.name = "Geolocation_watchPosition_closure" ;
8215 $desc = $collectedClasses.Geolocation_watchPosition_closure;
8216 if ($desc instanceof Array)
8217 $desc = $desc[1];
8218 Geolocation_watchPosition_closure.prototype = $desc;
8219 function _GeopositionWrapper(_ptr) {
8220 this._ptr = _ptr;
8221 }
8222 _GeopositionWrapper.builtin$cls = "_GeopositionWrapper";
8223 if (!"name" in _GeopositionWrapper)
8224 _GeopositionWrapper.name = "_GeopositionWrapper";
8225 $desc = $collectedClasses._GeopositionWrapper;
8226 if ($desc instanceof Array)
8227 $desc = $desc[1];
8228 _GeopositionWrapper.prototype = $desc;
8229 function ReceivePort() { 8024 function ReceivePort() {
8230 } 8025 }
8231 ReceivePort.builtin$cls = "ReceivePort"; 8026 ReceivePort.builtin$cls = "ReceivePort";
8232 if (!"name" in ReceivePort) 8027 if (!"name" in ReceivePort)
8233 ReceivePort.name = "ReceivePort"; 8028 ReceivePort.name = "ReceivePort";
8234 $desc = $collectedClasses.ReceivePort; 8029 $desc = $collectedClasses.ReceivePort;
8235 if ($desc instanceof Array) 8030 if ($desc instanceof Array)
8236 $desc = $desc[1]; 8031 $desc = $desc[1];
8237 ReceivePort.prototype = $desc; 8032 ReceivePort.prototype = $desc;
8033 function _Random() {
8034 }
8035 _Random.builtin$cls = "_Random";
8036 if (!"name" in _Random)
8037 _Random.name = "_Random";
8038 $desc = $collectedClasses._Random;
8039 if ($desc instanceof Array)
8040 $desc = $desc[1];
8041 _Random.prototype = $desc;
8238 function TypedData_ListMixin() { 8042 function TypedData_ListMixin() {
8239 } 8043 }
8240 TypedData_ListMixin.builtin$cls = "TypedData_ListMixin"; 8044 TypedData_ListMixin.builtin$cls = "TypedData_ListMixin";
8241 if (!"name" in TypedData_ListMixin) 8045 if (!"name" in TypedData_ListMixin)
8242 TypedData_ListMixin.name = "TypedData_ListMixin"; 8046 TypedData_ListMixin.name = "TypedData_ListMixin";
8243 $desc = $collectedClasses.TypedData_ListMixin; 8047 $desc = $collectedClasses.TypedData_ListMixin;
8244 if ($desc instanceof Array) 8048 if ($desc instanceof Array)
8245 $desc = $desc[1]; 8049 $desc = $desc[1];
8246 TypedData_ListMixin.prototype = $desc; 8050 TypedData_ListMixin.prototype = $desc;
8247 function TypedData_ListMixin_FixedLengthListMixin() { 8051 function TypedData_ListMixin_FixedLengthListMixin() {
8248 } 8052 }
8249 TypedData_ListMixin_FixedLengthListMixin.builtin$cls = "TypedData_ListMixin_Fi xedLengthListMixin"; 8053 TypedData_ListMixin_FixedLengthListMixin.builtin$cls = "TypedData_ListMixin_Fi xedLengthListMixin";
8250 if (!"name" in TypedData_ListMixin_FixedLengthListMixin) 8054 if (!"name" in TypedData_ListMixin_FixedLengthListMixin)
8251 TypedData_ListMixin_FixedLengthListMixin.name = "TypedData_ListMixin_FixedLe ngthListMixin"; 8055 TypedData_ListMixin_FixedLengthListMixin.name = "TypedData_ListMixin_FixedLe ngthListMixin";
8252 $desc = $collectedClasses.TypedData_ListMixin_FixedLengthListMixin; 8056 $desc = $collectedClasses.TypedData_ListMixin_FixedLengthListMixin;
8253 if ($desc instanceof Array) 8057 if ($desc instanceof Array)
8254 $desc = $desc[1]; 8058 $desc = $desc[1];
8255 TypedData_ListMixin_FixedLengthListMixin.prototype = $desc; 8059 TypedData_ListMixin_FixedLengthListMixin.prototype = $desc;
8256 function main_closure(box_0) { 8060 function PirateName(_firstName, _appellation) {
8257 this.box_0 = box_0; 8061 this._firstName = _firstName;
8062 this._appellation = _appellation;
8258 } 8063 }
8259 main_closure.builtin$cls = "main_closure"; 8064 PirateName.builtin$cls = "PirateName";
8260 if (!"name" in main_closure) 8065 if (!"name" in PirateName)
8261 main_closure.name = "main_closure"; 8066 PirateName.name = "PirateName";
8262 $desc = $collectedClasses.main_closure; 8067 $desc = $collectedClasses.PirateName;
8263 if ($desc instanceof Array) 8068 if ($desc instanceof Array)
8264 $desc = $desc[1]; 8069 $desc = $desc[1];
8265 main_closure.prototype = $desc; 8070 PirateName.prototype = $desc;
8266 function main_closure0() {
8267 }
8268 main_closure0.builtin$cls = "main_closure0";
8269 if (!"name" in main_closure0)
8270 main_closure0.name = "main_closure0";
8271 $desc = $collectedClasses.main_closure0;
8272 if ($desc instanceof Array)
8273 $desc = $desc[1];
8274 main_closure0.prototype = $desc;
8275 function main_closure1(box_0) {
8276 this.box_0 = box_0;
8277 }
8278 main_closure1.builtin$cls = "main_closure1";
8279 if (!"name" in main_closure1)
8280 main_closure1.name = "main_closure1";
8281 $desc = $collectedClasses.main_closure1;
8282 if ($desc instanceof Array)
8283 $desc = $desc[1];
8284 main_closure1.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() { 8071 function HtmlElement() {
8295 } 8072 }
8296 HtmlElement.builtin$cls = "HtmlElement"; 8073 HtmlElement.builtin$cls = "HtmlElement";
8297 if (!"name" in HtmlElement) 8074 if (!"name" in HtmlElement)
8298 HtmlElement.name = "HtmlElement"; 8075 HtmlElement.name = "HtmlElement";
8299 $desc = $collectedClasses.HtmlElement; 8076 $desc = $collectedClasses.HtmlElement;
8300 if ($desc instanceof Array) 8077 if ($desc instanceof Array)
8301 $desc = $desc[1]; 8078 $desc = $desc[1];
8302 HtmlElement.prototype = $desc; 8079 HtmlElement.prototype = $desc;
8303 function AnchorElement() { 8080 function AnchorElement() {
8304 } 8081 }
8305 AnchorElement.builtin$cls = "AnchorElement"; 8082 AnchorElement.builtin$cls = "AnchorElement";
8306 if (!"name" in AnchorElement) 8083 if (!"name" in AnchorElement)
8307 AnchorElement.name = "AnchorElement"; 8084 AnchorElement.name = "AnchorElement";
8308 $desc = $collectedClasses.AnchorElement; 8085 $desc = $collectedClasses.AnchorElement;
8309 if ($desc instanceof Array) 8086 if ($desc instanceof Array)
8310 $desc = $desc[1]; 8087 $desc = $desc[1];
8311 AnchorElement.prototype = $desc; 8088 AnchorElement.prototype = $desc;
8089 AnchorElement.prototype.get$target = function(receiver) {
8090 return receiver.target;
8091 };
8312 function AnimationEvent() { 8092 function AnimationEvent() {
8313 } 8093 }
8314 AnimationEvent.builtin$cls = "AnimationEvent"; 8094 AnimationEvent.builtin$cls = "AnimationEvent";
8315 if (!"name" in AnimationEvent) 8095 if (!"name" in AnimationEvent)
8316 AnimationEvent.name = "AnimationEvent"; 8096 AnimationEvent.name = "AnimationEvent";
8317 $desc = $collectedClasses.AnimationEvent; 8097 $desc = $collectedClasses.AnimationEvent;
8318 if ($desc instanceof Array) 8098 if ($desc instanceof Array)
8319 $desc = $desc[1]; 8099 $desc = $desc[1];
8320 AnimationEvent.prototype = $desc; 8100 AnimationEvent.prototype = $desc;
8321 function AreaElement() { 8101 function AreaElement() {
8322 } 8102 }
8323 AreaElement.builtin$cls = "AreaElement"; 8103 AreaElement.builtin$cls = "AreaElement";
8324 if (!"name" in AreaElement) 8104 if (!"name" in AreaElement)
8325 AreaElement.name = "AreaElement"; 8105 AreaElement.name = "AreaElement";
8326 $desc = $collectedClasses.AreaElement; 8106 $desc = $collectedClasses.AreaElement;
8327 if ($desc instanceof Array) 8107 if ($desc instanceof Array)
8328 $desc = $desc[1]; 8108 $desc = $desc[1];
8329 AreaElement.prototype = $desc; 8109 AreaElement.prototype = $desc;
8330 AreaElement.prototype.get$coords = function(receiver) { 8110 AreaElement.prototype.get$target = function(receiver) {
8331 return receiver.coords; 8111 return receiver.target;
8332 }; 8112 };
8333 function AudioElement() { 8113 function AudioElement() {
8334 } 8114 }
8335 AudioElement.builtin$cls = "AudioElement"; 8115 AudioElement.builtin$cls = "AudioElement";
8336 if (!"name" in AudioElement) 8116 if (!"name" in AudioElement)
8337 AudioElement.name = "AudioElement"; 8117 AudioElement.name = "AudioElement";
8338 $desc = $collectedClasses.AudioElement; 8118 $desc = $collectedClasses.AudioElement;
8339 if ($desc instanceof Array) 8119 if ($desc instanceof Array)
8340 $desc = $desc[1]; 8120 $desc = $desc[1];
8341 AudioElement.prototype = $desc; 8121 AudioElement.prototype = $desc;
(...skipping 17 matching lines...) Expand all
8359 BRElement.prototype = $desc; 8139 BRElement.prototype = $desc;
8360 function BaseElement() { 8140 function BaseElement() {
8361 } 8141 }
8362 BaseElement.builtin$cls = "BaseElement"; 8142 BaseElement.builtin$cls = "BaseElement";
8363 if (!"name" in BaseElement) 8143 if (!"name" in BaseElement)
8364 BaseElement.name = "BaseElement"; 8144 BaseElement.name = "BaseElement";
8365 $desc = $collectedClasses.BaseElement; 8145 $desc = $collectedClasses.BaseElement;
8366 if ($desc instanceof Array) 8146 if ($desc instanceof Array)
8367 $desc = $desc[1]; 8147 $desc = $desc[1];
8368 BaseElement.prototype = $desc; 8148 BaseElement.prototype = $desc;
8149 BaseElement.prototype.get$target = function(receiver) {
8150 return receiver.target;
8151 };
8369 function BeforeLoadEvent() { 8152 function BeforeLoadEvent() {
8370 } 8153 }
8371 BeforeLoadEvent.builtin$cls = "BeforeLoadEvent"; 8154 BeforeLoadEvent.builtin$cls = "BeforeLoadEvent";
8372 if (!"name" in BeforeLoadEvent) 8155 if (!"name" in BeforeLoadEvent)
8373 BeforeLoadEvent.name = "BeforeLoadEvent"; 8156 BeforeLoadEvent.name = "BeforeLoadEvent";
8374 $desc = $collectedClasses.BeforeLoadEvent; 8157 $desc = $collectedClasses.BeforeLoadEvent;
8375 if ($desc instanceof Array) 8158 if ($desc instanceof Array)
8376 $desc = $desc[1]; 8159 $desc = $desc[1];
8377 BeforeLoadEvent.prototype = $desc; 8160 BeforeLoadEvent.prototype = $desc;
8161 function BeforeUnloadEvent() {
8162 }
8163 BeforeUnloadEvent.builtin$cls = "BeforeUnloadEvent";
8164 if (!"name" in BeforeUnloadEvent)
8165 BeforeUnloadEvent.name = "BeforeUnloadEvent";
8166 $desc = $collectedClasses.BeforeUnloadEvent;
8167 if ($desc instanceof Array)
8168 $desc = $desc[1];
8169 BeforeUnloadEvent.prototype = $desc;
8378 function BodyElement() { 8170 function BodyElement() {
8379 } 8171 }
8380 BodyElement.builtin$cls = "BodyElement"; 8172 BodyElement.builtin$cls = "BodyElement";
8381 if (!"name" in BodyElement) 8173 if (!"name" in BodyElement)
8382 BodyElement.name = "BodyElement"; 8174 BodyElement.name = "BodyElement";
8383 $desc = $collectedClasses.BodyElement; 8175 $desc = $collectedClasses.BodyElement;
8384 if ($desc instanceof Array) 8176 if ($desc instanceof Array)
8385 $desc = $desc[1]; 8177 $desc = $desc[1];
8386 BodyElement.prototype = $desc; 8178 BodyElement.prototype = $desc;
8387 function ButtonElement() { 8179 function ButtonElement() {
8388 } 8180 }
8389 ButtonElement.builtin$cls = "ButtonElement"; 8181 ButtonElement.builtin$cls = "ButtonElement";
8390 if (!"name" in ButtonElement) 8182 if (!"name" in ButtonElement)
8391 ButtonElement.name = "ButtonElement"; 8183 ButtonElement.name = "ButtonElement";
8392 $desc = $collectedClasses.ButtonElement; 8184 $desc = $collectedClasses.ButtonElement;
8393 if ($desc instanceof Array) 8185 if ($desc instanceof Array)
8394 $desc = $desc[1]; 8186 $desc = $desc[1];
8395 ButtonElement.prototype = $desc; 8187 ButtonElement.prototype = $desc;
8188 ButtonElement.prototype.set$disabled = function(receiver, v) {
8189 return receiver.disabled = v;
8190 };
8191 function CDataSection() {
8192 }
8193 CDataSection.builtin$cls = "CDataSection";
8194 if (!"name" in CDataSection)
8195 CDataSection.name = "CDataSection";
8196 $desc = $collectedClasses.CDataSection;
8197 if ($desc instanceof Array)
8198 $desc = $desc[1];
8199 CDataSection.prototype = $desc;
8396 function CanvasElement() { 8200 function CanvasElement() {
8397 } 8201 }
8398 CanvasElement.builtin$cls = "CanvasElement"; 8202 CanvasElement.builtin$cls = "CanvasElement";
8399 if (!"name" in CanvasElement) 8203 if (!"name" in CanvasElement)
8400 CanvasElement.name = "CanvasElement"; 8204 CanvasElement.name = "CanvasElement";
8401 $desc = $collectedClasses.CanvasElement; 8205 $desc = $collectedClasses.CanvasElement;
8402 if ($desc instanceof Array) 8206 if ($desc instanceof Array)
8403 $desc = $desc[1]; 8207 $desc = $desc[1];
8404 CanvasElement.prototype = $desc; 8208 CanvasElement.prototype = $desc;
8209 function CharacterData() {
8210 }
8211 CharacterData.builtin$cls = "CharacterData";
8212 if (!"name" in CharacterData)
8213 CharacterData.name = "CharacterData";
8214 $desc = $collectedClasses.CharacterData;
8215 if ($desc instanceof Array)
8216 $desc = $desc[1];
8217 CharacterData.prototype = $desc;
8218 CharacterData.prototype.get$length = function(receiver) {
8219 return receiver.length;
8220 };
8405 function CloseEvent() { 8221 function CloseEvent() {
8406 } 8222 }
8407 CloseEvent.builtin$cls = "CloseEvent"; 8223 CloseEvent.builtin$cls = "CloseEvent";
8408 if (!"name" in CloseEvent) 8224 if (!"name" in CloseEvent)
8409 CloseEvent.name = "CloseEvent"; 8225 CloseEvent.name = "CloseEvent";
8410 $desc = $collectedClasses.CloseEvent; 8226 $desc = $collectedClasses.CloseEvent;
8411 if ($desc instanceof Array) 8227 if ($desc instanceof Array)
8412 $desc = $desc[1]; 8228 $desc = $desc[1];
8413 CloseEvent.prototype = $desc; 8229 CloseEvent.prototype = $desc;
8414 CloseEvent.prototype.get$code = function(receiver) { 8230 function Comment() {
8415 return receiver.code; 8231 }
8416 }; 8232 Comment.builtin$cls = "Comment";
8233 if (!"name" in Comment)
8234 Comment.name = "Comment";
8235 $desc = $collectedClasses.Comment;
8236 if ($desc instanceof Array)
8237 $desc = $desc[1];
8238 Comment.prototype = $desc;
8417 function CompositionEvent() { 8239 function CompositionEvent() {
8418 } 8240 }
8419 CompositionEvent.builtin$cls = "CompositionEvent"; 8241 CompositionEvent.builtin$cls = "CompositionEvent";
8420 if (!"name" in CompositionEvent) 8242 if (!"name" in CompositionEvent)
8421 CompositionEvent.name = "CompositionEvent"; 8243 CompositionEvent.name = "CompositionEvent";
8422 $desc = $collectedClasses.CompositionEvent; 8244 $desc = $collectedClasses.CompositionEvent;
8423 if ($desc instanceof Array) 8245 if ($desc instanceof Array)
8424 $desc = $desc[1]; 8246 $desc = $desc[1];
8425 CompositionEvent.prototype = $desc; 8247 CompositionEvent.prototype = $desc;
8426 function ContentElement() { 8248 function ContentElement() {
8427 } 8249 }
8428 ContentElement.builtin$cls = "ContentElement"; 8250 ContentElement.builtin$cls = "ContentElement";
8429 if (!"name" in ContentElement) 8251 if (!"name" in ContentElement)
8430 ContentElement.name = "ContentElement"; 8252 ContentElement.name = "ContentElement";
8431 $desc = $collectedClasses.ContentElement; 8253 $desc = $collectedClasses.ContentElement;
8432 if ($desc instanceof Array) 8254 if ($desc instanceof Array)
8433 $desc = $desc[1]; 8255 $desc = $desc[1];
8434 ContentElement.prototype = $desc; 8256 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() { 8257 function CssFontFaceLoadEvent() {
8451 } 8258 }
8452 CssFontFaceLoadEvent.builtin$cls = "CssFontFaceLoadEvent"; 8259 CssFontFaceLoadEvent.builtin$cls = "CssFontFaceLoadEvent";
8453 if (!"name" in CssFontFaceLoadEvent) 8260 if (!"name" in CssFontFaceLoadEvent)
8454 CssFontFaceLoadEvent.name = "CssFontFaceLoadEvent"; 8261 CssFontFaceLoadEvent.name = "CssFontFaceLoadEvent";
8455 $desc = $collectedClasses.CssFontFaceLoadEvent; 8262 $desc = $collectedClasses.CssFontFaceLoadEvent;
8456 if ($desc instanceof Array) 8263 if ($desc instanceof Array)
8457 $desc = $desc[1]; 8264 $desc = $desc[1];
8458 CssFontFaceLoadEvent.prototype = $desc; 8265 CssFontFaceLoadEvent.prototype = $desc;
8459 CssFontFaceLoadEvent.prototype.get$error = function(receiver) {
8460 return receiver.error;
8461 };
8462 function CustomEvent() { 8266 function CustomEvent() {
8463 } 8267 }
8464 CustomEvent.builtin$cls = "CustomEvent"; 8268 CustomEvent.builtin$cls = "CustomEvent";
8465 if (!"name" in CustomEvent) 8269 if (!"name" in CustomEvent)
8466 CustomEvent.name = "CustomEvent"; 8270 CustomEvent.name = "CustomEvent";
8467 $desc = $collectedClasses.CustomEvent; 8271 $desc = $collectedClasses.CustomEvent;
8468 if ($desc instanceof Array) 8272 if ($desc instanceof Array)
8469 $desc = $desc[1]; 8273 $desc = $desc[1];
8470 CustomEvent.prototype = $desc; 8274 CustomEvent.prototype = $desc;
8471 function DListElement() { 8275 function DListElement() {
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
8533 DivElement.prototype = $desc; 8337 DivElement.prototype = $desc;
8534 function Document() { 8338 function Document() {
8535 } 8339 }
8536 Document.builtin$cls = "Document"; 8340 Document.builtin$cls = "Document";
8537 if (!"name" in Document) 8341 if (!"name" in Document)
8538 Document.name = "Document"; 8342 Document.name = "Document";
8539 $desc = $collectedClasses.Document; 8343 $desc = $collectedClasses.Document;
8540 if ($desc instanceof Array) 8344 if ($desc instanceof Array)
8541 $desc = $desc[1]; 8345 $desc = $desc[1];
8542 Document.prototype = $desc; 8346 Document.prototype = $desc;
8347 function DocumentFragment() {
8348 }
8349 DocumentFragment.builtin$cls = "DocumentFragment";
8350 if (!"name" in DocumentFragment)
8351 DocumentFragment.name = "DocumentFragment";
8352 $desc = $collectedClasses.DocumentFragment;
8353 if ($desc instanceof Array)
8354 $desc = $desc[1];
8355 DocumentFragment.prototype = $desc;
8356 function DocumentType() {
8357 }
8358 DocumentType.builtin$cls = "DocumentType";
8359 if (!"name" in DocumentType)
8360 DocumentType.name = "DocumentType";
8361 $desc = $collectedClasses.DocumentType;
8362 if ($desc instanceof Array)
8363 $desc = $desc[1];
8364 DocumentType.prototype = $desc;
8543 function DomError() { 8365 function DomError() {
8544 } 8366 }
8545 DomError.builtin$cls = "DomError"; 8367 DomError.builtin$cls = "DomError";
8546 if (!"name" in DomError) 8368 if (!"name" in DomError)
8547 DomError.name = "DomError"; 8369 DomError.name = "DomError";
8548 $desc = $collectedClasses.DomError; 8370 $desc = $collectedClasses.DomError;
8549 if ($desc instanceof Array) 8371 if ($desc instanceof Array)
8550 $desc = $desc[1]; 8372 $desc = $desc[1];
8551 DomError.prototype = $desc; 8373 DomError.prototype = $desc;
8552 function DomException() { 8374 function DomException() {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
8608 EventTarget.prototype = $desc; 8430 EventTarget.prototype = $desc;
8609 function FieldSetElement() { 8431 function FieldSetElement() {
8610 } 8432 }
8611 FieldSetElement.builtin$cls = "FieldSetElement"; 8433 FieldSetElement.builtin$cls = "FieldSetElement";
8612 if (!"name" in FieldSetElement) 8434 if (!"name" in FieldSetElement)
8613 FieldSetElement.name = "FieldSetElement"; 8435 FieldSetElement.name = "FieldSetElement";
8614 $desc = $collectedClasses.FieldSetElement; 8436 $desc = $collectedClasses.FieldSetElement;
8615 if ($desc instanceof Array) 8437 if ($desc instanceof Array)
8616 $desc = $desc[1]; 8438 $desc = $desc[1];
8617 FieldSetElement.prototype = $desc; 8439 FieldSetElement.prototype = $desc;
8440 FieldSetElement.prototype.set$disabled = function(receiver, v) {
8441 return receiver.disabled = v;
8442 };
8618 function FileError() { 8443 function FileError() {
8619 } 8444 }
8620 FileError.builtin$cls = "FileError"; 8445 FileError.builtin$cls = "FileError";
8621 if (!"name" in FileError) 8446 if (!"name" in FileError)
8622 FileError.name = "FileError"; 8447 FileError.name = "FileError";
8623 $desc = $collectedClasses.FileError; 8448 $desc = $collectedClasses.FileError;
8624 if ($desc instanceof Array) 8449 if ($desc instanceof Array)
8625 $desc = $desc[1]; 8450 $desc = $desc[1];
8626 FileError.prototype = $desc; 8451 FileError.prototype = $desc;
8627 FileError.prototype.get$code = function(receiver) {
8628 return receiver.code;
8629 };
8630 function FocusEvent() { 8452 function FocusEvent() {
8631 } 8453 }
8632 FocusEvent.builtin$cls = "FocusEvent"; 8454 FocusEvent.builtin$cls = "FocusEvent";
8633 if (!"name" in FocusEvent) 8455 if (!"name" in FocusEvent)
8634 FocusEvent.name = "FocusEvent"; 8456 FocusEvent.name = "FocusEvent";
8635 $desc = $collectedClasses.FocusEvent; 8457 $desc = $collectedClasses.FocusEvent;
8636 if ($desc instanceof Array) 8458 if ($desc instanceof Array)
8637 $desc = $desc[1]; 8459 $desc = $desc[1];
8638 FocusEvent.prototype = $desc; 8460 FocusEvent.prototype = $desc;
8639 function FormElement() { 8461 function FormElement() {
8640 } 8462 }
8641 FormElement.builtin$cls = "FormElement"; 8463 FormElement.builtin$cls = "FormElement";
8642 if (!"name" in FormElement) 8464 if (!"name" in FormElement)
8643 FormElement.name = "FormElement"; 8465 FormElement.name = "FormElement";
8644 $desc = $collectedClasses.FormElement; 8466 $desc = $collectedClasses.FormElement;
8645 if ($desc instanceof Array) 8467 if ($desc instanceof Array)
8646 $desc = $desc[1]; 8468 $desc = $desc[1];
8647 FormElement.prototype = $desc; 8469 FormElement.prototype = $desc;
8648 FormElement.prototype.get$length = function(receiver) { 8470 FormElement.prototype.get$length = function(receiver) {
8649 return receiver.length; 8471 return receiver.length;
8650 }; 8472 };
8651 function Geolocation() { 8473 FormElement.prototype.get$target = function(receiver) {
8652 } 8474 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 }; 8475 };
8672 function HRElement() { 8476 function HRElement() {
8673 } 8477 }
8674 HRElement.builtin$cls = "HRElement"; 8478 HRElement.builtin$cls = "HRElement";
8675 if (!"name" in HRElement) 8479 if (!"name" in HRElement)
8676 HRElement.name = "HRElement"; 8480 HRElement.name = "HRElement";
8677 $desc = $collectedClasses.HRElement; 8481 $desc = $collectedClasses.HRElement;
8678 if ($desc instanceof Array) 8482 if ($desc instanceof Array)
8679 $desc = $desc[1]; 8483 $desc = $desc[1];
8680 HRElement.prototype = $desc; 8484 HRElement.prototype = $desc;
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
8743 ImageElement.prototype = $desc; 8547 ImageElement.prototype = $desc;
8744 function InputElement() { 8548 function InputElement() {
8745 } 8549 }
8746 InputElement.builtin$cls = "InputElement"; 8550 InputElement.builtin$cls = "InputElement";
8747 if (!"name" in InputElement) 8551 if (!"name" in InputElement)
8748 InputElement.name = "InputElement"; 8552 InputElement.name = "InputElement";
8749 $desc = $collectedClasses.InputElement; 8553 $desc = $collectedClasses.InputElement;
8750 if ($desc instanceof Array) 8554 if ($desc instanceof Array)
8751 $desc = $desc[1]; 8555 $desc = $desc[1];
8752 InputElement.prototype = $desc; 8556 InputElement.prototype = $desc;
8557 InputElement.prototype.set$disabled = function(receiver, v) {
8558 return receiver.disabled = v;
8559 };
8753 function KeyboardEvent() { 8560 function KeyboardEvent() {
8754 } 8561 }
8755 KeyboardEvent.builtin$cls = "KeyboardEvent"; 8562 KeyboardEvent.builtin$cls = "KeyboardEvent";
8756 if (!"name" in KeyboardEvent) 8563 if (!"name" in KeyboardEvent)
8757 KeyboardEvent.name = "KeyboardEvent"; 8564 KeyboardEvent.name = "KeyboardEvent";
8758 $desc = $collectedClasses.KeyboardEvent; 8565 $desc = $collectedClasses.KeyboardEvent;
8759 if ($desc instanceof Array) 8566 if ($desc instanceof Array)
8760 $desc = $desc[1]; 8567 $desc = $desc[1];
8761 KeyboardEvent.prototype = $desc; 8568 KeyboardEvent.prototype = $desc;
8762 function KeygenElement() { 8569 function KeygenElement() {
8763 } 8570 }
8764 KeygenElement.builtin$cls = "KeygenElement"; 8571 KeygenElement.builtin$cls = "KeygenElement";
8765 if (!"name" in KeygenElement) 8572 if (!"name" in KeygenElement)
8766 KeygenElement.name = "KeygenElement"; 8573 KeygenElement.name = "KeygenElement";
8767 $desc = $collectedClasses.KeygenElement; 8574 $desc = $collectedClasses.KeygenElement;
8768 if ($desc instanceof Array) 8575 if ($desc instanceof Array)
8769 $desc = $desc[1]; 8576 $desc = $desc[1];
8770 KeygenElement.prototype = $desc; 8577 KeygenElement.prototype = $desc;
8578 KeygenElement.prototype.set$disabled = function(receiver, v) {
8579 return receiver.disabled = v;
8580 };
8771 function LIElement() { 8581 function LIElement() {
8772 } 8582 }
8773 LIElement.builtin$cls = "LIElement"; 8583 LIElement.builtin$cls = "LIElement";
8774 if (!"name" in LIElement) 8584 if (!"name" in LIElement)
8775 LIElement.name = "LIElement"; 8585 LIElement.name = "LIElement";
8776 $desc = $collectedClasses.LIElement; 8586 $desc = $collectedClasses.LIElement;
8777 if ($desc instanceof Array) 8587 if ($desc instanceof Array)
8778 $desc = $desc[1]; 8588 $desc = $desc[1];
8779 LIElement.prototype = $desc; 8589 LIElement.prototype = $desc;
8780 function LabelElement() { 8590 function LabelElement() {
(...skipping 16 matching lines...) Expand all
8797 LegendElement.prototype = $desc; 8607 LegendElement.prototype = $desc;
8798 function LinkElement() { 8608 function LinkElement() {
8799 } 8609 }
8800 LinkElement.builtin$cls = "LinkElement"; 8610 LinkElement.builtin$cls = "LinkElement";
8801 if (!"name" in LinkElement) 8611 if (!"name" in LinkElement)
8802 LinkElement.name = "LinkElement"; 8612 LinkElement.name = "LinkElement";
8803 $desc = $collectedClasses.LinkElement; 8613 $desc = $collectedClasses.LinkElement;
8804 if ($desc instanceof Array) 8614 if ($desc instanceof Array)
8805 $desc = $desc[1]; 8615 $desc = $desc[1];
8806 LinkElement.prototype = $desc; 8616 LinkElement.prototype = $desc;
8617 LinkElement.prototype.set$disabled = function(receiver, v) {
8618 return receiver.disabled = v;
8619 };
8807 function MapElement() { 8620 function MapElement() {
8808 } 8621 }
8809 MapElement.builtin$cls = "MapElement"; 8622 MapElement.builtin$cls = "MapElement";
8810 if (!"name" in MapElement) 8623 if (!"name" in MapElement)
8811 MapElement.name = "MapElement"; 8624 MapElement.name = "MapElement";
8812 $desc = $collectedClasses.MapElement; 8625 $desc = $collectedClasses.MapElement;
8813 if ($desc instanceof Array) 8626 if ($desc instanceof Array)
8814 $desc = $desc[1]; 8627 $desc = $desc[1];
8815 MapElement.prototype = $desc; 8628 MapElement.prototype = $desc;
8816 function MediaElement() { 8629 function MediaElement() {
(...skipping 10 matching lines...) Expand all
8827 }; 8640 };
8828 function MediaError() { 8641 function MediaError() {
8829 } 8642 }
8830 MediaError.builtin$cls = "MediaError"; 8643 MediaError.builtin$cls = "MediaError";
8831 if (!"name" in MediaError) 8644 if (!"name" in MediaError)
8832 MediaError.name = "MediaError"; 8645 MediaError.name = "MediaError";
8833 $desc = $collectedClasses.MediaError; 8646 $desc = $collectedClasses.MediaError;
8834 if ($desc instanceof Array) 8647 if ($desc instanceof Array)
8835 $desc = $desc[1]; 8648 $desc = $desc[1];
8836 MediaError.prototype = $desc; 8649 MediaError.prototype = $desc;
8837 MediaError.prototype.get$code = function(receiver) {
8838 return receiver.code;
8839 };
8840 function MediaKeyError() { 8650 function MediaKeyError() {
8841 } 8651 }
8842 MediaKeyError.builtin$cls = "MediaKeyError"; 8652 MediaKeyError.builtin$cls = "MediaKeyError";
8843 if (!"name" in MediaKeyError) 8653 if (!"name" in MediaKeyError)
8844 MediaKeyError.name = "MediaKeyError"; 8654 MediaKeyError.name = "MediaKeyError";
8845 $desc = $collectedClasses.MediaKeyError; 8655 $desc = $collectedClasses.MediaKeyError;
8846 if ($desc instanceof Array) 8656 if ($desc instanceof Array)
8847 $desc = $desc[1]; 8657 $desc = $desc[1];
8848 MediaKeyError.prototype = $desc; 8658 MediaKeyError.prototype = $desc;
8849 MediaKeyError.prototype.get$code = function(receiver) {
8850 return receiver.code;
8851 };
8852 function MediaKeyEvent() { 8659 function MediaKeyEvent() {
8853 } 8660 }
8854 MediaKeyEvent.builtin$cls = "MediaKeyEvent"; 8661 MediaKeyEvent.builtin$cls = "MediaKeyEvent";
8855 if (!"name" in MediaKeyEvent) 8662 if (!"name" in MediaKeyEvent)
8856 MediaKeyEvent.name = "MediaKeyEvent"; 8663 MediaKeyEvent.name = "MediaKeyEvent";
8857 $desc = $collectedClasses.MediaKeyEvent; 8664 $desc = $collectedClasses.MediaKeyEvent;
8858 if ($desc instanceof Array) 8665 if ($desc instanceof Array)
8859 $desc = $desc[1]; 8666 $desc = $desc[1];
8860 MediaKeyEvent.prototype = $desc; 8667 MediaKeyEvent.prototype = $desc;
8861 function MediaKeyMessageEvent() { 8668 function MediaKeyMessageEvent() {
(...skipping 106 matching lines...) Expand 10 before | Expand all | Expand 10 after
8968 ModElement.prototype = $desc; 8775 ModElement.prototype = $desc;
8969 function MouseEvent() { 8776 function MouseEvent() {
8970 } 8777 }
8971 MouseEvent.builtin$cls = "MouseEvent"; 8778 MouseEvent.builtin$cls = "MouseEvent";
8972 if (!"name" in MouseEvent) 8779 if (!"name" in MouseEvent)
8973 MouseEvent.name = "MouseEvent"; 8780 MouseEvent.name = "MouseEvent";
8974 $desc = $collectedClasses.MouseEvent; 8781 $desc = $collectedClasses.MouseEvent;
8975 if ($desc instanceof Array) 8782 if ($desc instanceof Array)
8976 $desc = $desc[1]; 8783 $desc = $desc[1];
8977 MouseEvent.prototype = $desc; 8784 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() { 8785 function Navigator() {
8988 } 8786 }
8989 Navigator.builtin$cls = "Navigator"; 8787 Navigator.builtin$cls = "Navigator";
8990 if (!"name" in Navigator) 8788 if (!"name" in Navigator)
8991 Navigator.name = "Navigator"; 8789 Navigator.name = "Navigator";
8992 $desc = $collectedClasses.Navigator; 8790 $desc = $collectedClasses.Navigator;
8993 if ($desc instanceof Array) 8791 if ($desc instanceof Array)
8994 $desc = $desc[1]; 8792 $desc = $desc[1];
8995 Navigator.prototype = $desc; 8793 Navigator.prototype = $desc;
8996 function NavigatorUserMediaError() { 8794 function NavigatorUserMediaError() {
(...skipping 25 matching lines...) Expand all
9022 OListElement.prototype = $desc; 8820 OListElement.prototype = $desc;
9023 function ObjectElement() { 8821 function ObjectElement() {
9024 } 8822 }
9025 ObjectElement.builtin$cls = "ObjectElement"; 8823 ObjectElement.builtin$cls = "ObjectElement";
9026 if (!"name" in ObjectElement) 8824 if (!"name" in ObjectElement)
9027 ObjectElement.name = "ObjectElement"; 8825 ObjectElement.name = "ObjectElement";
9028 $desc = $collectedClasses.ObjectElement; 8826 $desc = $collectedClasses.ObjectElement;
9029 if ($desc instanceof Array) 8827 if ($desc instanceof Array)
9030 $desc = $desc[1]; 8828 $desc = $desc[1];
9031 ObjectElement.prototype = $desc; 8829 ObjectElement.prototype = $desc;
9032 ObjectElement.prototype.get$code = function(receiver) {
9033 return receiver.code;
9034 };
9035 function OptGroupElement() { 8830 function OptGroupElement() {
9036 } 8831 }
9037 OptGroupElement.builtin$cls = "OptGroupElement"; 8832 OptGroupElement.builtin$cls = "OptGroupElement";
9038 if (!"name" in OptGroupElement) 8833 if (!"name" in OptGroupElement)
9039 OptGroupElement.name = "OptGroupElement"; 8834 OptGroupElement.name = "OptGroupElement";
9040 $desc = $collectedClasses.OptGroupElement; 8835 $desc = $collectedClasses.OptGroupElement;
9041 if ($desc instanceof Array) 8836 if ($desc instanceof Array)
9042 $desc = $desc[1]; 8837 $desc = $desc[1];
9043 OptGroupElement.prototype = $desc; 8838 OptGroupElement.prototype = $desc;
8839 OptGroupElement.prototype.set$disabled = function(receiver, v) {
8840 return receiver.disabled = v;
8841 };
9044 function OptionElement() { 8842 function OptionElement() {
9045 } 8843 }
9046 OptionElement.builtin$cls = "OptionElement"; 8844 OptionElement.builtin$cls = "OptionElement";
9047 if (!"name" in OptionElement) 8845 if (!"name" in OptionElement)
9048 OptionElement.name = "OptionElement"; 8846 OptionElement.name = "OptionElement";
9049 $desc = $collectedClasses.OptionElement; 8847 $desc = $collectedClasses.OptionElement;
9050 if ($desc instanceof Array) 8848 if ($desc instanceof Array)
9051 $desc = $desc[1]; 8849 $desc = $desc[1];
9052 OptionElement.prototype = $desc; 8850 OptionElement.prototype = $desc;
8851 OptionElement.prototype.set$disabled = function(receiver, v) {
8852 return receiver.disabled = v;
8853 };
9053 function OutputElement() { 8854 function OutputElement() {
9054 } 8855 }
9055 OutputElement.builtin$cls = "OutputElement"; 8856 OutputElement.builtin$cls = "OutputElement";
9056 if (!"name" in OutputElement) 8857 if (!"name" in OutputElement)
9057 OutputElement.name = "OutputElement"; 8858 OutputElement.name = "OutputElement";
9058 $desc = $collectedClasses.OutputElement; 8859 $desc = $collectedClasses.OutputElement;
9059 if ($desc instanceof Array) 8860 if ($desc instanceof Array)
9060 $desc = $desc[1]; 8861 $desc = $desc[1];
9061 OutputElement.prototype = $desc; 8862 OutputElement.prototype = $desc;
9062 function OverflowEvent() { 8863 function OverflowEvent() {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
9106 PopStateEvent.prototype = $desc; 8907 PopStateEvent.prototype = $desc;
9107 function PositionError() { 8908 function PositionError() {
9108 } 8909 }
9109 PositionError.builtin$cls = "PositionError"; 8910 PositionError.builtin$cls = "PositionError";
9110 if (!"name" in PositionError) 8911 if (!"name" in PositionError)
9111 PositionError.name = "PositionError"; 8912 PositionError.name = "PositionError";
9112 $desc = $collectedClasses.PositionError; 8913 $desc = $collectedClasses.PositionError;
9113 if ($desc instanceof Array) 8914 if ($desc instanceof Array)
9114 $desc = $desc[1]; 8915 $desc = $desc[1];
9115 PositionError.prototype = $desc; 8916 PositionError.prototype = $desc;
9116 PositionError.prototype.get$code = function(receiver) {
9117 return receiver.code;
9118 };
9119 function PreElement() { 8917 function PreElement() {
9120 } 8918 }
9121 PreElement.builtin$cls = "PreElement"; 8919 PreElement.builtin$cls = "PreElement";
9122 if (!"name" in PreElement) 8920 if (!"name" in PreElement)
9123 PreElement.name = "PreElement"; 8921 PreElement.name = "PreElement";
9124 $desc = $collectedClasses.PreElement; 8922 $desc = $collectedClasses.PreElement;
9125 if ($desc instanceof Array) 8923 if ($desc instanceof Array)
9126 $desc = $desc[1]; 8924 $desc = $desc[1];
9127 PreElement.prototype = $desc; 8925 PreElement.prototype = $desc;
8926 function ProcessingInstruction() {
8927 }
8928 ProcessingInstruction.builtin$cls = "ProcessingInstruction";
8929 if (!"name" in ProcessingInstruction)
8930 ProcessingInstruction.name = "ProcessingInstruction";
8931 $desc = $collectedClasses.ProcessingInstruction;
8932 if ($desc instanceof Array)
8933 $desc = $desc[1];
8934 ProcessingInstruction.prototype = $desc;
8935 ProcessingInstruction.prototype.get$target = function(receiver) {
8936 return receiver.target;
8937 };
9128 function ProgressElement() { 8938 function ProgressElement() {
9129 } 8939 }
9130 ProgressElement.builtin$cls = "ProgressElement"; 8940 ProgressElement.builtin$cls = "ProgressElement";
9131 if (!"name" in ProgressElement) 8941 if (!"name" in ProgressElement)
9132 ProgressElement.name = "ProgressElement"; 8942 ProgressElement.name = "ProgressElement";
9133 $desc = $collectedClasses.ProgressElement; 8943 $desc = $collectedClasses.ProgressElement;
9134 if ($desc instanceof Array) 8944 if ($desc instanceof Array)
9135 $desc = $desc[1]; 8945 $desc = $desc[1];
9136 ProgressElement.prototype = $desc; 8946 ProgressElement.prototype = $desc;
9137 function ProgressEvent() { 8947 function ProgressEvent() {
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after
9208 SecurityPolicyViolationEvent.prototype = $desc; 9018 SecurityPolicyViolationEvent.prototype = $desc;
9209 function SelectElement() { 9019 function SelectElement() {
9210 } 9020 }
9211 SelectElement.builtin$cls = "SelectElement"; 9021 SelectElement.builtin$cls = "SelectElement";
9212 if (!"name" in SelectElement) 9022 if (!"name" in SelectElement)
9213 SelectElement.name = "SelectElement"; 9023 SelectElement.name = "SelectElement";
9214 $desc = $collectedClasses.SelectElement; 9024 $desc = $collectedClasses.SelectElement;
9215 if ($desc instanceof Array) 9025 if ($desc instanceof Array)
9216 $desc = $desc[1]; 9026 $desc = $desc[1];
9217 SelectElement.prototype = $desc; 9027 SelectElement.prototype = $desc;
9028 SelectElement.prototype.set$disabled = function(receiver, v) {
9029 return receiver.disabled = v;
9030 };
9218 SelectElement.prototype.get$length = function(receiver) { 9031 SelectElement.prototype.get$length = function(receiver) {
9219 return receiver.length; 9032 return receiver.length;
9220 }; 9033 };
9221 function ShadowElement() { 9034 function ShadowElement() {
9222 } 9035 }
9223 ShadowElement.builtin$cls = "ShadowElement"; 9036 ShadowElement.builtin$cls = "ShadowElement";
9224 if (!"name" in ShadowElement) 9037 if (!"name" in ShadowElement)
9225 ShadowElement.name = "ShadowElement"; 9038 ShadowElement.name = "ShadowElement";
9226 $desc = $collectedClasses.ShadowElement; 9039 $desc = $collectedClasses.ShadowElement;
9227 if ($desc instanceof Array) 9040 if ($desc instanceof Array)
9228 $desc = $desc[1]; 9041 $desc = $desc[1];
9229 ShadowElement.prototype = $desc; 9042 ShadowElement.prototype = $desc;
9043 function ShadowRoot() {
9044 }
9045 ShadowRoot.builtin$cls = "ShadowRoot";
9046 if (!"name" in ShadowRoot)
9047 ShadowRoot.name = "ShadowRoot";
9048 $desc = $collectedClasses.ShadowRoot;
9049 if ($desc instanceof Array)
9050 $desc = $desc[1];
9051 ShadowRoot.prototype = $desc;
9230 function SourceElement() { 9052 function SourceElement() {
9231 } 9053 }
9232 SourceElement.builtin$cls = "SourceElement"; 9054 SourceElement.builtin$cls = "SourceElement";
9233 if (!"name" in SourceElement) 9055 if (!"name" in SourceElement)
9234 SourceElement.name = "SourceElement"; 9056 SourceElement.name = "SourceElement";
9235 $desc = $collectedClasses.SourceElement; 9057 $desc = $collectedClasses.SourceElement;
9236 if ($desc instanceof Array) 9058 if ($desc instanceof Array)
9237 $desc = $desc[1]; 9059 $desc = $desc[1];
9238 SourceElement.prototype = $desc; 9060 SourceElement.prototype = $desc;
9239 function SpanElement() { 9061 function SpanElement() {
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
9295 StorageEvent.prototype = $desc; 9117 StorageEvent.prototype = $desc;
9296 function StyleElement() { 9118 function StyleElement() {
9297 } 9119 }
9298 StyleElement.builtin$cls = "StyleElement"; 9120 StyleElement.builtin$cls = "StyleElement";
9299 if (!"name" in StyleElement) 9121 if (!"name" in StyleElement)
9300 StyleElement.name = "StyleElement"; 9122 StyleElement.name = "StyleElement";
9301 $desc = $collectedClasses.StyleElement; 9123 $desc = $collectedClasses.StyleElement;
9302 if ($desc instanceof Array) 9124 if ($desc instanceof Array)
9303 $desc = $desc[1]; 9125 $desc = $desc[1];
9304 StyleElement.prototype = $desc; 9126 StyleElement.prototype = $desc;
9127 StyleElement.prototype.set$disabled = function(receiver, v) {
9128 return receiver.disabled = v;
9129 };
9305 function TableCaptionElement() { 9130 function TableCaptionElement() {
9306 } 9131 }
9307 TableCaptionElement.builtin$cls = "TableCaptionElement"; 9132 TableCaptionElement.builtin$cls = "TableCaptionElement";
9308 if (!"name" in TableCaptionElement) 9133 if (!"name" in TableCaptionElement)
9309 TableCaptionElement.name = "TableCaptionElement"; 9134 TableCaptionElement.name = "TableCaptionElement";
9310 $desc = $collectedClasses.TableCaptionElement; 9135 $desc = $collectedClasses.TableCaptionElement;
9311 if ($desc instanceof Array) 9136 if ($desc instanceof Array)
9312 $desc = $desc[1]; 9137 $desc = $desc[1];
9313 TableCaptionElement.prototype = $desc; 9138 TableCaptionElement.prototype = $desc;
9314 function TableCellElement() { 9139 function TableCellElement() {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
9358 TableSectionElement.prototype = $desc; 9183 TableSectionElement.prototype = $desc;
9359 function TemplateElement() { 9184 function TemplateElement() {
9360 } 9185 }
9361 TemplateElement.builtin$cls = "TemplateElement"; 9186 TemplateElement.builtin$cls = "TemplateElement";
9362 if (!"name" in TemplateElement) 9187 if (!"name" in TemplateElement)
9363 TemplateElement.name = "TemplateElement"; 9188 TemplateElement.name = "TemplateElement";
9364 $desc = $collectedClasses.TemplateElement; 9189 $desc = $collectedClasses.TemplateElement;
9365 if ($desc instanceof Array) 9190 if ($desc instanceof Array)
9366 $desc = $desc[1]; 9191 $desc = $desc[1];
9367 TemplateElement.prototype = $desc; 9192 TemplateElement.prototype = $desc;
9193 function Text() {
9194 }
9195 Text.builtin$cls = "Text";
9196 if (!"name" in Text)
9197 Text.name = "Text";
9198 $desc = $collectedClasses.Text;
9199 if ($desc instanceof Array)
9200 $desc = $desc[1];
9201 Text.prototype = $desc;
9368 function TextAreaElement() { 9202 function TextAreaElement() {
9369 } 9203 }
9370 TextAreaElement.builtin$cls = "TextAreaElement"; 9204 TextAreaElement.builtin$cls = "TextAreaElement";
9371 if (!"name" in TextAreaElement) 9205 if (!"name" in TextAreaElement)
9372 TextAreaElement.name = "TextAreaElement"; 9206 TextAreaElement.name = "TextAreaElement";
9373 $desc = $collectedClasses.TextAreaElement; 9207 $desc = $collectedClasses.TextAreaElement;
9374 if ($desc instanceof Array) 9208 if ($desc instanceof Array)
9375 $desc = $desc[1]; 9209 $desc = $desc[1];
9376 TextAreaElement.prototype = $desc; 9210 TextAreaElement.prototype = $desc;
9211 TextAreaElement.prototype.set$disabled = function(receiver, v) {
9212 return receiver.disabled = v;
9213 };
9377 function TextEvent() { 9214 function TextEvent() {
9378 } 9215 }
9379 TextEvent.builtin$cls = "TextEvent"; 9216 TextEvent.builtin$cls = "TextEvent";
9380 if (!"name" in TextEvent) 9217 if (!"name" in TextEvent)
9381 TextEvent.name = "TextEvent"; 9218 TextEvent.name = "TextEvent";
9382 $desc = $collectedClasses.TextEvent; 9219 $desc = $collectedClasses.TextEvent;
9383 if ($desc instanceof Array) 9220 if ($desc instanceof Array)
9384 $desc = $desc[1]; 9221 $desc = $desc[1];
9385 TextEvent.prototype = $desc; 9222 TextEvent.prototype = $desc;
9386 function TitleElement() { 9223 function TitleElement() {
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
9475 WheelEvent.prototype = $desc; 9312 WheelEvent.prototype = $desc;
9476 function Window() { 9313 function Window() {
9477 } 9314 }
9478 Window.builtin$cls = "Window"; 9315 Window.builtin$cls = "Window";
9479 if (!"name" in Window) 9316 if (!"name" in Window)
9480 Window.name = "Window"; 9317 Window.name = "Window";
9481 $desc = $collectedClasses.Window; 9318 $desc = $collectedClasses.Window;
9482 if ($desc instanceof Array) 9319 if ($desc instanceof Array)
9483 $desc = $desc[1]; 9320 $desc = $desc[1];
9484 Window.prototype = $desc; 9321 Window.prototype = $desc;
9322 function _Attr() {
9323 }
9324 _Attr.builtin$cls = "_Attr";
9325 if (!"name" in _Attr)
9326 _Attr.name = "_Attr";
9327 $desc = $collectedClasses._Attr;
9328 if ($desc instanceof Array)
9329 $desc = $desc[1];
9330 _Attr.prototype = $desc;
9331 function _Entity() {
9332 }
9333 _Entity.builtin$cls = "_Entity";
9334 if (!"name" in _Entity)
9335 _Entity.name = "_Entity";
9336 $desc = $collectedClasses._Entity;
9337 if ($desc instanceof Array)
9338 $desc = $desc[1];
9339 _Entity.prototype = $desc;
9485 function _HTMLAppletElement() { 9340 function _HTMLAppletElement() {
9486 } 9341 }
9487 _HTMLAppletElement.builtin$cls = "_HTMLAppletElement"; 9342 _HTMLAppletElement.builtin$cls = "_HTMLAppletElement";
9488 if (!"name" in _HTMLAppletElement) 9343 if (!"name" in _HTMLAppletElement)
9489 _HTMLAppletElement.name = "_HTMLAppletElement"; 9344 _HTMLAppletElement.name = "_HTMLAppletElement";
9490 $desc = $collectedClasses._HTMLAppletElement; 9345 $desc = $collectedClasses._HTMLAppletElement;
9491 if ($desc instanceof Array) 9346 if ($desc instanceof Array)
9492 $desc = $desc[1]; 9347 $desc = $desc[1];
9493 _HTMLAppletElement.prototype = $desc; 9348 _HTMLAppletElement.prototype = $desc;
9494 function _HTMLBaseFontElement() { 9349 function _HTMLBaseFontElement() {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
9538 _HTMLFrameSetElement.prototype = $desc; 9393 _HTMLFrameSetElement.prototype = $desc;
9539 function _HTMLMarqueeElement() { 9394 function _HTMLMarqueeElement() {
9540 } 9395 }
9541 _HTMLMarqueeElement.builtin$cls = "_HTMLMarqueeElement"; 9396 _HTMLMarqueeElement.builtin$cls = "_HTMLMarqueeElement";
9542 if (!"name" in _HTMLMarqueeElement) 9397 if (!"name" in _HTMLMarqueeElement)
9543 _HTMLMarqueeElement.name = "_HTMLMarqueeElement"; 9398 _HTMLMarqueeElement.name = "_HTMLMarqueeElement";
9544 $desc = $collectedClasses._HTMLMarqueeElement; 9399 $desc = $collectedClasses._HTMLMarqueeElement;
9545 if ($desc instanceof Array) 9400 if ($desc instanceof Array)
9546 $desc = $desc[1]; 9401 $desc = $desc[1];
9547 _HTMLMarqueeElement.prototype = $desc; 9402 _HTMLMarqueeElement.prototype = $desc;
9403 function _MutationEvent() {
9404 }
9405 _MutationEvent.builtin$cls = "_MutationEvent";
9406 if (!"name" in _MutationEvent)
9407 _MutationEvent.name = "_MutationEvent";
9408 $desc = $collectedClasses._MutationEvent;
9409 if ($desc instanceof Array)
9410 $desc = $desc[1];
9411 _MutationEvent.prototype = $desc;
9412 function _Notation() {
9413 }
9414 _Notation.builtin$cls = "_Notation";
9415 if (!"name" in _Notation)
9416 _Notation.name = "_Notation";
9417 $desc = $collectedClasses._Notation;
9418 if ($desc instanceof Array)
9419 $desc = $desc[1];
9420 _Notation.prototype = $desc;
9548 function _XMLHttpRequestProgressEvent() { 9421 function _XMLHttpRequestProgressEvent() {
9549 } 9422 }
9550 _XMLHttpRequestProgressEvent.builtin$cls = "_XMLHttpRequestProgressEvent"; 9423 _XMLHttpRequestProgressEvent.builtin$cls = "_XMLHttpRequestProgressEvent";
9551 if (!"name" in _XMLHttpRequestProgressEvent) 9424 if (!"name" in _XMLHttpRequestProgressEvent)
9552 _XMLHttpRequestProgressEvent.name = "_XMLHttpRequestProgressEvent"; 9425 _XMLHttpRequestProgressEvent.name = "_XMLHttpRequestProgressEvent";
9553 $desc = $collectedClasses._XMLHttpRequestProgressEvent; 9426 $desc = $collectedClasses._XMLHttpRequestProgressEvent;
9554 if ($desc instanceof Array) 9427 if ($desc instanceof Array)
9555 $desc = $desc[1]; 9428 $desc = $desc[1];
9556 _XMLHttpRequestProgressEvent.prototype = $desc; 9429 _XMLHttpRequestProgressEvent.prototype = $desc;
9557 function VersionChangeEvent() { 9430 function VersionChangeEvent() {
9558 } 9431 }
9559 VersionChangeEvent.builtin$cls = "VersionChangeEvent"; 9432 VersionChangeEvent.builtin$cls = "VersionChangeEvent";
9560 if (!"name" in VersionChangeEvent) 9433 if (!"name" in VersionChangeEvent)
9561 VersionChangeEvent.name = "VersionChangeEvent"; 9434 VersionChangeEvent.name = "VersionChangeEvent";
9562 $desc = $collectedClasses.VersionChangeEvent; 9435 $desc = $collectedClasses.VersionChangeEvent;
9563 if ($desc instanceof Array) 9436 if ($desc instanceof Array)
9564 $desc = $desc[1]; 9437 $desc = $desc[1];
9565 VersionChangeEvent.prototype = $desc; 9438 VersionChangeEvent.prototype = $desc;
9566 function AElement() { 9439 function AElement() {
9567 } 9440 }
9568 AElement.builtin$cls = "AElement"; 9441 AElement.builtin$cls = "AElement";
9569 if (!"name" in AElement) 9442 if (!"name" in AElement)
9570 AElement.name = "AElement"; 9443 AElement.name = "AElement";
9571 $desc = $collectedClasses.AElement; 9444 $desc = $collectedClasses.AElement;
9572 if ($desc instanceof Array) 9445 if ($desc instanceof Array)
9573 $desc = $desc[1]; 9446 $desc = $desc[1];
9574 AElement.prototype = $desc; 9447 AElement.prototype = $desc;
9448 AElement.prototype.get$target = function(receiver) {
9449 return receiver.target;
9450 };
9575 function AltGlyphElement() { 9451 function AltGlyphElement() {
9576 } 9452 }
9577 AltGlyphElement.builtin$cls = "AltGlyphElement"; 9453 AltGlyphElement.builtin$cls = "AltGlyphElement";
9578 if (!"name" in AltGlyphElement) 9454 if (!"name" in AltGlyphElement)
9579 AltGlyphElement.name = "AltGlyphElement"; 9455 AltGlyphElement.name = "AltGlyphElement";
9580 $desc = $collectedClasses.AltGlyphElement; 9456 $desc = $collectedClasses.AltGlyphElement;
9581 if ($desc instanceof Array) 9457 if ($desc instanceof Array)
9582 $desc = $desc[1]; 9458 $desc = $desc[1];
9583 AltGlyphElement.prototype = $desc; 9459 AltGlyphElement.prototype = $desc;
9584 function AnimateElement() { 9460 function AnimateElement() {
(...skipping 25 matching lines...) Expand all
9610 AnimateTransformElement.prototype = $desc; 9486 AnimateTransformElement.prototype = $desc;
9611 function AnimatedNumberList() { 9487 function AnimatedNumberList() {
9612 } 9488 }
9613 AnimatedNumberList.builtin$cls = "AnimatedNumberList"; 9489 AnimatedNumberList.builtin$cls = "AnimatedNumberList";
9614 if (!"name" in AnimatedNumberList) 9490 if (!"name" in AnimatedNumberList)
9615 AnimatedNumberList.name = "AnimatedNumberList"; 9491 AnimatedNumberList.name = "AnimatedNumberList";
9616 $desc = $collectedClasses.AnimatedNumberList; 9492 $desc = $collectedClasses.AnimatedNumberList;
9617 if ($desc instanceof Array) 9493 if ($desc instanceof Array)
9618 $desc = $desc[1]; 9494 $desc = $desc[1];
9619 AnimatedNumberList.prototype = $desc; 9495 AnimatedNumberList.prototype = $desc;
9496 function AnimatedString() {
9497 }
9498 AnimatedString.builtin$cls = "AnimatedString";
9499 if (!"name" in AnimatedString)
9500 AnimatedString.name = "AnimatedString";
9501 $desc = $collectedClasses.AnimatedString;
9502 if ($desc instanceof Array)
9503 $desc = $desc[1];
9504 AnimatedString.prototype = $desc;
9620 function AnimationElement() { 9505 function AnimationElement() {
9621 } 9506 }
9622 AnimationElement.builtin$cls = "AnimationElement"; 9507 AnimationElement.builtin$cls = "AnimationElement";
9623 if (!"name" in AnimationElement) 9508 if (!"name" in AnimationElement)
9624 AnimationElement.name = "AnimationElement"; 9509 AnimationElement.name = "AnimationElement";
9625 $desc = $collectedClasses.AnimationElement; 9510 $desc = $collectedClasses.AnimationElement;
9626 if ($desc instanceof Array) 9511 if ($desc instanceof Array)
9627 $desc = $desc[1]; 9512 $desc = $desc[1];
9628 AnimationElement.prototype = $desc; 9513 AnimationElement.prototype = $desc;
9629 function CircleElement() { 9514 function CircleElement() {
(...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
10060 StopElement.prototype = $desc; 9945 StopElement.prototype = $desc;
10061 function StyleElement0() { 9946 function StyleElement0() {
10062 } 9947 }
10063 StyleElement0.builtin$cls = "StyleElement0"; 9948 StyleElement0.builtin$cls = "StyleElement0";
10064 if (!"name" in StyleElement0) 9949 if (!"name" in StyleElement0)
10065 StyleElement0.name = "StyleElement0"; 9950 StyleElement0.name = "StyleElement0";
10066 $desc = $collectedClasses.StyleElement0; 9951 $desc = $collectedClasses.StyleElement0;
10067 if ($desc instanceof Array) 9952 if ($desc instanceof Array)
10068 $desc = $desc[1]; 9953 $desc = $desc[1];
10069 StyleElement0.prototype = $desc; 9954 StyleElement0.prototype = $desc;
9955 StyleElement0.prototype.set$disabled = function(receiver, v) {
9956 return receiver.disabled = v;
9957 };
9958 function SvgDocument() {
9959 }
9960 SvgDocument.builtin$cls = "SvgDocument";
9961 if (!"name" in SvgDocument)
9962 SvgDocument.name = "SvgDocument";
9963 $desc = $collectedClasses.SvgDocument;
9964 if ($desc instanceof Array)
9965 $desc = $desc[1];
9966 SvgDocument.prototype = $desc;
10070 function SvgElement() { 9967 function SvgElement() {
10071 } 9968 }
10072 SvgElement.builtin$cls = "SvgElement"; 9969 SvgElement.builtin$cls = "SvgElement";
10073 if (!"name" in SvgElement) 9970 if (!"name" in SvgElement)
10074 SvgElement.name = "SvgElement"; 9971 SvgElement.name = "SvgElement";
10075 $desc = $collectedClasses.SvgElement; 9972 $desc = $collectedClasses.SvgElement;
10076 if ($desc instanceof Array) 9973 if ($desc instanceof Array)
10077 $desc = $desc[1]; 9974 $desc = $desc[1];
10078 SvgElement.prototype = $desc; 9975 SvgElement.prototype = $desc;
10079 function SvgSvgElement() { 9976 function SvgSvgElement() {
(...skipping 259 matching lines...) Expand 10 before | Expand all | Expand 10 after
10339 _SVGMPathElement.prototype = $desc; 10236 _SVGMPathElement.prototype = $desc;
10340 function _SVGMissingGlyphElement() { 10237 function _SVGMissingGlyphElement() {
10341 } 10238 }
10342 _SVGMissingGlyphElement.builtin$cls = "_SVGMissingGlyphElement"; 10239 _SVGMissingGlyphElement.builtin$cls = "_SVGMissingGlyphElement";
10343 if (!"name" in _SVGMissingGlyphElement) 10240 if (!"name" in _SVGMissingGlyphElement)
10344 _SVGMissingGlyphElement.name = "_SVGMissingGlyphElement"; 10241 _SVGMissingGlyphElement.name = "_SVGMissingGlyphElement";
10345 $desc = $collectedClasses._SVGMissingGlyphElement; 10242 $desc = $collectedClasses._SVGMissingGlyphElement;
10346 if ($desc instanceof Array) 10243 if ($desc instanceof Array)
10347 $desc = $desc[1]; 10244 $desc = $desc[1];
10348 _SVGMissingGlyphElement.prototype = $desc; 10245 _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() { 10246 function _SVGVKernElement() {
10359 } 10247 }
10360 _SVGVKernElement.builtin$cls = "_SVGVKernElement"; 10248 _SVGVKernElement.builtin$cls = "_SVGVKernElement";
10361 if (!"name" in _SVGVKernElement) 10249 if (!"name" in _SVGVKernElement)
10362 _SVGVKernElement.name = "_SVGVKernElement"; 10250 _SVGVKernElement.name = "_SVGVKernElement";
10363 $desc = $collectedClasses._SVGVKernElement; 10251 $desc = $collectedClasses._SVGVKernElement;
10364 if ($desc instanceof Array) 10252 if ($desc instanceof Array)
10365 $desc = $desc[1]; 10253 $desc = $desc[1];
10366 _SVGVKernElement.prototype = $desc; 10254 _SVGVKernElement.prototype = $desc;
10367 function AudioProcessingEvent() { 10255 function AudioProcessingEvent() {
(...skipping 25 matching lines...) Expand all
10393 ContextEvent.prototype = $desc; 10281 ContextEvent.prototype = $desc;
10394 function SqlError() { 10282 function SqlError() {
10395 } 10283 }
10396 SqlError.builtin$cls = "SqlError"; 10284 SqlError.builtin$cls = "SqlError";
10397 if (!"name" in SqlError) 10285 if (!"name" in SqlError)
10398 SqlError.name = "SqlError"; 10286 SqlError.name = "SqlError";
10399 $desc = $collectedClasses.SqlError; 10287 $desc = $collectedClasses.SqlError;
10400 if ($desc instanceof Array) 10288 if ($desc instanceof Array)
10401 $desc = $desc[1]; 10289 $desc = $desc[1];
10402 SqlError.prototype = $desc; 10290 SqlError.prototype = $desc;
10403 SqlError.prototype.get$code = function(receiver) {
10404 return receiver.code;
10405 };
10406 function TypedData() { 10291 function TypedData() {
10407 } 10292 }
10408 TypedData.builtin$cls = "TypedData"; 10293 TypedData.builtin$cls = "TypedData";
10409 if (!"name" in TypedData) 10294 if (!"name" in TypedData)
10410 TypedData.name = "TypedData"; 10295 TypedData.name = "TypedData";
10411 $desc = $collectedClasses.TypedData; 10296 $desc = $collectedClasses.TypedData;
10412 if ($desc instanceof Array) 10297 if ($desc instanceof Array)
10413 $desc = $desc[1]; 10298 $desc = $desc[1];
10414 TypedData.prototype = $desc; 10299 TypedData.prototype = $desc;
10415 function Uint8List() { 10300 function Uint8List() {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
10459 Closure$1.prototype = $desc; 10344 Closure$1.prototype = $desc;
10460 function Closure$21(call$2, $name) { 10345 function Closure$21(call$2, $name) {
10461 this.call$2 = call$2; 10346 this.call$2 = call$2;
10462 this.$name = $name; 10347 this.$name = $name;
10463 } 10348 }
10464 Closure$21.builtin$cls = "Closure$21"; 10349 Closure$21.builtin$cls = "Closure$21";
10465 $desc = $collectedClasses.Closure$21; 10350 $desc = $collectedClasses.Closure$21;
10466 if ($desc instanceof Array) 10351 if ($desc instanceof Array)
10467 $desc = $desc[1]; 10352 $desc = $desc[1];
10468 Closure$21.prototype = $desc; 10353 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]; 10354 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, _Future, BoundClosure $2, _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, StreamSubscription, _StreamController, _StreamController__subscribe_closure, _S treamController__recordCancel_complete, _SyncStreamControllerDispatch, _AsyncStr eamControllerDispatch, _AsyncStreamController, _StreamController__AsyncStreamCon trollerDispatch, _SyncStreamController, _StreamController__SyncStreamControllerD ispatch, _ControllerStream, _ControllerSubscription, BoundClosure$0, _EventSink, _BufferingStreamSubscription, _BufferingStreamSubscription__sendDone_sendDone, _StreamImpl, _DelayedEvent, _DelayedData, _DelayedDone, _PendingEvents, _Pending Events_schedule_closure, _StreamImplEvents, _cancelAndError_closure, _cancelAndE rrorClosure_closure, _BaseZone, _BaseZone_bindCallback_closure, _BaseZone_bindCa llback_closure0, _BaseZone_bindUnaryCallback_closure, _BaseZone_bindUnaryCallbac k_closure0, _rootHandleUncaughtError_closure, _rootHandleUncaughtError__closure, _RootZone, _HashMap, _HashMap_values_closure, HashMapKeyIterable, HashMapKeyIte rator, _LinkedHashMap, _LinkedHashMap_values_closure, LinkedHashMapCell, LinkedH ashMapKeyIterable, LinkedHashMapKeyIterator, _HashSet, _IdentityHashSet, HashSet Iterator, _HashSetBase, HashSet, IterableBase, ListMixin, Maps_mapToString_closu re, ListQueue, _ListQueueIterator, NoSuchMethodError_toString_closure, Duration, Duration_toString_sixDigits, Duration_toString_twoDigits, Error, NullThrownErro r, ArgumentError, RangeError, UnsupportedError, StateError, ConcurrentModificati onError, StackOverflowError, CyclicInitializationError, _ExceptionImplementation , Expando, Function, Iterator, Null, Object, StackTrace, StringBuffer, Symbol, _ EventStream, _ElementEventStreamImpl, _EventStreamSubscription, EventStreamProvi der, _DOMWindowCrossFrame, ReceivePort, _Random, TypedData_ListMixin, TypedData_ ListMixin_FixedLengthListMixin, PirateName, HtmlElement, AnchorElement, Animatio nEvent, AreaElement, AudioElement, AutocompleteErrorEvent, BRElement, BaseElemen t, BeforeLoadEvent, BeforeUnloadEvent, BodyElement, ButtonElement, CDataSection, CanvasElement, CharacterData, CloseEvent, Comment, CompositionEvent, ContentEle ment, CssFontFaceLoadEvent, CustomEvent, DListElement, DataListElement, DetailsE lement, DeviceMotionEvent, DeviceOrientationEvent, DialogElement, DivElement, Do cument, DocumentFragment, DocumentType, DomError, DomException, Element, EmbedEl ement, ErrorEvent, Event, EventTarget, FieldSetElement, FileError, FocusEvent, F ormElement, HRElement, HashChangeEvent, HeadElement, HeadingElement, HtmlDocumen t, HtmlHtmlElement, IFrameElement, ImageElement, InputElement, KeyboardEvent, Ke ygenElement, LIElement, LabelElement, LegendElement, LinkElement, MapElement, Me diaElement, MediaError, MediaKeyError, MediaKeyEvent, MediaKeyMessageEvent, Medi aKeyNeededEvent, MediaStream, MediaStreamEvent, MediaStreamTrackEvent, MenuEleme nt, MessageEvent, MetaElement, MeterElement, MidiConnectionEvent, MidiMessageEve nt, ModElement, MouseEvent, Navigator, NavigatorUserMediaError, Node, OListEleme nt, ObjectElement, OptGroupElement, OptionElement, OutputElement, OverflowEvent, PageTransitionEvent, ParagraphElement, ParamElement, PopStateEvent, PositionErr or, PreElement, ProcessingInstruction, ProgressElement, ProgressEvent, QuoteElem ent, ResourceProgressEvent, RtcDataChannelEvent, RtcDtmfToneChangeEvent, RtcIceC andidateEvent, ScriptElement, SecurityPolicyViolationEvent, SelectElement, Shado wElement, ShadowRoot, SourceElement, SpanElement, SpeechInputEvent, SpeechRecogn itionError, SpeechRecognitionEvent, SpeechSynthesisEvent, StorageEvent, StyleEle ment, TableCaptionElement, TableCellElement, TableColElement, TableElement, Tabl eRowElement, TableSectionElement, TemplateElement, Text, TextAreaElement, TextEv ent, TitleElement, TouchEvent, TrackElement, TrackEvent, TransitionEvent, UIEven t, UListElement, UnknownElement, VideoElement, WheelEvent, Window, _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 } 10355 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698