Created
October 11, 2011 04:51
-
-
Save stevebest/1277323 to your computer and use it in GitHub Desktop.
Closure Compiler stress test aka "Dart Hello World compiled to JavaScript"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original Size: 537.85KB (61.3KB gzipped) | |
| Compiled Size: 31.5KB (9.09KB gzipped) | |
| Saved 94.14% off the original size (85.17% off the gzipped size) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var e=void 0,f=true,g=null,i=false;function j(){return function(){}}function k(a){return function(){return this[a]}}function l(a){return function(){return a}}var n;Boolean.H=function(a){return typeof a=="boolean"||a instanceof Boolean};var o={},aa={};function ba(a,b){if(a.prototype.__proto__)a.prototype.__proto__=b.prototype;else{var c=j();c.prototype=b.prototype;a.prototype=new c}} | |
| function p(a,b,c){if(arguments.length>2){var d=Array.prototype.slice.call(arguments,2);return function(){var c=Array.prototype.slice.call(arguments);Array.prototype.unshift.apply(c,d);return a.apply(b,c)}}else return function(){return a.apply(b,arguments)}}function q(a){if(!(typeof a=="function"?a():a))throw a=Error("Assertion failed. "),Error.captureStackTrace&&Error.captureStackTrace(a),a;}function ca(a,b){return typeof a=="number"&&typeof b=="number"?a^b:da.call(a,b)} | |
| function ea(a,b){return typeof a=="number"&&typeof b=="number"?a&b:fa.call(a,b)}function ga(a,b){return typeof a=="number"&&typeof b=="number"?a<<b:ha.call(a,b)}function r(a,b){return typeof a=="number"&&typeof b=="number"?a+b:a.Va(b)}function s(a,b){return typeof a=="number"&&typeof b=="number"?a-b:ia.call(a,b)}function ja(a,b){return typeof a=="number"&&typeof b=="number"?a*b:ka.call(a,b)}function la(a){return typeof a=="number"?(a/=4,a<0?Math.ceil(a):Math.floor(a)):ma.call(a,4)} | |
| function t(a,b){return typeof a=="number"&&typeof b=="number"?a<b:na.call(a,b)}function v(a,b){return typeof a=="number"&&typeof b=="number"?a>b:oa.call(a,b)}function pa(a,b){return typeof a=="number"&&typeof b=="number"?a<=b:qa.call(a,b)}function ra(a,b){return typeof a=="number"&&typeof b=="number"?a>=b:sa.call(a,b)}function w(a,b){return a===e?b===e:typeof a=="number"&&typeof b=="number"?a==b:a.X(b)} | |
| function x(a){a&&typeof a=="object"&&Error.captureStackTrace&&Error.captureStackTrace(a);throw a;}function y(){var a=new ta;a.i=z("va",ua);va.call(a,"","",[]);wa.call(a);x(a)}var A={b:0}; | |
| function B(a){if(a===e)return"";if(typeof a==="number")return"n"+a;if(typeof a==="boolean")return"b"+(a?1:0);if(typeof a==="string"){var a=xa+a,b=ya[a];b||(b="s"+ ++za,ya[a]=b);return b}if(typeof a==="function")throw"a function is not a constant expression";a=a.ub;if(a===e)throw"internal error: reference to non-canonical constant";return a}var xa=":",za=0,ya={},Aa={}; | |
| function D(a,b){var c;if(a instanceof Array){c=[];for(var d=a.length-1;d>=0;d--)c.push(B(a[d]));c="a"+c.join(",")}else if(a&&a.Sa){c=Ba();c.u(1,A,"m");for(var d=f,h=Ca(a).sa(0,A);h.ca(0,A);){var m=h.ta(0,A);d?d=i:c.u(1,A,",");c.u(1,A,B(m));c.u(1,A,",");c.u(1,A,Da(a.k(m)))}c=c.r(0,A)}else c="o"+a.z();if(b!=g){c+="<";for(d=b.length-1;d>=0;d--)c+=b[d],c+=",";c+=">"}d=xa+c;h=Aa[d];if(h!=g)return h;a.ub=c;return Aa[d]=a} | |
| var E=g,F=[],Ea=this,G=typeof Ea.importScripts!="undefined",Fa=G||typeof Ea.Worker!="undefined",Ga=0,Ha=Fa,Ia=i;function Ja(a,b,c,d,h){if(a==Ga){if(a=Ka.get(b))(c=a.La.get(c))&&La(c,a,d,h)}else(G?Ma:Na.get(a)).postMessage({aa:"message",bc:a,Tb:b,Ub:c,ga:d,Q:h})}function La(a,b,c,d){Oa(b,function(){var b=Ha||Ia?Pa(c):c,m=Ha||Ia?Pa(d):d;Qa(a)!=g&&Qa(a)(2,A,b,m);Ra()})}function Sa(){this.map={};this.b=0} | |
| function Ta(a,b,c){if(a.map[b])throw Error("Registry: Elements must be registered only once.");a.map[b]=c;a.b++}function Ua(a){var b=Na;a in b.map&&(delete b.map[a],b.b--)}Sa.prototype.get=function(a){return this.map[a]};var Na=new Sa,Ka=new Sa,Va=i;G&&(Va=function(a){Ma.postMessage({aa:"print",ga:a})}); | |
| function Wa(a,b){var c=b.data;switch(c.aa){case "start":Ga=c.id;var d=Ea[c.rb](),h=c.Q;Oa(new Xa,function(){var a=Ha||Ia?Pa(h):h,b=new Ya;b.i=z("t",Za);$a.call(b);ab.call(b);var c=bb(b),W=A,Q=0,qb=0;switch(2){case 1:c=W.Q?(++Q,W.Q):(++qb,e)}(Q!=W.b||Q+qb+2!=2)&&y();H.prototype.Xb.call(a,"spawned",c);d.wc(1,A,b)});cb();break;case "spawn-worker":db(c.rb,c.Dc);break;case "message":Ja(c.bc,c.Tb,c.Ub,c.ga,c.Q);cb();break;case "close":Ua(a.id);a.terminate();cb();break;case "print":eb(c.ga);break;case "error":throw c.ga; | |
| }}if(Fa)Ea.onmessage=function(a){Wa(Ma,a)};var Ma=new function(){this.id=0};Ma.postMessage=function(a){Ea.postMessage(a)};var fb=1;function Xa(){this.id=fb++;this.Zb={};this.Zb.Bc=Math.random()*268435455>>>0;this.La=new Sa;gb(this,function(){for(var a=0,b=F.length;a<b;a++)F[a]()})}function gb(a,b){var c=E;E=a;try{b()}finally{E=c}}var hb=[];function ib(a,b){this.Sb=a;this.Ob=b}function Oa(a,b){hb.push(new ib(a,b))}var jb=Ga+1,kb; | |
| if(!Fa||G)kb=g;else{var lb=document.getElementsByTagName("script"),mb=lb[lb.length-1],nb=mb.src;if(!nb)nb="FIXME:5407062_"+Math.random().toString(),mb.src=nb;kb=nb}function db(a,b){var c=new Worker(kb);c.onmessage=function(a){Wa(c,a)};var d=jb++;c.id=d;Ta(Na,d,c);c.postMessage({aa:"start",id:d,Q:b,rb:a})}function ob(){var a;hb.length!=0?(a=hb[0],hb.splice(0,1)):a=e;return a?(gb(a.Sb,a.Ob),f):(G&&Ka.b===0&&Ma.postMessage({aa:"close"}),i)} | |
| function pb(){if(typeof window!="undefined"&&window.setTimeout)(function b(){ob()&&window.setTimeout(b,0)})();else for(;;)if(!ob())break}function cb(){if(G)try{pb()}catch(a){Ma.postMessage({aa:"error",ga:""+a})}else pb()}function rb(a,b){a.__MessageTraverser__attached_info__=b}function sb(a){return a.__MessageTraverser__attached_info__}Number.H=function(a){return typeof a=="number"||a instanceof Number};function da(a){return this^a}function fa(a){return this&a}function ha(a){return this<<a} | |
| function ia(a){return this-a}function ka(a){return this*a}function ma(a){a=this/a;return a<0?Math.ceil(a):Math.floor(a)}function na(a){return this<a}function oa(a){return this>a}function qa(a){return this<=a}function sa(a){return this>=a}Object.H=l(f);function tb(a){Va?Va(a):this.console?this.console.log(a):this.write&&(this.write(a),this.write("\n"))}function I(a,b,c){this.f=a;this.ac=b?b:a;this.m=c;this.c={};this.c[a]=this;a!="a"&&(this.c.a=ub)}var vb={};I.prototype.v=[];I.prototype.toString=k("ac"); | |
| I.prototype.Ga=function(a){return a==g?this===ub||this===wb:this.fa(xb(a))};function yb(a,b){return a.hasOwnProperty(b)?a[b]:g}I.prototype.fa=function(a){if(a===this||a===wb)return f;a=yb(a.c,this.f);if(a==g)return i;if(a.m&&this.m)for(var b=this.m.length-1;b>=0;b--)if(!this.m[b].fa(a.m[b]))return i;return f};function zb(a){if(a instanceof Array)return Array.e();switch(typeof a){case "string":return String.e();case "number":return Number.e();case "boolean":return Boolean.e()}return Ab} | |
| function z(a,b,c){if(a=="a")return ub;var d=Bb(a,c),h=yb(vb,d);if(h)return h;h=new I(Bb(a),d,c);vb[d]=h;b&&b(h,c);return h}function Bb(a,b){var c=a;b&&(c+="<"+b.join(",")+">");return c}function xb(a){return a.i?a.i:zb(a)}function J(a,b){a.i=b;return a}function K(a,b){if(a)if(a.length>b)return a[b];else throw Error("Missing type arg");return wb}function L(a,b){var c=yb(xb(a).c,b);if(!c)throw Error("internal error: can not find "+b+" in "+JSON.stringify(a));return c.m}var ub=new I("a");ub.Ga=l(f); | |
| ub.fa=l(f);var wb=new I("b");wb.Ga=l(f);wb.fa=l(f);var Ab=new I("c");Ab.Ga=l(f);Ab.fa=l(f);J(Function.prototype,z("d"));String.H=function(a){return typeof a=="string"||a instanceof String};function Cb(a){if(!(a instanceof Array)){for(var b=a.h(),c=Array(b),d=0;d<b;d++)c[d]=a.k(d);a=c}return String.fromCharCode.apply(this,a)}function M(a,b){var c=f;b==g?(b=0,c=i):t(b,0)&&x(Db(b));var d;d=Eb(Fb([K(a,0)]));d=J(Array(b),Array.e(xb(d).m));d.Y=c;return d}Array.e=function(a){return z("g",Array.o,a)}; | |
| Array.o=function(a,b){Array.j(a,b);a.v=[]};Array.j=function(a,b){var c=Array.e(b);a.c[c.f]=c;Gb(a,[K(a.m,0)])};n=Array.prototype;n.Ra=1;n.k=function(a){if(pa(0,a)&&t(a,this.h()))return this.Ba(a);x(Hb(a))};n.p=function(a,b){(t(a,0)||pa(this.h(),a))&&x(Hb(a));this[a]=b};n.Ia=function(){return this.Y?N.xb(N.e([K(L(this,"g"),0)]),this):O.zb(O.e([K(L(this,"g"),0)]),this)};n.sa=function(a,b){(0!=b.b||0+a!=0)&&y();return Array.prototype.Ia.call(this)};n.Ba=function(a){return this[a]};n.h=k("length"); | |
| n.G=function(a){for(var b=this.sa(0,A);b.ca(0,A);){var c=b.ta(0,A);a(1,A,c)}};n.ba=function(a,b,c){(0!=b.b||0+a!=1)&&y();return Array.prototype.G.call(this,c)};n.B=function(){return w(this.h(),0)};n.P=function(a,b){(0!=b.b||0+a!=0)&&y();return Array.prototype.B.call(this)};n.N=function(a){this.Y?x(D(Ib("Cannot add to a non-extendable array"))):this.push(a)};n.u=function(a,b,c){(0!=b.b||0+a!=1)&&y();return Array.prototype.N.call(this,c)};n.pa=function(a){this.N(a)}; | |
| n.$=function(a,b,c){(0!=b.b||0+a!=1)&&y();return Array.prototype.pa.call(this,c)};n.F=function(){this.Y?x(D(Ib("Cannot clear a non-extendable array"))):this.Y?x(D(Ib("Cannot change the length of a non-extendable array"))):this.length=0};n.qa=function(a,b){(0!=b.b||0+a!=0)&&y();return Array.prototype.F.call(this)};Array.d=function(){Object.d.call(this)};Array.g=function(){Object.g.call(this)};Array.mc=function(a){var b=[];b.i=a;Array.g.call(b);Array.d.call(b);return b};function N(){} | |
| N.e=function(a){return z("h",N.o,a)};N.o=function(a,b){N.j(a,b);a.v=[]};N.j=function(a,b){var c=N.e(b);a.c[c.f]=c;O.j(a,[K(a.m,0)])};ba(N,O);N.d=function(a){O.d.call(this,a)};N.g=function(a){O.g.call(this,a);this.U=a.h()};N.xb=function(a,b){var c=new N;c.i=a;N.g.call(c,b);N.d.call(c,b);return c};N.prototype.O=function(){return v(this.U,this.na)};N.prototype.ca=function(a,b){(0!=b.b||0+a!=0)&&y();return N.prototype.O.call(this)};function O(){}O.e=function(a){return z("i",O.o,a)}; | |
| O.o=function(a,b){O.j(a,b);a.v=[]};O.j=function(a,b){var c=O.e(b);a.c[c.f]=c;Jb(a,[K(a.m,0)])};O.d=function(){Object.d.call(this)};O.g=function(a){Object.g.call(this);this.$a=a;this.na=0};O.zb=function(a,b){var c=new O;c.i=a;O.g.call(c,b);O.d.call(c,b);return c};O.prototype.O=function(){return v(this.$a.h(),this.na)};O.prototype.ca=function(a,b){(0!=b.b||0+a!=0)&&y();return O.prototype.O.call(this)};O.prototype.Ka=function(){var a;this.O()||x(D(Kb()));return this.$a.k((a=this.na,Lb(this,r(a,1)),a))}; | |
| O.prototype.ta=function(a,b){(0!=b.b||0+a!=0)&&y();return O.prototype.Ka.call(this)};function Lb(a,b){a.na=b}Boolean.e=function(){return z("l",Boolean.o)};Boolean.o=function(a){Boolean.j(a)};Boolean.j=function(a){var b=Boolean.e();a.c[b.f]=b;b=z("ma");a.c[b.f]=b};Boolean.prototype.X=function(a){return typeof a=="boolean"?this==a:a instanceof Boolean?this==Boolean(a):i};Boolean.prototype.n=function(){return this==f?"true":"false"};Boolean.prototype.r=function(a,b){(0!=b.b||0+a!=0)&&y();return Boolean.prototype.n.call(this)}; | |
| Boolean.d=function(){Object.d.call(this)};Boolean.g=function(){Object.g.call(this)};Boolean.dc=function(){var a=new Boolean;a.i=Boolean.e();Boolean.g.call(a);Boolean.d.call(a);return a};function Da(a){return B(a)}function H(){}H.e=function(){return z("r",H.o)};H.o=function(a){H.j(a)};H.j=function(a){var b=H.e();a.c[b.f]=b;Mb(a)};H.prototype.Ta=1;H.d=function(){Object.d.call(this)};H.g=function(a,b,c){Object.g.call(this);this.M=a;this.J=b;this.L=c}; | |
| H.ja=function(a,b,c){var d=new H;d.i=H.e();H.g.call(d,a,b,c);H.d.call(d,a,b,c);return d};n=H.prototype;n.Xb=function(a,b){if(E.C==g||E.C.P(0,A))0!=A.b&&y(),H.prototype.ob.call(this,a,b);else{var c={message:a,Q:b},d=D(J([],Array.e()),[""]),h;h={};if(E.C==g){var m=Nb();E.C=m}h.va=d.h();m=p(Ob,e,h);for(d=d.sa(0,A);d.ca(0,A);){var u=d.ta(0,A),C=m;0!=A.b&&y();P.prototype.tb.call(u,C)}h.result=Pb();E.C.$(1,A,p(Qb,e,h));Ra();h=h.result;c=p(Rb,this,c);0!=A.b&&y();P.prototype.tb.call(h,c)}}; | |
| function Rb(a,b,c){(0!=c.b||0+b!=1)&&y();b=a.message;a=a.Q;0!=A.b&&y();H.prototype.ob.call(this,b,a)}n.ob=function(a,b){var c=a,d=b;if(d!==e&&!(d instanceof H))throw"SendPort::send: Illegal replyTo type.";c=Ha||Ia?Sb(R.Ya(),c):Sb(S.Wa(),c);d=Ha||Ia?Sb(R.Ya(),d):Sb(S.Wa(),d);Ja(H.eb(this),H.bb(this),H.cb(this),c,d)};n.X=function(a){return!!(a!=g&&a.Ta)&&w(this.M,a.M)&&w(this.J,a.J)&&w(this.L,a.L)};n.da=function(){return ca(ca(ga(this.M,16),ga(this.J,8)),this.L)}; | |
| n.ra=function(a,b){(0!=b.b||0+a!=0)&&y();return H.prototype.da.call(this)};H.Bb=function(a,b,c){return H.ja(a,b,c)};H.Cb=function(a,b,c,d,h){(0!=b.b||0+a!=3)&&y();return H.Bb(c,d,h)};H.oc=function(){return H.Cb};H.cb=function(a){return a.L};H.Fb=function(a,b,c){(0!=b.b||0+a!=1)&&y();return H.cb(c)};H.rc=function(){return H.Fb};H.bb=function(a){return a.J};H.Eb=function(a,b,c){(0!=b.b||0+a!=1)&&y();return H.bb(c)};H.qc=function(){return H.Eb};H.eb=function(a){return a.M}; | |
| H.Gb=function(a,b,c){(0!=b.b||0+a!=1)&&y();return H.eb(c)};H.sc=function(){return H.Gb};H.prototype.z=function(){return"r:"+B(this.L)+(":"+B(this.J))+(":"+B(this.M))};function Ya(){}function Za(a){var b=z("t",Za);a.c[b.f]=b;b=z("Pa");a.c[b.f]=b}Ya.prototype.vb=1;function ab(){Object.d.call(this);var a=this.fb,b=E;b.La.b===0&&Ta(Ka,b.id,b);Ta(b.La,a,this)}function $a(){var a;Object.g.call(this);this.ka=e;a=E.Xa;var b=r(a,1);E.Xa=b;this.fb=a}Ya.prototype.Yb=function(){return this.pb()}; | |
| function bb(a){0!=A.b&&y();return Ya.prototype.Yb.call(a)}Ya.prototype.pb=function(){return H.ja(Ga,E.id,this.fb)};function Tb(a){0!=A.b&&y();return Ya.prototype.pb.call(a)}function Qa(a){var b=a.ka;if(b===aa)throw"circular initialization";if(b!==o)return b;a.ka=aa;a.ka=e}function Pa(a){var b=new Ub;b.i=z("A");Vb.call(b);Wb.call(b);0!=A.b&&y();return Ub.prototype.Mb.call(b,a)}function T(){}T.e=function(){return z("x")};T.j=function(a){var b=T.e();a.c[b.f]=b};T.d=function(){Object.d.call(this)}; | |
| T.g=function(){Object.g.call(this)};T.kc=function(){var a=new T;a.i=T.e();T.g.call(a);T.d.call(a);return a};T.Ha=function(a){return a==g||String.H(a)||!!(a!=g&&a.Ua)||Boolean.H(a)};T.Rb=function(a,b,c){(0!=b.b||0+a!=1)&&y();return T.Ha(c)};T.Cc=function(){return T.Rb};n=T.prototype;n.$b=function(a){if(T.Ha(a))return this.wa(a);this.oa=M(g,e);var b=e;try{b=Xb(this,a)}finally{for(var c,a=this.oa.h(),d=0;t(d,a);c=d,d=r(c,1))this.oa.k(d).__MessageTraverser__attached_info__=e;this.oa=e}return b}; | |
| function Sb(a,b){0!=A.b&&y();return T.prototype.$b.call(a,b)}function Yb(a,b,c){a.oa.u(1,A,b);rb.call(a,b,c)}function Xb(a,b){if(T.Ha(b))return a.wa(b);if(b!=g&&b.Ra)return a.Na(b);if(b!=g&&b.Sa)return a.Oa(b);if(b!=g&&b.Ta)return a.ia(b);if(b!=g&&b.vb)return a.Pa(b);if(b!=g&&b.cc)return a.Qa(b);x("Message serialization: Illegal value "+U(b)+" passed")}n.wa=j();n.Na=j();n.Oa=j();n.ia=j();n.Pa=j();n.Qa=j();function S(){}S.e=function(){return z("y",S.o)};S.o=function(a){S.j(a)}; | |
| S.j=function(a){var b=S.e();a.c[b.f]=b;T.j(a)};ba(S,T);S.d=function(){T.d.call(this)};S.g=function(){T.g.call(this)};S.Wa=function(){var a=new S;a.i=S.e();S.g.call(a);S.d.call(a);return a};n=S.prototype;n.wa=function(a){return a};n.Na=function(a){var b,c=sb.call(this,a);if(c!=g)return c;var d=a.h(),c=M(g,d);Yb(this,a,c);for(var h=0;t(h,d);b=h,h=r(b,1))c.p(h,Xb(this,a.k(h)));return c};function Zb(a,b,c,d,h){(0!=c.b||0+b!=2)&&y();a.copy.p(Xb(this,d),Xb(this,h))} | |
| n.Oa=function(a){var b;b={};b.copy=sb.call(this,a);if(b.copy!=g)return b.copy;b.copy=$b();Yb(this,a,b.copy);a.ba(1,A,p(Zb,this,b));return b.copy};n.ia=function(a){return H.ja(a.M,a.J,a.L)};n.Pa=function(a){return Tb(a)};n.Qa=function(a){return Tb(a)};function R(){}R.e=function(){return z("z",R.o)};R.o=function(a){R.j(a)};R.j=function(a){var b=R.e();a.c[b.f]=b;T.j(a)};ba(R,T);R.d=function(){T.d.call(this)};R.g=function(){T.g.call(this);this.Z=0}; | |
| R.Ya=function(){var a=new R;a.i=R.e();R.g.call(a);R.d.call(a);return a};n=R.prototype;n.wa=function(a){return a};n.Na=function(a){var b;b=sb.call(this,a);if(b!=g)return R.S(J(["ref",b],Array.e()));b=this.Z;this.Z=r(b,1);Yb(this,a,b);a=ac(this,a);return R.S(J(["list",b,a],Array.e()))}; | |
| n.Oa=function(a){var b;b=sb.call(this,a);if(b!=g)return R.S(J(["ref",b],Array.e()));b=this.Z;this.Z=r(b,1);Yb(this,a,b);var c=ac(this,Ca(a));0!=A.b&&y();a=V.prototype.Qb.call(a);a=ac(this,a);return R.S(J(["map",b,c,a],Array.e()))};n.ia=function(a){return R.S(J(["sendport",a.M,a.J,a.L],Array.e()))};n.Pa=function(a){return this.ia(bb(a))};n.Qa=function(a){return this.ia(bb(a))};function ac(a,b){for(var c,d=b.h(),h=R.mb(d),m=0;t(m,d);c=m,m=r(c,1))R.hb(h,m,Xb(a,b.k(m)));return h}R.mb=function(a){return Array(a)}; | |
| R.Jb=function(a,b,c){(0!=b.b||0+a!=1)&&y();return R.mb(c)};R.vc=function(){return R.Jb};R.hb=function(a,b,c){a[b]=c};R.Hb=function(a,b,c,d,h){(0!=b.b||0+a!=3)&&y();return R.hb(c,d,h)};R.tc=function(){return R.Hb};R.S=function(a){if(a instanceof Array)a.i=g;else{for(var b=a.h(),c=Array(b),d=0;d<b;d++)c[d]=a.k(d);a=c}return a};R.Db=function(a,b,c){(0!=b.b||0+a!=1)&&y();return R.S(c)};R.pc=function(){return R.Db};function Ub(){}function Wb(){Object.d.call(this)}function Vb(){Object.g.call(this)} | |
| function bc(a){return a==g||String.H(a)||!!(a!=g&&a.Ua)||Boolean.H(a)}Ub.prototype.Mb=function(a){if(bc(a))return a;this.ya=$b();return cc(this,a)}; | |
| function cc(a,b){if(bc(b))return b;q(b instanceof Array);switch(b[0]){case "ref":var c=a.ya.k(b[1]);q(c!=g);return c;case "list":var d,h=b[1],c=b[2];q(c instanceof Array);q(!!(c!=g&&c.Ra));a.ya.p(h,c);for(var h=c.h(),m=0;t(m,h);d=m,m=r(d,1))c.p(m,cc(a,c.k(m)));return c;case "map":d=$b();a.ya.p(b[1],d);h=b[2];m=b[3];q(h instanceof Array);q(m instanceof Array);var u=h.length;q(w(u,m.length));for(var C=0;t(C,u);c=C,C=r(c,1)){var W=cc(a,h[C]),Q=cc(a,m[C]);d.p(W,Q)}return d;case "sendport":return H.ja(b[1], | |
| b[2],b[3]);default:x("Unexpected serialized object")}}Number.e=function(){return z("C",Number.o)};Number.o=function(a){Number.j(a)};Number.j=function(a){var b=Number.e();a.c[b.f]=b;dc(a);ec(a)};n=Number.prototype;n.Ua=1;n.Va=function(a){return this+a};n.X=function(a){return typeof a=="number"?this==a:a instanceof Number?this==Number(a):i};n.n=function(){return this.toString()};n.r=function(a,b){(0!=b.b||0+a!=0)&&y();return Number.prototype.n.call(this)};n.da=function(){return this&268435455}; | |
| n.ra=function(a,b){(0!=b.b||0+a!=0)&&y();return Number.prototype.da.call(this)};Number.d=function(){Object.d.call(this)};Number.g=function(){Object.g.call(this)};Number.lc=function(){var a=new Number;a.i=Number.e();Number.g.call(a);Number.d.call(a);return a};String.e=function(){return z("H",String.o)};String.o=function(a){String.j(a)};String.j=function(a){var b=String.e();a.c[b.f]=b;fc(a)};String.nc=function(a){return String.lb(a)};n=String.prototype; | |
| n.k=function(a){if(pa(0,a)&&t(a,this.h()))return this.Ba(a);x(Hb(a))};n.h=k("length");n.X=function(a){return typeof a=="string"?this==a:a instanceof String?this==String(a):i};n.B=function(){return w(this.h(),0)};n.P=function(a,b){(0!=b.b||0+a!=0)&&y();return String.prototype.B.call(this)};n.Lb=function(a){return this.concat(a)};function gc(a,b){0!=A.b&&y();return String.prototype.Lb.call(a,b)}n.Va=function(a){return gc(this,a.r(0,A))}; | |
| n.da=function(){if(this.w===e){for(var a=0;a<this.length;a++)this.w+=this.charCodeAt(a),this.w+=this.w<<10,this.w^=this.w>>6;this.w+=this.w<<3;this.w^=this.w>>11;this.w+=this.w<<15;this.w&=536870911}return this.w};n.ra=function(a,b){(0!=b.b||0+a!=0)&&y();return String.prototype.da.call(this)};n.n=function(){return String(this)};n.r=function(a,b){(0!=b.b||0+a!=0)&&y();return String.prototype.n.call(this)};String.lb=function(a){return Cb(a)};String.Ib=function(a,b,c){(0!=b.b||0+a!=1)&&y();return String.lb(c)}; | |
| String.uc=function(){return String.Ib};String.prototype.Ba=function(a){return this[a]};function U(a){return a==g?"null":a.r(0,A)}function hc(){}function ic(a){var b=z("L",ic);a.c[b.f]=b;b=z("jb");a.c[b.f]=b}function jc(a){Object.d.call(this);this.F();this.N(a)}function kc(){Object.g.call(this)}function Ba(){var a=new hc;a.i=z("L",ic);kc.call(a);jc.call(a,"");return a}n=hc.prototype;n.h=k("U");n.B=function(){return w(this.U,0)};n.P=function(a,b){(0!=b.b||0+a!=0)&&y();return hc.prototype.B.call(this)}; | |
| n.N=function(a){a=a.r(0,A);if(a==g||a.P(0,A))return this;this.I.u(1,A,a);this.U=r(this.U,a.h());return this};n.u=function(a,b,c){(0!=b.b||0+a!=1)&&y();return hc.prototype.N.call(this,c)};n.F=function(){var a=[z("ib",lc)],b=e,c=f;b==g?(b=0,c=i):t(b,0)&&x(Db(b));a=Eb(Fb([K(a,0)]));b=J(Array(b),Array.e(xb(a).m));b.Y=c;this.I=b;this.U=0;return this};n.qa=function(a,b){(0!=b.b||0+a!=0)&&y();return hc.prototype.F.call(this)}; | |
| n.n=function(){if(w(this.I.h(),0))return"";if(w(this.I.h(),1))return this.I.k(0);var a;a=this.I;for(var b,c="",d=0;t(d,a.h());b=d,d=r(b,1))v(d,0)&&(c=gc(c,"")),c=gc(c,a.k(d));a=c;this.I.qa(0,A);this.I.u(1,A,a);return a};n.r=function(a,b){(0!=b.b||0+a!=0)&&y();return hc.prototype.n.call(this)};function mc(){}function Fb(a){return z("N",g,a)}function nc(){Object.d.call(this)}function oc(){Object.g.call(this)}function Eb(a){var b=new mc;b.i=a;oc.call(b);nc.call(b);return b}mc.prototype.z=l("N"); | |
| function pc(a,b){Gb(a,b);a.v=[]}function Gb(a,b){var c=z("O",pc,b);a.c[c.f]=c;qc(a,[K(a.m,0)])}function V(){}function rc(a,b){var c=z("S",rc,b);a.c[c.f]=c;sc(a,[K(a.m,0),K(a.m,1)]);a.v=[]}n=V.prototype;n.Sa=1;function tc(){Object.d.call(this);if(E.R==g){var a=Object.yb();E.R=a}this.W=this.D=0;this.jb=la(ja(8,3));this.l=M(g,8);this.A=M([K(L(this,"S"),1)],8)}function uc(){Object.g.call(this)}function $b(){var a=z("S",rc,e),b=new V;b.i=a;uc.call(b);tc.call(b);return b} | |
| function vc(a,b){var c,d;d=b.ra(0,A);var h=a.l.h();d=ea(d,s(h,1));for(var h=1,m=-1;;){var u=a.l.k(d);if(u==g)return t(m,0)?d:m;else if(w(u,b))return d;else t(m,0)&&E.R===u&&(m=d);var u=(c=h,h=r(c,1),c),C=a.l.h();d=ea(r(d,u),s(C,1))}}function wc(a,b){var c,d;d=b.ra(0,A);var h=a.l.h();d=ea(d,s(h,1));for(h=1;;){var m=a.l.k(d);if(m==g)return-1;if(w(m,b))return d;var m=(c=h,h=r(c,1),c),u=a.l.h();d=ea(r(d,m),s(u,1))}} | |
| function xc(a,b){var c;q(w(ea(b,s(b,1)),0));var d=a.l.h();a.jb=la(ja(b,3));var h=a.l,m=a.A,u=M(g,b);a.l=u;u=M([K(L(a,"S"),1)],b);a.A=u;for(u=0;t(u,d);c=u,u=r(c,1)){var C=h.k(u);if(!(C==g||C===E.R)){var W=m.k(u),Q=vc(a,C);a.l.p(Q,C);a.A.p(Q,W)}}a.W=0}n.F=function(){var a;this.W=this.D=0;for(var b=this.l.h(),c=0;t(c,b);a=c,c=r(a,1))this.l.p(c,e),this.A.p(c,e)};n.qa=function(a,b){(0!=b.b||0+a!=0)&&y();return V.prototype.F.call(this)}; | |
| n.p=function(a,b){var c;c=r(this.D,1);if(ra(c,this.jb))xc(this,ja(this.l.h(),2));else{var d=this.l.h();v(this.W,s(s(d,c),this.W))&&xc(this,this.l.h())}d=vc(this,a);if(this.l.k(d)==g||this.l.k(d)===E.R)c=this.D,this.D=r(c,1);this.l.p(d,a);this.A.p(d,b)};n.k=function(a){a=wc(this,a);return t(a,0)?e:this.A.k(a)};n.ha=function(a){var b,a=wc(this,a);if(ra(a,0))return b=this.D,this.D=s(b,1),b=this.A.k(a),this.A.p(a,e),this.l.p(a,E.R),a=this.W,this.W=r(a,1),b}; | |
| n.Ma=function(a,b,c){(0!=b.b||0+a!=1)&&y();return V.prototype.ha.call(this,c)};n.B=function(){return w(this.D,0)};n.P=function(a,b){(0!=b.b||0+a!=0)&&y();return V.prototype.B.call(this)};n.h=k("D");n.G=function(a){for(var b,c=this.l.h(),d=0;t(d,c);b=d,d=r(b,1))this.l.k(d)!=g&&this.l.k(d)!==E.R&&a(2,A,this.l.k(d),this.A.k(d))};n.ba=function(a,b,c){(0!=b.b||0+a!=1)&&y();return V.prototype.G.call(this,c)};function yc(a,b,c,d){(0!=c.b||0+b!=2)&&y();var h;a.list.p((h=a.ea,a.ea=r(h,1),h),d)} | |
| n.Pb=function(){var a;a={};a.list=M([K(L(this,"S"),0)],this.h());a.ea=0;this.G(p(yc,e,a));return a.list};function Ca(a){0!=A.b&&y();return V.prototype.Pb.call(a)}function zc(a,b,c,d,h){(0!=c.b||0+b!=2)&&y();var m;a.list.p((m=a.ea,a.ea=r(m,1),m),h)}n.Qb=function(){var a;a={};a.list=M([K(L(this,"S"),1)],this.h());a.ea=0;this.G(p(zc,e,a));return a.list};function P(){}function Ac(a,b){var c=z("Y",Ac,b);a.c[c.f]=c;c=[K(a.m,0)];c=z("$a",g,c);a.c[c.f]=c;a.v=[]}function Bc(){Object.d.call(this)} | |
| function Cc(){Object.g.call(this);this.t=0;this.la=this.T=this.V=this.Aa=this.Ca=e}function Pb(){var a=z("Y",Ac,e),b=new P;b.i=a;Cc.call(b);Bc.call(b);return b}function Dc(a){return!w(a.t,0)&&!w(a.t,1)}function Ec(a,b,c,d){(0!=c.b||0+b!=1)&&y();d(1,A,a.Ja)}P.prototype.qb=function(a){a={Ja:a};w(this.t,4)?(this.Ca=a.Ja,this.t=5):(Dc(this)&&x("Attempted to complete an already completed promise."),this.Ca=a.Ja,this.t=2,this.V!=g&&this.V.ba(1,A,p(Ec,e,a)),Fc(this))};function Fc(a){a.V=e;a.T=e;a.la=e} | |
| function Gc(a,b,c,d){(0!=c.b||0+b!=1)&&y();d(1,A,a.Fa)}P.prototype.sb=function(a){a={Fa:a};w(this.t,4)?(this.Aa=a.Fa,this.t=6):(Dc(this)&&x("Can't fail an already completed promise."),this.Aa=a.Fa,this.t=3,this.T!=g&&this.T.ba(1,A,p(Gc,e,a)),Fc(this))};function Hc(a,b,c,d,h){(0!=d.b||0+c!=1)&&y();b=b.ua;a=a.Kb(1,A,h);0!=A.b&&y();P.prototype.qb.call(b,a)}function Ic(a,b,c,d){(0!=c.b||0+b!=1)&&y();a=a.ua;0!=A.b&&y();P.prototype.sb.call(a,d)} | |
| function Jc(a,b,c){(0!=c.b||0+b!=0)&&y();a=a.ua;0!=A.b&&y();P.prototype.sb.call(a,"Source promise was cancelled")} | |
| P.prototype.tb=function(a){var b={Kb:a},a={};a.ua=Pb();b=p(Hc,e,b,a);if(w(this.t,2))b(1,A,this.Ca);else if(!Dc(this)){if(w(this.V,e))this.V=Nb();this.V.$(1,A,b)}b=p(Ic,e,a);if(w(this.t,3))b(1,A,this.Aa);else if(!Dc(this)){if(w(this.T,e))this.T=Nb();this.T.$(1,A,b)}b=p(Jc,e,a);if(w(this.t,4)||w(this.t,5)||w(this.t,6))b(0,A);else if(!Dc(this)){if(w(this.la,e))this.la=Nb();this.la.$(1,A,b)}return a.ua};function Ob(a,b,c){(0!=c.b||0+b!=1)&&y();var d;q(v(a.va,0));d=a.va;a.va=s(d,1)} | |
| function Qb(a,b,c){(0!=c.b||0+b!=0)&&y();v(a.va,0)?a=i:(a=a.result,0!=A.b&&y(),P.prototype.qb.call(a,e),a=f);return a}function Ra(){if(E.C!=g)for(;!E.C.P(0,A)&&Kc()(0,A);){var a=E.C;0!=A.b&&y();X.prototype.Wb.call(a)}}function Y(){}Y.e=function(a){return z("aa",g,a)};Y.j=function(a,b){var c=Y.e(b);a.c[c.f]=c};Y.d=function(a){Object.d.call(this);this.za=a};Y.g=function(){Object.g.call(this)};Y.wb=function(a,b){var c=new Y;c.i=a;Y.g.call(c,b);Y.d.call(c,b);return c};n=Y.prototype; | |
| n.ib=function(a,b){this.s=b;this.K=a;a.s=this;b.K=this};n.Vb=function(a){var a=Y.wb(Y.e([K(L(this,"aa"),0)]),a),b=this.K;0!=A.b&&y();Y.prototype.ib.call(a,b,this)};n.ha=function(){this.K.s=this.s;this.s.K=this.K;this.K=this.s=e;return this.za};n.Ma=function(a,b){(0!=b.b||0+a!=0)&&y();return Y.prototype.ha.call(this)};n.Ea=k("za");function Z(){}Z.e=function(a){return z("ba",Z.o,a)};Z.o=function(a,b){Z.j(a,b);a.v=[]};Z.j=function(a,b){var c=Z.e(b);a.c[c.f]=c;Y.j(a,[K(a.m,0)])};ba(Z,Y); | |
| Z.d=function(){Y.d.call(this,e);this.ib(this,this)};Z.g=function(){Y.g.call(this,e)};Z.Ab=function(a){var b=new Z;b.i=a;Z.g.call(b);Z.d.call(b);return b};Z.prototype.ha=function(){x(D(Lc()))};Z.prototype.Ma=function(a,b){(0!=b.b||0+a!=0)&&y();return Z.prototype.ha.call(this)};Z.prototype.Ea=function(){x(D(Lc()))};function X(){}function Mc(a,b){var c=z("ca",Mc,b);a.c[c.f]=c;Nc(a,[K(a.m,0)]);a.v=[]}function Oc(){Object.d.call(this);this.q=Z.Ab(Z.e([K(L(this,"ca"),0)]))} | |
| function Pc(){Object.g.call(this)}function Nb(){var a;a=[z("d")];a=z("ca",Mc,a);var b=new X;b.i=a;Pc.call(b);Oc.call(b);return b}n=X.prototype;n.pa=function(a){var b=this.q;0!=A.b&&y();Y.prototype.Vb.call(b,a)};n.$=function(a,b,c){(0!=b.b||0+a!=1)&&y();return X.prototype.pa.call(this,c)};n.N=function(a){this.pa(a)};n.u=function(a,b,c){(0!=b.b||0+a!=1)&&y();return X.prototype.N.call(this,c)};n.Wb=function(){return this.q.s.Ma(0,A)};n.Nb=function(){return this.q.s.Ea()}; | |
| function Kc(){var a=E.C;0!=A.b&&y();return X.prototype.Nb.call(a)}function Qc(a,b,c){(0!=c.b||0+b!=1)&&y();var d;d=a.Da;a.Da=r(d,1)}n.h=function(){var a;a={Da:0};this.G(p(Qc,e,a));return a.Da};n.B=function(){return this.q.s===this.q};n.P=function(a,b){(0!=b.b||0+a!=0)&&y();return X.prototype.B.call(this)};n.F=function(){this.q.s=this.q;this.q.K=this.q};n.qa=function(a,b){(0!=b.b||0+a!=0)&&y();return X.prototype.F.call(this)};n.G=function(a){for(var b=this.q.s;b!==this.q;)a(1,A,b.za),b=b.s}; | |
| n.ba=function(a,b,c){(0!=b.b||0+a!=1)&&y();return X.prototype.G.call(this,c)};n.Ia=function(){var a;a=[K(L(this,"ca"),0)];a=z("da",Rc,a);var b=this.q,c=new $;c.i=a;Sc.call(c,b);Tc.call(c);return c};n.sa=function(a,b){(0!=b.b||0+a!=0)&&y();return X.prototype.Ia.call(this)};function $(){}function Rc(a,b){var c=z("da",Rc,b);a.c[c.f]=c;Jb(a,[K(a.m,0)]);a.v=[]}function Tc(){Object.d.call(this);this.ma=this.q}function Sc(a){Object.g.call(this);this.q=a}$.prototype.O=function(){return this.ma.s!==this.q}; | |
| $.prototype.ca=function(a,b){(0!=b.b||0+a!=0)&&y();return $.prototype.O.call(this)};$.prototype.Ka=function(){this.O()||x(D(Kb()));this.ma=this.ma.s;return this.ma.Ea()};$.prototype.ta=function(a,b){(0!=b.b||0+a!=0)&&y();return $.prototype.Ka.call(this)};Object.e=function(){return z("a")};Object.j=function(a){var b=Object.e();a.c[b.f]=b};Object.d=j();Object.g=j();Object.yb=function(){var a={};a.i=Object.e();Object.d.call(a);return a};Object.prototype.X=function(a){return this===a}; | |
| Object.prototype.n=l("Object");Object.prototype.r=function(a,b){(0!=b.b||0+a!=0)&&y();return Object.prototype.n.call(this)};Object.prototype.z=function(){return"a:"+B(this.Ac)};function eb(a){0!=A.b&&y();a=a==g?"null":a.r(0,A);tb(a)}function Uc(a,b){Vc(a,b);a.v=[]}function Vc(a,b){var c=z("na",Uc,b);a.c[c.f]=c;c=[K(a.m,0)];c=z("Ra",g,c);a.c[c.f]=c}function Wc(a){ec(a)}function ec(a){var b=z("qa",Wc);a.c[b.f]=b;Xc(a)}function Yc(a){var b=z("sa");a.c[b.f]=b}function Zc(){} | |
| function $c(a){var b=z("ta",$c);a.c[b.f]=b;Yc(a)}function ad(){Object.d.call(this)}function bd(a){Object.g.call(this);this.gb=a}function Hb(a){var b=new Zc;b.i=z("ta",$c);bd.call(b,a);ad.call(b);return b}Zc.prototype.n=function(){return"IndexOutOfRangeException: "+U(this.gb)+""};Zc.prototype.r=function(a,b){(0!=b.b||0+a!=0)&&y();return Zc.prototype.n.call(this)};Zc.prototype.z=function(){return"ta:"+B(this.gb)};function ta(){}function ua(a){var b=z("va",ua);a.c[b.f]=b;Yc(a)} | |
| function wa(){Object.d.call(this)}function va(a,b,c){Object.g.call(this);this.nb=a;this.ab=b;this.xa=c}ta.prototype.n=function(){for(var a,b=Ba(),c=0;t(c,this.xa.h());a=c,c=r(a,1))v(c,0)&&b.u(1,A,", "),b.u(1,A,this.xa.k(c));b.u(1,A,"]");return r("NoSuchMethodException - receiver: '"+U(this.nb)+"' ","function name: '"+U(this.ab)+"' arguments: ["+U(b)+"]")};ta.prototype.r=function(a,b){(0!=b.b||0+a!=0)&&y();return ta.prototype.n.call(this)}; | |
| ta.prototype.z=function(){return"va:"+B(this.nb)+(":"+B(this.ab))+(":"+B(this.xa))};function cd(){}function dd(a){var b=z("ya",dd);a.c[b.f]=b;Yc(a)}function ed(){Object.d.call(this)}function fd(a){Object.g.call(this);this.Za=a}function Db(a){var b=new cd;b.i=z("ya",dd);fd.call(b,a);ed.call(b);return b}cd.prototype.n=function(){return"Illegal argument(s): "+U(this.Za)+""};cd.prototype.r=function(a,b){(0!=b.b||0+a!=0)&&y();return cd.prototype.n.call(this)};cd.prototype.z=function(){return"ya:"+B(this.Za)}; | |
| function gd(){}function hd(a){var b=z("Ea",hd);a.c[b.f]=b;Yc(a)}function id(){Object.d.call(this)}function jd(){Object.g.call(this)}function Kb(){var a=new gd;a.i=z("Ea",hd);jd.call(a);id.call(a);return a}gd.prototype.n=l("NoMoreElementsException");gd.prototype.r=function(a,b){(0!=b.b||0+a!=0)&&y();return gd.prototype.n.call(this)};gd.prototype.z=l("Ea");function kd(){}function ld(a){var b=z("Fa",ld);a.c[b.f]=b;Yc(a)}function md(){Object.d.call(this)}function nd(){Object.g.call(this)} | |
| function Lc(){var a=new kd;a.i=z("Fa",ld);nd.call(a);md.call(a);return a}kd.prototype.n=l("EmptyQueueException");kd.prototype.r=function(a,b){(0!=b.b||0+a!=0)&&y();return kd.prototype.n.call(this)};kd.prototype.z=l("Fa");function od(){}function pd(a){var b=z("Ga",pd);a.c[b.f]=b;Yc(a)}function qd(){Object.d.call(this)}function rd(a){Object.g.call(this);this.kb=a}function Ib(a){var b=new od;b.i=z("Ga",pd);rd.call(b,a);qd.call(b);return b} | |
| od.prototype.n=function(){return"UnsupportedOperationException: "+U(this.kb)+""};od.prototype.r=function(a,b){(0!=b.b||0+a!=0)&&y();return od.prototype.n.call(this)};od.prototype.z=function(){return"Ga:"+B(this.kb)};function sd(a){var b=z("Ma");a.c[b.f]=b}function td(a){dc(a)}function dc(a){var b=z("Na",td);a.c[b.f]=b;Xc(a)}function ud(a){Mb(a)}function Mb(a){var b=z("Oa",ud);a.c[b.f]=b;sd(a)}function Jb(a,b){var c=z("Sa",g,b);a.c[c.f]=c}function vd(a,b){qc(a,b);a.v=[]} | |
| function qc(a,b){var c=z("Ta",vd,b);a.c[c.f]=c;Vc(a,[K(a.m,0)])}function wd(a,b){sc(a,b);a.v=[]}function sc(a,b){var c=z("Va",wd,b);a.c[c.f]=c;c=[K(a.m,0),K(a.m,1)];c=z("Ua",g,c);a.c[c.f]=c}function xd(a){Xc(a)}function Xc(a){var b=z("Ya",xd);a.c[b.f]=b;b=z("oa");a.c[b.f]=b;sd(a)}function yd(a,b){Nc(a,b);a.v=[]}function Nc(a,b){var c=z("cb",yd,b);a.c[c.f]=c;Vc(a,[K(a.m,0)])}function lc(a){fc(a)}function fc(a){var b=z("ib",lc);a.c[b.f]=b;b=z("oa");a.c[b.f]=b;sd(a);b=z("Za");a.c[b.f]=b} | |
| F.push(function(){this.ka=o;E.Xa=1});F.push(function(){this.Z=0});F.push(function(){E.yc=o;E.xc=o;E.zc=o});F.push(function(){E.gc=o;E.fc=o;E.ec=o;E.jc=o;E.ic=o;E.hc=o});(function(a,b){if(!G){var c=new Xa;Oa(c,function(){a(b)});cb();E=c}})(function(){eb("Hello, Darter!")},this.arguments?this.arguments.slice?[].concat(this.arguments.slice()):this.arguments:[]); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment